/* ============================================
   HALARI - HOUSE OF SEASONING
   Premium Luxury Spice Boutique Design System
   Terracotta + Saffron + Olive Green + Parchment
   ============================================ */

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

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

:root {
    /* User palette: primary dark brown and parchment light */
    --primary: #4A2C1A;           /* Deep Brown (primary) */
    --primary-dark: #3b2014;      /* Darker brown */
    --primary-light: #5e351f;     /* Lighter brown */
    --secondary: #4A2C1A;         /* Same deep brown for accents */
    --secondary-dark: #3b2014;    /* Darker brown */
    --secondary-light: #5e351f;   /* Lighter brown */
    --accent: #4A2C1A;            /* Use primary as accent */
    --accent-dark: #3b2014;       /* Accent dark */
    --accent-light: #F5E6D3;      /* Accent light = parchment */
    --dark: #4A2C1A;              /* Text color uses deep brown */
    --light: #F5E6D3;             /* Page background parchment */
    --white: #FFFFFF;
    --gray: #4A2C1A;              /* Use brown-tinted gray for readability */
    --light-gray: #F0E7DD;        /* Soft parchment tone */
    --border: #E8DDCF;            /* Subtle border (light parchment) */

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #4A2C1A, #3b2014);
    --gradient-secondary: linear-gradient(135deg, #4A2C1A, #3b2014);
    --gradient-accent: linear-gradient(135deg, #4A2C1A, #F5E6D3);
    --gradient-warm: linear-gradient(135deg, #5e351f, #4A2C1A);

    /* Spacing - Generous & Professional */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 5rem;

    /* Typography - Serif + Sans */
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.5rem;
    --font-size-2xl: 2rem;
    --font-size-3xl: 2.5rem;
    --font-size-4xl: 3rem;

    /* Border Radius - Clean Modern */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;

    /* Shadows - Sophisticated Depth */
    --shadow-sm: 0 2px 8px rgba(7, 18, 26, 0.06);
    --shadow-md: 0 4px 16px rgba(7, 18, 26, 0.10);
    --shadow-lg: 0 8px 24px rgba(7, 18, 26, 0.12);
    --shadow-xl: 0 16px 40px rgba(7, 18, 26, 0.14);
    --shadow-2xl: 0 24px 56px rgba(7, 18, 26, 0.16);

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

body {
    font-family: var(--font-sans);
    line-height: 1.7;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
    font-weight: 400;
    font-size: var(--font-size-base);
    letter-spacing: 0.3px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.5px;
    color: var(--dark);
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }

p {
    color: var(--gray);
    line-height: 1.8;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all var(--transition-base);
    position: relative;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* ============ NAVIGATION ============ */
.navbar {
    background: var(--primary);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: var(--spacing-md) 0;
}

/* Force nav links visible and readable */
.nav-menu { display: flex !important; }
.nav-menu li { display: list-item !important; }
.nav-link { display: inline-block !important; color: var(--white) !important; }
.nav-link, .cart-link { color: var(--white) !important; }

/* Ensure nav links are always visible and clickable (override accidental hides) */
.nav-menu, .nav-menu li, .nav-link {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* If any scripts toggle visibility via transform/translate, reset it */
.nav-menu { transform: none !important; }

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

.logo {
    font-size: var(--font-size-xl);
    font-weight: bold;
    color: var(--white) !important;
    text-decoration: none;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    align-items: center;
}

.nav-link {
    color: var(--white) !important;
    background: var(--primary-light) !important;
    text-decoration: none;
    font-size: var(--font-size-sm);
    padding: var(--spacing-xs) calc(var(--spacing-md) + 0.25rem);
    border-radius: var(--radius-lg);
    transition: all 0.15s ease;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
}

/* Keep all links visible; style them as brown buttons with white text */
.nav-link:hover {
    background: var(--primary) !important;
    color: var(--white) !important;
    transform: translateY(-1px);
}
.nav-link.active {
    background: linear-gradient(90deg, var(--primary-light), var(--primary)) !important;
    color: var(--white) !important;
    box-shadow: 0 6px 18px rgba(74,44,26,0.12);
}

/* Style cart link similarly */
.cart-link {
    background: var(--primary-light) !important;
    color: var(--white) !important;
    padding: var(--spacing-xs) var(--spacing-md) !important;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.06);
}
.cart-link:hover { background: var(--primary) !important; color: var(--white) !important; }

.cart-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--dark);
    font-weight: 600;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-md);
}

.cart-link:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.cart-link:hover { color: var(--white); }

/* ============ HERO SECTION ============ */
.hero {
    background: var(--gradient-primary);
    color: var(--white);
    padding: var(--spacing-2xl) var(--spacing-sm);
    text-align: center;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
    opacity: 0.1;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.company-tagline {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-md);
    animation: slideInDown 0.4s ease;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--white) !important;
}

.hero-content h1 {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-md);
    animation: slideInDown 0.6s ease;
    font-weight: 700;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    animation: slideInUp 0.6s ease;
    opacity: 0.95;
    color: var(--white);
}

.hero-image {
    margin-top: var(--spacing-xl);
    animation: fadeIn 0.8s ease;
    display: none;
}

/* ============ VALUE PROPOSITION ============ */
.value-prop {
    padding: var(--spacing-2xl) var(--spacing-sm);
    background: var(--white);
}

.value-prop h2 {
    text-align: center;
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-xl);
    color: var(--dark);
    font-weight: 700;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.value-card {
    background: var(--light);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary);
}

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

.value-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.value-card h3 {
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-lg);
    font-weight: 600;
}

.value-card p {
    color: var(--gray);
    font-size: var(--font-size-sm);
    line-height: 1.7;
}

/* ============ FEATURED SECTION ============ */
.featured {
    padding: var(--spacing-2xl) var(--spacing-sm);
    background: var(--light);
}

.featured h2 {
    text-align: center;
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-xl);
    color: var(--dark);
    font-weight: 700;
}

