/* =========================================
   1. GLOBAL RESET & VARIABLES
   ========================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    height: auto !important;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

:root {
    --color-bg: #ffffff;
    --color-text: #1c1d1d;
    --color-text-light: #786D5F;
    --color-primary: #786D5F;
    --color-accent: #B7B09C;
    --color-border: #e3dac9;
    --color-dark: #5a5245;
    --color-beige-light: #e3dac9;
    --color-beige-medium: #B7B09C;
    --color-beige-dark: #786D5F;
    --font-heading: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --container-width: 1300px;
    --spacing-section: 36px;
    --transition: all 0.3s ease;
    --header-height: 56px;
    --announcement-height: 34px;
    --total-header-height: calc(var(--announcement-height) + var(--header-height));
    --radius: 10px;
    --radius-sm: 6px;
}

@media (min-width: 992px) {
    :root {
        --spacing-section: 60px;
        --header-height: 70px;
        --announcement-height: 38px;
    }
}

body.custom-home-page {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.5;
    width: 100%;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    height: auto !important;
    min-height: 100vh !important;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
}
@media (min-width: 768px) { .container { padding: 0 24px; } }
@media (min-width: 1200px) { .container { padding: 0 20px; } }

.section { padding: var(--spacing-section) 0; }
.text-center { text-align: center; }

/* =========================================
   2. BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 24px;
    background: var(--color-beige-dark);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    border: 2px solid var(--color-beige-dark);
    transition: var(--transition);
    border-radius: 2px;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
}
.btn:hover, .btn:active { background: transparent; color: var(--color-beige-dark); }

.btn-outline {
    background: transparent;
    color: var(--color-beige-dark);
    border: 2px solid var(--color-beige-dark);
}
.btn-outline:hover, .btn-outline:active { background: var(--color-beige-dark); color: #fff; }

@media (min-width: 768px) { .btn { padding: 12px 32px; font-size: 13px; } }

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}
.section-header h2 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text);
}
@media (min-width: 768px) {
    .section-header { margin-bottom: 36px; }
    .section-header h2 { font-size: clamp(20px, 3vw, 28px); }
}

/* =========================================
   3. ANNOUNCEMENT BAR
   ========================================= */
.announcement-bar {
    background: var(--color-dark);
    height: var(--announcement-height);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1002;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.2px;
    padding: 0 16px;
    text-align: center;
}
@media (min-width: 768px) { .announcement-bar { font-size: 13px; } }

/* =========================================
   4. HEADER — GLASSMORPHISM BEIGE
   ========================================= */
