/* ============================================
   TeluguTots - Modern CSS with Best Practices
   ============================================ */

/* Google Fonts - Quicksand (rounded, Goodly-like brand font) */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&display=swap');

/* Font Face Declarations - Brand Style Guide */
@font-face {
    font-family: 'Mustica Pro';
    src: url('fonts/MusticaPro-SemiBold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Mustica Pro';
    src: url('fonts/MusticaPro-SemiBold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

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

:root {
    /* Color Palette - Brand Style Guide */
    /* Lead Palette - Primary Colors */
    --primary-color: #A14C3D; /* Reddish-Brown - RGB: 161, 76, 61 */
    --primary-dark: #8A3D2F; /* Darker variation of primary */
    --primary-light: #B85D4E; /* Lighter variation of primary */
    --secondary-color: #AD8A77; /* Light Brown/Taupe - RGB: 173, 138, 119 */
    --secondary-dark: #9A7A68; /* Darker variation of secondary */
    --secondary-light: #C09A87; /* Lighter variation of secondary */
    
    /* Extended Palette - Supporting Colors */
    --accent-teal: #325563; /* Dark Teal/Blue-Gray - RGB: 50, 85, 99 */
    --accent-green: #79926C; /* Muted Green/Olive - RGB: 121, 146, 108 */
    
    /* Text Colors */
    --text-primary: #2C2C2C;
    --text-secondary: #5A5A5A;
    --text-light: #8A8A8A;
    
    /* Background Colors */
    --bg-primary: #FFFFFF;
    --bg-secondary: #FAF9F7;
    --bg-warm: #F7F5F2;
    --bg-dark: #325563; /* Using extended palette teal for dark backgrounds */
    
    /* Border Colors */
    --border-color: #E8E5E0;
    --border-light: #F0EDE8;
    
    /* Status Colors */
    --error-color: #C85A4A;
    --success-color: #79926C; /* Using extended palette green for success */
    
    /* Legacy Palette - Kept for backward compatibility, can be removed if not needed */
    --color-cream: #F7F5F2;
    --color-beige: #E8E5E0;
    --color-wood: #A14C3D; /* Updated to match primary */
    --color-sage: #79926C; /* Updated to match accent-green */
    --color-terracotta: #AD8A77; /* Updated to match secondary */
    
    /* Typography - Brand Style Guide */
    --font-headline-1: 'Quicksand', 'Mustica Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-headline-2: 'Quicksand', 'Mustica Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-subhead: 'Quicksand', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Quicksand', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-primary: 'Quicksand', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Quicksand', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Noto Serif', Georgia, serif;
    --font-telugu: 'Noto Sans Telugu', 'Gidugu', sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.5;
    
    /* Typography Sizes - Brand Style Guide */
    --font-size-headline-1-min: 36pt; /* 48px */
    --font-size-headline-1-max: 43pt; /* 57px */
    --font-size-headline-2-min: 24pt; /* 32px */
    --font-size-headline-2-max: 28pt; /* 37px */
    --font-size-subhead-min: 12pt; /* 16px */
    --font-size-subhead-max: 14pt; /* 19px */
    --font-size-body-min: 8pt; /* 11px */
    --font-size-body-max: 12pt; /* 16px */
    
    /* Font Weights - Brand Style Guide */
    --font-weight-light: 300;
    --font-weight-regular: 500;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Spacing - Premium Minimal (More Whitespace) */
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.875rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.25rem;
    --spacing-xl: 3.25rem;
    --spacing-xxl: 4.5rem;
    
    /* Layout - Premium Minimal */
    --container-max-width: 1180px;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Base Styles */
html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: clamp(15px, 1.1vw, 17px);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-base);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography - Brand Style Guide */
h1 {
    font-family: var(--font-headline-1);
    font-size: clamp(40px, 5vw, 62px);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

h2 {
    font-family: var(--font-headline-2);
    font-size: clamp(30px, 3.6vw, 44px);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

h3, h4, h5, h6 {
    font-family: var(--font-subhead);
    font-size: clamp(20px, 2vw, 24px);
    font-weight: var(--font-weight-medium);
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

p {
    font-family: var(--font-body);
    font-size: clamp(15px, 1.1vw, 17px);
    font-weight: var(--font-weight-regular);
    margin-bottom: var(--spacing-sm);
    line-height: 1.5;
}

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

a:hover,
a:focus {
    color: var(--primary-dark);
    text-decoration: underline;
}

a:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: var(--spacing-xs) var(--spacing-sm);
    z-index: 100;
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
}

/* Visually Hidden (for screen readers) */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--spacing-lg);
    }
}

/* Announcement Banner */
.announcement-banner {
    background: linear-gradient(
        105deg,
        var(--primary-color) 40%,
        #c4685a 50%,
        var(--primary-color) 60%
    );
    background-size: 200% 100%;
    color: #fff;
    text-align: center;
    padding: 0.5rem 0;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    animation: bannerSlideDown 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both,
               bannerShimmer 4s ease-in-out 1.2s infinite;
}

@keyframes bannerSlideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes bannerShimmer {
    0%, 100% { background-position: 100% 0; }
    50%       { background-position: 0% 0; }
}

.announcement-banner p {
    margin: 0;
}

.banner-cta {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(161, 76, 61, 0.4);
    text-underline-offset: 2px;
    letter-spacing: 0.03em;
}

/* Header & Navigation */
.header {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.98);
}

.navbar {
    padding: var(--spacing-sm) 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.navbar-brand a {
    display: inline-flex;
    align-items: center;
}

.brand-logo {
    display: block;
    height: 84px;
    width: auto;
    max-width: min(78vw, 420px);
}

@media (max-width: 767px) {
    .brand-logo {
        height: 62px;
        max-width: 76vw;
    }
}

/* Header CTA - always visible */
.header-cta {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    margin-right: 1.5rem;
    background: var(--primary-color);
    color: #fff;
    font-family: var(--font-headline-1);
    font-weight: var(--font-weight-semibold);
    font-size: 13px;
    letter-spacing: 0.04em;
    text-decoration: none;
    border-radius: 999px;
    white-space: nowrap;
    opacity: 1;
    transform: translateY(0);
    transition: background 0.2s ease;
}

.header-cta:hover { background: var(--primary-dark); }

/* Scrolled header state */
.header--scrolled .brand-logo {
    height: 44px !important;
    max-width: 160px !important;
}

.header--scrolled .navbar .container {
    min-height: 56px;
}

.header--scrolled .navbar {
    padding: 0.2rem 0;
}

/* Smooth transitions for scroll transform */
.brand-logo {
    transition: height 0.35s ease, max-width 0.35s ease;
}

.navbar .container {
    transition: min-height 0.35s ease;
}

.navbar {
    transition: padding 0.35s ease;
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
}

.mobile-menu-toggle:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: var(--border-radius);
}

.hamburger {
    width: 24px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hamburger → X when menu is open */
.mobile-menu-toggle.active .hamburger:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-menu-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.mobile-menu-toggle.active .hamburger:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.navbar-menu {
    display: none;
    list-style: none;
    flex-direction: column;
    gap: var(--spacing-sm);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-md);
    margin: 0;
}

.navbar-menu.active {
    display: flex;
}

.navbar-menu a {
    display: block;
    padding: var(--spacing-xs) var(--spacing-sm);
    color: var(--text-primary);
    font-weight: 500;
    border-radius: var(--border-radius);
    transition: background-color var(--transition-fast);
}

.navbar-menu a:hover,
.navbar-menu a:focus {
    background-color: var(--bg-secondary);
    text-decoration: none;
}

.navbar-menu a[aria-current="page"] {
    color: var(--primary-color);
    background-color: var(--bg-secondary);
}

.nav-cart-item {
    display: flex;
    align-items: center;
}

.nav-signin-item {
    display: flex;
    align-items: center;
}

.navbar-menu .nav-signin-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0.42rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(143, 63, 52, 0.28);
    background: rgba(255, 255, 255, 0.82);
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
}

.navbar-menu .nav-signin-link:hover,
.navbar-menu .nav-signin-link:focus {
    background: rgba(247, 236, 226, 0.95);
    border-color: rgba(143, 63, 52, 0.44);
    text-decoration: none;
}

.navbar-menu .nav-cart-link,
.header-cart-corner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(143, 63, 52, 0.28);
    background: rgba(255, 255, 255, 0.82);
    padding: 0;
}

.navbar-menu .nav-cart-link svg,
.header-cart-corner svg {
    width: 23px;
    height: 23px;
}

.navbar-menu .nav-cart-link svg path,
.navbar-menu .nav-cart-link svg circle,
.header-cart-corner svg path,
.header-cart-corner svg circle {
    fill: none;
    stroke: var(--text-primary);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.navbar-menu .nav-cart-link:hover,
.navbar-menu .nav-cart-link:focus,
.header-cart-corner:hover,
.header-cart-corner:focus {
    background: rgba(247, 236, 226, 0.95);
    border-color: rgba(143, 63, 52, 0.44);
    text-decoration: none;
}

.navbar .container {
    position: relative;
}

.navbar-menu .nav-cart-item,
.header-cart-corner {
    display: none !important;
}

.header-cart-corner {
    position: absolute;
    top: 50%;
    right: var(--spacing-md);
    transform: translateY(-50%);
    z-index: 1002;
}

.nav-cart-link[data-cart-count]:not([data-cart-count="0"])::after,
.header-cart-corner[data-cart-count]:not([data-cart-count="0"])::after {
    content: attr(data-cart-count);
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 21px;
    height: 21px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--primary-color);
    color: #fff;
    font-size: 0.68rem;
    line-height: 1;
    display: inline-grid;
    place-items: center;
    border: 2px solid #fff;
    font-weight: var(--font-weight-semibold);
    font-family: var(--font-body);
    letter-spacing: 0;
}

.cart-drawer[hidden] {
    display: none !important;
}

.cart-drawer {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.cart-drawer-backdrop {
    position: absolute;
    inset: 0;
    border: none;
    background: rgba(31, 24, 21, 0.55);
    cursor: pointer;
}

.cart-drawer-panel {
    position: relative;
    z-index: 1;
    width: min(960px, 100%);
    min-height: min(72vh, 640px);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 253, 248, 0.99), rgba(247, 240, 231, 0.98));
    border: 1px solid rgba(143, 63, 52, 0.18);
    box-shadow: 0 26px 60px rgba(47, 27, 19, 0.28);
    display: block;
    text-align: left;
    padding: 2rem 1.25rem;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.cart-drawer-panel.cart-empty-mode {
    min-height: auto;
    max-height: none;
    padding-bottom: 1.75rem;
}

.cart-drawer-close {
    position: absolute;
    top: 0.6rem;
    right: 0.8rem;
    border: none;
    background: transparent;
    color: var(--primary-dark);
    font-size: 2.25rem;
    line-height: 1;
    cursor: pointer;
}

.cart-empty-icon {
    margin-bottom: 0.9rem;
}

.cart-empty-icon svg {
    width: 76px;
    height: 76px;
}

.cart-empty-icon svg path,
.cart-empty-icon svg circle {
    fill: none;
    stroke: var(--text-primary);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cart-drawer-panel h2 {
    margin-bottom: 0.9rem;
    text-align: center;
}

.cart-drawer-shop {
    min-width: min(620px, 90%);
}

.cart-items-wrap {
    margin: 0 auto;
    max-width: 860px;
}

.cart-empty-state {
    text-align: center;
    padding: 0.5rem 0 1rem;
}

.cart-items-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.cart-line-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.7rem;
    border: 1px solid rgba(143, 63, 52, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.84);
    padding: 0.75rem 0.85rem;
}

.cart-item-name {
    margin: 0 0 0.15rem;
    font-weight: var(--font-weight-medium);
    font-size: 0.92rem;
}

.cart-item-price {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.86rem;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.84rem;
}

.cart-item-controls button {
    border: 1px solid rgba(143, 63, 52, 0.3);
    background: #fff;
    color: var(--primary-dark);
    border-radius: 8px;
    min-width: 32px;
    min-height: 32px;
    padding: 0.2rem 0.45rem;
    cursor: pointer;
}

.cart-item-controls button[data-cart-remove] {
    min-width: auto;
}

.cart-coupon-form,
.cart-payment-form,
.cart-summary {
    max-width: 860px;
    margin: 0.85rem auto 0;
}

.cart-coupon-form[hidden],
.cart-summary[hidden],
.cart-payment-form[hidden] {
    display: none !important;
}

.cart-coupon-form label {
    display: block;
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.cart-coupon-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.55rem;
}

.cart-coupon-row input,
.cart-payment-form input {
    width: 100%;
    border: 2px solid rgba(143, 63, 52, 0.3);
    border-radius: 12px;
    padding: 0.72rem 0.8rem;
    font-size: 0.92rem;
    font-family: var(--font-body);
    background: rgba(255, 255, 255, 0.9);
}

.cart-coupon-note,
.cart-payment-note {
    min-height: 1.25rem;
    margin: 0.45rem 0 0;
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.cart-summary {
    border-top: 1px solid rgba(143, 63, 52, 0.2);
    border-bottom: 1px solid rgba(143, 63, 52, 0.2);
    padding: 0.65rem 0;
}

.cart-summary p {
    display: flex;
    justify-content: space-between;
    margin: 0.3rem 0;
}

.cart-total-row {
    font-size: 0.98rem;
}

/* Cart Shipping Progress */
.cart-shipping-progress {
    padding: 0.75rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.cart-shipping-progress p {
    margin: 0;
}

.cart-shipping-progress strong {
    color: var(--primary-color);
}

.cart-shipping-free strong {
    color: var(--success-color);
}

.shipping-progress-track {
    height: 6px;
    background: var(--border-light);
    border-radius: 3px;
    margin: 0.5rem 0;
    overflow: hidden;
}

.shipping-progress-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 3px;
    transition: width 0.4s ease;
}

.cart-shipping-free .shipping-progress-fill {
    background: var(--success-color);
}

.shipping-note {
    font-size: 0.78rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.cart-payment-form h3 {
    margin-bottom: 0.5rem;
    font-size: 0.92rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.cart-payment-form {
    display: grid;
    gap: 0.55rem;
}

.cart-payment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
}

.cart-pay-btn {
    width: 100%;
}

.product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    margin-top: 0.75rem;
}

.signin-modal[hidden] {
    display: none !important;
}

.signin-modal {
    position: fixed;
    inset: 0;
    z-index: 2100;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.signin-modal-backdrop {
    position: absolute;
    inset: 0;
    border: none;
    background: rgba(31, 24, 21, 0.58);
    cursor: pointer;
}

.signin-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(760px, 96vw);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 253, 248, 0.99), rgba(247, 240, 231, 0.98));
    border: 1px solid rgba(143, 63, 52, 0.2);
    box-shadow: 0 24px 56px rgba(47, 27, 19, 0.28);
    padding: 2.8rem 1.25rem 1.4rem;
}

.signin-close {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(143, 63, 52, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-dark);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    display: inline-grid;
    place-items: center;
}

.signin-title {
    margin-bottom: 0.45rem;
    font-size: clamp(1.5rem, 2vw, 1.95rem);
}

.signin-copy {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.signin-form {
    display: grid;
    gap: 0.85rem;
}

.signin-form label {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: var(--font-weight-medium);
}

.signin-form input {
    width: 100%;
    border: 2px solid rgba(143, 63, 52, 0.3);
    border-radius: 12px;
    padding: 0.78rem 0.9rem;
    font-size: 0.9rem;
    font-family: var(--font-body);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.9);
}

.signin-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(143, 63, 52, 0.12);
}

.signin-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.82rem;
}

.signin-meta label {
    margin: 0;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.signin-meta input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 0;
}

.signin-actions {
    display: grid;
    gap: 0.65rem;
}

.signin-actions .btn {
    width: 100%;
}

.signin-secondary {
    text-align: center;
    font-size: 0.82rem;
}

.auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
    margin-bottom: 0.95rem;
}

.auth-tab {
    border: 1px solid rgba(143, 63, 52, 0.28);
    background: rgba(255, 255, 255, 0.85);
    color: var(--primary-dark);
    border-radius: 999px;
    padding: 0.52rem 0.75rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
}

.auth-tab.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
}

.auth-pane {
    display: none;
}

.auth-pane.active {
    display: block;
}

.auth-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}

.auth-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
}

.create-account-form {
    max-height: min(70vh, 540px);
    overflow-y: auto;
    padding-right: 0.2rem;
}

