
@font-face {
    font-family: 'Vazirmatn';
    src: url("/jakarta.faces.resource/Vazirmatn-wght.woff2.xhtml?ln=fonts") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --navy-deep: #071426;
    --navy: #0b1f3a;
    --navy-light: #12345a;
    --gold: #d6ad55;
    --gold-light: #f2d27a;
    --gold-dark: #9f7625;
    --text-light: #f5f7fa;
    --text-muted-light: #b8c2cf;
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Vazirmatn", sans-serif;
    background:
            radial-gradient(
                    circle at 85% 8%,
                    rgba(214, 173, 85, .14) 0,
                    rgba(214, 173, 85, 0) 28%
            ),
            linear-gradient(
                    135deg,
                    var(--navy-deep) 0%,
                    var(--navy) 52%,
                    #06101f 100%
            );
    color: var(--text-light);
}
h1,h2,h3,h4,h5,h6{
    font-family: "Vazirmatn", sans-serif;
    font-weight: 600;
}
p{
    line-height: 1.9;
    font-family: "Vazirmatn", sans-serif;
}
span{
    font-family: "Vazirmatn", sans-serif;
}
a {
    font-family: "Vazirmatn", sans-serif;
    color: inherit;
    text-decoration: none;
}

.container-xl {
    max-width: 1240px;
}


.header-main {
    background:
            linear-gradient(
                    115deg,
                    #061326 0%,
                    #0b1f3a 65%,
                    #102b4c 100%
            );
    border-bottom: 1px solid rgba(214, 173, 85, .42);
    box-shadow: 0 5px 22px rgba(0, 0, 0, .2);
}

.header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-width: 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 19px;
    font-weight: 800;
    white-space: nowrap;
}

.mi-logo {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--orange);
    font-size: 17px;
    font-weight: 900;
    direction: ltr;
}




.action-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: color .2s ease;
}

.action-item:hover {
    color: var(--orange);
}

.icon {
    font-size: 20px;
    line-height: 1;
}

/* Hero */
.hero-section {
    background: var(--light-bg);
    padding: 18px 0 30px;
}

.hero-layout {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr) 180px;
    gap: 14px;
    align-items: stretch;
    direction: ltr;
}

.hero-side {
    direction: rtl;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.side-title {
    margin: 5px 0 7px;
    font-size: 21px;
    font-weight: 800;
    text-align: center;
}

.category-card {
    position: relative;
    min-height: 76px;
    padding: 10px;
    overflow: hidden;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #fff;
    box-shadow: 0 4px 12px rgba(25, 40, 50, .09);
    font-size: 14px;
    font-weight: 700;
    transition: transform .25s ease, box-shadow .25s ease;
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(25, 40, 50, .15);
}

.category-card .category-icon {
    display: block;
    margin-bottom: 3px;
    font-size: 28px;
    font-weight: 400;
}

.category-card .arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 19px;
    color: #222;
}

.image-category {
    min-height: 76px;
    justify-content: flex-end;
    color: #fff;
    background-size: cover;
    background-position: center;
    text-shadow: 0 2px 7px rgba(0, 0, 0, .8);
}

.image-category::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.05), rgba(0,0,0,.55));
}

.image-category span {
    position: relative;
    z-index: 1;
}

/* Slider */
.hero-slider {
    position: relative;
    min-width: 0;
    direction: rtl;
}

.slider-window {
    position: relative;
    height: 372px;
    overflow: hidden;
    border-radius: 13px;
    background: #dce5e9;
}
.hero-section,
.hero-layout,
.hero-slider,
.slider-window {
    position: relative;
    z-index: 1;
}

.slide {
    position: absolute;
    inset: 0;
    display: none;
    background-size: cover;
    background-position: center;
}

.slide.active {
    display: block;
    animation: slideFade .45s ease;
}

@keyframes slideFade {
    from {
        opacity: .35;
        transform: scale(1.02);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
            0deg,
            rgba(0, 0, 0, .72) 0%,
            rgba(0, 0, 0, .06) 68%
    );
}

.slide-content {
    position: absolute;
    z-index: 2;
    right: 28px;
    bottom: 28px;
    color: #fff;
}

.slide-content small {
    display: block;
    margin-bottom: 6px;
    font-size: 16px;
}

.slide-content h1 {
    margin: 0 0 16px;
    font-size: 24px;
    font-weight: 800;
}

.btn-orange {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: var(--orange);
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    transition: background .2s ease, transform .2s ease;
}

.btn-orange:hover {
    color: #fff;
    background: var(--orange-dark);
    transform: translateY(-2px);
}

.slider-control {
    position: absolute;
    z-index: 3;
    top: 50%;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #333;
    background: rgba(255,255,255,.88);
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 20px;
}

.slider-control.prev {
    right: 14px;
}

.slider-control.next {
    left: 14px;
}

.slider-status {
    position: absolute;
    z-index: 4;
    left: 20px;
    bottom: 20px;
    direction: ltr;
    color: #fff;
    font-size: 12px;
}

.slider-dots {
    display: flex;
    direction: ltr;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
}

.slider-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #c5c9ca;
    cursor: pointer;
}

.slider-dot.active {
    width: 16px;
    border-radius: 10px;
    background: var(--orange);
}

/* Products */
.section {
    padding: 32px 0;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.section-heading h2 {
    margin: 0;
    font-size: 23px;
    font-weight: 800;
}

.view-all {
    color: var(--orange);
    font-size: 14px;
    font-weight: 700;
}

.product-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--card-border);
    border-radius: 13px;
    background: #fff;
    transition: transform .25s ease, box-shadow .25s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 24px rgba(28, 43, 53, .1);
}