/* ============ PRODUCTS GRID ============ */
.product-card {
    background: var(--light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    transition: box-shadow var(--transition-base), transform var(--transition-base), border-color var(--transition-base);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    /* ensure footer button locks to bottom */
    justify-content: space-between;
    border: 1.5px solid var(--border);
    align-items: stretch;
    /* explicit compact spacing */
    min-height: 100%;
    padding: 16px;
    margin-bottom: 12px;
}

.product-card:hover {
    transform: scale(1.03) translateY(-8px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary);
}

.product-image {
    background: linear-gradient(135deg, #F5EFE0 0%, #E8E1D5 100%);
    /* tight square container per spec */
    width: 100%;
    aspect-ratio: 1 / 1; /* square */
    max-height: 160px;
    height: auto;
    display: block;
    position: relative;
    overflow: hidden;
}

.product-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain; /* show full jars/pouches without clipping */
    margin: 0 auto;
    transition: transform 0.2s ease;
}

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

.product-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: var(--white);
    padding: 16px; /* explicit 16px */
    gap: 0.5rem;
}

.product-category {
    font-size: var(--font-size-xs);
    color: var(--secondary);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-xs);
}

.product-name {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--dark);
    /* 8px top/bottom margin */
    margin: 8px 0;
    line-height: 1.2;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.product-price {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--primary);
}

.add-to-cart-btn {
    background: var(--gradient-accent);
    color: var(--white);
    border: none;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: var(--font-size-sm);
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.add-to-cart-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.add-to-cart-btn:active {
    transform: translateY(0);
}

/* View Details / primary small CTA (brown background, white text) */
.view-details-btn,
.btn-view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    height: 40px; /* compact button height */
    padding: 0 12px; /* horizontal padding only */
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 700;
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
    white-space: nowrap;
}
.view-details-btn:hover,
.btn-view:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Ensure button and CTA text remains visible (white) in all states */
button,
.btn,
.btn-primary,
.btn-secondary,
.btn-full,
.add-to-cart-btn,
.view-details-btn,
.btn-view,
.remove-btn,
.quantity-btn,
.btn-instagram {
    color: var(--white) !important;
}

/* (Removed broad global button override - filter buttons are handled specifically below) */

a.btn-view:visited, a.view-details-btn:visited, a.btn-primary:visited {
    color: var(--white) !important;
}

/* ============ PAGE TITLE ============ */
.page-title {
    background: var(--gradient-primary);
    color: var(--white);
    padding: var(--spacing-lg) var(--spacing-sm);
    text-align: center;
}

.page-title h1 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.page-title p {
    font-size: var(--font-size-base);
    opacity: 0.95;
}

/* Specific subtitle on page-title sections that must remain highly readable */
.page-title .page-subtitle {
    color: var(--white) !important;
    font-weight: 500;
    opacity: 1;
}

/* Hero CTA sentence (explicit white for high contrast) */
.hero-cta {
    color: var(--white) !important;
    font-weight: 600;
    margin-top: var(--spacing-md);
    font-size: 1rem;
}

/* Consolidated high-contrast rule: ensure key hero and title lines are white */
.hero-content p,
.page-title .page-subtitle,
.hero-cta {
    color: var(--white) !important;
}

/* How-to-order subtitle explicit white for contrast */
.how-to-subtitle {
    color: var(--white) !important;
    font-weight: 600;
}

/* Contact CTA explicit white for visibility */
.contact-cta {
    color: var(--white) !important;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

/* Footer: ensure Contact Us and Follow Us text/links are white */
.footer, .footer .footer-section, .footer .footer-section h3, .footer .footer-section h4,
.footer .footer-section p, .footer .footer-section a, .footer .social-link,
.footer .footer-bottom p, .footer .footer-subtext {
    color: var(--white) !important;
}

.footer a {
    color: var(--white) !important;
    text-decoration: none;
}

/* CTA phrase used on How To Order page */
.cta-phrase {
    color: var(--white) !important;
    font-weight: 600;
}

/* ============ SEARCH BAR ============ */
.search-section {
    padding: var(--spacing-lg) var(--spacing-sm);
    background: var(--white);
    border-bottom: 1px solid var(--light-gray);
}

.search-container {
    max-width: 600px;
    margin: 0 auto;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 8px;
    padding: var(--spacing-sm);
    transition: all 0.3s ease;
}

.search-input-wrapper:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(74, 44, 26, 0.1);
}

.search-icon {
    color: var(--gray);
    font-size: 18px;
    margin-right: var(--spacing-sm);
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 16px;
    color: var(--dark);
    font-family: var(--font-sans);
}

.search-input::placeholder {
    color: var(--gray);
    opacity: 0.7;
}

.clear-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-sans);
}

.clear-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.clear-btn:active {
    transform: translateY(0);
}

/* No results message */
.no-results {
    text-align: center;
    padding: var(--spacing-2xl);
    color: var(--gray);
    font-size: 18px;
    font-style: italic;
}

/* ============ FILTERS ============ */
.filters-section {
    padding: var(--spacing-lg) var(--spacing-sm);
    background: var(--white);
    border-bottom: 2px solid var(--light-gray);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px; /* requested explicit padding */
    margin: 5px; /* requested margin */
    background: var(--primary) !important; /* #4A2C1A */
    color: #FFFFFF !important;
    border: 2px solid transparent;
    border-radius: 20px; /* requested radius */
    cursor: pointer;
    font-weight: 600;
    transition: all 0.18s ease;
    text-transform: none;
    font-size: var(--font-size-sm);
    letter-spacing: 0.5px;
}

.filter-btn:hover {
    background: var(--primary-light) !important;
    color: #FFFFFF !important;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: #6B3F2A !important; /* active/selected lighter brown */
    color: #FFFFFF !important;
    box-shadow: 0 6px 18px rgba(107,63,42,0.12);
}

/* ============ CATALOG SECTION ============ */
.catalog {
    padding: var(--spacing-xl) var(--spacing-sm);
    background: var(--light);
}

/* ============ CART PAGE ============ */
.cart-section {
    padding: var(--spacing-xl) var(--spacing-sm);
    min-height: 70vh;
    background: var(--light);
}

