/* =========================================================
   STOREFRONT.CSS - CLEAN FINAL
   Source: current storefront CSS uploaded in conversation.
   Cleanup: removed overwritten declarations for identical selector/media/property,
   kept the final effective declarations to preserve current visual behavior.
========================================================= */

:root {
    --primary: #4f93e8;
    --primary-dark: #0064a8;
    --text: #121827;
    --muted: #667085;
    --border: #e4e7ec;
    --bg-soft: #f8fafc;
    --purple: #8428e8;
    --danger: #ff1f5d;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: "Yekan Bakh VF", "YekanBakh";
    background: #fff;
    color: var(--text);
    line-height: 1.6;
}

    body.mega-open {
        overflow: auto !important;
    }

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font-family: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.top-strip {
    height: 76px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.35px;
}

.pixel::before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    background: #fff;
    opacity: .92;
    box-shadow: 24px 0 #fff, 48px 0 #fff, 90px 0 #fff, 0 24px #fff, 34px 24px #fff, 70px 24px #fff, 16px 48px #fff, 56px 48px #fff, 112px 48px #fff;
}

.pixel-left::before {
    left: 15px;
    top: 10px;
}

.pixel-right::before {
    right: 15px;
    top: 10px;
}

.main-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1050;
}

    .main-header.site-nav-hidden {
        box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
    }

.header-grid {
    min-height: 88px;
    display: grid;
    grid-template-columns: 270px minmax(280px, 350px) 300px;
    gap: clamp(22px, 5vw, 120px);
    align-items: center;
}

.brand {
    direction: ltr;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
}

.brand-logo {
    width: 188px;
    max-width: 100%;
    max-height: 64px;
    object-fit: contain;
}

.search-box {
    width: 100%;
    height: 56px;
    background: #edf1f7;
    border-radius: 10px;
    display: flex;
    align-items: center;
    overflow: hidden;
    justify-self: center;
}

    .search-box input {
        flex: 1;
        height: 100%;
        border: 0;
        outline: none;
        background: transparent;
        padding: 0 18px;
        font-size: 15px;
    }

    .search-box button {
        width: 56px;
        border: 0;
        background: transparent;
        color: var(--muted);
        font-size: 22px;
    }

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 26px;
}

    .header-actions a {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 14px;
        font-weight: 700;
    }

    .header-actions i {
        font-size: 28px;
    }

    .header-actions .site-whatsapp-action i,
    .bottom-nav .site-whatsapp-action i {
        color: #25d366;
    }

.nav-row {
    height: 56px;
    max-height: 56px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(36px, 4vw, 64px);
    padding-top: 2px;
    font-size: 15px;
    font-weight: 600;
    opacity: 1;
    overflow: hidden;
    transform: translateY(0);
    transition: max-height .24s ease, opacity .18s ease, transform .24s ease;
    will-change: max-height, opacity, transform;
}

.nav-separator {
    color: #101828;
    font-weight: 800;
}

.category-btn {
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 500;
    padding: 0;
}

    .category-btn i {
        font-size: 24px;
    }

.mega-overlay,
.mega-overlay.show {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    background: transparent !important;
    backdrop-filter: none !important;
}

.mega-menu {
    position: fixed;
    top: var(--mega-top, 145px);
    right: clamp(72px, 8vw, 230px);
    left: clamp(72px, 8vw, 230px);
    bottom: 24px;
    height: min(535px, calc(100vh - var(--mega-top, 145px) - 24px));
    max-height: min(535px, calc(100vh - var(--mega-top, 145px) - 24px));
    min-height: 0;
    display: none;
    flex-direction: row;
    direction: rtl;
    background: #fff;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .14);
    overflow: hidden;
    z-index: 1040;
    overscroll-behavior: contain;
}

    .mega-menu.show {
        display: flex;
    }

.mega-side {
    order: 1;
    width: 230px;
    min-width: 230px;
    max-width: 230px;
    height: 100%;
    padding: 6px 7px;
    background: #fff;
    overflow-y: auto;
    overflow-x: hidden;
    border-left: 1px solid #edf2f7;
    border-right: 8px;
    overscroll-behavior: contain;
}

    .mega-side button {
        width: 100%;
        height: 56px;
        min-height: 56px;
        margin: 0 0 6px 0;
        padding: 0 10px;
        border: 0;
        border-radius: 0;
        background: #eef6ff;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        direction: rtl;
        text-align: right;
        color: #1f2a44;
        font-size: 13px;
        font-weight: 700;
        line-height: 1.45;
    }

        .mega-side button.active {
            background: #dcedff;
            color: #0057cb;
        }

        .mega-side button img {
            width: 32px;
            height: 32px;
            min-width: 32px;
            border-radius: 8px;
            object-fit: cover;
            flex-shrink: 0;
        }

.mega-content {
    order: 1;
    flex: 1;
    height: 100%;
    padding: 14px 24px 18px 24px;
    direction: rtl;
    text-align: right;
    background: #fff;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
}

.show-all {
    width: max-content;
    height: 38px;
    margin: 0 0 22px 0;
    padding: 0 15px;
    display: inline-flex !important;
    align-items: center;
    gap: 9px;
    background: #dcedff;
    color: #0057cb;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}

.mega-grid {
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(130px, 1fr));
    column-gap: 34px;
    row-gap: 22px;
    direction: rtl;
    text-align: right;
    align-items: start;
    overflow: visible;
}

.mega-group {
    min-width: 0;
    max-width: 100%;
}

.mega-group-title {
    width: max-content;
    max-width: 100%;
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    margin: 0 0 11px 0;
    padding: 0 9px 0 0;
    border-right: 3px solid #0057cb;
    border-left: 0;
    color: #101828;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.6;
    direction: rtl;
    text-align: right;
}

.mega-item {
    width: 100%;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin: 0 0 10px 0;
    padding: 0;
    color: #667085;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.55;
    direction: rtl;
    text-align: right;
    white-space: normal;
    overflow: hidden;
}

    .mega-item img {
        order: 0;
        width: 34px;
        height: 34px;
        min-width: 34px;
        border-radius: 50%;
        object-fit: contain;
        background: #f3f6f9;
        padding: 4px;
        margin: 0;
        flex-shrink: 0;
    }

    .mega-item span {
        order: 1;
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
    }

.mega-side::-webkit-scrollbar,
.mega-content::-webkit-scrollbar {
    width: 6px;
    height: 0;
}

.mega-side::-webkit-scrollbar-thumb,
.mega-content::-webkit-scrollbar-thumb {
    background: #8f8f8f;
    border-radius: 20px;
}

.mega-side::-webkit-scrollbar-track,
.mega-content::-webkit-scrollbar-track {
    background: #f8fafc;
}

.hero {
    padding-top: 14px;
}

.heroSwiper {
    width: 100%;
}

.hero-slide {
    height: 300px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

    .hero-slide::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(0,0,0,.45), rgba(0,0,0,.08));
        z-index: 1;
    }

.hero-slide-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.slide-1 {
    background-image: linear-gradient(90deg, rgba(0,0,0,.8), rgba(0,0,0,.1)), url("https://img.pikbest.com/templates/20240720/big-sale-facebook-cover-website-banner-web_10676153.jpg!sw800");
}

.slide-2 {
    background-image: linear-gradient(90deg, rgba(0,0,0,.8), rgba(0,0,0,.1)), url("https://images.unsplash.com/photo-1541140532154-b024d705b90a?auto=format&fit=crop&w=1800&q=80");
}

.slide-3 {
    background-image: linear-gradient(90deg, rgba(0,0,0,.8), rgba(0,0,0,.1)), url("https://images.unsplash.com/photo-1591488320449-011701bb6704?auto=format&fit=crop&w=1800&q=80");
}

.hero-caption {
    position: absolute;
    right: 58%;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    color: #fff;
    text-align: center;
    padding: 18px 24px;
}

    .hero-caption small {
        font-size: 28px;
        letter-spacing: 4px;
    }

    .hero-caption h1 {
        font-size: 30px;
        font-weight: 800;
        margin: 14px 0 4px;
    }

    .hero-caption p {
        font-size: 22px;
    }

.hero-slide-link {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.hero-caption {
    z-index: 3;
}

.hero-caption-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    padding: 10px 18px;
    border-radius: 999px;
    background: #fff;
    color: #111827;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(0,0,0,.18);
}

    .hero-caption-cta:hover {
        color: #0d6efd;
    }

.hero-arrow,
.mini-arrow,
.product-arrow {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
    color: #111 !important;
}

    .hero-arrow::after,
    .mini-arrow::after,
    .product-arrow::after {
        font-size: 15px !important;
        color: #111;
        font-weight: 900;
    }

.swiper-pagination-bullet-active {
    width: 36px;
    border-radius: 12px;
    background: #fff;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
}

    .section-title h3 {
        margin: 0;
        font-size: 28px;
        font-weight: 800;
    }

    .section-title i {
        color: var(--purple);
    }

.categorySwiper {
    padding-bottom: 28px;
}