.site-header {
    position: fixed;
    top: var(--announcement-height);
    left: 0;
    right: 0;
    height: var(--header-height);
    width: 100%;
    z-index: 1000;
    background: rgba(227, 218, 201, 0.55);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    border-bottom: 1px solid rgba(183, 176, 156, 0.35);
    box-shadow: 0 2px 16px rgba(90, 82, 69, 0.08);
    transition: background 0.35s ease, border-bottom-color 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-scrolled {
    background: var(--color-beige-light) !important;
    border-bottom-color: var(--color-border) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

@supports (animation-timeline: scroll()) {
    .site-header {
        animation: headerSolidify linear both;
        animation-timeline: scroll(root block);
        animation-range: 0px calc(100vh - var(--total-header-height));
        transition: none;
    }
}

@keyframes headerSolidify {
    from {
        background: rgba(227, 218, 201, 0.45);
        backdrop-filter: blur(14px) saturate(160%);
        border-bottom-color: rgba(183, 176, 156, 0.3);
        box-shadow: 0 2px 16px rgba(90, 82, 69, 0.06);
    }
    to {
        background: var(--color-beige-light);
        backdrop-filter: none;
        border-bottom-color: var(--color-border);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }
}

.site-header .main-nav > ul > li > a,
.site-header .header-icon-btn svg,
.site-header .mobile-menu-toggle svg {
    color: var(--color-text);
    stroke: var(--color-text);
}

.site-header .main-nav > ul > li > a {
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}
.site-header .main-nav > ul > li > a:hover {
    border-bottom-color: var(--color-text);
}

.header-icon-btn {
    border-radius: 50%;
    transition: background 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}
.header-icon-btn:hover { background: rgba(90, 82, 69, 0.1); }

/* =========================================
   5. HEADER INNER LAYOUT & LOGO
   ========================================= */
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 12px;
    padding: 0 4px;
}

.logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.logo img {
    height: 100px;
    width: auto;
    min-width: 220px;
    max-width: 320px;
    object-fit: contain;
    display: block;
    filter: none !important;
}

/* 🟢 FIX 1: Logo 30% larger on desktop */
@media (min-width: 992px) {
    :root {
        --header-height: 88px; /* Slightly taller to prevent clipping */
    }
    .logo img {
        height: 130px; /* 30% larger than original 100px */
    }
}

/* =========================================
   6. NAVIGATION — DESKTOP
   ========================================= */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-nav > ul {
    display: flex;
    align-items: center;
    list-style: none;
}

.main-nav > ul > li { position: static; }

.main-nav > ul > li > a {
    display: flex;
    align-items: center;
    padding: 0 13px;
    height: var(--header-height);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

.mega-dropdown {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
    padding: 42px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    pointer-events: none;
    z-index: 100;
    border-top: 2px solid var(--color-beige-dark);
}
.main-nav > ul > li.has-dropdown:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.dropdown-column-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
    background: #f3efe8;
}

.dropdown-column-title {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #1c1d1d;
    display: block;
    margin-bottom: 8px;
}

.dropdown-link {
    display: block;
    padding: 6px 0;
    font-size: 14px;
    color: #555;
    transition: color 0.15s, padding-left 0.15s;
}
.dropdown-link:hover { color: var(--color-beige-dark); padding-left: 6px; }

.dropdown-shop-all {
    display: inline-block;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eee;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-beige-dark);
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 2px;
}
@media (min-width: 768px) { .header-icons { gap: 4px; } }

.header-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.cart-badge {
    position: absolute;
    top: 3px;
    right: 3px;
    background: var(--color-beige-dark);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-search { position: relative; }

.header-search input {
    width: 0;
    opacity: 0;
    border: none;
    background: rgba(255,255,255,0.92);
    border-radius: 30px;
    padding: 0;
    font-size: 13px;
    transition: width 0.3s, opacity 0.3s, padding 0.3s;
    color: #000;
    outline: none;
}
.header-search.active input {
    width: 160px;
    opacity: 1;
    padding: 8px 36px 8px 14px;
}
@media (min-width: 768px) { .header-search.active input { width: 200px; } }

.header-search .search-icon-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
    z-index: 1003;
    -webkit-tap-highlight-color: transparent;
}
.mobile-close { display: none; }

/* =========================================
   7. MOBILE NAVIGATION & PERFECT ROW ALIGNMENT
   ========================================= */