.empty-cart {
    text-align: center;
    padding: var(--spacing-xl);
    color: var(--gray);
}

.empty-cart p {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-lg);
}

.cart-items-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.cart-items {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--light-gray);
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--light-gray);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-info {
    flex-grow: 1;
}

.cart-item-name {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: var(--spacing-xs);
    font-size: var(--font-size-base);
}

.cart-item-price {
    color: var(--primary);
    font-weight: 700;
    font-size: var(--font-size-lg);
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.quantity-btn {
    background: #4A2C1A;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
    color: #FFFFFF;
    font-size: 18px;
    padding: 8px 16px;
}

.quantity-number {
    font-size: 18px;
    font-weight: bold;
    color: #4A2C1A;
    padding: 0 15px;
    min-width: 30px;
    text-align: center;
}

.quantity-btn:hover {
    background: var(--gradient-accent);
    color: var(--white);
    border-color: var(--accent);
}

.remove-btn {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
}

.remove-btn:hover {
    background-color: #c82333;
}

.cart-summary {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--light-gray);
}

.cart-summary h3 {
    color: var(--dark);
    margin-bottom: var(--spacing-lg);
    font-size: var(--font-size-lg);
    font-weight: 700;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-base);
    color: var(--dark);
}

.summary-row.total {
    border-top: 2px solid var(--light-gray);
    padding-top: var(--spacing-md);
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--primary);
}

.checkout-section {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 2px solid var(--light-gray);
}

.checkout-section h3 {
    color: var(--dark);
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-lg);
    font-weight: 700;
}

.checkout-info {
    color: var(--gray);
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.copy-order-box {
    margin-bottom: var(--spacing-lg);
}

.order-textarea {
    width: 100%;
    height: 150px;
    padding: var(--spacing-md);
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-lg);
    font-family: 'Courier New', monospace;
    font-size: var(--font-size-sm);
    resize: vertical;
    color: var(--dark);
    background: var(--light);
    transition: border-color 0.3s ease;
}

.order-textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.instagram-section,
.qr-section {
    margin: var(--spacing-lg) 0;
    padding: var(--spacing-lg) 0;
    border-bottom: 1px solid var(--light-gray);
}

.instagram-section h4,
.qr-section h4 {
    color: var(--dark);
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-base);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.qr-code {
    display: flex;
    justify-content: center;
    margin: var(--spacing-lg) 0;
    padding: var(--spacing-lg);
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-lg);
    min-height: 220px;
}

.qr-text {
    text-align: center;
    color: var(--gray);
    font-size: var(--font-size-sm);
    margin-top: var(--spacing-md);
}

.continue-shopping {
    text-align: center;
    margin-top: var(--spacing-xl);
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-md);
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-size: var(--font-size-base);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-instagram {
    background: linear-gradient(135deg, #833AB4, #E1306C);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-instagram:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-full {
    width: 100%;
    margin-top: var(--spacing-md);
}

.btn-large {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-lg);
}

.text-center {
    text-align: center;
    margin-top: var(--spacing-xl);
}

/* ============ WHY CHOOSE SECTION ============ */
.why-choose {
    padding: var(--spacing-xl) var(--spacing-sm);
    background: var(--white);
}

.why-choose h2 {
    text-align: center;
    font-size: var(--font-size-2xl);
    color: var(--dark);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-xl);
    opacity: 0.9;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.why-card {
    background: var(--light);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary);
}

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

.why-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.why-card h4 {
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
    font-size: var(--font-size-lg);
}

.why-card p {
    color: var(--gray);
    font-size: var(--font-size-sm);
    line-height: 1.7;
}

/* ============ FLAVOR PROFILES SECTION ============ */
.flavor-profiles {
    padding: var(--spacing-xl) var(--spacing-sm);
    background: var(--light);
}

.flavor-profiles h2 {
    text-align: center;
    font-size: var(--font-size-2xl);
    color: var(--dark);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.flavor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.flavor-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--secondary);
    transition: all 0.3s ease;
    text-align: center;
}

.flavor-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--accent);
}

.flavor-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    display: block;
}

.flavor-card h3 {
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-lg);
    font-weight: 700;
}

.flavor-card p {
    color: var(--gray);
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.flavor-card small {
    color: var(--secondary);
    font-weight: 600;
    font-size: var(--font-size-xs);
}

/* ============ CHEFS FAVORITES SECTION ============ */
.chefs-favorites {
    padding: var(--spacing-xl) var(--spacing-sm);
    background: var(--white);
}

.chefs-favorites h2 {
    text-align: center;
    font-size: var(--font-size-2xl);
    color: var(--dark);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.bestseller-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--accent);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-md);
    font-size: var(--font-size-xs);
    font-weight: 700;
    z-index: 10;
    box-shadow: var(--shadow-md);
}

/* ============ TESTIMONIALS SECTION ============ */
.testimonials {
    padding: var(--spacing-xl) var(--spacing-sm);
    background: var(--light);
}

