/*
Theme Name: Vighnaharta Child Theme
Theme URI: https://vighnaharta.store
Description: Custom child theme for Ganesh Murti district e-commerce platform, based on Astra theme. Mobile-first, tri-lingual, festival-ready.
Author: Ganesh Murti Platform Dev
Author URI: https://vighnaharta.store
Template: astra
Version: 1.0.0
Text Domain: vighnaharta-theme
License: GPL-2.0-or-later
*/

/* =============================================
   1. DESIGN SYSTEM VARIABLES
   ============================================= */
:root {
    /* Brand Palette (Design Doc §2.2) */
    --primary-color: #D97706;       /* Ganesh Saffron — CTAs, headings, nav */
    --primary-hover: #b45309;       /* Darker saffron for hover states */
    --secondary-color: #B91C1C;     /* Sindoor Red — sale badges, alerts */
    --bg-color: #FFFBEB;            /* Cream Puja — page background */
    --card-bg: #FFFFFF;             /* Card backgrounds */
    --text-color: #1F2937;          /* Charcoal — body text */
    --muted-color: #6B7280;         /* Stone — captions, metadata */
    --success-color: #15803D;       /* Tulsi Green — in-stock, confirmed */
    --gold-accent: #F59E0B;         /* Gold Leaf — festival banners */
    --border-color: #E5E7EB;        /* Light gray borders */
    --disabled-bg: #D1D5DB;
    --disabled-text: #9CA3AF;
    --whatsapp-green: #25D366;
    --whatsapp-dark: #128C7E;
    --preorder-blue: #0284C7;

    /* Typography (Design Doc §2.3) */
    --font-heading: 'Playfair Display', serif;
    --font-heading-devanagari: 'Noto Serif Devanagari', serif;
    --font-body: 'Hind', sans-serif;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;

    /* Radius */
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-xl: 12px;
    --radius-full: 50%;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-md: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-lg: 0 6px 16px rgba(0,0,0,0.08);
    --shadow-xl: 0 10px 30px rgba(0,0,0,0.12);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Touch targets (WCAG / Mobile) */
    --touch-min: 44px;
    --input-height: 48px;
}

/* =============================================
   2. BASE / GLOBAL STYLES
   ============================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--bg-color) !important;
    color: var(--text-color) !important;
    font-family: var(--font-body) !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
    color: var(--text-color) !important;
    line-height: 1.2;
    margin-top: 0;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

/* Devanagari heading overrides (Design Doc §2.3) */
:lang(mr) h1, :lang(mr) h2, :lang(mr) h3, :lang(mr) h4, :lang(mr) h5, :lang(mr) h6,
:lang(hi) h1, :lang(hi) h2, :lang(hi) h3, :lang(hi) h4, :lang(hi) h5, :lang(hi) h6,
.lang-mr h1, .lang-mr h2, .lang-mr h3, .lang-mr h4, .lang-mr h5, .lang-mr h6,
.lang-hi h1, .lang-hi h2, .lang-hi h3, .lang-hi h4, .lang-hi h5, .lang-hi h6,
.brand-devanagari {
    font-family: var(--font-heading-devanagari), serif !important;
}

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

a:hover {
    color: var(--primary-hover);
}

img {
    max-width: 100%;
    height: auto;
}

/* =============================================
   3. LAYOUT CONTAINERS
   ============================================= */
.site-container,
.ast-container {
    max-width: 1200px !important;
    margin: 0 auto;
    padding-left: var(--space-md);
    padding-right: var(--space-md);
}

/* Account for mobile bottom nav */
body.has-mobile-nav {
    padding-bottom: 70px;
}

/* =============================================
   4. STICKY HEADER
   ============================================= */
.main-header,
.ast-primary-header {
    position: sticky !important;
    top: 0;
    z-index: 999;
    background: var(--card-bg) !important;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) var(--space-md);
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo */
.logo-area {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    cursor: pointer;
}

.logo-icon {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.brand-devanagari {
    font-family: var(--font-heading-devanagari) !important;
    font-size: 1.1rem !important;
    margin: 0;
    line-height: 1.2;
    color: var(--text-color) !important;
}

.brand-english {
    font-size: 0.7rem;
    color: var(--muted-color);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Header actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

/* Language dropdown */
.language-dropdown {
    position: relative;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 6px 12px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    min-height: var(--touch-min);
    min-width: var(--touch-min);
    transition: border-color var(--transition-fast);
}

.lang-btn:hover {
    border-color: var(--primary-color);
}

.lang-options {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    min-width: 160px;
    z-index: 1000;
    overflow: hidden;
    margin-top: 4px;
}

.language-dropdown:hover .lang-options,
.language-dropdown.open .lang-options {
    display: block;
}

.lang-options button {
    display: block;
    width: 100%;
    padding: 10px 16px;
    border: none;
    background: transparent;
    text-align: left;
    font-family: var(--font-body);
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--text-color);
    transition: background var(--transition-fast);
}

.lang-options button:hover {
    background: var(--bg-color);
    color: var(--primary-color);
}

/* Polylang language switcher integration */
.pll-parent-menu-item > a {
    background: transparent !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-md) !important;
    padding: 6px 12px !important;
    font-weight: 600 !important;
    min-height: var(--touch-min) !important;
}

/* Cart button */
.cart-trigger,
.ast-cart-menu-wrap .count {
    position: relative;
    background: transparent;
    border: none;
    font-size: 1.4rem;
    color: var(--text-color);
    cursor: pointer;
    min-height: var(--touch-min);
    min-width: var(--touch-min);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition-fast);
}

.cart-trigger:hover {
    color: var(--primary-color);
}

