/** Shopify CDN: Minification failed

Line 1660:10 Expected identifier but found whitespace
Line 1660:11 Unexpected "#000"

**/
/* =========================================
   DHOONKI DESIGN SYSTEM & SHARED STYLES
   ========================================= */

:root {
    /* BRAND PALETTE */
    --color-primary: #573010;   /* Dark Brown */
    --color-secondary: #8c6346; /* Bronze */
    --color-accent: #a48772;    /* Tan */
    --color-gold: #c5a059;      /* Metallic Gold */
    --bg-cream: #f9f5eb;        /* Cream/Off-White */
    --bg-dark-cream: #f5e8d3;   
    --white: #ffffff;
    --black: #1a1a1a;
    
    /* MODERN TRENDS */
    --gradient-text: radial-gradient(circle, #7d5a3c 10%, #331c0a 100%);
    --gradient-gold: linear-gradient(135deg, #dfc282 0%, #b89552 100%);
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: 1px solid rgba(87, 48, 16, 0.1);
    
    /* STRUCTURE - Premium */
    --border-radius: 4px;       /* Sharper, more editorial */
    --shadow-soft: 0 10px 40px rgba(87, 48, 16, 0.08); 
    --shadow-hover: 0 15px 50px rgba(87, 48, 16, 0.12);
    
    /* TYPOGRAPHY */
    --font-display: 'Cinzel', serif;
    --font-body: 'Open Sans', sans-serif;
    --font-accent: 'Martel', serif;

    /* LAYOUT & SPACING */
    --container-width: 94%;
    --max-width: 1800px;
    --section-spacing: 60px; 
    --grid-gap: 6px; 
}

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

body {
    /* background-color: var(--bg-cream); */
    background-color: #fdfdfd;
    color: var(--color-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* REUSABLE CLASSES */
.container {
    width: var(--container-width);
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 1.5rem; 
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;

    /* Solid Primary Color */
    color: var(--color-primary);    
    /* CENTERING FIX */
    display: block; 
    width: fit-content;
    margin-left: auto; 
    margin-right: auto;
}

/* Product Sections: Left align title, keep nav buttons on right */
.products-section .section-title {
    text-align: left;
    margin-left: 10px;
    margin-right: 0; 
    width: auto;
}

.section-subtitle {
    text-align: center;
    font-family: var(--font-accent);
    color: var(--color-secondary);
    margin-top: -20px; /* Tighter */
    margin-bottom: 30px;
    font-size: 0.95rem;
}

/* BUTTONS - Boxy Modern (Restored) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    border-radius: 0px; /* Boxy Style */
}

.btn-white {
    background-color: var(--white);
    color: var(--color-primary);
    border: 1px solid #e5e5e5;
}
.btn-white:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.btn-primary {
    background-color: #3e220b; /* Darker brown default */
    color: var(--white);
    box-shadow: 0 4px 12px rgba(87, 48, 16, 0.1);
    border: 1px solid #3e220b;
}
.btn-primary:hover {
    background-color: var(--color-primary); /* Lighter brown hover */
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(87, 48, 16, 0.2);
    opacity: 1; 
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
}
.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--white);
}

/* UTILITIES */
/* UTILITIES */
.mobile-search-dropdown,
.mobile-only { display: none !important; }

/* HEADER - Revert to Original */
header,
.page-index header {
    background-color: rgba(249, 245, 235, 0.85); /* Semi-transparent Brand Cream */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(87, 48, 16, 0.05);
    transition: all 0.4s ease;
}

.header-inner,
.page-index .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img,
.page-index .logo img { 
    height: auto; 
    max-width: 4.5rem;
}

.nav-links,
.page-index .nav-links {
    display: flex;
    gap: 40px;
}
.nav-links a,
.page-index .nav-links a {
    font-family: var(--font-body); /* Revert font */
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase; 
    letter-spacing: 0.05em;
    color: var(--color-primary);
    position: static;
}
.nav-links a::after { content: none; } /* Remove underline effect */
.nav-links a:hover,
.page-index .nav-links a:hover { color: var(--color-secondary); }

.header-actions,
.page-index .header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-box,
.page-index .search-box {
    position: relative;
}
.search-box input,
.page-index .search-box input {
    background: var(--white);
    border: 1px solid #ddd;
    padding: 8px 15px 8px 35px;
    border-radius: 20px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    width: 250px;
    outline: none;
    color: var(--color-primary);
}
.search-box input::placeholder { color: #aaa; }
.search-icon,
.page-index .search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    opacity: 0.5;
    right: auto; /* Reset right align */
    pointer-events: none;
}

/* Icon Wrappers - Sync with index.html */
.nav-icon,
.page-index .nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 20px; 
    width: 20px;
}
.action-icon,
.page-index .action-icon { width: 20px; height: 20px; cursor: pointer; transition: none; display: block; }
.action-icon:hover,
.page-index .action-icon:hover { transform: none; }

/* MOBILE MENU OVERLAY */
.mobile-menu-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(255, 255, 255, 0.98); /* Less transparent for legibility */
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(10px);
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-close {
    position: absolute;
    top: 24px; right: 24px;
    cursor: pointer;
    padding: 8px;
    color: var(--color-primary);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: center;
}

.m-link {
    font-family: var(--font-display); 
    font-size: 2.5rem; /* Big, editorial font */
    color: var(--color-primary);
    text-decoration: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.mobile-menu-overlay.active .m-link {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delay for links */
.mobile-menu-overlay.active .m-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu-overlay.active .m-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu-overlay.active .m-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu-overlay.active .m-link:nth-child(4) { transition-delay: 0.25s; }

.m-link.highlight {
    font-family: var(--font-body);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 16px;
    font-weight: 600;
    border: none;
    padding: 0;
}

.mobile-menu-footer {
    position: absolute;
    bottom: 40px;
    font-size: 0.8rem;
    color: var(--color-secondary);
    opacity: 0.5;
    text-transform: none;
    letter-spacing: normal;
}


/* PRODUCT CARD (Shared - Clean Modern) */
.product-card {
    background: var(--white);
    border-radius: var(--border-radius); /* Rounded */
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid #e8e8e8; /* Restore border */
    position: relative;
    group: hover;
}
.product-card:hover {
    transform: translateY(-8px); /* Restore lift */
    box-shadow: var(--shadow-soft);
}
.product-card:hover .pc-image img {
    transform: scale(1.06);
}

.pc-image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #f8f8f8;
    margin: 0; /* Reset margins */
}
.pc-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.8s ease;
}

/* Badge: Glassmorphic Capsule */
.pc-rating-badge {
    position: absolute;
    bottom: 10px; left: 10px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 4px 10px;
    border-radius: 20px; /* Fully rounded */
    font-size: 0.75rem;
    font-weight: 700;
    display: flex; align-items: center; gap: 4px;
    color: var(--color-primary);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border: 1px solid rgba(255,255,255,0.6);
    top: auto; /* Reset top */
    text-transform: none;
    letter-spacing: normal;
}
.pc-rating-badge .rating-star {
    color: #f5a623 !important;
    font-size: 0.85rem;
    line-height: 1;
    margin-right: 2px;
}

.pc-image .wishlist-icon {
    position: absolute;
    top: 10px; right: 10px;
    width: 36px; height: 36px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: none; cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 5;
    transition: all 0.3s ease;
    padding: 0;
}
.pc-image .wishlist-icon:hover {
    transform: scale(1.1);
    background: #fff;
}
.pc-image .wishlist-icon svg {
    width: 18px; height: 18px;
    stroke: #333;
    fill: none;
    transition: all 0.3s ease;
}
.pc-image .wishlist-icon.active svg {
    fill: #e53935;
    stroke: #e53935;
}

.pc-details { 
    padding: 10px; /* Restore padding */
    text-align: left;
}

.pc-title {
    font-family: var(--font-body); /* Open Sans */
    font-size: 0.9rem;
    font-weight: 500;
    color: #5d432f;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.02em;
}

.pc-price {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    color: #111;
}
.pc-price .strike {
    text-decoration: line-through;
    color: #aaa;
    font-weight: 400;
    font-size: 0.75rem;
    margin-left: 5px;
}

/* FOOTER */
footer {
    margin-top: 80px;
    z-index: 10;
    position: relative;
}

footer,
.page-index footer {
    background-color: var(--color-primary);
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    padding: 60px 0 30px 0;
}

/* About Page Override */
.page-about footer { margin-top: 0 !important; }

/* Shop Page Footer Spacing */
.page-shop footer { margin-top: 120px; }
.footer-grid,
.page-index .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}
footer h3,
.page-index footer h3,
.footer-brand-title {
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 8px; /* Standardize prototype margin */
}
.footer-brand-text {
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #fff;
}
footer h4,
.page-index footer h4 {
    color: #fff;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 25px;
    font-weight: 700;
    font-family: 'Open Sans', sans-serif;
}
.footer-links li,
.page-index .footer-links li { margin-bottom: 12px; }
.footer-links a,
.page-index .footer-links a { 
    color: #fff; 
    font-size: 0.9rem; 
    transition: 0.3s;
}
.footer-links a:hover,
.page-index .footer-links a:hover { color: var(--color-accent); padding-left: 5px; }

.footer-bottom,
.page-index .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #fff;
}
.footer-payment-icons {
    display: flex;
    gap: 10px;
}

.social-icons,
.page-index .social-icons { display: flex; gap: 15px; margin-top: 20px; }
.social-icon,
.page-index .social-icon { width: 32px; height: 32px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; transition: 0.3s; }
.social-icon:hover,
.page-index .social-icon:hover { background: var(--color-accent); }

/* SCROLLING UTILS */
.scrolling-wrapper {
    position: relative;
    width: 100%;
}
/* SECTION HEADER ALIGNMENT */
.section-header-centered {
    position: relative;
    display: flex;
    justify-content: center; /* Desktop Center */
    align-items: center;
    margin-bottom: 24px;
    border: none; /* Remove previous border */
    padding: 0;   /* Remove previous padding */
}
.section-header-centered .nav-buttons {
    position: absolute;
    right: 0;
    display: flex;
    gap: 12px;
}
/* NAVIGATION BUTTONS (Global) */
.cat-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    /* Solid Primary Background */
    background: var(--color-primary);
    border: none;

    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(87, 48, 16, 0.25);
    color: var(--white); /* High Contrast Icon */
}

.cat-nav-btn:hover {
    background: var(--color-secondary); /* Bronze on hover */
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(87, 48, 16, 0.4);
}

/* Mobile Override for Header Alignment */
@media (max-width: 768px) {
    .section-header-centered {
        justify-content: space-between; /* Title Left, Buttons Right */
        align-items: center; /* Center vertically */
    }
    .section-header-centered .nav-buttons {
        position: static; /* Remove absolute */
        margin-right: 0; /* Align flush right */
        flex-shrink: 0; /* Ensure buttons don't squash */
        gap: 8px; /* Tighter gap */
    }
    .section-header-centered .section-title {
        font-size: 1.15rem; /* Smaller to fit single line */
        text-align: left;
        margin-right: 10px; /* Reduced spacing */
        line-height: 1.2;
    }
    
    /* Smaller Nav Buttons on Mobile */
    .cat-nav-btn {
        width: 32px;
        height: 32px;
    }
    .cat-nav-btn svg {
        width: 14px; height: 14px;
    }
}