.testimonials h2 {
    text-align: center;
    font-size: var(--font-size-2xl);
    color: var(--dark);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: var(--spacing-xl) auto var(--spacing-lg);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.testimonial-card {
    display: none;
    padding: var(--spacing-xl);
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.testimonial-card.active {
    display: block;
}

.testimonial-stars {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-md);
    letter-spacing: 4px;
}

.testimonial-text {
    color: var(--gray);
    font-size: var(--font-size-base);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.testimonial-author {
    color: var(--primary);
    font-weight: 700;
    font-size: var(--font-size-sm);
}

.slider-dots {
    text-align: center;
    padding: var(--spacing-md) 0 var(--spacing-lg);
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
}

.dot {
    height: 12px;
    width: 12px;
    background-color: var(--light-gray);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--primary);
    transform: scale(1.3);
}

.dot:hover {
    background-color: var(--accent);
}

/* ============ CTA SECTION ============ */
.cta {
    background: var(--gradient-primary);
    color: var(--white);
    padding: var(--spacing-xl) var(--spacing-sm);
    text-align: center;
    margin: var(--spacing-xl) 0;
}

.cta h2 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

.cta p {
    margin-bottom: var(--spacing-lg);
    font-size: var(--font-size-base);
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

/* ============ ABOUT SECTION ============ */
.about-section {
    padding: var(--spacing-xl) var(--spacing-sm);
    background: var(--light);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content h2 {
    color: var(--primary);
    font-size: var(--font-size-2xl);
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

.about-content p {
    color: var(--dark);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
    font-size: var(--font-size-base);
}

.sourcing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
}

.sourcing-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

.sourcing-card h3 {
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.sourcing-card p {
    color: var(--gray);
    font-size: var(--font-size-sm);
    line-height: 1.7;
}

.product-categories {
    list-style: none;
    margin: var(--spacing-lg) 0;
}

.product-categories li {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-lg);
    position: relative;
    color: var(--dark);
    line-height: 1.7;
}

.product-categories li:before {
    content: "✦";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
}

.why-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border-top: 3px solid var(--primary);
}

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

.why-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.why-card h4 {
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.why-card p {
    color: var(--gray);
    font-size: var(--font-size-sm);
    line-height: 1.7;
}

.cta-box {
    background: var(--gradient-accent);
    color: var(--dark);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    margin-top: var(--spacing-xl);
    box-shadow: var(--shadow-lg);
}

.cta-box h3 {
    margin-bottom: var(--spacing-md);
    font-weight: 700;
    font-size: var(--font-size-xl);
}

.cta-box p {
    margin-bottom: var(--spacing-lg);
    font-weight: 500;
}

/* ============ HOW TO ORDER SECTION ============ */
.how-to-order-section {
    padding: var(--spacing-md) var(--spacing-sm);
    background: var(--light);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: 2px;
}

.step-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.step-number {
    position: absolute;
    top: -20px;
    right: 30px;
    background: var(--gradient-primary);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-2xl);
    font-weight: 700;
    box-shadow: var(--shadow-lg);
}

.step-card h3 {
    color: var(--primary);
    margin-bottom: var(--spacing-md);
    margin-top: var(--spacing-sm);
    font-weight: 700;
    font-size: var(--font-size-lg);
}

.step-card p {
    color: var(--gray);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
    font-size: var(--font-size-sm);
}

.benefits-section {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-xl) 0;
    border-top: 2px solid var(--light-gray);
    border-bottom: 2px solid var(--light-gray);
}

.benefits-section h2 {
    text-align: center;
    font-size: var(--font-size-2xl);
    color: var(--dark);
    margin-bottom: var(--spacing-xl);
    font-weight: 700;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
}

.benefit-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.benefit-card h4 {
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-base);
    font-weight: 700;
}

.benefit-card p {
    color: var(--gray);
    font-size: var(--font-size-sm);
    line-height: 1.6;
}

.faq-preview {
    padding: var(--spacing-xl);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.faq-preview h2 {
    text-align: center;
    font-size: var(--font-size-2xl);
    color: var(--dark);
    margin-bottom: var(--spacing-xl);
    font-weight: 700;
}

.faq-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.faq-item {
    background: var(--light);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--secondary);
}

.faq-item h4 {
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-base);
    font-weight: 700;
}

.faq-item p {
    color: var(--gray);
    font-size: var(--font-size-sm);
    line-height: 1.7;
}

/* ============ FAQ SECTION ============ */
.faq-section {
    padding: var(--spacing-xl) var(--spacing-sm);
    background: var(--light);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: var(--spacing-xl);
}

.faq-category h3 {
    color: var(--primary);
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: 700;
}

.faq-item-full {
    background: var(--white);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--secondary);
    transition: all 0.3s ease;
}

.faq-item-full:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.faq-question {
    color: var(--dark);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-base);
}

.faq-item-full p {
    color: var(--gray);
    line-height: 1.8;
    font-size: var(--font-size-sm);
}

.still-questions {
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-lg);
    margin-top: var(--spacing-xl);
    box-shadow: var(--shadow-lg);
}

.still-questions h3 {
    margin-bottom: var(--spacing-md);
    font-weight: 700;
    font-size: var(--font-size-xl);
}

.still-questions p {
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
}

/* ============ FOOTER ============ */
.footer {
    background: var(--dark);
    color: var(--light);
    padding: var(--spacing-xl) var(--spacing-sm) var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-section h3,
.footer-section h4 {
    color: var(--accent);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-lg);
}

.footer-section h3 {
    font-size: var(--font-size-2xl);
}

.footer-section p {
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-sm);
    line-height: 1.6;
    color: var(--light);
}

