/* --- تنظیمات فونت --- */
body {
    font-family: 'Dana', sans-serif;
}

@font-face {
    font-family: YekanBakh;
    src: url('../fonts/yekanbakh/Yekan-Bakh-FaNum-Light.woff');
    font-weight: 100;
}

@font-face {
    font-family: YekanBakh;
    src: url('../fonts/yekanbakh/Yekan-Bakh-FaNum-Thin.woff');
    font-weight: 200;
}

@font-face {
    font-family: YekanBakh;
    src: url('../fonts/yekanbakh/Yekan-Bakh-FaNum-Medium.woff');
    font-weight: 400;
}

@font-face {
    font-family: YekanBakh;
    src: url('../fonts/yekanbakh/Yekan-Bakh-FaNum-Regular.woff');
    font-weight: 500;
}

@font-face {
    font-family: YekanBakh;
    src: url('../fonts/yekanbakh/Yekan-Bakh-FaNum-Bold.woff');
    font-weight: bold;
}

@font-face {
    font-family: YekanBakh;
    src: url('../fonts/yekanbakh/Yekan-Bakh-FaNum-Heavy.woff');
    font-weight: bolder;
}

@font-face {
    font-family: PeydaWeb;
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/peydaweb/PeydaWebFaNum-Light.woff2') format('woff2');
}

@font-face {
    font-family: PeydaWeb;
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/peydaweb/PeydaWebFaNum-Medium.woff2') format('woff2');
}

@font-face {
    font-family: PeydaWeb;
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/peydaweb/PeydaWebFaNum-SemiBold.woff2') format('woff2');
}

@font-face {
    font-family: PeydaWeb;
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/peydaweb/PeydaWebFaNum-Black.woff2') format('woff2');
}

@font-face {
    font-family: PeydaWeb;
    font-style: normal;
    font-weight: bold;
    src: url('../fonts/peydaweb/PeydaWebFaNum-Bold.woff2') format('woff2');
}

@font-face {
    font-family: PeydaWeb;
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/peydaweb/PeydaWebFaNum-Regular.woff2') format('woff2');
}

@font-face {
    font-family: Morabba;
    src: url('../fonts/morabba/MorabbaVF.woff');
}

@font-face {
    font-family: Aria;
    src: url('../fonts/aria/AriaWeb-Regular.woff2');
    font-weight: 400;
}

@font-face {
    font-family: Aria;
    src: url('../fonts/aria/AriaWeb-Medium.woff2');
    font-weight: 500;
}

@font-face {
    font-family: Aria;
    src: url('../fonts/aria/AriaWeb-SemiBold.woff2');
    font-weight: 600;
}

@font-face {
    font-family: Aria;
    src: url('../fonts/aria/AriaWeb-Bold.woff2');
    font-weight: 700;
}

@font-face {
    font-family: Aria;
    src: url('../fonts/aria/AriaWeb-ExtraBold.woff2');
    font-weight: 800;
}

@font-face {
    font-family: Aria;
    src: url('../fonts/aria/AriaWeb-Heavy.woff2');
    font-weight: 900;
}

@font-face {
    font-family: 'Dana';
    src: url('./assets/fonts/Dana-Regular.woff2') format('woff2'),
    url('./assets/fonts/Dana-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Dana';
    src: url('./assets/fonts/Dana-Bold.woff2') format('woff2'),
    url('./assets/fonts/Dana-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Dana';
    src: url('./assets/fonts/Dana-Medium.woff2') format('woff2'),
    url('./assets/fonts/Dana-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

body {
    background-color: #e0dfd3ad;
}

/* --- بنر سرتاسری --- */
.top-banner-custom {
    background-color: #e6be8a !important;
    padding-top: 1.3rem !important;
    padding-bottom: 1.3rem !important;
    z-index: 2;
}

/* --- کانتینر اصلی بخش هیرو --- */
.hero-section-wrapper {
    position: relative;
}

/* --- هدر اصلی --- */
.main-header-custom {
    border-radius: 0px 0px 35px 35px;
    position: relative;
    z-index: 10;
    background-color: #fff;
    margin: 0 70px;
    padding: 12px;
}


@media (min-width: 1440px) {
    .main-header-custom {
        max-width: 1350px;
        margin: 0 auto;
        width: 100%;
    }
}

.header-content-container {
    max-width: 1650px;
}

.fs25 {
    font-size: 25px;
}

.fs18 {
    font-size: 18px !important;
}

@media (max-width: 769px) {
    .fs18 {
        font-size: 15px !important;
    }

    .fs25 {
        font-size: 20px;
    }
}

.fs12 {
    font-size: 12px !important;
}

.fs14 {
    font-size: 14px !important;

}

.fw5 {
    font-weight: 500 !important;
}

.fw7 {
    font-weight: 700 !important;
}

.fw8 {
    font-weight: 800 !important;
}

.btn-login {
    border: 1px solid #646a5e33;
    font-size: 13px;
    color: #646a5e;
    border-radius: 12px;
    background: white;
    padding: 7px 13px;
}

.btn-login:hover {
    background-color: #e6be8a;
    color: #ffffff;
    border-color: #646a5e;
}

.btn-login:hover svg path {
    fill: #ffffff;
}

.btn-shop {
    background-color: #646a5e;
    border-radius: 12px;
    /*padding: 5px;*/
    border: 1px solid #646a5e;
}

.btn-shop:hover {
    background-color: #e6be8a;
    border: 1px solid #646a5e;
}

.btn-shop:hover svg path {
    fill: #ffffff;
}

@media (max-width: 768px) {
    .btn-shop {
        background-color: #c5b598;
        border: unset;
        padding: 3px;
        border-radius: 7px;
    }
}


.dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 15px;
    min-width: 190px;
    background-color: #fff;
}

.dropdown-item {
    border-radius: 8px;
    color: #646a5e;
    font-weight: 500;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: #e6be8a;
    color: #fff;
}

.dropdown-divider {
    border-color: #eee;
    margin: 10px 0;
}

.cart-dropdown {
    min-width: 350px;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 0px 0px 12px 12px;
    top: 59px !important;
}

@media (max-width: 768px) {
    .cart-dropdown {
        top: 35px !important;
        min-width: 207px !important;
    }
}


.cart-item {
    margin: 10px 0px;
    border-bottom: 1px dashed rgba(36, 60, 64, .2);
    padding: 10px 0px;
    list-style: none;
}

.btn-checkout {
    text-decoration: none;
}

.btn-checkout:hover {
    color: #fff;
}

.product-img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.product-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
    padding: 0px 10px;
    width: 207px;
    flex-shrink: 1;
}


@media (max-width: 768px) {
    .product-details {
        width: 195px !important;
    }
}

.product-title {
    font-size: 16px;
    margin: 0;
    color: #646a5e;
    text-align: right;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    max-height: 2.8em;
    font-weight: 600;
}

.product-price {
    font-size: 17px !important;
    color: #646a5e;
    font-weight: 500;
    margin: 0px 4px;
}

.qty-control {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 12px;
    width: 35px;
    height: 75px;
    align-self: flex-start;
    flex-shrink: 0;
    margin-right: auto;
    justify-content: center;
}

.qty-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    color: rgba(36, 60, 64, .2);
}

.qty-value {
    font-size: 15px;
    padding: 0;
    width: 25px;
    text-align: center;
    border: none;
}

.btn-delete {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0px 0px 0px 5px;
}

.df-space-evenly {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}

/* --- منوی ناوبری شیشه‌ای --- */
.navbar-glass-separate {
    z-index: 2;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: calc(100% - 140px);
    max-width: 1850px;
    border-radius: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    height: 83px;
    display: flex;
    align-items: center;
}

@media (min-width: 1440px) {
    .navbar-glass-separate {
        max-width: 1350px;
        top: 42px;

    }
}

.nav-menu-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 20px;
    width: 100%;
    justify-content: start;
    height: 100%;
    color: #646a5e;
}

.nav-link-glass {
    text-decoration: none;
    color: #424241;
    font-size: 16px;
    font-weight: 500;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 5px;
    padding-bottom: 5px;
}

.nav-link-glass:hover {
    color: #282828;
}

/* خط زیرین برای همه منوها */
.nav-link-glass::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    background-color: #e6be8a;
    transition: width 0.3s ease;
    border-radius: 3px 3px 0 0;
}

/* باز شدن خط هنگام هاور */
.nav-link-glass:hover::after {
    width: 100%;
}

/* --- حالت فعال (Active) برای منوهای باز شده --- */
.nav-item-glass.show .nav-link-glass::after {
    width: 100%;
}

/* --- استایل منوی کشویی --- */
.nav-item-glass.dropdown {
    position: relative;
}

.glass-dropdown-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(187, 165, 126, 0.3);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 10px;
    min-width: 200px;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 15px;
    z-index: 1000;
}

.glass-dropdown-menu .dropdown-item {
    color: #646a5e;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 14px;
    text-align: right;
}

.glass-dropdown-menu .dropdown-item:hover {
    background-color: rgba(187, 165, 126, 0.15);
    color: #e6be8a;
}

.glass-dropdown-menu .dropdown-divider {
    border-color: rgba(36, 60, 64, 0.1);
    margin: 8px 0;
}

/* --- اسلایدر سرتاسری --- */
.full-width-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 500px;
    z-index: 1;
    --card-cut: 80px;
}

.full-width-slider .carousel-item {
    height: 650px;
    clip-path: ellipse(120% 100% at center top);
}

@media (max-width: 468px) {
    .full-width-slider .carousel-item {
        clip-path: ellipse(150% 100% at center top);
    }

}

.full-width-slider .carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    border-radius: 0;
}

.p-nav {
    padding: 20px 15px 0px 15px;
}

.dropdown-menu.show {
    transform: none !important;
}

.nav-item-glass .dropdown-menu .dropdown-menu {
    right: 105% !important;
    left: auto !important;
    top: 0;
    margin-right: 5px;
}

.br10 {
    border-radius: 10px !important;
}

.modal-header .btn-close {
    margin: unset;
}

.action-btn:hover .action-label {
    height: unset;
    margin: unset;
    z-index: 2;
}

/* استایل آیتم تماس */
.nav-contact-item {
    margin-right: auto;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 15px !important;
}

.contact-link:hover svg {
    transform: rotate(-15deg);
    transition: transform 0.3s ease;
}

.contact-link svg {
    transition: transform 0.3s ease;
}

.btn-call {
    padding: 6px;
    background-color: #ffffff6e !important;
    border-radius: 10px;
}

.navbar > .container, .navbar > .container-fluid, .navbar > .container-lg, .navbar > .container-md, .navbar > .container-sm, .navbar > .container-xl, .navbar > .container-xxl {
    display: flex;
    flex-wrap: inherit;
    align-items: center;
    justify-content: space-around;
}

/* --- استایل‌های اختصاصی موبایل (جدید) --- */
.custom-toggler-btn {
    border: none;
    padding: 0;
    margin-left: 10px;
}

.custom-toggler-btn .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2836, 60, 64, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 24px;
    height: 24px;
}

.mobile-menu-wrapper {
    background: #f8f9fa;
    position: absolute;
    top: 80%;
    right: 0;
    left: 0;
    z-index: 10;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 20px 20px;
    padding: 20px;
    margin: 0px 18px;
}

.mobile-nav-link {
    color: #646a5e;
    font-weight: 500;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 15px !important;
}

.mobile-nav-link:hover {
    color: #e6be8a;
}

/* --- مدیا کوئری موبایل --- */
@media (max-width: 768px) {
    .main-header-custom {
        margin: 0 15px;
        border-radius: 0px 0px 15px 15px;
        padding: 0px;
    }

    /* مخفی کردن المان‌های دسکتاپ */
    .navbar-glass-separate {
        display: none !important;
    }

    .btn-login {
        display: none !important;
    }

    .nav-contact-item {
        display: none !important;
    }

    /* تنظیم ترتیب هدر */
    .header-content-container .d-flex {
        position: relative;
        justify-content: space-between !important;
        padding: 5px 0px;
    }

    /* لوگو را در وسط قرار می‌دهیم */
    .logo-container {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 5;
    }

    .logo-container img {
        height: 40px;
    }


    .mobile-menu-wrapper .dropdown.show .dropdown-menu {
        display: block;
        text-align: right;
        visibility: visible;
        opacity: 1;
        max-height: 500px; /* ارتفاع کافی برای نمایش محتوا */
        padding-top: 10px;
        padding-bottom: 10px;
        visibility: visible;
    }


    /* فونت آیتم‌های زیرمنو */
    .mobile-menu-wrapper .dropdown-item {
        font-size: 13px !important;
    }

}

.navbar-nav {
    padding: 0px;
}

/* --- تنظیمات زیرمنوی موبایل (هماهنگ با بوت‌استرپ) --- */
.mobile-menu-wrapper .dropdown-menu {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    border: none !important;
    box-shadow: none !important;
    background-color: #f9f9f9;
    padding-right: 15px;
    /* تنظیمات انیمیشن */
    display: block;
    visibility: hidden;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    margin-top: 0;
    text-align: right !important;
    direction: rtl;
    padding: unset;
}


/* --- چرخش آیکون --- */
.mobile-menu-wrapper .nav-link svg {
    transition: transform 0.3s ease;
}

.mobile-menu-wrapper .dropdown.show .nav-link svg {
    transform: rotate(180deg);
}

.df-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.df-row button {
    margin-right: auto;
}

.rial {
    font-size: 12px;
    color: #e6be8a;
    font-weight: 400;
}

.rial-total {
    font-size: 10px;
    color: #ffffff;
    font-weight: 400;
    background-color: #e6be8a;
    padding: 5px;
    border-radius: 10px;
    padding: 6px 3px;
}

.total-section {
    display: flex;
    flex-direction: column;
}

.total-title {
    display: flex;
    margin: 15px 0px 2px 0px;
}

.total-price {
    font-size: 20px;
    font-weight: 700;
    color: #646a5e;
    margin: 0px 0px 0px 8px;
}

.total-label {
    color: #646a5e80;
    font-size: 13px;
}

.btn-checkout {
    background-color: #646a5e;
    padding: 10px;
    border-style: none;
    border-radius: 12px;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 500;
}


/* --- استایل‌های کلی فوتر --- */
.main-footer {
    position: relative;
    /*position: fixed;*/
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #424241;
    color: #fff;
    padding: 80px 0px 50px 0px;
    margin-top: 40px;
    z-index: 1;
    clip-path: ellipse(110% 100% at center bottom);
}