.cat-card {
    display: block;
    text-align: center;
    font-weight: 700;
}

    .cat-card img {
        width: 135px;
        height: 135px;
        border-radius: 50%;
        background: #f5f7fb;
        object-fit: contain;
        padding: 15px;
        transition: .2s;
        margin: 0 auto;
    }

    .cat-card:hover img {
        transform: translateY(-6px);
    }

    .cat-card span {
        display: block;
        margin-top: 10px;
    }

.promoSwiper {
    padding-bottom: 28px;
}

.promo {
    height: 95px;
    border-radius: 10px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    font-size: 24px;
    font-weight: 800;
    overflow: hidden;
}

    .promo i {
        font-size: 48px;
    }

    .promo small {
        display: block;
        font-size: 13px;
    }

.instagram {
    background: linear-gradient(120deg,#04a8dc,#00b5cf,#2438b8);
}

.service {
    background: linear-gradient(120deg,#0087a8,#0c3d82);
}

.warranty {
    background: linear-gradient(120deg,#7c2be8,#111a54);
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

    .section-head h4 {
        margin: 0;
        font-size: 24px;
        font-weight: 800;
    }

    .section-head a {
        color: #0057cb;
        font-size: 13px;
        font-weight: 700;
    }

.productSwiper {
    padding-bottom: 40px;
}

.product-card {
    height: 100%;
    min-height: 255px;
    padding: 14px;
    border: 1px solid #dfe5ee;
    background: var(--bg-soft);
    border-radius: 8px;
    position: relative;
    transition: .2s;
}

.product-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

    .product-card-link:hover,
    .product-card-link:focus {
        color: inherit;
        text-decoration: none;
    }

    .product-card-link .product-image-link,
    .product-card-link .old-price,
    .product-card-link .price {
        display: block;
    }

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}


.product-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    margin-bottom: 0;
}

.product-title {
    min-height: 48px;
    color: #1f2937;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.8;
}

.price {
    color: #0f172a;
    font-size: 14px;
    font-weight: 800;
    margin-top: 8px;
}

.old-price {
    color: #98a2b3;
    text-decoration: line-through;
    font-size: 12px;
    min-height: 18px;
}

.discount {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--danger);
    color: #fff;
    border-radius: 20px;
    padding: 3px 8px;
    font-size: 12px;
    z-index: 2;
}

.brand-card {
    height: 150px;
    border: 1px solid #f1f3f6;
    border-radius: 8px;
    background: #fff;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 10px;
    text-decoration: none;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

    .brand-card:hover {
        border-color: #e2e8f0;
        box-shadow: 0 12px 30px rgba(15, 23, 42, .08);
        transform: translateY(-2px);
    }

    .brand-card img {
        display: block;
        width: 100%;
        max-width: 230px;
        max-height: 112px;
        object-fit: contain;
    }

.best-selling-section .section-head {
    justify-content: flex-start;
    margin-bottom: 22px;
}

    .best-selling-section .section-head h4 {
        margin: 0;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: #0f172a;
        font-size: 28px;
        font-weight: 900;
    }

        .best-selling-section .section-head h4 i {
            font-size: 25px;
            color: #ff4b22 !important;
        }

.latest-products-section {
    width: min(1538px, calc(100vw - 28px));
    margin: 42px 0 0;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.latest-products-head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    margin-bottom: 20px;
    color: #0f172a;
}

    .latest-products-head h4 {
        margin: 0;
        font-size: 20px;
        line-height: 1.4;
        font-weight: 900;
    }

    .latest-products-head i {
        color: #2456e8;
        font-size: 20px;
        line-height: 1;
    }

.latest-products-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

    .latest-products-grid > .swiper-slide {
        width: auto !important;
        height: auto;
    }

    .latest-products-grid .product-card {
        min-height: 458px;
        height: 100%;
        padding: 0 14px 25px;
        border: 1px solid #e4eaf2;
        background: #f8fafc;
        border-radius: 8px;
        box-shadow: none;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

        .latest-products-grid .product-card:hover {
            transform: none;
            box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
        }

    .latest-products-grid .product-image-link {
        height: 317px;
        margin: 0 -14px 15px;
        padding: 6px 8px 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f8fafc;
    }

    .latest-products-grid .product-card img {
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
        object-fit: contain;
        transform: scale(1.12);
    }

    .latest-products-grid .product-title {
        min-height: 53px;
        margin: 0 0 8px;
        color: #111827;
        font-size: 13.5px;
        line-height: 1.8;
        font-weight: 500;
        text-align: right;
    }

    .latest-products-grid .old-price {
        min-height: 18px;
        color: #98a2b3;
        font-size: 12px;
        line-height: 1.5;
        text-decoration: line-through;
    }

    .latest-products-grid .price {
        margin-top: auto;
        color: #030712;
        font-size: 14px;
        line-height: 1.7;
        font-weight: 900;
        text-align: right;
    }

    .latest-products-grid .currency {
        font-size: 11px;
        font-weight: 500;
        margin-right: 3px;
    }

.site-footer {
    margin-top: 48px;
    border-top: 1px solid #e5e7eb;
}

.footer-main {
    background: linear-gradient(145deg, #0b1f3a, #12345f 58%, #1f4d83);
    color: #f8fafc;
    padding: 44px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 28px;
}

.footer-brand h3 {
    margin: 0 0 12px;
    font-size: 30px;
    font-weight: 850;
    letter-spacing: 0.4px;
}

.footer-brand p {
    margin: 0;
    color: #dbe7f8;
    font-size: 14px;
    line-height: 2;
}

.footer-contact-list {
    margin-top: 20px;
    display: grid;
    gap: 11px;
}

    .footer-contact-list a {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: #e6efff;
        text-decoration: none;
        font-size: 13px;
        transition: color .2s ease;
    }

        .footer-contact-list a:hover {
            color: #fff;
        }

.footer-links-column h4 {
    margin: 2px 0 12px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.footer-links-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.footer-links-column a {
    text-decoration: none;
    color: #d1def4;
    font-size: 13.5px;
    transition: all .2s ease;
}

    .footer-links-column a:hover {
        color: #fff;
        padding-right: 4px;
    }

.footer-bottom {
    background: #0a1322;
    color: #c2ccda;
    padding: 14px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-bottom p {
    margin: 0;
    font-size: 12.5px;
}

.footer-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 12.5px;
}

    .footer-trust span {
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

.bottom-nav {
    display: none;
}

@media (min-width: 1500px) {
    .mega-menu {
        right: 120px;
        left: 120px;
        height: min(555px, calc(100vh - var(--mega-top, 145px) - 24px));
        max-height: min(555px, calc(100vh - var(--mega-top, 145px) - 24px));
    }

    .mega-grid {
        grid-template-columns: repeat(4, minmax(160px, 1fr));
        column-gap: 48px;
    }
}

@media (min-width: 1800px) {
    .mega-menu {
        right: 190px;
        left: 190px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .mega-menu {
        right: 42px;
        left: 42px;
        height: min(505px, calc(100vh - var(--mega-top, 145px) - 24px));
        max-height: min(505px, calc(100vh - var(--mega-top, 145px) - 24px));
    }

    .mega-side {
        width: 220px;
        min-width: 220px;
        max-width: 220px;
    }

    .mega-grid {
        grid-template-columns: repeat(3, minmax(130px, 1fr));
        column-gap: 28px;
    }
}


@media (max-width: 1199.98px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    body {
        background: #fff !important;
    }

    .top-strip {
        height: 34px;
        font-size: 10px;
    }

    .pixel {
        display: none;
    }

    .header-grid {
        position: relative;
    }

    .header-actions,
    .nav-row,
    footer {
        display: none;
    }

    .hero {
        padding: 0;
    }

    .heroSwiper {
        padding: 8px 14px 12px;
        overflow: hidden;
    }

    .hero-slide {
        height: 128px;
        border-radius: 8px;
    }

    .hero-caption {
        right: auto;
        left: 12px;
        top: 20px;
        width: 140px;
        padding: 8px;
    }

        .hero-caption small {
            font-size: 14px;
            letter-spacing: 2px;
        }

        .hero-caption h1 {
            font-size: 12px;
            line-height: 1.6;
            margin: 5px 0;
        }

    .hero-caption-cta {
        margin-top: 5px;
        padding: 5px 10px;
        font-size: 11px;
    }

    .hero-caption p {
        font-size: 10px;
    }

    .hero-arrow,
    .heroSwiper .swiper-pagination,
    .mini-arrow,
    .product-arrow {
        display: none !important;
    }

    .container,
    .container-fluid,
    .swiper,
    .product-section {
        width: 100% !important;
        max-width: 100% !important;
    }

    .container {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .section-title {
        margin-bottom: 20px;
    }

        .section-title h3 {
            font-size: 20px;
        }

    .categorySwiper {
        padding-bottom: 10px;
    }

    .cat-card img {
        width: 72px;
        height: 72px;
        padding: 8px;
    }

    .cat-card span {
        font-size: 12px;
        line-height: 1.8;
    }

    .promo {
        height: 74px;
        font-size: 17px;
    }

        .promo i {
            font-size: 32px;
        }

    .productSwiper {
        padding-bottom: 25px;
    }

    .latest-products-section {
        width: 100%;
        margin-top: 30px;
        left: auto;
        transform: none;
    }

    .latest-products-head {
        margin-bottom: 14px;
    }

        .latest-products-head h4 {
            font-size: 18px;
        }

    .latest-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

        .latest-products-grid .product-card {
            min-height: 245px;
            padding: 0 8px 10px;
        }

        .latest-products-grid .product-image-link {
            height: 142px;
            margin: 0 -8px 8px;
            padding: 0;
            overflow: hidden;
        }

        .latest-products-grid .product-card img {
            height: 100%;
            object-fit: cover;
            transform: scale(1.08);
        }

        .latest-products-grid .product-title {
            min-height: 42px;
            font-size: 11px;
        }

        .latest-products-grid .price {
            font-size: 11px;
        }

    .product-card {
        min-height: 230px;
        padding: 8px;
    }

        .product-card .product-image-link {
            height: 126px;
            margin: -4px -4px 8px;
        }

        .product-card img {
            height: 100%;
            padding: 0;
            object-fit: cover;
            transform: scale(1.08);
        }

    .product-title {
        font-size: 11px;
        min-height: 42px;
    }

    .price {
        font-size: 11px;
    }

    .old-price {
        font-size: 10px;
    }

    .brand-card {
        height: 96px;
        padding: 8px;
    }

        .brand-card img {
            max-width: 165px;
            max-height: 76px;
        }

    .bottom-nav {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        position: fixed;
        bottom: 0;
        right: 0;
        left: 0;
        height: 64px;
        background: #fff;
        z-index: 1200;
        border-top: 1px solid var(--border);
        box-shadow: 0 -5px 18px rgba(0,0,0,.08);
    }

        .bottom-nav a,
        .bottom-nav button {
            border: 0;
            background: #fff;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 3px;
            font-size: 11px;
            color: #0f172a;
        }

        .bottom-nav i {
            font-size: 20px;
        }

    .mega-side {
        border-right: 1px solid #e7eef7;
        border-left: 0;
    }

        .mega-side img {
            width: 26px;
            height: 26px;
            min-width: 26px;
        }

    .mobile-feature-cat {
        margin-bottom: 8px;
        flex-direction: column;
    }

        .mobile-feature-cat img {
            width: 100px;
            height: 62px;
            object-fit: contain;
        }

        .mobile-feature-cat strong {
            font-size: 13px;
            color: #6a7080;
        }

    .mobile-accordion-group {
        margin-bottom: 8px;
    }

    .mobile-accordion-items a {
        margin-bottom: 7px;
    }

    .best-selling-section .section-head h4 {
        font-size: 22px;
    }
}

@media (max-width: 420px) {
    .product-card {
        min-height: 220px;
    }

        .product-card .product-image-link {
            height: 116px;
        }

        .product-card img {
            height: 100%;
        }
}

.mobile-category-panel {
    display: none !important;
}

@media (min-width: 992px) {
    .desktop-mega-content {
        display: block !important;
    }

    .mega-menu {
        direction: rtl !important;
        flex-direction: row !important;
        overflow: hidden !important;
    }

    .mega-side {
        order: 0 !important;
        width: 230px !important;
        min-width: 230px !important;
        max-width: 230px !important;
        border-left: 1px solid #edf2f7 !important;
        border-right: 0 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }

    .mega-content {
        order: 1 !important;
        flex: 1 !important;
        display: block !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        padding: 18px 28px 22px !important;
        direction: rtl !important;
        text-align: right !important;
    }

    .mega-grid {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(170px, 1fr)) !important;
        gap: 28px 44px !important;
        align-items: start !important;
        overflow: hidden !important;
    }

    .mega-group {
        min-width: 0 !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .mega-group-title {
        display: inline-flex !important;
        align-items: center !important;
        width: auto !important;
        max-width: 100% !important;
        margin-bottom: 14px !important;
        padding-right: 9px !important;
        border-right: 3px solid #0057cb !important;
        font-size: 14px !important;
        font-weight: 800 !important;
        color: #101828 !important;
        white-space: nowrap !important;
    }

    .mega-item {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 9px !important;
        width: 100% !important;
        min-height: 40px !important;
        margin-bottom: 10px !important;
        overflow: hidden !important;
        direction: rtl !important;
        text-align: right !important;
        color: #667085 !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        line-height: 1.6 !important;
    }

        .mega-item img {
            width: 36px !important;
            height: 36px !important;
            min-width: 36px !important;
            border-radius: 50% !important;
            object-fit: contain !important;
            background: #f3f6f9 !important;
            padding: 4px !important;
            flex-shrink: 0 !important;
            margin: 0 !important;
            order: 0 !important;
        }

        .mega-item span {
            order: 1 !important;
            display: block !important;
            min-width: 0 !important;
            overflow: hidden !important;
            text-overflow: ellipsis !important;
            white-space: nowrap !important;
        }
}

.best-selling-swiper .swiper-slide {
    width: 320px !important;
}

.best-selling-swiper .product-card {
    height: 100% !important;
    min-height: 510px !important;
    padding: 0 24px 24px !important;
    border: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
}

.best-selling-swiper .product-image-link {
    height: 320px !important;
    margin: 0 -24px 18px !important;
    padding: 6px 8px 4px !important;
    background: #f8fafc !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.best-selling-swiper .product-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: scale(1.12) !important;
}

.best-selling-swiper .product-title {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    min-height: calc(1.8em * 3) !important;
    max-height: calc(1.8em * 3) !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    color: #1f2937 !important;
    font-size: 18px !important;
    line-height: 1.8 !important;
    font-weight: 600 !important;
    text-align: right !important;
    margin-bottom: 12px !important;
}

.best-selling-swiper .old-price {
    min-height: 18px !important;
    color: #98a2b3 !important;
    font-size: 12px !important;
    line-height: 1.6 !important;
    text-decoration: line-through !important;
}

.best-selling-swiper .price {
    margin-top: auto !important;
    padding-top: 10px !important;
    color: #0f172a !important;
    font-size: 18px !important;
    line-height: 1.6 !important;
    font-weight: 900 !important;
    text-align: right !important;
}

    .best-selling-swiper .price::after {
        content: " افغانی" !important;
        font-size: 13px !important;
        font-weight: 500 !important;
        margin-right: 4px !important;
    }

@media (max-width: 991.98px) {
    .best-selling-swiper .product-card {
        min-height: 295px !important;
        padding: 0 10px 14px !important;
    }

    .best-selling-swiper .product-image-link {
        height: 160px !important;
        margin: 0 -10px 12px !important;
        padding: 2px 4px !important;
    }

    .best-selling-swiper .product-card img {
        height: 100% !important;
        transform: scale(1.12) !important;
    }

    .best-selling-swiper .product-title {
        font-size: 13px !important;
        line-height: 1.7 !important;
        min-height: calc(1.7em * 3) !important;
        max-height: calc(1.7em * 3) !important;
    }

    .best-selling-swiper .price {
        font-size: 13px !important;
    }

        .best-selling-swiper .price::after {
            font-size: 10px !important;
        }
}

.ref-section-title,
.ref-section-head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 28px;
    direction: rtl;
}

    .ref-section-title h3,
    .ref-section-head h4 {
        margin: 0;
        color: #061022;
        font-size: 24px;
        font-weight: 900;
        line-height: 1.4;
    }

    .ref-section-title i {
        color: #8428e8;
        font-size: 22px;
    }

    .ref-section-head i {
        color: #ff4b22 !important;
        font-size: 22px;
    }

.featured-categories-section {
    padding-top: 42px !important;
    padding-bottom: 34px !important;
}

.featured-category-swiper {
    padding: 0 18px 12px;
    overflow: hidden;
}

    .featured-category-swiper .swiper-wrapper {
        align-items: flex-start;
    }

    .featured-category-swiper .swiper-slide {
        height: auto;
    }

    .featured-category-swiper .cat-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 14px;
        text-align: center;
        color: #071324;
        font-size: 12px;
        line-height: 1.7;
    }

    .featured-category-swiper .cat-image-wrap {
        width: 142px;
        height: 142px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: radial-gradient(circle at 35% 35%, #ffffff 0%, #f7f8fb 42%, #edf2f6 100%);
        overflow: hidden;
    }

    .featured-category-swiper .cat-card img {
        width: 132px;
        height: 132px;
        object-fit: contain;
        padding: 0px;
        margin: 0;
        border-radius: 0;
        background: transparent;
        transition: transform .2s ease;
    }

    .featured-category-swiper .cat-card:hover img {
        transform: translateY(-4px) scale(1.04);
    }

    .featured-category-swiper .mini-arrow {
        width: 38px !important;
        height: 38px !important;
        border-radius: 50%;
        background: #fff;
        box-shadow: 0 5px 16px rgba(15, 23, 42, .13);
        color: #111 !important;
    }

    .featured-category-swiper .swiper-button-prev {
        right: 0;
        left: auto;
    }

    .featured-category-swiper .swiper-button-next {
        left: 0;
        right: auto;
    }

.best-selling-section {
    padding-top: 34px !important;
    padding-bottom: 34px !important;
}

    .best-selling-section .ref-section-head {
        margin-bottom: 22px;
    }

.best-selling-swiper {
    padding: 0 6px 36px;
    overflow: hidden;
}

    .best-selling-swiper .swiper-slide {
        height: auto !important;
    }

    .best-selling-swiper .product-card:hover {
        transform: none;
        box-shadow: 0 10px 26px rgba(15, 23, 42, .08);
    }

    .best-selling-swiper .product-arrow {
        width: 38px !important;
        height: 38px !important;
        border-radius: 50%;
        background: #fff;
        box-shadow: 0 5px 16px rgba(15, 23, 42, .16);
        color: #111 !important;
    }

    .best-selling-swiper .swiper-button-prev {
        right: 8px;
        left: auto;
    }

    .best-selling-swiper .swiper-button-next {
        left: 8px;
        right: auto;
    }

@media (min-width: 1200px) {
    .featured-category-swiper .swiper-slide {
        width: auto;
    }

    .best-selling-swiper .swiper-slide {
        width: 220px !important;
    }
}

@media (min-width: 1500px) {
    .best-selling-swiper .swiper-slide {
        width: 250px !important;
    }
}

@media (max-width: 991.98px) {
    .ref-section-title,
    .ref-section-head {
        margin-bottom: 18px;
    }

        .ref-section-title h3,
        .ref-section-head h4 {
            font-size: 20px;
        }

    .featured-categories-section {
        padding-top: 24px !important;
        padding-bottom: 18px !important;
    }

    .featured-category-swiper {
        padding: 0 0 8px;
    }

        .featured-category-swiper .cat-image-wrap {
            width: 82px;
            height: 82px;
        }

        .featured-category-swiper .cat-card img {
            width: 76px;
            height: 76px;
            padding: 6px;
        }

        .featured-category-swiper .cat-card {
            gap: 8px;
            font-size: 12px;
        }

    .best-selling-section {
        padding-top: 22px !important;
    }

    .best-selling-swiper {
        padding-bottom: 24px;
    }

        .best-selling-swiper .swiper-slide {
            width: 175px !important;
        }
}

.new-products-section {
    padding-top: 18px;
    padding-bottom: 34px;
    direction: rtl;
}

.new-products-head {
    justify-content: flex-start;
    margin-bottom: 22px;
}

    .new-products-head h4 {
        margin: 0;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: #061022;
        font-size: 24px;
        font-weight: 900;
        line-height: 1.4;
    }

        .new-products-head h4 i {
            color: #155dfc !important;
            font-size: 22px;
        }

.new-products-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

    .new-products-grid .swiper-slide {
        width: auto !important;
        height: auto !important;
        display: block;
    }

    .new-products-grid .product-card {
        height: 100%;
        min-height: 328px;
        padding: 0 16px 24px;
        border: 1px solid #e2e8f0;
        background: #f8fafc;
        border-radius: 7px;
        box-shadow: none;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

        .new-products-grid .product-card:hover {
            transform: none;
            box-shadow: 0 10px 26px rgba(15, 23, 42, .08);
        }

    .new-products-grid .product-image-link {
        background: #f8fafc;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .new-products-grid .product-card img {
        margin: 0;
        padding: 0;
    }

    .new-products-grid .product-title {
        color: #071324;
        font-size: 14px;
        font-weight: 600;
        text-align: center;
    }

    .new-products-grid .old-price {
        color: #98a2b3;
        font-size: 12px;
        text-decoration: line-through;
        text-align: right;
    }

    .new-products-grid .price {
        color: #050b18;
        font-size: 15px;
        font-weight: 900;
        text-align: right;
    }

    .new-products-grid .discount {
        top: 12px;
        left: 12px;
    }

@media (max-width: 1199.98px) {
    .new-products-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .new-products-head h4 {
        font-size: 20px;
    }

    .new-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

        .new-products-grid .product-card {
            min-height: 295px;
            padding: 0 10px 14px;
        }

            .new-products-grid .product-card img {
                height: 100%;
            }

        .new-products-grid .product-title {
            font-size: 12px;
        }

        .new-products-grid .price {
            font-size: 13px;
        }
}

@media (max-width: 991.98px) {
    .mega-menu {
        min-height: 0 !important;
        display: none !important;
        flex-direction: row !important;
    }

        .mega-menu.show {
            display: flex !important;
        }

    .mega-side {
        height: 100% !important;
        scrollbar-width: none;
    }

        .mega-side::-webkit-scrollbar,
        .mobile-category-panel::-webkit-scrollbar {
            display: none;
        }

        .mega-side button {
            width: 100% !important;
            direction: rtl !important;
            box-shadow: none !important;
        }

            .mega-side button img,
            .mega-side img {
                width: 32px !important;
                height: 32px !important;
                min-width: 32px !important;
                border-radius: 3px !important;
                object-fit: cover !important;
                padding: 0 !important;
                background: transparent !important;
                flex-shrink: 0 !important;
            }

            .mega-side button span {
                display: block !important;
                flex: 1 1 auto !important;
                min-width: 0 !important;
                white-space: normal !important;
            }

    .desktop-mega-content {
        display: none !important;
    }

    .mobile-category-panel {
        overscroll-behavior: contain !important;
        scrollbar-width: none;
    }

    .mobile-feature-cat img,
    .mobile-feature-cat strong {
        display: none !important;
    }

    .mobile-feature-cat a {
        width: 100% !important;
        height: 100% !important;
        padding: 0 12px !important;
        border-radius: 0 !important;
        background: transparent !important;
        color: #0057cb !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        text-align: right !important;
        font-size: 11px !important;
        font-weight: 900 !important;
        line-height: 1.65 !important;
    }

        .mobile-feature-cat a::before {
            content: "";
            font-family: "bootstrap-icons";
            margin-left: auto;
            color: #0057cb;
            font-size: 13px;
            font-weight: 400;
        }

    .mobile-accordion {
        display: block !important;
    }

    .mobile-accordion-toggle span {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        text-align: right !important;
    }

    .mobile-accordion-items a {
        min-height: 44px !important;
        margin: 0 0 6px !important;
        padding: 6px 8px !important;
        border: 1px solid #edf2f7 !important;
        border-radius: 7px !important;
        background: #fff !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
        color: #344054 !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        line-height: 1.5 !important;
        text-align: right !important;
    }

    .mobile-accordion-items img {
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
        border-radius: 4px !important;
        object-fit: cover !important;
        background: #f5f8fc !important;
        padding: 0 !important;
    }
}

@media (max-width: 374.98px) {
    .mega-menu {
        right: 6px !important;
        left: 6px !important;
    }

    .mega-side {
        width: 108px !important;
        min-width: 108px !important;
        max-width: 108px !important;
        padding-left: 6px !important;
    }

        .mega-side button {
            font-size: 10.5px !important;
        }
}

@media (max-width: 991.98px) {
    :root {
        --mobile-bottom-nav-height: 64px;
    }

    body.mega-open {
        overflow: hidden !important;
        touch-action: none;
    }

    .main-header {
        z-index: 1210 !important;
        background: #fff !important;
    }

    .search-box {
        position: relative !important;
        padding-left: 98px !important;
        overflow: hidden !important;
    }

    .brand {
        left: 48px !important;
        top: 50% !important;
        pointer-events: auto !important;
    }

    .mega-menu {
        right: 8px !important;
        left: 8px !important;
        bottom: calc(var(--mobile-bottom-nav-height) + env(safe-area-inset-bottom, 0px)) !important;
        height: auto !important;
        max-height: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: #fff !important;
        z-index: 1190 !important;
        direction: ltr !important;
        overflow: hidden !important;
    }

    .mega-side {
        order: 2 !important;
        width: 112px !important;
        min-width: 112px !important;
        max-width: 112px !important;
        padding: 0 0 8px 7px !important;
        background: #fff !important;
        border: 0 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        direction: rtl !important;
    }

        .mega-side button {
            height: 56px !important;
            min-height: 56px !important;
            margin: 0 0 5px !important;
            padding: 5px 6px !important;
            border: 0 !important;
            border-radius: 0 !important;
            background: #eef6fd !important;
            display: flex !important;
            flex-direction: row !important;
            align-items: center !important;
            justify-content: flex-start !important;
            gap: 6px !important;
            color: #061022 !important;
            font-size: 11px !important;
            font-weight: 850 !important;
            line-height: 1.45 !important;
            text-align: right !important;
        }

            .mega-side button.active {
                background: #e3f1ff !important;
                color: #005ad3 !important;
                box-shadow: inset 3px 0 0 #0b66d8 !important;
            }

            .mega-side button img {
                width: 32px !important;
                height: 32px !important;
                min-width: 32px !important;
                border-radius: 3px !important;
                object-fit: cover !important;
            }

    .mobile-category-panel {
        order: 1 !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        height: 100% !important;
        padding: 0 0 8px !important;
        background: #fff !important;
        display: block !important;
        direction: rtl !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }

    .mobile-feature-cat {
        width: 100% !important;
        height: 32px !important;
        min-height: 32px !important;
        margin: 0 0 10px !important;
        padding: 0 10px !important;
        border: 0 !important;
        border-radius: 3px !important;
        background: #ddecff !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 8px !important;
        color: #005bd4 !important;
        font-size: 11px !important;
        font-weight: 900 !important;
        line-height: 1.4 !important;
        text-align: right !important;
        box-shadow: none !important;
    }

        .mobile-feature-cat::before {
            content: "";
            font-family: "bootstrap-icons";
            margin-left: auto;
            font-size: 12px;
            font-weight: 400;
        }

    .mobile-accordion-group {
        margin: 0 0 8px !important;
        border: 1px solid #e5edf7 !important;
        border-radius: 7px !important;
        background: #fff !important;
        overflow: hidden !important;
        box-shadow: 0 1px 2px rgba(15, 23, 42, .04) !important;
    }

    .mobile-accordion-toggle {
        width: 100% !important;
        height: 48px !important;
        min-height: 48px !important;
        padding: 0 10px !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: #fff !important;
        display: flex !important;
        flex-direction: row-reverse !important;
        align-items: center !important;
        justify-content: space-between !important;
        color: #061022 !important;
        font-size: 12px !important;
        font-weight: 900 !important;
        line-height: 1.5 !important;
        text-align: right !important;
        box-shadow: none !important;
    }

        .mobile-accordion-toggle i {
            color: #c4cfdd !important;
            font-size: 12px !important;
            transition: transform .2s ease !important;
        }

    .mobile-accordion-group.open .mobile-accordion-toggle i {
        transform: rotate(180deg) !important;
    }

    .mobile-accordion-items {
        display: none !important;
        padding: 12px 14px 12px 10px !important;
        background: #fff !important;
    }

    .mobile-accordion-group.open .mobile-accordion-items {
        display: block !important;
    }

    .mobile-accordion-item {
        min-height: 50px !important;
        margin: 0 !important;
        padding: 5px 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 10px !important;
        color: #44546a !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        line-height: 1.5 !important;
        text-align: right !important;
    }

        .mobile-accordion-item img {
            order: 0 !important;
            width: 38px !important;
            height: 38px !important;
            min-width: 38px !important;
            border-radius: 4px !important;
            object-fit: cover !important;
            background: #f5f8fc !important;
            padding: 0 !important;
        }

        .mobile-accordion-item span {
            order: 1 !important;
            flex: 1 1 auto !important;
            min-width: 0 !important;
        }

    .mobile-show-all-group {
        width: 100% !important;
        min-height: 30px !important;
        margin: 8px 0 0 !important;
        padding: 7px 10px !important;
        border: 0 !important;
        border-radius: 4px !important;
        background: #ddecff !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #005bd4 !important;
        font-size: 11px !important;
        font-weight: 900 !important;
        line-height: 1.4 !important;
        text-align: center !important;
    }

    .bottom-nav button.active,
    .bottom-nav a.active {
        color: #020b1f !important;
        font-weight: 900 !important;
    }
}

@media (min-width: 1200px) {
    .main-header .container-fluid {
        padding-left: 62px !important;
        padding-right: 62px !important;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .header-grid {
        grid-template-columns: 220px minmax(270px, 340px) 250px;
        gap: 30px;
    }

    .brand-logo {
        width: 160px;
    }

    .nav-row {
        gap: 34px;
        font-size: 15px;
    }
}

@media (max-width: 991.98px) {
    :root {
        --mobile-header-height: 68px;
    }

    body {
        padding-top: var(--mobile-header-height) !important;
        padding-bottom: 72px;
    }

    .top-strip {
        display: none !important;
    }

    .main-header {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        left: 0 !important;
        height: var(--mobile-header-height) !important;
        border-bottom: 1px solid var(--border) !important;
        box-shadow: 0 8px 24px rgba(15, 23, 42, .06) !important;
    }

        .main-header .container-fluid {
            height: 100% !important;
            padding-left: 12px !important;
            padding-right: 12px !important;
        }

    .header-grid {
        height: 100% !important;
        min-height: 0 !important;
        display: grid !important;
        align-items: center !important;
        padding: 0 !important;
    }

    .brand {
        position: static !important;
        transform: none !important;
        justify-content: flex-start !important;
        z-index: auto !important;
    }

    .brand-logo {
        width: 82px !important;
        max-height: 40px !important;
    }

    .search-box {
        width: 100% !important;
        height: 44px !important;
        min-height: 44px !important;
        border-radius: 10px !important;
        background: #edf1f7 !important;
        padding: 0 !important;
        flex: initial !important;
    }

        .search-box input {
            display: block !important;
            min-width: 0 !important;
            font-size: 12px !important;
            padding: 0 12px !important;
        }

        .search-box button {
            width: 42px !important;
            height: 44px !important;
            flex: 0 0 42px !important;
            font-size: 20px !important;
        }

    .header-actions {
        gap: 10px !important;
        justify-content: flex-end !important;
    }

        .header-actions a {
            width: 36px !important;
            height: 36px !important;
            justify-content: center !important;
            gap: 0 !important;
            font-size: 0 !important;
        }

            .header-actions a:not(:last-child) {
                display: none !important;
            }

        .header-actions i {
            font-size: 24px !important;
        }

    .nav-row,
    footer {
        display: none !important;
    }

    .mega-menu {
        top: var(--mobile-header-height) !important;
    }
}

.main-header {
    transition: box-shadow .2s ease;
}

body.site-header-fixed .main-header {
    position: fixed !important;
    right: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    background: #fff;
}

.main-header.site-nav-hidden .nav-row {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
}

body.site-header-fixed .top-strip {
    position: fixed !important;
    top: 0 !important;
    right: 0;
    left: 0;
    width: 100%;
    z-index: 1060;
}

body.site-header-fixed .main-header {
    top: 78px !important;
}

@media (min-width: 992px) {
    .brand {
        font-size: 28px;
    }

    .divider {
        height: 34px;
    }

    .header-actions i {
        font-size: 24px;
    }

    .header-actions a {
        font-size: 13px;
    }

    .nav-row {
        font-size: 15px;
    }

    .category-btn {
        font-size: 15px;
    }

        .category-btn i {
            font-size: 21px;
        }

    .hero-slide {
        height: 300px;
    }

    .hero {
        padding-top: 10px;
    }
}

@media (min-width: 992px) {
    .main-header {
        position: sticky !important;
        top: 0 !important;
        transform: none !important;
        will-change: auto;
    }

    .top-strip {
        height: 58px;
        font-size: 16px;
    }

    .header-grid {
        min-height: 72px;
        grid-template-columns: minmax(180px, 220px) minmax(0, 1fr) minmax(230px, 285px);
        gap: 18px;
        align-items: center;
    }

    .brand-logo {
        width: 188px;
        max-height: 58px;
    }

    .search-box {
        width: 100%;
        max-width: none;
        height: 54px;
        justify-self: stretch;
        margin-inline: 0;
    }

    .header-actions {
        gap: 18px;
    }

    .nav-row {
        height: 36px;
        max-height: 36px;
        padding-top: 0;
        gap: clamp(14px, 1.5vw, 24px);
        align-items: center;
    }

    .main-header.site-nav-hidden .nav-row {
        max-height: 0;
        transform: translateY(-6px);
    }

    body.site-header-fixed .main-header {
        position: sticky !important;
        top: 0 !important;
    }

    body.site-header-fixed .top-strip {
        position: relative !important;
        top: auto !important;
    }
}

@media (min-width: 1200px) {
    .header-grid {
        grid-template-columns: minmax(200px, 245px) minmax(0, 1fr) minmax(260px, 310px);
        gap: 20px;
    }
}

@media (max-width: 991.98px) {
    .header-grid {
        grid-template-columns: 84px minmax(0, 1fr) !important;
        gap: 10px !important;
    }

    .header-actions {
        display: none !important;
    }

    .search-box {
        justify-self: stretch !important;
    }
}

.product-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.price,
.best-selling-swiper .price,
.latest-products-grid .price,
.new-products-grid .price {
    color: #0f766e !important;
}

.new-products-grid .product-card {
    padding-inline: 10px;
}

.new-products-grid .product-image-link {
    height: auto;
    padding: 0;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 6px 6px 0 0;
}

.new-products-grid .product-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform-origin: center;
}

.new-products-grid .product-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: calc(1.65em * 2);
    max-height: calc(1.65em * 2);
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.65;
    margin-bottom: 2px;
}

.new-products-grid .old-price {
    min-height: 0;
    line-height: 1.35;
    margin: 0;
}

    .new-products-grid .old-price:empty {
        display: none;
    }

.new-products-grid .price {
    margin-top: 2px;
    line-height: 1.45;
}

@media (max-width: 991.98px) {
    .new-products-grid .product-card {
        padding-inline: 8px;
    }

    .new-products-grid .product-image-link {
        height: 176px;
        margin: 0 -8px 6px;
        padding: 0;
    }

    .new-products-grid .product-card img {
        object-fit: contain;
        transform: scale(1.14);
    }

    .new-products-grid .product-title {
        min-height: calc(1.55em * 2);
        max-height: calc(1.55em * 2);
        line-height: 1.55;
        margin-bottom: 2px;
    }

    .new-products-grid .price {
        margin-top: 1px;
    }
}

/* Professional header interactions */
.search-shell {
    position: relative;
    width: 100%;
    justify-self: center;
    z-index: 1060;
}

.search-box {
    position: relative;
    z-index: 2;
    border: 1px solid transparent;
    box-shadow: inset 0 0 0 1px rgba(79, 147, 232, 0);
    transition: background .22s ease, border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

    .search-shell.search-open .search-box,
    .search-box:focus-within {
        background: #fff;
        border-color: rgba(79, 147, 232, .32);
        box-shadow: 0 18px 40px rgba(15, 23, 42, .12), inset 0 0 0 1px rgba(79, 147, 232, .16);
        transform: translateY(-1px);
    }

    .search-box button {
        transition: color .2s ease, transform .2s ease;
    }

    .search-box:focus-within button,
    .search-shell.search-open .search-box button {
        color: var(--primary-dark);
        transform: scale(1.05);
    }

.search-panel {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    left: 0;
    min-width: min(620px, calc(100vw - 32px));
    padding: 16px;
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(228, 231, 236, .9);
    border-radius: 22px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .18);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(.98);
    transform-origin: top center;
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
    pointer-events: none;
}

.search-shell.search-open .search-panel,
.search-shell:focus-within .search-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.search-panel::before {
    content: "";
    position: absolute;
    top: -7px;
    right: 34px;
    width: 14px;
    height: 14px;
    background: rgba(255, 255, 255, .96);
    border-top: 1px solid rgba(228, 231, 236, .9);
    border-right: 1px solid rgba(228, 231, 236, .9);
    transform: rotate(-45deg);
}

.search-panel-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
}

    .search-panel-head span {
        color: #101828;
        font-size: 15px;
        font-weight: 900;
    }

    .search-panel-head small {
        color: var(--muted);
        font-size: 12px;
        font-weight: 700;
    }


.search-suggestions {
    display: grid;
    gap: 10px;
}

.search-suggestion-item {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 68px;
    padding: 8px 10px;
    border: 1px solid #edf2f7;
    border-radius: 16px;
    background: linear-gradient(135deg, #fff, #f8fbff);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

    .search-suggestion-item:hover,
    .search-suggestion-item:focus-visible {
        border-color: rgba(79, 147, 232, .45);
        box-shadow: 0 14px 34px rgba(15, 23, 42, .11);
        transform: translateY(-2px);
    }

    .search-suggestion-item img {
        width: 54px;
        height: 54px;
        object-fit: contain;
        border-radius: 12px;
        background: #fff;
    }

.search-suggestion-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}

    .search-suggestion-copy strong {
        color: #182230;
        font-size: 13px;
        font-weight: 900;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .search-suggestion-copy small,
    .search-suggestion-state {
        color: var(--muted);
        font-size: 12px;
        font-weight: 800;
    }

.search-suggestion-state {
    padding: 14px;
    border: 1px dashed #d8e0eb;
    border-radius: 14px;
    text-align: center;
}

.search-quick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.search-quick-card {
    position: relative;
    display: grid;
    grid-template-columns: 42px 1fr;
    grid-template-rows: auto auto;
    column-gap: 10px;
    align-items: center;
    min-height: 72px;
    padding: 12px;
    overflow: hidden;
    border: 1px solid #edf2f7;
    border-radius: 16px;
    background: linear-gradient(135deg, #ffffff, #f8fbff);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

    .search-quick-card::after {
        content: "";
        position: absolute;
        inset: auto -30px -42px auto;
        width: 92px;
        height: 92px;
        border-radius: 50%;
        background: rgba(79, 147, 232, .09);
        transition: transform .22s ease;
    }

    .search-quick-card i {
        grid-row: 1 / span 2;
        width: 42px;
        height: 42px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: var(--primary-dark);
        background: #eaf3ff;
        border-radius: 13px;
        font-size: 21px;
    }

    .search-quick-card span {
        color: #182230;
        font-size: 13px;
        font-weight: 900;
    }

    .search-quick-card small {
        color: var(--muted);
        font-size: 11px;
        font-weight: 700;
    }

    .search-quick-card:hover,
    .search-quick-card:focus-visible {
        border-color: rgba(79, 147, 232, .45);
        box-shadow: 0 14px 34px rgba(15, 23, 42, .11);
        transform: translateY(-3px);
    }

        .search-quick-card:hover::after,
        .search-quick-card:focus-visible::after {
            transform: scale(1.18);
        }

.search-popular-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 14px;
}

    .search-popular-row span {
        color: var(--muted);
        font-size: 12px;
        font-weight: 800;
    }

    .search-popular-row a {
        padding: 6px 11px;
        color: #175cd3;
        background: #eef6ff;
        border-radius: 999px;
        font-size: 12px;
        font-weight: 800;
        transition: background .2s ease, color .2s ease, transform .2s ease;
    }

        .search-popular-row a:hover,
        .search-popular-row a:focus-visible {
            color: #fff;
            background: var(--primary-dark);
            transform: translateY(-1px);
        }

.search-panel-submit {
    width: 100%;
    height: 44px;
    margin-top: 14px;
    border: 0;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 14px 30px rgba(0, 100, 168, .22);
    transition: transform .2s ease, box-shadow .2s ease;
}

    .search-panel-submit:hover,
    .search-panel-submit:focus-visible {
        transform: translateY(-2px);
        box-shadow: 0 18px 38px rgba(0, 100, 168, .28);
    }

.nav-row a,
.category-btn {
    position: relative;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    isolation: isolate;
    transition: color .22s ease, transform .22s ease;
}

    .nav-row a::before,
    .category-btn::before {
        content: "";
        position: absolute;
        right: -10px;
        left: -10px;
        bottom: 3px;
        height: 3px;
        border-radius: 999px;
        background: linear-gradient(90deg, transparent, var(--primary), var(--purple), transparent);
        opacity: 0;
        transform: scaleX(.22);
        transition: opacity .22s ease, transform .28s cubic-bezier(.2, .8, .2, 1);
        z-index: -1;
    }

    .nav-row a::after,
    .category-btn::after {
        content: "";
        position: absolute;
        inset: 3px -13px 2px;
        border-radius: 999px;
        background: linear-gradient(135deg, rgba(79, 147, 232, .12), rgba(132, 40, 232, .09));
        opacity: 0;
        transform: scale(.9);
        transition: opacity .22s ease, transform .22s ease;
        z-index: -2;
    }

    .nav-row a:hover,
    .nav-row a:focus-visible,
    .category-btn:hover,
    .category-btn:focus-visible {
        color: var(--primary-dark);
        transform: translateY(-2px);
    }

        .nav-row a:hover::before,
        .nav-row a:focus-visible::before,
        .category-btn:hover::before,
        .category-btn:focus-visible::before {
            opacity: 1;
            transform: scaleX(1);
        }

        .nav-row a:hover::after,
        .nav-row a:focus-visible::after,
        .category-btn:hover::after,
        .category-btn:focus-visible::after {
            opacity: 1;
            transform: scale(1);
        }


@media (max-width: 991.98px) {
    .search-shell {
        z-index: 1090;
    }

    .search-panel {
        position: fixed;
        top: calc(var(--site-header-height, 128px) + 8px);
        right: 12px;
        left: 12px;
        min-width: 0;
        max-height: calc(100vh - var(--site-header-height, 128px) - 88px);
        overflow-y: auto;
    }
}

@media (max-width: 575.98px) {

    .search-suggestions {
        display: grid;
        gap: 10px;
    }

    .search-suggestion-item {
        display: grid;
        grid-template-columns: 54px minmax(0, 1fr);
        gap: 12px;
        align-items: center;
        min-height: 68px;
        padding: 8px 10px;
        border: 1px solid #edf2f7;
        border-radius: 16px;
        background: linear-gradient(135deg, #fff, #f8fbff);
        transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
    }

        .search-suggestion-item:hover,
        .search-suggestion-item:focus-visible {
            border-color: rgba(79, 147, 232, .45);
            box-shadow: 0 14px 34px rgba(15, 23, 42, .11);
            transform: translateY(-2px);
        }

        .search-suggestion-item img {
            width: 54px;
            height: 54px;
            object-fit: contain;
            border-radius: 12px;
            background: #fff;
        }

    .search-suggestion-copy {
        display: grid;
        gap: 3px;
        min-width: 0;
    }

        .search-suggestion-copy strong {
            color: #182230;
            font-size: 13px;
            font-weight: 900;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .search-suggestion-copy small,
        .search-suggestion-state {
            color: var(--muted);
            font-size: 12px;
            font-weight: 800;
        }

    .search-suggestion-state {
        padding: 14px;
        border: 1px dashed #d8e0eb;
        border-radius: 14px;
        text-align: center;
    }

    .search-quick-grid {
        grid-template-columns: 1fr;
    }

    .search-panel-head {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Contact page */
.contact-page {
    font-size: .94rem;
    background: linear-gradient(180deg, #f8fafc 0%, #eef4ff 48%, #ffffff 100%);
    color: #0f172a;
}

.contact-hero {
    padding: 46px 0 28px;
}

.contact-hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
    gap: 28px;
    align-items: stretch;
    padding: 34px;
    border-radius: 34px;
    background: radial-gradient(circle at 12% 20%, rgba(14, 165, 233, .24), transparent 30%), linear-gradient(135deg, #0f172a 0%, #1d4ed8 52%, #0891b2 100%);
    color: #ffffff;
    box-shadow: 0 30px 80px rgba(15, 23, 42, .24);
    overflow: hidden;
    position: relative;
}

    .contact-hero-card::after {
        content: "";
        position: absolute;
        inset-inline-end: -90px;
        inset-block-start: -90px;
        width: 260px;
        height: 260px;
        border-radius: 50%;
        background: rgba(255, 255, 255, .11);
    }

.contact-hero-copy,
.contact-hero-panel {
    position: relative;
    z-index: 1;
}

.contact-kicker,
.contact-badge {
    font-size: .84rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .22);
    font-weight: 800;
}

.contact-hero h1 {
    margin: 18px 0 12px;
    font-size: clamp(1.75rem, 3.2vw, 3.25rem);
    font-weight: 950;
}

.contact-hero p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, .84);
    line-height: 2;
    font-size: .96rem;
}

.contact-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.contact-primary-action,
.contact-secondary-action,
.contact-submit {
    font-size: .92rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 16px;
    font-weight: 900;
    text-decoration: none;
    border: 0;
}

.contact-primary-action,
.contact-submit {
    background: linear-gradient(135deg, #f97316, #ef4444);
    color: #ffffff;
    box-shadow: 0 16px 34px rgba(239, 68, 68, .28);
}

.contact-secondary-action {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, .32);
    background: rgba(255, 255, 255, .12);
}

.contact-hero-panel {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 12px;
    padding: 24px;
    border-radius: 28px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .24);
    backdrop-filter: blur(16px);
}

    .contact-hero-panel strong {
        font-size: 1.32rem;
        font-weight: 950;
        line-height: 1.7;
    }

    .contact-hero-panel small {
        color: rgba(255, 255, 255, .78);
        line-height: 1.9;
    }

.contact-content {
    padding-bottom: 64px;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.contact-info-card,
.contact-form-card,
.contact-map-card,
.contact-hours-card {
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(148, 163, 184, .24);
    box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
}

.contact-info-card {
    min-height: 158px;
    padding: 22px;
    border-radius: 24px;
}

    .contact-info-card > i {
        width: 48px;
        height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 16px;
        background: #eff6ff;
        color: #2563eb;
        font-size: 1.15rem;
        margin-bottom: 16px;
    }

    .contact-info-card span {
        font-size: .86rem;
        display: block;
        color: #64748b;
        font-weight: 800;
        margin-bottom: 8px;
    }

    .contact-info-card p,
    .contact-info-card a {
        font-size: .92rem;
        color: #0f172a;
        font-weight: 900;
        line-height: 1.9;
        text-decoration: none;
        margin: 0;
    }

.contact-delivery-card > i {
    background: #fff7ed;
    color: #f97316;
}

.contact-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
    gap: 22px;
}

.contact-form-card,
.contact-map-card {
    border-radius: 30px;
    padding: 28px;
}

.contact-section-head small {
    font-size: .82rem;
    color: #2563eb;
    font-weight: 950;
}

.contact-section-head h2 {
    font-size: 1.45rem;
    margin: 8px 0;
    font-weight: 950;
}

.contact-section-head p {
    color: #64748b;
    line-height: 1.9;
    margin-bottom: 22px;
}

.contact-alert-success {
    font-size: .9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    margin-bottom: 18px;
    border-radius: 16px;
    background: #ecfdf5;
    color: #047857;
    font-weight: 900;
}

.contact-form {
    display: grid;
    gap: 16px;
}

.contact-field-row label {
    font-size: .9rem;
    display: block;
    margin-bottom: 8px;
    font-weight: 900;
    color: #334155;
}

.contact-field-row input,
.contact-field-row textarea {
    font-size: .92rem;
    width: 100%;
    border: 1px solid #dbe4ef;
    background: #f8fafc;
    border-radius: 16px;
    padding: 13px 15px;
    outline: none;
    color: #0f172a;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

    .contact-field-row input:focus,
    .contact-field-row textarea:focus {
        border-color: #2563eb;
        background: #ffffff;
        box-shadow: 0 0 0 4px rgba(37, 99, 235, .11);
    }

.contact-field-row textarea {
    resize: vertical;
}

.contact-field-row.two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.contact-submit {
    width: 100%;
    cursor: pointer;
}

.contact-map-preview {
    position: relative;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 26px;
    overflow: hidden;
    text-decoration: none;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(15, 23, 42, .86), rgba(29, 78, 216, .74)), repeating-linear-gradient(45deg, #cbd5e1 0 2px, #e2e8f0 2px 16px);
}

    .contact-map-preview::before,
    .contact-map-preview::after {
        content: "";
        position: absolute;
        background: rgba(255, 255, 255, .18);
    }

    .contact-map-preview::before {
        width: 130%;
        height: 1px;
        transform: rotate(-18deg);
    }

    .contact-map-preview::after {
        width: 1px;
        height: 130%;
        transform: rotate(28deg);
    }

.map-pin {
    position: relative;
    z-index: 2;
    width: 76px;
    height: 76px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 26px;
    background: linear-gradient(135deg, #ef4444, #f97316);
    font-size: 1.45rem;
    box-shadow: 0 20px 40px rgba(239, 68, 68, .35);
}

.contact-map-preview strong,
.contact-map-preview small {
    position: relative;
    z-index: 2;
}

.contact-map-preview strong {
    font-size: 1.18rem;
    font-weight: 950;
}

.contact-map-preview small {
    color: rgba(255, 255, 255, .82);
}

.map-ring {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
}

.ring-one {
    width: 170px;
    height: 170px;
}

.ring-two {
    width: 250px;
    height: 250px;
}

.contact-hours-card {
    display: flex;
    gap: 14px;
    margin-top: 16px;
    padding: 18px;
    border-radius: 22px;
}

    .contact-hours-card i {
        color: #16a34a;
        font-size: 1.45rem;
    }

    .contact-hours-card strong,
    .contact-hours-card span {
        font-size: .88rem;
        display: block;
    }

    .contact-hours-card strong {
        font-weight: 950;
        margin-bottom: 4px;
    }

    .contact-hours-card span {
        font-size: .88rem;
        color: #64748b;
        line-height: 1.8;
    }

@media (max-width: 991.98px) {
    .contact-hero-card,
    .contact-main-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .contact-hero-card,
    .contact-form-card,
    .contact-map-card {
        padding: 20px;
        border-radius: 24px;
    }

    .contact-info-grid,
    .contact-field-row.two-col {
        grid-template-columns: 1fr;
    }
}

.site-user-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.site-user-toggle {
    min-height: 46px;
    border: 0;
    border-radius: 10px;
    padding: 0 13px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #172033;
    background: #edf1f7;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}

    .site-user-toggle:hover,
    .site-user-toggle:focus-visible,
    .site-user-dropdown.is-open .site-user-toggle {
        background: #e7eef8;
        box-shadow: 0 12px 28px rgba(15, 23, 42, .10);
        transform: translateY(-1px);
    }

    .site-user-toggle i {
        font-size: 28px;
        color: #101828;
    }

.site-user-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 1100;
    width: min(360px, calc(100vw - 24px));
    padding: 14px 16px;
    border: 1px solid #e7edf5;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 24px 50px rgba(15, 23, 42, .16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}

.site-user-dropdown.is-open .site-user-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.site-user-menu a,
.site-user-menu button {
    width: 100%;
    min-height: 53px;
    border: 0;
    border-bottom: 1px solid #eef2f6;
    border-radius: 7px;
    padding: 0 2px;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) 28px;
    align-items: center;
    gap: 12px;
    color: #1f2a44;
    background: transparent;
    text-align: right;
    text-decoration: none;
    font-size: 16px;
    font-weight: 800;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

    .site-user-menu a:hover,
    .site-user-menu a:focus-visible,
    .site-user-menu button:hover,
    .site-user-menu button:focus-visible {
        color: #175cd3;
        background: #f8fbff;
        transform: translateX(-2px);
    }

    .site-user-menu a > i:first-child,
    .site-user-menu button > i:first-child {
        color: #98a2b3;
        font-size: 22px;
    }

    .site-user-menu a > i:last-child,
    .site-user-menu button > i:last-child {
        color: #98a2b3;
        font-size: 20px;
    }

.site-user-menu form {
    margin: 0;
}

@media (max-width: 575.98px) {
    .site-user-dropdown {
        display: none;
    }
}

.old-price {
    color: #dc2626;
    text-decoration-color: #dc2626;
}

.price {
    color: #16a34a;
}

.discount {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    padding: 0;
}

.about-page {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 35%);
    padding-bottom: 3rem;
}

.about-hero {
    padding: 2rem 0 1rem;
}

.about-hero-card,
.about-card {
    background: #fff;
    border-radius: 1rem;
    border: 1px solid #e8edf4;
    box-shadow: 0 12px 30px rgba(12, 33, 68, 0.06);
}

.about-hero-card {
    padding: 1.5rem;
}

.about-kicker {
    color: #0d6efd;
    font-weight: 700;
    display: inline-flex;
    gap: .4rem;
    align-items: center;
    margin-bottom: .75rem;
}

.about-hero-card h1 {
    font-size: 1.7rem;
    margin-bottom: 1rem;
}

.about-hero-card p,
.about-card p {
    margin-bottom: 1rem;
    color: #334155;
    line-height: 2;
}

.about-content {
    padding-top: 1rem;
}

.about-card {
    padding: 1.5rem;
}

.about-signature {
    margin-top: 1.5rem;
    font-weight: 700;
    color: #111827;
}

    .about-signature span {
        color: #0d6efd;
        font-size: .95rem;
    }

.bottom-nav-profile {
    position: relative;
    display: flex;
}

    .bottom-nav-profile .site-user-toggle {
        width: 100%;
        min-height: 100%;
        border-radius: 0;
        background: #fff;
        box-shadow: none;
        padding: 0;
        flex-direction: column;
        gap: 3px;
        font-size: 11px;
        font-weight: 700;
    }

        .bottom-nav-profile .site-user-toggle i {
            font-size: 20px;
        }

    .bottom-nav-profile .site-user-menu {
        position: fixed;
        right: 12px;
        left: 12px;
        bottom: calc(74px + env(safe-area-inset-bottom, 0px));
        top: auto;
        width: auto;
        max-height: min(72vh, 540px);
        overflow: auto;
        border-radius: 18px;
    }

/* Purchase help page */
.purchase-help-page {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 42%, #f8fafc 100%);
    color: #0f172a;
    padding-bottom: 64px;
}

.purchase-help-hero {
    padding: 42px 0 24px;
}

.purchase-help-hero__card {
    position: relative;
    overflow: hidden;
    padding: clamp(24px, 4vw, 42px);
    border-radius: 32px;
    background: radial-gradient(circle at 14% 20%, rgba(34, 197, 94, .20), transparent 28%), linear-gradient(135deg, #0f172a 0%, #1d4ed8 58%, #0f766e 100%);
    color: #fff;
    box-shadow: 0 26px 70px rgba(15, 23, 42, .20);
}

    .purchase-help-hero__card::after {
        content: "";
        position: absolute;
        inset-block-start: -120px;
        inset-inline-end: -100px;
        width: 280px;
        height: 280px;
        border-radius: 999px;
        background: rgba(255, 255, 255, .12);
    }

.purchase-help-kicker {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .22);
    font-size: .84rem;
    font-weight: 900;
}

.purchase-help-hero__card h1,
.purchase-help-hero__card p,
.purchase-help-hero__actions {
    position: relative;
    z-index: 1;
}

.purchase-help-hero__card h1 {
    margin: 18px 0 12px;
    max-width: 760px;
    font-size: clamp(1.8rem, 3vw, 3rem);
    font-weight: 950;
    line-height: 1.45;
}

.purchase-help-hero__card p {
    max-width: 880px;
    margin: 0;
    color: rgba(255, 255, 255, .84);
    line-height: 2.1;
    font-size: .98rem;
}

.purchase-help-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.purchase-help-primary,
.purchase-help-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 16px;
    text-decoration: none;
    font-size: .92rem;
    font-weight: 950;
}

.purchase-help-primary {
    background: linear-gradient(135deg, #f97316, #ef4444);
    color: #fff;
    box-shadow: 0 16px 34px rgba(239, 68, 68, .28);
}

.purchase-help-secondary {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .30);
    background: rgba(255, 255, 255, .12);
}

.purchase-help-content {
    display: grid;
    gap: 22px;
}

.purchase-help-intro,
.purchase-help-card,
.purchase-help-steps,
.purchase-help-note {
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(148, 163, 184, .24);
    box-shadow: 0 18px 45px rgba(15, 23, 42, .07);
}

.purchase-help-intro {
    padding: 24px 28px;
    border-radius: 26px;
}

    .purchase-help-intro h2,
    .purchase-help-section-head h2,
    .purchase-help-note h2 {
        margin: 0 0 10px;
        font-size: 1.42rem;
        font-weight: 950;
        color: #0f172a;
    }

    .purchase-help-intro p,
    .purchase-help-section-head p,
    .purchase-help-note p {
        margin: 0;
        color: #475569;
        line-height: 2;
        font-size: .94rem;
    }

.purchase-help-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.purchase-help-card {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 16px;
    padding: 24px;
    border-radius: 28px;
}

.purchase-help-card__icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    font-size: 1.35rem;
}

    .purchase-help-card__icon.is-green {
        background: #ecfdf5;
        color: #16a34a;
    }

    .purchase-help-card__icon.is-blue {
        background: #eff6ff;
        color: #2563eb;
    }

    .purchase-help-card__icon.is-orange {
        background: #fff7ed;
        color: #f97316;
    }

    .purchase-help-card__icon.is-purple {
        background: #f5f3ff;
        color: #7c3aed;
    }

.purchase-help-card__label,
.purchase-help-section-head small {
    display: block;
    color: #2563eb;
    font-size: .8rem;
    font-weight: 950;
    margin-bottom: 8px;
}

.purchase-help-card h3 {
    margin: 0 0 10px;
    font-size: 1.18rem;
    font-weight: 950;
    color: #111827;
}

.purchase-help-card p {
    margin: 0 0 14px;
    color: #475569;
    line-height: 2;
    font-size: .92rem;
}

.purchase-help-card ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.purchase-help-card li {
    position: relative;
    padding-inline-start: 22px;
    color: #334155;
    line-height: 1.9;
    font-size: .9rem;
}

    .purchase-help-card li::before {
        content: "";
        position: absolute;
        inset-inline-start: 0;
        inset-block-start: .75em;
        width: 8px;
        height: 8px;
        border-radius: 999px;
        background: #22c55e;
    }

.purchase-help-card a,
.purchase-help-step-list a {
    color: #0d6efd;
    font-weight: 900;
    text-decoration: none;
}

    .purchase-help-card a:hover,
    .purchase-help-step-list a:hover {
        text-decoration: underline;
    }

.purchase-help-steps {
    padding: 28px;
    border-radius: 30px;
}

.purchase-help-section-head {
    margin-bottom: 22px;
}

.purchase-help-step-list {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .purchase-help-step-list li {
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 14px;
        padding: 16px;
        border: 1px solid #e8edf4;
        border-radius: 20px;
        background: #f8fafc;
    }

    .purchase-help-step-list span {
        width: 48px;
        height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 16px;
        background: #0f172a;
        color: #fff;
        font-weight: 950;
    }

    .purchase-help-step-list h3 {
        margin: 0 0 6px;
        font-size: 1rem;
        font-weight: 950;
    }

    .purchase-help-step-list p {
        margin: 0;
        color: #475569;
        line-height: 1.95;
        font-size: .9rem;
    }

.purchase-help-note {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 16px;
    padding: 24px;
    border-radius: 28px;
    border-color: rgba(249, 115, 22, .22);
    background: linear-gradient(135deg, #fff7ed, #ffffff);
}

    .purchase-help-note > i {
        width: 54px;
        height: 54px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 18px;
        background: #ffedd5;
        color: #f97316;
        font-size: 1.35rem;
    }

@media (max-width: 991.98px) {
    .purchase-help-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .purchase-help-hero__card,
    .purchase-help-intro,
    .purchase-help-card,
    .purchase-help-steps,
    .purchase-help-note {
        border-radius: 22px;
        padding: 20px;
    }

    .purchase-help-card,
    .purchase-help-note,
    .purchase-help-step-list li {
        grid-template-columns: 1fr;
    }

        .purchase-help-card__icon,
        .purchase-help-note > i,
        .purchase-help-step-list span {
            width: 46px;
            height: 46px;
            border-radius: 15px;
        }
}

/* Fix product cards inside Swiper sections */
.productSwiper .swiper-wrapper {
    align-items: stretch;
}

.productSwiper .swiper-slide {
    height: auto !important;
    display: flex;
}

.productSwiper .product-card {
    width: 100%;
    min-height: 328px;
    height: 100%;
    padding: 0 10px 18px;
    display: flex !important;
    flex-direction: column;
    overflow: hidden;
}

.productSwiper .product-image-link {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    margin: 0 0 8px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

    .productSwiper .product-image-link img,
    .productSwiper .product-card img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        margin: 0;
    }

.productSwiper .product-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: calc(1.65em * 2);
    max-height: calc(1.65em * 2);
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.65;
    margin-bottom: 6px;
}

.productSwiper .old-price {
    min-height: 18px;
}

.productSwiper .price {
    margin-top: auto;
}

@media (max-width: 991.98px) {
    .productSwiper .product-card {
        min-height: 295px;
        padding: 0 8px 14px;
    }

    .productSwiper .product-title {
        font-size: 12px;
        min-height: calc(1.55em * 2);
        max-height: calc(1.55em * 2);
        line-height: 1.55;
    }
}

.hero {
    padding-top: 10px;
}

.heroSwiper {
    width: 100%;
    padding: 0 0;
}

.hero-slide {
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.hero-slide-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}