@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 44px !important;
        height: 56px !important; /* Matches --header-height exactly */
        padding: 0 !important;
        margin: 0 !important;
    }

    /* 1. Full-Screen Menu Overlay Box */
    .main-nav {
        display: block !important; 
        position: fixed !important;
        top: 0 !important; 
        left: 0 !important; 
        width: 100vw !important; 
        height: 100vh !important; 
        height: 100dvh !important; 
        background: #ffffff !important; 
        z-index: 100000 !important; 
        
        /* Premium, smooth fade transition execution */
        opacity: 0;
        visibility: hidden;
        transform: scale(1.01);
        transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
        
        /* Pushes internal links completely below the active header row area */
        padding: calc(var(--announcement-height) + var(--header-height) + 20px) 20px 40px !important; 
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    /* Full-Screen Open State Trigger */
    .main-nav.open {
        opacity: 1 !important;
        visibility: visible !important;
        transform: scale(1) !important;
    }

    /* 2. Close Button — Mathematically aligned precisely over the Hamburger Menu */
    .mobile-close {
        display: flex !important;
        position: absolute !important; 
        top: var(--announcement-height) !important; /* Locked exactly at 34px from screen top */
        left: 12px !important; /* Aligns with container padding layout */
        height: var(--header-height) !important; /* Locked exactly at 56px height */
        width: 44px !important; /* Matches hamburger tracking width perfectly */
        background: transparent !important; 
        border: none !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        z-index: 100005 !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .mobile-close svg {
        width: 24px !important; 
        height: 24px !important;
        stroke: var(--color-text) !important;
        stroke-width: 2px !important;
    }

    /* 3. Navigation Links List Layout */
    .main-nav > ul {
        flex-direction: column !important;
        align-items: stretch !important; 
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        list-style: none !important;
    }

    .main-nav > ul > li {
        width: 100% !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    }

    .main-nav > ul > li > a {
        padding: 16px 4px !important; 
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        font-size: 16px !important; 
        font-weight: 600 !important;
        height: auto !important;
        color: var(--color-text) !important;
        letter-spacing: 0.5px !important;
    }

    /* Dropdown Accordion Indicators */
    .main-nav > ul > li.has-dropdown > a::after {
        content: '';
        display: inline-block;
        width: 7px;
        height: 7px;
        border-right: 2px solid var(--color-beige-dark);
        border-bottom: 2px solid var(--color-beige-dark);
        transform: rotate(45deg);
        transition: transform 0.2s ease;
        margin-right: 6px;
        flex-shrink: 0;
    }

    .main-nav > ul > li.has-dropdown.mobile-open > a::after {
        transform: rotate(-135deg);
    }

    .main-nav .mega-dropdown {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        padding: 0 !important;
        box-shadow: none !important;
        border-top: none !important;
        background: #faf9f7 !important;
        display: none !important;
        width: 100% !important;
        border-radius: var(--radius-sm);
    }

    .main-nav .has-dropdown.mobile-open .mega-dropdown {
        display: block !important;
        margin-bottom: 12px;
    }

    .main-nav .dropdown-grid {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        padding: 8px 16px !important;
    }

    .main-nav .dropdown-column {
        padding: 6px 0 !important;
        border-bottom: none !important;
    }

    .main-nav .dropdown-column-img { display: none !important; }

    .main-nav .dropdown-column-title {
        font-size: 11px !important;
        color: var(--color-beige-dark) !important;
        margin-bottom: 4px !important;
        font-weight: 700 !important;
    }

    .main-nav .dropdown-link { 
        font-size: 14px !important; 
        padding: 6px 0 !important; 
        color: #555 !important; 
    }
    
    .main-nav .dropdown-shop-all { 
        font-size: 12px !important; 
        margin-top: 4px !important; 
        padding: 6px 0 !important; 
    }
    
    /* 4. Perfect Structural Grid Center-Alignment for Header Row Elements */
    .header-inner { 
        padding: 0 12px !important; 
        gap: 0 !important; 
        display: grid !important;
        grid-template-columns: 44px 1fr auto !important; /* Perfect balance columns */
        align-items: center !important;
        height: 100% !important;
    }

    /* Logo Balanced Centering Rule */
    .logo {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        height: 100% !important;
        width: 100% !important;
        margin: 0 auto !important;
    }

    .logo img {
        height: 64px !important; /* Restores elegant premium mobile rendering height proportions */
        width: auto !important;
        min-width: 0 !important;
        max-width: 180px !important;
        object-fit: contain !important;
    }

    /* Action Buttons Cluster Alignment Block */
    .header-icons { 
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 6px !important; 
        height: 100% !important;
        flex-shrink: 0 !important;
    }

    .header-icon-btn { 
        width: 38px !important; 
        height: 38px !important; 
        min-width: 38px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
    }

    .cart-badge { 
        top: 2px !important; 
        right: 2px !important; 
        width: 15px !important; 
        height: 15px !important; 
        font-size: 9px !important; 
    }

    .site-header { 
        overflow: visible !important; 
    }

    /* 🔍 Dynamic Mobile Search Row Injection Fix */
    .header-search {
        position: static !important; /* Relaxes flow constraints to protect header alignments */
        display: flex !important;
        align-items: center !important;
    }

    .header-search.active input {
        position: absolute !important;
        top: var(--header-height) !important; /* Drops right out seamlessly beneath the layout border */
        left: 0 !important;
        width: 100vw !important; 
        max-width: 100% !important;
        opacity: 1 !important;
        padding: 12px 16px !important;
        font-size: 15px !important;
        background: #ffffff !important;
        border-top: 1px solid var(--color-border) !important;
        border-left: none !important;
        border-right: none !important;
        border-bottom: 2px solid var(--color-beige-dark) !important;
        border-radius: 0 !important;
        box-shadow: 0 10px 20px rgba(0,0,0,0.08) !important;
        z-index: 999 !important;
    }

    .header-search .search-icon-btn {
        position: relative !important;
        right: 0 !important;
        top: 0 !important;
        transform: none !important;
        z-index: 10 !important;
    }
}

/* =========================================
   8. HERO SECTION
   ========================================= */
main { position: relative; z-index: 1; margin-top: 0; }

.hero-section {
    position: relative;
    height: 100svh;
    min-height: 480px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 🟢 FIX 4: Mobile-specific hero banner */
@media (max-width: 768px) {

    .hero-section {

        background-image: url('/catalog/view/theme/default/image/mobile-banner.webp') !important;

        background-size: cover;

        background-position: center top;

    }

}




.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
    width: 100%;
    max-width: 800px;
}

.hero-content h1 {
    font-size: clamp(2rem, 8vw, 5rem);
    color: #fff;
    text-shadow: 0 4px 24px rgba(0,0,0,0.35);
    margin-bottom: 24px;
    font-family: var(--font-heading);
    font-weight: 200;
    line-height: 1.1;
}

.hero-btn {
    color: #fff;
    background-color: var(--color-beige-medium);
    border: 2px solid #fff;
    padding: 14px 36px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 12px;
    margin-top: 160px;
    -webkit-tap-highlight-color: transparent;
}
@media (min-width: 768px) { .hero-btn { padding: 16px 44px; font-size: 13px; margin-top: 200px; } }
.hero-btn:hover, .hero-btn:active { background: transparent; color: #fff; transform: translateY(-2px); }

/* =========================================
   9. SUB BANNER
   ========================================= */
.sub-banner { background: var(--color-beige-medium); padding: 16px 0; }
@media (min-width: 768px) { .sub-banner { padding: 20px 0; } }

.sub-banner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    text-align: center;
}
@media (min-width: 768px) {
    .sub-banner-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}

.sub-banner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 10px;
    flex-direction: column;
    padding: 4px;
}
@media (min-width: 480px) { .sub-banner-item { flex-direction: row; font-size: 11px; } }
@media (min-width: 768px) { .sub-banner-item { font-size: 13px; letter-spacing: 1px; } }

