/* Base styles */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Inter:wght@400;500;600;700&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    /* New theme colors */
    --ivory: #faf6ef;
    --cream: #f2e9da;
    --gold: #b8893b;
    --gold-light: #d9b56e;
    --ink: #2b2118;
    --muted: #7a6a58;

    /* Mapped variables */
    --primary-color: var(--gold);
    --primary-hover: var(--gold-light);
    --text-dark: var(--ink);
    --text-light: var(--muted);
    --bg-light: var(--ivory);
    --border-color: var(--cream);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.top-bar {
    background-color: var(--primary-color);
    color: var(--ivory);
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    padding: 8px 0;
}

.main-header {
    border-bottom: 1px solid #eaeaea;
    background-color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 100;
    margin-bottom: 0 !important;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4%;
    height: 100px;
    gap: 20px;
}

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

.desktop-only-nav {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-left: 20px;
    height: 100%;
}

.search-bar {
    display: flex;
    align-items: stretch;
    background-color: #f5f5f6;
    border: 1px solid #f5f5f6;
    border-radius: 4px;
    padding: 0;
    flex: 0 1 500px;
    overflow: hidden;
    height: 40px;
}

.search-bar input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    padding: 10px 15px 10px 45px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #696e79;
}

.search-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0 25px;
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background-color: var(--primary-hover);
}

.close-search-btn {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 25px;
    flex: 1;
}

.action-item {
    color: #000000;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-decoration: none;
    transition: var(--transition);
    opacity: 1;
}

.action-icon {
    font-size: 20px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s ease;
}

.action-label {
    font-size: 12px;
    font-weight: 600;
    color: #000;
    letter-spacing: 0.3px;
    text-transform: capitalize;
    transition: var(--transition);
}

.action-item:hover {
    opacity: 1;
}

.action-item:hover .action-icon {
    transform: scale(1.15) translateY(-2px);
    color: var(--primary-color);
    /* Brand color on hover */
}

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

.cart-item {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background-color: var(--primary-color);
    color: white;
    font-size: 11px;
    font-weight: 700;
    height: 18px;
    min-width: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border: 2px solid #ffffff;
}

.main-nav {
    height: 100%;
    display: flex;
    align-items: stretch;
}

.nav-list {
    display: flex;
    justify-content: center;
    gap: 40px;
    list-style: none;
    padding: 0 20px;
    height: 100%;
}

.nav-item {
    height: 100%;
    display: flex;
    align-items: stretch;
}

.nav-link {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #282c3f;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    text-decoration: none;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    border-bottom: 4px solid transparent;
}

.nav-link:active,
.nav-item.active .nav-link,
.nav-item.is-open .nav-link,
.nav-link:focus {
    color: var(--primary-color);
    border-bottom: 4px solid var(--primary-color);
}

@media (hover: hover) {
    .nav-item:hover .nav-link {
        color: var(--primary-color);
        border-bottom: 4px solid var(--primary-color);
    }
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 10%;
    /* Align with nav start roughly */
    width: auto;
    min-width: 600px;
    max-width: 1100px;
    background-color: #ffffff;
    border: 1px solid #eaeaec;
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, .08);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(4px);
    transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 99;
}

/* Invisible hover bridge to eliminate any gap between navbar and mega-menu */
.mega-menu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
    z-index: 100;
}

@media (hover: hover) {
    .nav-item:hover .mega-menu,
    .mega-menu:hover {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }
}

.nav-item.is-open .mega-menu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
}

.mega-menu-inner {
    display: flex;
    gap: 30px;
    padding: 20px;
    flex-wrap: wrap;
}

.mega-menu-column {
    display: flex;
    flex-direction: column;
    min-width: 140px;
}

.mega-menu-title {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
    padding-bottom: 0;
    border-bottom: none;
}

.mega-menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mega-menu-list a {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #282c3f;
    font-weight: 400;
    text-decoration: none;
}

.mega-menu-list a:hover {
    font-weight: 600;
}

/* Hero Banner Slider */
.hero-banner-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 1920 / 850;
    max-height: 850px;
    background-color: #fcedf1;
    overflow: hidden;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
    overflow: hidden;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 1.5s ease-out;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-content {
    position: relative;
    z-index: 3;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.slide-title {
    font-size: 60px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    line-height: 1.2;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.8s ease 0.3s;
}

.slide.active .slide-title {
    transform: translateY(0);
    opacity: 1;
}

.shop-now-btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--primary-color);
    color: white;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: var(--transition);
    border: 1px solid var(--primary-color);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.8s ease 0.5s;
}

.slide.active .shop-now-btn {
    transform: translateY(0);
    opacity: 1;
}