@media (max-width: 768px) {
    .main-footer {
        clip-path: ellipse(180% 100% at center bottom);
    }
}

html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}


.main-footer h4 {
    color: #fff;
    font-weight: 900;
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
}

@media (max-width: 768px) {
    .main-footer h4 {
        font-size: 16px;
        margin-bottom: 10px;
    }
}

/* خط زیر تیترها */
.main-footer h4::after {
    content: '';
    position: absolute;
    right: 0;
    top: 12px;
    z-index: -1;
    bottom: 0;
    width: 56px;
    height: 7px;
    background-color: #e6be8a;
}

@media (max-width: 768px) {
    .main-footer h4::after {
        width: 45px;
        top: 8px;
    }
}

.main-footer p {
    color: #bdc3c7;
    font-size: 15px;
    text-align: justify;
}

@media (max-width: 768px) {
    .main-footer p {
        font-size: 13px;
    }
}

/* استایل لینک‌ها */
.main-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 15px;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .main-footer ul {
        font-size: 13px;

    }
}

.footer-links ul li {
    margin-bottom: 12px;
}


.footer-links ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links ul li a:hover {
    color: #fff;
    padding-right: 5px;
}

/* استایل بخش ارتباط با ما */
.contact-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #bdc3c7;
    font-size: 15px;
    gap: 10px;
}

@media (max-width: 768px) {
    .contact-list li {
        font-size: 13px;
    }
}

.contact-list li i {
    margin-left: 10px;
    font-size: 18px;
    margin-top: 3px;
    color: #e74c3c;
}

.social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* دو ستون مساوی */
    gap: 15px; /* فاصله بین آیتم‌ها */
}

@media (max-width: 768px) {
    .social-grid {
        display: flex;
        justify-content: center;
    }
}

.social-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(255 255 255 / 6%);
    color: #fff;
    height: 80px;
    width: 80px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 20px;
}

.social-item:hover {
    background-color: #e6be8a;
    transform: translateY(-3px);
}


@media (min-width: 769px) {
    .pr40 {
        padding: 0px 0px 0px 40px !important;
    }
}

.df-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 40px;
}


.footer-bottom {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .footer-bottom {
        margin-bottom: 30px;
    }
}


.footer-bottom .copyright-text {
    color: #bbb;
    font-size: 14px;
    margin: 0;
    text-decoration: none;
    padding-bottom: 15px;
}

@media (max-width: 768px) {
    .footer-bottom .copyright-text {
        color: #e6be8a;
    }
}

.copyright-text:hover {
    color: #e6be8a;
    font-size: 14px;
    transform: translateY(-1px);
}

.df-cr {
    display: flex;
    justify-content: space-between;
    padding: 0px 100px;
    align-items: center;
}

@media (max-width: 768px) {
    .df-cr {
        display: flex;
        flex-direction: column;
        padding: 15px;
    }
}

.footer-sword-img {
    position: absolute;
    /*position: fixed;*/
    bottom: 0;
    height: 180px;
    right: 90px;
}

@media (max-width: 768px) {
    .footer-sword-img {
        max-width: 175px;
        max-height: 100px;
        right: 140px;
    }
}

.trust-badges {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: -110px;
    background-color: #ffffff;
    max-width: 830px;
    margin-left: auto; /* برای وسط چین کردن افقی */
    margin-right: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgb(0 0 0 / 14%);
    position: relative;
    z-index: 2;

}

@media (max-width: 767px) {
    .trust-badges {
        border-radius: 13px;
        max-width: 4000px;
        margin-bottom: -130px;
        padding: 10px;
    }
}

.trust-badges img {
    opacity: 0.8;
    transition: all 0.3s ease;
    width: 50px;
    margin: auto;
    display: block;
}

.trust-badges img:hover {
    opacity: 1;
    transform: scale(1.05);
}

.trust-badge {
    width: 100%;
    display: block;
    background-color: transparent;
    padding: 20px;
    background-image: linear-gradient(180deg, #646a5e0D 0%, #646a5e00 100%);
    border-radius: 12px;
}

@media (max-width: 768px) {
    .trust-badge {
        padding: 16px 0px;
    }
}

.text-hilight::after {
    margin-top: 14px;
    content: '';
    position: absolute;
    z-index: -1;
    width: 56px;
    height: 7px;
    background-color: #e6be8a;
    margin-right: -60px;
}

@media (max-width: 768px) {
    .text-hilight::after {
        margin-right: -76px;
        margin-top: 16px;
    }
}

.title-footer-trust-badges {
    font-size: 20px;
    font-weight: 800;
    color: #646a5e;
}


.top-star-footer-trust-badges {
    position: absolute;
    margin-right: 50%;
    margin-left: 50%;
    z-index: 3;
    margin-top: -20px;
    width: 40px;
    left: -20px;
}

@media (max-width: 768px) {
    .top-star-footer-trust-badges {
        width: 25px;
        left: -12px;
        margin-top: -12px;
    }
}

@media (max-width: 768px) {
    .footer-p-m {
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .p-title-namad {
        padding: 15px 20px 10px 0px;
    }
}

.df-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.dfex-center {
    display: flex !important;
    align-items: center;
}


.max-w850 {
    max-width: 850px;
}

.parent-container {
    text-align: center;
    position: relative;
    /*margin-top: 40px;*/
    /*bottom: 20px;*/
}

.section-title {
    position: relative;
    display: inline-block;
    font-size: 25px;
    font-weight: 900;
    color: #424241;
    z-index: 1;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 6px;
    background-color: #e6be8a;
    z-index: -1;
    bottom: 10px;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 23px;
    }
}

.faq-item {
    background-color: #fff;
    border: 1px solid #eeeeee00;
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* حالت هاور */
.faq-item:hover {
    border-color: #e6be8a;
    transform: translateX(-5px);
    background-color: #e6be8a2e;
    color: #ffffff;
}

/* حالت فعال (سوال انتخاب شده) */
.faq-item.active {
    background-color: #646a5e;
    color: #fff;
    box-shadow: 0 5px 0px rgb(36 60 64 / 22%);
}

.faq-item.active h4,
.faq-item.active p {
    color: #fff;
}

.faq-question {
    font-size: 15px;
    margin-right: 10px;
    font-weight: 600;
    margin-bottom: 0px;
    color: #646a5e;
}

/* استایل باکس پاسخ */
.faq-answer-box {
    background-color: #fff;
    border-radius: 20px;
    padding: 40px 40px 20px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    min-height: 215px;
    position: relative;
}

/* مدیریت نمایش محتوا */
.faq-content {
    display: none; /* پیش‌فرض مخفی */
    animation: fadeIn 0.5s ease;
}

.faq-content.active-content {
    display: block;
    text-align: justify;
}

.faq-content h4 {
    color: #646a5e;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
    display: inline-block;
}

.faq-content p {
    color: #555;
    line-height: 1.8;
    font-size: 15px;
    margin: unset;
}

/* انیمیشن محو شدن */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mb-10 {
    margin-top: -10px;
}

.mt30 {
    margin-bottom: 30px;
}


.faq-item {
    position: relative; /* برای موقعیت‌دهی آیکون‌ها ضروری است */
    padding-right: 10px; /* فاصله از سمت راست برای آیکون قبل از سوال */
    padding-left: 40px; /* فاصله از سمت چپ برای آیکون چسبیده به باکس */
    display: flex;
    align-items: center; /* برای وسط‌چین عمودی آیکون‌ها نسبت به متن */
    cursor: pointer;
}

.bg-q {
    background: linear-gradient(180deg, rgba(36, 60, 64, .05) 0, rgba(36, 60, 64, .025) 100%);
    padding: 20px;
    position: relative;
    border-radius: 8px;
}


/* آیکون سمت راست (قبل از سوال) */
.icon-right {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    margin: 0px 12px;
    background: #e6be8a;
    border-radius: 5px;
    padding: 2px;
    opacity: 70%;
}

/* آیکون سمت چپ (چسبیده به باکس) */
.icon-left {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 10px;
    opacity: 70%;
}

.faq-question {
    font-size: 15px;
    opacity: 80%;
}

.answer-title {
    position: relative; /* برای موقعیت‌دهی آیکون نسبت به این تگ */
    display: inline-block; /* عرض تگ فقط به اندازه متن و آیکون می‌شود */
    padding-left: 35px; /* فاصله از سمت چپ برای جلوگیری از نزدیکی آیکون به متن (در صورت نیاز) */
    /* اگر می‌خواهید آیکون دقیقاً چسبیده به کلمه باشد، این padding-left را حذف کنید */
}

.icon-answer {
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    margin-left: 5px;
    background-color: #cdbea2;
    border-radius: 5px;
    padding: 2px;
}

.svg-faq {
    display: flex;
    justify-content: center;
    margin-bottom: -16px;
    z-index: 1;
    position: relative;
}

/* کانتینر relative برای موقعیت‌دهی بک‌گراند‌ها */
.faq-bg-wrapper {
    position: relative;
    z-index: 1;
}

.bg-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: rgba(187, 165, 126, 0.5);
    filter: blur(80px);
}

/* بک‌گراند سمت راست */
.bg-right {
    position: absolute;
    top: 0;
    background-size: cover;
    background-position: center;
    z-index: -1;
    opacity: 0.5;
    transform: rotate(180deg);
}

/* بک‌گراند سمت چپ */
.bg-left {
    position: absolute;
    left: 0px;
    background-size: cover;
    background-position: center;
    z-index: -1;
    opacity: 0.5;

}

@media (max-width: 768px) {

    .bg-left {
        display: none;
    }

    .bg-right {
        right: 317px;
        width: 24%;
        opacity: 1.3;
    }

    .bg-center {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 468px) {

    .bg-left {
        display: none;
    }

    .bg-right {
        display: none
    }

}


.col-lg-1-5 {
    flex: 0 0 auto;
    width: 12.5%;
}

.col-lg-3-5 {
    flex: 0 0 auto;
    width: 28%;
    padding: 0px 10px;
}

.col-lg-8-5 {
    width: 72%;
}


.blog-title {
    position: relative;
    display: inline-block;
    font-size: 25px;
    font-weight: 900;
    color: #646a5e;
    z-index: 1;
    margin: 0;
}

.blog-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 6px;
    background-color: #e6be8a;
    z-index: -1;
    bottom: 5px;
}

.blog-title1 {
    font-size: 25px;
    font-weight: 900;
    color: #646a5e;
}

.btn-view-all {
    font-weight: 400;
    text-decoration: none;
    color: #ffffff;
    /*border: 1px solid #e6be8a;*/
    background-color: #e6be8a;
    padding: 8px 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
    margin-top: 5px;
    font-size: 14px;
}

.btn-view-all:hover {
    background-color: #e6be8a;
    color: #fff;
}

.blog-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 7px 0px rgb(121 85 72 / 18%);
}

.blog-image img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.blog-content {
    padding: 10px 10px 0px;
}

.blog-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #646a5e;
    line-height: 1.4;
}

.blog-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-read-more {
    text-decoration: none;
    color: #e6be8a;
    font-weight: normal;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    margin-inline-end: 5px;
}

.btn-read-more:hover {
    color: #e6be8a;
}

.bg-blog {
    background-color: #646a5e0D;
    padding: 40px 20px;
    border-radius: 30px;
    clip-path: polygon(
            0 0,
            100% 0,
            100% 83%,
            50% 100%,
            0 83%
    )
}

.df-blog {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.df-s-blog {
    justify-content: center;
}

.btn-more {
    display: flex;
    justify-content: flex-end;
    padding: 0px 10px 10px 10px;
}

.mb80 {
    margin-bottom: 5.5rem;
}

.pb80 {
    padding-bottom: 100px;
}

@media (max-width: 768px) {
    .col-lg-3-5,
    .col-md-6 {
        width: 100% !important;
        flex: 0 0 100%;
        max-width: 100%;
        margin: 0px;
    }

    .col-lg-8-5 {
        width: 100%;
    }

    .df-s-blog {
        display: flex;
        flex-direction: column;
    }

    .df-blog {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 13px;
    }

    .blog-title,
    .blog-title1 {
        font-size: 23px;
        margin: 0px;
    }

    .btn-view-all {
        font-size: 13px;
        padding: 10px 15px;
        margin-top: 0;
        border-radius: 10px;
        font-weight: 500;
    }

    .bg-blog {
        padding: 20px 30px;
        border-radius: 30;
        clip-path: polygon(0 0, 100% 0, 100% 93%, 50% 100%, 0 93%);
    }

    .mb4 {
        margin-bottom: 0.5rem
    }
}

@media (min-width: 1024px) {
    .mb4 {
        margin-bottom: 1.5rem
    }
}

.product-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.02);
    padding: 15px 10px;
    max-width: 99%;
}

@media (max-width: 768px) {
    .product-card {
        padding: 15px 5px;
    }
}

.product-body {
    display: flex;
    align-items: center;
    height: 100%;
    /*gap: 15px;*/
}

.product-image-wrapper {
    flex-shrink: 0;
    width: 110px;
    height: 110px;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #eee;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-image-wrapper1 {
    flex-shrink: 0;
    width: 80px;
    position: relative;
    bottom: 55px;
    border-radius: 15px;
    overflow: hidden;
}