.sub-banner-item svg { width: 20px; height: 20px; fill: #fff; flex-shrink: 0; }
@media (min-width: 768px) { .sub-banner-item svg { width: 24px; height: 24px; } }

/* =========================================
   10. COLLECTION GRID (WITH FIXED ANCHOR FIX)
   ========================================= */
/* Target the outer section element or the grid itself to clear the sticky header */
.collections-grid,
section:has(.collections-grid),
#collection-grid {
    /* Prevents the sticky header from hiding your content when clicking the link */
    scroll-margin-top: 120px !important; 
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
@media (min-width: 640px) { .collections-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 992px) { .collections-grid { grid-template-columns: repeat(5, 1fr); gap: 18px; } }

.collection-card {
    display: block;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/5;
    background: var(--color-beige-medium);
    -webkit-tap-highlight-color: transparent;
}

.collection-image-wrap {
    position: absolute;
    inset: 0;
}

.collection-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
}

@media (hover: hover) {
    .collection-card:hover img { transform: scale(1.07); }
}

.collection-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.05) 55%);
    z-index: 1;
    border-radius: var(--radius);
}

.collection-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 12px;
    z-index: 2;
    text-align: center;
    background: none;
}

.collection-card h3 {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0 0 2px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
@media (min-width: 768px) { .collection-card h3 { font-size: 14px; } }

.collection-card p {
    font-size: 11px;
    color: rgba(255,255,255,0.85);
    margin: 0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
@media (min-width: 768px) { .collection-card p { font-size: 12px; } }


/* 🟢 FIX 5: Center last item on mobile grid - CORRECTED */
@media (max-width: 639px) {
    .collections-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .collection-card:nth-child(5) {
        grid-column: 1 / -1; /* Span full width */
        justify-self: center; /* Center horizontally */
        max-width: 50%; /* Take up half the width */
    }
}

/* =========================================
   11. BEST SELLERS / PRODUCT GRID
   ========================================= */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
@media (min-width: 640px) { .product-grid { gap: 20px; } }
@media (min-width: 992px) {
    .product-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}

.product-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}
@media (hover: hover) { .product-card:hover { box-shadow: 0 10px 28px rgba(0,0,0,0.1); } }

.product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--color-beige-light);
    display: block;
}