.create-terms {
    font-size: 0.9rem;
    text-transform: none;
    letter-spacing: 0;
}

.create-terms input {
    width: auto;
    margin-right: 0.35rem;
}

.auth-inline-link {
    border: none;
    background: none;
    color: var(--primary-color);
    cursor: pointer;
    font: inherit;
    text-decoration: underline;
}

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
    
    .navbar-menu {
        display: flex;
        flex-direction: row;
        position: static;
        box-shadow: none;
        padding: 0;
        background: transparent;
        align-items: center;
    }
}

/* Hero Section - Premium Learning Style */
.hero {
    padding: clamp(2.5rem, 5vw, 5rem) 0;
    background: var(--bg-warm);
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
    min-height: auto;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(247, 245, 242, 0.5) 0%, rgba(255, 255, 255, 0.8) 100%);
    pointer-events: none;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: center;
}

.hero-content h1 {
    font-family: var(--font-headline-1);
    font-size: clamp(40px, 5vw, 62px);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(16px, 1.2vw, 20px);
    margin-bottom: var(--spacing-lg);
    color: var(--text-secondary);
    font-weight: var(--font-weight-regular);
    line-height: 1.65;
    max-width: 42ch;
}

.hero.hero-compact {
    padding: clamp(1.5rem, 3vw, 2.5rem) 0;
}

.hero.hero-compact .hero-subtitle {
    margin-bottom: 0;
    max-width: 54ch;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.hero-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

@media (min-width: 768px) {
    .hero.hero-split .container {
        grid-template-columns: 1.05fr 0.95fr;
    }
    
    .hero-cta {
        flex-direction: row;
        align-items: center;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: var(--font-weight-medium);
    text-align: center;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    min-height: 44px;
    min-width: 44px;
    line-height: 1.5;
    letter-spacing: 0.01em;
}

.btn:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border: none;
    box-shadow: 0 2px 8px rgba(161, 76, 61, 0.15);
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--primary-dark);
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(161, 76, 61, 0.25);
}

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

.btn-secondary:hover,
.btn-secondary:focus {
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-color: var(--primary-color);
}

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

/* Features Section - Premium Minimal */
.features {
    padding: clamp(2.5rem, 5vw, 4.75rem) 0;
    background: var(--bg-primary);
}

.section-title {
    font-family: var(--font-headline-2);
    font-size: clamp(30px, 3.2vw, 42px);
    text-align: center;
    margin-bottom: var(--spacing-xl);
    font-weight: var(--font-weight-medium);
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1rem, 2vw, 1.5rem);
}

.feature-card {
    background: var(--bg-primary);
    padding: 0;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.feature-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.feature-image-bottom {
    object-position: 50% 12%;
}

.feature-icon {
    font-size: 2.2rem;
    margin: var(--spacing-sm) 0;
}

.feature-icon-svg {
    width: 48px;
    height: 48px;
    margin: 0.9rem auto 0.45rem;
    border-radius: 50%;
    border: 1px solid rgba(143, 63, 52, 0.24);
    background: linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(248, 238, 228, 0.88));
    display: grid;
    place-items: center;
    box-shadow: 0 8px 18px rgba(143, 63, 52, 0.12);
}

.feature-icon-svg svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary-color);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.feature-card h3,
.feature-card p {
    padding: 0 var(--spacing-md);
}

.feature-card p {
    padding-bottom: var(--spacing-md);
    color: var(--text-secondary);
    line-height: 1.7;
}

.feature-card h3 {
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

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

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

/* How It Works / Products Section - Premium Minimal */
.how-it-works {
    padding: clamp(2.5rem, 5vw, 4.75rem) 0;
    background: var(--bg-primary);
}

.steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1rem, 2.2vw, 1.75rem);
    margin-top: var(--spacing-lg);
}

.step {
    text-align: left;
    position: relative;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    color: inherit;
    text-decoration: none;
    display: block;
}

.step-image {
    width: 100%;
    max-width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    margin: 0 0 var(--spacing-md);
    box-shadow: var(--shadow-md);
    display: block;
}

.step-number {
    width: 38px;
    height: 38px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    z-index: 1;
    border: 2px solid var(--bg-primary);
}

.step h3 {
    margin-bottom: var(--spacing-xs);
}

.step p {
    color: var(--text-secondary);
}

@media (min-width: 768px) {
    .steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .steps-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .steps-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .how-it-works .container > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr 1fr !important;
    }
}

/* Testimonials Section - Premium Minimal */
.testimonials {
    padding: clamp(2.5rem, 5vw, 4.75rem) 0;
    background: var(--bg-warm);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.testimonial {
    background: var(--bg-primary);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: var(--spacing-md);
    border: 3px solid var(--primary-color);
}

.testimonial-avatar-initials {
    display: grid;
    place-items: center;
    font-family: var(--font-headline-2);
    font-size: 1.02rem;
    letter-spacing: 0.04em;
    color: #fff7ef;
    background: linear-gradient(160deg, #b65f4f 0%, #8f3f34 50%, #6f2c24 100%);
    box-shadow: 0 10px 22px rgba(143, 63, 52, 0.28);
}

.testimonial p {
    font-style: italic;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.testimonial footer {
    margin-top: var(--spacing-sm);
}

.testimonial cite {
    font-style: normal;
    font-weight: 600;
    color: var(--text-secondary);
}

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

/* CTA Section - Premium Learning Style */
.cta-section {
    padding: clamp(2.5rem, 5vw, 4.5rem) 0;
    background: var(--bg-warm);
    color: var(--text-primary);
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-light);
}

.cta-section h2 {
    font-family: var(--font-headline-2);
    font-size: clamp(30px, 3.2vw, 42px);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.cta-section p {
    font-family: var(--font-body);
    font-size: clamp(15px, 1.2vw, 18px);
    margin-bottom: var(--spacing-lg);
    color: var(--text-secondary);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

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

.footer-section h3,
.footer-section h4 {
    font-family: var(--font-subhead);
    font-size: 1.125rem;
    font-weight: var(--font-weight-medium);
    color: white;
    margin-bottom: var(--spacing-sm);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-sm);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-fast);
}

.footer-section a:hover,
.footer-section a:focus {
    color: white;
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.social-links a {
    padding: var(--spacing-xs) var(--spacing-sm);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    transition: background-color var(--transition-fast);
}

.social-links a:hover,
.social-links a:focus {
    background: rgba(255, 255, 255, 0.2);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-sm);
}

.newsletter-form input {
    padding: 0 1rem;
    height: 3rem;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
}

.newsletter-form .btn {
    height: 3rem;
    white-space: nowrap;
    flex-shrink: 0;
    box-sizing: border-box;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input:focus {
    outline: 2px solid white;
    outline-offset: 2px;
    border-color: white;
}

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

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .newsletter-form {
        flex-direction: row;
    }
    
    .newsletter-form input {
        flex: 1;
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn var(--transition-base);
}

/* Form Error States */
input.error,
textarea.error {
    border-color: var(--error-color) !important;
    border-width: 2px;
}

.error-message {
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: var(--spacing-xs);
    display: block;
}

.success-message {
    background: var(--success-color);
    color: white;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius);
    margin-top: var(--spacing-sm);
    font-weight: 500;
}

/* Intro Offer Popup */
.offer-teaser {
    position: fixed;
    left: 1.25rem;
    bottom: 0.9rem;
    z-index: 1200;
    display: flex;
    align-items: center;
    gap: 0;
    transform: translateX(-120%);
    opacity: 0;
    transition: transform 0.56s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.56s ease;
}

.offer-teaser.offer-teaser-visible {
    transform: translateX(0);
    opacity: 1;
}

.offer-teaser[hidden] {
    display: none !important;
}

.offer-teaser-close {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #3b2e29, #1f1715 68%);
    color: #fff;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(25, 18, 15, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.42);
    position: relative;
    z-index: 2;
    transform: translateX(8px);
}

.offer-teaser-card {
    border: none;
    border-radius: 16px;
    background:
        linear-gradient(165deg, rgba(252, 246, 237, 0.98), rgba(245, 233, 218, 0.98));
    color: var(--primary-dark);
    min-width: 180px;
    min-height: 56px;
    padding: 0.6rem 1rem;
    cursor: pointer;
    box-shadow: 0 22px 46px rgba(72, 43, 29, 0.2);
    border: 1px solid rgba(143, 63, 52, 0.18);
    backdrop-filter: blur(3px);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.offer-teaser-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(112deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.offer-teaser-card span {
    display: block;
    font-family: var(--font-headline-1);
    font-size: clamp(1.1rem, 1.4vw, 1.4rem);
    line-height: 0.98;
    letter-spacing: 0.02em;
    color: var(--primary-dark);
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.offer-modal {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: grid;
    place-items: center;
    padding: 1.5rem;
}

.offer-modal[hidden] {
    display: none !important;
}

.offer-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(31, 24, 21, 0.58);
}

.offer-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(1100px, 100%);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(247, 240, 231, 0.98));
    border: 1px solid rgba(143, 63, 52, 0.18);
    box-shadow: 0 26px 60px rgba(47, 27, 19, 0.28);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
}

.offer-modal-close {
    position: absolute;
    top: 0.6rem;
    right: 0.8rem;
    border: none;
    background: transparent;
    font-size: 2.75rem;
    line-height: 1;
    color: var(--primary-dark);
    cursor: pointer;
    z-index: 2;
}

.offer-modal-media img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.offer-modal-content {
    padding: 1.5rem 1.25rem 1.4rem;
    text-align: center;
}

.offer-modal-brand {
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    margin-bottom: 0.3rem;
    color: var(--accent-teal);
    font-weight: var(--font-weight-semibold);
}

.offer-modal-content h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    margin-bottom: 0.5rem;
}

.offer-modal-copy {
    color: var(--text-secondary);
    font-size: 1.02rem;
    line-height: 1.5;
    max-width: 34ch;
    margin: 0 auto 1rem;
}

.offer-form {
    max-width: 560px;
    margin: 0 auto;
}

.offer-form input,
.offer-form select {
    width: 100%;
    border: 2px solid rgba(143, 63, 52, 0.36);
    border-radius: 14px;
    padding: 0.92rem 0.95rem;
    font-size: 1.35rem;
    font-family: var(--font-body);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.86);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.offer-form input:focus,
.offer-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(143, 63, 52, 0.12);
    background: #fff;
}

.offer-form label {
    display: block;
    text-align: left;
    font-size: 1.25rem;
    margin: 0.9rem 0 0.55rem;
    color: var(--text-primary);
}

.offer-dob-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
}

.offer-submit-btn {
    margin-top: 1rem;
    width: 100%;
    max-width: 300px;
}

@media (min-width: 900px) {
    .offer-modal-dialog {
        grid-template-columns: 1fr 1fr;
    }

    .offer-modal-media img {
        height: 100%;
        min-height: 640px;
    }

    .offer-modal-content {
        padding: 3.4rem 2.4rem 2rem;
    }

    .offer-modal-brand {
        font-size: 1.05rem;
        margin-bottom: 0.6rem;
    }

    .offer-form label {
        font-size: 1.1rem;
    }

    .offer-submit-btn {
        margin-top: 1.3rem;
    }
}

/* Luxury Refresh */
:root {
    --primary-color: #8f3f34;
    --primary-dark: #6f2c24;
    --primary-light: #b9614f;
    --secondary-color: #c4a27d;
    --accent-teal: #1f3f4b;
    --accent-gold: #d9b27c;
    --text-primary: #2f2722;
    --text-secondary: #5e5046;
    --text-light: #847467;
    --bg-primary: #fffdf8;
    --bg-secondary: #f8f2e9;
    --bg-warm: #f4ece1;
    --bg-dark: #1f3a45;
    --border-color: #e8ddcf;
    --border-light: #efe5d8;
    --border-radius: 10px;
    --border-radius-lg: 18px;
    --shadow-sm: 0 12px 26px rgba(39, 25, 14, 0.08);
    --shadow-md: 0 16px 44px rgba(39, 25, 14, 0.12);
    --shadow-lg: 0 24px 56px rgba(39, 25, 14, 0.16);
}

body {
    background:
        radial-gradient(circle at 12% 0%, rgba(217, 178, 124, 0.13), transparent 34%),
        radial-gradient(circle at 85% 20%, rgba(143, 63, 52, 0.08), transparent 42%),
        var(--bg-primary);
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.25rem, 4vw, 3.65rem);
    letter-spacing: -0.03em;
    line-height: 1.08;
}

h2 {
    font-size: clamp(1.95rem, 3vw, 2.75rem);
    letter-spacing: -0.025em;
    line-height: 1.12;
}

h3 {
    font-size: clamp(1.2rem, 1.7vw, 1.5rem);
    letter-spacing: -0.015em;
}

.header {
    background: rgba(255, 251, 245, 0.9);
    border-bottom: 1px solid rgba(143, 63, 52, 0.12);
    backdrop-filter: blur(14px);
}

.navbar {
    padding: 0.35rem 0;
}

.navbar-menu a {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    border-radius: 999px;
    padding: 0.43rem 0.82rem;
}

.navbar .container {
    min-height: 84px;
    padding-left: clamp(0.65rem, 1.6vw, 1.3rem);
}

.navbar-brand {
    margin-right: auto;
    margin-left: -0.15rem;
}

.brand-logo {
    height: 72px;
    max-width: min(54vw, 340px);
}

.navbar-menu {
    gap: 0.28rem;
}

.navbar-menu a {
    font-size: 0.72rem;
    letter-spacing: 0.085em;
    padding: 0.38rem 0.72rem;
}

.hero {
    position: relative;
    background:
        linear-gradient(150deg, rgba(244, 236, 225, 0.92) 0%, rgba(255, 253, 248, 0.96) 60%),
        var(--bg-warm);
    border-bottom: 1px solid var(--border-light);
}

.hero::before {
    background:
        radial-gradient(circle at 2% 20%, rgba(217, 178, 124, 0.18), transparent 34%),
        radial-gradient(circle at 88% 80%, rgba(143, 63, 52, 0.08), transparent 38%);
}

.hero::after {
    content: "";
    position: absolute;
    width: min(50vw, 460px);
    height: min(50vw, 460px);
    right: -120px;
    top: -180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(217, 178, 124, 0.22), rgba(217, 178, 124, 0));
    pointer-events: none;
}

.hero-content h1 {
    line-height: 1.08;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.7rem;
    padding: 0.35rem 0.82rem;
    border-radius: 999px;
    border: 1px solid rgba(143, 63, 52, 0.24);
    background: rgba(255, 255, 255, 0.72);
    color: #7a362d;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    font-weight: 600;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.15vw, 1.12rem);
    color: var(--text-secondary);
    max-width: 46ch;
}

.hero-trust-line {
    margin-top: 0.85rem;
    margin-bottom: 0;
    color: #6e473b;
    font-size: 0.84rem;
    letter-spacing: 0.03em;
}

/* Batch progress bar */
.batch-progress {
    margin-top: 1.1rem;
    max-width: 260px;
}
.batch-progress-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}
.batch-progress-track {
    height: 5px;
    background: rgba(161, 76, 61, 0.15);
    border-radius: 99px;
    overflow: hidden;
}
.batch-progress-fill {
    height: 100%;
    width: 40%;
    background: var(--primary-color);
    border-radius: 99px;
    animation: batchFill 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.9s both;
}
@keyframes batchFill {
    from { width: 0%; }
    to   { width: 40%; }
}

.batch-progress--centered {
    margin: 1.2rem auto 0;
    text-align: center;
}

.hero.hero-compact {
    padding: clamp(1.2rem, 2.4vw, 2rem) 0;
    border-bottom: 1px solid rgba(143, 63, 52, 0.14);
    background:
        radial-gradient(circle at 8% 45%, rgba(217, 178, 124, 0.12), transparent 38%),
        radial-gradient(circle at 92% 16%, rgba(143, 63, 52, 0.08), transparent 34%),
        linear-gradient(180deg, rgba(245, 236, 225, 0.76), rgba(255, 252, 247, 0.95));
}

.hero.hero-compact .container {
    gap: 0.6rem;
    align-items: start;
}

.hero.hero-compact h1 {
    margin-bottom: 0.35rem;
    max-width: 18ch;
    letter-spacing: -0.028em;
    line-height: 1.04;
}

.hero.hero-compact h1::after {
    content: "";
    display: block;
    width: 96px;
    height: 3px;
    border-radius: 999px;
    margin: 0.5rem auto 0;
    background: linear-gradient(90deg, rgba(143, 63, 52, 0), rgba(143, 63, 52, 0.7), rgba(143, 63, 52, 0));
}