.product-image-wrapper1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* بخش اطلاعات سمت چپ */
.product-details {
    flex-grow: 1; /* پر کردن باقی‌مانده فضا */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-header {
    display: flex;
    justify-content: space-between; /* دکمه چپ، متن راست */
    align-items: center;
    width: 100%;
    margin-bottom: 10px;
}

.product-text {
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: 17px;
    font-weight: 700;
    color: #646a5e;
    margin: 0;
    line-height: 1.3;
}

.product-name-en {
    font-size: 16px;
    font-weight: 300;
    color: #646a5e66;
    margin: 2px 0 0 0;
}

/* دکمه خرید */
.btn-buy {
    width: 40px;
    color: #646a5e;
    height: 40px;
    font-size: 14px;
    border-radius: 10px;
    padding: 15px 35px;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-buy:hover {
    background-color: #646a5e;
    color: #fff;
    box-shadow: 0 5px 15px rgb(0 0 0 / 37%);
}

.btn-buy:hover svg path {
    stroke: #fff;
}

/* خط جداکننده */
.product-divider {
    height: 4px;
    background-color: #f1f1f1;
    margin: 10px 0;
    width: 100%;
}

/* فوتر قیمت */
.product-footer {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.product-price1 {
    font-size: 20px;
    font-weight: 300;
    color: #646a5e;
    margin-left: 5px;
}

@media (max-width: 768px) {
    .product-price1 {
        font-size: 18px;
        font-weight: 800;

    }
}

/* استایل دکمه مشاهده همه */
.btn-view-products {
    display: inline-block;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    background-color: #e6be8a;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-view-products:hover {
    background-color: #646a5e;
    color: #ffffff;
}

.btn-view-all:hover {
    background-color: #646a5e;
    color: #ffffff;
}

@media (min-width: 769px) {
    /* تنظیمات کارت اصلی */
    .product-card {
        position: relative;
        background-color: #fff; /* این رنگ باعث می‌شود قسمت زیرین شکل پنهان شود */
    }

    .product-card:before {
        content: '';
        position: absolute;
        width: 100%;
        height: 80%;
        background-color: rgba(36, 60, 64, .1);
        border-radius: 16px;
        right: -15px;
        bottom: 0;
        z-index: -1;
        transform: skewX(-8deg);
    }
}

.section-bg {
    position: absolute;
    /*top: 0;*/
    bottom: 100px;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /*overflow: hidden;*/
}


.section-bg img {
    position: sticky;
    bottom: 175px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}

@media (max-width: 768px) {
    .section-bg {
        z-index: -1;
        /* اطمینان از اینکه کانتینر والد پوزیشن رلیتیو دارد */
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .section-bg img {
        position: absolute;
        top: 50%; /* ۵۰٪ از بالا */
        left: 50%; /* ۵۰٪ از چپ */
        transform: translate(-50%, -50%); /* جابجایی تصویر به اندازه نصف عرض و ارتفاع خودش برای وسط‌چین شدن دقیق */

        width: 100%; /* عرض تصویر تمام صفحه شود */
        height: auto; /* ارتفاع بر اساس نسبت تصویر تنظیم شود */
        max-width: 100%;
        object-fit: cover;
    }
}

/* استایل کلی کارت */
.process-card {
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden; /* مهم برای برش گوشه‌ها */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    position: relative; /* برای قرارگیری ستاره */
}

/* بدنه داخلی */
.process-body {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 80px;
}

/* استایل مشترک بخش‌ها */
.process-part {
    display: flex;
    align-items: center;
    border-radius: 15px;
    height: auto;
}

/* --- استایل‌های دسکتاپ --- */

/* شماره */
.part-number {
    width: 8%;
    background-color: #646a5e;
    color: #fff;
    font-size: 24px;
    font-weight: 900;
    justify-content: center;
}

/* عنوان */
.part-title {
    width: 30%;
    background-color: #fff;
    color: #646a5e;
    font-size: 16px;
    font-weight: 700;
    padding-right: 20px;
    border-radius: 0px 13px 13px 0px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

/* توضیحات */
.part-desc {
    width: 62%;
    background-color: #F5F5F5;
    color: #555;
    font-size: 14px;
    justify-content: flex-start;
    padding-right: 20px;
    text-align: right;
    line-height: 1.6;
    border-radius: 13px 0px 0px 13px;
}

/* آیکون داخل عنوان */
.svg-process {
    background-color: rgba(255, 255, 255, 0.1);
    background-image: linear-gradient(180deg, #646a5e0D 0%, #646a5e00 100%);
    border-radius: 8px;
    width: 60px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.svg-process svg {
    width: 30px;
    height: 30px;
    display: block;
}

/* ستاره (مخصوص دسکتاپ) */
.svg-star {
    position: absolute;
    z-index: 2;
    margin-top: 25px;
    margin-right: 91px;
}


/* --- ریسپانسیو موبایل --- */
@media (max-width: 768px) {
    /* مخفی کردن ستاره */
    .svg-star {
        display: none;
    }

    /* تنظیم بدنه */
    .process-body {
        flex-wrap: wrap; /* اجازه ردیف شدن */
        min-height: auto;
    }

    /* تنظیمات مشترک موبایل */
    .process-part {
        padding: 12px 15px;
        text-align: right;
        border-radius: 10px;
    }

    /* ۱. شماره */
    .part-number {
        width: 15%; /* عرض کم */
        font-size: 20px;
        justify-content: center;
        border-radius: 0;
        border-radius: 15px;
    }

    /* ۲. عنوان */
    .part-title {
        width: 85%; /* عرض زیاد (کنار شماره) */
        font-size: 15px;
        padding-right: 10px;
        background-color: #fff;
        border-radius: 0 15px 15px 0px;
    }

    .part-title .svg-process {
        width: 50px;
        height: 50px;
    }

    /* ۳. توضیحات */
    .part-desc {
        width: 100%;
        background-color: #F5F5F5;
        border-radius: 0;
        padding: 12px 15px;
        font-size: 13px;
    }
}

/* استایل کلی کارت خدمات */
.service-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 15px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 7px 0px rgb(121 85 72 / 18%);
}

/* استایل باکس SVG */
.svg-process {
    width: 60px;
    height: 60px;
    background-color: #f9f9f9; /* پس‌زمینه روشن برای آیکون */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.svg-process svg {
    width: 32px;
    height: 32px;
}

/* بخش محتوا (عنوان و توضیحات) */
.service-content {
    flex-grow: 1;
    padding-right: 15px;
    padding-left: 10px;
}

/* عنوان خدمت */
.service-title {
    font-size: 16px;
    font-weight: 700;
    color: #646a5e;
    margin: 0 0 5px 0;
}

/* توضیحات خدمت */
.service-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* استایل دکمه و آیکون فلش */
.btn-more {
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    flex-shrink: 0;
}

.btn-read-more {
    font-size: 14px;
    color: #e6be8a;
    text-decoration: none;
    transition: color 0.3s;
}

.service-card:hover .btn-read-more {
    color: #e6be8a;
}

/* استایل عکس سمت راست */
.service-image-wrapper img {
    width: 100%;
    border-radius: 15px;
    height: 225px;
}

/* تنظیمات دسکتاپ برای همپوشانی */
@media (min-width: 992px) {
    .service-card-wrapper {
        margin-right: -80px; /* کشیدن کارت‌ها به سمت چپ روی تصویر */
        z-index: 5;
        position: relative;
    }
}

/* تنظیمات موبایل و تبلت */
@media (max-width: 768px) {
    .service-image-wrapper {
        text-align: center;
        position: absolute;
        margin-top: -80px;
    }

    .service-image-wrapper img {
        max-width: 95%;
        height: unset;
    }

    .service-card {
        flex-wrap: nowrap;
    }
}

/* استایل عنوان */
.trust-title {
    font-size: 28px;
    font-weight: 800;
    color: #646a5e;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.title-underline {
    width: 60px;
    height: 4px;
    background-color: #e6be8a;
    margin: 0 auto;
    border-radius: 2px;
}

/* استایل کارت‌ها */
.trust-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 15px;
    padding: 8px;
    text-align: right;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    gap: 10px;
}

/* استایل هاور کارت */
.trust-card:hover {
    background-color: #646a5e;
    border-color: #646a5e;
    transform: translateY(-5px);
    box-shadow: 0 7px 0px rgb(121 85 72 / 18%);
}

.trust-card:hover .trust-item-title {
    color: #ffffff;
}

.trust-card:hover .trust-item-subtitle {
    color: #e0e0e0;
}

.trust-card:hover .trust-icon svg path {
    fill: #ffffff;
}

.trust-card:hover .trust-icon svg path[stroke] {
    stroke: #ffffff;
}

@media (min-width: 992px) {
    .border-line {
        position: relative;
    }

    .border-line::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        width: 1px;
        height: 60%;
        background-color: #ddd;
        z-index: 1;
    }
}

.trust-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(90deg, #fff 0, rgba(255, 255, 255, .4) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.trust-card:hover .trust-icon {
    background-color: rgba(255, 255, 255, 0.1);
}

.trust-content {
    flex-grow: 1;
    padding-left: 10px;
}

/* عنوان فارسی */
.trust-item-title {
    font-family: 'Aria';
    font-size: 16px;
    font-weight: 700;
    color: #646a5e;
    margin: 0 0 5px 0;
    transition: color 0.3s ease; /* انیمیشن نرم تغییر رنگ */
}

/* زیرعنوان انگلیسی */
.trust-item-subtitle {
    font-size: 11px;
    color: #c5c5c5;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    transition: color 0.3s ease; /* انیمیشن نرم تغییر رنگ */
}

.trust-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    flex-shrink: 0;
}

.btn-read-more {
    font-size: 13px;
    text-decoration: none;
    transition: color 0.3s;
}

.trust-card:hover .btn-read-more {
    color: #e6be8a;
}

/* تنظیم ستون‌ها برای ۵ آیتم */
.col-lg-2-4 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 992px) {
    .col-lg-2-4 {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

@media (max-width: 768px) {
    .trust-title {
        font-size: 22px;
    }

    .trust-card {
        flex-direction: row;
        text-align: center;
        display: flex;
    }

    .trust-content {
        padding: 10px 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .product-image-wrapper1 {
        bottom: 30px;
    }
}

@media (max-width: 768px) {
    .w-90 {
        width: 90%;
    }
}


.pt48 {
    padding-top: 3rem !important;
}

.left-shift {
    left: 450px !important;
    transform: translate(0, -50%) !important;
}

.left-shift1 {
    left: 0px !important;
    transform: translate(0, -50%) !important;
}

@media (max-width: 768px) {
    .left-shift1 {
        left: 0px !important;
        transform: translate(0, -50%) !important;
    }
}

.right-shift1 {
    right: -450px;
    transform: translate(0, -50%) !important;
}

.trust-section {
    margin-top: 470px;
}

.mw1350 {
    max-width: 1350px;
}

.breadcrumb-custom {
    background-color: transparent;
    padding: 30px 0px 0px 0;
    font-size: 14px;
    font-weight: 400;
}

@media (max-width: 769px) {
    .breadcrumb-custom {
        margin: 0;
        padding-right: 20px;
        padding-bottom: 10px;
    }
}

.breadcrumb-container {
    margin-top: 80px;
    padding: 0;
}

@media (max-width: 769px) {
    .breadcrumb-container {
        margin-top: 0px;
        padding: 0;
    }
}

.breadcrumb-item a {
    color: #7c7c7c;
    text-decoration: none;
    font-weight: 300;
}

.breadcrumb-item.active {
    color: #646a5e;
}

.breadcrumb-item.active::before {
    display: none !important;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #7c7c7c;
    padding: 0px 7px 0px 0px;
}

/* گالری تصویر */
.main-image-container {
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 15px;
    position: relative;
    cursor: zoom-in;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image-container img {
    /*width: 45%;*/
    height: 50%;
    max-height: 400px;
    padding: 30px;
    margin: 20px 0px 0px 0px;
    transition: transform 0.3s ease;
}

.main-image-container:hover img {
    transform: scale(1.05);
}

.thumbnail-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: none;

}

.thumb-img {
    width: 75px;
    height: 90px;
    border-radius: 6px;
    object-fit: contain;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 12px;
    background-color: #ffffff;
    margin-left: 5px;
}

.thumb-img.active, .thumb-img:hover {
    border-color: #e6be8a;
    opacity: 0.8;
}

/* اطلاعات محصول */
.product-title-single {
    font-size: 28px;
    font-weight: 900;
    color: #424241;

}

.product-sku {
    color: #888;
    font-size: 14px;
    margin-bottom: 20px;
}

.product-sku-wrapper {
    color: #646a5e66;
    font-size: 16px;
    margin: 12px 0px 5px 0px;
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
}

.sku-text {
    white-space: nowrap;
}

.product-sku-wrapper::after {
    content: "";
    flex-grow: 1;
    border-bottom: 1px dashed #ccc;
    margin-right: 20px;
    margin-left: 40px;
}

.sku-icon {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.sku-icon img {
    width: 24px;
    height: auto;
    display: block;
}

.product-sku-wrapper1 {
    color: #646a5e;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    width: 100%;
    position: relative; /* برای موقعیت‌دهی تصویر */
}

.product-sku-wrapper1::after {
    content: "";
    flex-grow: 1;
    border-bottom: 1px dashed #ccc;
    margin-right: 20px;
    margin-left: 40px;
}

.product-sku-wrapper1-span {
    font-size: 14px;
    font-weight: 400;
    color: #646a5e;
}

.product-sku-wrapper1-span1 {
    color: #aaaaaa;
    font-size: 14px;
    font-weight: 400;
}

.price-section {
    background-color: #f9f9f9;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.off-item-decline {
    background: rgb(240 101 101 / 10%);
    color: #f06565;
    font-weight: 500;
    border-radius: 8px;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    padding: 5px 10px;
}

.off-item-decline1 {
    color: #f06565;
    font-size: 15px;
    font-weight: 500;
    padding: 0px 5px 0px 0px;
    border-radius: 8px;
    margin-top: 2px;
}

.off-item-decline1-svg {
    transform: rotatex(180deg);
}

.discount-badge {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    gap: 0;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 20px;
    margin-top: 10px;
}

/* کنترل تعداد */
.qty-control-single {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    width: fit-content;
}

.qty-btn-single {
    background-color: #f8f9fa;
    border: none;
    color: #333;
    width: 35px;
    height: 35px;
    font-size: 30px;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn-single:hover {
    background-color: #e2e6ea;
}

.qty-input-single {
    background-color: #f8f9fa;
    border: none;
    text-align: center;
    width: 40px;
    height: 35px;
    font-size: 20px;
    font-weight: normal;
    color: #333;
    outline: none;
}

qty-input-single:focus {
    border: none;
    outline: none;
}

/* دکمه خرید */
.btn-add-cart {
    background-color: #646a5e;
    color: #fff;
    border: none;
    padding: 8px 30px;
    border-radius: 10px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-add-cart:hover {
    background-color: #e6be8a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(36, 60, 64, 0.2);
}

/* تب‌ها */
.nav-tabs-custom {
    border: none;
    margin-bottom: 20px;
    justify-content: center;
    gap: 15px;
}

.nav-tabs-custom .nav-link {
    border: none;
    color: #666;
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 15px !important;
    transition: all 0.3s;
}


.tab-content-custom {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.product-card-single {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 30px;
}

@media (max-width: 768px) {
    .product-card-single {
        background-color: #ffffff;
        padding: 20px;
        border-radius: 30px;
    }
}


.bg-product-card-item {
    background-color: #f7f7f5;
    padding: 25px;
    border-radius: 25px;
    min-height: 550px;
    max-height: 550px;

}

.bg-p-c-i-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.price-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}


.new-price-wrapper {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: -10px;
}


.action-btn {
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 8px;
    padding: 5px;
}

.action-btn:hover {
    background-color: #f8f9fa;

}

.action-btn:hover svg {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.action-btn {
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 8px;
    padding: 5px;
    display: flex;
    gap: 5px;
}

.action-btn:hover path {
    fill: #e6be8a !important;
    transition: fill 0.3s ease;

}

.action-btn:hover small {
    color: #e6be8a !important;
}

@media (max-width: 769px) {
    .bg-product-card-item {
        height: auto !important;
        min-height: auto;
        padding: 15px !important;
        border-radius: 15px !important;
    }

    .price-container {
        flex-direction: row !important;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .current-price {
        font-size: 24px !important;
    }

    .product-features {
        margin-top: 15px;
        width: 100%;
    }

    .product-card-single {
        padding: 10px !important;
        border-radius: 15px !important;
    }


    .thumbnail-list {
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 5px;
        /* مخفی کردن اسکرول بار برای زیبایی */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .thumbnail-list::-webkit-scrollbar {
        display: none;
    }

    .thumb-img {
        width: 60px !important;
        height: 75px !important;
        padding: 10px;
        flex-shrink: 0;
    }

    .d-flex.gap-4 {
        gap: 0.5rem !important; /* کاهش فاصله بین دکمه‌ها */
    }

    .action-btn small {
        font-size: 11px !important; /* متن کوچکتر */
    }

    .action-btn svg {
        width: 20px !important;
        height: 20px !important;
    }

    .main-image-container img {
        /*width: 40%;*/
        height: 50%;
        padding: 35px;
        transition: transform 0.3s ease;
    }

    .product-title-single {
        font-size: 24px;
    }

    .price-section {
        padding: 0px;

    }

    .qty-input-single {
        font-size: 15px;
    }

    .qty-btn-single {
        font-size: 20px;
    }

    .mt0-mob {
        margin-top: 0px !important;
    }

    .form-label {
        font-size: 14px;
    }
}

.thumbnail-list {
    display: flex;
    gap: 2px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 10px;
    scroll-behavior: smooth;
    justify-content: center;
    scrollbar-width: thin;
    scrollbar-color: #ccc #eee;
}

.thumbnail-list::-webkit-scrollbar {
    height: 6px;
}

.thumbnail-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.thumbnail-list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.thumbnail-list::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

.thumb-img {
    flex-shrink: 0;
}

/* استایل اختصاصی برای کانتینر تب‌ها (فقط همین بخش) */
.tabs-wrapper {
    display: table;
    background-color: #646a5e;
    padding: 12px 48px;
    border-radius: 17px;
    margin: 0 auto;
    position: relative;
    z-index: 0;
}


.tabs-wrapper .nav-tabs-custom {
    display: flex;
    justify-content: center;
    border-bottom: none;
    gap: 19px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tabs-wrapper .nav-item {
    margin-bottom: 0;
}

/* استایل دکمه‌های تب (برای همه دکمه‌ها) */
.tabs-wrapper .nav-link {
    border: none;
    border-radius: 50px;
    padding: 10px 25px;
    background-color: #646a5e;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    opacity: 0.7;
}

.tabs-wrapper .nav-link:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.tabs-wrapper .nav-link.active {
    background-color: #e6be8a;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(36, 60, 64, 0.2);
    opacity: 1; /* حالت فعال کاملاً مات و پررنگ */
}

.tabs-wrapper .nav-link:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.svg-faq1 {
    right: -349px;
    bottom: 0px;
    z-index: 1;
    position: relative;
}

.svg-faq2 {
    right: 349px;
    bottom: 0px;
    z-index: 1;
    position: relative;
}

.svg-faq1,
.svg-faq2 {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.svg-faq1 img,
.svg-faq2 img {
    max-width: 100%;
    height: auto;
    display: block;
}

.tabs-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 45px;
}

.svg-faq1,
.svg-faq2 {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .svg-faq1 {
        right: -169px;
        bottom: 0px;

    }

    .svg-faq2 {
        right: 169px;
        bottom: 0px;

    }
}

@media (max-width: 769px) {
    .svg-faq1 {
        right: -49px;
        bottom: 0px;

    }

    .svg-faq2 {
        right: 49px;
        bottom: 0px;

    }
}

@media (max-width: 767px) {
    .svg-faq1 {
        right: -25px;
        bottom: 0px;

    }

    .svg-faq2 {
        right: 25px;
        bottom: 0px;

    }

    .tabs-wrapper .nav-tabs-custom {
        gap: 0px;
    }

    .gap2-mob {
        gap: 8px;
    }

    .feature-box {
        margin-top: 8px;
        border-radius: 13px;
    }

    .mb2-mob {
        margin-bottom: 8px;
    }

    .mb3-mob {
        margin-bottom: 15px;
    }

    .product-sku-wrapper2 {
        font-size: 16px !important;
        font-weight: 700 !important;
    }

    .product-sku-wrapper1-span1 {
        font-size: 12px;
    }

    .custom-table td:first-child {
        width: 35% !important;
    }

    .custom-comments-text {
        font-size: 14px;
    }

    .custom-comments-name {
        font-size: 15px;
    }
}

.product-sku-wrapper2 {
    color: #646a5e;
    font-size: 24px;
    font-weight: 800;
}

.text-muted {
    margin-bottom: 0.5rem;
}


.feature-box {
    padding: 10px 15px;
    border-radius: 20px;
    background-color: #f7f7f5;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.icon-circle {
    width: 50px;
    height: 50px;
    background-color: #007bff;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-left: 15px;
    flex-shrink: 0;
}

.feature-title {
    font-weight: 500;
    margin: 0;
    color: #333;
    font-size: 17px;
}

.custom-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.custom-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #e6be8a1c;
    color: #555;
    font-size: 0.95rem;
    transition: background-color 0.2s;
}

.custom-table td:first-child {
    font-weight: bold;
    color: #333;
    width: 20%;
    background-color: #f9f9f9;
    border-left: 1px solid #eee;
}

.custom-table td:last-child {
    color: #000;
    font-weight: 500;
}

.custom-table tr:last-child td {
    border-bottom: none;
}

.custom-table tr:hover td {
    background-color: #e6be8a1c;
}

.custom-comments-container {
    background-color: #ffffff;
    /*padding: 25px;*/
    border-radius: 10px;
    max-width: 100%;
    margin: 0 auto;
}

/* هدر */
.custom-comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*margin-bottom: 25px;*/
    /*border-bottom: 1px solid #eee;*/
    /*padding-bottom: 15px;*/
}

.custom-comments-header h4 {
    margin: 0;
    font-size: 1.2rem;
    color: #333;
}

/* دکمه اصلی */
.custom-comments-btn {
    background-color: #e6be8a;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
}

.custom-comments-btn:hover {
    background-color: #ae956a;
}

/* آیتم نظر */
.custom-comments-item {
    margin-bottom: 25px;
    position: relative;
    margin-top: 25px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

/* متادیتا (نام و تاریخ) */
.custom-comments-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.custom-comments-name {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.custom-comments-admin {
    color: #333;
}


.custom-comments-date {
    color: #888;
    font-size: 0.8rem;
}

.custom-comments-rating {
    color: #e6be8a;
    font-size: 18px;
    letter-spacing: 2px;
}

.custom-comments-text {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 2px;
}

/* دکمه پاسخ */
.custom-comments-reply-btn {
    background: none;
    border: none;
    color: #e6be8a;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0;
}

.custom-comments-reply-btn:hover {
    text-decoration: underline;
}

/* بخش پاسخ‌ها (تو در تو) */
.custom-comments-replies {
    margin-right: 20px;
    margin-top: 15px;
    padding-right: 15px;
    border-right: 2px solid #e9ecef;
    background-color: #fcfcfc;
    padding: 10px 15px;
    border-radius: 0 8px 8px 0;
}

.custom-comments-reply-item {
    margin-bottom: 15px;
    border-bottom: 1px dashed #eee;
    padding-bottom: 10px;
}

.custom-comments-reply-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* --- استایل‌های مودال (پاپ آپ) --- */
.custom-comments-modal-overlay {
    display: none; /* مخفی به صورت پیش‌فرض */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.custom-comments-modal {
    background-color: #fff;
    width: 90%;
    max-width: 500px;
    border-radius: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: customCommentsFadeIn 0.3s ease;
}

@keyframes customCommentsFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-comments-modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f9fa;
}

.custom-comments-modal-title {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
}

.custom-comments-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
}

.custom-comments-close-btn:hover {
    color: #333;
}

.custom-comments-modal-body {
    padding: 20px 20px 0px 20px;
}

.custom-comments-reply-info {
    background-color: #e6be8a29;
    color: #b0976a;
    padding: 10px;
    border-radius: 10px;
    font-size: 0.85rem;
    margin-bottom: 15px;
    display: none;
}

.custom-comments-reply-info strong {
    display: block;
    margin-bottom: 3px;
}

/* فرم */
.custom-comments-form-group {
    margin-bottom: 15px;
}

.custom-comments-label {
    display: block;
    margin-bottom: 5px;
    font-size: 15px;
    color: #555;
    font-weight: 500;
}

.custom-comments-input, .custom-comments-textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 0.9rem;
    background-color: #646a5e08;
    text-align: right;
}

.custom-comments-input:focus, .custom-comments-textarea:focus {
    border-color: #e6be8a;
    outline: none;
}

/* امتیازدهی ستاره‌ای */
.custom-comments-stars {
    display: inline-flex;
    flex-direction: row-reverse; /* برای راست‌چین */
    justify-content: flex-end;
}

.custom-comments-stars input {
    display: none;
}

.custom-comments-stars label {
    font-size: 24px;
    color: #ddd;
    cursor: pointer;
    margin-left: 5px;
}

.custom-comments-stars input:checked ~ label,
.custom-comments-stars label:hover,
.custom-comments-stars label:hover ~ label {
    color: #e6be8a;
}

.custom-comments-modal-footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    text-align: center;
    margin: 15px 20px;
}

.custom-comments-btn-cancel {
    background-color: #a2a2a2;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 10px;
    cursor: pointer;
    margin-left: 10px;
}

.custom-comments-btn-submit {
    background-color: #646a5e;
    color: white;
    border: none;
    padding: 8px 25px;
    border-radius: 10px;
    cursor: pointer;
}

.custom-meta-desc-wrapper {
    color: #506366;
    font-size: 16px;
    font-weight: 500;
    text-align: justify;
    margin: 0px 0px 30px 0px !important;
}

.custom-price-layout {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.custom-price-top-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-price-bottom-row {
    display: flex;
    align-items: baseline;
}

.product-actions {
    position: absolute;
    right: 0px;
    top: 0px;
    display: flex;
    flex-direction: column;
}

.action-btn .action-label {
    display: none;
}

.action-btn:hover .action-label {
    display: block;
}

.breadcrumb-custom::-webkit-scrollbar {
    display: none;
}

.breadcrumb-scroll-wrapper {
    overflow: hidden;
}

.breadcrumb-custom::-webkit-scrollbar {
    display: none;
}

.breadcrumb-custom {
    -ms-overflow-style: none;
    scrollbar-width: thin;
}

.platinum-card {
    margin: 0px 0px 30px 0px !important;
}

/* استایل‌های قبلی شما */
.bg-product-card-item {
    background-color: #f7f7f5;
    padding: 25px;
    border-radius: 25px;
    min-height: 550px;
    max-height: 550px;
}

@media (max-width: 769px) {
    .bg-product-card-item {
        height: auto !important;
        min-height: auto;
    }
}

.main-image-container {
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 15px;
    position: relative;
    cursor: zoom-in;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image-container img {
    /*width: 45%;*/
    height: 50%;
    max-height: 400px;
    padding: 30px;
    margin: 0px;
    transition: transform 0.3s ease;
}

.main-image-container:hover img {
    transform: scale(1.05);
}


.thumb-img.active {
    border-color: #e6be8a;
}

/* کلاس برای مخفی کردن تصاویر اضافی */
.hidden-thumb {
    display: none;
}

/* استایل دکمه سه نقطه */
.more-images-btn {
    width: 75px;
    height: 90px;
    border-radius: 10px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #e6be8a;
    transition: background 0.3s;
}

@media (max-width: 769px) {
    .more-images-btn {
        width: 60px !important;
        height: 75px !important;
        padding: 10px;
    }
}

.more-images-btn:hover {
    background-color: #d0d0d0;
}


/* --- استایل‌های مودال گالری --- */
.gallery-modal {
    display: none; /* پنهان به صورت پیش‌فرض */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 81%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.gallery-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 90%;
    max-height: 90%;
}

#modalMainImage {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 10px;
    margin-bottom: 20px;
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    max-width: 100%;
    padding-bottom: 10px;
    background: #00000026;
    padding: 10px;
    border-radius: 8px;
}

.gallery-thumbs img {
    width: 70px;
    height: 70px;
    padding: 5px;
    object-fit: contain;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.gallery-thumbs img:hover, .gallery-thumbs img.active {
    opacity: 1;
    border: 1px solid #e6be8a;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

.sb-custom-wrapper {
    display: grid;
    grid-template-columns: 9fr 3fr; /* چپ ۳، راست ۹ */
    gap: 25px;
    width: 100%;
    max-width: 1350px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* --- استایل سایدبار چپ (دسته‌بندی) --- */
.sb-custom-sidebar-box {
    background-color: #FAFAFA;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.sb-custom-sidebar-title {
    font-size: 18px;
    color: #646a5e;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.sb-custom-sidebar-title::before {
    content: '';
    width: 6px;
    height: 24px;
    background-color: #e6be8a;
    border-radius: 4px;
    margin-left: 10px;
}

.sb-custom-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sb-custom-cat-item {
    margin-bottom: 12px;
}

.sb-custom-cat-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 15px;
    background-color: #ffffff;
    color: #646a5e;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 16px;
}

.sb-custom-cat-link:hover {
    background-color: #646a5e;
    color: #ffffff;
    transform: translateX(-5px);
    box-shadow: 0 4px 12px rgb(39 89 55 / 30%);
}

.sb-custom-cat-badge {
    background-color: #e2e8f0;
    color: #64748b;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 700;
    transition: background-color 0.3s;
}

.sb-custom-cat-link:hover .sb-custom-cat-badge {
    background-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* --- استایل محتوای راست (پست) --- */
.sb-custom-content-box {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.sb-custom-post-header {
    text-align: right;
    margin-bottom: 30px;
    background-color: #f7f7f5;
    padding: 25px;
    border-radius: 15px;
}

.sb-custom-post-tag {
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    color: #e6be8a;
}

.sb-custom-post-tag:hover {
    color: #7e6f54;
}

.bg-detail-blog {
    background-color: #fff;
    color: #e6be8a;
    padding: 8px 15px;
    border-radius: 10px;
}

.sb-custom-post-title {
    font-size: 24px;
    color: #646a5e;
    margin: 0 0 15px 0;
    line-height: 1.3;
    font-weight: 700;
}

.sb-custom-post-meta {
    display: flex;
    justify-content: center;
    gap: 10px;
    color: #e6be8a !important;
    font-size: 0.9rem;
    align-items: center;
    flex-wrap: wrap; /* برای ریسپانسیو شدن متادیتا */
}

.sb-meta-link {
    color: #94a3b8 !important;
    text-decoration: none;
}

.sb-custom-post-image {
    width: 100%;
    height: auto; /* تغییر برای حفظ نسبت تصویر */
    object-fit: cover;
    border-radius: 16px;
    margin: 20px 0px;
}

.gallery-sb-custom-post-image {
    width: 29.9%;
    height: auto; /* تغییر برای حفظ نسبت تصویر */
    object-fit: cover;
    border-radius: 16px;
    margin: 20px 0px;
}

.sb-custom-post-text {
    color: #506366;
    font-size: 16px;
    line-height: 2;
    text-align: justify;
}

.sb-custom-post-text p {
    margin-bottom: 20px;
}

/* --- ریسپانسیو اختصاصی --- */
@media (max-width: 768px) {
    .sb-custom-wrapper {
        padding: 12px;
        display: flex;
        flex-direction: column;
    }

    .sb-custom-sidebar-box {
        order: 2; /* سایدبار برود پایین */
        position: static; /* حذف استیکی برای جلوگیری از مشکل در موبایل */
        padding: 20px;
    }

    .sb-custom-content-box {
        order: 1; /* محتوا بیاد بالا */
        padding: 15px;
    }

    .sb-custom-post-header {
        padding: 20px;
        border-radius: 12px;
    }

    .sb-custom-post-title {
        font-size: 1.5rem; /* کاهش سایز تایتل */
        line-height: 1.4;
    }

    .sb-custom-post-text {
        font-size: 15px; /* کمی کاهش سایز فونت متن */
        line-height: 1.8;
        text-align: justify; /* حفظ چینش دوطرفه */
    }

    .sb-custom-post-meta {
        font-size: 0.8rem;
        gap: 8px;
        display: flex;
        justify-content: center;
    }
}

.sb-custom-post-text h1 {
    font-size: 2rem;
}

.sb-custom-post-text h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

.sb-custom-post-text h3 {
    font-size: 1.4rem;
    font-weight: 600;
}

.sb-custom-post-text h4 {
    font-size: 1.3rem;
    font-weight: 600;
}

.sb-custom-post-text h5 {
    font-size: 1.2rem;
    font-weight: 600;
}

.sb-custom-post-text h6 {
    font-size: 1.2rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    /* تنظیم مجدد سایز هدینگ‌ها برای موبایل */
    .sb-custom-post-text h1 {
        font-size: 1.75rem; /* کاهش سایز */
    }

    .sb-custom-post-text h2 {
        font-size: 1.5rem;
    }

    .sb-custom-post-text h3 {
        font-size: 1.35rem;
    }

    .sb-custom-post-text h4 {
        font-size: 1.2rem;
    }

    .sb-custom-post-text h5 {
        font-size: 1.1rem;
    }

    .sb-custom-post-text h6 {
        font-size: 1rem;
    }

    .sb-custom-post-tag {
        font-size: 12px;
    }

    .bg-detail-blog {
        padding: 5px 10px;
    }

    .product-sku-wrapper {
        font-size: 14px;
        text-align: justify;
    }

    .product-sku-wrapper::after {
        margin-right: 10px;
        margin-left: 28px;
    }

    /* 1. محتوای مقاله */
    .sb-custom-content-box {
        order: 1;
        padding: 15px;
    }

    /* 2. بخش نظرات */
    .product-tabs-section {
        order: 2;
    }

    /* 3. دسته بندی مقالات */
    .sb-custom-sidebar-box {
        order: 3;
        position: static; /* حذف استیکی */
        padding: 20px;
    }

    .pt-0 {
        padding-top: 0 !important;
    }

    .mt5-mob {
        margin-top: 3rem !important;
    }

    .mt4-mob {
        margin-top: 2rem !important;
    }

    .pagination {
        margin: 20px !important;
    }

    .p0-mob {
        padding: 0px !important;
    }
}


/* استایل هدر جدید */
.df-blog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* استایل باکس توضیحات */
.blog-description-box {
    background-color: #f9f9f9;
    border-right: 4px solid #e6be8a; /* خط رنگی کناری */
    padding: 20px;
    border-radius: 8px;
    color: #555;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 40px;
}


.pagination {
    margin: 40px;
    display: flex;
    justify-content: center;
    list-style: none;
}

.page-link {
    color: #646a5e;
    border: 1px solid #dee2e6;
    margin: 0 5px; /* فاصله بین دکمه‌ها */
    border-radius: 8px;
    width: 40px; /* عرض ثابت */
    height: 35px; /* ارتفاع ثابت */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-link:hover {
    background-color: #eee;
    color: #e6be8a;
    border-color: #e6be8a;
}

.page-item.active .page-link {
    background-color: #646a5e;
    color: #fff;
    border-color: #646a5e;
}

.page-item.disabled .page-link {
    color: #ccc;
    background-color: #fff;
    border-color: #dee2e6;
    pointer-events: none;
}

.product-image-wrapper3 {
    flex-shrink: 0;
    width: 80px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.product-image-wrapper3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.d-flex1 {
    display: flex !important;
    align-items: center;
}

.rz-filter-bar {
    padding: 0px 0 30px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

.rz-filter-bar .btn-filter {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    color: #333;
    font-size: 0.9rem;
    padding: 6px 16px;
    border-radius: 10px;
    transition: all 0.2s ease;
    display: flex;
}

.rz-filter-bar .btn-filter:hover {
    border-color: #e6be8a;
    background-color: #fafafa;
}

/* آیکون فلش کشویی */
.rz-filter-bar .btn-filter::after {
    margin-right: 8px;
    margin-left: 0;
}

/* منوی کشویی */
.rz-filter-bar .dropdown-menu {
    border: 1px solid rgba(187, 165, 126, 0.3);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 10px;
    text-align: right;
}

.rz-filter-bar .dropdown-item {
    font-size: 0.9rem;
    color: #555;
    padding: 8px 10px;
    border-radius: 10px;
}

.rz-filter-bar .dropdown-item:hover {
    background-color: rgba(187, 165, 126, 0.15);
    color: #e6be8a;
}

/* استایل دکمه‌های مرتب‌سازی (افقی) */
.rz-filter-bar .rz-sort-group {
    display: inline-flex;
    background-color: #f5f5f5; /* پس‌زمینه خاکستری روشن برای گروه */
    padding: 4px;
    border-radius: 8px;
}

.rz-filter-bar .rz-sort-btn {
    background: transparent;
    border: none;
    color: #777;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

/* حالت فعال دکمه مرتب‌سازی */
.rz-filter-bar .rz-sort-btn.active {
    background-color: #e6be8a;
    color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    font-weight: 500;
}

.rz-filter-bar .rz-sort-btn:hover:not(.active) {
    color: #333;
}

/* تنظیمات ریسپانسیو */
@media (max-width: 768px) {
    .rz-filter-bar {
        text-align: center;
        padding-bottom: 20px;
    }

    .rz-filter-bar .dropdown {
        display: block;
        width: 100%;
    }

    .rz-filter-bar .btn-filter {
        width: 100%;
        margin-left: 0;
        margin-bottom: 10px;
    }

    .rz-filter-bar .rz-sort-group {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
}

.sortby {
    font-size: 13px;
    font-weight: 400;
    color: #646a5e;

}

.custom-filter-wrapper .custom-filter-btn {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    color: #333;
    padding: 8px 20px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    cursor: pointer;
}

.custom-filter-wrapper .custom-filter-btn:hover,
.custom-filter-wrapper .custom-filter-btn:focus {
    border-color: #e6be8a;
    color: #e6be8a;
    box-shadow: 0 4px 12px rgba(187, 165, 126, 0.15);
    background-color: #fff;
}

@media (max-width: 767px) {
    .custom-filter-wrapper .custom-filter-btn {
        width: 40px;
        height: 40px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
        color: #555;
    }
}

/* --- استایل منوی فیلتر --- */
.custom-filter-wrapper .custom-filter-menu {
    max-height: 450px;
    overflow-y: scroll;
    border: none;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    background-color: #fff;
    padding: 20px !important;
    margin-top: 10px;
    animation: slideDown 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-15px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.custom-filter-wrapper .custom-filter-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    font-weight: 700;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.custom-filter-wrapper .custom-checkbox-item {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.custom-filter-wrapper .custom-checkbox-input {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 4px;
    margin-left: 10px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
    flex-shrink: 0;
}

.custom-filter-wrapper .custom-checkbox-input:checked {
    background-color: #e6be8a;
    border-color: #e6be8a;
}

.custom-filter-wrapper .custom-checkbox-input:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 4px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-filter-wrapper .custom-checkbox-label {
    color: #444;
    font-size: 13px;
    cursor: pointer;
    width: 100%;
    transition: color 0.2s;
}

.custom-filter-wrapper .custom-checkbox-item:hover .custom-checkbox-label {
    color: #e6be8a;
}

.custom-filter-wrapper .custom-btn-apply {
    background-color: #e6be8a;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
    width: 100%;
}

.custom-filter-wrapper .custom-btn-apply:hover {
    background-color: #a68f66;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(187, 165, 126, 0.3);
}

.custom-filter-wrapper .custom-btn-clear {
    background-color: transparent;
    color: #888;
    border: 1px solid #eee;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.85rem;
    transition: all 0.3s;
    width: 100%;
    text-decoration: none;
    text-align: center;
}

.product-text a {
    text-decoration: none;
}

.custom-filter-wrapper .custom-btn-clear:hover {
    background-color: #f9f9f9;
    color: #555;
    border-color: #ddd;
}

/* --- استایل دراپ‌داون مرتب‌سازی موبایل --- */
.custom-sort-dropdown-btn {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    color: #333;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.custom-sort-dropdown-btn:hover, .custom-sort-dropdown-btn:focus {
    border-color: #e6be8a;
    color: #e6be8a;
    box-shadow: 0 4px 10px rgba(187, 165, 126, 0.15);
    background-color: #fff;
}

.custom-sort-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 8px 0;
    min-width: 160px;
    margin-top: 8px;
}

.custom-sort-item {
    padding: 10px 20px;
    color: #555;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.custom-sort-item:hover {
    background-color: #f9f9f9;
    color: #e6be8a;
}

.custom-sort-item.active {
    background-color: rgba(187, 165, 126, 0.1);
    color: #e6be8a;
    font-weight: 600;
}

.custom-sort-item.active::after {
    content: '✓';
    float: left;
    margin-left: 10px;
    font-weight: bold;
}

.author-header {
    background: #fff;
    border-radius: 20px;
    padding: 40px 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    margin-bottom: 30px;
    display: flex;
    flex-direction: row;
    gap: 30px;
    position: relative;
    overflow: hidden;
    text-align: justify;
    align-items: center;
}

@media (max-width: 768px) {
    .author-header {
        flex-direction: column;
        padding: 20px;
        align-items: center;
    }
}

/* نوار رنگی بالای کارت */
.author-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #e6be8a, #dccbb0);
}

.author-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 5px 15px rgba(187, 165, 126, 0.2);
    flex-shrink: 0;
}

.author-info h1 {
    font-size: 25px;
    font-weight: 900;
    margin-bottom: 10px;
    color: #646a5e;
}

.author-bio {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* آمار نویسنده */
.author-stats {
    display: flex;
    gap: 10px;
}

.stat-item {
    text-align: center;
    padding: 10px 20px;
    background-color: #fcfcfc;
    border: 1px solid #eee;
    border-radius: 12px;
    min-width: 100px;
}

.stat-number {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #e6be8a;
}

.stat-label {
    font-size: 0.8rem;
    color: #888;
}

@media (max-width: 768px) {
    .author-stats {
        gap: 10px; /* فاصله کمتر بین آیتم‌ها */
        width: 100%; /* استفاده از کل عرض */
    }

    .stat-item {
        min-width: auto; /* حذف عرض ثابت */
        flex-basis: 30%; /* هر آیتم حدود ۳۰ درصد عرض را می‌گیرد */
        padding: 10px 5px; /* پدینگ کمتر برای جمع‌وجور شدن */
    }

    .stat-number {
        font-size: 1rem; /* فونت کمی کوچکتر */
    }

    .stat-label {
        font-size: 0.7rem; /* فونت لیبل کوچکتر */
    }
}


/* --- استایل کارت محصول --- */
.rz-cart-item {
    background: #fff;
    border-radius: 16px;
    padding: 10px;
    margin: 15px 0px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.rz-cart-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    border-color: #eee;
}

.rz-item-img {
    width: 80px;
    height: 80px;
    padding: 5px;
    object-fit: contain;
    background-color: #f7f7f5;
    border-radius: 12px;
    border: 1px solid #eee;
}

.rz-item-details {
    flex-grow: 1;
}

.rz-item-title {
    font-size: 1rem;
    font-weight: 700;
    color: #646a5e;
    text-decoration: none;
}

.rz-item-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: #646a5e;
}

.rz-cart-page .rz-item-price-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

/* قیمت اصلی (خط‌خورده) */
.rz-cart-page .rz-price-old {
    font-size: 0.85rem;
    color: #999;
    text-decoration: line-through;
    font-weight: 400;
}

.rz-cart-page .rz-price-new {
    font-size: 1.3rem;
    color: #e6be8a;
    font-weight: 800;
}

.rz-qty-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.rz-qty-btn {
    background: #fff;
    border: none;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #555;
    transition: background 0.2s;
    font-size: 1.2rem;
    line-height: 1;
}

.rz-qty-btn:hover {
    background-color: #f5f5f5;
    color: #e6be8a;
}

.rz-qty-input {
    width: 40px;
    text-align: center;
    border: none;
    border-right: 1px solid #e0e0e0;
    border-left: 1px solid #e0e0e0;
    height: 32px;
    font-size: 0.9rem;
    outline: none;
    color: #333;
}

.rz-btn-remove {
    border: none;
    padding: 7px;
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.1);
    background-image: linear-gradient(180deg, #646a5e0D 0%, #646a5e00 100%);
}

.rz-btn-remove:hover {
    background: #e6be8a24;
    color: #fff;
}

/* --- استایل باکس قیمت (سمت چپ) --- */
.rz-order-summary {
    background: #fff;
    border-radius: 20px;
    padding: 20px 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 20px;
    border: 1px solid #eee;
}

.rz-summary-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    margin-top: 25px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
    color: #646a5e;
}

.rz-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #667779;
    font-weight: 600;
}

.rz-summary-row1 {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #667779;
    font-weight: 600;
    border-top: 1px dashed #e0e0e0;
    padding: 15px 0px 0px 0px
}

.rz-total-price {
    color: #e6be8a;
}

.rz-discount-group {
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
    background-color: #f0eeea;
    border-radius: 15px;
    padding: 7px;
}

.rz-discount-input {
    flex: 1;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 7px;
    outline: none;
    text-align: right;
    transition: border-color 0.3s;
}

.rz-discount-input:focus {
    border-color: #e6be8a;
}

.rz-btn-apply {
    background-color: #646a5e;
    color: #fff;
    border: none;
    padding: 0 20px;
    border-radius: 10px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.3s;
}

.rz-btn-apply:hover {
    background-color: #000;
}

.rz-btn-checkout:hover {
    color: #Fff;

}

.rz-btn-checkout {
    display: block;
    text-align: center;
    text-decoration: none;
    width: 100%;
    background-color: #646a5e;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s;
}

.rz-btn-checkout:hover {
    background-color: #a68f66;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(187, 165, 126, 0.4);
}

.rz-btn-checkout1 {
    width: fit-content;
    background-color: #e6be8a;
    color: #fff;
    border: none;
    padding: 10px 15px;
    display: flex;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

@media (max-width: 991px) {
    .rz-order-summary {
        margin-top: 30px;
        position: static;
    }
}


@media (max-width: 768px) {
    .rz-cart-item {
        align-items: flex-start;
    }

    .rz-item-img {
        width: 100%;
        height: 80px;
    }

    .rz-item-actions {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 15px;
    }

    .col-auto1 {
        width: 100% !important;
    }

    .col-auto2 {
        position: absolute;
        left: 42px;
    }

    .rz-qty-wrapper-mob {
        position: absolute;
        margin-bottom: -95px;
    }

    .bg-checkout-box {
        margin: 0px !important;
        padding: 40px 20px 20px 20px;
    }

    .rz-callback-card {
        padding: 20px;
    }

    .rz-btn-outline {
        padding: 10px !important;
    }

    .rz-btn-primary {
        padding: 13px !important;
    }
}

.bg-card-detail {
    background-color: #f7f7f5;
    border-radius: 30px;
    padding: 30px 15px 20px 15px;
}

.line-gray {
    color: #9d9d9d;
}

.fs-detail-bax {
    font-size: 18px !important;
    font-weight: 600;
    color: #646a5e;
}

.rial1 {
    font-size: 12px;
    color: #bdbdbd;
    font-weight: 400;
}

.rz-toast {
    position: fixed;
    top: 20px;
    left: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    min-width: 300px;
    border-right: 4px solid transparent;
}

.rz-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* استایل موفقیت */
.rz-toast-success {
    border-right-color: #4CAF50;
}

/* استایل خطا */
.rz-toast-error {
    border-right-color: #F44336;
}

.rz-toast-content h6 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: bold;
}

.rz-toast-content p {
    margin: 4px 0 0 0;
    font-size: 0.85rem;
    color: #666;
}

.rz-toast-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    margin-right: auto; /* دکمه را به سمت چپ هل می‌دهد */
}

.rz-toast-close:hover {
    color: #333;
}

.rz-discount-message {
    margin-top: 10px;
    font-size: 0.9rem;
    padding: 8px 12px;
    border-radius: 13px;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* حالت نمایش (وقتی کلاس show اضافه شود) */
.rz-discount-message.show {
    display: block;
    opacity: 1;
}

/* رنگ سبز برای موفقیت */
.rz-discount-message.success {
    background-color: #edfff1;
    color: #155724;
    border: 1px solid #d9eede;
}

/* رنگ قرمز برای خطا */
.rz-discount-message.error {
    background-color: #ffeef0;
    color: #721c24;
    border: 1px solid #f5c6cb;
}


/* استایل فرم */
.form-label1 {
    color: #646a5e;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.form-control, .form-select {
    color: #646a5e;
    border-style: none;
    font-size: 14px;
    font-weight: 500;
    padding: 11px 18px !important;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 13px !important;
}

.form-control:focus, .form-select:focus {
    border: 1px solid #e6be8a7d;
    box-shadow: 0 0 0 0.1rem rgba(187, 165, 126, 0.25);
}

/* آیتم‌های خلاصه سفارش در چک‌اوت */
.rz-checkout-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.rz-checkout-item:last-child {
    border-bottom: none;
}

.rz-checkout-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    margin-left: 15px;
}

.rz-checkout-details {
    flex-grow: 1;
}

.rz-checkout-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    display: block;
}

.rz-checkout-meta {
    font-size: 0.8rem;
    color: #888;
}

.rz-checkout-price {
    font-weight: bold;
    color: #646a5e;
    font-size: 0.95rem;
}

.rz-shipping-card, .rz-payment-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rz-shipping-card:hover, .rz-payment-card:hover {
    border-color: #e6be8a7d;
}

.rz-shipping-card.active, .rz-payment-card.active {
    border-color: #e6be8a7d;
    background-color: #fffcf57d;
}

.rz-method-info h6 {
    margin: 0;
    font-size: 0.95rem;
    color: #333;
}

.rz-method-info span {
    font-size: 0.8rem;
    color: #777;
}

.rz-radio-custom {
    width: 15px;
    height: 15px;
    accent-color: #e6be8a;
}

/* دکمه نهایی */
.rz-btn-final-pay {
    background-color: #646a5e;
    color: #fff;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: none;
    font-weight: bold;
    font-size: 1rem;
    transition: background 0.3s;
}

.rz-btn-final-pay:hover {
    background-color: #1a2b2e;
}

.bg-checkout-box {
    background: #fff;
    border-radius: 16px;
    padding: 40px 20px;
    margin: 10px;
}

.rz-callback-wrapper {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

.rz-callback-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 40px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    border-top: 6px solid #e6be8a;
}

.rz-callback-card1 {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 40px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    border-top: 6px solid #d95f5e;
}

.rz-callback-card2 {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 40px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    border-top: 6px solid #9fa2a8;
}

.rz-status-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #e6be8a38;
    color: #e6be8a;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.rz-status-icon1 {
    background-color: #d95f5e47;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    color: #e6be8a;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.rz-status-icon2 {
    background-color: #c6c6c647;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    color: #e6be8a;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.rz-tracking-code {
    background: #f1f1f1;
    padding: 10px 20px;
    border-radius: 15px;
    font-weight: normal;
    letter-spacing: 1px;
    display: inline-block;
    margin: 15px 0;
}

.rz-btn-primary {
    background-color: #646a5e;
    color: #fff;
    padding: 10px 25px;
    border-radius: 15px;
    text-decoration: none;
    display: inline-block;
    margin: 5px;
}

.rz-btn-primary:hover {
    color: #fff;
    background-color: #e6be8a;
}

.rz-btn-outline {
    background-color: transparent;
    color: #646a5e;
    border: 1px solid #ddd;
    padding: 10px 25px;
    border-radius: 15px;
    text-decoration: none;
    display: inline-block;
    margin: 5px;
}

.rz-btn-outline:hover {
    color: #646a5e;
}

.gold-c {
    color: #e6be8a;
}

.red-c {
    color: #d95f5e;
}

.gray-c {
    color: #81858e;
}

.green-c {
    color: #646a5e;
}

.rz-dash-card {
    background: #fff;
    border-radius: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #eee;
}

/* هدر پروفایل */
.rz-dash-header {
    padding: 15px 25px;
    color: #646a5e;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-direction: column;
}

.rz-dash-avatar {
    width: 60px;
    height: 60px;
    background: #e6be8a2e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    flex-shrink: 0;
    border-radius: 50%;
    border-width: 3px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.3);
    border-image: initial;
}

.rz-dash-user-info h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.rz-dash-user-info p {
    margin: 5px 0 0;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* منوی تب‌ها */
.rz-dash-sidebar {
    padding: 20px;
    margin: 15px;
    border-radius: 15px;
    border-left: 1px solid #eee;
    background: #f0eeea;
}

.rz-dash-sidebar1 {
    background-color: #f8f9fa;
    padding: 20px;
    margin: 15px;
    border-radius: 15px;
}

.rz-dash-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    text-align: right;
    padding: 12px 15px;
    margin-bottom: 8px;
    border-radius: 10px;
    color: #555;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.95rem;
}

.rz-dash-nav-item:hover {
    background-color: #fffcf5;
    color: #646a5e;
}

.rz-dash-nav-item.active {
    background-color: #fffcf5;
    color: #e6be8a;
    border-right: 3px solid #e6be8a;
}

.rz-dash-nav-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* محتوای تب‌ها */
.rz-dash-content {
    padding: 30px;
    min-height: 400px;
}

.rz-dash-content1 {
    padding: 15px;
    min-height: 400px;
}

.rz-dash-pane {
    display: none;
    animation: rzDashFade 0.4s ease;
}

.rz-dash-pane.active {
    display: block;
}

@keyframes rzDashFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- استایل‌های جدید بخش داشبورد --- */

/* باکس‌های آمار */
.rz-dash-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
    margin-bottom: 30px;
}

.rz-dash-stat-box {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 15px 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: 0.3s;
}

.rz-dash-stat-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-color: #e6be8a;
}

.rz-dash-stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background-color: #fffcf5;
    color: #e6be8a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.rz-dash-stat-info h5 {
    margin: 0;
    font-size: 1rem;
    color: #646a5e;
    font-weight: 700;
}

.rz-dash-stat-info span {
    font-size: 0.85rem;
    color: #777;
}


/* جدول کوچک سفارشات */
.rz-dash-mini-table {
    width: 100%;
    border-collapse: collapse;
}

.rz-dash-mini-table th {
    text-align: center;
    color: #888;
    font-size: 0.85rem;
    padding: 10px;
    font-weight: normal;
}

.rz-dash-mini-table td {
    padding: 16px 0px;
    border-bottom: 1px dashed #e0e0e0;
    font-size: 0.9rem;
    text-align: center;
}

.rz-dash-mini-table tr:last-child td {
    border-bottom: none;
}


.rz-dash-review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}


.rz-dash-review-stars {
    color: #FFD700;
    font-size: 0.8rem;
    margin-bottom: 5px;
}

.rz-dash-review-text {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
}

/* فرم و دکمه */
.rz-dash-label {
    color: #646a5e;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.rz-dash-input {
    background: #646a5e0D;
    border: 1px solid transparent;
    padding: 10px 15px;
    border-radius: 12px;
    width: 100%;
    margin-bottom: 15px;
    font-size: 15px;
    transition: 0.3s;
}

.rz-dash-input:focus {
    border-color: #e6be8a7d;
    background: #fff;
    outline: none;
}

.rz-dash-btn {
    background-color: #646a5e;
    color: #fff;
    padding: 10px 30px;
    border-radius: 10px;
    border: none;
    font-weight: bold;
    transition: 0.3s;
}

.rz-dash-btn:hover {
    background-color: #e6be8a;
    color: #fff;
}

.rz-dash-link {
    font-size: 0.85rem;
    color: #e6be8a;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.rz-dash-link:hover {
    color: #96805a;
    text-decoration: none;
    text-underline-offset: 4px;
}


.bg-warning {
    padding: 7px 10px;
    background-color: #ffebd136 !important;
    color: #f3bc72 !important;
    border: 1px solid #f3bc72;
    font-weight: 600;
    border-radius: 8px;
    font-size: 12px;
}

.bg-success {
    padding: 7px 10px;
    background: rgb(41 168 104 / 10%) !important;
    border-radius: 8px;
    color: #29a868;
    border: 1px solid #29a868;
    font-weight: 600;
    font-size: 12px;
}

.bg-danger {
    padding: 3px 6px;
    color: #fff;
    font-weight: 500;
    font-size: 10px;

}

.border-b-gray {
    border-bottom: 1px solid #eee;
}

/* --- استایل‌های ریسپانسیو جدول برای موبایل --- */
@media (max-width: 768px) {

    /* ۱. مخفی کردن هدر جدول در موبایل */
    .rz-dash-mini-table thead {
        display: none;
    }

    /* ۲. تبدیل هر ردیف به یک بلوک عمودی */
    .rz-dash-mini-table,
    .rz-dash-mini-table tbody,
    .rz-dash-mini-table tr,
    .rz-dash-mini-table td {
        display: block;
        width: 100%;
    }

    /* ۳. تنظیمات سلول‌ها */
    .rz-dash-mini-table tr {
        margin-bottom: 15px; /* فاصله بین ردیف‌ها */
        border: 1px solid #eee;
        border-radius: 12px;
        padding: 10px;
        background: #fff;
    }

    .rz-dash-mini-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 0;
        border-bottom: 1px solid #f5f5f5;
        text-align: right;
        position: relative;
        padding-left: 0; /* حذف پدینگ اضافی */
    }

    .rz-dash-mini-table td:last-child {
        border-bottom: none;
    }

}

@media (max-width: 768px) {
    .rz-dash-stats-grid {
        grid-template-columns: repeat(2, 1fr); /* دقیقاً ۲ ستون مساوی */
        gap: 15px; /* کمی فاصله بیشتر */
    }
}

.bg-card-detail-order {
    background-color: #f8f9fa;
    border-radius: 15px;
}

.rz-dash-section-title {
    padding: 10px;
}

/* استایل موبایل فقط برای جدول سفارشات */
@media (max-width: 768px) {
    .orders-table tbody tr td:nth-child(1)::before {
        content: "شماره سفارش";
        font-weight: normal;
        color: #888;
        font-size: 0.8rem;
        margin-left: 10px;
    }

    .orders-table tbody tr td:nth-child(2)::before {
        content: "تاریخ";
        font-weight: normal;
        color: #888;
        font-size: 0.8rem;
        margin-left: 10px;
    }

    .orders-table tbody tr td:nth-child(3)::before {
        content: "ساعت";
        font-weight: normal;
        color: #888;
        font-size: 0.8rem;
        margin-left: 10px;
    }

    .orders-table tbody tr td:nth-child(4)::before {
        content: "وضعیت";
        font-weight: normal;
        color: #888;
        font-size: 0.8rem;
        margin-left: 10px;
    }

    .orders-table tbody tr td:nth-child(5)::before {
        content: "جزئیات";
        font-weight: normal;
        color: #888;
        font-size: 0.8rem;
        margin-left: 10px;
    }
}

@media (min-width: 991px) {
    .rz-dash-sidebar {
        background: #f0eeea;
        margin: 18px 18px 18px 0px;
        padding: 20px;
        border-radius: 20px;
        border-left: 1px solid #eee;
    }
}


.view-details-link {
    display: inline-block;
    padding: 4px 8px;
    border: 1px solid #ede0c5;
    border-radius: 8px;
    color: #e6be8a !important;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    background-color: transparent;
    font-weight: 600;
    font-size: 12px;
}

.view-details-link:hover {
    background-color: #ede0c5;
    color: #e6be8a !important;
    text-decoration: none;

}

/* --- استایل‌های پایه (بدون تغییر) --- */
.ec-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.ec-modal-content {
    display: block;
    margin: auto;
    top: 10%;
    background-color: #fff;
    padding: 20px;
    border-radius: 25px;
    width: 90%;
    max-width: 700px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: ecFadeIn 0.3s ease-out;
}

@keyframes ecFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ec-modal-header {
    display: flex;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
    align-items: center;
    justify-content: space-between;
}

.ec-close-button {
    background: none;
    border: none;
    font-size: 1.8em;
    cursor: pointer;
    color: #999;
    line-height: 1;
    padding: 0 5px;
}

.ec-order-details p {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.6;
    font-size: 0.95em;
}

.ec-order-status {
    padding: 7px 10px;
    background: rgb(41 168 104 / 10%) !important;
    border-radius: 8px;
    color: #29a868;
    border: 1px solid #29a868;
    font-weight: 600;
    font-size: 12px;
}

.bg-papup {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 20px;
    border: 1px solid #f2f2f2;
}

.detail-btn-order {
    color: #646a5e;
    font-size: 16px;
    font-weight: bold;
    margin: 5px 0px 0px 0px;
}

.detail-order-papup {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed #eee;
    padding: 12px 5px;
    color: #646a5e;
    font-size: 14px;
    font-weight: 600;
}

.detail-order-papup1 {
    padding: 12px 5px;
    color: #646a5e;
    font-size: 14px;
    display: flex;
    justify-content: flex-start;
}

.bg-item-detail {
    background-color: #ffffff;
    padding: 10px;
    border-radius: 15px;
    margin-bottom: 10px;
    border: 1px solid #eee;
}

.img-detail-list {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
}

/* --- استایل‌های جدید محصولات (مشترک دسکتاپ و موبایل) --- */
.products-container {
    width: 100%;
    /* این بخش مهم است: در موبایل اسکرول افقی می‌دهد */
    overflow-x: auto;
    padding-bottom: 10px; /* فضا برای نوار اسکرول */
}

.product-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    /* حداقل عرض را ثابت نگه می‌داریم تا چیدمان به هم نریزد */
    min-width: 500px;
}

.p-col {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* تنظیم عرض ستون‌ها */
.p-img {
    flex: 0 0 15%;
}

.p-name {
    flex: 0 0 45%;
    justify-content: flex-start;
    padding-right: 10px;
    text-align: right;
    font-size: 14px;
}

.p-qty {
    flex: 0 0 15%;
    font-size: 14px;
}

.p-price {
    flex: 0 0 25%;
    font-weight: bold;
    font-size: 14px;
}


@media (max-width: 768px) {

    .p-img {
        flex: 0 0 15%;
    }

    .p-name {
        flex: 0 0 38%;
        justify-content: flex-start;
        padding-right: 10px;
        text-align: right;
    }

    .p-qty {
        flex: 0 0 15%;
    }

    .p-price {
        flex: 0 0 25%;
        font-weight: bold;
    }

    /* ۱. تنظیمات کلی مودال */
    .ec-modal-content {
        width: 95% !important;
        max-width: none !important;
        height: 90vh;
        overflow-y: auto; /* اسکرول عمودی کل مودال */
        border-radius: 20px 20px 0 0;
        position: fixed;
        bottom: 0;
        top: auto;
        margin: 0;
        animation: slideUp 0.3s ease-out;
    }

    @keyframes slideUp {
        from {
            transform: translateY(100%);
        }
        to {
            transform: translateY(0);
        }
    }

    /* ۲. تغییر چیدمان اطلاعات سفارش (تاریخ، وضعیت و...) به ستونی */
    .detail-order-papup {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    /* ۳. محصولات: تغییر خاصی نمی‌خواهند چون min-width و overflow-x داریم */
    /* فقط برای زیبایی می‌توانیم فونت را کمی کوچک کنیم */
    .product-item {
        font-size: 13px;
    }

    .img-detail-list {
        width: 35px;
        height: 35px;
    }
}

strong {
    font-weight: normal;
}

.wishlist-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border-bottom: 1px dashed #e0e0e0;
    transition: background-color 0.2s ease;
}

.wishlist-item:hover {
    background-color: rgba(187, 165, 126, 0.05);
}

.item-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(187, 165, 126, 0.1);
    border-radius: 50%;
    margin-left: 12px;
}

.item-content-wrapper {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.item-image-wrapper img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 10px !important;
    border: 1px solid #eee;
    padding: 4px;
    margin-left: 12px;
}

.item-details {
    flex-grow: 1;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.item-actions {
    display: flex;
    flex-direction: row;
    gap: 8px;
}

/* دکمه‌های سفارشی */
.btn-custom-view, .btn-custom-remove {
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 6px 16px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
}

.btn-custom-view {
    background-color: #e6be8a;
    color: #ffffff;
    box-shadow: 0 2px 5px rgba(187, 165, 126, 0.2);
    min-width: 80px;
}

.btn-custom-view:hover {
    background-color: #b9a581;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(187, 165, 126, 0.3);
}

.btn-custom-remove {
    background-color: transparent;
    color: #dc3545;
    border-color: #dc3545;
    padding: 0;
    width: 38px;
    border-radius: 10px;
    min-width: auto;
}

.btn-custom-remove:hover {
    background-color: #dc3545;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.2);
}

.btn-custom-remove svg {
    width: 20px;
    height: 20px;
}

/* استایل‌های فرم‌ها */
.form-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: rgba(187, 165, 126, 0.1);
    border-radius: 6px;
}

.btn-view-form {
    border-radius: 6px;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-color: #e6be8a;
    color: #e6be8a;
    transition: all 0.3s ease;
}

.btn-view-form:hover {
    background-color: #e6be8a;
    color: #fff;
}

/* رسپانسیو موبایل */
@media (max-width: 768px) {
    .wishlist-item {
        flex-direction: column;
        align-items: flex-end;
        padding: 15px 0px;
    }

    .item-icon-wrapper {
        display: none;
    }

    .item-content-wrapper {
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        margin-bottom: 15px;
    }

    .item-image-wrapper img {
        margin-left: 0;
        margin-right: 10px;
        width: 70px;
        height: 70px;
    }

    .item-details {
        text-align: right;
    }

    .item-header {
        justify-content: flex-start;
    }

    .item-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .btn-custom-view {
        flex-grow: 1;
        max-width: fit-content;
    }

    /* تبدیل جدول فرم‌ها به کارت در موبایل */
    .rz-dash-mini-table thead {
        display: none;
    }

    .rz-dash-mini-table tbody tr {
        display: block;
        border: 1px solid #eee;
        border-radius: 8px;
        margin-bottom: 15px;
        padding: 10px;
        background-color: #fff;
    }

    .rz-dash-mini-table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px dashed #eee;
        padding: 8px 0;
    }

    .rz-dash-mini-table tbody td:last-child {
        border-bottom: none;
        padding-top: 10px;
    }
}


@media (max-width: 768px) {
    /* ستون اول: عنوان فرم */
    .forms-table tbody tr td:nth-child(1)::before {
        content: "عنوان فرم";
        font-weight: normal;
        color: #888;
        font-size: 0.8rem;
        margin-left: 10px;
    }

    /* ستون دوم: تاریخ ثبت */
    .forms-table tbody tr td:nth-child(2)::before {
        content: "تاریخ ";
        font-weight: normal;
        color: #888;
        font-size: 0.8rem;
        margin-left: 10px;
    }

    /* ستون سوم: وضعیت */
    .forms-table tbody tr td:nth-child(3)::before {
        content: "ساعت";
        font-weight: normal;
        color: #888;
        font-size: 0.8rem;
        margin-left: 10px;
    }

    /* ستون چهارم: عملیات */
    .forms-table tbody tr td:nth-child(4)::before {
        content: "وضعیت";
        font-weight: normal;
        color: #888;
        font-size: 0.8rem;
        margin-left: 10px;
    }

    .form-icon-wrapper {
        display: none;
    }
}

@media (max-width: 768px) {
    .transaction-table tbody tr td:nth-child(1)::before {
        content: "شماره تراکنش";
        font-weight: normal;
        color: #888;
        font-size: 0.8rem;
        margin-left: 10px;
    }

    .transaction-table tbody tr td:nth-child(2)::before {
        content: "تاریخ";
        font-weight: normal;
        color: #888;
        font-size: 0.8rem;
        margin-left: 10px;
    }


    .transaction-table tbody tr td:nth-child(3)::before {
        content: "مبلغ";
        font-weight: normal;
        color: #888;
        font-size: 0.8rem;
        margin-left: 10px;
    }

    .transaction-table tbody tr td:nth-child(4)::before {
        content: "وضعیت";
        font-weight: normal;
        color: #888;
        font-size: 0.8rem;
        margin-left: 10px;
    }

    .transaction-table tbody tr td:nth-child(5)::before {
        content: "نوع";
        font-weight: normal;
        color: #888;
        font-size: 0.8rem;
        margin-left: 10px;
    }
}

/* --- استایل‌های اختصاصی بخش نظرات --- */
.dash-comment-item {
    padding: 20px 0px;
    border-bottom: 1px dashed #eee;
    transition: background-color 0.2s ease;
}

.dash-comment-item:hover {
    background-color: rgba(187, 165, 126, 0.03);
}

.dash-comment-item:last-child {
    border-bottom: none;
}

/* هدر نظر */
.dash-comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.dash-comment-product-wrapper {
    display: flex;
    align-items: center;
}

.dash-comment-img-box img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    padding: 2px;
    border-radius: 8px;
    border: 1px solid #eee;
    margin-left: 12px;
}

.dash-comment-info {
    display: flex;
    flex-direction: column;
}

/* لینک محصول */
.dash-comment-product-link {
    font-weight: bold;
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s;
}

.dash-comment-product-link:hover {
    color: #e6be8a;
}


/* بدنه نظر */
.dash-comment-body {
    padding-right: 72px; /* فاصله برای هم‌تراز شدن با متن بالایی */
}

.dash-comment-date {
    display: block;
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 5px;
}

.dash-comment-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* رسپانسیو موبایل */
@media (max-width: 768px) {
    .dash-comment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .dash-comment-body {
        padding-right: 0;
    }

    .dash-comment-text {
        font-size: 13px;
    }

    .dash-comment-product-link {
        font-size: 14px;
    }
}

/* --- استایل‌های اختصاصی جزئیات حساب --- */

.dash-details-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 0.9rem;
}

.dash-details-input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.dash-details-input:focus {
    border-color: #e6be8a;
    background-color: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(187, 165, 126, 0.1);
}

.dash-details-btn {
    background-color: #e6be8a;
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dash-details-btn:hover {
    background-color: #a38f6b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(187, 165, 126, 0.2);
}

.dash-details-btn-outline {
    background-color: transparent;
    border: 1px solid #e6be8a;
    color: #e6be8a;
}

.dash-details-btn-outline:hover {
    background-color: #e6be8a;
    color: #fff;
}

/* رسپانسیو */
@media (max-width: 991px) {
    .col-lg-4, .col-lg-8 {
        width: 100%;
    }
}

.account-select {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.form-check-input:checked {
    background-color: #d6c9b3;
    border-color: #e6be8a;
}

.stock-cart {
    font-size: 10px;
    background-color: #f06565 !important;
    color: #fff;
}


/* استایل اختصاصی لیست قیمت با پیشوند pricelist- */

/* تنظیمات کلی جدول */
.pricelist-table-wrapper {
    background-color: transparent;
}

.pricelist-table {
    background-color: #ffffff;
    border-collapse: separate; /* برای ایجاد فاصله بین ردیف‌ها */
    border-spacing: 0 10px; /* فاصله عمودی بین کارت‌ها */
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

/* استایل هدر جدول */
.pricelist-table thead th {
    background-color: transparent;
    color: #e6be8a;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 20px;
    border-bottom: 1px solid #e6be8a47;
}

/* استایل ردیف‌ها */
.pricelist-table tbody tr {
    background-color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

/* افکت هاور روی ردیف */
.pricelist-table tbody tr:hover {
    transform: translateY(-2px);
    /*box-shadow: 0 8px 15px rgba(0,0,0,0.05);*/
    /*background-color: #fafbfc;*/
}

/* گرد کردن گوشه‌های اولین و آخرین سلول هر ردیف */
.pricelist-table tbody tr td:first-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

.pricelist-table tbody tr td:last-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

/* استایل سلول‌ها */
.pricelist-table td {
    padding: 16px 20px;
    vertical-align: middle;
    border: none;
    color: #334155;
    font-size: 0.95rem;
}

/* استایل آیکون محصول */
.pricelist-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 14px;
    font-size: 1.2rem;
    background-color: #f0eeea;
    border: 1px solid #e6be8a52;
    box-shadow: 0 4px 6px rgb(0 0 0 / 0%);
}

/* استایل باج‌های تغییرات (Badge) */
.pricelist-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.pricelist-trend-up {
    background-color: #dcfce7;
    color: #166534;
}

.pricelist-trend-down {
    background-color: #fee2e2;
    color: #991b1b;
}

.btn-update-price {
    background-color: #646a5e !important;
    padding: 10px;
    border-radius: 10px;
    color: #ffeed1;
    font-size: 12px;
    font-weight: 500;
}

.table-hover > tbody > tr:hover > * {
    --bs-table-accent-bg: unset;
}

/* --- تنظیمات ظریف‌سازی برای موبایل --- */
@media (max-width: 768px) {

    /* تنظیمات کانتینر جدول برای اسکرول افقی زیبا */
    .pricelist-table-wrapper {
        margin-right: -15px; /* خروج از حاشیه برای استفاده از تمام عرض */
        margin-left: -15px;
        padding: 10px 15px; /* فاصله از لبه‌های صفحه */
        overflow-x: auto; /* فعال کردن اسکرول افقی */
        -webkit-overflow-scrolling: touch; /* اسکرول نرم در آیفون */
        scrollbar-width: thin; /* اسکرول بار نازک در فایرفاکس */
    }

    /* استایل اسکرول بار برای کروم و سافاری */
    .pricelist-table-wrapper::-webkit-scrollbar {
        height: 4px; /* ارتفاع اسکرول بار */
    }

    .pricelist-table-wrapper::-webkit-scrollbar-thumb {
        background-color: #cbd5e1; /* رنگ اسکرول بار */
        border-radius: 4px;
    }

    .pricelist-table-wrapper::-webkit-scrollbar-track {
        background-color: transparent;
    }

    /* تنظیمات جدول در موبایل */
    .pricelist-table {
        min-width: 600px; /* حداقل عرض جدول برای اجبار به اسکرول */
        font-size: 0.8rem; /* کاهش سایز فونت کلی */
    }

    /* کاهش فاصله‌های داخلی سلول‌ها */
    .pricelist-table th,
    .pricelist-table td {
        padding: 10px 8px !important;
        white-space: nowrap;
        font-size: 13px;
    }

    /* تنظیمات آیکون محصول در موبایل */
    .pricelist-icon {
        width: 32px !important;
        height: 32px !important;
        font-size: 1rem !important;
        margin-left: 8px !important;
    }

    .pricelist-table th:nth-child(1),
    .pricelist-table td:nth-child(1) {
        display: none;
    }

    /* تنظیمات تیتر صفحه در موبایل */
    .section-title {
        font-size: 1.25rem !important;
    }

    .btn-update-price {
        font-size: 0.75rem !important;
    }
}

@media (max-width: 768px) {
    /* تغییر جهت چیدمان به عمودی در موبایل */
    .d-flex.justify-content-between.align-items-center.mb-4 {
        flex-direction: column;
        text-align: center;
        gap: 10px; /* فاصله بین عنوان و بروزرسانی */
    }

    /* تنظیمات برای دکمه بروزرسانی */
    .btn-update-price {
        background-color: #646a5e !important;
        padding: 10px;
        border-radius: 10px;
        color: #ffeed1;
        font-size: 12px;
        font-weight: 500;
    }

    .pricelist-table thead th {
        font-size: 14px;
    }
}

.logo-footer-alvand {
    max-width: 75px;
    opacity: 0.8;
    margin-right: 5px;
}

#alvand-auth-root {
    display: none;
    z-index: 9999;
    background: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    box-shadow: 5px 5px 5px #0000001a;
    border-radius: 20px;
}

body:has(#alvand-auth-root[style*="display: block"])::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9998;
}

.sb-custom-wrapper {
    padding-top: 7rem;
}

video {
    vertical-align: middle;
}

.btn-none {
    background: none;
    border: none;
}

.hr-solid {
    color: #ccc !important;
    border-top: 1px solid;
}

.label-admin {
    font-size: 11px;
    margin-right: 10px;
    padding: 4px 8px;
    background: #fcfcfc;
    border-radius: 6px;
    display: inline;
    font-weight: 200;
    color: #e6be8a;
    border: 1px solid #e9ecef;
}

.firstPoint {
    padding-top: 7rem;
}

.responseCart {
    padding: 10px;
}

.responseCart ul li {
    list-style: none;
}

.object-cover {
    max-width: 100px;
}


/* استایل دکمه‌های اشتراک‌گذاری */
.social-share-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.social-share-btn:hover {
    transform: scale(1.1);
    color: #fff;
}

.social-share-btn.whatsapp {
    background: #25D366;
}

.social-share-btn.telegram {
    background: #0088cc;
}

.social-share-btn.twitter {
    background: #000000;
}

.social-share-btn.linkedin {
    background: #0077b5;
}

.social-share-btn.email {
    background: #ea4335;
}

/* استایل input */
#shareLink {
    font-size: 13px;
    text-align: left;
}

/* دکمه کپی */
#copyBtn {
    min-width: 80px;
    transition: all 0.3s ease;
}

#copyBtn.btn-success {
    background-color: #25D366;
    border-color: #25D366;
    color: #fff;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #e6be8a;
    --bs-btn-border-color: #e6be8a;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #e6be8a;
    --bs-btn-hover-border-color: #e6be8a;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #e6be8a;
    --bs-btn-active-border-color: #e6be8a;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #e6be8a;
    --bs-btn-disabled-border-color: #e6be8a;
}

/* مودال */
#shareModal .modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

#shareModal .modal-header {
    border-bottom: 1px solid #eee;
    padding: 16px 20px;
}

#shareModal .modal-body {
    padding: 20px;
}