.img-primary, .img-hover {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.img-hover { opacity: 0; z-index: 2; }
@media (hover: hover) {
    .product-card:hover .img-hover { opacity: 1; transform: scale(1.05); }
}

.product-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: linear-gradient(0deg, rgba(0,0,0,0.18) 0%, transparent 60%);
}
@media (hover: hover) { .product-card:hover .product-overlay { opacity: 1; } }

.quick-view-btn {
    background: #fff;
    color: #1c1d1d;
    padding: 9px 18px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transform: translateY(8px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    font-family: var(--font-heading);
    border-radius: 2px;
}
@media (hover: hover) {
    .product-card:hover .quick-view-btn { transform: translateY(0); }
    .quick-view-btn:hover { background: var(--color-beige-dark); color: #fff; }
}

.product-info { padding: 10px 12px 14px; text-align: center; }
@media (min-width: 768px) { .product-info { padding: 14px 16px 18px; } }

.product-title {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--color-text);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (min-width: 768px) { .product-title { font-size: 14px; } }

.product-price { font-size: 14px; font-weight: 700; color: var(--color-beige-dark); }
@media (min-width: 768px) { .product-price { font-size: 16px; } }
.product-badge { display: none !important; }

/* =========================================
   12. SCROLLING TEXT
   ========================================= */
.scrolling-text {
    background: var(--color-beige-light);
    padding: 16px 0;
    overflow: hidden;
    white-space: nowrap;
}
@media (min-width: 768px) { .scrolling-text { padding: 22px 0; } }

.scrolling-text-inner {
    display: inline-block;
    animation: marqueeScroll 25s linear infinite;
}

.scrolling-text span {
    display: inline-block;
    padding: 0 28px;
    font-family: var(--font-heading);
    font-size: clamp(18px, 4vw, 32px);
    font-weight: 200;
    color: var(--color-dark);
}
@media (min-width: 768px) { .scrolling-text span { padding: 0 40px; } }

@keyframes marqueeScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* =========================================
   13. ABOUT SECTION
   ========================================= */
.about-section {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 48px 20px;
}
@media (min-width: 768px) { .about-section { padding: 80px 20px; } }

.about-section h3 {
    font-size: clamp(18px, 4vw, 28px);
    margin-bottom: 16px;
    font-family: var(--font-heading);
    color: var(--color-beige-dark);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.about-section p {
    font-size: 15px;
    color: var(--color-text-light);
    margin-bottom: 28px;
    line-height: 1.7;
}
@media (min-width: 768px) { .about-section p { font-size: 17px; } }

/* =========================================
   14. HOTSPOT SECTIONS
   ========================================= */
.hotspot-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 28px 0;
}
@media (min-width: 768px) {
    .hotspot-section {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
        margin: 50px 0;
        align-items: center;
    }
    .hotspot-section.reverse { direction: rtl; }
    .hotspot-section.reverse > * { direction: ltr; }
}
@media (min-width: 992px) { .hotspot-section { gap: 60px; margin: 60px 0; } }

.hotspot-img {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16/10;
    background: var(--color-beige-light);
}
@media (min-width: 768px) { .hotspot-img { aspect-ratio: 4/3; } }
.hotspot-img img { width: 100%; height: 100%; object-fit: cover; }

.hotspot-content h3 {
    font-size: clamp(17px, 3vw, 24px);
    margin-bottom: 12px;
    font-family: var(--font-heading);
    color: var(--color-beige-dark);
    font-weight: 700;
    line-height: 1.3;
}

.hotspot-content p {
    color: var(--color-text-light);
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 14px;
}
@media (min-width: 768px) { .hotspot-content p { font-size: 15px; } }

/* =====================================================
   PREMIUM TESTIMONIALS STRUCTURE (UPDATED FOR MOBILE)
   ===================================================== */
:root {
    --brand-dark: #1a1a1a;
    --brand-muted: #757575;
    --brand-gold: #b8a55a;
    --card-bg: #ffffff; /* Explicitly white */
    --section-bg: #fdfbf7; 
}

.testimonials-section {
    background-color: var(--section-bg);
    padding: 100px 0;
    overflow: hidden;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Header UI */
.testi-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px auto;
}
.testi-tagline {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--brand-gold);
    margin-bottom: 12px;
}
.testi-main-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--brand-dark);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
    line-height: 1.2;
}
.testi-subtitle {
    font-size: 15px;
    color: var(--brand-muted);
    line-height: 1.6;
}

