@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* New Earthy, Organic Palette for Oils & Spices */
    --brand-dark-green: #1A3622;
    --brand-olive: #4C5D42;
    --brand-copper: #C2803A;
    --brand-gold: #D4A352;
    
    --bg-base: #F9F7F3; /* Warm creamy off-white */
    --bg-surface: #FFFFFF;
    --bg-dark: #121413;
    
    --text-primary: #1C1D1A;
    --text-body: #595B56;
    --text-light: #A7A9A3;
    
    --border-subtle: #E8E5DF;
    --border-strong: #D5D2C9;
    
    --shadow-elegant: 0 12px 30px rgba(26, 54, 34, 0.04);
    --shadow-hover: 0 20px 40px rgba(194, 128, 58, 0.08);

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Space Mono', monospace;

    --radius-soft: 8px;
    --radius-pill: 50px;
    
    --transition-slow: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-medium: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --transition-fast: all 0.2s ease-in-out;
    --text-cream: #F9F7F3;
}

/* Global UX Smoothness & Overflow Lockdown */
html, body { 
    scroll-behavior: smooth; 
    -webkit-tap-highlight-color: transparent;
    overflow-x: hidden !important;
    width: 100%;
    position: relative;
}
body { 
    transition: var(--transition-medium);
}
:focus { 
    outline: none !important; 
    box-shadow: 0 0 0 2px rgba(194, 128, 58, 0.2) !important;
}
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand-copper); }

/* Unified Base Reset & Clean Aesthetics */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background-color: #F9F7F3;
    color: var(--text-body);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--brand-dark-green);
    font-weight: 500;
    line-height: 1.2;
}

a { 
    text-decoration: none !important; 
    color: inherit; 
    transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
a:hover, a:focus, a:active {
    text-decoration: none !important;
}

img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; padding: 0; margin: 0; }
button { font-family: var(--font-body); cursor: pointer; border: none; outline: none; background: transparent; }

/* Layout Containers */
.container-aesthetic {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}
@media (max-width: 768px) {
    .container-aesthetic { padding: 0 20px; }
}

/* Modern Minimalist Ticker */
.site-ticker-modern {
    background: var(--brand-dark-green);
    color: white;
    overflow: hidden;
    padding: 10px 0;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 800;
    position: relative;
    z-index: 1001;
}
.ticker-content-roll {
    display: flex;
    white-space: nowrap;
    gap: 100px;
    animation: ticker-slide 30s linear infinite;
}
@keyframes ticker-slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Cinematic Design System: Header & Navigation */
.aesthetic-nav-cinematic {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(26, 54, 34, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 18px 0;
}
.header-orchestrator {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Symmetrical Wings */
.nav-wing {
    display: flex;
    align-items: center;
    flex: 1;
}
.nav-wing.left { justify-content: flex-start; gap: 35px; }
.nav-wing.right { justify-content: flex-end; }

.nav-wing a {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--brand-dark-green);
    position: relative;
    padding: 4px 0;
}
.nav-wing a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--brand-copper);
}

/* Centered Branding */
.branding-center-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}
.branding-center-stage img {
    height: 44px;
    width: auto;
}
.brand-monogram {
    display: flex;
    flex-direction: column;
}
.brand-monogram .main-title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: var(--brand-dark-green);
    letter-spacing: 2px;
    line-height: 0.9;
}
.brand-monogram .luxury-tag {
    font-size: 7px;
    letter-spacing: 3px;
    color: var(--brand-copper);
    font-weight: 900;
    text-transform: uppercase;
}

/* Icon Terminal */
.icon-terminal {
    display: flex;
    align-items: center;
    gap: 8px;
}
.terminal-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--brand-dark-green);
    border-radius: 50%;
    transition: 0.3s ease;
}
.terminal-btn:hover { background: #f9f9f9; color: var(--brand-copper); }
.luxury-dot {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 6px;
    height: 6px;
    background: var(--brand-copper);
    border-radius: 50%;
}

/* Cinematic Search Overlay */
.cinematic-search-overlay {
    position: fixed;
    top: 100px;
    left: 0;
    width: 100%;
    background: white;
    padding: 40px 0;
    z-index: 1001;
    border-bottom: 1px solid #f5f5f5;
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 30px 60px rgba(0,0,0,0.05);
}
.cinematic-search-overlay.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}
.luxury-search-form {
    display: flex;
    align-items: center;
    gap: 25px;
    max-width: 800px;
    margin: 0 auto;
}
.luxury-search-form input {
    flex: 1;
    border: none;
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--brand-dark-green);
    outline: none;
    background: transparent;
}
.luxury-search-form button {
    background: var(--brand-dark-green);
    color: white;
    padding: 12px 30px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
    border-radius: 50px;
}