.hero.hero-compact .hero-subtitle {
    margin-bottom: 0;
    max-width: 40ch;
    font-size: clamp(1.02rem, 1.25vw, 1.22rem);
    line-height: 1.52;
}

body.faq-page .hero.hero-compact .container,
body.about-page .hero.hero-compact .container,
body.contact-page .hero.hero-compact .container,
body.shop-page .hero.hero-compact .container {
    justify-items: center;
    text-align: center;
    align-items: center;
}

body.faq-page .hero.hero-compact h1,
body.about-page .hero.hero-compact h1,
body.contact-page .hero.hero-compact h1,
body.shop-page .hero.hero-compact h1,
body.faq-page .hero.hero-compact .hero-subtitle,
body.about-page .hero.hero-compact .hero-subtitle,
body.contact-page .hero.hero-compact .hero-subtitle,
body.shop-page .hero.hero-compact .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.hero-image img {
    border-radius: 22px;
    border: 1px solid rgba(143, 63, 52, 0.15);
    box-shadow: 0 24px 56px rgba(47, 39, 34, 0.16);
}

.btn {
    border-radius: 999px;
    font-size: 0.83rem;
    letter-spacing: 0.075em;
    text-transform: uppercase;
    padding: 0.72rem 1.35rem;
    min-height: 42px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    box-shadow: 0 10px 24px rgba(143, 63, 52, 0.26);
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, var(--primary-dark), #5f241d);
    box-shadow: 0 14px 30px rgba(111, 44, 36, 0.32);
    transform: translateY(-2px);
}

.btn-secondary {
    border-color: rgba(143, 63, 52, 0.5);
    background: rgba(255, 255, 255, 0.7);
}

.hero-cta-priority .btn-primary {
    padding: 0.82rem 1.7rem;
    box-shadow: 0 14px 30px rgba(111, 44, 36, 0.34);
}

.hero-cta-priority .btn-primary:hover,
.hero-cta-priority .btn-primary:focus {
    box-shadow: 0 18px 36px rgba(111, 44, 36, 0.38);
}

.hero-cta-priority .hero-cta-secondary {
    padding: 0.64rem 1.08rem;
    min-height: 40px;
    font-size: 0.74rem;
    letter-spacing: 0.06em;
    border-color: rgba(143, 63, 52, 0.34);
    background: rgba(255, 255, 255, 0.46);
    color: #5f3d33;
    box-shadow: none;
}

.hero-cta-priority .hero-cta-secondary:hover,
.hero-cta-priority .hero-cta-secondary:focus {
    border-color: rgba(143, 63, 52, 0.5);
    background: rgba(255, 255, 255, 0.62);
    transform: translateY(-1px);
}

.features,
.how-it-works,
.testimonials,
.cta-section {
    position: relative;
    padding: clamp(3.1rem, 6vw, 5.75rem) 0;
}

.section-title {
    letter-spacing: -0.02em;
    position: relative;
    margin-bottom: clamp(1.8rem, 3.2vw, 2.75rem);
}

.section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -0.75rem;
    width: 76px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(143, 63, 52, 0), rgba(143, 63, 52, 0.85), rgba(143, 63, 52, 0));
}

.feature-card,
.step,
.product-card,
.testimonial,
.contact-form,
.contact-info {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 248, 239, 0.95));
    border: 1px solid rgba(196, 162, 125, 0.3);
    box-shadow: var(--shadow-sm);
    border-radius: var(--border-radius-lg);
    position: relative;
}

.feature-card:hover,
.step:hover,
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.feature-card h3,
.step h3,
.product-card h3 {
    line-height: 1.25;
}


.feature-image,
.step-image,
.product-image {
    border-radius: 14px;
}

.step {
    overflow: hidden;
}

.step::after,
.feature-card::after,
.product-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(143, 63, 52, 0), rgba(143, 63, 52, 0.55), rgba(143, 63, 52, 0));
    opacity: 0.45;
}

.step-number {
    background: linear-gradient(180deg, #b66856, #8f3f34);
    box-shadow: 0 6px 18px rgba(143, 63, 52, 0.35);
}

.step-note {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

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

.features-soft {
    background: linear-gradient(180deg, var(--bg-warm), rgba(255, 251, 245, 0.65));
}

.center-copy {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.lead-copy {
    font-size: clamp(1rem, 1.15vw, 1.12rem);
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.trust-strip {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(248, 242, 233, 0.82));
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--spacing-md);
}

.trust-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(196, 162, 125, 0.28);
    border-radius: 14px;
    padding: var(--spacing-md);
}

.trust-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(39, 25, 14, 0.09);
}

.trust-value {
    font-family: var(--font-headline-2);
    font-size: clamp(1.55rem, 2.6vw, 2.1rem);
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.trust-label {
    color: var(--text-secondary);
}

.story-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.story-media {
    display: flex;
    justify-content: center;
    align-items: center;
}

.story-image {
    width: min(100%, 560px);
    height: auto;
    border-radius: 20px;
    border: 1px solid rgba(143, 63, 52, 0.14);
    box-shadow: var(--shadow-md);
}

.story-copy {
    text-align: left;
}

.center-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.about-intro-copy {
    max-width: 54ch;
}

.about-intro-media {
    display: flex;
    justify-content: center;
}

.about-intro-image {
    width: min(100%, 500px);
    border-radius: 20px;
    border: 1px solid rgba(143, 63, 52, 0.16);
    box-shadow: var(--shadow-md);
}

.mission-rich {
    margin-top: var(--spacing-xl);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(250, 243, 233, 0.86));
    border: 1px solid rgba(196, 162, 125, 0.34);
    border-radius: 16px;
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
}

.mission-rich-copy h3 {
    margin-bottom: var(--spacing-xs);
}

.mission-rich-copy p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
}

.mission-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.45rem;
}

.mission-list li {
    position: relative;
    padding-left: 1.1rem;
    color: var(--text-secondary);
}

.mission-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 999px;
    background: var(--primary-color);
    transform: translateY(-50%);
}

.mission-rich-metrics {
    display: grid;
    gap: 0.55rem;
}

.mission-metric {
    border: 1px solid rgba(143, 63, 52, 0.2);
    border-radius: 12px;
    padding: 0.7rem 0.8rem;
    background: rgba(255, 255, 255, 0.78);
}

.mission-metric strong {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.92rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--primary-dark);
}

.mission-metric span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.product-card {
    overflow: hidden;
    position: relative;
}

/* Full-card clickable overlay — sits below interactive buttons */
.card-overlay-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    cursor: pointer;
}
.product-card .card-img-dots,
.product-card .product-actions {
    position: relative;
    z-index: 2;
}

.product-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    background: var(--bg-warm);
}

/* Desktop: taller product images for better visual presence */
@media (min-width: 768px) {
    .products-grid .product-image {
        height: 400px;
    }
    /* Bundle packshot — zoom in so the bag fills the frame */
    .products-grid [data-product-id="bundle-box"] .product-image {
        object-fit: cover;
        object-position: center 40%;
        transform: scale(1.22);
        transform-origin: center 40%;
    }
}

/* Detail pages often use source photos with extra edge padding; zoom slightly to crop cleaner. */
.product-detail-image {
    height: auto;
    max-height: min(72vh, 820px);
    object-fit: contain;
    object-position: center;
    display: block;
    transform: none;
    transform-origin: center;
}

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

.product-age {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--text-light);
    margin-bottom: var(--spacing-xs);
}

.product-price {
    font-size: clamp(1.45rem, 2.1vw, 1.85rem);
    font-weight: var(--font-weight-semibold);
    color: var(--primary-color);
    margin: var(--spacing-sm) 0;
}

.product-description {
    color: var(--text-secondary);
    margin: var(--spacing-sm) 0;
}

.product-benefits {
    list-style: none;
    margin: var(--spacing-sm) 0;
    padding: 0;
}

.product-benefits li {
    padding: var(--spacing-xs) 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.product-benefits li:before {
    content: "✓ ";
    color: var(--success-color);
    font-weight: var(--font-weight-semibold);
    margin-right: var(--spacing-xs);
}

.product-btn {
    width: 100%;
    min-height: 0;
    padding: 0.72rem 1.1rem;
    border-radius: 999px;
    font-size: 0.76rem;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.contact-section {
    padding: clamp(3.1rem, 6vw, 5.75rem) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
    align-items: start;
}

.contact-form,
.contact-info {
    padding: var(--spacing-lg);
}

.contact-form {
    position: relative;
    isolation: isolate;
}

.contact-form::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 5%, rgba(217, 178, 124, 0.18), transparent 40%);
    z-index: -1;
}

.contact-form h2,
.contact-info h3 {
    margin-bottom: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-size: 0.92rem;
    font-weight: var(--font-weight-medium);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.82rem 0.95rem;
    border: 1.6px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.82);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(143, 63, 52, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-item {
    margin-bottom: var(--spacing-md);
}

.contact-item strong {
    display: block;
    margin-bottom: var(--spacing-xs);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-size: 0.77rem;
    color: var(--text-light);
}

.faq-section {
    padding: clamp(3.1rem, 6vw, 5.75rem) 0;
}

.policy-list {
    max-width: 860px;
    margin: 0 auto;
    display: grid;
    gap: 0.8rem;
}

.policy-item {
    margin: 0;
    padding: 0.9rem 1rem;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(196, 162, 125, 0.26);
    border-radius: 12px;
}

.policy-item strong {
    color: var(--text-primary);
}

.faq-list {
    max-width: 920px;
    margin: 0 auto;
    display: grid;
    gap: 0.9rem;
}

.faq-item {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 239, 0.92));
    border: 1px solid rgba(196, 162, 125, 0.34);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 1rem 3rem 1rem 1.1rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    position: relative;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 1.05rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: transform var(--transition-fast);
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    padding: 0 1.1rem 1rem;
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.72;
}

.social-links-tight {
    margin-top: var(--spacing-xs);
}

.testimonials {
    background: linear-gradient(180deg, rgba(248, 242, 233, 0.9), rgba(255, 253, 248, 0.95));
}

.testimonial-avatar {
    border-color: rgba(143, 63, 52, 0.25);
}

.cta-section {
    background: linear-gradient(180deg, rgba(244, 236, 225, 0.9), rgba(255, 250, 243, 0.95));
}

.cta-section::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(143, 63, 52, 0), rgba(143, 63, 52, 0.6), rgba(143, 63, 52, 0));
}

/* ===== Botanical Shadow Overlays ===== */
/* Organic shadow effects inspired by natural leaf/branch shadow patterns */

/* Containment for shadow layers */
.testimonials,
.features-soft {
    position: relative;
    overflow: hidden;
}

/* Testimonials — top-right leaf shadow cluster */
.testimonials::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -60px;
    width: 55%;
    height: 85%;
    background:
        /* Branch-like elongated shadows */
        radial-gradient(ellipse 300px 36px at 30% 15%, rgba(100, 70, 45, 0.18) 0%, transparent 100%),
        radial-gradient(ellipse 250px 28px at 55% 26%, rgba(100, 70, 45, 0.14) 0%, transparent 100%),
        radial-gradient(ellipse 270px 32px at 20% 38%, rgba(100, 70, 45, 0.12) 0%, transparent 100%),
        /* Wider leaf-shaped blobs */
        radial-gradient(ellipse 140px 90px at 45% 20%, rgba(100, 70, 45, 0.12) 0%, transparent 100%),
        radial-gradient(ellipse 110px 70px at 65% 32%, rgba(100, 70, 45, 0.10) 0%, transparent 100%),
        radial-gradient(ellipse 90px 60px at 30% 48%, rgba(120, 85, 60, 0.08) 0%, transparent 100%);
    transform: rotate(-14deg);
    filter: blur(8px);
    pointer-events: none;
    z-index: 0;
}

/* Testimonials — bottom-left leaf shadow cluster */
.testimonials::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -50px;
    width: 48%;
    height: 75%;
    background:
        radial-gradient(ellipse 260px 30px at 45% 58%, rgba(100, 70, 45, 0.16) 0%, transparent 100%),
        radial-gradient(ellipse 210px 26px at 30% 72%, rgba(100, 70, 45, 0.12) 0%, transparent 100%),
        radial-gradient(ellipse 120px 75px at 55% 65%, rgba(100, 70, 45, 0.10) 0%, transparent 100%),
        radial-gradient(ellipse 90px 55px at 35% 80%, rgba(120, 85, 60, 0.08) 0%, transparent 100%);
    transform: rotate(11deg);
    filter: blur(8px);
    pointer-events: none;
    z-index: 0;
}

/* Features-soft (Why Bilingual) — right-side leaf shadows */
.features-soft::before {
    content: '';
    position: absolute;
    top: 5%;
    right: -40px;
    width: 48%;
    height: 95%;
    background:
        radial-gradient(ellipse 260px 32px at 40% 22%, rgba(100, 70, 45, 0.15) 0%, transparent 100%),
        radial-gradient(ellipse 200px 65px at 60% 42%, rgba(100, 70, 45, 0.10) 0%, transparent 100%),
        radial-gradient(ellipse 170px 38px at 30% 62%, rgba(120, 85, 60, 0.08) 0%, transparent 100%);
    transform: rotate(-10deg);
    filter: blur(10px);
    pointer-events: none;
    z-index: 0;
}

/* Features-soft — left-side leaf shadows */
.features-soft::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -35px;
    width: 40%;
    height: 70%;
    background:
        radial-gradient(ellipse 200px 28px at 40% 45%, rgba(100, 70, 45, 0.12) 0%, transparent 100%),
        radial-gradient(ellipse 140px 65px at 60% 65%, rgba(100, 70, 45, 0.08) 0%, transparent 100%);
    transform: rotate(14deg);
    filter: blur(10px);
    pointer-events: none;
    z-index: 0;
}

/* CTA section — left-side leaf shadows */
.cta-section::after {
    content: '';
    position: absolute;
    top: -20px;
    left: -40px;
    width: 45%;
    height: 100%;
    background:
        radial-gradient(ellipse 240px 30px at 38% 25%, rgba(100, 70, 45, 0.14) 0%, transparent 100%),
        radial-gradient(ellipse 180px 55px at 55% 48%, rgba(100, 70, 45, 0.10) 0%, transparent 100%),
        radial-gradient(ellipse 150px 68px at 28% 70%, rgba(120, 85, 60, 0.08) 0%, transparent 100%);
    transform: rotate(13deg);
    filter: blur(8px);
    pointer-events: none;
    z-index: 0;
}

/* Products section — top-right shadows */
.how-it-works::before {
    content: '';
    position: absolute;
    top: -25px;
    right: -35px;
    width: 42%;
    height: 55%;
    background:
        radial-gradient(ellipse 220px 28px at 48% 22%, rgba(100, 70, 45, 0.12) 0%, transparent 100%),
        radial-gradient(ellipse 110px 60px at 65% 40%, rgba(100, 70, 45, 0.08) 0%, transparent 100%);
    transform: rotate(-12deg);
    filter: blur(10px);
    pointer-events: none;
    z-index: 0;
}

.how-it-works {
    position: relative;
    overflow: hidden;
}

/* Hero section — botanical shadow layers in background */
.hero {
    background:
        /* Botanical shadow accents */
        radial-gradient(ellipse 350px 42px at 76% 20%, rgba(100, 70, 45, 0.12) 0%, transparent 100%),
        radial-gradient(ellipse 260px 35px at 84% 36%, rgba(100, 70, 45, 0.10) 0%, transparent 100%),
        radial-gradient(ellipse 180px 75px at 80% 28%, rgba(100, 70, 45, 0.08) 0%, transparent 100%),
        radial-gradient(ellipse 280px 38px at 10% 72%, rgba(100, 70, 45, 0.10) 0%, transparent 100%),
        radial-gradient(ellipse 130px 60px at 6% 65%, rgba(100, 70, 45, 0.07) 0%, transparent 100%),
        /* Original gradient */
        linear-gradient(150deg, rgba(244, 236, 225, 0.92) 0%, rgba(255, 253, 248, 0.96) 60%),
        var(--bg-warm);
}

/* Trust strip — subtle accent shadow */
.trust-strip {
    position: relative;
    overflow: hidden;
}