.product-image {
    height: 180px;
    padding: 18px;
    background: #f7f9fa;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-info {
    padding: 14px;
}

.product-info h3 {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 700;
}

.product-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.price {
    color: var(--orange);
    font-size: 15px;
    font-weight: 800;
}

.add-cart {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 9px;
    color: #fff;
    background: var(--orange);
    cursor: pointer;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-layout {
        grid-template-columns: 150px minmax(0, 1fr) 150px;
    }


    .slider-window {
        height: 340px;
    }
}



@media (max-width: 480px) {
    .brand {
        font-size: 15px;
    }

    .mi-logo {
        width: 30px;
        height: 30px;
    }

    .slider-window {
        height: 255px;
    }

    .slide-content h1 {
        max-width: 220px;
        font-size: 17px;
    }

    .slide-content small {
        font-size: 13px;
    }

    .category-card {
        min-height: 70px;
        font-size: 12px;
    }
    .brand-logo {
        height: 36px;
        max-width: 130px;
    }

    .header-search {
        height: 40px;
    }
}


.mega-col h4 {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 800;
    color: var(--dark);
}

.mega-col a {
    display: block;
    padding: 7px 0;
    font-size: 13px;
    color: #4b5563;
    transition: color .2s ease;
}

.mega-col a:hover {
    color: var(--orange);
}

.brand-logo {
    width: auto;
    height: 42px;
    max-width: 150px;
    object-fit: contain;
    display: block;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    white-space: nowrap;
    flex-shrink: 0;
}

.header-search {
    display: flex;
    align-items: center;
    width: 280px;
    height: 42px;
    border: 1px solid #dbe2e8;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}

.header-search input {
    flex: 1;
    height: 100%;
    border: 0;
    outline: 0;
    padding: 0 14px;
    font: inherit;
    background: transparent;
    color: var(--dark);
}

.header-search input::placeholder {
    color: #94a3b8;
}

.header-search button {
    width: 44px;
    height: 100%;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
    color: #475569;
}

.login-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 600;
}

.login-link:hover {
    color: var(--orange);
}

/* جعبه جستجو */
.header-search {
    background: rgba(255, 255, 255, .07);
    border-color: rgba(214, 173, 85, .38);
}

.header-search input {
    color: var(--text-light);
}

.header-search input::placeholder {
    color: var(--text-muted-light);
}

.header-search button {
    color: var(--gold-light);
}



.mega-col h4 {
    color: var(--gold-light);
}

.mega-col a {
    color: #d6dee8;
}

.mega-col a:hover {
    color: var(--gold-light);
}

/* سکشن قهرمان */
.hero-section {
    position: relative;
    overflow: hidden;
    background:
            radial-gradient(
                    circle at 15% 15%,
                    rgba(214, 173, 85, .13) 0,
                    transparent 30%
            ),
            linear-gradient(
                    135deg,
                    #071426 0%,
                    #0b1f3a 55%,
                    #06101f 100%
            );
}

.hero-section::after {
    content: "";
    position: absolute;
    top: 0;
    right: 8%;
    width: 260px;
    height: 1px;
    background: linear-gradient(
            90deg,
            transparent,
            var(--gold-light),
            transparent
    );
    opacity: .8;
}

.hero-section > .container-xl {
    position: relative;
    z-index: 1;
}

/* عنوان‌ها */
.side-title,
.section-heading h2 {
    color: var(--gold-light);
}

.view-all {
    color: var(--gold-light);
}

/* کارت‌های دسته‌بندی */
.category-card {
    color: var(--text-light);
    background:
            linear-gradient(
                    145deg,
                    rgba(255, 255, 255, .1),
                    rgba(255, 255, 255, .035)
            );
    border: 1px solid rgba(214, 173, 85, .3);
    box-shadow: 0 7px 18px rgba(0, 0, 0, .28);
}

.category-card:hover {
    box-shadow:
            0 10px 25px rgba(0, 0, 0, .36),
            0 0 0 1px rgba(242, 210, 122, .4);
}

.category-card .arrow {
    color: var(--gold-light);
}

.category-card .category-icon {
    color: var(--gold-light);
}

/* کارت‌های تصویری بدون تصویر پس‌زمینه جدید */
.image-category {
    background-color: #102b4c;
}

/* اسلایدر */
.slider-window {
    background: #061326;
    border: 1px solid rgba(214, 173, 85, .42);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
}

/* دکمه‌های اسلایدر */
.slider-control {
    color: var(--navy-deep);
    background: linear-gradient(
            135deg,
            var(--gold-light),
            var(--gold)
    );
}

.slider-dot.active {
    background: var(--gold-light);
}

/* دکمه اصلی */
.btn-orange {
    color: var(--navy-deep);
    background: linear-gradient(
            135deg,
            var(--gold-light),
            var(--gold)
    );
    box-shadow: 0 5px 14px rgba(214, 173, 85, .24);
}

.btn-orange:hover {
    color: var(--navy-deep);
    background: linear-gradient(
            135deg,
            #ffe59b,
            var(--gold-light)
    );
}

/* محصولات */
.section {
    background: transparent;
}

.product-card {
    color: var(--text-light);
    background:
            linear-gradient(
                    145deg,
                    rgba(255, 255, 255, .1),
                    rgba(255, 255, 255, .035)
            );
    border-color: rgba(214, 173, 85, .3);
    box-shadow: 0 7px 20px rgba(0, 0, 0, .2);
}

