/* ============================================
   WYSNER BOTANICS — Premium Clean Botanical CSS
   Clean Light Theme with High Contrast & Readability
   ============================================ */

/* ---- CSS Custom Properties ---- */
:root {
    /* Brand Colors */
    --color-primary: #022616;
    --color-primary-dark: #0f2b1d;
    --color-primary-light: #2d5a3d;
    --color-primary-50: #eef5f0;
    --color-primary-100: #d4e6da;
    --color-primary-200: #a8cdb5;

    /* Gold Accents (From Logo) */
    --color-secondary: #d4a843;
    --color-secondary-dark: #b38628;
    --color-secondary-light: #e5c158;
    --color-secondary-50: #fdf8ee;
    --gold-border: 1px solid rgba(212, 168, 67, 0.35);

    /* Backgrounds & Neutrals */
    --color-cream: #faf7f0;
    --color-cream-dark: #f5efe3;
    --color-white: #ffffff;
    --color-neutral-50: #fafaf9;
    --color-neutral-100: #f5f5f4;
    --color-neutral-200: #e7e5e4;
    --color-neutral-300: #d6d3d1;
    --color-neutral-400: #5c5755;
    --color-neutral-500: #443f3d;
    --color-neutral-600: #2b2725;
    --color-neutral-700: #1c1918;
    --color-neutral-800: #0f0c0c;
    --color-neutral-900: #050404;

    /* Functional */
    --color-success: #16a34a;
    --color-whatsapp: #25D366;

    /* Typography */
    --font-headline: inherit, 'Plus Jakarta Sans', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', 'Outfit', 'DM Sans', -apple-system, sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 5rem;

    /* Radii & Shadows */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.09);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.11);
    --shadow-gold: 0 4px 20px rgba(212, 168, 67, 0.25);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Layout */
    --max-width: 1280px;
    --header-height: 76px;
    --mobile-nav-height: 64px;
}

/* ---- Base & Reset ---- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 100%;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--color-neutral-800);
    background-color: var(--color-cream);
}

/* =========================================================
   STRICT GLOBAL ALIGNMENT & SAFE AREA CONTAINER RULES
   Enforces 100% unified 1280px max-width alignment across all 
   pages, headers, footers, heroes, and sections for all screen sizes.
   ========================================================= */