.trust-strip::before {
    content: '';
    position: absolute;
    top: -18px;
    left: -25px;
    width: 35%;
    height: 65%;
    background:
        radial-gradient(ellipse 180px 25px at 48% 28%, rgba(100, 70, 45, 0.10) 0%, transparent 100%),
        radial-gradient(ellipse 100px 50px at 62% 48%, rgba(100, 70, 45, 0.06) 0%, transparent 100%);
    transform: rotate(8deg);
    filter: blur(10px);
    pointer-events: none;
    z-index: 0;
}

/* ===== Decorative Botanical Accents ===== */
/* Small dots and organic shapes in brand colors at section edges */

/* Terracotta dot accents on testimonials */
.testimonials .container {
    position: relative;
    z-index: 1;
}

.testimonials .container::before {
    content: '';
    position: absolute;
    top: -14px;
    right: 6%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(161, 76, 61, 0.25);
    box-shadow:
        32px 22px 0 rgba(161, 76, 61, 0.18),
        -18px 40px 0 4px rgba(173, 138, 119, 0.14),
        52px 48px 0 2px rgba(161, 76, 61, 0.12);
    pointer-events: none;
}

/* Dot accents on features-soft */
.features-soft .container {
    position: relative;
    z-index: 1;
}

/* Dot accents on CTA section */
.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section .container::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 4%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(161, 76, 61, 0.20);
    box-shadow:
        26px -16px 0 rgba(173, 138, 119, 0.16),
        -12px -32px 0 3px rgba(161, 76, 61, 0.12);
    pointer-events: none;
}

/* Ensure content layers above shadow pseudo-elements */
.how-it-works .container,
.features .container {
    position: relative;
    z-index: 1;
}

/* ===== LUXURY POLISH LAYER ===== */
/* Elevates the entire design from "clean" to "premium artisanal" */

/* --- Gold accent color variable --- */
:root {
    --gold: #C6A96C;
    --gold-light: #D4BE8A;
    --gold-subtle: rgba(198, 169, 108, 0.15);
}

/* --- Subtle paper grain texture on all warm backgrounds --- */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.028;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
    mix-blend-mode: multiply;
}

/* --- Announcement banner: luxury upgrade --- */
.announcement-banner {
    background: transparent;
    color: var(--text-primary);
    letter-spacing: 0.03em;
    text-transform: none;
    font-size: 0.82rem;
    font-weight: 500;
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(198, 169, 108, 0.25);
}

/* --- Premium button refinement --- */
.btn {
    border-radius: 999px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.9rem 2.2rem;
}

.btn-primary {
    background: linear-gradient(160deg, #B85D4E 0%, var(--primary-color) 40%, #8A3D2F 100%);
    box-shadow:
        0 2px 8px rgba(161, 76, 61, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(160deg, #C06B5C 0%, #B85D4E 40%, var(--primary-color) 100%);
    box-shadow:
        0 8px 28px rgba(161, 76, 61, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-secondary {
    border: 1.5px solid var(--secondary-color);
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 6px 20px rgba(161, 76, 61, 0.2);
}

/* --- Hero image premium frame --- */
.hero-image img {
    border-radius: 16px;
    box-shadow:
        0 20px 60px rgba(80, 40, 20, 0.18),
        0 8px 24px rgba(80, 40, 20, 0.12);
    border: 3px solid rgba(198, 169, 108, 0.2);
}

/* --- Section dividers: elegant gold ornament --- */
.features,
.how-it-works,
.testimonials,
.features-soft,
.trust-strip {
    border-top: none;
}

.features::after,
.how-it-works::after,
.features-soft::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    filter: none;
    pointer-events: none;
    z-index: 1;
}

/* Gold accent line under section titles */
.section-title::after {
    background: linear-gradient(90deg, rgba(198, 169, 108, 0), var(--gold), rgba(198, 169, 108, 0)) !important;
    height: 2px !important;
    width: 50px !important;
}

/* --- Feature cards: luxury treatment --- */
.feature-card {
    border: 1px solid rgba(198, 169, 108, 0.18);
    box-shadow:
        0 2px 12px rgba(80, 40, 20, 0.04),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    border-radius: 16px;
    background: linear-gradient(180deg, #FFFFFF 0%, #FDFCFA 100%);
}

.feature-card:hover {
    box-shadow:
        0 12px 36px rgba(80, 40, 20, 0.10),
        0 0 0 1px rgba(198, 169, 108, 0.25);
    border-color: rgba(198, 169, 108, 0.3);
}

/* --- Product cards: premium treatment --- */
.product-card {
    border: 1px solid rgba(198, 169, 108, 0.15);
    border-radius: 16px;
    background: linear-gradient(180deg, #FFFFFF 0%, #FDFCFA 100%);
    box-shadow: 0 4px 20px rgba(80, 40, 20, 0.06);
}

.product-card:hover {
    box-shadow: 0 16px 48px rgba(80, 40, 20, 0.12);
    border-color: rgba(198, 169, 108, 0.3);
}

.product-image {
    border-radius: 12px 12px 0 0;
}

/* --- Step cards (Our Learning Toys): luxury --- */
.step {
    border: 1px solid rgba(198, 169, 108, 0.15);
    border-radius: 16px;
    background: linear-gradient(180deg, #FFFFFF 0%, #FDFCFA 100%);
    box-shadow: 0 4px 20px rgba(80, 40, 20, 0.06);
    overflow: hidden;
}

.step:hover {
    box-shadow: 0 16px 48px rgba(80, 40, 20, 0.12);
    border-color: rgba(198, 169, 108, 0.3);
}

.step-image {
    border-radius: 12px 12px 0 0;
}

/* Bundle box packshot — zoom in so the bag fills the frame (homepage desktop only) */
@media (min-width: 768px) {
    #products-scroll .step:first-child .step-image {
        object-fit: cover;
        object-position: center 40%;
        transform: scale(1.22);
        transform-origin: center 40%;
    }
}

/* --- Testimonials: luxury quote design --- */
.testimonial {
    border: 1px solid rgba(198, 169, 108, 0.2);
    border-radius: 16px;
    background: linear-gradient(180deg, #FFFFFF 0%, #FDFBF8 100%);
    box-shadow:
        0 4px 20px rgba(80, 40, 20, 0.05),
        0 0 0 1px rgba(255, 255, 255, 0.9) inset;
    position: relative;
    padding-top: 2.5rem;
}

/* Decorative quote mark */
.testimonial::before {
    content: '\201C';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    font-family: Georgia, 'Noto Serif', serif;
    font-size: 3.5rem;
    line-height: 1;
    color: var(--gold);
    opacity: 0.5;
    pointer-events: none;
}

.testimonial p {
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.7;
}

.testimonial cite {
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--primary-color);
}

/* --- Trust badges: premium upgrade --- */
.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border: 1px solid rgba(198, 169, 108, 0.2);
    border-radius: 16px;
    background: linear-gradient(180deg, #FFFFFF 0%, #FDFCFA 100%);
    box-shadow: 0 2px 12px rgba(80, 40, 20, 0.04);
    padding: 1.5rem 1rem;
}

.trust-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 0.6rem;
    border-radius: 50%;
    border: 1.5px solid rgba(143, 63, 52, 0.22);
    background: linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(248, 238, 228, 0.88));
    display: grid;
    place-items: center;
    box-shadow: 0 6px 16px rgba(143, 63, 52, 0.10);
}

.trust-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--primary-color);
    stroke-width: 1.8;
    fill: none;
}

.trust-value {
    font-size: 1.25rem;
    font-weight: 700;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: var(--primary-color);
    color: var(--primary-color);
    margin-bottom: 0;
}

.trust-label {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: max(13px, 0.78rem);
    font-weight: 600;
    color: var(--text-secondary, #5e5046);
}

/* --- CTA section: premium feel --- */
.cta-section {
    background:
        linear-gradient(180deg, rgba(244, 236, 225, 0.95) 0%, rgba(253, 249, 243, 0.98) 100%);
}

.cta-section h2 {
    letter-spacing: -0.02em;
}

.cta-section p {
    letter-spacing: 0.01em;
}

/* --- Navbar: refined --- */
.navbar-menu a {
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 600;
}

/* --- Hero eyebrow: gold accent --- */
.hero-eyebrow {
    border-color: rgba(198, 169, 108, 0.35) !important;
    color: var(--primary-color) !important;
    letter-spacing: 0.14em !important;
    font-size: 0.68rem !important;
}

/* --- Hero trust line refinement --- */
.hero-trust-line {
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.72rem !important;
}

/* --- Feature icon SVGs: gold accent ring --- */
.feature-icon-svg {
    border: 2px solid rgba(198, 169, 108, 0.25);
}

/* --- Footer: elevated --- */
.footer {
    background:
        radial-gradient(circle at 12% 88%, rgba(255, 255, 255, 0.08), transparent 42%),
        radial-gradient(circle at 88% 10%, rgba(255, 255, 255, 0.12), transparent 40%),
        linear-gradient(160deg, #6B4A3A 0%, #8B6B55 30%, #AD8A77 60%, #8B6B55 100%);
    border-top: 2px solid var(--gold);
}

/* --- Scroll progress: gold gradient --- */
.scroll-progress-fill {
    background: linear-gradient(90deg, var(--primary-color), var(--gold), var(--accent-green));
}

/* ===== END LUXURY POLISH ===== */

.footer-section a,
.footer-bottom {
    color: rgba(255, 255, 255, 0.76);
}

.footer-section a:hover,
.footer-section a:focus {
    color: #fff2de;
}

.fade-in {
    animation: revealUp 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-card:nth-child(1),
.step:nth-child(1),
.testimonial:nth-child(1) {
    animation-delay: 0.04s;
}

.feature-card:nth-child(2),
.step:nth-child(2),
.testimonial:nth-child(2) {
    animation-delay: 0.12s;
}

.feature-card:nth-child(3),
.step:nth-child(3),
.testimonial:nth-child(3) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(4),
.feature-card:nth-child(5),
.feature-card:nth-child(6) {
    animation-delay: 0.26s;
}

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

@media (min-width: 768px) {
    .btn {
        padding: 0.8rem 1.65rem;
        font-size: 0.85rem;
    }

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

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

    .trust-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

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

    .about-intro-grid {
        grid-template-columns: 1.05fr 0.95fr;
    }

    .mission-rich {
        grid-template-columns: 1.2fr 0.8fr;
        align-items: start;
    }
}

@media (max-width: 1180px) {
    .brand-logo {
        height: 62px;
        max-width: min(46vw, 300px);
    }

    .navbar-menu a {
        font-size: 0.69rem;
        letter-spacing: 0.075em;
        padding: 0.34rem 0.6rem;
    }

    .navbar-menu .nav-signin-link {
        min-height: 34px;
        padding: 0.3rem 0.62rem;
    }
}

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

@media (max-width: 767px) {
    .section-title::after {
        width: 58px;
    }

    .navbar .container {
        min-height: 74px;
        justify-content: flex-start;
        padding-left: 0.55rem;
        padding-right: 3.2rem;
    }

    .brand-logo {
        height: 54px;
        max-width: min(62vw, 250px);
    }

    .mobile-menu-toggle {
        position: absolute;
        right: 0.7rem;
        top: 50%;
        transform: translateY(-50%);
    }

    .navbar-menu {
        padding: 0.75rem 1rem;
        gap: 0.35rem;
    }

    .navbar-menu a {
        font-size: 0.72rem;
        padding: 0.38rem 0.64rem;
    }

    .header-cart-corner {
        display: none;
    }

    .navbar-menu .nav-signin-link {
        padding: 0.34rem 0.68rem;
        font-size: 0.67rem;
        min-height: 36px;
    }

    .product-detail-image {
        height: auto;
        max-height: 58vh;
        transform: none;
    }

    .hero {
        padding: 1.9rem 0 2.2rem;
    }

    .hero.hero-compact {
        padding: 1.05rem 0 1.15rem;
    }

    .about-intro-image {
        width: min(100%, 360px);
        border-radius: 16px;
    }

    .hero .container {
        gap: 1.1rem;
    }

    .hero-content h1 {
        font-size: clamp(1.9rem, 8vw, 2.4rem);
        max-width: 14ch;
    }

    .hero-subtitle {
        font-size: 0.98rem;
        line-height: 1.62;
        margin-bottom: 1rem;
        max-width: 34ch;
    }

    .hero.hero-compact .container {
        gap: 0.3rem;
    }

    .hero.hero-compact h1 {
        margin-bottom: 0.2rem;
        max-width: 14ch;
    }

    .hero.hero-compact h1::after {
        width: 72px;
        margin-top: 0.4rem;
    }

    .hero.hero-compact .hero-subtitle {
        max-width: 32ch;
        font-size: 0.96rem;
        line-height: 1.5;
    }

    .hero-cta {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.55rem;
    }

    .hero-cta .btn {
        min-width: 0;
        padding: 0.68rem 1.1rem;
    }

    .hero-image img {
        border-radius: 16px;
        box-shadow: 0 16px 32px rgba(47, 39, 34, 0.14);
    }

    .footer {
        padding: 2rem 0 1.25rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem 1.2rem;
        margin-bottom: 1.15rem;
    }

    .footer-section h3,
    .footer-section h4 {
        font-size: 0.98rem;
        margin-bottom: 0.4rem;
    }

    .footer-section p,
    .footer-section a {
        font-size: 0.88rem;
        line-height: 1.58;
    }

    .footer-section ul li {
        margin-bottom: 0.2rem;
    }

    .newsletter-form {
        grid-column: 1 / -1;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
    }

    .newsletter-form .btn {
        width: 100%;
        min-width: 0;
    }

    .footer-bottom {
        padding-top: 1rem;
        font-size: 0.8rem;
    }

    .faq-item summary {
        font-size: 0.98rem;
        padding: 0.9rem 2.5rem 0.9rem 0.95rem;
    }

    .faq-item p {
        font-size: 0.94rem;
        padding: 0 0.95rem 0.9rem;
    }

    .policy-list {
        gap: 0.65rem;
    }

    .policy-item {
        font-size: 0.95rem;
        line-height: 1.55;
        padding: 0.75rem 0.85rem;
    }

    .mission-rich {
        padding: 0.95rem;
        margin-top: var(--spacing-lg);
    }

    .offer-teaser {
        left: 0.75rem;
        bottom: 0.6rem;
    }

    .offer-teaser-close {
        width: 28px;
        height: 28px;
        font-size: 1.1rem;
        transform: translateX(6px);
    }

    .offer-teaser-card {
        min-width: 150px;
        min-height: 48px;
        border-radius: 14px;
        padding: 0.5rem 0.75rem;
    }

    .offer-teaser-card span {
        font-size: 1rem;
    }

    .offer-modal {
        padding: 0.8rem;
    }

    .offer-modal-dialog {
        max-height: 92vh;
        overflow-y: auto;
    }

    .offer-modal-content h2 {
        font-size: 2.2rem;
    }

    .offer-form input,
    .offer-form select {
        font-size: 1.1rem;
    }

    .cart-drawer-panel {
        min-height: 58vh;
        padding: 1.6rem 1rem;
    }

    .cart-empty-icon svg {
        width: 64px;
        height: 64px;
    }

    .cart-drawer-panel h2 {
        font-size: clamp(1.7rem, 7vw, 2.2rem);
    }

    .cart-drawer-shop {
        min-width: 92%;
    }

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

    .cart-item-controls {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .cart-coupon-row {
        grid-template-columns: 1fr;
    }

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

    .product-actions {
        grid-template-columns: 1fr;
    }

    .signin-modal-dialog {
        width: min(620px, 96vw);
        padding: 2.45rem 1rem 1.2rem;
    }

    .signin-close {
        top: 0.75rem;
        right: 0.75rem;
    }

    .signin-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .auth-grid-2,
    .auth-grid-3 {
        grid-template-columns: 1fr;
    }

    .create-account-form {
        max-height: min(62vh, 500px);
    }

    /* Botanical shadows — reduce on mobile for performance & clarity */
    .testimonials::before,
    .testimonials::after,
    .features-soft::before,
    .features-soft::after,
    .cta-section::after,
    .how-it-works::before,
    .trust-strip::before {
        opacity: 0.5;
    }

    .testimonials .container::before,
    .cta-section .container::after {
        display: none;
    }

}

/* ===== PREMIUM ANIMATION SYSTEM ===== */

/* --- Scroll Progress Bar --- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 9999;
    pointer-events: none;
}

.scroll-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-green));
    transform-origin: left;
    will-change: width;
    transition: none;
}

/* CSS-native scroll progress (modern browsers) */
@supports (animation-timeline: scroll()) {
    .scroll-progress-fill {
        width: 100%;
        animation: scrollProgress linear;
        animation-timeline: scroll();
    }

    @keyframes scrollProgress {
        from { transform: scaleX(0); }
        to { transform: scaleX(1); }
    }
}

/* --- Hero Entrance Keyframes --- */
@keyframes heroFadeDown {
    from { opacity: 0; transform: translateY(-18px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes heroBounceIn {
    0% { opacity: 0; transform: translateY(22px) scale(0.92); }
    60% { opacity: 1; transform: translateY(-4px) scale(1.02); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes heroImageReveal {
    from { opacity: 0; transform: scale(1.06); }
    to { opacity: 1; transform: scale(1); }
}

/* Hero entrance — initial hidden state */
.hero-split .hero-eyebrow,
.hero-split h1,
.hero-split .hero-subtitle,
.hero-split .hero-cta,
.hero-split .hero-trust-line,
.hero-split .hero-image {
    opacity: 0;
}

/* Hero entrance — animate when loaded */
.hero-loaded .hero-eyebrow {
    animation: heroFadeDown 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}

.hero-loaded h1 {
    animation: heroFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.25s forwards;
}

.hero-loaded .hero-subtitle {
    animation: heroFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}

.hero-loaded .hero-cta {
    animation: heroBounceIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.7s forwards;
}

.hero-loaded .hero-trust-line {
    animation: heroFadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.95s forwards;
}

.hero-loaded .hero-image {
    animation: heroImageReveal 1s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards;
}

/* --- Squishy / Elastic Button Micro-Interactions --- */
.btn {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                background-color 0.25s ease,
                color 0.25s ease,
                border-color 0.25s ease;
    will-change: transform;
}

.btn-primary:hover,
.btn-primary:focus {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 8px 24px rgba(161, 76, 61, 0.28);
}

.btn-primary:active {
    transform: scaleX(0.95) scaleY(1.05);
    box-shadow: 0 2px 8px rgba(161, 76, 61, 0.18);
    transition-duration: 0.1s;
}

.btn-secondary:hover,
.btn-secondary:focus {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 20px rgba(161, 76, 61, 0.15);
}

.btn-secondary:active {
    transform: scaleX(0.96) scaleY(1.04);
    transition-duration: 0.1s;
}

/* Add-to-Cart success animation */
.btn-cart-success {
    position: relative;
    overflow: hidden;
}

.btn-cart-success .btn-text {
    display: inline-block;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.25s ease;
}

.btn-cart-success.is-added .btn-text {
    transform: translateY(-120%);
    opacity: 0;
}

.btn-cart-success .btn-success-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(120%);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.25s ease;
}

.btn-cart-success.is-added .btn-success-text {
    transform: translateY(0);
    opacity: 1;
}

/* --- Split-Text Word Reveal --- */
.section-title .word {
    display: inline-block;
    overflow: hidden;
    padding: 0.15em 0.03em;
    margin: -0.15em -0.03em;
}

.section-title .word-inner {
    display: inline-block;
    transform: translateY(105%);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.5s ease;
    transition-delay: calc(var(--word-i, 0) * 0.07s);
}

.section-title.revealed .word-inner {
    transform: translateY(0);
    opacity: 1;
}

/* --- Enhanced Scroll Reveal Directions --- */
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-scale {
    opacity: 0;
    will-change: transform, opacity;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.6s ease;
}

.reveal-up { transform: translateY(40px); }
.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) scale(1);
}

/* Stagger children in grids */
.stagger-children > *:nth-child(1) { transition-delay: 0s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.08s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.16s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.24s; }

/* --- Product Card 3D Tilt --- */
.tilt-card {
    transform-style: preserve-3d;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.4s ease;
    will-change: transform;
}

.tilt-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.tilt-shine {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(
        circle at var(--shine-x, 50%) var(--shine-y, 50%),
        rgba(255, 255, 255, 0.18) 0%,
        transparent 60%
    );
    transition: opacity 0.4s ease;
    z-index: 2;
}

.tilt-card:hover .tilt-shine {
    opacity: 1;
}

/* --- Animated Number Counters --- */
.trust-value {
    font-variant-numeric: tabular-nums;
}

.trust-value.counting {
    transition: none;
}

/* --- Magnetic Button Effect --- */
.magnetic-wrap {
    display: inline-block;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

/* --- Hero Parallax Light --- */
.hero-image.parallax-active img {
    transition: transform 0.1s linear;
    will-change: transform;
}

/* ===== MOBILE ANIMATION OVERRIDES ===== */
@media (max-width: 767px) {
    /* Faster hero entrance on mobile */
    .hero-loaded .hero-eyebrow { animation-delay: 0.05s; animation-duration: 0.5s; }
    .hero-loaded h1 { animation-delay: 0.15s; animation-duration: 0.6s; }
    .hero-loaded .hero-subtitle { animation-delay: 0.35s; animation-duration: 0.5s; }
    .hero-loaded .hero-cta { animation-delay: 0.5s; animation-duration: 0.6s; }
    .hero-loaded .hero-trust-line { animation-delay: 0.65s; animation-duration: 0.5s; }
    .hero-loaded .hero-image { animation-delay: 0.2s; animation-duration: 0.7s; }

    /* Reduce reveal distances on mobile */
    .reveal-up { transform: translateY(24px); }
    .reveal-left { transform: translateX(-28px); }
    .reveal-right { transform: translateX(28px); }

    /* Simplify card effects */
    .tilt-card { transform-style: flat !important; }
    .tilt-shine { display: none; }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hero-split .hero-eyebrow,
    .hero-split h1,
    .hero-split .hero-subtitle,
    .hero-split .hero-cta,
    .hero-split .hero-trust-line,
    .hero-split .hero-image {
        opacity: 1 !important;
    }

    .section-title .word-inner {
        transform: none !important;
        opacity: 1 !important;
    }

    .reveal-up, .reveal-left, .reveal-right, .reveal-scale {
        opacity: 1 !important;
        transform: none !important;
    }

    .scroll-progress { display: none; }
}

/* ========== Chitti Chat Widget ========== */

/* Floating Action Button */
.chat-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1250;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: var(--primary-color);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(161, 76, 61, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.chat-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(161, 76, 61, 0.45);
    background: var(--primary-dark);
}

.chat-fab-icon { display: block; }
.chat-fab-icon--close { display: none; }
.chat-fab.is-active .chat-fab-icon--chat { display: none; }
.chat-fab.is-active .chat-fab-icon--close { display: block; }

/* Chat Panel */
.chat-panel {
    position: fixed;
    bottom: 92px;
    right: 24px;
    z-index: 1300;
    width: 360px;
    height: 480px;
    background: var(--bg-primary);
    border-radius: 20px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(16px) scale(0.96);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.chat-panel.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Panel Header */
.chat-panel-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--primary-color);
    color: #fff;
}

.chat-panel-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-headline-1);
    font-weight: var(--font-weight-bold);
    font-size: 18px;
    flex-shrink: 0;
}

.chat-panel-name {
    font-family: var(--font-headline-1);
    font-weight: var(--font-weight-semibold);
    font-size: 16px;
    line-height: 1.2;
}

.chat-panel-status {
    font-size: 12px;
    opacity: 0.85;
}

.chat-panel-close {
    margin-left: auto;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
    opacity: 0.8;
    transition: opacity 0.15s;
}

.chat-panel-close:hover { opacity: 1; }

/* Messages Area */
.chat-panel-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--bg-warm);
}

.chat-msg {
    display: flex;
    max-width: 85%;
}

.chat-msg--bot { align-self: flex-start; }
.chat-msg--user { align-self: flex-end; }

.chat-msg-bubble {
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.45;
    font-family: var(--font-body);
    font-weight: var(--font-weight-regular);
}

.chat-msg--bot .chat-msg-bubble {
    background: #fff;
    color: var(--text-primary);
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.chat-msg--user .chat-msg-bubble {
    background: var(--primary-color);
    color: #fff;
    border-bottom-right-radius: 4px;
}

/* Typing Indicator */
.chat-typing .chat-msg-bubble {
    display: flex;
    gap: 4px;
    align-items: center;
    padding: 12px 18px;
}

.chat-typing-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--text-light);
    animation: chatBounce 1.2s infinite;
}

.chat-typing-dot:nth-child(2) { animation-delay: 0.15s; }
.chat-typing-dot:nth-child(3) { animation-delay: 0.3s; }

@keyframes chatBounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-6px); }
}