.product-card:hover {
    box-shadow:
            0 12px 28px rgba(0, 0, 0, .35),
            0 0 0 1px rgba(242, 210, 122, .35);
}

.product-image {
    background: rgba(255, 255, 255, .06);
}

.product-info h3 {
    color: var(--text-light);
}

.price {
    color: var(--gold-light);
}

.add-cart {
    color: var(--navy-deep);
    background: linear-gradient(
            135deg,
            var(--gold-light),
            var(--gold)
    );
}

/* وضعیت اسلایدر */
.slider-status {
    color: var(--gold-light);
}

/* فوتر */
footer {
    background:
            linear-gradient(
                    135deg,
                    #040b16,
                    #0a1b32
            ) !important;
    border-top: 1px solid rgba(214, 173, 85, .32);
    color: var(--text-light) !important;
}
.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex: 1;
    min-width: 0;
    font-size: 15px;
    font-weight: 600;
}

.main-nav a {
    position: relative;
    color: var(--text-light);
    padding: 10px 0;
    transition: color .2s ease;
}

.main-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
    transition: width .25s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--gold-light);
}

/* ================================
   Mega Menu - Desktop
================================ */

.mega-dropdown {
    position: relative;
    z-index: 1300;
}

.mega-dropdown.is-open {
    z-index: 1400;
}

.mega-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.mega-toggle::before {
    content: "▾";
    order: 2;
    font-size: 11px;
    color: var(--gold-light);
}
.mega-menu {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    z-index: 1300;

    width: 760px;
    max-width: min(760px, calc(100vw - 40px));
    padding: 18px;

    background: linear-gradient(135deg, #0a1b32 0%, #0d2849 100%);
    border: 1px solid rgba(214, 173, 85, .4);
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .42);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);

    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}

/* نمایش با هاور، فوکوس یا کلیک (is-open) */
.mega-dropdown.is-open .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.mega-menu-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.mega-col h4 {
    margin: 0 0 12px;
    color: var(--gold-light);
    font-size: 15px;
    font-weight: 800;
}

.mega-col a {
    display: block;
    padding: 7px 0;
    color: #d6dee8;
    font-size: 13px;
    transition: color .2s ease;
}

.mega-col a:hover {
    color: var(--gold-light);
}
.mobile-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(214, 173, 85, .45);
    border-radius: 10px;
    background: #0b1f3a;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    flex-shrink: 0;
}

.mobile-menu-toggle span {
    width: 18px;
    height: 2px;
    background: var(--gold-light);
    border-radius: 2px;
    transition: .2s ease;
}

.mobile-menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}
@media (max-width: 768px) {
    .header-main {
        padding: 12px 0;
    }

    .header-inner {
        flex-wrap: wrap;
        gap: 12px;
    }

    .mobile-menu-toggle {
        display: inline-flex;
        order: 1;
    }

    .brand {
        order: 2;
        margin-inline-start: auto;
    }

    .header-actions {
        order: 3;
        width: 100%;
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 12px;
    }

    .header-search {
        flex: 1;
        width: auto;
        min-width: 0;
    }

    .login-link {
        flex-shrink: 0;
    }

    .login-link .action-text {
        display: none;
    }

    /* منوی موبایل */
    .main-nav {
        order: 4;
        flex-basis: 100%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 12px 0 0;
        border-top: 1px solid rgba(214, 173, 85, .25);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav > a,
    .main-nav > .mega-dropdown > a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 14px 0;
        border-bottom: 1px solid rgba(214, 173, 85, .18);
    }

    .main-nav a::after {
        display: none;
    }

    /* مگامنو در موبایل */
    .mega-dropdown {
        width: 100%;
    }

    .mega-toggle::before {
        content: "+";
        order: 0;
        font-size: 18px;
    }

    .mega-dropdown.is-open .mega-toggle::before {
        content: "−";
    }

    .mega-menu {
        position: static;
        display: none;
        width: 100%;
        max-width: 100%;
        margin-top: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
    }

    .mega-dropdown.is-open .mega-menu {
        display: block;
    }

    .mega-menu-inner {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 6px 0 12px;
    }

    .mega-col {
        padding: 10px 0;
        border-bottom: 1px solid rgba(214, 173, 85, .18);
    }
}
/* =================================
   Header and desktop navigation
================================= */

.header-main {
    position: relative;
    z-index: 1200;
    padding: 12px 0;
    background: linear-gradient(115deg, #061326 0%, #0b1f3a 65%, #102b4c 100%);
    border-bottom: 1px solid rgba(214, 173, 85, .42);
    box-shadow: 0 5px 22px rgba(0, 0, 0, .2);
}

.header-inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 22px;
    min-width: 0;
}

.brand {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.brand-logo {
    display: block;
    width: auto;
    height: 42px;
    max-width: 150px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    flex: 1 1 auto;
    min-width: 0;
    font-size: 15px;
    font-weight: 600;
}

.main-nav > a,
.mega-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0;
    color: var(--text-light);
    white-space: nowrap;
    transition: color .2s ease;
}

.main-nav > a::after,
.mega-toggle::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
    transition: width .25s ease;
}

.main-nav > a:hover::after,
.main-nav > a.active::after,
.mega-dropdown.is-open .mega-toggle::after {
    width: 100%;
}