/* Slider Track Infrastructure */
.testi-slider-wrap {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.testi-overflow {
    overflow: hidden;
    width: 100%;
    border-radius: 4px;
}
.testi-track {
    display: flex;
    cursor: grab;
    will-change: transform;
    /* Cross-browser protection to kill accidental text-highlight selection during swipe */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* IE10+/Edge */
    user-select: none;         /* Standard */
}
.testi-track:active {
    cursor: grabbing;
}

/* Bento Modern Card Styling */
.testi-card {
    background: var(--card-bg) !important; /* Forces white on all screen sizes */
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease;
    box-sizing: border-box;
}
.testi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

/* Stars UI */
.testi-stars {
    color: var(--brand-gold);
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

/* Review Text */
.testi-text {
    font-size: 16px;
    line-height: 1.7;
    color: #333333;
    font-style: italic;
    margin: 0 0 32px 0;
    flex-grow: 1;
}

/* Footer & Asset Alignment */
.testi-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 20px;
    gap: 15px;
}
.testi-user-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.testi-author {
    font-size: 15px;
    font-weight: 700;
    color: var(--brand-dark);
}
.testi-product {
    font-size: 13px;
    color: var(--brand-muted);
}
.testi-product-img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

/* Minimalist Nav Arrows */
.testi-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--brand-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.testi-arrow:hover {
    background: var(--brand-dark);
    color: #ffffff;
    border-color: var(--brand-dark);
}
.testi-arrow svg {
    width: 20px;
    height: 20px;
}
.testi-arrow.prev { left: -10px; }
.testi-arrow.next { right: -10px; }

/* Dynamic Pagination Dots */
.testi-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}
.testi-dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.15);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.testi-dot.active {
    width: 24px;
    background: var(--brand-dark);
}