/* Input Area */
.chat-panel-input {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid var(--border-light);
    background: var(--bg-primary);
}

.chat-panel-input input {
    flex: 1;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    padding: 10px 16px;
    font-size: 14px;
    font-family: var(--font-body);
    font-weight: var(--font-weight-regular);
    outline: none;
    transition: border-color 0.2s;
}

.chat-panel-input input:focus {
    border-color: var(--primary-color);
}

.chat-send-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: var(--primary-color);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
}

.chat-send-btn:hover { background: var(--primary-dark); }

/* Mobile Responsive */
@media (max-width: 480px) {
    .chat-panel {
        width: calc(100vw - 32px);
        right: 16px;
        bottom: 84px;
        height: 60vh;
    }
    .chat-fab {
        right: 16px;
        bottom: 16px;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .mobile-menu-toggle,
    .hero-cta,
    .cta-section,
    .chat-fab,
    .chat-panel {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    a {
        text-decoration: underline;
    }
}

/* ============================================================
   PRE-ORDER STYLES
   ============================================================ */

/* Inline pre-order blurb on product detail pages */
.preorder-note {
    font-size: 0.85rem;
    color: var(--accent-teal);
    background: #EEF4F6;
    border-left: 3px solid var(--accent-teal);
    border-radius: 4px;
    padding: 0.65rem 0.9rem;
    margin-top: 0.75rem;
    margin-bottom: 0;
    line-height: 1.5;
    width: 100%;
}

.preorder-note a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Shop page top info banner */
.preorder-info-banner {
    background: var(--bg-warm);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 0.85rem 0;
}

.preorder-info-note {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
    margin: 0;
    line-height: 1.6;
}

/* FAQ pre-order/reservation entries — subtle highlight */
.faq-item--preorder > summary {
    color: var(--accent-teal);
}

/* ✦ bullet on ALL faq items */
.faq-item > summary::before {
    content: "✦ ";
}

/* Hide offer popup — removed from site */
.offer-teaser,
.offer-modal,
.offer-teaser-visible {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Price note under product prices */
.price-note {
    font-size: 0.78rem;
    color: var(--accent-teal);
    margin: 0.1rem 0 0.5rem;
    font-style: italic;
}

/* hero reserve tagline */
.hero-reserve-tagline {
    font-size: 0.88rem;
    color: var(--accent-teal);
    margin-top: -0.25rem;
    margin-bottom: 0.5rem;
    font-style: italic;
}

/* ============================================================
   RESERVATION MODAL
   ============================================================ */

.reservation-modal {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.reservation-modal[hidden] {
    display: none;
}

.res-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(44, 44, 44, 0.55);
    cursor: pointer;
}

.res-panel {
    position: relative;
    background: var(--bg-primary);
    border-radius: 16px;
    width: 100%;
    max-width: 460px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem 2rem 1.75rem;
    box-shadow: 0 20px 60px rgba(44,44,44,0.18);
    animation: resPanelIn 0.22s ease;
}

@keyframes resPanelIn {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.res-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: color 0.15s, background 0.15s;
}

.res-close:hover,
.res-close:focus {
    color: var(--primary-color);
    background: var(--bg-warm);
}

/* --- Form View --- */
.res-header {
    margin-bottom: 1.5rem;
}

.res-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent-teal);
    background: #EEF4F6;
    border-radius: 20px;
    padding: 0.3rem 0.75rem;
    margin-bottom: 0.75rem;
}

.res-header h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin: 0 0 0.4rem;
    line-height: 1.25;
}

.res-sub {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.res-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.res-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.res-field label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.res-field label span[aria-hidden] {
    color: var(--primary-color);
}

.res-field input,
.res-field select {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
}

.res-field input:focus,
.res-field select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(161, 76, 61, 0.12);
}

.res-product-readonly {
    background: var(--bg-warm) !important;
    color: var(--text-secondary) !important;
    cursor: default;
}

.res-field--qty {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
}

.res-field--qty label {
    min-width: 70px;
    margin: 0;
}

.res-field--qty select {
    width: auto;
    min-width: 80px;
}

.res-error {
    font-size: 0.85rem;
    color: var(--error-color);
    background: #FEF2F2;
    border-left: 3px solid var(--error-color);
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    margin: 0;
}

.res-submit-btn {
    width: 100%;
    padding: 0.85rem;
    font-size: 1rem;
    font-weight: 700;
    margin-top: 0.25rem;
}

.res-fine-print {
    font-size: 0.78rem;
    color: var(--text-light);
    text-align: center;
    margin: 0;
    line-height: 1.5;
}

.res-fine-print a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* --- Confirm View --- */
.res-confirm-view {
    text-align: center;
    padding: 1rem 0 0.5rem;
}

.res-confirm-icon {
    font-size: 3.5rem;
    line-height: 1;
    margin-bottom: 1rem;
}

.res-confirm-view h2 {
    font-size: 1.6rem;
    color: var(--text-primary);
    margin: 0 0 0.75rem;
}