.main-nav > a:hover,
.main-nav > a.active,
.mega-dropdown.is-open .mega-toggle {
    color: var(--gold-light);
}

/* =================================
   Desktop mega menu
================================= */

.mega-dropdown {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
}

.mega-dropdown.is-open {
    z-index: 1301;
}

.mega-toggle {
    gap: 7px;
    cursor: pointer;
}

.mega-toggle::before {
    content: "▾";
    order: 2;
    color: var(--gold-light);
    font-size: 12px;
    line-height: 1;
    transition: transform .2s ease;
}

.mega-dropdown.is-open .mega-toggle::before {
    transform: rotate(180deg);
}

.mega-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 1302;
    width: 760px;
    max-width: calc(100vw - 32px);
    padding: 20px;
    direction: rtl;
    background: linear-gradient(135deg, #0a1b32 0%, #0d2849 100%);
    border: 1px solid rgba(214, 173, 85, .42);
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}

.mega-dropdown:hover .mega-menu,
.mega-dropdown:focus-within .mega-menu,
.mega-dropdown.is-open .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.mega-menu-inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.mega-col + .mega-col {
    border-right: 1px solid rgba(214, 173, 85, .2);
    padding-right: 20px;
}

.mega-col h4 {
    margin: 0 0 10px;
    color: var(--gold-light);
    font-size: 15px;
    font-weight: 800;
}

.mega-col a {
    display: block;
    padding: 6px 0;
    color: #d6dee8;
    font-size: 13px;
    transition: color .2s ease;
}

.mega-col a:hover {
    color: var(--gold-light);
}

/* =================================
   Header actions
================================= */

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    white-space: nowrap;
}

.header-search {
    display: flex;
    align-items: center;
    width: 240px;
    height: 42px;
    overflow: hidden;
    border: 1px solid rgba(214, 173, 85, .38);
    border-radius: 8px;
    background: rgba(255, 255, 255, .07);
}

.header-search input {
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0 12px;
    border: 0;
    outline: 0;
    color: var(--text-light);
    background: transparent;
    font: inherit;
}

.header-search input::placeholder {
    color: var(--text-muted-light);
}

.header-search button {
    width: 42px;
    height: 100%;
    padding: 0;
    border: 0;
    color: var(--gold-light);
    background: transparent;
    cursor: pointer;
}

.login-link {
    color: var(--text-light);
    font-size: 14px;
    font-weight: 600;
}

.login-link:hover {
    color: var(--gold-light);
}

/* منوی مستقل موبایل در دسکتاپ نباید دیده شود */
.mobile-nav,
.mobile-menu-toggle {
    display: none;
}

/* =================================
   Tablet
================================= */

@media (max-width: 1100px) {
    .header-inner {
        gap: 14px;
    }

    .main-nav {
        gap: 17px;
        font-size: 14px;
    }

    .header-search {
        width: 190px;
    }

    .login-link .action-text {
        display: none;
    }
}

/* =================================
   Mobile navigation
================================= */