.cart-count {
    position: absolute;
    top: 2px;
    right: -2px;
    background: var(--secondary-color);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Desktop nav links (hidden on mobile) */
.desktop-nav-links {
    display: none;
}

@media (min-width: 768px) {
    .desktop-nav-links {
        display: flex;
        gap: var(--space-sm);
    }

    .nav-link-btn {
        background: transparent;
        border: none;
        font-family: var(--font-body);
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--muted-color);
        cursor: pointer;
        padding: 8px 12px;
        border-radius: var(--radius-md);
        transition: all var(--transition-fast);
    }

    .nav-link-btn:hover,
    .nav-link-btn.active {
        color: var(--primary-color);
        background: rgba(217, 119, 6, 0.08);
    }
}

/* =============================================
   5. MOBILE SEARCH BAR
   ============================================= */
.mobile-search {
    display: flex;
    padding: var(--space-sm) var(--space-md);
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    gap: var(--space-sm);
}

.mobile-search input {
    flex: 1;
    height: var(--input-height);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0 var(--space-md);
    font-family: var(--font-body);
    font-size: 16px; /* Prevents iOS zoom */
    color: var(--text-color);
    transition: border-color var(--transition-fast);
}

.mobile-search input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

.search-btn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    width: var(--input-height);
    height: var(--input-height);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast);
}

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

/* Desktop search bar */
.search-bar-desktop {
    display: none;
}

@media (min-width: 768px) {
    .mobile-search { display: none; }

    .search-bar-desktop {
        display: flex;
        flex: 1;
        max-width: 400px;
        margin: 0 var(--space-lg);
        gap: var(--space-sm);
    }

    .search-bar-desktop input {
        flex: 1;
        height: 40px;
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md);
        padding: 0 var(--space-md);
        font-family: var(--font-body);
        font-size: 0.9rem;
    }

    .search-bar-desktop input:focus {
        outline: none;
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.12);
    }
}

/* =============================================
   6. HERO SECTION
   ============================================= */
.hero-section {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #1F2937 0%, #374151 50%, #1F2937 100%);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(31, 41, 55, 0.6) 0%, rgba(31, 41, 55, 0.85) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: var(--space-2xl) var(--space-md);
    max-width: 600px;
}

.countdown-chip {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: var(--gold-accent);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.3); }
    50% { box-shadow: 0 0 20px 4px rgba(245, 158, 11, 0.15); }
}

.hero-title {
    font-size: 1.8rem !important;
    color: #FFFFFF !important;
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    margin-bottom: var(--space-lg);
    line-height: 1.5;
}

@media (min-width: 768px) {
    .hero-section { min-height: 480px; }
    .hero-title { font-size: 2.5rem !important; }
    .hero-subtitle { font-size: 1.15rem; }
}

/* =============================================
   7. TRUST BAR
   ============================================= */
.trust-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    padding: var(--space-lg) var(--space-md);
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    max-width: 1200px;
    margin: 0 auto;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-align: left;
}

.trust-icon {
    font-size: 1.6rem;
    color: var(--primary-color);
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(217, 119, 6, 0.08);
    border-radius: var(--radius-full);
}

.trust-text h4 {
    font-family: var(--font-body) !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    margin: 0;
    line-height: 1.3;
}

.trust-text p {
    font-size: 0.7rem;
    color: var(--muted-color);
    margin: 2px 0 0;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .trust-bar {
        padding: var(--space-xl) var(--space-lg);
    }
    .trust-icon { font-size: 2rem; width: 48px; height: 48px; }
    .trust-text h4 { font-size: 0.95rem !important; }
    .trust-text p { font-size: 0.8rem; }
}

/* =============================================
   8. SECTION HEADINGS
   ============================================= */
.section-heading {
    font-size: 1.3rem !important;
    margin-bottom: var(--space-lg);
    position: relative;
    padding-bottom: var(--space-sm);
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-heading.centered {
    text-align: center;
}

.section-heading.centered::after {
    left: 50%;
    transform: translateX(-50%);
}

/* =============================================
   9. CATEGORIES HORIZONTAL SCROLL
   ============================================= */
.categories-section {
    padding: var(--space-lg) var(--space-md);
}

.categories-scroll {
    display: flex;
    gap: var(--space-sm);
    overflow-x: auto;
    padding-bottom: var(--space-sm);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.categories-scroll::-webkit-scrollbar {
    display: none;
}

.category-chip {
    flex-shrink: 0;
    padding: 8px 18px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: var(--card-bg);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
    min-height: var(--touch-min);
    display: flex;
    align-items: center;
}

.category-chip:hover,
.category-chip.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* =============================================
   10. WOOCOMMERCE PRODUCT GRID (Shop Loop)
   ============================================= */
.woocommerce ul.products {
    display: grid !important;
    gap: var(--space-md) !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.woocommerce ul.products li.product {
    background: var(--card-bg) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-lg) !important;
    padding: 0 !important;
    overflow: hidden;
    box-shadow: var(--shadow-sm) !important;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal) !important;
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
    position: relative;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-4px) !important;
    box-shadow: var(--shadow-lg) !important;
}

/* Product image wrapper */
.woocommerce ul.products li.product a img,
.product-card-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    background: var(--bg-color);
}

/* Product info area */
.product-card-info {
    padding: var(--space-md);
}