.res-confirm-msg {
    font-size: 0.95rem;
    color: var(--text-secondary);
    background: var(--bg-warm);
    border-radius: 8px;
    padding: 0.85rem 1rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.res-confirm-sub {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.res-confirm-view .btn {
    min-width: 140px;
}

@media (max-width: 480px) {
    .res-panel {
        padding: 1.5rem 1.25rem 1.25rem;
        border-radius: 12px;
        max-height: 95vh;
    }

    .res-header h2 {
        font-size: 1.25rem;
    }
}

/* ============================================================
   Legal / Privacy Policy Page
   ============================================================ */

.legal-content {
    max-width: 760px;
    margin: 0 auto;
    padding: var(--spacing-lg) 0 var(--spacing-xl);
}

.legal-content h2 {
    font-family: var(--font-headline-1);
    font-size: clamp(1.1rem, 1.8vw, 1.35rem);
    color: var(--primary-dark);
    margin-top: 2.5rem;
    margin-bottom: 0.6rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid rgba(143, 63, 52, 0.15);
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content p {
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.legal-content ul {
    color: var(--text-secondary);
    line-height: 1.75;
    margin: 0.5rem 0 1rem 1.5rem;
    padding: 0;
}

.legal-content ul li {
    margin-bottom: 0.4rem;
}

.legal-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

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


/* ============================================================
   Site Top Bar — sticky wrapper for announcement + header
   Fixes the "floating island" look on iPhone while scrolling
   ============================================================ */
.site-top-bar {
    position: sticky;
    top: 0;
    z-index: 1000;
    /* Extend flush under iPhone notch/status bar */
    padding-top: env(safe-area-inset-top, 0px);
    background: var(--bg-primary);
}

.site-top-bar .announcement-banner {
    position: static;
    animation: none;
}

.site-top-bar .header {
    position: static;
    z-index: auto;
    border-bottom: 1px solid var(--border-light);
    /* Safari fix: prevent sub-pixel gap */
    transform: translateZ(0);
}

/* ============================================================
   LUXURY MOBILE PREMIUM UPGRADE
   $100K Agency-Level Mobile Experience
   Targets: ≤ 767px — app-like, editorial, tactile
   ============================================================ */
@media (max-width: 767px) {

/* === 1. FROSTED GLASS HEADER === */
.site-top-bar .header,
.header {
    backdrop-filter: blur(24px) saturate(1.5) !important;
    -webkit-backdrop-filter: blur(24px) saturate(1.5) !important;
    background-color: rgba(255, 255, 255, 0.88) !important;
}

/* === 2. HERO — image-first editorial layout === */
.hero .container {
    flex-direction: column !important;
    gap: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
}

.hero-image {
    order: -1 !important;
    width: 100% !important;
    padding: 0 1rem !important;
    margin-top: 1.25rem !important;
}

.hero-image img {
    width: 100% !important;
    border-radius: 2rem !important;
    max-height: 64vw !important;
    object-fit: cover !important;
    object-position: center 18% !important;
    box-shadow: 0 8px 32px rgba(47, 27, 19, 0.18) !important;
    display: block !important;
}

.hero-content {
    padding: 1.5rem 1.25rem 2rem !important;
}

/* === 3. FEATURES — horizontal snap-scroll carousel === */
.features-grid {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    gap: 0.9rem !important;
    padding: 0.25rem 1.25rem 1rem !important;
    mask-image: linear-gradient(to right, black 88%, transparent 100%) !important;
    -webkit-mask-image: linear-gradient(to right, black 88%, transparent 100%) !important;
}

.features-grid::-webkit-scrollbar { display: none !important; }

.feature-card {
    flex: 0 0 72vw !important;
    scroll-snap-align: start !important;
    text-align: left !important;
}

.feature-icon-svg {
    display: grid !important;
    align-self: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* === 4. PRODUCTS — horizontal snap-scroll with price badges === */
.steps {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    gap: 0.9rem !important;
    padding: 0.25rem 1.25rem 1rem !important;
    mask-image: linear-gradient(to right, black 88%, transparent 100%) !important;
    -webkit-mask-image: linear-gradient(to right, black 88%, transparent 100%) !important;
}

.steps::-webkit-scrollbar { display: none !important; }

.step {
    flex: 0 0 68vw !important;
    scroll-snap-align: start !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Floating price badge */
.step[data-price]::after {
    content: attr(data-price) !important;
    position: absolute !important;
    top: 0.75rem !important;
    right: 0.75rem !important;
    background: var(--primary-color, #A14C3D) !important;
    color: #fff !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    padding: 0.28rem 0.7rem !important;
    border-radius: 999px !important;
}

/* === 5. SCROLL DOTS === */
.scroll-dots {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 6px !important;
    margin-top: 0.75rem !important;
}

.scroll-dot {
    width: 6px !important;
    height: 6px !important;
    border-radius: 999px !important;
    background: rgba(47, 27, 19, 0.2) !important;
    transition: width 0.3s ease, background 0.3s ease !important;
    cursor: pointer !important;
}

.scroll-dot.active {
    width: 18px !important;
    background: var(--primary-color) !important;
}

/* === 6. STICKY RESERVE BAR — frosted glass === */
.mobile-reserve-bar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0.8rem 1.25rem !important;
    padding-bottom: max(0.8rem, env(safe-area-inset-bottom, 0.8rem)) !important;
    background: rgba(255, 252, 248, 0.92) !important;
    backdrop-filter: blur(20px) saturate(1.5) !important;
    -webkit-backdrop-filter: blur(20px) saturate(1.5) !important;
    box-shadow: 0 -4px 24px rgba(47, 27, 19, 0.08) !important;
    border-top: 1px solid rgba(198, 169, 108, 0.2) !important;
}

.mobile-reserve-bar-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.15rem !important;
}

.mobile-reserve-bar-title {
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
    margin: 0 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
}

.mobile-reserve-bar-sub {
    font-size: 0.72rem !important;
    color: var(--text-secondary) !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
}

.mobile-reserve-bar-dot {
    display: inline-block !important;
    width: 7px !important;
    height: 7px !important;
    border-radius: 50% !important;
    background: #22c55e !important;
    flex-shrink: 0 !important;
    animation: dotPulse 2s ease-in-out infinite !important;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.6; transform: scale(1.3); }
}

.mobile-reserve-bar-btn {
    background: var(--primary-color) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 999px !important;
    padding: 0.65rem 1.4rem !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    transition: transform 0.15s ease !important;
}

.mobile-reserve-bar-btn:active {
    transform: scale(0.97) !important;
}

/* Space for sticky bar at bottom */
body.has-mobile-pill {
    padding-bottom: 84px !important;
}

} /* end @media (max-width: 767px) */

/* ============================================================
   MOBILE POLISH — Hero sizing + Product card 100k treatment
   ============================================================ */
@media (max-width: 767px) {

/* --- Hero: bigger, more dramatic, fashion-app scale --- */
.hero-image {
    padding: 0 0.7rem !important;
    margin-top: 0.9rem !important;
}

.hero-image img {
    max-height: 84vw !important;
    border-radius: 1.6rem !important;
    object-position: center 12% !important;
    box-shadow: 0 12px 40px rgba(47, 27, 19, 0.22) !important;
}

/* Gold accent line between image and text */
.hero-content {
    padding: 1.2rem 1.25rem 2rem !important;
    position: relative !important;
}
.hero-content::before {
    content: '' !important;
    display: block !important;
    width: 2.2rem !important;
    height: 2px !important;
    background: #C6A96C !important;
    border-radius: 999px !important;
    margin-bottom: 1rem !important;
}

/* --- Product cards: image-first, edge-to-edge, zero padding --- */
.step {
    padding: 0 !important;
}

.step-image {
    height: 185px !important;
    border-radius: 0 !important;
    margin: 0 0 0 0 !important;
    width: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

/* Hide the inline "Ages 1-4 • $74.99" text — badge covers price */
.step > p:not(.step-note) {
    display: none !important;
}

/* Product title inside card */
.step h3 {
    padding: 0.85rem 0.9rem 0.2rem !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
    line-height: 1.3 !important;
    margin: 0 !important;
}

/* Product note inside card */
.step .step-note {
    padding: 0 0.9rem 0.85rem !important;
    font-size: 0.73rem !important;
    color: var(--text-secondary) !important;
    line-height: 1.45 !important;
    margin: 0 !important;
}

/* Price badge: make it more visible */
.step[data-price]::after {
    top: 0.65rem !important;
    right: 0.65rem !important;
    font-size: 0.8rem !important;
    padding: 0.32rem 0.75rem !important;
    letter-spacing: 0.02em !important;
}

} /* end polish */

/* ============================================================
   PRODUCTS: 2-column grid on mobile (not horizontal scroll)
   ============================================================ */
@media (max-width: 767px) {

.steps {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    scroll-snap-type: none !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
    gap: 0.65rem !important;
    padding: 0 0.85rem 0.5rem !important;
    flex-direction: unset !important;
}

/* Cards: no individual flex sizing */
.step {
    flex: none !important;
    width: auto !important;
    min-width: 0 !important;
}

/* Image: taller crop */
.step-image {
    height: 160px !important;
}

/* Price text: remove red, style clean */
.step > p:not(.step-note) {
    display: block !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
    letter-spacing: 0.01em !important;
    padding: 0 0.75rem 0 !important;
    margin: 0.1rem 0 0 !important;
}

/* Price badge: top-right corner over image */
.step[data-price]::after {
    top: 0.5rem !important;
    right: 0.5rem !important;
    left: auto !important;
    font-size: 0.7rem !important;
    padding: 0.25rem 0.6rem !important;
}

/* Title: tighter for 2-col */
.step h3 {
    font-size: 0.8rem !important;
    padding: 0.7rem 0.75rem 0.15rem !important;
    line-height: 1.25 !important;
}

/* Description: smaller for 2-col */
.step .step-note {
    font-size: 0.68rem !important;
    padding: 0 0.75rem 0.75rem !important;
    line-height: 1.4 !important;
}

/* Hide scroll dots for products (no longer a carousel) */
.how-it-works .container .scroll-dots {
    display: none !important;
}

} /* end grid fix */

/* ============================================================
   PRODUCTS: Match features horizontal scroll, terracotta price
   ============================================================ */
@media (max-width: 767px) {

/* Revert to horizontal scroll — same as features carousel */
.steps {
    display: flex !important;
    flex-direction: row !important;
    grid-template-columns: unset !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    gap: 0.9rem !important;
    padding: 0.25rem 1.25rem 1rem !important;
    mask-image: linear-gradient(to right, black 88%, transparent 100%) !important;
    -webkit-mask-image: linear-gradient(to right, black 88%, transparent 100%) !important;
}

.steps::-webkit-scrollbar { display: none !important; }

.step {
    flex: 0 0 72vw !important;
    scroll-snap-align: start !important;
    width: auto !important;
}

/* Image: good tall crop */
.step-image {
    height: 200px !important;
    border-radius: 0 !important;
    margin: 0 !important;
}

/* Price text: brand terracotta, premium weight */
.step > p:not(.step-note) {
    display: block !important;
    color: var(--primary-color) !important;
    font-size: 0.74rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    padding: 0 0.9rem !important;
    margin: 0.15rem 0 0 !important;
}

/* Hide scroll dots for products — SEE ALL TOYS button suffices */
.how-it-works .container .scroll-dots {
    display: none !important;
}

} /* end scroll fix */

/* ============================================================
   MOBILE FONT SIZE FIX — readable, premium sizing
   ============================================================ */
@media (max-width: 767px) {

/* Product card title */
.step h3 {
    font-size: 1rem !important;
    line-height: 1.3 !important;
}

/* Price text — Ages / price line */
.step > p:not(.step-note) {
    font-size: 0.88rem !important;
}

/* Product description */
.step .step-note {
    font-size: 0.82rem !important;
    line-height: 1.5 !important;
}

/* Price badge on image */
.step[data-price]::after {
    font-size: 0.82rem !important;
    padding: 0.3rem 0.75rem !important;
}

/* Feature card title */
.feature-card h3 {
    font-size: 1.05rem !important;
}

/* Feature card body text */
.feature-card p {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
}

/* Reserve bar title */
.mobile-reserve-bar-title {
    font-size: 0.88rem !important;
}

/* Reserve bar sub-line */
.mobile-reserve-bar-sub {
    font-size: 0.78rem !important;
}

/* Reserve bar button */
.mobile-reserve-bar-btn {
    font-size: 0.88rem !important;
}

} /* end font fix */

/* ============================================================
   MOBILE: Force-show all reveal animations inside carousels
   (IntersectionObserver doesn't fire inside overflow:hidden scroll)
   ============================================================ */
@media (max-width: 767px) {

.features-grid .reveal-up,
.features-grid .reveal-left,
.features-grid .reveal-right,
.features-grid .reveal-scale,
.steps .reveal-up,
.steps .reveal-left,
.steps .reveal-right,
.steps .reveal-scale,
.stagger-children-carousel .reveal-up,
.stagger-children-carousel .reveal-left,
.stagger-children-carousel .reveal-right,
.stagger-children-carousel .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

} /* end reveal fix */

/* ============================================================
   MOBILE SCROLL FIX — hero gap + z-index stacking
   ============================================================ */
@media (max-width: 767px) {

/* Fix 1: Remove hero section padding that creates the big empty gap */
.hero {
    padding: 0 !important;
    z-index: 0 !important;
}

/* Fix 2: Ensure sticky top bar always renders above hero image */
.site-top-bar {
    z-index: 1001 !important;
    background-color: #F7F5F2 !important;
    /* Ensure background covers the full safe area including notch */
    box-shadow: 0 1px 0 rgba(0,0,0,0.06) !important;
}

/* Fix 3: Reduce the gap between hero and the next section */
.features {
    padding-top: 2rem !important;
}

/* Fix 4: Reduce bottom padding on hero content area */
.hero-content {
    padding-bottom: 1.5rem !important;
}

} /* end scroll fix */

/* ============================================================
   SAFARI iOS SAFE AREA FIX
   — hero bleed above notch / reserve bar vs Safari chrome
   ============================================================ */
@media (max-width: 767px) {

/* Force site-top-bar onto its own GPU compositor layer.
   On Safari, position:sticky + backdrop-filter inside a child
   can cause z-index compositing bugs where hero renders on top.
   translateZ(0) fixes this. */
.site-top-bar {
    -webkit-transform: translate3d(0, 0, 0) !important;
    transform: translate3d(0, 0, 0) !important;
    isolation: isolate !important;
    /* Stretch background flush to physical top edge (behind notch) */
    padding-top: env(safe-area-inset-top, 0px) !important;
    background-color: #F7F5F2 !important;
    z-index: 1001 !important;
}

/* Hero must NOT escape behind the sticky bar via stacking context */
.hero {
    z-index: 0 !important;
    position: relative !important;
    isolation: auto !important;
}

/* Reserve bar: push content above home indicator AND give real padding.
   max() only gives one or the other — calc() gives home-indicator + padding */
.mobile-reserve-bar {
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 0.85rem) !important;
}

/* Body bottom padding must also grow with the safe area so content
   clears the home indicator behind the reserve bar */
body.has-mobile-pill {
    padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)) !important;
}

} /* end Safari iOS safe area fix */

/* ============================================================
   BACK-TO-TOP FAB — global (desktop + mobile)
   ============================================================ */
.back-to-top-fab {
    position: fixed;
    right: 1.1rem;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 1.1rem);
    width: 52px;
    height: 52px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    background: linear-gradient(160deg, #b85d4e 0%, var(--primary-color, #A14C3D) 58%, #8a3d2f 100%);
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 24px rgba(161, 76, 61, 0.34);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(16px) scale(0.96);
    transition: transform 0.25s ease, opacity 0.2s ease, visibility 0s linear 0.2s;
}

.back-to-top-fab svg {
    width: 24px;
    height: 24px;
    display: block;
    stroke: currentColor;
    stroke-width: 2.9;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    transform: translateY(1px);
}

.back-to-top-fab.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    transition-delay: 0s;
}

.back-to-top-fab:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 28px rgba(161, 76, 61, 0.42);
}

.back-to-top-fab:active {
    transform: scale(0.95);
}

/* ============================================================
   MOBILE v2 — Fixed header + floating pill CTA
   Replaces: position:sticky (buggy on Safari) + bottom bar
   ============================================================ */
@media (max-width: 767px) {

/* --- 1. Fixed header: removed from flow, always above everything --- */
.site-top-bar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1001 !important;
    padding-top: env(safe-area-inset-top, 0px) !important;
    background-color: #F7F5F2 !important;
    /* No transform/isolation tricks needed — fixed just works on Safari */
    transform: none !important;
    -webkit-transform: none !important;
    isolation: auto !important;
    box-shadow: 0 1px 0 rgba(0,0,0,0.06) !important;
}

/* --- 2. Hero: offset by JS-measured header height (--site-top-bar-h) --- */
.hero {
    margin-top: var(--site-top-bar-h, 110px) !important;
    padding: 0 !important;
    z-index: 0 !important;
}

/* --- 3. Completely hide the old full-width bottom reserve bar --- */
.mobile-reserve-bar {
    display: none !important;
}

/* --- 4. Floating pill CTA --- */
.mobile-cta-pill {
    display: flex !important;
    align-items: center !important;
    gap: 0.3rem !important;
    position: fixed !important;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 1rem) !important;
    right: 1.25rem !important;
    z-index: 999 !important;
    background: var(--primary-color, #A14C3D) !important;
    color: #fff !important;
    text-decoration: none !important;
    font-family: 'Quicksand', 'Poppins', sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.025em !important;
    padding: 0.8rem 1.35rem !important;
    border-radius: 100px !important;
    box-shadow: 0 4px 20px rgba(161, 76, 61, 0.40) !important;
    -webkit-tap-highlight-color: transparent !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(16px) scale(0.96) !important;
    transition: transform 0.25s ease, box-shadow 0.15s ease, opacity 0.2s ease, visibility 0s linear 0.2s !important;
}

.mobile-cta-pill.is-visible {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) scale(1) !important;
    transition-delay: 0s !important;
}

.mobile-cta-pill:active {
    transform: scale(0.95) !important;
    box-shadow: 0 2px 10px rgba(161, 76, 61, 0.25) !important;
}

/* --- 5. Body padding: let content scroll past the pill --- */
body.has-mobile-pill {
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 5rem) !important;
}

} /* end mobile v2 */

/* ============================================================
   MOBILE PILL — move to bottom-left to avoid Intercom widget
   ============================================================ */
@media (max-width: 767px) {
.mobile-cta-pill {
    right: auto !important;
    left: 1.25rem !important;
}
}

/* ============================================================
   MOBILE v3 — Option A: announcement scrolls, only nav fixed
   The .header is the only fixed element. .site-top-bar returns
   to normal flow so the announcement banner scrolls away.
   ============================================================ */
@media (max-width: 767px) {

/* 1. Let the wrapper scroll naturally */
.site-top-bar {
    position: static !important;
    transform: none !important;
    -webkit-transform: none !important;
    padding-top: 0 !important;
    box-shadow: none !important;
    isolation: auto !important;
    background: transparent !important;
    z-index: auto !important;
}

/* 2. Only the nav header is fixed — tiny (~60px) and Safari-proof */
.site-top-bar .header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1001 !important;
    padding-top: env(safe-area-inset-top, 0px) !important;
    background-color: #F7F5F2 !important;
    box-shadow: 0 1px 0 rgba(0,0,0,0.06) !important;
    /* No backdrop-filter on mobile — solid bg is simpler and safer */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* 3. Announcement banner: push below fixed nav, then scroll away */
.announcement-banner {
    margin-top: var(--header-h, 0px) !important;
    position: static !important;
}

/* 4. Hero: no extra margin needed — announcement banner in flow
       provides the natural gap. Reset the v2 margin-top. */
.hero {
    margin-top: 0 !important;
}

} /* end mobile v3 */