@media (max-width: 768px) {
    .header-main {
        padding: 10px 0;
    }

    .header-inner {
        flex-wrap: wrap;
        gap: 10px;
    }

    .brand {
        order: 1;
        margin-inline-end: auto;
    }

    .brand-logo {
        height: 38px;
        max-width: 135px;
    }

    .mobile-menu-toggle {
        display: inline-flex;
        order: 2;
        width: 42px;
        height: 42px;
        padding: 0;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
        border: 1px solid rgba(214, 173, 85, .45);
        border-radius: 8px;
        background: rgba(255, 255, 255, .06);
        cursor: pointer;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 19px;
        height: 2px;
        border-radius: 1px;
        background: var(--gold-light);
        transition: transform .2s ease, opacity .2s ease;
    }

    .mobile-menu-toggle.is-open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-menu-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.is-open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* منوی دسکتاپ در موبایل کاملاً مخفی است */
    .main-nav {
        display: none;
    }

    .header-actions {
        order: 3;
        width: 100%;
    }

    .header-search {
        width: 100%;
        flex: 1;
        height: 40px;
    }

    .login-link {
        flex: 0 0 auto;
    }

    /* منوی مستقل موبایل */
    .mobile-nav {
        order: 4;
        display: none;
        width: 100%;
        border-top: 1px solid rgba(214, 173, 85, .25);
        padding-top: 8px;
    }

    .mobile-nav.is-open {
        display: block;
    }

    .mobile-nav > a,
    .mobile-products-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 48px;
        padding: 10px 4px;
        border: 0;
        border-bottom: 1px solid rgba(214, 173, 85, .16);
        color: var(--text-light);
        background: transparent;
        font: inherit;
        font-size: 14px;
        font-weight: 600;
        text-align: right;
    }

    .mobile-products-toggle {
        cursor: pointer;
    }

    .mobile-menu-chevron {
        width: 9px;
        height: 9px;
        border-left: 2px solid var(--gold-light);
        border-bottom: 2px solid var(--gold-light);
        transform: rotate(-45deg);
        transition: transform .2s ease;
    }

    .mobile-products-toggle.is-open .mobile-menu-chevron {
        transform: rotate(135deg);
    }

    .mobile-products-menu {
        display: none;
        padding: 4px 12px 10px;
        background: rgba(0, 0, 0, .12);
    }

    .mobile-products-menu.is-open {
        display: block;
    }

    .mobile-products-menu a {
        display: block;
        padding: 9px 4px;
        color: #d6dee8;
        font-size: 13px;
    }
}
/* =================================
   Mobile page layout corrections
================================= */
@media (max-width: 768px) {
    .hero-section {
        padding: 14px 0 24px;
    }

    .hero-layout {
        display: flex;
        flex-direction: column;
        gap: 18px;
        direction: rtl;
    }

    .hero-slider {
        width: 100%;
        order: 1;
    }

    .hero-side {
        width: 100%;
        order: 2;
    }

    .hero-side.right-side {
        order: 3;
    }

    .side-title {
        margin: 0 0 4px;
        font-size: 19px;
        text-align: right;
    }

    /* کارت‌های کنار اسلایدر در موبایل دو ستونه شوند */
    .hero-side {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .hero-side .side-title {
        grid-column: 1 / -1;
    }

    .category-card {
        min-width: 0;
        min-height: 82px;
        padding: 10px 8px;
        font-size: 13px;
    }

    .category-card .category-icon {
        font-size: 23px;
    }

    .slider-window {
        height: 300px;
        border-radius: 8px;
    }

    .slide-content {
        right: 18px;
        bottom: 18px;
        left: 18px;
    }

    .slide-content small {
        margin-bottom: 5px;
        font-size: 13px;
    }

    .slide-content h1 {
        max-width: 100%;
        margin-bottom: 12px;
        font-size: 19px;
        line-height: 1.8;
    }

    .btn-orange {
        padding: 9px 16px;
        font-size: 13px;
    }

    .slider-control {
        width: 32px;
        height: 32px;
    }

    .slider-status {
        left: 14px;
        bottom: 14px;
    }

    .section {
        padding: 26px 0;
    }

    .section-heading {
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 14px;
    }

    .section-heading h2 {
        font-size: 19px;
    }

    .view-all {
        font-size: 12px;
        white-space: nowrap;
    }

    .product-image {
        height: 145px;
        padding: 10px;
    }

    .product-info {
        padding: 11px;
    }

    .product-info h3 {
        min-height: 48px;
        margin-bottom: 8px;
        overflow: hidden;
        font-size: 13px;
        line-height: 1.8;
    }

    .product-price {
        align-items: flex-end;
        gap: 6px;
    }

    .price {
        font-size: 12px;
        line-height: 1.7;
    }

    .add-cart {
        flex: 0 0 30px;
        width: 30px;
        height: 30px;
        border-radius: 6px;
    }
}

@media (max-width: 480px) {
    .hero-layout {
        gap: 14px;
    }

    .hero-side {
        grid-template-columns: 1fr;
    }

    .slider-window {
        height: 255px;
    }

    .category-card {
        min-height: 70px;
    }

    .section-heading {
        flex-direction: column;
        gap: 5px;
    }

    .product-image {
        height: 120px;
    }

    .product-info h3 {
        min-height: 66px;
        font-size: 12px;
    }

    .price {
        font-size: 11px;
    }
}
/* =========================
   Logo / Brand
========================= */
.brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    padding: 5px 13px;
    min-width: 164px;
    height: 54px;

    background: linear-gradient(135deg, #ffffff 0%, #f4f6f8 100%);
    border: 1px solid rgba(20, 20, 20, 0.16);
    border-radius: 10px 22px 10px 22px;

    box-shadow:
            0 4px 14px rgba(0, 0, 0, 0.08),
            inset 0 1px 0 rgba(255, 255, 255, 0.9);

    overflow: hidden;
    transition:
            transform 0.25s ease,
            border-color 0.25s ease,
            box-shadow 0.25s ease;
}

.brand-logo {
    display: block;
    width: 138px;
    max-width: 100%;
    height: auto;
    object-fit: contain;

    transition: transform 0.25s ease;
}

.brand:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 0, 0, 0.34);
    box-shadow:
            0 7px 19px rgba(0, 0, 0, 0.13),
            inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.brand:hover .brand-logo {
    transform: scale(1.025);
}
@media (max-width: 768px) {
    .brand {
        min-width: 138px;
        height: 47px;
        padding: 4px 10px;
        border-radius: 8px 17px 8px 17px;
    }

    .brand-logo {
        width: 116px;
    }
}

@media (max-width: 420px) {
    .brand {
        min-width: 122px;
        height: 43px;
        padding: 4px 8px;
    }

    .brand-logo {
        width: 102px;
    }
}
.category-card {
    position: relative;
    min-height: 92px;
    padding: 12px 24px 10px 12px;
}

.category-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 7px;
}

.category-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.5;
}

.category-icon {
    display: block;
    margin: 0;
    font-size: 27px;
    line-height: 1;
}

.category-sub {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--gold-light);
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}

.category-sub span:not(.category-divider) {
    transition: color .2s ease;
}

.category-sub span:not(.category-divider):hover {
    color: #fff;
}

.category-divider {
    color: rgba(242, 210, 122, .55);
    font-weight: 400;
}
@media (max-width: 768px) {
    .category-card {
        min-height: 88px;
        padding: 10px 20px 9px 8px;
    }

    .category-main {
        font-size: 13px;
    }

    .category-icon {
        font-size: 23px;
    }

    .category-sub {
        gap: 6px;
        font-size: 11px;
    }
}
/* ==================================================
   Latest Products Carousel
================================================== */

.latest-products-section {
    position: relative;
    overflow: hidden;
}

.products-carousel {
    --products-visible: 4;
    --products-gap: 14px;

    position: relative;
    width: 100%;
    padding: 0 44px;
    direction: rtl;
}