#shareModal .modal-title {
    display: flex;
    align-items: center;
    font-weight: 600;
}

.row-reverse {
    flex-direction: row-reverse;
}


/*  Search  */
/* دکمه باز کردن */
.search-trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 15px;
    color: #333;
    transition: all 0.3s ease;
}

.search-trigger:hover {
    transform: translateY(-3px);
}

.search-trigger svg {
    width: 18px;
    height: 18px;
}

.none-decoration {
    text-decoration: none;
}

/* Overlay - وسط صفحه */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px) saturate(180%);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal Container */
.search-modal {
    position: relative;
    width: 100%;
    max-width: 560px;
    background: #ffffff;
    border-radius: 24px;
    overflow: visible;
    transform: translateY(-20px) scale(0.96);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03),
    0 20px 50px -20px rgba(0, 0, 0, 0.25),
    0 10px 30px -10px rgba(0, 0, 0, 0.15);
}

.modal-overlay.active .search-modal {
    transform: translateY(0) scale(1);
}

/* دکمه بستن - داخل پاپ آپ، بالای باکس سرچ */
.modal-close-btn {
    position: absolute;
    top: -14px;
    right: -14px;
    background: #ffffff;
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.modal-close-btn:hover {
    background: #f3f4f6;
    transform: scale(1.1);
}

.modal-close-btn svg {
    width: 16px;
    height: 16px;
    color: #4b5563;
}

/* Header */
.modal-header {
    padding: 20px 20px 16px;
    background: #fafafa;
    border-radius: 24px 24px 0 0;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    padding: 14px 18px;
    width: 100%;
    transition: all 0.25s ease;
}

.search-input-wrapper:focus-within {
    border-color: #c4c4c4;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.04);
}

.search-icon {
    width: 20px;
    height: 20px;
    color: #9ca3af;
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 13px;
    font-family: 'Vazirmatn', -apple-system, sans-serif;
    outline: none;
    color: #1f2937;
}

.search-input::placeholder {
    color: #9ca3af;
}

/* Results */
.results-container {
    max-height: 400px;
    overflow-y: auto;
    padding: 8px;
}

.results-list {
    padding: 4px;
}

.result-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 2px;
}