/* ============================================================
   MOBILE RESPONSIVE FIXES v14
   Target: 390px (iPhone 14/15), verified down to 360px
   All rules inside @media (max-width: 767px) unless noted.
   These override earlier rules via cascade order.
   ============================================================ */

/* ----------------------------------------------------------
   FIX 3: Prevent page-level horizontal overflow
   body/html overflow:hidden prevents horizontal scrollbar
   without breaking overflow-x:auto scroll containers
   inside features-grid and steps (those create their own
   scroll context).
   ---------------------------------------------------------- */
@media (max-width: 767px) {
    html {
        /* clip stops horizontal scroll WITHOUT creating a scroll container.
           overflow:hidden was clipping the absolutely-positioned nav dropdown. */
        overflow-x: clip !important;
        max-width: 100% !important;
    }
    body {
        overflow-x: clip !important;
        max-width: 100% !important;
    }
}

/* ----------------------------------------------------------
   FIX 1: Hero — reduce image height so headline appears
   above the fold on all iPhones (SE → 14 Plus)
   ---------------------------------------------------------- */
@media (max-width: 767px) {
    .hero.hero-split .hero-image img {
        max-height: min(72vw, 300px) !important;
        height: min(72vw, 300px) !important;
        aspect-ratio: auto !important;
        object-position: center 52% !important;
    }

    .hero-content {
        padding: 0.85rem 1.25rem 1.5rem !important;
    }

    /* Tighten h1 line-height so 3-line title is more compact */
    .hero-content h1,
    .hero h1 {
        line-height: 1.1 !important;
        margin-bottom: 0.55rem !important;
    }
}

/* ----------------------------------------------------------
   FIX 2: CTA sections — ensure text is always visible
   Root cause: .reveal-up starts at opacity:0; JS observer
   may not fire on mobile. Also fix z-index vs ::after overlay.
   ---------------------------------------------------------- */
@media (max-width: 767px) {
    /* Force all reveal elements in CTA sections visible */
    .cta-section .reveal-up,
    .cta-section .reveal-left,
    .cta-section .reveal-right,
    .cta-section .reveal-scale {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    /* Ensure container content sits above ::after botanical overlay */
    .cta-section .container {
        position: relative !important;
        z-index: 2 !important;
    }

    /* Explicit dark colors — WCAG AA (4.5:1+) on #f4ece1 bg */
    .cta-section h2 {
        color: #2f2722 !important;
    }
    .cta-section p {
        color: #5e5046 !important;
    }
}

/* ----------------------------------------------------------
   FIX 4: Footer newsletter — visible input + full-width stack
   ---------------------------------------------------------- */
@media (max-width: 767px) {
    .newsletter-form {
        flex-direction: column !important;
        gap: 0.5rem !important;
    }

    .newsletter-form input {
        width: 100% !important;
        min-width: unset !important;
        height: 3rem !important;
        background: rgba(255, 255, 255, 0.18) !important;
        border: 1.5px solid rgba(255, 255, 255, 0.42) !important;
        border-radius: var(--border-radius) !important;
        color: #fff !important;
        font-size: 1rem !important;
        padding: 0 1rem !important;
        box-sizing: border-box !important;
    }

    .newsletter-form input::placeholder {
        color: rgba(255, 255, 255, 0.65) !important;
    }

    .newsletter-form .btn {
        width: 100% !important;
        height: 3rem !important;
    }

    .newsletter-msg {
        display: block;
        width: 100%;
        padding: 0 0.25rem;
    }
}

/* ----------------------------------------------------------
   FIX 5: Chat widget — lift above floating pill CTA
   Pill is bottom-left ~1rem from bottom, ~48px tall.
   Move chat-fab to right side at bottom + 5rem clearance.
   ---------------------------------------------------------- */
@media (max-width: 767px) {
    .chat-fab {
        left: auto !important;
        right: 1rem !important;
        bottom: calc(env(safe-area-inset-bottom, 0px) + 5rem) !important;
    }

    .chat-panel {
        right: 1rem !important;
        left: 1rem !important;
        width: auto !important;
        bottom: calc(env(safe-area-inset-bottom, 0px) + 9rem) !important;
    }

}

/* ----------------------------------------------------------
   FIX 6: Tap targets — 44×44px minimum on all interactive
   ---------------------------------------------------------- */
@media (max-width: 767px) {
    /* Footer links */
    .footer-section ul li a {
        display: flex !important;
        align-items: center !important;
        min-height: 44px !important;
    }

    .footer-section ul li {
        margin-bottom: 0 !important;
    }

    /* Social links — stack vertically so they don't overflow into adjacent column */
    .social-links {
        flex-direction: column !important;
        gap: 0.4rem !important;
    }
    .social-links a {
        min-height: 44px !important;
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Scroll dots — bigger visual + larger hit row */
    .scroll-dots {
        padding: 10px 0 !important;
        gap: 10px !important;
    }

    .scroll-dot {
        width: 10px !important;
        height: 10px !important;
    }

    .scroll-dot.active {
        width: 24px !important;
    }

    /* Hamburger button */
    .mobile-menu-toggle {
        min-width: 44px !important;
        min-height: 44px !important;
        width: 44px !important;
        height: 44px !important;
    }

    /* Nav menu links */
    .navbar-menu a {
        min-height: 44px !important;
        display: flex !important;
        align-items: center !important;
    }
}

/* ----------------------------------------------------------
   FIX 7: Minimum font sizes — floor at 14px for body text
   ---------------------------------------------------------- */
@media (max-width: 767px) {
    .feature-card p,
    .step p,
    .step .step-note,
    .footer-section p,
    .footer-section li a,
    .trust-label,
    .lead-copy,
    .hero-trust-line,
    .hero-subtitle {
        font-size: max(14px, 0.875rem) !important;
    }
}

/* ----------------------------------------------------------
   FIX 8: Carousel peek — show 25–30% of next card
   Change card width from 72vw → 68vw; push mask to 94%
   so the fade doesn't clip the peek card prematurely.
   ---------------------------------------------------------- */
@media (max-width: 767px) {
    /* Features "Why Families Choose" */
    .features-grid {
        mask-image: linear-gradient(to right, black 94%, transparent 100%) !important;
        -webkit-mask-image: linear-gradient(to right, black 94%, transparent 100%) !important;
    }

    .feature-card {
        flex: 0 0 68vw !important;
    }

    /* Products "Our Learning Toys" */
    .steps {
        mask-image: linear-gradient(to right, black 94%, transparent 100%) !important;
        -webkit-mask-image: linear-gradient(to right, black 94%, transparent 100%) !important;
    }

    .step {
        flex: 0 0 68vw !important;
    }
}

/* ----------------------------------------------------------
   FIX 10: Reduce CTA overload — hide header CTA pill on mobile
   The floating bottom pill serves this role already.
   ---------------------------------------------------------- */
@media (max-width: 767px) {
    .header-cta {
        display: none !important;
    }
}

/* ----------------------------------------------------------
   FIX 11: "Why Bilingual Learning" — left-align body text
   Long centred paragraphs are hard to scan on narrow screens.
   ---------------------------------------------------------- */
@media (max-width: 767px) {
    .features-soft .center-copy {
        text-align: left !important;
    }

    .features-soft .lead-copy {
        text-align: left !important;
    }
}

/* ----------------------------------------------------------
   FIX 12: Trust badges — icons, bolder text, richer cards
   ---------------------------------------------------------- */
@media (max-width: 767px) {
    .trust-icon {
        width: 52px !important;
        height: 52px !important;
        margin: 0 auto 0.6rem !important;
        border-radius: 50% !important;
        border: 1.5px solid rgba(143, 63, 52, 0.22) !important;
        background: linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(248, 238, 228, 0.88)) !important;
        display: grid !important;
        place-items: center !important;
        box-shadow: 0 6px 16px rgba(143, 63, 52, 0.10) !important;
        font-size: unset !important;
        line-height: unset !important;
    }

    .trust-icon svg {
        width: 26px !important;
        height: 26px !important;
        stroke: var(--primary-color) !important;
        stroke-width: 1.8 !important;
        fill: none !important;
    }

    .trust-value {
        font-size: 1.25rem !important;
        font-weight: 700 !important;
        /* Override gradient-text: use solid colour for readability */
        background: none !important;
        -webkit-background-clip: unset !important;
        background-clip: unset !important;
        -webkit-text-fill-color: var(--primary-color) !important;
        color: var(--primary-color) !important;
    }

    .trust-label {
        font-size: max(13px, 0.78rem) !important;
        font-weight: 600 !important;
        color: var(--text-secondary, #5e5046) !important;
    }

    .trust-item {
        background: rgba(255, 255, 255, 0.88) !important;
        border: 1px solid rgba(198, 169, 108, 0.32) !important;
        padding: 1rem 0.75rem !important;
        overflow: hidden !important;
        word-break: break-word !important;
    }

    .trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.75rem !important;
    }
}

/* ----------------------------------------------------------
   FIX 13: Mobile nav — visual hierarchy
   - Shop link gets brand colour + bold
   - Dividers between items
   - Reserve Yours CTA button at bottom of drawer
   ---------------------------------------------------------- */
@media (max-width: 767px) {
    /* Emphasise Shop */
    .navbar-menu .nav-shop-link {
        color: var(--primary-color) !important;
        font-weight: 700 !important;
    }

    /* Subtle dividers */
    .navbar-menu > li {
        border-bottom: 1px solid var(--border-light, #efe5d8) !important;
    }

    .navbar-menu > li:last-child {
        border-bottom: none !important;
    }

    /* Hide cart icon in dropdown on mobile — redundant */
    .navbar-menu .nav-cart-item {
        display: none !important;
    }

    /* Reserve Yours CTA at bottom of nav drawer */
    .nav-reserve-item {
        border-top: 1px solid var(--border-light, #efe5d8) !important;
        border-bottom: none !important;
        padding-top: 0.75rem !important;
        padding-bottom: 0.25rem !important;
    }

    .nav-reserve-btn {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
        min-height: 48px !important;
        border-radius: 12px !important;
        font-size: 1rem !important;
        font-weight: 700 !important;
    }

    .hero-cta-secondary {
        display: none !important;
    }
}

/* Desktop: hide the Reserve Yours nav item (pill not shown there) */
@media (min-width: 768px) {
    .nav-reserve-item {
        display: none !important;
    }
}

/* ----------------------------------------------------------
   FIX 14: Product card descriptions — clamp to 2 lines
   ---------------------------------------------------------- */
@media (max-width: 767px) {
    .step .step-note {
        display: none !important;
    }
}

/* ============================================================
   MOBILE RESPONSIVE FIXES v14 — Patch 1
   Two issues found during visual verification:
   ============================================================ */

/* PATCH A: Announcement bar — remove luxury uppercase + fix tiny font
   The luxury section (non-mobile) applies text-transform:uppercase
   and font-size:0.52rem globally. Override on mobile for legibility.
   ---------------------------------------------------------- */
@media (max-width: 767px) {
    .announcement-banner {
        text-transform: none !important;
        font-size: 0.78rem !important;
        letter-spacing: -0.01em !important;
        font-weight: 600 !important;
        padding: 0.55rem 0 !important;
    }
    .announcement-banner svg {
        display: none !important;
    }
    .banner-cta {
        color: var(--primary-color) !important;
        white-space: nowrap !important;
    }
}

/* ----------------------------------------------------------
   FIX: Hide hero trust line on mobile — pill CTA covers it
   The "Reserve Yours" pill + button already provide the CTA;
   the trust line falls behind the fixed pill on first view.
   ---------------------------------------------------------- */
@media (max-width: 767px) {
    .hero-trust-line {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .navbar-menu a {
        font-size: 0.9rem !important;
        letter-spacing: 0.02em !important;
        text-transform: none !important;
        line-height: 1.35 !important;
    }
}

@media (max-width: 767px) {
    body.has-mobile-pill .site-top-bar {
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        -webkit-transform: none !important;
        padding-top: 0 !important;
        z-index: auto !important;
        box-shadow: none !important;
        background: transparent !important;
    }

    body.has-mobile-pill .site-top-bar .header {
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        width: auto !important;
        z-index: auto !important;
        padding-top: 0 !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    body.has-mobile-pill .site-top-bar .announcement-banner {
        margin-top: 0 !important;
        position: static !important;
    }
}

/* ----------------------------------------------------------
   FIX: Mobile nav dropdown positioning + z-index
   When body.has-mobile-pill resets .header to static,
   .navbar-menu (position:absolute) loses its anchor and
   renders at top:0 behind the hero.
   Fix: give .navbar position:relative as the anchor,
   and lift .navbar-menu above all page content.
   ---------------------------------------------------------- */
@media (max-width: 767px) {
    .navbar {
        position: relative !important;
    }

    .navbar-menu {
        z-index: 1002 !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
    }
}

/* ----------------------------------------------------------
   FINAL SAFARI FIX: mobile menu drawer visibility
   Force menu into normal flow so items always render/click.
   ---------------------------------------------------------- */
@media (max-width: 767px) {
    .header,
    .navbar,
    .navbar .container {
        overflow: visible !important;
    }

    .navbar .container {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: flex-start !important;
        padding-top: 0.45rem !important;
    }

    .navbar-brand {
        flex: 0 0 auto !important;
        align-self: flex-start !important;
    }

    .mobile-menu-toggle {
        top: 0.85rem !important;
        transform: none !important;
    }

    .navbar-menu {
        flex: 0 0 100% !important;
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        margin-top: 0.55rem !important;
        padding: 0.65rem 0.9rem !important;
        border: 1px solid var(--border-light, #efe5d8) !important;
        border-radius: 14px !important;
        background: #fffaf4 !important;
        box-shadow: 0 12px 28px rgba(47, 27, 19, 0.12) !important;
        display: none !important;
        z-index: 2000 !important;
    }

    .navbar-menu.active {
        display: flex !important;
    }

    .navbar-menu > li {
        display: block !important;
    }

    .navbar-menu a {
        color: #2f2722 !important;
        background: transparent !important;
        opacity: 1 !important;
    }
}

/* ----------------------------------------------------------
   FINAL OVERRIDE: Professional mobile nav overlay drawer
   Keeps hero/image in place (no layout push) and overlays above it.
   ---------------------------------------------------------- */
@media (max-width: 767px) {
    body.mobile-menu-open {
        overflow: hidden !important;
    }

    body.mobile-menu-open .site-top-bar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 10100 !important;
    }

    body.mobile-menu-open .header {
        border-bottom: none !important;
        box-shadow: none !important;
    }

    body.mobile-menu-open .announcement-banner {
        border-bottom: none !important;
    }

    .navbar {
        position: relative !important;
    }

    .navbar-menu {
        position: fixed !important;
        left: 0.85rem !important;
        right: 0.85rem !important;
        top: calc(env(safe-area-inset-top, 0px) + 78px) !important;
        width: auto !important;
        max-height: calc(100dvh - env(safe-area-inset-top, 0px) - 96px - env(safe-area-inset-bottom, 0px)) !important;
        overflow-y: auto !important;
        overscroll-behavior: contain !important;
        -webkit-overflow-scrolling: touch !important;
        margin-top: 0 !important;
        padding: 0.8rem 0.95rem !important;
        border: 1px solid rgba(198, 169, 108, 0.38) !important;
        border-radius: 18px !important;
        background: #fffaf4 !important;
        box-shadow: 0 20px 44px rgba(47, 27, 19, 0.24) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        z-index: 10020 !important;
        display: none !important;
        flex: initial !important;
        isolation: isolate !important;
    }

    .navbar-menu.active {
        display: flex !important;
    }

    .navbar-menu > li {
        display: block !important;
    }

    .navbar-menu a {
        color: #2f2722 !important;
        background: transparent !important;
        opacity: 1 !important;
    }

    body.mobile-menu-open .navbar::before {
        display: none !important;
    }
}

/* ----------------------------------------------------------
   MOBILE NAV — Full-screen overlay (Claude.ai style)
   ---------------------------------------------------------- */
/* Always hidden on desktop — only shown on mobile via media queries below */
.mobile-nav-overlay { display: none; }
.mobile-reserve-bar  { display: none; }
.mobile-cta-pill     { display: none; }

@media (max-width: 767px) {
    .mobile-nav-overlay {
        position: fixed !important;
        inset: 0 !important;
        z-index: 10050 !important;
        display: none !important;
    }

    .mobile-nav-overlay.active {
        display: block !important;
    }

    /* Backdrop hidden — drawer covers full screen */
    .mobile-nav-backdrop {
        display: none !important;
    }

    /* Full-screen drawer: slides down from above (no opacity bleed on content below) */
    .mobile-nav-drawer {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        max-height: none !important;
        background: #fffaf4 !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        opacity: 1 !important;
        transform: translateY(-100%) !important;
        transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1) !important;
    }

    .mobile-nav-overlay.is-open .mobile-nav-drawer {
        transform: translateY(0) !important;
    }

    /* Drawer header hidden — site header stays on top via z-index */
    .mobile-nav-head {
        display: none !important;
    }

    /* Nav list — padded to clear the site header bar */
    .mobile-nav-list {
        list-style: none !important;
        margin: 0 !important;
        padding: 80px 0 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        flex: 1 !important;
    }

    /* Items stagger down on open */
    .mobile-nav-list > li {
        display: block !important;
        opacity: 0 !important;
        transform: translateY(10px) !important;
        transition: opacity 0.28s ease, transform 0.28s ease !important;
    }

    .mobile-nav-overlay.is-open .mobile-nav-list > li {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

    .mobile-nav-overlay.is-open .mobile-nav-list > li:nth-child(1) { transition-delay: 0.08s !important; }
    .mobile-nav-overlay.is-open .mobile-nav-list > li:nth-child(2) { transition-delay: 0.13s !important; }
    .mobile-nav-overlay.is-open .mobile-nav-list > li:nth-child(3) { transition-delay: 0.18s !important; }
    .mobile-nav-overlay.is-open .mobile-nav-list > li:nth-child(4) { transition-delay: 0.23s !important; }
    .mobile-nav-overlay.is-open .mobile-nav-list > li:nth-child(5) { transition-delay: 0.28s !important; }
    .mobile-nav-overlay.is-open .mobile-nav-list > li:nth-child(6) { transition-delay: 0.33s !important; }

    .mobile-nav-list > li:not(.nav-reserve-item) {
        border-bottom: 1px solid rgba(47, 39, 34, 0.08) !important;
        margin: 0 1.5rem !important;
    }

    .mobile-nav-list a {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        min-height: 58px !important;
        color: #2f2722 !important;
        opacity: 1 !important;
        text-decoration: none !important;
        background: transparent !important;
        padding: 0.5rem 0 !important;
        font-size: 1.25rem !important;
        font-weight: 500 !important;
        letter-spacing: -0.01em !important;
        text-transform: none !important;
        transition: color 0.15s ease !important;
    }

    /* + icon (like Claude.ai), rotates to × on hover */
    .mobile-nav-list a:not(.nav-reserve-btn)::after {
        content: '+' !important;
        font-size: 1.4rem !important;
        font-weight: 300 !important;
        opacity: 0.28 !important;
        transition: opacity 0.15s ease, transform 0.2s ease !important;
        flex-shrink: 0 !important;
    }

    .mobile-nav-list a:not(.nav-reserve-btn):hover::after,
    .mobile-nav-list a:not(.nav-reserve-btn):active::after {
        opacity: 0.6 !important;
        transform: rotate(45deg) !important;
    }

    .mobile-nav-list a:hover,
    .mobile-nav-list a:active {
        color: #A14C3D !important;
        background: transparent !important;
    }

    .mobile-nav-list .nav-shop-link {
        color: #A14C3D !important;
        font-weight: 700 !important;
    }

    .mobile-nav-list .nav-cart-item {
        display: none !important;
    }

    /* Reserve Yours — teal pill below nav items */
    .mobile-nav-list .nav-reserve-item .magnetic-wrap {
        display: block !important;
        width: 100% !important;
    }

    .mobile-nav-list .nav-reserve-item {
        padding: 1.5rem 1.5rem 1.5rem !important;
        border: none !important;
        border-top: 1px solid rgba(47, 39, 34, 0.08) !important;
        margin: 0.5rem 0 0 !important;
    }

    .mobile-nav-list .nav-reserve-btn {
        display: flex !important;
        width: 100% !important;
        align-items: center !important;
        justify-content: center !important;
        background: #325563 !important;
        color: #fff !important;
        border: none !important;
        border-radius: 100px !important;
        font-size: 1rem !important;
        font-weight: 700 !important;
        letter-spacing: 0.02em !important;
        padding: 1rem 1.5rem !important;
        min-height: 54px !important;
        text-transform: none !important;
        box-shadow: 0 4px 16px rgba(50, 85, 99, 0.25) !important;
        transition: transform 0.15s ease, box-shadow 0.15s ease !important;
    }

    .mobile-nav-list .nav-reserve-btn::after {
        display: none !important;
    }

    .mobile-nav-list .nav-reserve-btn:hover,
    .mobile-nav-list .nav-reserve-btn:active {
        color: #fff !important;
        background: #2a4655 !important;
        transform: translateY(-1px) !important;
        box-shadow: 0 6px 20px rgba(50, 85, 99, 0.35) !important;
    }
}

/* ============================================
   Mobile Remediation Patch (2026-03)
   ============================================ */
.tt-responsive-picture {
    display: block;
}

.tt-responsive-picture > img {
    display: block;
    width: 100%;
    height: auto;
}

.social-links a svg {
    width: 1rem;
    height: 1rem;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
}

.social-links a svg path {
    fill: currentColor;
    stroke: none;
}

.social-links a span {
    display: inline-block;
}

.bilingual-stat-callout {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    max-width: 700px;
    margin: 0 auto 1.2rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(161, 76, 61, 0.18);
    border-radius: 14px;
    background: #fff8f2;
}

.bilingual-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid rgba(143, 63, 52, 0.22);
    background: linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(248, 238, 228, 0.88));
    box-shadow: 0 6px 16px rgba(143, 63, 52, 0.10);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.bilingual-stat-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary-color, #A14C3D);
    stroke-width: 1.8;
    fill: none;
}

.stat-caption {
    margin-top: 0.25rem;
    margin-bottom: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

@media (min-width: 768px) {
    .nav-reservations-item {
        display: none !important;
    }
}

@media (max-width: 767px) {
    :root {
        --mobile-pill-h: 56px;
    }

    .shop-page .announcement-banner {
        display: none !important;
    }

    h1,
    .hero-content h1,
    .hero h1 {
        line-height: 1.25 !important;
    }

    .hero-eyebrow {
        font-size: 13px !important;
    }

    a,
    button,
    .btn,
    .header-cta,
    .navbar-menu a,
    .mobile-cta-pill,
    .back-to-top-fab {
        min-height: 44px !important;
    }

    .btn,
    .btn-primary,
    .btn-secondary,
    .nav-reserve-btn,
    .header-cta,
    .mobile-cta-pill {
        font-size: 16px !important;
    }

    .header-cta,
    .navbar .nav-reserve-btn,
    .hero-cta .btn,
    .cta-section .btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0.75rem 1rem !important;
    }

    .hero-cta .btn.hero-cta-secondary {
        display: none !important;
    }

    .mobile-cta-pill {
        left: 1rem !important;
        right: auto !important;
        bottom: calc(env(safe-area-inset-bottom, 0px) + 0.9rem) !important;
        z-index: 999 !important;
    }

    .mobile-cta-pill.is-near-footer {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateY(14px) !important;
    }

    .back-to-top-fab {
        right: 1rem !important;
        left: auto !important;
        bottom: calc(env(safe-area-inset-bottom, 0px) + 0.9rem) !important;
    }


    .footer {
        padding-bottom: calc(var(--mobile-pill-h) + env(safe-area-inset-bottom, 0px) + 1.25rem) !important;
    }

    .features-grid {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        gap: 0.85rem !important;
        padding-bottom: 0.45rem !important;
    }

    .feature-card {
        flex: 0 0 84vw !important;
        scroll-snap-align: start !important;
    }


    #products-scroll {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0.9rem !important;
        overflow: visible !important;
        scroll-snap-type: none !important;
        padding-right: 0 !important;
    }

    #products-scroll .step {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        flex: 1 1 auto !important;
        scroll-snap-align: none !important;
    }

    #products-scroll .step h3,
    #products-scroll .step p {
        overflow: visible !important;
        text-overflow: clip !important;
        white-space: normal !important;
        -webkit-line-clamp: unset !important;
    }

    .navbar-menu .nav-reservations-link {
        color: var(--primary-color) !important;
        font-weight: 700 !important;
    }
}