.footer-section a {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.footer-section a:hover {
    color: var(--white);
    text-decoration: underline;
}

.social-link {
    display: inline-block;
    margin-right: var(--spacing-sm);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(244, 196, 48, 0.2);
    padding-top: var(--spacing-lg);
}

.footer-bottom p {
    margin-bottom: var(--spacing-xs);
    font-size: var(--font-size-sm);
    color: var(--light);
}

.footer-subtext {
    color: var(--gray);
    font-size: var(--font-size-xs);
    opacity: 0.85;
}

/* ============ DARK LUXURY THEME OVERRIDES ============ */
:root {
    --bg-dark: #071014;            /* Deep obsidian */
    --mid-dark: #0f2a28;          /* Midnight green hint */
    --paper: #F2E7D5;             /* Warm parchment */
    --gold: #C9A84D;              /* Metallic gold accent */
    --glass-border: rgba(255,255,255,0.06);
    --glass-bg: rgba(255,255,255,0.02);
    --muted: rgba(255,255,255,0.7);
}

body {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #071a18 100%);
    color: var(--paper);
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* Headings: elegant serif */
h1, h2, h3, h4, h5, h6, .product-name {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    letter-spacing: 0.6px;
    color: var(--paper);
}

.navbar {
    background: rgba(7,16,20,0.45);
    backdrop-filter: blur(8px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 2000;
    border-bottom: 1px solid var(--glass-border);
}

/* account for fixed navbar: apply single top padding to body for consistency */
body {
    padding-top: 80px;
}

/* Global typographic rhythm */
h1,h2,h3,h4,h5,h6 { margin: 0 0 var(--spacing-md) 0; line-height: 1.2; }
p { margin: 0 0 var(--spacing-sm) 0; }

/* Ensure consistent section spacing when sections don't specify custom padding */
section { padding-top: var(--spacing-xl); padding-bottom: var(--spacing-xl); }

.logo-img { filter: brightness(1.1) saturate(0.8); }

/* Glass-morphism cards */
.product-card,
.value-card,
.why-card,
.flavor-card,
.testimonial-card,
.sourcing-card,
.cart-items,
.cart-summary {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(6px);
    box-shadow: 0 8px 30px rgba(2,6,6,0.6);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    color: var(--paper);
    border-radius: 14px;
}

.product-card:hover,
.value-card:hover,
.why-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 20px 60px rgba(2,6,6,0.7);
    border-color: rgba(201,168,77,0.15);
}

/* Asymmetrical grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    grid-auto-rows: 1fr;
    grid-auto-flow: dense;
    gap: 1.6rem;
}
.products-grid .product-card:nth-child(3n) { grid-row: span 2; }
.products-grid .product-card:nth-child(5n) { grid-column: span 2; }

.product-image {
    height: 260px;
    display: block;
    position: relative;
    overflow: hidden;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.6s ease;
    filter: saturate(0.95) contrast(0.95) brightness(0.95);
}
.product-card:hover .product-image img { transform: scale(1.06) rotate(-0.5deg); filter: saturate(1.05) brightness(1.02); }

.bestseller-badge {
    background: linear-gradient(90deg, rgba(201,168,77,0.95), rgba(181,140,59,0.95));
    color: #081012;
    box-shadow: 0 6px 18px rgba(0,0,0,0.6);
}

.product-info { padding: 1.2rem; }
.product-category { color: rgba(242,231,213,0.8); font-weight: 700; }
.product-price { color: var(--gold); font-weight: 800; }

/* Buttons: rounded, gold accents */
.btn, .add-to-cart-btn, .remove-btn, .quantity-btn {
    border-radius: 12px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.add-to-cart-btn, .btn-primary {
    background: linear-gradient(90deg, var(--gold), #B88F3D);
    color: #061212;
    box-shadow: 0 8px 18px rgba(184,92,56,0.12);
}
.add-to-cart-btn:hover, .btn-primary:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,0.5); }

.btn-instagram {
    background: transparent;
    color: var(--paper);
    border: 1px solid rgba(255,255,255,0.06);
}
.btn-instagram:hover { background: rgba(201,168,77,0.06); color: var(--gold); border-color: rgba(201,168,77,0.2); }

/* Copy order textarea */
.order-textarea {
    background: rgba(255,255,255,0.02);
    color: var(--paper);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
}

/* Cart link / notification */
.cart-link { background: transparent; color: var(--paper); border: 1px solid transparent; }
.cart-link #cart-count { background: var(--gold); color: #071014; padding: 4px 8px; border-radius: 999px; margin-left: 6px; font-weight: 800; display:inline-block; min-width:20px; text-align:center; }

/* Icons & micro-interactions */
.value-icon, .why-icon, .flavor-icon { font-size: 2.4rem; display: inline-block; transform-origin: center; transition: transform 0.25s ease; }
.value-card:hover .value-icon, .why-card:hover .why-icon { transform: translateY(-6px) rotate(-3deg); }

/* Footer adjustments for dark theme */
.footer { background: linear-gradient(180deg, #061213 0%, #071014 100%); border-top: 1px solid rgba(255,255,255,0.03); }
.footer-section h3, .footer-section h4 { color: var(--gold); }
.footer-section p, .footer-bottom p { color: rgba(242,231,213,0.8); }

/* Smaller screens adjustments for the new layout */
@media (max-width: 768px) {
    .products-grid .product-card:nth-child(5n) { grid-column: span 1; }
    .product-image { height: 180px; }
    main, .container, .hero { padding-top: 110px; }
}

/* ============ ANIMATIONS ============ */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ============ RESPONSIVE DESIGN ============ */
@media (max-width: 768px) {
    :root {
        --font-size-3xl: 2rem;
        --font-size-2xl: 1.5rem;
    }

    .nav-menu {
        gap: var(--spacing-sm);
    }

    .nav-link,
    .cart-link {
        font-size: var(--font-size-xs);
        padding: var(--spacing-xs) var(--spacing-sm);
    }

    .hero {
        padding: var(--spacing-xl) var(--spacing-sm);
        min-height: 50vh;
    }

    .hero-content h1 {
        font-size: var(--font-size-2xl);
    }

    .company-tagline {
        font-size: var(--font-size-base);
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: var(--spacing-md);
    }

    .product-image {
        height: 140px;
    }

    .product-info {
        padding: var(--spacing-md);
    }

    .step-card {
        padding: var(--spacing-md);
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: var(--font-size-xl);
        right: 20px;
    }

    .page-title h1 {
        font-size: var(--font-size-xl);
    }

    .filter-buttons {
        gap: var(--spacing-xs);
    }

    .filter-btn {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: var(--font-size-xs);
    }
}

@media (max-width: 480px) {
    .nav-container {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .nav-menu {
        justify-content: center;
        width: 100%;
        gap: var(--spacing-xs);
    }

    .hero {
        min-height: 40vh;
        padding: var(--spacing-lg) var(--spacing-sm);
    }

    .hero-content h1 {
        font-size: var(--font-size-2xl);
    }

    .company-tagline {
        font-size: var(--font-size-sm);
        letter-spacing: 1px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }

    .product-info {
        padding: var(--spacing-sm);
    }

    .product-name {
        font-size: var(--font-size-base);
    }

    .product-price {
        font-size: var(--font-size-lg);
    }

    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-md);
    }

    .cart-item-quantity {
        width: 100%;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .value-grid {
        grid-template-columns: 1fr;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* ============ NAVIGATION ============ */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: var(--spacing-sm) 0;
}

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

.logo {
    font-size: var(--font-size-xl);
    font-weight: bold;
    color: var(--primary);
    text-decoration: none;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    align-items: center;
}

.nav-link {
    color: var(--dark);
    text-decoration: none;
    font-size: var(--font-size-sm);
    padding: var(--spacing-xs) var(--spacing-sm);
    color: var(--white) !important;
    transition: all 0.3s ease;
}

.nav-link:hover,

/* Ensure cart count and cart link stay white for visibility */
.cart-link #cart-count { color: var(--white) !important; }
.nav-link.active {
    background: var(--gradient-primary);
    color: var(--white);
}

.cart-link {
    background: var(--accent);
    color: var(--dark);
    font-weight: bold;
}

.cart-link:hover {
    background: var(--accent-dark);
}

/* ============ HERO SECTION ============ */
.hero {
    background: var(--gradient-primary);
    color: var(--white);
    padding: var(--spacing-xl) var(--spacing-sm);
    text-align: center;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-content h1 {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-md);
    animation: slideInDown 0.6s ease;
}

.company-tagline {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-md);
    animation: slideInDown 0.4s ease;
    font-weight: bold;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    animation: slideInUp 0.6s ease;
}

.hero-image {
    margin-top: var(--spacing-lg);
    animation: fadeIn 0.8s ease;
}

.spice-grid {
    display: grid;
    grid-template-columns: repeat(2, 80px);
    gap: var(--spacing-md);
    margin: 0 auto;
}

.spice-item {
    font-size: 3rem;
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: bounce 2s infinite;
}

/* ============ VALUE PROPOSITION ============ */
.value-prop {
    padding: var(--spacing-xl) var(--spacing-sm);
    background: #f9f9f9;
}

.value-prop h2 {
    text-align: center;
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-xl);
    color: var(--dark);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.value-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.value-card h3 {
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-lg);
}

.value-card p {
    color: var(--gray);
    font-size: var(--font-size-sm);
}

/* ============ FEATURED SECTION ============ */
.featured {
    padding: var(--spacing-xl) var(--spacing-sm);
}

.featured h2 {
    text-align: center;
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-xl);
    color: var(--dark);
}

/* ============ PRODUCTS GRID ============ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.product-image {
    background: var(--gradient-accent);
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

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

.product-category {
    font-size: var(--font-size-xs);
    color: var(--secondary);
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: var(--spacing-xs);
}

.product-name {
    font-size: var(--font-size-lg);
    font-weight: bold;
    color: var(--dark);
    margin-bottom: var(--spacing-xs);
}

.product-description {
    font-size: var(--font-size-sm);
    color: var(--gray);
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: var(--font-size-lg);
    font-weight: bold;
    color: var(--primary);
}

.add-to-cart-btn {
    background: var(--secondary);
    color: var(--white);
    border: none;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: var(--font-size-sm);
    font-weight: bold;
    transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
    background: #3bb3a8;
    transform: scale(1.05);
}

/* ============ PAGE TITLE ============ */
.page-title {
    background: var(--gradient-secondary);
    color: var(--white);
    padding: var(--spacing-lg) var(--spacing-sm);
    text-align: center;
}

.page-title h1 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-sm);
}