.products-carousel-viewport {
    width: 100%;
    overflow: hidden;
    border-radius: 13px;
    touch-action: pan-y;
}

.products-carousel-track {
    display: flex;
    flex-direction: row;
    gap: var(--products-gap);
    width: 100%;

    transform: translate3d(0, 0, 0);
    transition: transform 0.45s cubic-bezier(.22, .75, .25, 1);
    will-change: transform;
}

.products-carousel-track.is-dragging {
    transition: none;
}


/* ==================================================
   Product Card Corrections
================================================== */

.products-carousel .product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.products-carousel .product-image {
    position: relative;
    display: block;
    width: 100%;
    height: 190px;
    padding: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, .06);
}

.products-carousel .product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .35s ease;
}

.products-carousel .product-card:hover .product-image img {
    transform: scale(1.045);
}

.products-carousel .product-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 14px;
}

.products-carousel .product-info h3 {
    min-height: 52px;
    margin: 0 0 12px;
    overflow: hidden;

    color: var(--text-light);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.85;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.products-carousel .product-info h3 a {
    color: inherit;
    transition: color .2s ease;
}

.products-carousel .product-info h3 a:hover {
    color: var(--gold-light);
}

.products-carousel .product-price {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
}

.product-price-values {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
}

.products-carousel .price {
    color: var(--gold-light);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.8;
    white-space: nowrap;
}

.products-carousel .price small {
    margin-right: 3px;
    color: var(--text-muted-light);
    font-size: 10px;
    font-weight: 500;
}

.products-carousel .old-price {
    color: #96a2b0;
    font-size: 11px;
    line-height: 1.5;
    text-decoration-thickness: 1px;
}

.products-carousel .add-cart {
    display: inline-grid;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    padding: 0;
    place-items: center;

    color: var(--navy-deep);
    background: linear-gradient(
            135deg,
            var(--gold-light),
            var(--gold)
    );

    border: 0;
    border-radius: 8px;
    font-size: 21px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;

    transition:
            transform .2s ease,
            box-shadow .2s ease,
            background .2s ease;
}

.products-carousel .add-cart:hover {
    color: var(--navy-deep);
    background: linear-gradient(
            135deg,
            #ffe59b,
            var(--gold-light)
    );
    box-shadow: 0 5px 15px rgba(214, 173, 85, .3);
    transform: translateY(-2px);
}

/* ==================================================
   Product Badges
================================================== */

.product-badge {
    position: absolute;
    z-index: 2;
    top: 10px;
    padding: 4px 9px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.6;
}

.product-featured-badge {
    right: 10px;
    color: var(--navy-deep);
    background: linear-gradient(
            135deg,
            var(--gold-light),
            var(--gold)
    );
}

.product-discount-badge {
    left: 10px;
    color: #fff;
    background: #b4232c;
}

/* ==================================================
   Carousel Controls
================================================== */

.products-carousel-control {
    position: absolute;
    z-index: 5;
    top: 50%;

    display: grid;
    width: 36px;
    height: 50px;
    padding: 0;
    place-items: center;

    color: var(--navy-deep);
    background: linear-gradient(
            135deg,
            var(--gold-light),
            var(--gold)
    );

    border: 1px solid rgba(242, 210, 122, .65);
    border-radius: 8px;
    box-shadow: 0 7px 18px rgba(0, 0, 0, .28);

    font-family: Arial, sans-serif;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;

    transform: translateY(-50%);
    transition:
            opacity .2s ease,
            transform .2s ease,
            box-shadow .2s ease;
}

.products-carousel-control:hover:not(:disabled) {
    box-shadow:
            0 9px 22px rgba(0, 0, 0, .38),
            0 0 0 1px rgba(242, 210, 122, .25);
    transform: translateY(-50%) scale(1.05);
}

.products-carousel-control:focus-visible {
    outline: 2px solid var(--gold-light);
    outline-offset: 3px;
}

.products-carousel-control:disabled {
    opacity: .28;
    cursor: default;
    box-shadow: none;
}

.products-prev {
    right: 0;
}

.products-next {
    left: 0;
}

/* ==================================================
   Carousel Pagination
================================================== */

.products-carousel-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 18px;
    margin-top: 16px;
    direction: ltr;
}

.products-carousel-dot {
    display: block;
    width: 8px;
    height: 8px;
    padding: 0;

    border: 0;
    border-radius: 50%;
    background: rgba(184, 194, 207, .55);
    cursor: pointer;

    transition:
            width .25s ease,
            background .25s ease,
            transform .25s ease;
}

.products-carousel-dot:hover {
    background: var(--gold);
}

.products-carousel-dot.active {
    width: 22px;
    border-radius: 8px;
    background: var(--gold-light);
}

.products-carousel-dot:focus-visible {
    outline: 2px solid var(--gold-light);
    outline-offset: 3px;
}

.products-empty {
    padding: 30px 20px;
    color: var(--text-muted-light);
    text-align: center;
    border: 1px solid rgba(214, 173, 85, .25);
    border-radius: 10px;
    background: rgba(255, 255, 255, .04);
}

/* ==================================================
   Responsive Carousel
================================================== */



@media (prefers-reduced-motion: reduce) {
    .products-carousel-track,
    .products-carousel-control,
    .products-carousel-dot,
    .products-carousel .product-image img {
        transition: none;
    }
}

.products-carousel {
    --products-visible: 4;
    --products-gap: 14px;
    --products-gaps-width: 42px; /* 3 فاصله برای 4 محصول */

    position: relative;
    width: 100%;
    padding: 0 44px;
    direction: rtl;
}