/* Responsive Adaptive Viewports */
@media (max-width: 1280px) {
    .testi-arrow.prev { left: 0; }
    .testi-arrow.next { right: 0; }
}
@media (max-width: 768px) {
    .testimonials-section { padding: 60px 0; }
    .testi-main-title { font-size: 26px; }
    .testi-card { 
        padding: 24px; 
        background: #ffffff !important; /* Double-verification container override */
    }
    .testi-arrow { display: none; } 
}

/* =========================================
   16. BLOG SECTION
   ========================================= */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 640px) { .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 992px) { .blog-grid { grid-template-columns: repeat(3, 1fr); gap: 30px; } }

.blog-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid var(--color-border);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}
@media (hover: hover) {
    .blog-card:hover { box-shadow: 0 10px 28px rgba(0,0,0,0.1); transform: translateY(-3px); }
}

.blog-image { aspect-ratio: 16/9; overflow: hidden; background: var(--color-beige-light); display: block; }
.blog-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
@media (hover: hover) { .blog-card:hover .blog-image img { transform: scale(1.05); } }

.blog-info { padding: 14px 16px 18px; }
.blog-info h4 {
    font-size: 14px;
    line-height: 1.45;
    font-weight: 600;
    color: var(--color-text);
    font-family: var(--font-heading);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (min-width: 768px) { .blog-info { padding: 18px 20px 22px; } .blog-info h4 { font-size: 16px; } }
.blog-info h4 a:hover { color: var(--color-beige-dark); }

/* =========================================
   17. FOOTER
   ========================================= */
.site-footer { background: var(--color-dark); color: #fff; padding: 48px 0 24px; }
@media (min-width: 768px) { .site-footer { padding: 80px 0 30px; } }

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
    margin-bottom: 40px;
}
@media (min-width: 768px) {
    .footer-grid { grid-template-columns: repeat(4, 1fr); gap: 40px; margin-bottom: 60px; }
}

.footer-col:first-child { grid-column: 1 / -1; }
@media (min-width: 768px) { .footer-col:first-child { grid-column: auto; } }

.footer-col h4 {
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 16px;
    letter-spacing: 1.5px;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-beige-light);
}
@media (min-width: 768px) { .footer-col h4 { font-size: 13px; margin-bottom: 20px; } }

.footer-col ul li { margin-bottom: 9px; }
.footer-col a { color: var(--color-beige-medium); font-size: 13px; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }

.footer-newsletter input {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--color-beige-medium);
    background: rgba(255,255,255,0.07);
    color: #fff;
    margin-bottom: 10px;
    border-radius: 2px;
    font-size: 13px;
    outline: none;
    -webkit-appearance: none;
}
.footer-newsletter input::placeholder { color: var(--color-beige-medium); }
.footer-newsletter input:focus { border-color: var(--color-beige-light); }
.footer-newsletter .btn { width: 100%; padding: 12px; background: var(--color-beige-medium); border-color: var(--color-beige-medium); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    color: var(--color-beige-medium);
    font-size: 12px;
    text-align: center;
}
@media (min-width: 768px) { .footer-bottom { justify-content: space-between; font-size: 13px; } }

.social-icons { display: flex; gap: 14px; }
.social-icons a svg { width: 20px; height: 20px; fill: var(--color-beige-medium); transition: fill 0.2s; }
.social-icons a:hover svg { fill: #fff; }

/* =========================================
   18. ACCESSIBILITY & TOUCH
   ========================================= */
@media (max-width: 992px) {
    .header-icon-btn { width: 42px; height: 42px; }
}

a:focus-visible, button:focus-visible {
    outline: 2px solid var(--color-beige-dark);
    outline-offset: 3px;
    border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    .scrolling-text-inner { animation: none; }
}