.page-title p {
    font-size: var(--font-size-base);
}

/* ============ FILTERS ============ */
.filters-section {
    padding: var(--spacing-lg) var(--spacing-sm);
    background: #f9f9f9;
    border-bottom: 2px solid var(--light);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.filter-btn {
    padding: var(--spacing-xs) var(--spacing-md);
    border: 2px solid var(--light);
    background: var(--white);
    color: var(--dark);
    border-radius: var(--radius-lg);
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: var(--primary);
}

/* ============ CATALOG SECTION ============ */
.catalog {
    padding: var(--spacing-xl) var(--spacing-sm);
}

/* ============ CART PAGE ============ */
.cart-section {
    padding: var(--spacing-xl) var(--spacing-sm);
    min-height: 70vh;
}

.empty-cart {
    text-align: center;
    padding: var(--spacing-xl);
    color: var(--gray);
}

.empty-cart p {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-lg);
}

.cart-items-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.cart-items {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--light);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-info {
    flex-grow: 1;
}

.cart-item-name {
    font-weight: bold;
    color: var(--dark);
    margin-bottom: var(--spacing-xs);
}

.cart-item-price {
    color: var(--primary);
    font-weight: bold;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.quantity-btn {
    background: var(--light);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: var(--secondary);
    color: var(--white);
}

.remove-btn {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
}

.remove-btn:hover {
    background-color: #c82333;
}

.cart-summary {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cart-summary h3 {
    color: var(--dark);
    margin-bottom: var(--spacing-lg);
    font-size: var(--font-size-lg);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-base);
}

.summary-row.total {
    border-top: 2px solid var(--light);
    padding-top: var(--spacing-md);
    font-size: var(--font-size-lg);
    font-weight: bold;
    color: var(--primary);
}

.checkout-section {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 2px solid var(--light);
}

.checkout-section h3 {
    color: var(--dark);
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-lg);
}

.checkout-info {
    color: var(--gray);
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-md);
}

.copy-order-box {
    margin-bottom: var(--spacing-lg);
}

.order-textarea {
    width: 100%;
    height: 150px;
    padding: var(--spacing-md);
    border: 2px solid var(--light);
    border-radius: var(--radius-lg);
    font-family: monospace;
    font-size: var(--font-size-sm);
    resize: vertical;
    color: var(--dark);
    background: #f9f9f9;
}

.instagram-section,
.qr-section {
    margin: var(--spacing-lg) 0;
    padding: var(--spacing-lg) 0;
    border-bottom: 1px solid var(--light);
}

.instagram-section h4,
.qr-section h4 {
    color: var(--dark);
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-base);
}

.qr-code {
    display: flex;
    justify-content: center;
    margin: var(--spacing-lg) 0;
    padding: var(--spacing-lg);
    background: var(--light);
    border-radius: var(--radius-lg);
    min-height: 200px;
}

.qr-text {
    text-align: center;
    color: var(--gray);
    font-size: var(--font-size-sm);
}

.continue-shopping {
    text-align: center;
    margin-top: var(--spacing-xl);
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-md);
    border: none;
    border-radius: var(--radius-lg);
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-size: var(--font-size-base);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background: #3bb3a8;
    transform: translateY(-2px);
}