/* Product title */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.product-card-title {
    font-family: var(--font-body) !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    color: var(--text-color) !important;
    margin: 0 0 var(--space-xs) !important;
    line-height: 1.3 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Artisan name in loop */
.product-artisan-name {
    font-size: 0.8rem;
    color: var(--muted-color);
    font-style: italic;
    margin-bottom: var(--space-sm);
}

/* Price */
.woocommerce ul.products li.product .price,
.product-card-price {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    margin-bottom: var(--space-md) !important;
}

.woocommerce ul.products li.product .price del {
    color: var(--muted-color) !important;
    font-size: 0.85rem !important;
    font-weight: 400 !important;
}

.woocommerce ul.products li.product .price ins {
    background: transparent !important;
    color: var(--primary-color) !important;
    text-decoration: none !important;
}

/* Rating stars */
.woocommerce .star-rating {
    color: var(--gold-accent) !important;
    font-size: 0.85rem !important;
}

/* =============================================
   11. PRODUCT BADGES
   ============================================= */
.product-badge {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    line-height: 1.4;
}

.badge-new {
    background: var(--success-color);
    color: #fff;
}

.badge-bestseller {
    background: var(--primary-color);
    color: #fff;
}

.badge-preorder {
    background: var(--preorder-blue);
    color: #fff;
}

.badge-limited {
    background: var(--secondary-color);
    color: #fff;
}

.badge-preorder-deposit {
    display: inline-block;
    font-size: 0.75rem;
    background: var(--preorder-blue);
    color: #fff;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

/* =============================================
   12. BUTTONS & CTAs
   ============================================= */
/* Primary button (saffron) */
.primary-btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    background-color: var(--primary-color) !important;
    color: #FFFFFF !important;
    border-radius: var(--radius-lg) !important;
    font-family: var(--font-body) !important;
    font-weight: 600 !important;
    padding: 12px 24px !important;
    border: none !important;
    min-height: var(--touch-min) !important;
    font-size: 0.95rem !important;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    transition: all var(--transition-fast) !important;
    text-decoration: none !important;
    line-height: 1.4;
}

.primary-btn:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
    background-color: var(--primary-hover) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Secondary button */
.secondary-btn {
    background: var(--card-bg) !important;
    color: var(--primary-color) !important;
    border: 1.5px solid var(--primary-color) !important;
    border-radius: var(--radius-lg) !important;
    font-family: var(--font-body) !important;
    font-weight: 600 !important;
    padding: 10px 20px !important;
    min-height: var(--touch-min) !important;
    cursor: pointer;
    transition: all var(--transition-fast) !important;
}

.secondary-btn:hover {
    background: rgba(217, 119, 6, 0.06) !important;
}

/* Full-width button */
.full-width {
    width: 100% !important;
}

/* Small button */
.btn-small {
    padding: 8px 16px !important;
    font-size: 0.85rem !important;
    min-height: 36px !important;
}

/* Add to Cart in product loop */
.woocommerce a.button.add_to_cart_button {
    width: 100% !important;
    text-align: center !important;
    display: flex !important;
    margin-top: auto;
}

/* Add to cart success state */
.woocommerce a.button.add_to_cart_button.added {
    background-color: var(--success-color) !important;
}

/* Disabled state */
.btn-disabled,
button:disabled {
    background: var(--disabled-bg) !important;
    color: var(--disabled-text) !important;
    cursor: not-allowed !important;
    border: none !important;
}

/* Danger button */
.danger-btn {
    background-color: var(--secondary-color) !important;
    color: #fff !important;
}

/* =============================================
   13. SINGLE PRODUCT PAGE (PDP)
   ============================================= */
.woocommerce div.product .product_title {
    font-size: 1.6rem !important;
    line-height: 1.2 !important;
    color: var(--text-color) !important;
    margin-bottom: var(--space-sm) !important;
}

.woocommerce div.product .price {
    color: var(--primary-color) !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
}

/* Single Product Add to Cart */
.woocommerce div.product form.cart {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    align-items: center;
    margin-bottom: var(--space-lg) !important;
}

.woocommerce div.product form.cart .single_add_to_cart_button {
    background-color: var(--primary-color) !important;
    font-size: 1rem !important;
    padding: 14px 32px !important;
    border-radius: var(--radius-lg) !important;
    flex: 1;
}

/* Quantity input */
.woocommerce div.product form.cart .quantity input.qty {
    width: 60px;
    height: var(--input-height);
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
}

/* Sticky mobile Add-to-Cart bar */
.sticky-add-to-cart-bar {
    display: none;
}

@media (max-width: 767px) {
    .sticky-add-to-cart-bar {
        display: flex;
        position: fixed;
        bottom: 70px; /* Above mobile nav */
        left: 0;
        right: 0;
        background: var(--card-bg);
        border-top: 1px solid var(--border-color);
        box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
        padding: var(--space-sm) var(--space-md);
        z-index: 900;
        align-items: center;
        justify-content: space-between;
        gap: var(--space-md);
    }

    .sticky-add-to-cart-bar .sticky-price {
        font-weight: 700;
        color: var(--primary-color);
        font-size: 1.1rem;
    }

    .sticky-add-to-cart-bar .sticky-cta {
        flex: 1;
        max-width: 200px;
    }
}

/* Pincode checker on PDP */
.pdp-pincode-validator-box {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    margin: var(--space-lg) 0;
}

.pdp-pincode-validator-box h4 {
    margin-bottom: var(--space-sm);
    font-size: 0.95rem !important;
    font-family: var(--font-body) !important;
    font-weight: 600 !important;
}

.pdp-pincode-input-group {
    display: flex;
    gap: var(--space-sm);
}

.pdp-pincode-input-group input {
    flex-grow: 1;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 8px 12px;
    height: var(--input-height);
    font-size: 16px;
}

.pdp-pincode-btn {
    background-color: transparent !important;
    border: 1.5px solid var(--primary-color) !important;
    color: var(--primary-color) !important;
    padding: 8px 16px !important;
    border-radius: var(--radius-md) !important;
    cursor: pointer;
    font-weight: 600;
    min-height: var(--touch-min);
}

.pdp-pincode-status-lbl {
    display: block;
    margin-top: var(--space-sm);
    font-size: 0.85rem;
}

.pdp-pincode-status-lbl.success { color: var(--success-color); }
.pdp-pincode-status-lbl.error { color: var(--secondary-color); }

/* WhatsApp CTA on PDP */
.wa-pdp-cta-btn {
    background-color: var(--whatsapp-green) !important;
    color: #FFFFFF !important;
    display: inline-flex !important;
    align-items: center;
    gap: var(--space-sm);
    border-radius: var(--radius-lg) !important;
    padding: 12px 24px !important;
    font-family: var(--font-body) !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: background-color var(--transition-fast) !important;
    min-height: var(--touch-min) !important;
}

.wa-pdp-cta-btn:hover {
    background-color: var(--whatsapp-dark) !important;
    color: #fff !important;
}

/* Artisan card on PDP */
.pdp-artisan-card {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    margin: var(--space-lg) 0;
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.pdp-artisan-avatar {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.pdp-artisan-info h4 {
    font-family: var(--font-body) !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    margin: 0 0 2px;
}

.pdp-artisan-info .artisan-village {
    font-size: 0.85rem;
    color: var(--muted-color);
}

.pdp-artisan-info .artisan-bio {
    font-size: 0.85rem;
    color: var(--text-color);
    margin-top: var(--space-sm);
    line-height: 1.4;
}

/* Specification table */
.pdp-specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-lg) 0;
}

.pdp-specs-table th,
.pdp-specs-table td {
    padding: 10px var(--space-md);
    text-align: left;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-color);
}