/* Mobile Native Bottom Bar */
.mobile-native-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-around;
    padding: 10px 0 calc(env(safe-area-inset-bottom) + 10px);
    z-index: 2001;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.02);
}
.bottom-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #999;
    text-decoration: none !important;
    flex: 1;
}
.bottom-bar-item i { font-size: 18px; }
.bottom-bar-item span { font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; }
.bottom-bar-item.active { color: var(--brand-dark-green); }

/* Mobile Adaptations */
@media (max-width: 991px) {
    .aesthetic-nav-cinematic { padding: 10px 0; }
    .branding-center-stage img { height: 32px; }
    .brand-monogram .main-title { font-size: 18px; }
    .brand-monogram .luxury-tag { font-size: 6px; }
    .nav-wing.left { flex: 0; }
}

/* Mobile Drawer Luxury Style */
.drawer-footer-luxury { border-top: 1px solid #f5f5f5; padding-top: 30px; margin-top: auto; }
.luxury-text { color: var(--brand-copper) !important; letter-spacing: 1px; }
.op-50 { opacity: 0.5; }

/* Cinematic Mobile Drawer System */
.mobile-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(26, 54, 34, 0.4);
    backdrop-filter: blur(8px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}
.mobile-drawer-backdrop.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}
.mobile-drawer-wrap {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 85%;
    max-width: 320px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(25px);
    z-index: 2000;
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    visibility: hidden;
    display: flex;
    flex-direction: column;
    padding: 40px 30px;
    pointer-events: none;
    border-left: 1px solid rgba(0,0,0,0.05);
}
.mobile-drawer-wrap.active {
    transform: translateX(0);
    visibility: visible;
    pointer-events: all;
}
.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}
.drawer-title {
    font-size: 10px;
    letter-spacing: 3px;
    font-weight: 800;
    color: #ccc;
    text-transform: uppercase;
}
.drawer-close-btn {
    background: none;
    border: none;
    font-size: 22px;
    color: var(--brand-dark-green);
    display: flex;
    align-items: center;
    justify-content: center;
}
.drawer-menu-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px; /* Reduced gap for a cleaner, more organized look */
}
.drawer-link {
    font-family: var(--font-body); /* Switched to minimalist font */
    font-size: 18px; /* Reduced size for better density */
    font-weight: 600;
    color: var(--brand-dark-green);
    text-decoration: none !important;
    letter-spacing: 0.5px; /* Subtle breathability */
    transition: 0.3s ease;
    opacity: 0.85;
}
.drawer-link:hover, .drawer-link.active { 
    color: var(--brand-copper); 
    opacity: 1;
    padding-left: 5px;
}
.drawer-divider { height: 1px; background: rgba(0,0,0,0.03); margin: 10px 0; }


@media (max-width: 900px) {
    .nav-links { display: none; }
}

/* Buttons */
.btn-primary-aesthetic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-dark-green);
    color: white;
    padding: 16px 40px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid var(--brand-dark-green);
    border-radius: 0; /* Sharp, elegant edges or slight soft radius */
    transition: var(--transition-slow);
}
.btn-primary-aesthetic:hover {
    background: var(--brand-olive);
    border-color: var(--brand-olive);
}

.btn-outline-aesthetic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--brand-dark-green);
    padding: 16px 40px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid var(--brand-dark-green);
    transition: var(--transition-slow);
}
.btn-outline-aesthetic:hover {
    background: var(--brand-dark-green);
    color: white;
}

/* Section Headings */
.section-heading-wrap {
    text-align: center;
    margin-bottom: 60px;
}
.section-subtitle {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--brand-copper);
    display: block;
    margin-bottom: 16px;
}
.section-title {
    font-size: 40px;
    color: var(--brand-dark-green);
}
.section-divider {
    width: 40px;
    height: 1px;
    background: var(--brand-copper);
    margin: 24px auto 0;
}