.result-item:hover {
    background: #f9fafb;
}

.result-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(133deg, #94711a 0%, #ac862894 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #78716c;
    flex-shrink: 0;
}

.result-info h4 {
    font-size: 14px;
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 2px;
}

.result-info {
    font-size: 13px;
    margin-bottom: 0px;
    font-weight: 500;
    color: #646a5e;
}

.result-info:hover {
    color: #646a5e;
}

/* View More */
.view-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: calc(100% - 16px);
    margin: 12px 8px 8px;
    padding: 13px;
    background: #fafafa;
    border: none;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
}

.view-more:hover {
    background: #646a5e;
    color: #ffffff;
}

/* Empty State */
.empty-state {
    padding: 5px;
    text-align: center;
    color: #9ca3af;
}


/* Scrollbar */
.results-container::-webkit-scrollbar {
    width: 5px;
}

.results-container::-webkit-scrollbar-track {
    background: transparent;
}

.results-container::-webkit-scrollbar-thumb {
    background: #e5e7eb;
    border-radius: 3px;
}

/* Mobile */
@media (max-width: 480px) {
    .modal-overlay {
        padding: 16px;
        align-items: center;
    }

    .search-modal {
        max-height: 80vh;
    }

    .modal-close-btn {
        top: -12px;
        right: -12px;
        padding: 8px;
    }

    .modal-close-btn svg {
        width: 14px;
        height: 14px;
    }
}