.pdp-specs-table th {
    font-weight: 600;
    color: var(--muted-color);
    width: 40%;
    font-family: var(--font-body);
}

.pdp-specs-table td {
    color: var(--text-color);
}

.pdp-specs-table tr:nth-child(even) {
    background: rgba(255, 251, 235, 0.5);
}

/* =============================================
   14. ARTISAN SPOTLIGHT SECTION
   ============================================= */
.artisan-spotlight {
    padding: var(--space-2xl) var(--space-md);
    background: var(--card-bg);
}

.artisan-card-layout {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .artisan-card-layout {
        flex-direction: row;
        align-items: center;
    }

    .artisan-image-col { flex: 0 0 250px; }
    .artisan-info-col { flex: 1; }
}

.artisan-placeholder-avatar {
    width: 180px;
    height: 180px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--primary-color), var(--gold-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #fff;
    margin: 0 auto;
}

.spotlight-badge {
    display: inline-block;
    background: rgba(217, 119, 6, 0.1);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.artisan-name {
    font-size: 1.4rem !important;
    margin-bottom: var(--space-xs) !important;
}

.artisan-location {
    color: var(--muted-color);
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
}

.artisan-quote {
    font-style: italic;
    color: var(--text-color);
    border-left: 3px solid var(--primary-color);
    padding-left: var(--space-md);
    margin: var(--space-md) 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.artisan-stats {
    display: flex;
    gap: var(--space-xl);
    margin-bottom: var(--space-md);
}

.artisan-stats div strong {
    display: block;
    font-size: 1.3rem;
    color: var(--primary-color);
}

.artisan-stats div span {
    font-size: 0.8rem;
    color: var(--muted-color);
}

/* =============================================
   15. HOW IT WORKS
   ============================================= */
.how-it-works {
    padding: var(--space-2xl) var(--space-md);
    background: var(--bg-color);
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 600px) {
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.step-card {
    text-align: center;
    padding: var(--space-lg);
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    position: relative;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.step-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.step-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: var(--space-md);
}

.step-card h4 {
    font-family: var(--font-body) !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    margin-bottom: var(--space-sm);
}

.step-card p {
    font-size: 0.85rem;
    color: var(--muted-color);
    line-height: 1.4;
}

/* =============================================
   16. REVIEWS
   ============================================= */
.reviews-section {
    padding: var(--space-2xl) var(--space-md);
}

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 600px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.review-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
}

.review-stars {
    color: var(--gold-accent);
    font-size: 1rem;
    margin-bottom: var(--space-sm);
}

.review-text {
    font-size: 0.9rem;
    color: var(--text-color);
    line-height: 1.5;
    font-style: italic;
    margin-bottom: var(--space-md);
}

.review-author {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted-color);
}

/* =============================================
   17. CHECKOUT FLOW
   ============================================= */
.woocommerce-checkout {
    background-color: var(--bg-color) !important;
}

.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review {
    background: var(--card-bg) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-lg) !important;
    padding: var(--space-lg) !important;
    margin-bottom: var(--space-lg) !important;
}

/* Step indicator */
.checkout-steps-indicator {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
    padding: var(--space-md) 0;
}

.step-indicator {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--muted-color);
    position: relative;
    transition: all var(--transition-normal);
}

.step-indicator.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.step-indicator.completed {
    background: var(--success-color);
    border-color: var(--success-color);
    color: #fff;
}

/* Checkout step connector lines */
.step-indicator:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    width: 40px;
    height: 2px;
    background: var(--border-color);
    transform: translateY(-50%);
}

.step-indicator.completed:not(:last-child)::after {
    background: var(--success-color);
}

/* Form styling */
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="number"],
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    height: var(--input-height) !important;
    font-size: 16px !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-md) !important;
    padding: 10px 12px !important;
    font-family: var(--font-body) !important;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.woocommerce-checkout textarea {
    height: auto !important;
    min-height: 80px !important;
}