@media (max-width: 359px) {
    .features-grid {
        display: flex !important;
        overflow-x: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .feature-card {
        flex: 0 0 88vw !important;
        width: auto !important;
        max-width: none !important;
        margin-bottom: 0 !important;
    }
}

@media (max-width: 767px) {
    /* Hide scroll dots in the products section — SEE ALL TOYS button suffices */
    .how-it-works .scroll-dots {
        display: none !important;
    }
}

/* ============================================================
   PRODUCT GALLERY — thumbnail + main image slideshow
   ============================================================ */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

.gallery-main {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    overflow: hidden;
    background: #f5f2ee;
    position: relative;
}

.gallery-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: opacity 0.25s ease;
}

.gallery-main-img.is-fading {
    opacity: 0;
}

.gallery-main.is-contain {
    aspect-ratio: 1 / 1;
    background: #f7f5f2;
}

.gallery-thumbs {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.gallery-thumbs::-webkit-scrollbar { display: none; }

.gallery-thumb {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    scroll-snap-align: start;
    background: #f5f2ee;
    padding: 0;
    transition: border-color 0.15s ease, opacity 0.15s ease;
    opacity: 0.65;
}

.gallery-thumb:hover {
    opacity: 0.88;
}

.gallery-thumb.active {
    border-color: var(--primary-color, #A14C3D);
    opacity: 1;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    pointer-events: none;
}

@media (max-width: 767px) {
    .gallery-thumb {
        flex: 0 0 60px;
        width: 60px;
        height: 60px;
    }
}

/* ================================================
   HERO CAROUSEL
   ================================================ */
.hero-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 24px;
    overflow: hidden;
    background: #f5f2ee;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.75s ease;
    display: block;
    z-index: 0;
    text-decoration: none;
}
.hero-slide.is-active {
    opacity: 1;
    z-index: 1;
}
.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero-carousel-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    z-index: 2;
}
.hero-dot {
    width: 8px;
    height: 8px;
    min-height: 0 !important;
    min-width: 0 !important;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}
.hero-dot.is-active {
    background: #fff;
    transform: scale(1.4);
}
.hero-dot:hover {
    background: rgba(255, 255, 255, 0.85);
}

/* Hero carousel — mobile overrides
   Override old .hero-image img rules that clash with carousel slides */
@media (max-width: 767px) {
    .hero-image .hero-carousel {
        border-radius: 2rem !important;
        height: min(72vw, 300px) !important;
        aspect-ratio: auto !important;
    }
    .hero-image .hero-slide img {
        max-height: none !important;
        height: 100% !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        object-position: center 52% !important;
    }
    .hero-carousel-dots {
        bottom: 10px !important;
    }
}

/* ============================================================
   PREMIUM INTERACTIONS v2 — Smooth micro-interactions
   ============================================================ */

/* --- Page entrance fade-in --- */
@keyframes pageFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}
html { animation: pageFadeIn 0.38s cubic-bezier(0.4, 0, 0.2, 1); }

/* --- Desktop nav: animated underline from center --- */
@media (min-width: 768px) {
    .navbar-menu a:not(.btn):not(.nav-cart-link):not(.header-cta) {
        position: relative;
    }
    .navbar-menu a:not(.btn):not(.nav-cart-link):not(.header-cta)::after {
        content: '';
        position: absolute;
        bottom: 2px;
        left: 50%;
        width: 70%;
        height: 1.5px;
        background: var(--primary-color);
        border-radius: 2px;
        transform: translateX(-50%) scaleX(0);
        transform-origin: center;
        transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .navbar-menu a:not(.btn):not(.nav-cart-link):not(.header-cta):hover::after,
    .navbar-menu a[aria-current="page"]:not(.btn)::after {
        transform: translateX(-50%) scaleX(1);
    }
}

/* --- Header CTA spring hover --- */
.header-cta {
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.28s ease,
                background-color 0.2s ease !important;
}
.header-cta:hover {
    transform: translateY(-2px) scale(1.03) !important;
    box-shadow: 0 8px 20px rgba(161, 76, 61, 0.28) !important;
}
.header-cta:active {
    transform: scale(0.96) !important;
    transition-duration: 0.08s !important;
}

/* --- Button ripple effect --- */
.btn { overflow: hidden !important; }
.btn-ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: btnRipple 0.55s ease-out forwards;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.32);
}
@keyframes btnRipple {
    to { transform: scale(3.5); opacity: 0; }
}

/* --- FAQ: + rotates to × on open, smooth content reveal --- */
@keyframes faqReveal {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes faqHide {
    from { opacity: 1; transform: translateY(0); }
    to   { opacity: 0; transform: translateY(-8px); }
}
.faq-item summary::after {
    content: "+" !important;
    display: inline-block !important;
    transform: translateY(-50%) rotate(0deg) !important;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.faq-item[open]:not(.is-closing) summary::after {
    transform: translateY(-50%) rotate(45deg) !important;
}
details.faq-item > :not(summary) {
    animation: faqReveal 0.26s cubic-bezier(0.4, 0, 0.2, 1);
}
details.faq-item.is-closing > :not(summary) {
    animation: faqHide 0.22s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
details.faq-item.no-animate > :not(summary) {
    animation: none !important;
}

/* --- Gallery thumb scale on hover --- */
.gallery-thumb {
    transition: border-color 0.2s ease, opacity 0.2s ease,
                transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1) !important;
}
.gallery-thumb:hover  { transform: scale(1.08) !important; opacity: 1 !important; }
.gallery-thumb.active { transform: scale(1)    !important; }

/* --- Gallery main image crossfade --- */
.gallery-main-img {
    transition: opacity 0.22s ease !important;
}
.gallery-main-img.is-fading { opacity: 0 !important; }

/* --- Footer link underline slide --- */
.footer-section a {
    position: relative;
    display: inline-block !important;
}
.footer-section a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    opacity: 0.6;
    transition: width 0.22s ease;
}
.footer-section a:hover::after { width: 100%; }

/* ============================================================
   SHOP CARD IMAGE GALLERY — hover/swipe second image
   ============================================================ */
.card-img-wrap {
    position: relative;
    overflow: hidden;
    display: block;
}
.card-img-alt {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
}
/* Desktop: reveal alt image on card hover */
@media (min-width: 768px) {
    .card-img-wrap:hover .card-img-alt { opacity: 1; }
}
/* Mobile: JS adds .show-alt class on swipe */
.card-img-wrap.show-alt .card-img-alt { opacity: 1; }

/* Dot indicators */
.card-img-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 3;
}
.card-img-dot {
    -webkit-appearance: none;
    appearance: none;
    width: 7px !important;
    height: 7px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    line-height: 1 !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.55);
    border: none;
    padding: 0 !important;
    display: block;
    flex-shrink: 0;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}
.card-img-dot.active {
    background: #fff;
    transform: scale(1.25);
}

/* ============================================================
   PRODUCT PAGE GALLERY — cap height on desktop so it doesn't
   take the full viewport on a laptop screen
   ============================================================ */
@media (min-width: 768px) {
    .gallery-main {
        max-height: 480px;
    }
    .gallery-main.is-contain {
        max-height: 480px;
    }
}

/* ============================================================
   PRODUCT DETAIL PAGE — two-column layout on desktop
   (only applies to cards that contain a .product-gallery)
   ============================================================ */
@media (min-width: 768px) {
    .product-card:has(.product-gallery) {
        display: grid !important;
        grid-template-columns: 52% 1fr !important;
        gap: 2.5rem !important;
        align-items: start !important;
        border: none !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
    }

    /* Give the gallery a max height so the image doesn't dominate */
    .product-card:has(.product-gallery) .gallery-main {
        max-height: 440px !important;
    }

    /* Sticky product info sidebar on scroll */
    .product-card:has(.product-gallery) .product-info {
        position: sticky;
        top: 100px;
        padding: 0.5rem 0 !important;
    }
}