.text-search-result {
    font-size: 14px;
    padding-right: 15px;
}

/* حذف استایل لیست */
.results-list {
    list-style: none;

}

/* یا اگر با تگ li کار می‌کنی */
.results-list li {
    list-style: none;
}

.responseSearch.results-list {
    list-style: none !important;

}

.title-search-result {
    color: #646a5e !important;
    font-size: 16px;
    font-weight: 500 !important;
}

.badge-result-search {
    padding: .3rem .5rem;
    background-color: #e6be8a2b !important;
    color: #e6be8a !important;
    border-radius: 7px;
    font-size: 12px;
    display: flex;
    align-items: center;
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 14px;
}

.empty-state svg {
    width: 56px;
    height: 56px;
    color: #cbd5e1;
    margin-bottom: 16px;
}

.empty-state p {
    font-size: 15px;
    font-weight: 500;
    color: #475569;
    margin-bottom: 6px;
}

.empty-state span {
    font-size: 13px;
    color: #94a3b8;
}

.g-color {
    color: #646a5e !important;
}

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1340px;
    }
}

.login__title {
    font-size: 20px;
    color: #646a5e;
    margin-top: 30px !important;
}

.login__section-inputs {
    margin: 20px 30px 0px 30px;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
}

.login__section-inputs lable {
    font-size: 14px;
    font-weight: 500;
    color: #646a5e;
}