.woocommerce-checkout input:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
    outline: none !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.12) !important;
}

/* Error state */
.woocommerce-checkout .woocommerce-invalid input {
    border-color: var(--secondary-color) !important;
}

/* OTP boxes */
.otp-boxes,
.otp-checkout-btn-group {
    display: flex;
    gap: var(--space-sm);
}

.otp-box-digit,
.otp-box-digit-input {
    width: 48px;
    height: 48px;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    transition: border-color var(--transition-fast);
}

.otp-box-digit:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.12);
    outline: none;
}

/* Payment options */
.payment-option-card {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-fast);
    margin-bottom: var(--space-sm);
}

.payment-option-card:hover {
    border-color: var(--primary-color);
    background: rgba(217, 119, 6, 0.03);
}

.payment-option-card input[type="radio"]:checked + .payment-info {
    color: var(--primary-color);
}

.payment-option-card input[type="radio"]:checked ~ .payment-info,
.payment-option-card:has(input:checked) {
    border-color: var(--primary-color);
    background: rgba(217, 119, 6, 0.05);
}

.payment-title {
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.payment-desc {
    font-size: 0.85rem;
    color: var(--muted-color);
    margin-top: 2px;
}

/* UPI QR display */
.upi-qr-display-box {
    text-align: center;
    padding: var(--space-xl);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-lg);
    margin-top: var(--space-md);
}

.qr-placeholder-wrapper {
    position: relative;
    display: inline-block;
    margin: var(--space-md) 0;
}

/* Order confirmation success */
.order-success-screen {
    text-align: center;
    padding: var(--space-xl);
}

.success-icon-badge {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: var(--space-md);
    animation: success-pop 0.5s ease;
}

@keyframes success-pop {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

/* =============================================
   18. FOOTER
   ============================================= */
.main-footer,
.ast-footer-overlay {
    background: var(--text-color) !important;
    color: rgba(255, 255, 255, 0.85) !important;
    padding: var(--space-2xl) var(--space-md) var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-col h3,
.footer-col h4 {
    color: #fff !important;
    margin-bottom: var(--space-md);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: var(--space-sm);
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--gold-accent);
}

.social-icons {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.social-icons a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.3rem;
    transition: color var(--transition-fast);
}

.social-icons a:hover {
    color: var(--gold-accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-lg);
    margin-top: var(--space-xl);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* =============================================
   19. MOBILE BOTTOM NAVIGATION
   ============================================= */
.mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06);
    z-index: 998;
    padding: var(--space-xs) 0 calc(var(--space-xs) + env(safe-area-inset-bottom, 0px));
}

.bot-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm) 0;
    background: transparent;
    border: none;
    color: var(--muted-color);
    font-size: 0.65rem;
    font-family: var(--font-body);
    cursor: pointer;
    transition: color var(--transition-fast);
    gap: 2px;
    min-height: var(--touch-min);
}

.bot-nav-item i {
    font-size: 1.3rem;
}

.bot-nav-item.active {
    color: var(--primary-color);
    font-weight: 600;
}

.bot-nav-item:hover {
    color: var(--primary-color);
}

/* Hide bottom nav on desktop */
@media (min-width: 768px) {
    .mobile-bottom-nav { display: none; }
    body.has-mobile-nav { padding-bottom: 0; }
}

/* =============================================
   20. FLOATING WHATSAPP FAB
   ============================================= */
.whatsapp-float-btn {
    position: fixed;
    bottom: 80px;
    right: 16px;
    width: 56px;
    height: 56px;
    background: var(--whatsapp-green);
    color: #fff !important;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 997;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    text-decoration: none !important;
}

.whatsapp-float-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
    color: #fff !important;
}

@media (min-width: 768px) {
    .whatsapp-float-btn {
        bottom: 24px;
        right: 24px;
        width: 60px;
        height: 60px;
    }
}

/* =============================================
   21. ADVANCED FILTER PANEL
   ============================================= */
.advanced-filters-panel {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    margin-bottom: var(--space-lg);
}

.filter-dropdown-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

@media (min-width: 768px) {
    .filter-dropdown-group {
        grid-template-columns: repeat(4, 1fr);
    }
}

.filter-field label,
.sort-field label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--muted-color);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-field select,
.sort-field select {
    width: 100%;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0 var(--space-sm);
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-color);
    background: var(--card-bg);
    cursor: pointer;
}

.sort-field {
    margin-top: var(--space-sm);
}

@media (min-width: 768px) {
    .advanced-filters-panel {
        display: flex;
        align-items: flex-end;
        gap: var(--space-md);
    }
    .filter-dropdown-group { flex: 1; }
    .sort-field { margin-top: 0; min-width: 180px; }
}

/* =============================================
   22. FEATURED PRODUCTS CAROUSEL
   ============================================= */
.featured-carousel-section {
    padding: var(--space-xl) var(--space-md);
}

.featured-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.carousel-nav-arrows {
    display: flex;
    gap: var(--space-sm);
}

.carousel-arrow {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-color);
    transition: all var(--transition-fast);
}

.carousel-arrow:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(217, 119, 6, 0.05);
}

.featured-carousel-container {
    display: flex;
    gap: var(--space-md);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: var(--space-sm);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.featured-carousel-container::-webkit-scrollbar {
    display: none;
}

.featured-carousel-container .product-card {
    flex: 0 0 260px;
    scroll-snap-align: start;
}

/* =============================================
   23. PRODUCT CARD COMPONENT (Shared)
   ============================================= */
.product-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.product-card-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    background: var(--bg-color);
}