/* Product Cards */
.product-card-aesthetic {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-soft);
    overflow: hidden;
    transition: var(--transition-slow);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.product-card-aesthetic:hover {
    transform: translateY(-8px);
    border-color: var(--brand-copper);
    box-shadow: var(--shadow-hover);
}
.product-image-wrap {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    background: #f0ede8;
}
.product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.product-card-aesthetic:hover .product-image-wrap img {
    transform: scale(1.08);
}
.product-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
}
.badge-eco {
    background: var(--bg-surface);
    color: var(--brand-dark-green);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.product-quick-action {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(5px);
    padding: 15px;
    transform: translateY(100%);
    transition: var(--transition-slow);
    z-index: 3;
    display: flex;
    justify-content: center;
}
.product-card-aesthetic:hover .product-quick-action {
    transform: translateY(0);
}
.product-quick-action button {
    width: 100%;
    background: var(--brand-dark-green);
    color: white;
    border: none;
    padding: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-info-wrap {
    padding: 24px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.product-category-text {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
    margin-bottom: 8px;
}
.product-title-text {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 12px;
    transition: var(--transition-fast);
}
.product-card-aesthetic:hover .product-title-text {
    color: var(--brand-copper);
}
.product-price-wrap {
    margin-top: auto;
    font-family: var(--font-mono);
    font-size: 20px;
    color: var(--brand-dark-green);
    font-weight: 600;
}

/* Animations */
@keyframes fadeUpEarthy {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-in { opacity: 0; animation: fadeUpEarthy 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
.d-1 { animation-delay: 0.1s; }
.d-2 { animation-delay: 0.2s; }
.d-3 { animation-delay: 0.3s; }
.d-4 { animation-delay: 0.4s; }

/* Custom Inputs & Selects */
.input-aesthetic {
    width: 100%;
    border: 1px solid var(--border-strong);
    background: var(--bg-surface);
    padding: 16px 20px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-primary);
    transition: var(--transition-fast);
    outline: none;
    border-radius: 0;
}
.input-aesthetic:focus {
    border-color: var(--brand-copper);
}

/* Utilities */
.bg-cream { background-color: var(--bg-base); }
.bg-white { background-color: var(--bg-surface); }
.bg-dark-green { background-color: var(--brand-dark-green); color: white; }
.text-copper { color: var(--brand-copper); }
.text-forest { color: var(--brand-dark-green); }

/* Spacing */
.py-aesthetic { padding: 120px 0; }
@media(max-width: 768px){ .py-aesthetic { padding: 80px 0; } }

/* Hero Specific Base */
.hero-aesthetic {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: var(--brand-dark-green);
    overflow: hidden;
}
.hero-image-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    mix-blend-mode: overlay;
    transform: scale(1.05); /* initial scale for slight zoom effect if animated */
}
.hero-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
    color: white;
}
.hero-subtitle {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--brand-copper);
    margin-bottom: 24px;
    display: block;
}
.hero-title {
    font-size: 72px;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -1px;
}
@media (max-width: 768px) {
    .hero-title { font-size: 48px; }
}

/* Footer */
.footer-aesthetic {
    background: var(--brand-dark-green);
    color: rgba(255,255,255,0.7);
    padding: 100px 0 30px;
    font-size: 14px;
}
.footer-heading {
    color: white;
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 30px;
    font-weight: 500;
}
.footer-links li { margin-bottom: 12px; }
.footer-links a:hover { color: var(--brand-copper); }

/* Grid Orchestration - Forced 2-Column Mobile */
.grid-standard {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1200px) {
    .grid-standard { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
    .grid-standard { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 500px) {
    .grid-standard { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .product-title-text { font-size: 14px !important; margin-bottom: 5px !important; }
    .product-info-wrap { padding: 10px !important; }
    .product-price-wrap { font-size: 16px !important; }
    .badge-eco { font-size: 8px !important; padding: 4px 8px !important; }
}

/* Page Specific Responsiveness */
@media (max-width: 992px) {
    .cart-grid, .checkout-grid {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }
    .col-lg-8, .col-lg-4 {
        width: 100% !important;
    }
}

.table-responsive-stack {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Mobile Excellence Overdrive */
@media (max-width: 768px) {
    /* UNIVERSAL RESET FOR PADDINGS TO PREVENT HORIZONTAL OVERFLOW */
    .p-5, .p-md-5, .p-lg-10, [class*="p-4"], [class*="p-5"] { 
        padding: 1.2rem !important; 
    }
    
    .py-aesthetic { padding: 40px 0 !important; }
    
    /* Hero Transformation - No more overflowing text */
    .hero-aesthetic { min-height: 60vh !important; padding: 40px 0 !important; height: auto !important; }
    .hero-title { font-size: 30px !important; line-height: 1.1 !important; margin-bottom: 20px !important; }
    .hero-subtitle { margin-bottom: 12px !important; letter-spacing: 2px !important; }
    .hero-content-centered { margin-top: 0 !important; padding: 0 !important; margin: 0 auto !important; width: 100% !important; }
    .glass-content-wrap { padding: 1.5rem !important; border-radius: 20px !important; margin: 0 auto !important; width: 100% !important; border: none !important; }
    .hero-aesthetic p { font-size: 15px !important; line-height: 1.6 !important; }
    
    /* Header Compression */
    .site-header { padding: 8px 0 !important; }
    .brand-name { font-size: 16px !important; letter-spacing: 0.5px !important; font-weight: 700 !important; }
    .brand-tagline { display: none !important; }
    .brand-identity img { max-height: 30px !important; }
    .header-icons { gap: 12px !important; }
    .icon-btn { font-size: 16px !important; }
    
    /* Section Polishing */
    .section-title { font-size: 24px !important; margin-bottom: 15px !important; }
    .section-heading-wrap { margin-bottom: 25px !important; }
    .section-divider { margin: 15px auto 0 !important; }
    
    /* Stacking Buttons */
    .d-flex.gap-3.justify-content-center, .d-flex.flex-wrap {
        flex-direction: column !important;
        width: 100% !important;
    }
    .btn-primary-aesthetic, .btn-outline-aesthetic {
        width: 100% !important;
        padding: 14px 20px !important;
        font-size: 11px !important;
    }
    
    /* Fix horizontal scroll issues */
    .row { margin-left: -10px !important; margin-right: -10px !important; }
    [class*="col-"] { padding-left: 10px !important; padding-right: 10px !important; }
    
    /* Cards Layout */
    .product-info-wrap { padding: 15px !important; }
    .product-title-text { font-size: 17px !important; }
    
    /* Prevent text stretching */
    body { font-size: 14px !important; }
    
    /* Hide some animations for smoothness on lower-end phones */
    .animate-in { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* Micro-device Screen Guard (Phones under 360px wide) */
@media (max-width: 360px) {
    .brand-name { display: none !important; } /* Only show logo to avoid overlap */
    .header-inner { justify-content: space-between !important; }
    .container-aesthetic { padding: 0 12px !important; }
}
/* Smooth Scrolling Navs */
.nav-pills, .nav-tabs {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    justify-content: flex-start !important;
    padding-bottom: 5px;
}
.nav-pills::-webkit-scrollbar { display: none; }
.nav-item { flex-shrink: 0 !important; }

/* Interactive Smoothness */
.btn-primary-aesthetic, .btn-outline-aesthetic, .icon-btn, .product-card-aesthetic {
    transition: var(--transition-medium) !important;
}
.btn-primary-aesthetic:active, .btn-outline-aesthetic:active {
    transform: scale(0.96);
}

/* Double Column Mobile Grid Lockdown - Listings Only */
@media (max-width: 576px) {
    /* Target only product cards inside grids, NOT main detail rows */
    .grid-standard > [class*="col-"],
    .shop-list-row > [class*="col-"],
    .related-products-row > [class*="col-"] {
        width: 50% !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
    
    /* Specific overrides for very tight spaces */
    .product-card-aesthetic { margin-bottom: 5px !important; }
    .product-info-wrap { padding: 12px 8px !important; }
    .product-title-text { font-size: 13px !important; height: 32px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; }
    .product-price-wrap { font-size: 15px !important; }
}

/* Unified Proper Padding Overhaul */
@media (max-width: 768px) {
    /* Side Breathing Room */
    .container-aesthetic { padding: 0 20px !important; }
    
    /* Section Vertical Rhythms */
    .py-aesthetic { padding: 50px 0 !important; }
    
    /* Card Density Refinement */
    .product-info-wrap { padding: 15px 12px !important; }
    .product-card-aesthetic { margin-bottom: 20px !important; }
    
    /* Gutter Alignment */
    .row.g-4, .row.g-5 { margin-left: -10px !important; margin-right: -10px !important; }
    .row.g-4 > [class*="col-"], .row.g-5 > [class*="col-"] { padding: 10px !important; }
}

/* Product Detail Mobile Refinement - BOUTIQUE OVERDRIVE */
@media (max-width: 768px) {
    .py-aesthetic.product-detail-main { padding: 25px 0 !important; }
    
    /* Breadcrumb minimalism */
    .breadcrumb { margin-bottom: 30px !important; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .breadcrumb-item { flex-shrink: 0; }

    /* Gallery Edge-to-Edge feel */
    .product-gallery-aesthetic { 
        margin-left: -20px !important; 
        margin-right: -20px !important; 
        border-radius: 0 !important; 
        padding: 0 !important; 
        border: none !important;
        box-shadow: none !important;
        background: white !important;
    }
    .gallery-image-wrap { border-radius: 0 !important; }
    .wishlist-detail-btn { top: 15px !important; right: 15px !important; width: 44px !important; height: 44px !important; box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important; }
    
    /* Title & Pricing */
    .product-intel-wrap h1 { font-size: 30px !important; line-height: 1.2 !important; margin-top: 10px !important; }
    .badge-source { margin-bottom: 10px !important; }
    .stars-gold { font-size: 12px !important; }
    
    .border-start.border-4 { padding-left: 20px !important; margin-bottom: 30px !important; }
    .h2.text-brand-copper { font-size: 24px !important; }
    
    /* The Form Terminal */
    form.bg-white.p-4 { 
        padding: 20px !important; 
        margin-left: -20px !important; 
        margin-right: -20px !important; 
        border-radius: 0 !important; 
        box-shadow: none !important; 
        border-top: 1px solid var(--border-subtle) !important;
        border-bottom: 1px solid var(--border-subtle) !important;
    }
    
    /* Analytical Tabs Scroll */
    .nav-pills { padding: 10px 0 !important; border-bottom: 1px solid var(--border-subtle); margin-bottom: 30px !important; }
    .tab-content { padding: 0 !important; background: transparent !important; border: none !important; backdrop-filter: none !important; }
}

/* Homepage Mobile Excellence Overdrive */
@media (max-width: 768px) {
    /* Hero Refinement */
    .hero-aesthetic { min-height: 80vh !important; }
    .glass-content-wrap { padding: 30px 20px !important; margin: 0 10px; border-radius: 30px !important; }
    .hero-title { font-size: 32px !important; line-height: 1.2 !important; }
    .hero-subtitle { font-size: 10px !important; letter-spacing: 2px !important; }
    .hero-content-centered p { font-size: 14px !important; }
    
    .hero-content-centered .d-flex { flex-direction: column !important; gap: 10px !important; }
    .hero-content-centered .btn-primary-aesthetic, 
    .hero-content-centered .btn-outline-aesthetic { 
        width: 100%; 
        padding: 15px !important;
        text-align: center;
    }

    /* Section Typography */
    .section-title { font-size: 28px !important; line-height: 1.2 !important; }
    .section-subtitle { font-size: 10px !important; }

    /* Dual Banner Spotlights - REFINED */
    .col-lg-6.position-relative { min-height: 420px !important; width: 100% !important; flex: 0 0 100% !important; overflow: hidden !important; }
    .hero-aesthetic + section + section .p-lg-10, 
    .col-lg-6 .p-5 { 
        padding: 30px !important; 
        align-items: center !important; 
        text-align: center !important; 
        width: 100% !important;
        left: 0 !important;
        justify-content: center !important;
    }
    .p-lg-10 h2, .p-5 h2 { font-size: 28px !important; line-height: 1.1 !important; margin-bottom: 20px !important; }
    .p-lg-10 p, .p-5 p { font-size: 14px !important; max-width: 100% !important; margin-bottom: 25px !important; }
    .p-lg-10 .btn-outline-aesthetic, .p-5 .btn-outline-aesthetic { 
        align-self: center !important; 
        padding: 12px 25px !important; 
        font-size: 10px !important; 
        width: fit-content !important; 
        margin: 0 auto !important;
    }
    
    /* Branding Benefits */
    .fa-solid.text-forest { font-size: 24px !important; margin-bottom: 15px !important; }
    h3 { font-size: 18px !important; }
}

@media (max-width: 480px) {
    .grid-standard { gap: 15px !important; }
    .btn-primary-aesthetic, .btn-outline-aesthetic { font-size: 10px !important; padding: 12px 20px !important; }
}

/* Header & Footer Mobile Final Polishing */
@media (max-width: 768px) {
    /* Header Scaling REFINED */
    .brand-name { font-size: 20px !important; }
    .brand-tagline { font-size: 8px !important; letter-spacing: 1.5px !important; }
    .brand-identity img { max-height: 44px !important; }
    
    .site-header { padding: 15px 0 !important; } /* Balanced mobile padding */
    .header-icons { gap: 15px !important; }
    .icon-btn { width: 40px !important; height: 40px !important; font-size: 16px !important; }
    #mobileMenuToggle { margin-left: 10px !important; }

    /* Site Ticker REFINED */
    .site-ticker { padding: 5px 0 !important; }
    .ticker-item { font-size: 9px !important; letter-spacing: 1.5px !important; }

    /* Footer Symmetery */
    .footer-aesthetic { padding: 60px 0 40px !important; text-align: center !important; }
    .footer-aesthetic .brand-identity { align-items: center !important; margin-bottom: 25px !important; }
    .footer-aesthetic p { font-size: 13px !important; padding: 0 10px; }
    .social-icons { justify-content: center !important; margin-bottom: 40px !important; }
    
    .footer-heading { font-size: 14px !important; margin-top: 20px; margin-bottom: 20px !important; display: block; }
    .footer-links { margin-bottom: 30px !important; }
    .footer-links li { margin-bottom: 10px !important; }
    
    /* Copyright Fluidity */
    .footer-aesthetic .container-aesthetic > div:last-child { 
        flex-direction: column !important; 
        gap: 20px !important; 
        text-align: center !important; 
        padding-top: 25px !important;
    }

    /* Newsletter Stacking */
    .footer-aesthetic form.d-flex { flex-direction: column !important; gap: 10px !important; }
    .footer-aesthetic form.d-flex input { border-radius: 8px !important; border: 1px solid rgba(255,255,255,0.1) !important; padding: 14px !important; font-size: 14px !important; }
    .footer-aesthetic form.d-flex button { border-radius: 8px !important; width: 100% !important; padding: 14px !important; }
}

@media (max-width: 480px) {
    .brand-text-wrap { display: none !important; } /* Only show logo icon on tiny screens */
    .header-inner { justify-content: space-between !important; }
    .container-aesthetic { padding: 0 12px !important; }
}

/* User Dashboard Mobile Overhaul */
@media (max-width: 768px) {
    .section-title.dashboard-title { font-size: 28px !important; }
    
    /* Horizontal Sidebar Menu Transformation */
    .dashboard-sidebar { 
        position: relative !important; 
        top: 0 !important; 
        margin-bottom: 30px !important;
    }
    .dashboard-sidebar nav { 
        flex-direction: row !important; 
        overflow-x: auto !important; 
        -webkit-overflow-scrolling: touch !important;
        gap: 10px !important;
        padding-bottom: 15px !important;
        border: none !important;
    }
    .dashboard-sidebar a { 
        padding: 12px 20px !important; 
        white-space: nowrap !important;
        border-radius: 50px !important;
        border: 1px solid var(--border-subtle) !important;
        font-size: 11px !important;
        background: white !important;
        border-left: 1px solid var(--border-subtle) !important;
    }
    .dashboard-sidebar a.active {
        background: var(--brand-dark-green) !important;
        color: white !important;
        border-color: var(--brand-dark-green) !important;
    }

    /* Stacked Table Logic */
    .table-dashboard thead { display: none; }
    .table-dashboard tr { 
        display: block !important; 
        border: 1px solid var(--border-subtle) !important; 
        border-radius: 15px !important; 
        margin-bottom: 15px !important; 
        padding: 15px !important;
        background: white !important;
    }
    .table-dashboard td { 
        display: flex !important; 
        justify-content: space-between !important; 
        align-items: center !important; 
        padding: 10px 0 !important; 
        border: none !important;
        border-bottom: 1px solid #f9f9f9 !important;
    }
    .table-dashboard td::before { 
        content: attr(data-label); 
        font-weight: 700; 
        text-transform: uppercase; 
        font-size: 10px; 
        color: var(--text-light); 
        letter-spacing: 1px;
    }
    .table-dashboard td.text-end { text-align: left !important; justify-content: flex-start !important; padding-top: 15px !important; border: none !important; width: 100%; }
}