.shop-now-btn:hover {
    background-color: transparent;
    color: white;
    border-color: white;
}



.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 16px;
    height: 16px;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.dot-inner {
    width: 6px;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    position: absolute;
    transition: var(--transition);
}

.progress-ring {
    transform: rotate(-90deg);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dot.active .progress-ring {
    opacity: 1;
}

.progress-ring-fill {
    stroke-dasharray: 38;
    stroke-dashoffset: 38;
    transition: stroke-dashoffset 0.3s;
}

.dot.active .progress-ring-fill {
    animation: circleProgress 10s linear forwards;
}

@keyframes circleProgress {
    0% {
        stroke-dashoffset: 38;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

/* Fallback static banner */
.hero-banner {
    position: relative;
    width: 100%;
    height: 450px;
    background-color: #fcedf1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 10;
}

.hero-title {
    font-size: 42px;
    font-weight: 300;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 10px;
}

/* Top Categories */
.top-categories {
    padding: 60px 0;
    text-align: center;
}

.section-title {
    font-size: 40px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.category-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/5;
    background-color: #f5f5f5;
    cursor: pointer;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover img {
    transform: scale(1.05);
}

/* Footer */
.main-footer {
    background-color: #f9f9f9;
    padding: 40px 0;
    margin-top: 60px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    text-align: center;
    color: var(--text-light);
}

/* Responsive Global Styles */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
    margin-right: 15px;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 991px) {
    .top-bar {
        display: none;
    }

    .mobile-hide-profile {
        display: none !important;
    }

    .desktop-only-nav {
        display: none !important;
    }

    .header-content {
        position: relative;
        flex-wrap: wrap;
        padding: 25px 15px;
        gap: 15px 0;
    }

    .header-left {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .brand-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .mobile-menu-btn {
        display: block;
    }

    .header-actions {
        flex: 0 0 50%;
        max-width: 50%;
        justify-content: flex-end;
    }

    .search-bar {
        flex: 0 0 100%;
        max-width: 100%;
        order: 3;
        margin-top: 10px;
    }

    /* Mobile Navigation Drawer */
    .main-nav {
        position: fixed;
        top: 0;
        left: -300px;
        width: 280px;
        height: 100%;
        background: white;
        z-index: 1050;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding-top: 0 !important;
        padding-bottom: 80px !important;
        margin-top: 0;
    }

    .main-nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 0;
    }

    .nav-item {
        width: 100%;
        padding: 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-link {
        display: block;
        padding: 15px 20px;
        color: var(--text-dark);
    }

    .nav-item:hover .nav-link::after {
        display: none;
    }

    /* Mega menu turns into accordion-like on mobile (hidden by default to avoid huge scrolling) */
    .mega-menu {
        position: static;
        box-shadow: none;
        border: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        padding-left: 20px;
    }

    .mega-menu-inner {
        flex-direction: column;
        gap: 20px;
        padding: 10px 0 20px;
    }

    /* Hero Banner Mobile */
    .hero-banner-slider {
        aspect-ratio: 1920 / 850;
        height: auto;
        min-height: 0;
        margin-top: 0 !important;
    }

    main {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .slide-content {
        padding: 0 20px;
        align-items: center;
        text-align: center;
    }

    .slide-title {
        font-size: 32px;
        line-height: 1.3;
        margin-bottom: 20px;
    }

    .shop-now-btn {
        padding: 12px 30px;
        font-size: 14px;
    }

    /* Adjust Container Padding */
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 576px) {
    .brand-logo img {
        height: 100px !important;
    }

    .hero-banner-slider {
        aspect-ratio: 1920 / 850;
        height: auto;
        min-height: 0;
    }

    .slide-title {
        font-size: 26px;
    }

    .header-actions {
        gap: 15px;
    }

    .action-label {
        display: none;
    }
}

/* Mobile Sidebar Specific Styles */
.mobile-only-item {
    display: none;
}

.mobile-search-toggle {
    display: none !important;
}

.mobile-menu-btn {
    display: none;
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    font-size: 16px;
    color: var(--primary-color);
    cursor: pointer;
    margin-right: 15px;
    padding: 8px 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.mobile-menu-btn:hover {
    background: #fdfdfd;
    border-color: #d11d4d;
    box-shadow: 0 4px 8px rgba(209, 29, 77, 0.1);
}

@media (max-width: 991px) {
    .desktop-wishlist {
        display: none !important;
    }

    .mobile-search-toggle {
        display: flex !important;
    }

    .search-bar.mobile-active {
        opacity: 1 !important;
        visibility: visible !important;
    }

    .search-btn {
        display: none !important;
    }

    .search-bar {
        display: flex !important;
        position: absolute !important;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
        transform: none;
        padding: 0 !important;
        background: #ffffff;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
        z-index: 1100;
        margin: 0 !important;
        box-sizing: border-box;
        border-radius: 0;
        border: none;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .close-search-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        padding: 0 20px;
        font-size: 20px;
        color: #555;
        cursor: pointer;
    }

    .search-bar input {
        padding-left: 5px;
    }

    .mobile-only-item {
        display: block;
    }

    .mobile-menu-btn {
        display: block;
    }

    /* ===================================================
       MOBILE NAVIGATION DRAWER & SIDEBAR (Max 991px)
       =================================================== */
    .mobile-nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        background: rgba(0, 0, 0, 0.58);
        z-index: 100000;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
    }

    .mobile-nav-overlay.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .mobile-sidebar-drawer {
        position: fixed;
        top: 0;
        left: 0;
        width: 320px;
        max-width: 86vw;
        height: 100vh;
        height: 100dvh;
        background: #ffffff;
        z-index: 100001;
        box-shadow: 6px 0 35px rgba(0, 0, 0, 0.25);
        display: flex;
        flex-direction: column;
        transform: translateX(-100%);
        transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
        overflow: hidden;
    }

    .mobile-sidebar-drawer.active {
        transform: translateX(0);
    }

    /* Drawer Header */
    .mobile-sidebar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 14px 18px;
        background: #ffffff;
        border-bottom: 1px solid #f2ece2;
        flex-shrink: 0;
    }

    .mobile-sidebar-brand img {
        height: 48px;
        max-width: 175px;
        object-fit: contain;
    }

    .mobile-sidebar-close {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: #f7f3ed;
        border: 1px solid #e7ded2;
        color: #55483d;
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .mobile-sidebar-close:active,
    .mobile-sidebar-close:hover {
        background: var(--primary-color, #b8893b);
        color: #ffffff;
        border-color: var(--primary-color, #b8893b);
    }

    /* User Greeting Box */
    .mobile-sidebar-user {
        padding: 12px 18px;
        background: linear-gradient(135deg, #fdfbf7 0%, #f7f1e6 100%);
        border-bottom: 1px solid #ede3d3;
        flex-shrink: 0;
    }

    .user-greeting-box {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .user-icon-circle {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: #ffffff;
        border: 1px solid #dfcfb6;
        color: var(--primary-color, #b8893b);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 15px;
        flex-shrink: 0;
    }

    .user-icon-circle.logged-in {
        background: var(--primary-color, #b8893b);
        color: #ffffff;
        border-color: var(--primary-color, #b8893b);
    }

    .user-info-text {
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .user-greet-label {
        font-size: 11px;
        color: #7d6e5d;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-weight: 500;
    }

    .user-auth-link {
        font-size: 13px;
        font-weight: 600;
        color: var(--primary-color, #b8893b);
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 4px;
        margin-top: 2px;
    }

    .user-name {
        font-size: 14px;
        color: #2b1f13;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-weight: 700;
    }

    /* Scrollable Body */
    .mobile-sidebar-body {
        flex: 1;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 30px;
    }

    /* Quick Home link */
    .mobile-nav-group {
        list-style: none;
        padding: 8px 12px 0;
        margin: 0;
    }

    .mobile-nav-link {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 14px;
        border-radius: 8px;
        text-decoration: none;
        color: #2d261e;
        font-size: 14px;
        font-weight: 600;
        transition: background 0.2s ease, color 0.2s ease;
    }

    .mobile-nav-link.active,
    .mobile-nav-link:hover {
        background: #faf5ec;
        color: var(--primary-color, #b8893b);
    }

    .link-icon {
        width: 20px;
        text-align: center;
        color: var(--primary-color, #b8893b);
        font-size: 15px;
    }

    /* Section Titles */
    .mobile-sidebar-section {
        margin-top: 10px;
        border-top: 1px solid #f2ece2;
        padding-top: 10px;
    }

    .mobile-section-title {
        display: flex;
        align-items: center;
        padding: 8px 18px 6px;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 1px;
        color: #9c8a74;
        text-transform: uppercase;
    }

    /* Category List */
    .mobile-category-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mobile-category-item {
        border-bottom: 1px solid #f6f3ee;
    }

    .mobile-category-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .mobile-category-main-link {
        flex: 1;
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 13px 18px;
        text-decoration: none;
        color: #2a221b;
        font-size: 13.5px;
        font-weight: 600;
        letter-spacing: 0.3px;
        transition: all 0.2s ease;
    }

    .mobile-category-main-link:hover,
    .mobile-category-main-link:active {
        color: var(--primary-color, #b8893b);
        background: #faf7f2;
    }

    .category-bullet {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #d4bc94;
        flex-shrink: 0;
    }

    .category-expand-btn {
        width: 44px;
        height: 44px;
        background: transparent;
        border: none;
        color: #8c7c68;
        font-size: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: transform 0.25s ease, color 0.2s ease;
    }

    .category-expand-btn:hover {
        color: var(--primary-color, #b8893b);
    }

    .mobile-category-item.expanded .category-expand-btn {
        transform: rotate(180deg);
        color: var(--primary-color, #b8893b);
    }

    /* Subcategories Dropdown */
    .mobile-subcategory-wrapper {
        display: none;
        background: #fbf9f5;
        border-top: 1px solid #f0e9dc;
    }

    .mobile-category-item.expanded .mobile-subcategory-wrapper {
        display: block;
    }

    .mobile-subcategory-list {
        list-style: none;
        padding: 6px 0;
        margin: 0;
    }

    .mobile-subcategory-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 9px 20px 9px 34px;
        font-size: 13px;
        color: #55483a;
        text-decoration: none;
        transition: all 0.2s ease;
    }

    .mobile-subcategory-link:hover,
    .mobile-subcategory-link:active {
        color: var(--primary-color, #b8893b);
        padding-left: 38px;
        background: rgba(184, 137, 59, 0.06);
    }

    .mobile-subcategory-link.view-all-link {
        font-weight: 700;
        color: var(--primary-color, #b8893b);
        border-bottom: 1px dashed #eadecb;
        margin-bottom: 4px;
        padding-bottom: 10px;
    }

    /* Quick Links List (About, Contact, Order Track, Compliance) */
    .mobile-quick-links-list {
        list-style: none;
        padding: 4px 12px;
        margin: 0;
    }

    .mobile-quick-link {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 14px;
        margin-bottom: 4px;
        border-radius: 8px;
        text-decoration: none;
        color: #382d22;
        font-size: 13.5px;
        font-weight: 500;
        transition: all 0.2s ease;
    }

    .mobile-quick-link:hover,
    .mobile-quick-link:active {
        background: #faf5ec;
        color: var(--primary-color, #b8893b);
    }

    .quick-link-icon {
        width: 22px;
        text-align: center;
        color: var(--primary-color, #b8893b);
        font-size: 15px;
    }

    .quick-link-text {
        flex: 1;
    }

    .quick-link-arrow {
        color: #a89885;
        font-size: 13px;
    }

    .quick-link-badge {
        font-size: 11px;
        background: #f2e9dc;
        color: #7a5e35;
        padding: 3px 8px;
        border-radius: 12px;
        font-weight: 600;
    }

    /* Contact Details Card in Sidebar */
    .mobile-sidebar-footer-card {
        margin: 18px 14px 10px;
        padding: 12px 14px;
        background: #fbf9f5;
        border-radius: 8px;
        border: 1px solid #eee5d8;
        font-size: 12px;
        color: #7a6e60;
    }

    .footer-contact-row {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 6px;
    }

    .footer-contact-row:last-child {
        margin-bottom: 0;
    }

    .footer-contact-row i {
        color: var(--primary-color, #b8893b);
        font-size: 13px;
        width: 16px;
    }

    .footer-contact-row a {
        color: inherit;
        text-decoration: none;
        font-weight: 500;
    }
}

/* Force Mobile Logo Size (Overrides inline styles) */
@media (max-width: 768px) {
    .brand-logo img {
        height: 50px !important;
        width: auto !important;
    }
}

/* ===================================================
   DESKTOP VIEW PROTECTION (Min 992px)
   Strictly hide mobile drawer & overlay
   =================================================== */
@media (min-width: 992px) {

    #mobileNavDrawer,
    #mobileNavOverlay,
    .mobile-sidebar-drawer,
    .mobile-nav-overlay {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}

/* ===================================================
   TOP CATEGORY BADGE TEXT (Myntra-style)
   =================================================== */
.nav-badge-text {
    color: #ff3f6c;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    line-height: 1;
    margin-left: 4px;
    margin-top: -10px;
    text-transform: uppercase;
    display: inline-block;
    transition: transform 0.2s ease;
}

.nav-item:hover .nav-badge-text {
    transform: translateY(-1px);
}

.nav-badge-text.mobile-badge {
    margin-top: 0;
    margin-left: 8px;
    font-size: 9px;
    font-weight: 700;
    background-color: #ff3f6c;
    color: #ffffff;
    padding: 2px 7px;
    border-radius: 9999px;
    vertical-align: middle;
    letter-spacing: 0.5px;
    display: inline-block;
}