.product-card-info {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card-title {
    font-family: var(--font-body) !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    color: var(--text-color) !important;
    margin: 0 0 var(--space-xs);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-price {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: var(--space-sm);
}

.product-card-price .original-price {
    text-decoration: line-through;
    color: var(--muted-color);
    font-weight: 400;
    font-size: 0.85rem;
    margin-left: var(--space-sm);
}

.product-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    color: var(--gold-accent);
    margin-bottom: var(--space-sm);
}

.product-card-rating .rating-count {
    color: var(--muted-color);
    margin-left: 4px;
}

.product-card .add-to-cart-btn {
    margin-top: auto;
}

/* =============================================
   24. MODAL STYLES
   ============================================= */
.modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.modal-backdrop.active {
    display: flex;
}

.modal-card {
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-xl);
    animation: modal-slide-up 0.3s ease;
}

@keyframes modal-slide-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: rgba(0, 0, 0, 0.06);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-color);
    z-index: 10;
    transition: background var(--transition-fast);
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
}

.modal-title {
    padding: var(--space-lg);
    padding-right: 60px;
    border-bottom: 1px solid var(--border-color);
    margin: 0;
    font-size: 1.2rem !important;
}

/* =============================================
   25. PRE-ORDER LANDING PAGE
   ============================================= */
.preorder-hero {
    background: linear-gradient(135deg, #1F2937 0%, #78350F 100%);
    color: #fff;
    text-align: center;
    padding: var(--space-3xl) var(--space-md);
}

.preorder-hero h1 {
    color: #fff !important;
    font-size: 2rem !important;
    margin-bottom: var(--space-md);
}

.preorder-hero .countdown-large {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--gold-accent);
    margin-bottom: var(--space-sm);
}

.preorder-form-card {
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    max-width: 500px;
    margin: -40px auto 0;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-xl);
}

.preorder-product-selector {
    display: grid;
    gap: var(--space-md);
    margin: var(--space-lg) 0;
}

.preorder-product-option {
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.preorder-product-option:hover,
.preorder-product-option.selected {
    border-color: var(--primary-color);
    background: rgba(217, 119, 6, 0.04);
}

.preorder-product-option .product-thumb {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    object-fit: cover;
}

.preorder-availability {
    font-size: 0.8rem;
    color: var(--success-color);
    font-weight: 600;
}

.preorder-deposit-info {
    background: rgba(2, 132, 199, 0.08);
    border: 1px solid rgba(2, 132, 199, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    margin: var(--space-md) 0;
    text-align: center;
}

.preorder-deposit-info .deposit-amount {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--preorder-blue);
}

/* =============================================
   26. ACCOUNT / MY ORDERS
   ============================================= */
.account-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.account-profile-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.devotee-avatar {
    font-size: 3rem;
    color: var(--primary-color);
}

.points-balance-card {
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.08), rgba(245, 158, 11, 0.06));
    border: 1px solid rgba(217, 119, 6, 0.15);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.points-icon {
    font-size: 2rem;
    color: var(--gold-accent);
}

.points-value-row strong {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Order cards */
.order-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    margin-bottom: var(--space-md);
    transition: box-shadow var(--transition-fast);
}

.order-card:hover {
    box-shadow: var(--shadow-md);
}

.order-status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.order-status-badge.confirmed {
    background: rgba(21, 128, 61, 0.1);
    color: var(--success-color);
}

.order-status-badge.packed {
    background: rgba(2, 132, 199, 0.1);
    color: var(--preorder-blue);
}

.order-status-badge.delivered {
    background: rgba(245, 158, 11, 0.1);
    color: var(--gold-accent);
}

/* =============================================
   27. FESTIVAL MODE SKIN OVERRIDE (Design Doc §7)
   ============================================= */
body.festival-mode {
    --primary-color: #F59E0B;   /* Gold replaces Saffron */
    --primary-hover: #D97706;
    --bg-color: #FFF9E6;        /* Warmer cream */
}

body.festival-mode {
    background-image: radial-gradient(circle at top, rgba(245, 158, 11, 0.08) 0%, transparent 60%) !important;
}