/* Ultra-Compact Mobile (< 370px) */
@media (max-width: 370px) {
    .section-header-centered .section-title {
        font-size: 1rem; /* Smallest acceptable size */
    }
    .cat-nav-btn {
        width: 30px; height: 30px; /* Minimal touch target visual */
    }
    .cat-nav-btn svg {
        width: 14px; height: 14px;
    }
    .section-header-centered .nav-buttons {
        gap: 5px; 
    }
}

.section-header-centered .section-title {
    /* Reset specific overrides if any, relies on main .section-title */
    margin-bottom: 0;
    text-align: center;
    width: fit-content;
}
.scroll-grid {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 30px;
    scrollbar-width: none;
}
.scroll-grid::-webkit-scrollbar { display: none; }
.scroll-card {
    flex: 0 0 260px;
    scroll-snap-align: start;
}

/* =========================================
   SHOP PAGE SPECIFIC STYLES
   ========================================= */
.shop-hero {
    background: linear-gradient(rgba(249, 245, 235, 0.85), rgba(249, 245, 235, 0.85)),
                url('shop-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 55px 0; /* Restored to original padding */
    margin-bottom: 30px;
    text-align: center;
    color: var(--color-primary);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(87, 48, 16, 0.1);
}

.shop-hero .section-title {
    color: var(--color-primary);
    background: none;
    -webkit-text-fill-color: initial; 
    margin-bottom: 16px; /* Increased from 8px for desktop */
    font-size: 2.4rem; /* Slightly larger for presence */
    text-shadow: none;
    letter-spacing: 0.02em;
}

.shop-hero .section-subtitle {
    color: rgba(87, 48, 16, 0.8);
    margin-bottom: 0;
    letter-spacing: 0.2em;
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 700;
}

.shop-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 30px; /* Reduced from 60px */
    margin-top: 20px; /* Reduced from 40px */
    margin-bottom: 100px; /* Increased to match product page and prevent footer collision */
    align-items: start;
}

.shop-sidebar {
    position: sticky;
    top: 100px; /* Sync with header/gallery */
    height: fit-content;
    padding-right: 15px;
    padding-bottom: 40px; /* Extra breathing room at bottom of container */
    border-right: 1px solid rgba(87,48,16,0.05);
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}
.filter-header-style { margin: 0; }
.filter-controls-wrapper { display: flex; align-items: center; gap: 15px; }

.btn-clear {
    background: none;
    border: none;
    color: #888;
    text-decoration: underline;
    font-family: var(--font-body);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0;
    transition: 0.2s;
}
.btn-clear:hover { color: var(--color-primary); }

.filter-group {
    margin-bottom: 25px;
}

/* Range Slider Styles */
.range-group {
    position: relative;
    height: 30px;
    margin-bottom: 10px;
}
.range-track {
    width: 100%;
    height: 4px;
    background: #e0e0e0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 2px;
}
.range-input {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}
.range-input::-webkit-slider-thumb {
    pointer-events: auto;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: var(--color-primary);
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.range-input::-moz-range-thumb {
    pointer-events: auto;
    width: 16px;
    height: 16px;
    background: var(--color-primary);
    border: 2px solid #fff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    border: none;
}

.filter-title {
    font-family: var(--font-body); /* Open Sans */
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #000; /* Black */
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Custom Checkbox Styling */
.filter-list li {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #000; /* High contrast black */
    transition: 0.2s;
}

.filter-list li label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    width: 100%;
}

.filter-list li:hover { color: var(--color-primary); }

.filter-list input[type="checkbox"] {
    appearance: none;
    width: 14px; height: 14px;
    border: 1px solid #8c6346;
    border-radius: 2px;
    display: grid;
    place-content: center;
    cursor: pointer;
}
.filter-list input[type="checkbox"]::before {
    content: "";
    width: 8px; height: 8px;
    background-color: var(--color-primary);
    transform: scale(0);
    transition: 0.1s;
}
.filter-list input[type="checkbox"]:checked::before {
    transform: scale(1);
}

/* Radio Style Filters (Collections) */
.filter-list--radio li a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.filter-list--radio li a.active {
    color: var(--color-primary);
    font-weight: 700;
}

.radio-indicator {
    width: 14px; height: 14px;
    border: 1px solid #8c6346;
    border-radius: 50%;
    display: grid;
    place-content: center;
    flex-shrink: 0;
}
.radio-indicator::before {
    content: "";
    width: 8px; height: 8px;
    background-color: var(--color-primary);
    border-radius: 50%;
    transform: scale(0);
    transition: 0.1s;
}
.radio-indicator.checked::before {
    transform: scale(1);
}

.price-range-inputs {
    display: flex;
    gap: 8px;
}
.price-input {
    width: 100%;
    padding: 8px;
    background: transparent;
    border: 1px solid #d4c4b0;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: #000; /* High contrast black */
}

.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}
.toolbar-count { 
    font-family: var(--font-accent);
    font-style: italic;
    color: #444; /* Darker Gray */
    font-size: 0.9rem;
}
.filter-mobile-btn-alt { padding: 8px 15px; font-size: 0.8rem; display: flex; gap: 8px; }
/* Modern Sort Dropdown */
.toolbar-sort select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: transparent;
    border: 1px solid #999; /* Darker border */
    padding: 10px 40px 10px 15px;
    font-family: var(--font-body);
    font-weight: 700;
    color: #1a1a1a; /* Almost Black */
    outline: none;
    cursor: pointer;
    min-width: 200px;
    font-size: 0.85rem;
    text-transform: uppercase;
    border-radius: 0;
    /* Very Dark Gray arrow SVG stroke=%231a1a1a */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    transition: all 0.3s ease;
}
.toolbar-sort select:hover {
    border-color: #1a1a1a;
    background-color: rgba(0,0,0,0.02);
}

.product-grid-large {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns for filled look */
    gap: 12px; /* Tight gap */
    row-gap: 30px;
}

/* Pagination - Modern & Polished */
.pagination {
    margin-top: 50px;
    gap: 12px;
    display: flex; /* Ensure single line */
    justify-content: center;
    align-items: center;
}
.page-btn {
    width: 40px; height: 40px;
    display: inline-flex; /* Better for button centering */
    align-items: center; 
    justify-content: center;
    padding: 0;
    border: 1px solid #eee;
    background: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-primary);
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
    line-height: 1; /* Prevents vertical offset */
    text-align: center;
}
.page-btn.active {
    color: var(--white);
    background: #3e220b;
    font-weight: 700;
    border-color: #3e220b;
    box-shadow: 0 4px 10px rgba(87,48,16,0.2);
}
.page-btn.active:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
}
.page-btn:hover:not(.active) {
    background: #fff8f0;
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

/* =========================================
   PRODUCT DETAIL SPECIFIC STYLES
   ========================================= */
/* Product Card Updates for Shop Grid specifically */
.product-grid-large .product-card .pc-image {
    margin-bottom: 8px; /* Tighter image-text gap */
}
.product-grid-large .product-card .pc-title {
    margin-bottom: 2px;
    font-size: 0.85rem;
}
.product-grid-large .product-card .pc-price {
    font-size: 0.9rem;
}
.product-detail-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* More space for image */
    gap: 66px;
    width: var(--container-width);
    max-width: var(--max-width);
    margin: 40px auto 100px;
    padding: 0 20px;
    align-items: start;
}

/* Gallery - Desktop Left Vertical */
.pd-gallery {
    display: flex;
    flex-direction: row; 
    gap: 20px;
    position: sticky;
    top: 100px;
    align-items: start;
}

.pd-thumbs {
    display: flex;
    flex-direction: column; 
    gap: 15px;
    flex: 0 0 90px;
}
.pd-thumb {
    width: 90px;
    aspect-ratio: 3/4;
    border-radius: 0;
    cursor: pointer;
    overflow: hidden;
    opacity: 0.5;
    transition: 0.3s;
    border: 1px solid transparent;
}
.pd-thumb.active, .pd-thumb:hover { opacity: 1; border-color: var(--color-primary); }

.pd-main-image {
    flex: 1;
    border-radius: 0;
    overflow: hidden;
    background: #f8f8f8;
    position: relative; /* Fix for badge positioning */
}

/* Image Track for Sliding */
.pd-image-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    width: 100%;
    height: auto;
    scrollbar-width: none; /* Hide scrollbar */
    -ms-overflow-style: none;
}
.pd-image-track::-webkit-scrollbar { display: none; }

.pd-image-track img {
    flex: 0 0 100%;
    width: 100%;
    height: auto;
    object-fit: contain;
    scroll-snap-align: start;
    cursor: grab;
    transition: transform 0.1s ease-out; /* For zoom interaction */
}

/* Info */
.pd-info { padding: 10px 0; }
.pd-breadcrumb {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: #8c6346;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 600;
}
.pd-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.5rem; /* Desktop size */
    margin-bottom: 15px;
    line-height: 2rem; /* Updated per user request */
    color: #222222; /* Desktop color */
    font-weight: 600;
}
.pd-price-row {
    display: flex;
    align-items: baseline;
    gap: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(87,48,16,0.1);
    padding-bottom: 20px;
}
.price-group {
    display: flex;
    align-items: baseline;
    gap: 20px;
}
.pd-price-lg {
    font-size: 1.6rem;
    font-weight: 700;
    font-family: 'Open Sans', sans-serif;
    color: var(--color-primary);
}
.pd-price-strike {
    font-size: 1.1rem;
    text-decoration: line-through;
    color: #999;
}

.review-text {
    font-size: 0.8rem;
    color: #888;
    font-weight: 400;
    text-shadow: none;
    letter-spacing: 0;
    margin-left: 5px;
}

.pd-description {
    line-height: 1.8;
    color: #222222;
    margin-bottom: 40px;
    font-size: 1rem;
}
/* Options */
.pd-option-group { margin-bottom: 30px; }
.pd-option-label {
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
}

/* Color Swatches - Rings */
.pd-color-list { 
    display: flex; 
    gap: 15px; 
    flex-wrap: wrap;
    row-gap: 12px;
}
.pd-color-swatch {
    width: 36px; height: 36px;
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid rgba(0,0,0,0.1);
    position: relative;
    transition: 0.2s;
}
.pd-color-swatch::after {
    content: '';
    position: absolute;
    top: -4px; left: -4px; right: -4px; bottom: -4px;
    border-radius: 50%;
    border: 1px solid var(--color-primary);
    opacity: 0;
    transition: 0.2s;
}
.pd-color-swatch.active::after { opacity: 1; }