.btn-instagram {
    background: linear-gradient(135deg, #833AB4, #FD1D1D);
    color: var(--white);
}

.btn-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(253, 29, 29, 0.3);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-full {
    width: 100%;
    margin-top: var(--spacing-md);
}

.btn-large {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-lg);
}

.text-center {
    text-align: center;
    margin-top: var(--spacing-xl);
}

/* ============ CTA SECTION ============ */
.cta {
    background: var(--gradient-secondary);
    color: var(--white);
    padding: var(--spacing-xl) var(--spacing-sm);
    text-align: center;
    margin: var(--spacing-xl) 0;
}

.cta h2 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-md);
}

.cta p {
    margin-bottom: var(--spacing-lg);
    font-size: var(--font-size-base);
}

/* ============ ABOUT SECTION ============ */
.about-section {
    padding: var(--spacing-xl) var(--spacing-sm);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content h2 {
    color: var(--primary);
    font-size: var(--font-size-2xl);
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
}

.about-content p {
    color: var(--dark);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
    font-size: var(--font-size-base);
}

.sourcing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
}

.sourcing-card {
    background: linear-gradient(135deg, #f5f5f5, #ffffff);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary);
}

.sourcing-card h3 {
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

.sourcing-card p {
    color: var(--gray);
    font-size: var(--font-size-sm);
}

.product-categories {
    list-style: none;
    margin: var(--spacing-lg) 0;
}

.product-categories li {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-lg);
    position: relative;
}

.product-categories li:before {
    content: "✨";
    position: absolute;
    left: 0;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
}

.why-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.why-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.why-card h4 {
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

.why-card p {
    color: var(--gray);
    font-size: var(--font-size-sm);
}

.cta-box {
    background: var(--gradient-accent);
    color: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    margin-top: var(--spacing-xl);
}

.cta-box h3 {
    margin-bottom: var(--spacing-md);
}

.cta-box p {
    margin-bottom: var(--spacing-lg);
}

/* ============ HOW TO ORDER SECTION ============ */
.how-to-order-section {
    padding: var(--spacing-md) var(--spacing-sm);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.step-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.step-number {
    position: absolute;
    top: -15px;
    right: -15px;
    background: var(--gradient-primary);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-2xl);
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(255, 107, 107, 0.3);
}

.step-card h3 {
    color: var(--primary);
    margin-bottom: var(--spacing-md);
    margin-top: var(--spacing-sm);
}

.step-card p {
    color: var(--gray);
    margin-bottom: var(--spacing-md);
}

.benefits-section {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-xl) 0;
    border-top: 2px solid var(--light);
    border-bottom: 2px solid var(--light);
}

.benefits-section h2 {
    text-align: center;
    font-size: var(--font-size-2xl);
    color: var(--dark);
    margin-bottom: var(--spacing-xl);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
}

.benefit-card {
    background: linear-gradient(135deg, #f5f5f5, #ffffff);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: center;
}

.benefit-card h4 {
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-base);
}

.benefit-card p {
    color: var(--gray);
    font-size: var(--font-size-sm);
}

.faq-preview {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-xl);
    background: #f9f9f9;
    border-radius: var(--radius-lg);
}

.faq-preview h2 {
    text-align: center;
    font-size: var(--font-size-2xl);
    color: var(--dark);
    margin-bottom: var(--spacing-xl);
}

.faq-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.faq-item {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--secondary);
}

.faq-item h4 {
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-base);
}

.faq-item p {
    color: var(--gray);
    font-size: var(--font-size-sm);
}

/* ============ FAQ SECTION ============ */
.faq-section {
    padding: var(--spacing-xl) var(--spacing-sm);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: var(--spacing-xl);
}

.faq-category h3 {
    color: var(--primary);
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.faq-item-full {
    background: var(--white);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--secondary);
}

.faq-question {
    color: var(--dark);
    font-weight: bold;
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-base);
}

.faq-item-full p {
    color: var(--gray);
    line-height: 1.8;
    font-size: var(--font-size-sm);
}

.still-questions {
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-lg);
    margin-top: var(--spacing-xl);
}

.still-questions h3 {
    margin-bottom: var(--spacing-md);
}

.still-questions p {
    margin-bottom: var(--spacing-lg);
}

/* ============ FOOTER ============ */
.footer {
    background: var(--dark);
    color: var(--white);
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-sm);
    margin-top: var(--spacing-xl);
}

.footer p {
    margin-bottom: var(--spacing-sm);
}

.footer-subtext {
    color: var(--gray);
    font-size: var(--font-size-sm);
}


/* ============ TOAST & MICRO-INTERACTIONS ============ */
#site-toast {
    position: fixed;
    right: 20px;
    bottom: 30px;
    background: linear-gradient(90deg, rgba(201,168,77,0.95), rgba(184,92,56,0.95));
    color: #071014;
    padding: 12px 18px;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(2,6,6,0.6);
    transform: translateY(12px) scale(0.98);
    opacity: 0;
    transition: opacity 260ms ease, transform 260ms ease;
    z-index: 5000;
    font-weight: 700;
}

#site-toast.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.pulse {
    animation: pulse-cart 0.9s ease;
}

@keyframes pulse-cart {
    0% { transform: scale(1); }
    50% { transform: scale(1.18); }
    100% { transform: scale(1); }
}

/* Cart count bubble */
#cart-count {
    display: inline-block;
    min-width: 20px;
    padding: 4px 8px;
    border-radius: 999px;
    background: var(--gold);
    color: #071014;
    font-weight: 800;
    text-align: center;
    box-shadow: 0 8px 18px rgba(0,0,0,0.6);
}