.products-carousel-viewport {
    width: 100%;
    min-width: 0;
    overflow: hidden;
    border-radius: 13px;
    touch-action: pan-y;
}

.products-carousel-track {
    display: flex;
    flex-flow: row nowrap;
    gap: var(--products-gap);
    width: 100%;
    min-width: 0;
    direction: ltr;

    transform: translate3d(0, 0, 0);
    transition: transform 0.45s cubic-bezier(.22, .75, .25, 1);
    will-change: transform;
}

.products-carousel-item {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: calc(
            (100% - var(--products-gaps-width)) /
            var(--products-visible)
    );

    width: calc(
            (100% - var(--products-gaps-width)) /
            var(--products-visible)
    );

    min-width: 0;
    max-width: none;
    direction: rtl;
}

.products-carousel-track.is-dragging {
    transition: none !important;
}

/* تبلت بزرگ: ۳ محصول */
@media (max-width: 992px) {
    .products-carousel {
        --products-visible: 3;
        --products-gap: 14px;
        --products-gaps-width: 28px; /* 2 فاصله */
    }
}

/* موبایل و تبلت کوچک: ۲ محصول */
@media (max-width: 768px) {
    .products-carousel {
        --products-visible: 2;
        --products-gap: 10px;
        --products-gaps-width: 10px; /* 1 فاصله */

        padding-inline: 34px;
    }

    .products-carousel-control {
        width: 29px;
        height: 44px;
        border-radius: 6px;
        font-size: 23px;
    }

    .products-carousel .product-image {
        height: 155px;
        padding: 11px;
    }

    .products-carousel .product-info {
        padding: 11px;
    }

    .products-carousel .product-info h3 {
        min-height: 48px;
        margin-bottom: 9px;
        font-size: 12px;
    }

    .products-carousel .price {
        font-size: 12px;
    }

    .products-carousel .add-cart {
        flex-basis: 31px;
        width: 31px;
        height: 31px;
        font-size: 18px;
    }
}

/* موبایل کوچک: یک محصول */
@media (max-width: 420px) {
    .products-carousel {
        --products-visible: 1;
        --products-gap: 0px;
        --products-gaps-width: 0px;

        width: 100%;
        max-width: 340px;
        margin-inline: auto;
        padding-inline: 35px;
    }

    .products-carousel .product-image {
        height: 210px;
    }

    .products-carousel .product-info h3 {
        min-height: auto;
        font-size: 14px;
    }

    .products-carousel .price {
        font-size: 14px;
    }
}
/* ==================================================
   Site Footer
================================================== */

.site-footer {
    --footer-bg: #151515;
    --footer-surface: #1d1d1d;
    --footer-border: rgba(255, 255, 255, .11);
    --footer-heading: #ffffff;
    --footer-text: #c7cbd0;
    --footer-muted: #969da4;
    --footer-accent: #ffffff;

    position: relative;
    width: 100%;
    margin-top: 60px;
    padding: 52px 0 0;
    overflow: hidden;
    background:
            radial-gradient(
                    circle at top right,
                    rgba(255, 255, 255, .055),
                    transparent 31%
            ),
            var(--footer-bg);
    color: var(--footer-text);
    direction: rtl;
}

.site-footer *,
.site-footer *::before,
.site-footer *::after {
    box-sizing: border-box;
}

/* ==================================================
   Footer Grid
================================================== */

.footer-grid {
    display: grid;

    /*
     * ستون معرفی فروشگاه عرض بیشتری دارد و
     * چهار ستون دیگر عرض مساوی دارند.
     */
    grid-template-columns:
        minmax(240px, 1.45fr)
        repeat(4, minmax(145px, 1fr));

    align-items: start;
    gap: 36px 28px;
    width: 100%;
    padding-bottom: 40px;
}

/* ==================================================
   Footer Columns
================================================== */

.footer-column {
    min-width: 0;
}

.footer-heading {
    position: relative;
    margin: 0 0 20px;
    padding-bottom: 12px;
    color: var(--footer-heading);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.7;
}

.footer-heading::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 34px;
    height: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .82);
}

/* ==================================================
   Footer About
================================================== */

.footer-about {
    padding-inline-end: 8px;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 18px;
    text-decoration: none;
}

.footer-logo {
    display: block;
    width: auto;
    max-width: 155px;
    height: 58px;
    object-fit: contain;
    border-radius: 8px;
}

.footer-description {
    max-width: 390px;
    margin: 0 0 21px;
    color: var(--footer-text);
    font-size: 13.5px;
    line-height: 2;
    text-align: justify;
}

/* ==================================================
   Footer Links
================================================== */

.footer-links {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li {
    position: relative;
    margin: 0;
    padding: 0;
}

.footer-links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 2px 13px 2px 0;
    color: var(--footer-text);
    font-size: 13.5px;
    line-height: 1.8;
    text-decoration: none;
    transition:
            color .2s ease,
            transform .2s ease;
}

.footer-links a::before {
    content: "";
    position: absolute;
    right: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .35);
    transition:
            background-color .2s ease,
            transform .2s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: #ffffff;
    transform: translateX(-3px);
}

.footer-links a:hover::before,
.footer-links a:focus-visible::before {
    background: #ffffff;
    transform: scale(1.3);
}

.footer-links a:focus-visible,
.footer-social-link:focus-visible,
.footer-contact-value:focus-visible,
.footer-brand:focus-visible {
    outline: 2px solid rgba(255, 255, 255, .8);
    outline-offset: 4px;
    border-radius: 3px;
}