.login__input {
    border: 1px solid #646a5e33;
    font-size: 14px;
    color: #646a5e;
    border-radius: 12px;
    background: white;
    padding: 10px 13px;
    flex: 1;
}

.login__input:focus {
    outline: none;
    border: 1px solid #e6be8a;
    box-shadow: 0 0 0 3px rgba(187, 165, 126, 0.2);
}


.login__button {
    display: block;
    margin: 15px auto !important;
    background-color: #e6be8a;
    width: 25%;
    border-radius: 10px !important;
    font-size: 14px !important;
    padding: 8px 13px !important;
    color: #ffffff;
    font-weight: 500;

}


.login__button:hover {
    background-color: #646a5e;
    color: #fff;
    box-shadow: 2px 2px 5px #646a5e2b;
}

.btn.w-full {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    border: none;
    background: #e6be8a;
    /*margin-bottom: 30px !important;*/
    font-size: 13px;
    border-radius: 13px !important;
    padding: 10px !important;
    color: #fff;
}

.btn.w-full:hover {
    color: #e6be8a;
    background: #ffffff;
    border: 1px solid #e6be8a;
}

.btn.w-full1 {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    border: none;
    background: #e6be8a;
    margin-bottom: 10px !important;
    font-size: 13px;
    border-radius: 13px !important;
    padding: 10px !important;
    color: #ffffff;
    border: 1px solid #e6be8a;
}