/* Product Color Swatch Fallbacks */
.pd-color-swatch.color-navy { background-color: #1a1a2e !important; }
.pd-color-swatch.color-brown { background-color: #573010 !important; }
.pd-color-swatch.color-burgundy { background-color: #800020 !important; }

/* Sizes - Minimal Squares */
.pd-size-list { 
    display: flex; 
    gap: 10px; 
    flex-wrap: wrap;
    row-gap: 10px;
}
.pd-size-btn {
    width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid #d4c4b0;
    border-radius: 0;
    cursor: pointer;
    font-size: 0.85rem;
    transition: 0.2s;
    background: transparent;
    color: var(--color-primary);
}
.pd-size-btn:hover { border-color: var(--color-primary); }
.pd-size-btn.active {
    background: #3e220b;
    color: var(--white);
    border-color: #3e220b;
}

.pd-actions {
    display: flex;
    gap: 12px;
    margin-top: 30px;
    margin-bottom: 40px;
}
.pd-add-btn {
    flex: 1;
    padding: 14px;
    font-size: 0.9rem;
    background: #3e220b;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
    border: 1px solid #3e220b;
    cursor: pointer;
    transition: 0.3s;
}
.pd-add-btn:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
}
.pd-wishlist-btn {
    width: 50px;
    display: flex; align-items: center; justify-content: center;
    background-color: var(--bg-cream); /* Cream background per user request */
    border: 1px solid #d4c4b0;
    cursor: pointer;
    transition: 0.3s;
}.pd-wishlist-btn:hover { border-color: var(--color-primary); }

.pd-accordions { border-top: 1px solid #e0d0b8; }
.pd-accordion-item { border-bottom: 1px solid #e0d0b8; }
.pd-accordion-header {
    padding: 20px 0;
    cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary);
}
.pd-accordion-content {
    display: none;
    padding-bottom: 20px;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
}
.pd-accordion-item.active .pd-accordion-content { display: block; }

/* =========================================
   RESPONSIVE ADJUSTMENTS
   ========================================= */
@media (max-width: 1024px) {
    .product-grid-large { grid-template-columns: repeat(3, 1fr); }
    .shop-layout { grid-template-columns: 220px 1fr; gap: 20px; }
    .product-detail-container { gap: 40px; }
}

@media (max-width: 768px) {
    /* Mobile General */
    .section-title { font-size: 1.5rem; }
    .container { width: 100%; padding: 0 10px; }
    .page-index .container { width: 100%; padding: 0 10px; } /* Preserve index-specific mobile rule */
    
    /* Header Mobile */
    /* Header Mobile */
    .header-inner,
    .page-index .header-inner { 
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 0 10px;
    }
    .logo img,
    .page-index .logo img { height: auto; max-width: 4.5rem; display: block; }
    .nav-links, .search-box,
    .page-index .nav-links, .page-index .search-box { display: none; } 
    .header-actions,
    .page-index .header-actions { gap: 12px; display: flex; align-items: center; } 
    .mobile-only,
    .page-index .mobile-only { display: block !important; }
    .nav-icon.mobile-only,
    .page-index .nav-icon.mobile-only { display: flex !important; }
    
    .mobile-search-dropdown,
    .page-index .mobile-search-dropdown {
        position: absolute;
        top: 60px; left: 0; width: 100%;
        background: white;
        padding: 15px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        z-index: 999;
        display: none; transform: translateY(-10px); opacity: 0;
        transition: all 0.3s ease;
    }
    .mobile-search-dropdown.active,
    .page-index .mobile-search-dropdown.active { display: block !important; transform: translateY(0); opacity: 1; }
    .mobile-search-dropdown input,
    .page-index .mobile-search-dropdown input { 
        width: 100%;
        padding: 12px 20px;
        border-radius: 50px;
        border: 1px solid #ddd;
        background: #f9f9f9;
        font-family: var(--font-body);
        outline: none;
    }

    /* Shop Mobile */
    .shop-layout { display: block; margin-top: 20px; }
    
    .shop-hero .section-title {
        margin-bottom: 30px; /* Reverted to 30px as per user preference */
        line-height: 1.2; /* Mobile specific tight wrapping */
    }
    
    /* Mobile Filter Drawer */
    .shop-sidebar {
        display: block; /* Force show for drawer */
        position: fixed;
        top: 0; left: -100%; /* Hidden */
        width: 85%;
        max-width: 320px;
        height: 100dvh;
        background: var(--white);
        z-index: 10001;
        padding: 25px 25px 100px 25px;
        overflow-y: auto;
        transition: left 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        box-shadow: 10px 0 30px rgba(0,0,0,0.1);
        border-right: none;
    }
    .shop-sidebar.active { left: 0; }
    
    /* Overlay for sidebar */
    .shop-sidebar::before {
        content: "";
        position: fixed;
        top: 0; left: 0; width: 100vw; height: 100vh;
        background: rgba(0,0,0,0.5);
        z-index: -1;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s;
        /* Positioned relative to sidebar? No, fixed to viewport. 
           But pseudo element on fixed element is relative to fixed element. 
           This is tricky. Better to use a separate overlay div or just heavy shadow. 
           Let's stick to heavy box-shadow on the drawer for simplicity, 
           or use the existing 'section-title' logic? 
           Actually, the script can just toggle a class on body or add an overlay. 
           Let's keep it simple: Drawer has shadow. */
    }
    
    .mobile-filter-close {
        cursor: pointer;
        color: var(--color-primary);
        padding: 5px;
        display: block;
    }

    .shop-toolbar { 
        flex-direction: row; 
        flex-wrap: wrap; 
        align-items: center; 
        justify-content: space-between; 
        gap: 15px; 
        border-bottom: none; 
    }
    .toolbar-count { width: 100%; order: 3; font-size: 0.8rem; text-align: center; color: #888; margin-top: 10px; }
    .toolbar-sort { order: 2; }
    .toolbar-sort select { min-width: auto; padding-right: 30px; border: none; font-size: 0.8rem; }
    
    .product-grid-large {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px 4px; /* Row gap 12px, Column gap 4px */
    }
    .product-card { gap: 10px; }
    .product-card .pc-image { margin-bottom: 10px; }
    .scroll-card { flex: 0 0 42vw; }
    
    /* Product Detail Mobile */
    .product-detail-container { 
        display: block; 
        margin-top: 0; 
        gap: 0; 
        width: 100%;
        padding: 0 10px;
    }
    .pd-gallery { 
        position: relative; top: 0;
        flex-direction: column-reverse; /* Main image on top of thumbs */
        margin-bottom: 25px;
        margin-left: -10px; margin-right: -10px; /* Full width bleed */
        gap: 10px;
    }
    .pd-main-image { width: 100%; }
    .pd-thumbs {
        flex-direction: row; 
        flex-wrap: nowrap;
        overflow-x: auto;
        flex: auto;
        
        /* Reset Full Width Bleed to avoid x-overflow */
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        padding: 0 10px 10px 0; 
        
        /* Swiping Behavior */
        scroll-snap-type: x mandatory;
        scrollbar-width: none; /* Hide scrollbar Firefox */
        -ms-overflow-style: none; /* Hide scrollbar IE/Edge */
    }
    .pd-thumbs::-webkit-scrollbar { display: none; } /* Hide scrollbar Chrome/Safari */
    
    .pd-thumb { 
        flex: 0 0 100px; /* Wider for better peeking UX */
        aspect-ratio: 3/4;
        scroll-snap-align: start;
    }
    
    .pd-title { font-size: 1.25rem; line-height: 1.6rem; margin-top: 20px; color: #222222; }
    .pd-price-lg { font-size: 1.4rem; }
    .pd-info { padding: 0 5px; }
    
    .pd-size-btn {
        width: 38px;
        height: 38px;
        font-size: 0.8rem;
    }
    .pd-actions {
        gap: 10px;
        margin-top: 20px;
        margin-bottom: 30px;
    }
    .pd-add-btn {
        padding: 12px;
        font-size: 0.85rem;
    }
    .pd-wishlist-btn {
        width: 44px;
    }
    
    /* Mobile Reviews Stack */
    .stars {
        display: flex;
        flex-direction: column;
        line-height: 1.2;
        margin-left: 20px; /* Reduced from auto to bring it closer */
    }
    .review-text {
        margin-left: 0;
        margin-top: 2px;
    }
    
    .review-text {
        margin-left: 0;
        margin-top: 2px;
    }
    
    /* Mobile Price Stack */
    .price-group {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }
    .pd-price-strike {
        font-size: 0.95rem; /* Smaller strike price on mobile */
        color: #999;
        margin-left: 2px; 
    }
    
    .footer-grid,
    .page-index .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ... existing styles ... */

/* DISCOUNT BADGE - Premium */
.pd-discount-badge {
    position: absolute;
    top: 15px; right: 15px; /* Moved to right */
    left: auto;
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%); /* Richer Red Gradient */
    color: white;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 50px; /* Capsule */
    z-index: 5;
    box-shadow: 0 4px 10px rgba(211, 47, 47, 0.3);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* STOCK ALERT - Refined */
@keyframes pulse-orange {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

.pd-stock-alert {
    background-color: #fff8e1; /* Soft orange/cream background */
    border: 1px solid #ffe0b2;
    color: #e67e22;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 12px; /* Reduced from 25px */
    padding: 10px 15px;
    border-radius: 50px; /* Pill shape */
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 5px rgba(230, 126, 34, 0.1);
}
.pd-stock-alert svg { 
    width: 18px; 
    height: 18px; 
    fill: #e67e22;
    stroke: none;
    animation: pulse-orange 2s infinite ease-in-out;
}

/* PINCODE CHECK */
.pd-pincode-check {
    margin-bottom: 30px;
}
.pincode-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    color: #333;
}
.pincode-input-group {
    display: flex;
    gap: 10px;
}
.pincode-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
}
.pincode-input:focus { border-color: var(--color-primary); }
.pincode-check-btn {
    padding: 0 20px;
    background: #333;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: 0.2s;
}
.pincode-check-btn:hover { background: #000; }
.pincode-msg {
    margin-top: 8px;
    font-size: 0.85rem;
    color: #27ae60;
    display: none; /* Hidden by default */
}
.pd-main-image { position: relative; } /* Ensure relative */
/* Remove old selector that targeted direct img */


/* SHOP MODAL */
.shop-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.6); /* Darker, more opaque overlay */
    backdrop-filter: blur(15px); /* Strong glass effect */
    -webkit-backdrop-filter: blur(15px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.shop-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.shop-modal-card {
    background: #ffffff;
    padding: 20px 35px 35px 35px; /* More padding on sides/bottom */
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 24px; /* Large rounded corners */
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
    max-width: 550px;
    width: 90%;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.shop-modal-overlay.active .shop-modal-card {
    transform: scale(1);
}

.shop-modal-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 20px; /* Reduced margin */
}

.shop-modal-logo {
    display: flex;
    justify-content: center;
}
.shop-modal-logo img {
    height: 45px; /* Bigger logo */
}

.shop-modal-close {
    position: absolute;
    right: 0; /* Align to the right edge of the header */
    top: calc(50% - 5px); /* Moved up by 5px */
    transform: translateY(-50%);
    cursor: pointer;
    color: #000;
    opacity: 0.3; /* Lighter color */
    transition: 0.2s;
    display: flex;
    align-items: center;
}
.shop-modal-close:hover { opacity: 1; }

.shop-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px; /* Reduced gap */
}

.shop-option-item {
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    display: block;
}
.shop-option-img-wrapper {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    margin-bottom: 15px;
    background: #f5f5f5;
}
.shop-option-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.shop-option-item:hover .shop-option-img-wrapper img {
    transform: scale(1.1);
}

.shop-option-label {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #000;
}

    color: #000;
}

.text-center { text-align: center; }

/* =========================================
   SUSTAINABILITY PREMIUM REDESIGN
   ========================================= */

/* --- UTILITIES & ANIMATIONS --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes lineGrow {
    from { height: 0; }
    to { height: 60px; }
}

.text-reveal {
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

.section-header {
    text-align: center;
    margin-bottom: 50px; /* Reduced from 80px */
}

.section-subtitle {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #000;
    margin-bottom: 10px;
}

/* --- PREMIUM HERO --- */
.sust-hero-premium {
    position: relative;
    height: 90vh; /* Nearly full screen */
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 15vh; /* Push content up visually */
    background-color: #F8F5E8;
    background-color: #F8F5E8;
    overflow: hidden;
    margin-bottom: 60px; /* Reduced from 80px */
    min-height: 600px; /* Ensure space for content on short screens */
}

.grain-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='1'/%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-content {
    text-align: center;
    z-index: 2;
    padding: 20px;
}

.hero-tree-icon {
    width: 60px;
    height: auto;
    display: block;
    margin: 0 auto 15px auto;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

.hero-overline {
    display: block;
    font-family: var(--font-body);
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 10px;
    opacity: 0; /* Ensure hidden initially for animation */
    animation: fadeInUp 1s ease-out forwards;
}

.hero-title {
    font-family: 'Cinzel', serif;
    font-size: 6rem;
    line-height: 0.9;
    color: #1a1a1a;
    margin-bottom: 20px;
    font-weight: 400;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

.hero-subtitle {
    font-family: 'Martel', serif;
    font-size: 1.25rem;
    color: #000;
    font-style: italic;
    max-width: 400px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%; /* Fix centering by spanning full width */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: fadeInUp 1s 1s forwards;
    pointer-events: none; /* Let clicks pass through */
}

.scroll-indicator span {
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background: #000;
    animation: lineGrow 1.5s 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}


/* --- MAIN CONTAINER --- */
.sust-container-premium {
    max-width: 1400px; /* Wider canvas */
    margin: 0 auto;
    padding: 0 40px 80px; /* Reduced from 100px */
}

/* --- FOREST SCATTER GRID --- */
.forest-section {
    margin-bottom: 100px; /* Reduced from 150px */
    position: relative;
}

.section-header { margin-bottom: 50px; } /* Reduced from 80px */
.sub-label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 15px;
}

.prem-heading {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    color: #1a1a1a;
    margin-bottom: 5px; /* Reduced from 20px */
}

.prem-intro {
    font-family: 'Martel', serif;
    font-size: 1.2rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.scatter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px; /* Reduced from 40px */
    margin-bottom: 50px; /* Reduced from 60px */
}

.tree-card {
    background: #fff;
    padding: 15px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08); /* Perceptibly visible shadow */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.tree-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.mt-med { margin-top: 30px; } /* Reduced from 40px */
.mt-large { margin-top: 60px; } /* Reduced from 80px */

.tree-img-box {
    background: #F8F5E8;
    padding: 40px 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}
.tree-img-box img { width: 60%; opacity: 0.9; }

.tree-info h3 {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    margin-bottom: 5px;
}
.tree-author {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.forest-cta { text-align: center; }
.btn-underline {
    position: relative;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #000;
    padding-bottom: 5px;
    border-bottom: 1px solid #000;
    transition: 0.3s;
}
.btn-underline:hover { opacity: 0.7; }
.btn-underline .arrow { display: inline-block; transition: transform 0.3s; }
.btn-underline:hover .arrow { transform: translate(3px, -3px); }


/* --- EDITORIAL MISSION SECTION --- */
.mission-section { padding: 0 5%; }

.editorial-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 100px; /* Reduced from 150px */
    gap: 60px; /* Reduced from 80px */
}
.editorial-row:last-child { margin-bottom: 0; }
.editorial-row.reverse { flex-direction: row-reverse; }

.editorial-content {
    flex: 1;
    position: relative;
    padding: 20px 0; /* Reduced from 40px */
}

.watermark-number {
    position: absolute;
    top: -40px; /* Closer */
    left: -30px;
    font-family: 'Cinzel', serif;
    font-size: 8rem;
    opacity: 0.05;
    z-index: 0;
    line-height: 1;
}

.editorial-title {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    margin-bottom: 20px; /* Reduced from 30px */
    position: relative;
    z-index: 1;
}

.editorial-text {
    font-family: 'Martel', serif;
    font-size: 1.1rem;
    line-height: 1.7; /* Tighter line height */
    color: #000;
    position: relative;
    z-index: 1;
}

.editorial-visual {
    flex: 1;
    height: 450px; /* Reduced from 500px */
    background-color: #F0F0F0;
    border-radius: 4px; /* Slight micro-radius */
    background-size: cover;
    background-position: center;
    position: relative;
    /* Flex centering for quotes */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Placeholder Abstractions for Visuals */
/* Block 1 - Earth/Roots */
.visual-abstract-1 { 
    background-color: #4A403A; 
}

/* Block 2 - Growth/Water */
.visual-abstract-2 { 
    background-color: #3A5F5F; 
}

/* Block 3 - Forest */
.visual-abstract-3 { 
    background-color: #2E3B33; 
}

.quote-box {
    color: #fff;
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    text-align: center;
    padding: 30px; /* Reduced padding */
    border: 1px solid rgba(255,255,255,0.2);
    width: 80%;
}


/* --- RESPONSIVE PREMIUM --- */
@media (max-width: 1024px) {
    .editorial-row { gap: 40px; margin-bottom: 80px; }
    .hero-title { font-size: 4.5rem; }
    .scatter-grid { grid-template-columns: repeat(3, 1fr); }
    .mt-large { margin-top: 30px; }
}

@media (max-width: 768px) {
    .sust-hero-premium { 
        height: auto; 
        min-height: 85vh; 
        padding: 12vh 0 100px 0; /* Reduced padding */
        align-items: flex-start; /* Align top */
    }
    .hero-title { font-size: 3rem; }
    .hero-overline { font-size: 0.8rem; letter-spacing: 0.2em; }
    
    .sust-container-premium { padding: 0 20px 60px; } /* Reduced padding */
    
    .scatter-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 15px;
    }
    .mt-med, .mt-large { margin-top: 0; } /* Remove scatter on mobile for cleaner stack */
    
    .editorial-row, .editorial-row.reverse {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 60px; /* Reduced from 80px */
    }
    .editorial-visual { width: 100%; height: 350px; }
    .watermark-number { font-size: 6rem; top: -30px; left: 0; }
    
    .prem-heading {
        line-height: 1.2;
        font-size: 2.2rem; /* Adjusted for better fit */
    }

    .sub-label {
        display: block; /* Ensure margin applies to span */
        margin-bottom: 22px; /* Adjusted to user preference */
    }
}




/* --- ABOUT PAGE SPECIFIC (PREMIUM REDESIGN) --- */

/* 1. HERO: Dark Cinematic */
.about-hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 20vh; /* Push content up visually */
    text-align: center;
    background-color: #0a0a0a; /* True Black */
    color: #ffffff !important;
    overflow: hidden;
}

.about-hero .hero-title {
    color: #ffffff;
    font-family: 'Cinzel', serif;
    font-size: 7rem; /* Massive, Poster-like */
    line-height: 0.9;
    letter-spacing: -0.02em;
    margin-bottom: 30px;
    z-index: 2;
    position: relative;
}

.about-hero .hero-overline {
    font-family: 'Open Sans', sans-serif;
    color: #FFD700; /* Brighter Gold */
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5); /* Glowing effect */
    letter-spacing: 0.4em;
    font-size: 1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    display: block;
    z-index: 2;
}

/* Scroll Line Override to White */
.about-scroll-line { 
    color: white !important; 
    bottom: 10vh; /* Moved down slightly */
}
.about-scroll-line .line { background-color: white !important; }

/* 2. FLOATING PHILOSOPHY (The "Story" Block) */
.philosophy-section {
    padding: 60px 0;
    background-color: #fdfbf7; /* Warm off-white */
    position: relative;
    overflow: hidden;
}

.floating-text-block {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 40px;
}

.floating-text {
    font-family: 'Cinzel', serif;
    font-size: 2rem; /* Reduced from 2.5rem per feedback */
    line-height: 1.7;
    color: #2a2a2a;
    position: relative;
    z-index: 2;
}

.highlight-text {
    font-family: 'Martel', serif;
    color: var(--color-secondary); /* Bronze */
    font-style: italic;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

/* Floating Emojis */
.emoji-accent {
    position: absolute;
    font-size: 6rem;
    opacity: 0.4;
    z-index: 1;
    filter: grayscale(0.2);
    animation: floatEmoji 6s ease-in-out infinite;
}

.floating-emoji-1 { top: -40px; left: -20px; transform: rotate(-10deg); }
.floating-emoji-2 { bottom: -30px; right: -10px; transform: rotate(15deg); animation-delay: 2s; }

@keyframes floatEmoji {
    0%, 100% { transform: translateY(0) rotate(-10deg); }
    50% { transform: translateY(-20px) rotate(-5deg); }
}

/* 3. FOUNDERS: Editorial Overlap */
.founders-layout {
    padding-bottom: 30px; /* Reduced from 60px */
    overflow: hidden;
    background: linear-gradient(to bottom, #fdfbf7 0%, #fff 100%);
}

.founder-overlap-row {
    display: flex;
    align-items: center;
    margin-bottom: 30px; /* Huge gap between founders */
    position: relative;
}

.founder-overlap-row:last-child {
    margin-bottom: 0;
}

.founder-overlap-row.reverse {
    flex-direction: row-reverse;
}

/* Image Box */
.founder-image-box {
    width: 55%;
    height: 700px; /* Tall portrait */
    position: relative;
    overflow: hidden;
}

.founder-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.founder-overlap-row:hover .founder-image-box img {
    transform: scale(1.05);
}

/* Text Box (Overlapping) */
.founder-text-box {
    width: 50%; /* Overlap calculation */
    background: #fff;
    padding: 60px 50px;
    z-index: 2;
    margin-left: -5%; /* The visual overlap */
    box-shadow: 0 30px 60px rgba(0,0,0,0.08); /* Deep shadow lift */
    position: relative;
}

.founder-overlap-row.reverse .founder-text-box {
    margin-left: 0;
    margin-right: -5%;
}

.image-deco-text {
    position: absolute;
    bottom: 20px;
    left: -20px;
    font-family: 'Cinzel', serif;
    font-size: 8rem;
    color: rgba(255,255,255,0.2);
    z-index: 10;
    line-height: 1;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.founder-subtitle {
    display: block;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: #000;
    margin-bottom: 20px;
}

.founder-text-box h2 {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    margin-bottom: 30px;
    line-height: 1.1;
    color: #1a1a1a;
}

.founder-bio {
    font-family: 'Martel', serif;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #222;
    /* First line text trick manually applied in HTML via line break */
}

/* 4. VALUES HOVER LIST */
.values-list-section {
    padding: 60px 0; /* Reduced from 120px */
    margin-bottom: 0;
    background-color: var(--bg-cream); /* Elegant Cream Background */
    color: var(--color-primary);
    position: relative;
    overflow: hidden;
}

/* Very subtle watermark */
.values-list-section::before {
    content: 'ETHOS';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: 24vw;
    color: rgba(87, 48, 16, 0.02); /* Faint primary color */
    z-index: 0;
    pointer-events: none;
    white-space: nowrap;
    line-height: 1;
}

.values-list-section .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

/* Compact Heading */
.values-list-section .sub-label {
    display: block;
    margin: 0 auto 40px;
    text-align: center;
    color: #000000;
    font-family: 'Martel', serif;
    font-size: 2.2rem; /* Slightly larger for serif elegance */
    font-weight: 600;
    letter-spacing: 0.05em;
    border: none;
    background: transparent;
    position: relative;
    text-transform: uppercase;
}

.values-list-section .sub-label::before {
    content: "Our Promise";
    display: table;
    margin: 0 auto 10px;
    padding: 6px 16px;
    background-color: var(--color-primary);
    color: #ffffff;
    border-radius: 50px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.values-list-section .sub-label::after {
    content: '';
    display: block;
    width: 150px;
    height: 15px;
    margin: 6px auto 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100"><path fill="%23444444" d="M924 38c-19 16-71 24-202 0-37-7-81-13-122-10-44 4-76 14-92 27l-8 10-8-10c-16-13-48-23-91-27-41-3-85 3-122 10C148 62 95 54 76 38c-8-7-16-16-16-27 0 13 5 23 15 31 29 24 98 30 205 10 77-14 179-6 209 19 5 4 11 12 11 17 0-5 5-12 11-17 31-25 132-33 210-19 106 20 175 14 204-10 10-8 15-18 15-30 0 10-8 19-16 26Z"></path></svg>') no-repeat center;
    background-size: contain;
}

.hover-list {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px; /* Reduced gap from 30px */
}

.hover-item {
    flex: 0 1 calc(33.333% - 10px); /* Adjusted for 15px gap */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 35px 25px; /* Reduced padding from 50px 40px */
    background: #ffffff; /* Stark white to pop against cream */
    border-radius: 16px; /* Tighter radius */
    border: 1px solid rgba(87, 48, 16, 0.04);
    box-shadow: 0 10px 20px rgba(87, 48, 16, 0.04); /* Tighter shadow */
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}
/* Responsive Flex */
@media (max-width: 900px) {
    .hover-item {
        flex: 0 1 calc(50% - 15px);
    }
}
@media (max-width: 600px) {
    .hover-item {
        flex: 0 1 100%;
    }
}

.hover-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(87, 48, 16, 0.08); /* Deeper, softer shadow */
    border-color: rgba(198, 138, 76, 0.4); 
}

.hover-num {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 25px;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 15px;
}
.hover-num::before, .hover-num::after {
    content: '';
    display: block;
    width: 20px;
    height: 1px;
    background: var(--color-primary);
    opacity: 0.4;
}

.hover-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.hover-text {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #000000; 
    line-height: 1.4;
    letter-spacing: 0.08em;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.hover-desc {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    color: #000000;
    line-height: 1.6;
    max-width: 95%;
}

/* Emojis Fully Visible */
.hover-emoji {
    font-size: 2.8rem;
    opacity: 1; 
    filter: grayscale(0); 
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    z-index: 2;
}

.hover-item:hover .hover-emoji {
    transform: scale(1.2) rotate(5deg); 
}

/* RESPONSIVE PREMIUM OVERRIDES */
@media (max-width: 1024px) {
    .about-hero .hero-title { font-size: 5rem; }
    .floating-text { font-size: 1.8rem; }
    .founder-image-box { height: 500px; }
}

@media (max-width: 768px) {
    /* Stack Founders */
    .founder-overlap-row, .founder-overlap-row.reverse {
        flex-direction: column;
        margin-bottom: 100px;
    }
    
    .founder-image-box {
        width: 100%;
        height: 450px;
    }
    
    .founder-text-box {
        width: 90%;
        margin-left: 0;
        margin-top: -60px; /* Vertical overlap */
        margin-bottom: 0;
        padding: 60px 30px; /* Increased padding per user request */
    }
    
    .founder-overlap-row.reverse .founder-text-box { margin-right: 0; margin-left: 0; }
    
    /* Typography adjustments */
    .about-hero .hero-title { font-size: 3.5rem; }
    .floating-text { font-size: 1.4rem; padding: 0; }
    .emoji-accent { font-size: 4rem; }
    .floating-emoji-1 { left: 10px; } /* Prevent clipping on mobile */
    
    .hover-text { font-size: 1.4rem; }
    
    .hover-text { font-size: 1.4rem; }
    
    .image-deco-text { font-size: 5rem; bottom: 82px; } /* Adjust for vertical shift */

    /* About Hero Mobile Override */
    .about-hero {
        justify-content: center; /* Center screen */
        padding-top: 0; /* Reset padding */
        height: auto;
        min-height: 100vh;
        padding-bottom: 20vh;
    }
}


/* =========================================
   EXTRACTED STYLES FROM: about.html
   ========================================= */
/* AUTOMATED EXTRACTION */
   .page-about .ex-style-1 { cursor: pointer; }
   .page-about .ex-style-2 { animation-delay: 0.1s; }
   .page-about .ex-style-3 { animation-delay: 0.3s; }
   .page-about .ex-style-4 { margin-top: 30px; }
   .page-about .ex-style-5 { font-size: 0.9em; opacity: 0.8; }
   .page-about .ex-style-6 { opacity: 0.03; }
   .page-about .ex-style-7 { margin-bottom: 8px; }
   .page-about .ex-style-8 { opacity: 0.8; line-height: 1.6; margin-bottom: 20px; }
   .page-about .ex-style-9 { display: flex; gap: 10px; }


/* =========================================
   EXTRACTED STYLES FROM: product.html
   ========================================= */
/* AUTOMATED EXTRACTION */
   .page-product .ex-style-1 { cursor: pointer; }
   .page-product .ex-style-2 { font-size: 1rem; margin-bottom: 0; }
   .page-product .ex-style-3 { font-weight: 400; color: #666; }
   .page-product .ex-style-4 { background-color: #1a1a2e; }
   .page-product .ex-style-5 { background-color: #573010; }
   .page-product .ex-style-6 { background-color: #800020; }
   .page-product .ex-style-7 { width: 24px; opacity: 0.6; }
   .page-product .ex-style-8 { margin-bottom:0; }
   .page-product .ex-style-9 { color:#f5a623; }
   .page-product .ex-style-10 { margin-bottom: 8px; }
   .page-product .ex-style-11 { opacity: 0.8; line-height: 1.6; margin-bottom: 20px; }
   .page-product .ex-style-12 { display: flex; gap: 10px; }


/* =========================================
   EXTRACTED STYLES FROM: shop.html
   ========================================= */
/* AUTOMATED EXTRACTION */
   .page-shop .ex-style-1 { color: var(--color-secondary); }
   .page-shop .ex-style-2 { cursor: pointer; }
   .page-shop .ex-style-3 { margin:0; }
   .page-shop .ex-style-4 { display: flex; align-items: center; gap: 15px; }
   .page-shop .ex-style-5 { width: 100%; }
   .page-shop .ex-style-6 { padding: 8px 15px; font-size: 0.8rem; display: flex; gap: 8px; }
   .page-shop .ex-style-7 { color:#f5a623; }
   .page-shop .ex-style-8 { margin-bottom: 8px; }
   .page-shop .ex-style-9 { opacity: 0.8; line-height: 1.6; margin-bottom: 20px; }
   .page-shop .ex-style-10 { display: flex; gap: 10px; }


/* =========================================
   EXTRACTED STYLES FROM: sustainability.html
   ========================================= */
/* AUTOMATED EXTRACTION */
   .page-sustainability .ex-style-1 { cursor: pointer; }
   .page-sustainability .ex-style-2 { animation-delay: 0.1s; }
   .page-sustainability .ex-style-3 { animation-delay: 0.2s; }
   .page-sustainability .ex-style-4 { animation-delay: 0.4s; }
   .page-sustainability .ex-style-5 { animation-delay: 0.6s; }
   .page-sustainability .ex-style-6 { margin-bottom: 8px; }
   .page-sustainability .ex-style-7 { opacity: 0.8; line-height: 1.6; margin-bottom: 20px; }
   .page-sustainability .ex-style-8 { display: flex; gap: 10px; }


/* =========================================
   EXTRACTED STYLES FROM: index_extracted.html
   ========================================= */
.page-index {
            /* BRAND PALETTE */
            --color-primary: #573010;   /* Dark Brown */
            --color-secondary: #8c6346; /* Bronze */
            --color-accent: #a48772;    /* Tan */
            --bg-cream: #f9f5eb;        /* Cream/Off-White */
            --bg-dark-cream: #f5e8d3;    /*#f3ddbc;*/
            --white: #ffffff;
            
            /* MODERN TRENDS */
            /* Radial Gold: Bright Gold Center -> Dark Brown Edges */
            --gradient-text: radial-gradient(circle, #7d5a3c 10%, #331c0a 100%);
            --gradient-gold: linear-gradient(135deg, #dfc282 0%, #b89552 100%);
            --glass-bg: rgba(255, 255, 255, 0.85);
            --glass-border: 1px solid rgba(255, 255, 255, 0.5);
            --glass-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
            
            /* STRUCTURE - Polished */
            --border-radius: 5px;       /* Friendly Modern */
            --shadow-soft: 0 8px 25px rgba(87, 48, 16, 0.08); /* Premium Soft Shadow */
            
            /* TYPOGRAPHY */
            --font-display: 'Cinzel', serif;
            --font-body: 'Open Sans', sans-serif;
            --font-accent: 'Martel', serif;

            /* LAYOUT & SPACING - Compact Mode */
            --container-width: 93%; /* Adjusted to 93% per user request */
            --max-width: 1800px;
            --section-spacing: 36px; 
            --grid-gap: 6px; /* Ultra compact gap */ 
        }

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


        body.page-index {
            margin: 0;
            padding: 0;
            /* background-color: var(--bg-cream); */
            background-color: #fdfdfd;
            color: var(--color-primary);
            font-family: var(--font-body);
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
        }

        .page-index a { text-decoration: none; color: inherit; transition: opacity 0.3s; }
        .page-index img { max-width: 100%; display: block; }
        .page-index ul { list-style: none; }

        /* REUSABLE CLASSES */
        .page-index .container {
            width: var(--container-width);
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 15px; /* Reduced side padding */
        }

        .page-index .section-title {
            font-family: var(--font-display);
            font-size: 1.5rem; 
            text-align: center;
            margin-bottom: 30px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.05em;

            /* Solid Primary Color */
            color: var(--color-primary);            
            /* CENTERING FIX */
            display: block; 
            width: fit-content;
            margin-left: auto; 
            margin-right: auto;
        }
        
        .page-index .section-subtitle {
            text-align: center;
            font-family: var(--font-accent);
            color: var(--color-secondary);
            margin-top: -25px; /* Tighter */
            margin-bottom: 30px;
            font-size: 0.95rem;
        }

        /* BUTTONS */
        .page-index .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 10px 28px;
            font-family: var(--font-body);
            font-weight: 700;
            text-transform: uppercase;
            cursor: pointer;
            border: none;
            transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            font-size: 0.85rem;
            letter-spacing: 0.05em;
            border-radius: 50px; /* Modern Pill Shape */
        }

        .page-index .btn-white {
            background-color: var(--white);
            color: var(--color-primary);
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        }
        .page-index .btn-white:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.15);
        }

        .page-index .btn-primary {
            background-color: var(--color-primary);
            color: var(--white);
        }
        .page-index .btn-primary:hover {
            opacity: 0.9;
        }

        /* SECTION HEADER ALIGNMENT */
        .page-index .section-header-centered {
            position: relative;
            display: flex;
            justify-content: center; /* Desktop Center */
            align-items: center;
            margin-bottom: 24px;
        }
        .page-index .section-header-centered .nav-buttons {
            position: absolute;
            right: 0;
            display: flex;
            gap: 12px;
        }
        /* Mobile Override for Header Alignment */
        @media (max-width: 768px) {
            .page-index .section-header-centered {
                justify-content: space-between; /* Title Left, Buttons Right */
            }
            .page-index .section-header-centered .nav-buttons {
                position: static; /* Remove absolute */
                margin-right: 10px; /* Add spacing from edge */
            }
            
            

        }

        /* HERO SECTION */
        .page-index .hero {
            position: relative;
            width: 100%;
            height: auto;
            aspect-ratio: 1920 / 672;
            min-height: 400px;
            overflow: hidden;
            background-color: #f9f5eb; /* Brand Cream */
            /* Fashion Stitch Pattern */
            background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 20L20 0M10 10' stroke='%23e0d6c2' stroke-width='1' fill='none'/%3E%3C/svg%3E");
            background-size: 20px 20px;
            animation: heroPatternMove 20s linear infinite;
        }

        @keyframes heroPatternMove {
            0% { background-position: 0 0; }
            100% { background-position: 100px 100px; }
        }

        .page-index #hero-canvas {
            position: absolute;
            top: 0; left: 0;
            width: 100%; height: 100%;
            z-index: 1;
            background-color: transparent; /* Show pattern through */
        }

        .page-index .hero-loader {
            position: absolute;
            top: 50%; left: 50%;
            transform: translate(-50%, -50%);
            z-index: 0; /* Behind canvas (1), above background */
        }
        
        .page-index .thread-spool {
            transform-origin: center;
            animation: spinThread 3s ease-in-out infinite;
        }

        @keyframes spinThread {
            0% { transform: rotate(0deg); }
            50% { transform: rotate(15deg); }
            100% { transform: rotate(0deg); }
        }

        /* Content needs to be above canvas */
        .page-index .hero-content {
            position: relative;
            z-index: 10;
        }

        .page-index .hero-bg {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
        }

        .page-index .hero-overlay {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0,0,0,0.1);
            z-index: 3;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .page-index .hero-content {
            position: relative;
            z-index: 4;
            text-align: center;
            color: var(--white);
            max-width: 800px;
            pointer-events: none; /* Let clicks pass to dots if needed, though they are above */
        }

        .page-index .hero-title {
            font-family: var(--font-display);
            font-size: 4.5rem;
            line-height: 1.1;
            font-weight: 700;
            margin-bottom: 20px;
            text-shadow: 0 2px 10px rgba(0,0,0,0.3);
        }
        
        .page-index .hero-subtitle {
            font-size: 1.2rem;
            margin-bottom: 30px;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            text-shadow: 0 2px 5px rgba(0,0,0,0.3);
            font-weight: 600;
        }

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

        .page-index .dot {
            width: 12px;
            height: 12px;
            background: rgba(255,255,255,0.4);
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.3s;
        }

        .page-index .dot.active { 
            background: var(--white); 
            transform: scale(1.2);
        }

        @media (max-width: 768px) {
            .page-index .hero { aspect-ratio: 640 / 480; min-height: 300px; }
            .page-index .hero-title { font-size: 2.5rem; }
        }

        /* CATEGORIES (Circles - Compact) */
        .page-index .categories-section {
            padding: var(--section-spacing) 0;
            background: var(--bg-cream);
            margin-bottom: 16px;
        }
        
        .page-index .cat-row {
            display: flex;
            justify-content: center;
            gap: 35px; /* Adjusted for larger circles */
            flex-wrap: wrap;
        }

        .page-index .cat-item {
            text-align: center;
            cursor: pointer;
            transition: transform 0.3s;
        }
        .page-index .cat-item:hover { transform: translateY(-5px); }

        .page-index .cat-circle {
            width: 160px; 
            height: 160px;
            border-radius: 24px; 
            overflow: hidden;
            margin-bottom: 12px;
            
            /* Gradient Ring Setup */
            padding: 3px; /* Space for ring */
            background: linear-gradient(45deg, #e5e5e5, #e5e5e5); /* Default gray */
            
            transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
        }
        
        .page-index .cat-item:hover .cat-circle {
            transform: scale(1.08);
            background: var(--gradient-text); /* Brand Gradient Ring on Hover */
            box-shadow: 0 10px 25px rgba(87, 48, 16, 0.2);
        }

        .page-index .cat-circle img {
            width: 100%; height: 100%; object-fit: cover;
            border-radius: 20px; /* Inner radius */
            border: 3px solid var(--white); /* White gap */
            background: var(--white);
            transition: transform 0.5s;
        }

        .page-index .cat-name {
            font-family: var(--font-body);
            font-weight: 500;
            color: var(--color-primary);
            font-size: 0.9rem; /* Slightly smaller text */
            text-transform: uppercase;
        }

        /* PRODUCTS GRID (Compact) */
        .page-index .container.products-section {
            padding: 20px 0;
        }

        .page-index .product-grid {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: var(--grid-gap); /* Uses new 12px gap */
        }

        .page-index .product-card {
            background: var(--white);
            border-radius: var(--border-radius);
            overflow: hidden;
            transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
            border: 1px solid #e8e8e8; /* Subtle definition */
        }
        .page-index .product-card:hover {
            transform: translateY(-8px); /* Nice lift */
            box-shadow: var(--shadow-soft);
        }

        .page-index .pc-image {
            position: relative;
            /* border-radius: var(--border-radius); Inherits from card usually, or just top rounds in some designs. 
               But here, since we want flush, we keeping it simple. */
            aspect-ratio: 3/4;
            overflow: hidden;
            background: #f8f8f8;
            margin: 0; /* Flush with edge */
        }
        .page-index .pc-image img {
            width: 100%; height: 100%; object-fit: cover;
            transition: transform 0.8s ease;
        }
        .page-index .product-card:hover .pc-image img { transform: scale(1.06); }

        .page-index .pc-rating-badge {
            position: absolute;
            bottom: 10px; left: 10px;
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(8px); /* Glossy Glass */
            -webkit-backdrop-filter: blur(8px);
            padding: 4px 10px;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 700;
            display: flex; align-items: center; gap: 4px;
            color: var(--color-primary);
            box-shadow: 0 4px 10px rgba(0,0,0,0.05);
            border: 1px solid rgba(255,255,255,0.6);
        }
        
        .page-index .pc-details { padding: 10px; /* Reduced padding */ }
        
        .page-index .pc-title {
            font-size: 0.9rem;
            font-weight: 500;
            /* color: var(--color-primary); */
            color: #5d432f;
            margin-bottom: 4px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            letter-spacing: 0.02em;
        }
        
        .page-index .pc-price {
            font-family: var(--font-body);
            font-size: 0.95rem;
            font-weight: 700;
            color: #111; /* Dark for price clarity */
        }
        /* SCROLLABLE PRODUCT GRID (Replaces Static Grid) */
        .page-index .scrolling-wrapper {
            position: relative;
            width: 100%;
        }

        .page-index .scroll-grid {
            display: flex;
            gap: 6px; /* Matched to --grid-gap from index_polished.html */
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            padding-bottom: 20px; /* Space for scrollbar (hidden) */
            scrollbar-width: none; /* Firefox */
            -ms-overflow-style: none; /* IE/Edge */
        }
        
        .page-index .scroll-grid::-webkit-scrollbar {
            display: none; /* Chrome/Safari */
        }
        
        /* SCROLL CHILD SNAP */
        .page-index .scroll-card {
            scroll-snap-align: start;
            scroll-snap-stop: always; /* Forces stop at each item */
        }
        
        /* Flex Utilities for Header/Nav */
        .page-index .flex-between { display: flex; align-items: center; justify-content: space-between; }
        .page-index .flex { display: flex; align-items: center; }

        /* NAV BUTTONS (Solid Primary) */
        .page-index .cat-nav-btn {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            /* Solid Primary Background */
            background: var(--color-primary);
            border: none;

            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 8px 20px rgba(87, 48, 16, 0.25);
            color: var(--white); /* High Contrast Icon */
        }

        .page-index .cat-nav-btn:hover {
            background: var(--color-secondary); /* Bronze on hover */
            transform: scale(1.1);
            box-shadow: 0 10px 25px rgba(87, 48, 16, 0.4);
        }
        .page-index .scroll-card {
            flex: 0 0 260px; /* Fixed width (~5 per desktop row visually) */
            scroll-snap-align: start;
        }

        .page-index .pc-price .strike {
            text-decoration: line-through;
            color: #aaa;
            font-weight: 400;
            font-size: 0.75rem;
            margin-left: 5px;
        }

        /* PAGINATION (Visual Only) */
        .page-index .pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
            margin-top: 40px;
        }
        .page-index .page-btn {
            width: 40px; height: 40px;
            border: 1px solid #ddd;
            background: var(--white);
            display: flex; align-items: center; justify-content: center;
            cursor: pointer;
            border-radius: 4px;
            transition: 0.3s;
        }
        .page-index .page-btn.active, .page-index .page-btn:hover {
            background: var(--color-primary);
            color: var(--white);
            border-color: var(--color-primary);
        }

        /* DHOONKI MOMENTS */
        .page-index .moments-section {
            padding: 20px 0;
            text-align: center;
        }
        
        .page-index .moments-grid {
            display: flex;
            gap: 6px;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            padding-bottom: 20px;
            scrollbar-width: none;
            -ms-overflow-style: none;
        }
        .page-index .moments-grid::-webkit-scrollbar { display: none; }

        .page-index .moment-card {
            flex: 0 0 260px; /* Fixed width (~5 per desktop row visually) */
            scroll-snap-align: start;
            aspect-ratio: 9/16;
            border-radius: 5px;
            overflow: hidden;
            position: relative;
            cursor: pointer;
            background: #000;
        }
        .page-index .moment-card img, .page-index .moment-card video {
            width: 100%; height: 100%; object-fit: cover;
            transition: transform 0.5s;
        }
        .page-index .moment-card:hover img, .page-index .moment-card:hover video { transform: scale(1.05); }
        
        .page-index .follow-btn {
            margin-top: 30px;
            background: var(--white);
            border: 1px solid #ddd;
            padding: 10px 30px;
            border-radius: 30px;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            font-weight: 600;
            cursor: pointer;
            transition: 0.3s;
        }
        .page-index .follow-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }

        /* TESTIMONIALS - Carousel Polished */
        .page-index .testimonials-section {
            margin-top: 20px;
            padding: 40px 0 40px 0; /* Top increased, bottom compact */
            background: var(--bg-dark-cream);
            overflow: hidden;
            position: relative;
        }

        .page-index .testimonial-carousel {
            width: 100%;
            overflow: hidden;
            position: relative;
        }

        .page-index .testimonial-track {
            display: flex;
            gap: 30px;
            padding: 10px 0; /* Reduced from 20px */
            transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
            will-change: transform;
        }

        .page-index .testi-card {
            flex: 0 0 400px;
            background: var(--white);
            border: 1px solid rgba(87, 48, 16, 0.1);
            border-radius: 12px;
            overflow: hidden;
            padding: 0; /* Reset padding for header */
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            text-align: left;
            transition: transform 0.4s ease;
            display: flex;
            flex-direction: column;
        }
        
        .page-index .testi-header {
            background: #735846; /* var(--color-secondary); */
            padding: 10px 15px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .page-index .testi-body {
            padding: 30px;
            background: rgba(249, 245, 235, 0.6); /* Soft Cream Tint */
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }
        
        .page-index .testi-card:hover {
            transform: translateY(-8px);
        }
        
        .page-index .stars { 
            color: #FFD700; /* Bright Gold */
            margin-bottom: 0; 
            font-size: 1.5rem; 
            font-weight: 700;
            letter-spacing: 3px;
            text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3); /* Glow */
            display: block;
        }
        
        .page-index .testi-text {
            font-family: var(--font-body);
            font-size: 0.95rem;
            line-height: 1.6;
            color: #444;
            margin-bottom: 20px;
            font-style: italic;
        }

        .page-index .testi-author {
            font-weight: 700;
            /* color: var(--color-primary); */
            color: #833b00;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        .page-index .verified-badge { color: #2ecc71; font-size: 0.9rem; }

        @media (max-width: 768px) {
            .page-index .testi-card {
                flex: 0 0 85vw;
                padding: 0;
            }
        }




        /* ==============================================
           EXTRACTED INLINE STYLES -> CSS CLASSES
           ============================================== */
        
        /* Navigation - Shop link highlight */
        .page-index .nav-link-shop {
            color: var(--color-secondary);
        }
        
        /* Clickable elements with pointer cursor */
        .page-index .clickable {
            cursor: pointer;
        }
        
        /* Section titles with no bottom margin (used in header-centered layouts) */
        .page-index .section-title-compact {
            margin-bottom: 0;
        }
        
        /* Section title with reduced margin (testimonials) */
        .page-index .section-title-testimonials {
            margin-bottom: 15px;
        }
        
        /* Rating star color */
        .page-index .rating-star {
            color: #f5a623;
        }
        
        /* Footer headings with compact spacing */
        .footer-heading-compact,
        .page-index .footer-heading-compact {
            margin-bottom: 8px;
        }
        
        /* Footer description text style */
        .footer-description,
        .page-index .footer-description {
            opacity: 0.8;
            line-height: 1.6;
            margin-bottom: 20px;
        }
        
        /* Payment icons wrapper */
        .payment-icons,
        .page-index .payment-icons {
            display: flex;
            gap: 10px;
        }

        /* RESPONSIVE */
        @media (max-width: 1024px) {
            .page-index .product-grid { grid-template-columns: repeat(4, 1fr); }
            .page-index .hero-title { font-size: 3rem; }
            .page-index .cat-circle { width: 120px; height: 120px; }
        }
        
        @media (max-width: 768px) {
            /* COMPACT HEADER ROW */
            .page-index .mobile-only { display: block; }
            
            /* Responsive Container Override */
            .page-index .container { width: 100%; padding: 0 10px; }

            .page-index .header-inner { 
                display: flex;
                flex-direction: row; 
                flex-wrap: nowrap;
                align-items: center; /* Strict vertical center */
                gap: 10px; 
                justify-content: space-between;
                padding: 0 10px;
            }

            
            /* HERO COMPACT */
            .page-index .hero { 
                aspect-ratio: 640 / 480; 
                min-height: 300px;
                /* Inherit animated pattern from desktop rule */
            }
            .page-index .hero-title { font-size: 2rem; margin-bottom: 10px; }
            .page-index .hero-subtitle { font-size: 0.9rem; margin-bottom: 20px; }

            /* SMALLER HEADINGS & ALIGNMENT */
            .page-index .section-title { font-size: 1.5rem; }
            
            .page-index /* Product Sections: Left align title, .page-index keep nav buttons on right */
            .products-section .section-title {
                text-align: left;
                margin-left: 10px;
                /* Reset centering fix */
                margin-right: 0; 
                width: auto;
            }

            /* CATEGORIES COMPACT & HORIZONTAL SCROLL */
            .page-index .cat-row { 
                display: flex;
                flex-wrap: nowrap;
                overflow-x: auto;
                justify-content: flex-start;
                gap: 8px; /* Denser gap */
                
                /* Full Width Logic */
                margin-left: -10px;
                margin-right: -10px;
                width: calc(100% + 20px);
                padding-left: 10px;
                padding-right: 10px;
                
                padding-top: 15px; /* Prevent top clipping on hover zoom */
                padding-bottom: 10px; /* Space for hidden scrollbar area */
                scrollbar-width: none; /* Firefox */
                -ms-overflow-style: none; /* IE */
            }
            .page-index .cat-row::-webkit-scrollbar { display: none; }
            .page-index .cat-item { flex: 0 0 auto; } /* Don't shrink */

            .page-index .cat-circle { width: 90px; height: 90px; }
            
            /* Mobile: Use box-shadow elevation instead of translateY to prevent clipping behind hero */
            .page-index .cat-item {
                transition: transform 0.3s, box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            }
            .page-index .cat-item:hover,
            .page-index .cat-item:active { 
                transform: none;
                box-shadow: 0 6px 16px rgba(87, 48, 16, 0.2);
            }
            
            /* RESTORE NAV BUTTONS (SMALLER) */
            .page-index .cat-nav-btn { 
                display: flex; /* Restore visibility */
                width: 32px; 
                height: 32px; 
            }
            .page-index .cat-nav-btn svg { width: 14px; height: 14px; }

            /* GRIDS */
            .page-index .product-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
            .page-index .scroll-card { flex: 0 0 42vw; }
            
            .page-index /* Moments: Horizontal Scroll, .page-index No Snap */
            .moments-grid { 
                display: flex;
                overflow-x: auto;
                gap: 6px;
                
                /* Full Width Logic */
                margin-left: -10px;
                margin-right: -10px;
                width: calc(100% + 20px);
                padding-left: 10px;
                padding-right: 10px;
                
                padding-bottom: 10px;
                scrollbar-width: none;
            }
            .page-index .moments-grid::-webkit-scrollbar { display: none; }
            
            .page-index .moment-card {
                flex: 0 0 40vw; /* Show ~2.3 items for peek effect */
                aspect-ratio: 9/16;
            }
            .page-index .testimonial-grid { grid-template-columns: 1fr; }
            .page-index .footer-grid { grid-template-columns: 1fr; gap: 30px; }
            
            .page-index .testi-card {
                flex: 0 0 85vw;
                padding: 0;
            }
        }

        /* MOBILE MENU OVERLAY */
        /* .mobile-only moved to global utilities */
        
        .page-index .mobile-menu-overlay {
            position: fixed;
            top: 0; left: 0;
            width: 100vw; height: 100vh;
            background: rgba(255, 255, 255, 0.98); /* Less transparent for legibility */
            z-index: 9999;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.4s ease;
            backdrop-filter: blur(10px);
        }

        .page-index .mobile-menu-overlay.active {
            opacity: 1;
            pointer-events: all;
        }

        .page-index .mobile-menu-close {
            position: absolute;
            top: 24px; right: 24px;
            cursor: pointer;
            padding: 8px;
            color: var(--color-primary);
        }

        .page-index .mobile-nav-links {
            display: flex;
            flex-direction: column;
            gap: 24px;
            text-align: center;
        }

        .page-index .m-link {
            font-family: var(--font-display); 
            font-size: 2.5rem; /* Big, editorial font */
            color: var(--color-primary);
            text-decoration: none;
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.5s ease;
        }

        .page-index .mobile-menu-overlay.active .m-link {
            opacity: 1;
            transform: translateY(0);
        }

        /* Staggered delay for links */
        .page-index .mobile-menu-overlay.active .m-link:nth-child(1) { transition-delay: 0.1s; }
        .page-index .mobile-menu-overlay.active .m-link:nth-child(2) { transition-delay: 0.15s; }
        .page-index .mobile-menu-overlay.active .m-link:nth-child(3) { transition-delay: 0.2s; }
        .page-index .mobile-menu-overlay.active .m-link:nth-child(4) { transition-delay: 0.25s; }

        .page-index .m-link.highlight {
            font-family: var(--font-body);
            font-size: 1rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            margin-top: 16px;
            font-weight: 600;
        }

        .page-index .mobile-menu-footer {
            position: absolute;
            bottom: 40px;
            font-size: 0.8rem;
            color: var(--color-secondary);
            opacity: 0.5;
        }

        @media (max-width: 768px) {
            .page-index .mobile-only { display: block; }
            /* ... rest of mobile styles ... */
        }


        /* SHOP MODAL */
        .page-index .shop-modal-overlay {
            position: fixed;
            top: 0; left: 0; width: 100vw; height: 100vh;
            background: rgba(0, 0, 0, 0.6); /* Darker, more opaque overlay */
            backdrop-filter: blur(15px); /* Strong glass effect */
            -webkit-backdrop-filter: blur(15px);
            z-index: 10000;
            display: flex;
            justify-content: center;
            align-items: center;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
        }
        .page-index .shop-modal-overlay.active {
            opacity: 1;
            pointer-events: all;
        }

        .page-index .shop-modal-card {
            background: #ffffff;
            padding: 20px 35px 35px 35px; /* More padding on sides/bottom */
            border: 1px solid rgba(0,0,0,0.05);
            border-radius: 24px; /* Large rounded corners */
            box-shadow: 0 25px 50px rgba(0,0,0,0.1);
            max-width: 550px;
            width: 90%;
            position: relative;
            transform: scale(0.95);
            transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        }
        .page-index .shop-modal-overlay.active .shop-modal-card {
            transform: scale(1);
        }

        .page-index .shop-modal-header {
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            margin-bottom: 20px; /* Reduced margin */
        }

        .page-index .shop-modal-logo {
            display: flex;
            justify-content: center;
        }
        .page-index .shop-modal-logo img {
            height: 45px; /* Bigger logo */
        }

        .page-index .shop-modal-close {
            position: absolute;
            right: 0; /* Align to the right edge of the header */
            top: calc(50% - 5px); /* Moved up by 5px */
            transform: translateY(-50%);
            cursor: pointer;
            color: #000;
            opacity: 0.3; /* Lighter color */
            transition: 0.2s;
            display: flex;
            align-items: center;
        }
        .page-index .shop-modal-close:hover { opacity: 1; }

        .page-index .shop-options-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px; /* Reduced gap */
        }

        .page-index .shop-option-item {
            text-align: center;
            cursor: pointer;
            text-decoration: none;
            display: block;
        }
        .page-index .shop-option-img-wrapper {
            width: 100%;
            aspect-ratio: 3/4;
            overflow: hidden;
            margin-bottom: 15px;
            background: #f5f5f5;
        }
        .page-index .shop-option-img-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s ease;
        }
        .page-index .shop-option-item:hover .shop-option-img-wrapper img {
            transform: scale(1.1);
        }

        .page-index .shop-option-label {
            font-family: var(--font-body);
            font-weight: 700;
            font-size: 1rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: #000;
        }


/* INDEX PAGE OVERRIDES */
body.page-index {
    line-height: normal;
}
.page-index .section-subtitle {
    display: block;
    text-transform: none;
    letter-spacing: normal;
}
/* ================= SHOPIFY GENERATED STYLES ================= */

/* --- Cart Bubble (Restored) --- */
.cart-count-bubble {
    position: absolute;
    top: -5px; right: -5px;
    background-color: #8c6346; /* var(--color-secondary) */
    color: #ffffff; /* var(--white) */
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px; height: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid rgba(255, 255, 255, 0.9); /* var(--glass-bg) */
}

/* Enforce black icons to match shop.html prototype */
.action-icon, 
.nav-icon svg {
    color: #1a1a1a !important;
    fill: #1a1a1a !important;
}

/* Ensure Search Box text is also consistent if needed, but icon specifically requested */
.search-box .search-icon {
    stroke: #1a1a1a !important; /* For the stroke-based icon */
}

/* SPECIAL: Search Icon must be hollow (stroke-based) */
.search-icon,
.nav-icon svg:has(circle + line),
.nav-icon[onclick*="Search"] svg {
    fill: none !important;
    stroke: #1a1a1a !important;
}

.wishlist-icon.active svg {
    fill: #e53935 !important;
    stroke: #e53935 !important;
}

/* --- WhatsApp Floating Button --- */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 10px 40px rgba(87, 48, 16, 0.08);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  background-color: #128c7e;
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(87, 48, 16, 0.12);
}

.whatsapp-float svg {
  width: 35px;
  height: 35px;
  fill: #ffffff !important;
}

/* Tooltip */
.whatsapp-float::after {
  content: 'Chat with us';
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background: #fff;
  color: #573010;
  padding: 6px 12px;
  border-radius: 4px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  pointer-events: none;
}

.whatsapp-float:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 600px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }
  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

/* --- Image Snippet --- */
.image {
  display: block;
  position: relative;
  overflow: hidden;
  width: 100%;
  height: auto;
}

.image > img {
  width: 100%;
  height: auto;
}

/* --- Size Guide Modal --- */
.sg-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 3000;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
}
.sg-modal.open {
  visibility: visible;
  opacity: 1;
}
.sg-backdrop {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(5px);
}
.sg-content {
  position: relative;
  width: 90%;
  max-width: 600px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  overflow: hidden;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}
.sg-modal.open .sg-content {
  transform: translateY(0);
}
.sg-header {
  padding: 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fdfdfd;
}
.sg-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--color-primary);
}
.sg-close {
  background: none; border: none; cursor: pointer; color: #555;
}
.sg-body {
  padding: 20px;
  overflow-y: auto;
}
.sg-section { margin-bottom: 30px; }
.sg-subtitle { margin-bottom: 15px; color: var(--color-primary); border-left: 3px solid var(--color-secondary); padding-left: 10px; }

.sg-table-wrapper { overflow-x: auto; }
.sg-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 300px;
}
.sg-table th, .sg-table td {
  border: 1px solid #eee;
  padding: 10px;
  text-align: center;
}
.sg-table th {
  background: var(--bg-cream);
  color: var(--color-primary);
  font-weight: 600;
}
.sg-table tr:nth-child(even) { background: #fafafa; }

.sg-tips {
  background: #f9f9f9;
  padding: 15px;
  border-radius: 4px;
  font-size: 0.85rem;
  color: #666;
}
.sg-tips h5 { margin-top: 0; margin-bottom: 8px; color: #333; }
.sg-tips ul { padding-left: 20px; margin: 0; }
.sg-tips li { margin-bottom: 4px; }

/* --- Cart Page --- */
.cart-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}
.cart-row {
    display: flex;
    align-items: center;
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    gap: 20px;
}
.cart-img img {
    width: 100px;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 4px;
    background: #f5f5f5;
}
.cart-details { flex: 1; }
.cart-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}
.cart-variant { color: #777; font-size: 0.9rem; margin-bottom: 5px; }

.qty-input {
    width: 60px;
    padding: 5px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.cart-remove {
    display: block;
    font-size: 0.8rem;
    color: #d00;
    text-decoration: underline;
    margin-top: 5px;
}
.cart-total {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-primary);
    min-width: 100px;
    text-align: right;
}
/* Summary */
.summary-card {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #eee;
    position: sticky;
    top: 100px;
}
.summary-title {
    font-family: var(--font-display);
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.summary-note {
    font-size: 0.85rem;
    color: #777;
}

/* Discounts */
.discount-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    font-size: 0.95rem;
    color: #c68a4c;
    background: rgba(198, 138, 76, 0.08);
    border-radius: 8px;
    margin: 10px 0;
}
.discount-label {
    display: flex;
    align-items: center;
    font-weight: 500;
}
.discount-label svg {
    flex-shrink: 0;
    stroke: #c68a4c;
}
.discount-amount {
    font-weight: 700;
    font-family: var(--font-display);
}
.summary-total {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid rgba(87, 48, 16, 0.15);
    font-size: 1.15rem;
    color: var(--color-primary);
}

@media(max-width: 900px) {
    .cart-layout { grid-template-columns: 1fr; gap: 30px; }
    .desktop-only { display: none !important; }
}
@media(min-width: 901px) {
    .mobile-only { display: none !important; }
}

/* --- Account Pages --- */
@media(max-width: 768px) {
    .account-grid { grid-template-columns: 1fr; }
}

/* --- Search Results --- */
.search-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
}
.search-result-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(87, 48, 16, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.search-result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(87, 48, 16, 0.08);
    border-color: rgba(87, 48, 16, 0.2);
}
.result-image {
    display: block;
    overflow: hidden;
    position: relative;
}
.result-image img {
    width: 100%;
    aspect-ratio: 0.8; 
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.search-result-card:hover .result-image img {
    transform: scale(1.05);
}
.placeholder-img {
    width: 100%;
    aspect-ratio: 0.8;
    background: rgba(87, 48, 16, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}
.result-content {
    padding: 25px;
}
.result-type {
    font-family: var(--font-body);
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--color-secondary);
    letter-spacing: 2px;
    margin-bottom: 8px;
    display: inline-block;
    border-bottom: 1px solid transparent;
}
.result-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
    line-height: 1.3;
    transition: color 0.3s ease;
}
.result-title:hover {
    color: var(--color-secondary);
}
.result-price {
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--color-primary);
    font-size: 1.1rem;
    margin-bottom: 12px;
}
.result-excerpt {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media(max-width: 600px) {
    .search-results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .result-content { padding: 15px; }
    .result-title { font-size: 1rem; }
    .result-image img { aspect-ratio: 1; }
    .placeholder-img { aspect-ratio: 1; }
}

/* =========================================
   DYNAMIC CHECKOUT BUTTONS RESPONSIVENESS
   ========================================= */
.additional-checkout-buttons,
.shopify-payment-button {
    display: flex;
    flex-direction: column;
    width: 100%;
    z-index: 1;
}

.additional-checkout-buttons * {
    max-width: 100% !important;
}

.shopify-payment-button__button {
    width: 100% !important;
    border-radius: var(--border-radius) !important;
    min-height: 44px;
    overflow: hidden;
}

.shopify-payment-button__button--hidden {
    display: none !important;
}

/* =========================================
   PREMIUM CTA BUTTON AESTHETICS (Awwwards-Level)
   ========================================= */

/* Primary Add to Cart */
.pd-add-btn {
    min-height: 56px !important;
    padding: 0 32px !important;
    font-family: var(--font-body, 'Open Sans', sans-serif) !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.15em !important;
    background-color: var(--color-primary, #573010) !important;
    color: #ffffff !important;
    border: 1px solid var(--color-primary, #573010) !important;
    border-radius: 0px !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative;
    overflow: hidden;
}

.pd-add-btn:hover:not([disabled]) {
    background-color: transparent !important;
    color: var(--color-primary, #573010) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(87, 48, 16, 0.1) !important;
}
.pd-add-btn:active:not([disabled]) {
    transform: translateY(0);
}

/* Dynamic Checkout Button (Buy It Now) */
.shopify-payment-button__button--unbranded {
    min-height: 56px !important;
    padding: 0 32px !important;
    background-color: transparent !important;
    color: var(--color-primary, #573010) !important;
    font-family: var(--font-body, 'Open Sans', sans-serif) !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.15em !important;
    border: 1px solid var(--color-secondary, #8c6346) !important;
    border-radius: 9px !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative;
    overflow: hidden;
}

/* Zap Icon Injection (Default State: Secondary Color) */
.shopify-payment-button__button--unbranded::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 12px;
    vertical-align: middle;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238c6346' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='13 2 3 14 12 14 11 22 21 10 12 10 13 2'%3E%3C/polygon%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* New Hover State (Solid Fill) */
.shopify-payment-button__button--unbranded:hover:not([disabled]) {
    background-color: var(--color-secondary, #8c6346) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(140, 99, 70, 0.15) !important;
}

/* Zap Icon Inverse (Hover State: White Color) */
.shopify-payment-button__button--unbranded:hover:not([disabled])::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='13 2 3 14 12 14 11 22 21 10 12 10 13 2'%3E%3C/polygon%3E%3C/svg%3E");
}

.shopify-payment-button__button--unbranded:active:not([disabled]) {
    transform: translateY(0);
}