/* ==================================================
   Social Links
================================================== */

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-socials li {
    margin: 0;
    padding: 0;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--footer-border);
    border-radius: 10px;
    background: rgba(255, 255, 255, .045);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .4px;
    text-decoration: none;
    transition:
            color .2s ease,
            background-color .2s ease,
            border-color .2s ease,
            transform .2s ease;
}

.footer-social-link:hover {
    border-color: rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .13);
    color: #ffffff;
    transform: translateY(-3px);
}

/* ==================================================
   Contact Information
================================================== */

.footer-contact-list {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
    color: var(--footer-text);
    font-style: normal;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    min-width: 0;
}

.footer-contact-icon {
    display: inline-flex;
    flex: 0 0 35px;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    margin-top: 2px;
    border: 1px solid var(--footer-border);
    border-radius: 9px;
    background: rgba(255, 255, 255, .045);
    color: #ffffff;
    font-size: 16px;
    line-height: 1;
}

.footer-contact-item > div {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.footer-contact-label {
    color: var(--footer-muted);
    font-size: 11.5px;
    line-height: 1.6;
}

.footer-contact-value {
    display: inline-block;
    max-width: 100%;
    color: var(--footer-text);
    font-size: 13px;
    line-height: 1.8;
    overflow-wrap: anywhere;
    text-decoration: none;
    transition: color .2s ease;
}

a.footer-contact-value:hover {
    color: #ffffff;
}

/* ==================================================
   Footer Features / Trust Bar
================================================== */

.footer-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--footer-border);
    border-bottom: 1px solid var(--footer-border);
}

.footer-feature {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 21px 18px;
    text-align: center;
}

.footer-feature:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 22%;
    left: 0;
    width: 1px;
    height: 56%;
    background: var(--footer-border);
}

.footer-feature strong {
    display: block;
    margin-bottom: 5px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
}

.footer-feature span {
    color: var(--footer-muted);
    font-size: 12px;
    line-height: 1.7;
}

/* ==================================================
   Footer Bottom
================================================== */

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 71px;
    padding: 18px 0;
}

.footer-bottom p {
    margin: 0;
    color: var(--footer-muted);
    font-size: 12.5px;
    line-height: 1.8;
}

.footer-copyright {
    flex-shrink: 0;
    color: #b8bdc2 !important;
    text-align: left;
}

/* ==================================================
   Footer Responsive - Small Desktop
================================================== */

@media (max-width: 1199.98px) {
    .footer-grid {
        grid-template-columns:
            minmax(250px, 1.35fr)
            repeat(3, minmax(150px, 1fr));
    }

    /*
     * ستون ارتباط با دیدبان در ردیف دوم
     * فضای کامل را دریافت می‌کند.
     */
    .footer-contact {
        grid-column: 2 / -1;
    }

    .footer-contact-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }
}

/* ==================================================
   Footer Responsive - Tablet
================================================== */

@media (max-width: 991.98px) {
    .site-footer {
        margin-top: 48px;
        padding-top: 42px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px 38px;
    }

    .footer-about {
        grid-column: 1 / -1;
        padding-inline-end: 0;
    }

    .footer-description {
        max-width: 650px;
    }

    .footer-contact {
        grid-column: auto;
    }

    .footer-contact-list {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

/* ==================================================
   Footer Responsive - Mobile
================================================== */

@media (max-width: 575.98px) {
    .site-footer {
        margin-top: 38px;
        padding-top: 34px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-bottom: 32px;
    }

    .footer-about,
    .footer-contact {
        grid-column: auto;
    }

    .footer-heading {
        margin-bottom: 16px;
    }

    .footer-description {
        max-width: none;
        font-size: 13px;
        text-align: right;
    }

    .footer-logo {
        max-width: 138px;
        height: 52px;
    }

    .footer-features {
        grid-template-columns: 1fr;
    }

    .footer-feature {
        padding: 17px 12px;
    }

    .footer-feature:not(:last-child)::after {
        top: auto;
        right: 12%;
        bottom: 0;
        left: auto;
        width: 76%;
        height: 1px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: auto;
        padding: 20px 0;
        text-align: center;
    }

    .footer-bottom p,
    .footer-copyright {
        width: 100%;
        text-align: center;
    }
}
.header-brand {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    text-decoration: none;
}
/* ========================================
   Breadcrumb هماهنگ با تم Navy & Gold
======================================== */

.breadcrumb-container {
    background: transparent;
}

.themed-breadcrumb {
    background: rgba(10, 25, 47, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(201, 170, 96, 0.25);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border-radius: 2rem;
    padding: 0.55rem 1.25rem;
    margin-bottom: 0;
}

.themed-breadcrumb .breadcrumb-item {
    color: #94a3b8;
    font-size: 0.8rem;
    line-height: 1.6;
}

.themed-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: #c9aa60;
    content: "/";
    opacity: 0.8;
    padding: 0 0.6rem;
}

.themed-breadcrumb .breadcrumb-link {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.themed-breadcrumb .breadcrumb-link:hover {
    color: #c9aa60;
}

/* آیتم فعلی (صفحه باز — آخرین آیتم) */
.themed-breadcrumb .breadcrumb-item:last-child {
    color: #c9aa60;
    font-weight: 600;
}

.themed-breadcrumb .breadcrumb-item:last-child .breadcrumb-link {
    color: #c9aa60;
    cursor: default;
}