body.festival-mode .hero-section {
    background: linear-gradient(135deg, #78350F 0%, #1F2937 50%, #78350F 100%) !important;
}

body.festival-mode .countdown-chip {
    background: rgba(245, 158, 11, 0.3);
    border-color: rgba(245, 158, 11, 0.6);
}

body.festival-mode .preorder-sticky-banner {
    display: flex !important;
}

/* Festival pre-book sticky banner (hidden by default) */
.preorder-sticky-banner {
    display: none;
    position: fixed;
    bottom: 70px;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, #78350F, #D97706);
    color: #fff;
    padding: var(--space-sm) var(--space-md);
    z-index: 899;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    font-weight: 600;
    font-size: 0.9rem;
    animation: slide-up-banner 0.5s ease;
}

@keyframes slide-up-banner {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.preorder-sticky-banner .preorder-banner-cta {
    background: #fff;
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .preorder-sticky-banner { bottom: 0; }
}

/* =============================================
   28. RESPONSIVE GRID (Mobile-First)
   ============================================= */
/* Mobile S / Budget Android (320px+) — 1 column */
.woocommerce ul.products {
    grid-template-columns: repeat(1, 1fr) !important;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

/* Mobile L / Mid-range smartphones (480px+) — 2 columns */
@media (min-width: 480px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet (768px+) — 3 columns */
@media (min-width: 768px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop (1024px+) — 4 columns */
@media (min-width: 1024px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(4, 1fr) !important;
    }
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* =============================================
   29. ADMIN PANEL (Prototype Settings Toggle)
   ============================================= */
.admin-control-panel {
    position: fixed;
    bottom: 80px;
    left: 16px;
    z-index: 996;
}

.admin-panel-toggle {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--text-color);
    color: #fff;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-fast);
}

.admin-panel-toggle:hover {
    transform: scale(1.05);
}

.admin-panel-body {
    display: none;
    position: absolute;
    bottom: 50px;
    left: 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    min-width: 250px;
    box-shadow: var(--shadow-xl);
}

.admin-control-panel.open .admin-panel-body {
    display: block;
}

.switch-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.switch-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider-round {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: var(--disabled-bg);
    border-radius: 24px;
    transition: background var(--transition-normal);
}

.slider-round::before {
    content: '';
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: var(--radius-full);
    transition: transform var(--transition-normal);
}

.switch-toggle input:checked + .slider-round {
    background: var(--primary-color);
}

.switch-toggle input:checked + .slider-round::before {
    transform: translateX(20px);
}

/* =============================================
   30. UTILITY CLASSES
   ============================================= */
.hidden { display: none !important; }
.margin-t-20 { margin-top: 20px; }
.text-center { text-align: center; }
.text-muted { color: var(--muted-color); }
.text-success { color: var(--success-color); }
.text-error { color: var(--secondary-color); }

/* WooCommerce wrappers — keep Astra happy */
.woocommerce-page .ast-container {
    max-width: 1200px !important;
}

/* Breadcrumbs */
.woocommerce .woocommerce-breadcrumb {
    font-size: 0.85rem !important;
    color: var(--muted-color) !important;
    padding: var(--space-md) 0 !important;
}

.woocommerce .woocommerce-breadcrumb a {
    color: var(--primary-color) !important;
}

/* WooCommerce notices */
.woocommerce-message {
    border-top-color: var(--success-color) !important;
}

.woocommerce-error {
    border-top-color: var(--secondary-color) !important;
}

.woocommerce-info {
    border-top-color: var(--preorder-blue) !important;
}

/* Pagination */
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    min-width: var(--touch-min) !important;
    min-height: var(--touch-min) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md) !important;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
    background: var(--primary-color) !important;
    color: #fff !important;
}

/* Sale flash */
.woocommerce span.onsale {
    background-color: var(--secondary-color) !important;
    border-radius: var(--radius-sm) !important;
    min-width: auto !important;
    min-height: auto !important;
    padding: 4px 10px !important;
    font-size: 0.75rem !important;
    line-height: 1.4 !important;
}

/* Coupon field */
.checkout-coupon-form input[type="text"] {
    flex: 1;
}

/* WhatsApp CTA in confirmation */
.whatsapp-card-cta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background: rgba(37, 211, 102, 0.08);
    border: 1px solid rgba(37, 211, 102, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    margin-top: var(--space-lg);
}

.wa-avatar {
    font-size: 2rem;
    color: var(--whatsapp-green);
}

/* =============================================
   31. PRINT STYLES
   ============================================= */
@media print {
    .mobile-bottom-nav,
    .whatsapp-float-btn,
    .admin-control-panel,
    .preorder-sticky-banner {
        display: none !important;
    }
}

/* =============================================
   32. SCROLL-REVEAL ANIMATIONS
   ============================================= */
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-scale {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-up { transform: translateY(50px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal-scale { transform: scale(0.9); }

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed,
.reveal-scale.revealed {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* Staggered children */
.stagger-children > *:nth-child(1) { transition-delay: 0s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-children > *:nth-child(5) { transition-delay: 0.4s; }
.stagger-children > *:nth-child(6) { transition-delay: 0.5s; }

/* =============================================
   33. HERO ENHANCEMENTS — PARTICLES & PARALLAX
   ============================================= */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: 'ॐ  🙏  ॐ  🪷  ॐ  🙏  ॐ  🪷';
    position: absolute;
    top: -20px;
    left: -10%;
    width: 120%;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.04);
    letter-spacing: 60px;
    white-space: nowrap;
    animation: float-symbols 30s linear infinite;
    z-index: 1;
    pointer-events: none;
}

.hero-section::after {
    content: '🪷  ॐ  🙏  🪷  ॐ  🙏  🪷  ॐ';
    position: absolute;
    bottom: -20px;
    right: -10%;
    width: 120%;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.03);
    letter-spacing: 50px;
    white-space: nowrap;
    animation: float-symbols-reverse 25s linear infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes float-symbols {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes float-symbols-reverse {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

/* Parallax ready */
.hero-section[data-parallax] {
    background-attachment: fixed;
}

/* Enhanced hero gradient */
.hero-overlay {
    background: linear-gradient(
        180deg,
        rgba(31, 41, 55, 0.5) 0%,
        rgba(120, 53, 15, 0.4) 40%,
        rgba(31, 41, 55, 0.85) 100%
    ) !important;
}

/* Hero CTA button enhanced */
.hero-content .cta-button {
    position: relative;
    overflow: hidden;
    font-size: 1.05rem !important;
    padding: 14px 32px !important;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.4);
}

.hero-content .cta-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.hero-content .cta-button:hover::after {
    width: 300px;
    height: 300px;
}

/* =============================================
   34. GLASSMORPHISM EFFECTS
   ============================================= */
.trust-bar {
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-bottom: 1px solid var(--border-color) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.step-card {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
}

/* =============================================
   35. GRADIENT BORDER SHIMMER ON CARDS
   ============================================= */
.product-card {
    position: relative;
    border: none !important;
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1.5px;
    background: linear-gradient(135deg, var(--border-color), var(--border-color));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    transition: background 0.5s ease;
    z-index: 0;
}

.product-card:hover::before {
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--gold-accent),
        var(--primary-color),
        var(--gold-accent)
    );
    background-size: 300% 300%;
    animation: gradient-shimmer 2s ease infinite;
}

@keyframes gradient-shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Product card image zoom */
.product-card a:first-of-type {
    overflow: hidden;
    display: block;
}

.product-card .product-card-image {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-card-image {
    transform: scale(1.08);
}

/* =============================================
   36. FLOATING ANIMATION
   ============================================= */
@keyframes gentle-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.trust-icon {
    animation: gentle-float 3s ease-in-out infinite;
}

.trust-item:nth-child(2) .trust-icon { animation-delay: 0.3s; }
.trust-item:nth-child(3) .trust-icon { animation-delay: 0.6s; }

.step-icon {
    animation: gentle-float 3s ease-in-out infinite;
}

.step-card:nth-child(2) .step-icon { animation-delay: 0.4s; }
.step-card:nth-child(3) .step-icon { animation-delay: 0.8s; }

/* =============================================
   37. TEXT GRADIENT HEADINGS
   ============================================= */
.section-heading {
    background: linear-gradient(135deg, var(--text-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-heading::after {
    background: linear-gradient(90deg, var(--primary-color), var(--gold-accent)) !important;
    height: 3px;
}

/* =============================================
   38. FLIP-CLOCK COUNTDOWN
   ============================================= */
.countdown-flip-clock {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: var(--space-lg);
}

.flip-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.flip-value {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    width: 60px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--gold-accent);
    font-family: var(--font-body);
    text-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
    position: relative;
    overflow: hidden;
}

.flip-value::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.flip-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 6px;
    font-weight: 600;
}

.flip-separator {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 700;
    align-self: flex-start;
    margin-top: 14px;
}

@media (min-width: 480px) {
    .flip-value {
        width: 72px;
        height: 76px;
        font-size: 2.2rem;
    }
}

/* =============================================
   39. ENHANCED WHATSAPP FAB — PULSE RING
   ============================================= */
.whatsapp-float-btn::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: var(--radius-full);
    border: 2px solid var(--whatsapp-green);
    animation: wa-pulse-ring 2s ease-out infinite;
    pointer-events: none;
}

@keyframes wa-pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* =============================================
   40. REVIEW CARD HOVER LIFT & GLOW
   ============================================= */
.review-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s ease;
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(217, 119, 6, 0.12);
}

.review-stars {
    letter-spacing: 2px;
}

.review-card .review-stars i {
    transition: transform 0.2s ease;
}

.review-card:hover .review-stars i {
    animation: star-bounce 0.4s ease forwards;
}

.review-card:hover .review-stars i:nth-child(1) { animation-delay: 0s; }
.review-card:hover .review-stars i:nth-child(2) { animation-delay: 0.05s; }
.review-card:hover .review-stars i:nth-child(3) { animation-delay: 0.1s; }
.review-card:hover .review-stars i:nth-child(4) { animation-delay: 0.15s; }
.review-card:hover .review-stars i:nth-child(5) { animation-delay: 0.2s; }

@keyframes star-bounce {
    0% { transform: scale(1); }
    40% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* =============================================
   41. BACK TO TOP BUTTON
   ============================================= */
.back-to-top {
    position: fixed;
    bottom: 90px;
    left: 20px;
    width: 44px;
    height: 44px;
    background: var(--text-color);
    color: #fff;
    border: none;
    border-radius: var(--radius-full);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 996;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

@media (min-width: 768px) {
    .back-to-top { bottom: 30px; left: 30px; }
}

/* =============================================
   42. SECTION DIVIDERS
   ============================================= */
.section-divider {
    text-align: center;
    padding: 12px 0;
    font-size: 1.2rem;
    letter-spacing: 16px;
    color: rgba(217, 119, 6, 0.2);
    overflow: hidden;
}

/* =============================================
   43. ANIMATED COUNTER
   ============================================= */
.counter-value {
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--primary-color);
    display: block;
    line-height: 1;
    font-family: var(--font-body);
}

.counter-label {
    font-size: 0.7rem;
    color: var(--muted-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* Enhanced trust bar with counter layout */
.trust-item-counter {
    text-align: center;
    padding: var(--space-md);
}

/* =============================================
   44. URGENCY INDICATORS
   ============================================= */
.urgency-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(185, 28, 28, 0.08);
    border: 1px solid rgba(185, 28, 28, 0.2);
    color: var(--secondary-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    animation: pulse-urgency 2s ease-in-out infinite;
}

.urgency-dot {
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: var(--radius-full);
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes pulse-urgency {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* =============================================
   45. DECORATIVE PREORDER HERO SVG
   ============================================= */
.preorder-hero {
    position: relative;
    overflow: hidden;
}

.preorder-hero::before {
    content: '🙏';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12rem;
    opacity: 0.05;
    pointer-events: none;
}

.preorder-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, var(--bg-color), transparent);
    pointer-events: none;
}

/* Category chip active glow */
.category-chip.active {
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.2),
                0 2px 12px rgba(217, 119, 6, 0.15);
}

/* =============================================
   46. HEADER PROGRESSIVE SHADOW
   ============================================= */
.main-header.scrolled,
.ast-primary-header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08) !important;
}

/* =============================================
   47. LOADING SKELETON
   ============================================= */
@keyframes skeleton-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s ease infinite;
    border-radius: var(--radius-md);
}

/* =============================================
   48. VERIFIED BADGE ON REVIEWS
   ============================================= */
.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: var(--success-color);
    font-weight: 600;
    margin-left: 8px;
}

.verified-badge i {
    font-size: 0.85rem;
}