.btn-price-list {
    border: none;
    border-radius: 10px;
    padding: 3px;
    margin-right: 6px;
    background-color: #f8f9fa;
}

.login-phone-btn {
    margin: 20px 30px 0px 30px;
}

.login-form-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
    border-radius: 12px;
}

.secondary-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

.secondary-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #eee;
    margin-bottom: 30px;
}

.secondary-btn {
    background: none;
    border: none;
    color: #6b7280;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 10px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    border-radius: 8px;

}

.secondary-btn:hover {
    color: #e6be8a;
    background: #f9f3e7;
}

.secondary-btn:active {
    background: #f5efe3;
}

.secondary-separator {
    color: #d1d5db;
    font-size: 14px;
    user-select: none;
}

/* عنوان فرم */
.form-title {
    font-size: 15px;
    font-weight: 500;
    border-top: 1px solid #eee;
    color: #e6be8a;
    text-align: center;
    padding-top: 12px;
}

.p-6.max-w-md.mx-auto p {
    padding-inline-start: 30px;
}

.p-6.max-w-md.mx-auto .second-button {
    display: block;
    text-align: center;
    margin: 12px auto 20px;
    background: #e6be8a;
    color: #fff;
    font-size: 13px;
    border: none;
    border-radius: 12px !important;
    padding: 8px 15px !important;
}

.p-6.max-w-md.mx-auto .second-button:hover {
    color: #e6be8a;
    background: #ffffff;
    border: 1px solid #e6be8a;
}

.alv-checkout-items {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #eee;
}

.alv-checkout-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    /* border-radius: 12px; */
    padding-bottom: 15px;
    transition: all 0.2s ease;
    border-bottom: 1px dashed #f0eeea;
}

.alv-checkout-item:hover {
    transform: translateY(-1px);
}

.alv-checkout-item img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #eaeaea;
}

.alv-checkout-item__content {
    display: flex;
    flex: 1;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.alv-checkout-item__title {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    max-width: 220px;
}

.alv-checkout-item__qty,
.alv-checkout-item__price {
    font-size: 15px;
    color: #555;
    font-weight: 400;
    white-space: nowrap;
}

.alv-checkout-empty {
    padding: 20px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

@media (max-width: 768px) {
    .alv-checkout-item {
        flex-direction: column;
    }

    .alv-checkout-item__qty, .alv-checkout-item__price {
        font-size: 13px;
    }

    .alv-checkout-item__title {
        font-size: 13px;
    }

    .alv-checkout-item__content {
        gap: 40px;
    }
}

.alvand-form__field.col-md-6 {
    max-width: 48%;
    padding: 0px !important;
}

.alvand-form button[type="submit"] {
    display: block;
    margin: 20px auto 0 auto; /* وسط‌چین */
    width: fit-content; /* فقط اندازه متن */
    padding: 10px 22px;
    border-radius: 12px;
}

.alvand-form button[type="submit"]:hover {
    background: #646a5e;
    transform: translateY(-1px);
}

/* وقتی کلیک میشه */
.alvand-form button[type="submit"]:active {
    transform: scale(0.97);
    background: #646a5e;
}

/* فوکوس (برای کیبورد / UX بهتر) */
.alvand-form button[type="submit"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgb(36 60 64);
}

.carousel-caption.d-md-block {
    display: none !important;
}

.carousel-indicators {
    display: none !important;
}

@media (min-width: 768px) {
    .hide-pc {
        display: none !important;
    }

    .faq-content p {
        font-size: 13px;
    }
}
    @media (max-width: 767px) {
        .hide-mob {
            display: none !important;
        }

        .p0 {
            padding: 0px !important;
        }
    }


    .current-price {
        font-size: 40px;
        font-weight: 800 !important;
        color: #424241;
    }