/* Copy order button micro-interaction */
.btn-primary {
    position: relative;
    overflow: hidden;
    padding-left: 42px; /* make room for pseudo-icon to avoid overlap */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-primary::after {
    content: '\2709';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.12;
    font-size: 1.05rem;
    transition: transform 0.2s ease, opacity 0.2s ease;
    pointer-events: none;
    text-shadow: none; /* avoid ghost text from shadows */
    mix-blend-mode: normal;
}
.btn-primary:hover::after { transform: translateY(-50%) translateX(6px); opacity: 0.22; }

/* Small adjustments for micro-interactions */
.add-to-cart-btn { padding: 10px 12px; border-radius: 10px; }
.add-to-cart-btn:hover { transform: translateY(-4px); }

/* ============ CATALOG GRID: STANDARDIZE PRODUCT CARDS ============ */
#products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--spacing-lg);
}

#products-grid .product-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    min-height: 420px; /* uniform container height */
    box-sizing: border-box;
    height: 420px; /* enforce exact height for strict uniformity */
}

/* Override any asymmetrical grid rules for the main catalog to keep all cards equal */
#products-grid .product-card {
    grid-row: auto !important;
    grid-column: auto !important;
}

#products-grid .product-image {
    width: 100%;
    height: 260px; /* fixed image area height for uniform cards */
    background: var(--glass-bg);
    display: block;
    border-bottom: 1px solid var(--glass-border);
    overflow: hidden;
}

#products-grid .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* ensures consistent fill */
    display: block;
}

#products-grid .product-info {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    box-sizing: border-box;
    overflow: hidden; /* prevent content from expanding card */
}

#products-grid .product-name {
    min-height: 3.2rem; /* reserve two lines for title */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}

#products-grid .product-footer { margin-top: 0.8rem; display:flex; justify-content:space-between; align-items:center; }

/* ============ HOMEPAGE: FORCE UNIFORM PRODUCT CARDS ============ */
/* Target homepage grids (featured + bestsellers) and the catalog as a fallback */
#bestsellers-grid,
#featured-products,
#products-grid {
    align-items: stretch;
    grid-auto-rows: 1fr; /* make each row distribute available height evenly */
}

#bestsellers-grid .product-card,
#featured-products .product-card,
#products-grid .product-card,
.products-grid .product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0; /* allow grid-auto-rows to control sizing */
    overflow: hidden;
}

#bestsellers-grid .product-image,
#featured-products .product-image,
#products-grid .product-image,
.products-grid .product-image {
    flex: 0 0 160px; /* fixed visual image area for consistency */
    height: 160px;
    object-fit: cover;
    width: 100%;
}

#bestsellers-grid .product-info,
#featured-products .product-info,
#products-grid .product-info,
.products-grid .product-info {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

/* Neutralize previously-applied asymmetrical spans so cards remain equal */
#bestsellers-grid .product-card:nth-child(3n),
#featured-products .product-card:nth-child(3n),
#bestsellers-grid .product-card:nth-child(5n),
#featured-products .product-card:nth-child(5n),
#products-grid .product-card:nth-child(3n),
#products-grid .product-card:nth-child(5n),
.products-grid .product-card:nth-child(3n),
.products-grid .product-card:nth-child(5n) {
    grid-row: auto !important;
    grid-column: auto !important;
}

/* Ensure titles don't push cards taller */
#bestsellers-grid .product-name,
#featured-products .product-name,
#products-grid .product-name,
.products-grid .product-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


#products-grid .product-footer { margin-top: auto; }

/* Responsive: reduce fixed heights on small screens */
@media (max-width: 768px) {
    #products-grid .product-card {
        height: auto;
        min-height: 360px;
    }
    #products-grid .product-image { height: 180px; }
}

/* make sure featured and bestseller sections keep their style but don't conflict */
.featured .product-card, .chefs-favorites .product-card { min-height: auto; }

/* ============ ANIMATIONS ============ */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ============ RESPONSIVE DESIGN ============ */
@media (max-width: 768px) {
    .nav-menu {
        gap: var(--spacing-xs);
    }

    .nav-link,
    .cart-link {
        font-size: var(--font-size-xs);
        padding: var(--spacing-xs) 0.5rem;
    }

    .hero-content h1 {
        font-size: var(--font-size-2xl);
    }

    .hero-content p {
        font-size: var(--font-size-base);
    }

    .spice-grid {
        grid-template-columns: repeat(2, 60px);
    }

    .spice-item {
        font-size: 2rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: var(--spacing-md);
    }

    .product-image {
        height: 120px;
        font-size: 3rem;
    }

    .why-choose-grid,
    .flavor-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-slider {
        margin: var(--spacing-lg) auto;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .cart-items-wrapper {
        grid-template-columns: 1fr;
    }

    .page-title h1 {
        font-size: var(--font-size-xl);
    }

    .filter-buttons {
        gap: var(--spacing-xs);
    }

    .filter-btn {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: var(--font-size-xs);
    }
}

@media (max-width: 480px) {
    .nav-container {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .nav-menu {
        justify-content: center;
        width: 100%;
    }

    .hero-content h1 {
        font-size: var(--font-size-2xl);
    }

    .spice-grid {
        grid-template-columns: repeat(2, 50px);
    }

    .spice-item {
        font-size: 1.5rem;
        padding: var(--spacing-sm);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }

    .product-info {
        padding: var(--spacing-sm);
    }

    .product-name {
        font-size: var(--font-size-base);
    }

    .product-description {
        font-size: var(--font-size-xs);
        margin-bottom: var(--spacing-sm);
    }

    .cart-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .cart-item-quantity {
        width: 100%;
        margin-top: var(--spacing-sm);
    }
}

/* Footer: force high-contrast white for all footer text elements */
.footer p,
.footer-section p,
.footer-bottom p,
.footer-subtext {
    color: var(--white) !important;
}

/* Strong override for category filter buttons to ensure visibility */
.filters-section .filter-buttons .filter-btn,
.filters-section .filter-buttons button.filter-btn {
    background: #4A2C1A !important; /* requested dark brown */
    color: #FFFFFF !important;
    padding: 10px 20px !important;
    margin: 5px !important;
    border-radius: 20px !important;
    border: 1px solid transparent !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.filters-section .filter-buttons .filter-btn.active,
.filters-section .filter-buttons button.filter-btn.active {
    background: #6B3F2A !important; /* active/selected lighter brown */
    color: #FFFFFF !important;
}