.max-w-container-max,
.max-w-7xl,
.container,
.site-container {
    max-width: 1280px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.px-margin-desktop {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

@media (min-width: 640px) {
    .px-margin-desktop {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
}

@media (min-width: 1024px) {
    .px-margin-desktop {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }
}

.gap-gutter {
    gap: 2rem !important;
}

/* =========================================================
   MOBILE BOTTOM NAVIGATION BAR (Strict Mobile-Only Rules)
   ========================================================= */
.mobile-bottom-nav {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 100 !important;
    background-color: #022616 !important;
    border-top: 1.5px solid #d4af37 !important;
    height: 64px !important;
    box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.3) !important;
    align-items: center !important;
    justify-content: space-around !important;
    padding: 0 0.5rem !important;
}

.mobile-bottom-nav a,
.mobile-bottom-nav button {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 !important;
    height: 100% !important;
    color: rgba(255, 255, 255, 0.75) !important;
    text-decoration: none !important;
    font-size: 0.625rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    transition: all 150ms ease !important;

}

.mobile-bottom-nav a.active,
.mobile-bottom-nav button.active {
    color: #ffdf9f !important;
    font-weight: 800 !important;
}

.mobile-bottom-nav a:hover,
.mobile-bottom-nav button:hover {
    color: #ffffff !important;
}

/* STRICT DESKTOP & TABLET HIDING (768px and above) */
@media (min-width: 768px) {
    .mobile-bottom-nav {
        display: none !important;
    }
}

/* =========================================================
   WYSNER BOTANICS — GLOBAL PRODUCT PAGE & DESIGN SYSTEM RULES
   High Contrast, Pixel-Perfect Spacing & Visibility Rules
   ========================================================= */

/* 1. Global Ref Number & Dark Green Badges */
.badge-ref-number {
    background-color: #022616 !important;
    color: #ffdf9f !important;
    border: 1px solid #d4af37 !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    padding: 0.35rem 0.85rem !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
    display: inline-flex !important;
    align-items: center !important;
    font-size: 0.75rem !important;
}

/* 2. Category Badge over Image Showcase */
.badge-category-specimen {
    background-color: #022616 !important;
    color: #ffdf9f !important;
    border: 1px solid #d4af37 !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    padding: 0.4rem 1rem !important;
    border-radius: 9999px !important;
    box-shadow: 0 4px 12px rgba(2, 38, 22, 0.3) !important;
    z-index: 20 !important;
    font-size: 0.7rem !important;
}

/* 3. Specification Tabs (Active & Inactive States) */
.tab-btn-pill {
    padding: 0.75rem 1.5rem !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    border-radius: 14px !important;
    transition: all 250ms ease-in-out !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    display: inline-block !important;
}

.tab-btn-pill.active {
    background-color: #022616 !important;
    color: #ffdf9f !important;
    border: 1.5px solid #022616 !important;
    box-shadow: 0 4px 14px rgba(2, 38, 22, 0.3) !important;
}

.tab-btn-pill.inactive {
    background-color: #ffffff !important;
    color: #1c1918 !important;
    border: 1.5px solid rgba(212, 168, 67, 0.35) !important;
}

.tab-btn-pill.inactive:hover {
    background-color: #fdf8ee !important;
    border-color: #d4a843 !important;
    color: #022616 !important;
}

/* 4. Commercial Price Card & Action Buttons */
.price-card-box {
    background-color: #ffffff !important;
    border: 1.5px solid rgba(212, 168, 67, 0.25) !important;
    border-radius: 24px !important;
    padding: 1.75rem !important;
    box-shadow: 0 10px 30px rgba(2, 38, 22, 0.07) !important;
}

.gst-tag-badge {
    background-color: #ecfdf5 !important;
    color: #065f46 !important;
    border: 1px solid #a7f3d0 !important;
    font-weight: 700 !important;
    padding: 0.25rem 0.75rem !important;
    border-radius: 6px !important;
    font-size: 0.75rem !important;
    display: inline-block !important;
}

.btn-add-cart-custom {
    background-color: #ffffff !important;
    color: #022616 !important;
    border: 2px solid #022616 !important;
    font-weight: 700 !important;
    border-radius: 16px !important;
    padding: 0.9rem 1.25rem !important;
    transition: all 200ms ease !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    font-size: 0.8rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

.btn-add-cart-custom:hover {
    background-color: #f4efe4 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(2, 38, 22, 0.1) !important;
}

.btn-buy-now-custom {
    background-color: #022616 !important;
    color: #ffffff !important;
    border: 1.5px solid #d4af37 !important;
    font-weight: 800 !important;
    border-radius: 16px !important;
    padding: 0.9rem 1.25rem !important;
    transition: all 200ms ease !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    font-size: 0.8rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    box-shadow: 0 4px 14px rgba(2, 38, 22, 0.25) !important;
}

.btn-buy-now-custom:hover {
    background-color: #000000 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3) !important;
}

/* 5. Key Spec Chips Under Image (Spacing & Contrast) */
.spec-chip-card {
    background-color: #ffffff !important;
    border: 1px solid rgba(212, 168, 67, 0.3) !important;
    border-radius: 18px !important;
    padding: 0.85rem 0.5rem !important;
    text-align: center !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
    margin-top: 0.75rem !important;
}

.spec-chip-label {
    display: block !important;
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    color: #b38628 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    margin-bottom: 0.2rem !important;
}

.spec-chip-value {
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    color: #022616 !important;
    display: block !important;
}

/* 6. Ayurvedic Matrix Glass Items */
.ayurvedic-matrix-card {
    background-color: #022616 !important;
    color: #faf7f0 !important;
    border: 1.5px solid rgba(212, 175, 55, 0.35) !important;
    border-radius: 24px !important;
    padding: 1.75rem !important;
    box-shadow: 0 14px 35px rgba(2, 38, 22, 0.25) !important;
    width: 100% !important;
}

.ayurvedic-glass-item {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 16px !important;
    padding: 0.85rem 1rem !important;
    transition: all 200ms ease !important;
}

.ayurvedic-glass-item:hover {
    background-color: rgba(255, 255, 255, 0.14) !important;
    border-color: rgba(255, 223, 159, 0.4) !important;
}

.ayurvedic-item-label {
    display: block !important;
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    color: #ffdf9f !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    margin-bottom: 0.15rem !important;
}

.ayurvedic-item-val {
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
}

/* Explicit Grid & Col-Span Overrides for Product Detail Page */
.grid-cols-12 {
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
}

@media (min-width: 1024px) {
    .lg\:col-span-6 {
        grid-column: span 6 / span 6 !important;
    }
    .lg\:col-span-12 {
        grid-column: span 12 / span 12 !important;
    }
}

@media (max-width: 1023px) {
    .lg\:col-span-6,
    .lg\:col-span-12 {
        grid-column: span 12 / span 12 !important;
    }
}
