/* =============================================
   MULTI-BRAND PORTAL — Mobile-First Design System v2
   ============================================= */

/* === CSS VARIABLES === */
:root {
    --primary: #1B4963;
    --primary-dark: #0F2D3F;
    --primary-light: #2A6A8F;
    --secondary: #C0C0C0;
    --accent: #4DA3FF;
    --bg-hero: linear-gradient(135deg, #0F2D3F 0%, #1B4963 100%);
    --bg-body: #F5F7FA;
    --bg-card: #FFFFFF;
    --bg-dark: #0C0A09;
    --bg-section-alt: #F0F4F8;
    --gradient-text: linear-gradient(135deg, #D9D9D9, #fff, #BFBFBF);
    --text-primary: #1A1A1A;
    --text-secondary: #6B7280;
    --text-on-dark: #E2E8F0;
    --text-on-primary: #FFFFFF;
    --border-color: #E5E7EB;
    --border-light: rgba(255,255,255,0.1);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 50px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
    --shadow-xl: 0 24px 48px rgba(0,0,0,0.16);
    --shadow-card: 0 2px 8px rgba(0,0,0,0.06);
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition: 0.3s var(--ease-out);
    --transition-fast: 0.2s ease;
    --transition-slow: 0.5s var(--ease-out);
    --header-height: 56px;
    --brand-bar-height: 48px;
    --bottom-nav-height: 56px;
    --top-offset: 104px;
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--top-offset); }
body {
    font-family: var(--font-sans);
    background: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    padding-bottom: calc(var(--bottom-nav-height) + var(--safe-bottom));
    opacity: 0;
    animation: pageReveal 0.4s ease-out 0.05s forwards;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; -webkit-appearance: none; appearance: none; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 500; line-height: 1.15; }
.line-clamp-1 { display: -webkit-box; -webkit-line-clamp: 1; line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); border-radius: 2px; }
::selection { background: rgba(27, 73, 99, 0.15); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* === LAYOUT === */
.container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 16px; }
.container-narrow { max-width: 800px; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }



.main-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 60;
    height: var(--header-height);
    background: var(--primary);
    box-shadow: none; 
    border-bottom: none;
    display: flex; align-items: center; justify-content: center;
}

.main-nav-inner {
    width: 100%; display: flex; align-items: center; justify-content: center; position: relative; max-width: 1400px;
}

.menu-btn {
    position: absolute; left: 16px; background: transparent; border: none; color: #fff; cursor: pointer; padding: 8px; display: flex; align-items: center; justify-content: center; top: 50%; transform: translateY(-50%); -webkit-tap-highlight-color: transparent;
}

.nav-logo { display: flex; justify-content: center; align-items: center; height: 100%; top: 50%; transform: translateY(-50%); position: absolute; }
.nav-logo img { height: 32px; width: auto; object-fit: contain; }

.brand-bar {
    position: fixed; top: var(--header-height); left: 0; right: 0; z-index: 50;
    height: var(--brand-bar-height);
    background: var(--primary); /* Seamless attachment to header */
    border-bottom: 1px solid rgba(0,0,0,0.08);
    display: flex; align-items: center; justify-content: center;
    padding: 0 16px;
}

.brand-bar-inner {
    display: flex; align-items: center; width: 100%; max-width: 400px;
    position: relative;
}

.brand-tab {
    flex: 1; text-align: center; font-size: 11px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.1em; color: rgba(255,255,255,0.6);
    padding: 12px 0; background: transparent; border: none; transition: color 0.3s ease;
    position: relative; -webkit-tap-highlight-color: transparent;
}

.brand-tab.active { color: #fff; box-shadow: none; }
.brand-tab::after {
    content: ''; position: absolute; bottom: 0; left: 15%; right: 15%;
    height: 2px; background: #fff;
    transform: scaleX(0); transition: transform 0.3s ease;
    transform-origin: center;
}
.brand-tab.active::after { transform: scaleX(1); }

/* =======================================
   BOTTOM NAVIGATION
   ======================================= */
#bottom-nav {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
    height: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid #E5E7EB;
    display: flex; justify-content: space-around; align-items: center;
    padding-bottom: env(safe-area-inset-bottom);
}

.bottom-nav-item {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    width: 33%; height: var(--bottom-nav-height); color: #6B7280; background: none; border: none;
    font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em;
    gap: 4px; cursor: pointer; -webkit-tap-highlight-color: transparent;
    position: relative;
}

.bottom-nav-item.active { color: var(--primary); }
.bottom-nav-icon { position: relative; display: flex; align-items: center; justify-content: center; }
.bottom-nav-item svg { width: 22px; height: 22px; transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.bottom-nav-item:active svg { transform: scale(0.9); }

.cart-badge-bottom {
    position: absolute; top: -6px; right: -8px;
    background: var(--accent); color: #fff;
    font-size: 9px; font-weight: 700; height: 16px; min-width: 16px;
    border-radius: 8px; display: flex; align-items: center; justify-content: center;
    padding: 0 4px; padding-top: 1px; border: 2px solid #fff;
}
.cart-badge-bottom.hidden { display: none; }

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

.cart-bounce .cart-badge-bottom { animation: bounce-scale 0.4s ease forwards; }

/* =======================================
   SEARCH MODAL
   ======================================= */
.search-modal {
    position: fixed; inset: 0; z-index: 100;
    background: #fff; transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex; flex-direction: column;
}
.search-modal.open { transform: translateY(0); display: flex !important; }
.search-header { 
    display: flex; align-items: center; gap: 12px; padding: 16px;
    border-bottom: 1px solid #E5E7EB; padding-top: calc(16px + env(safe-area-inset-top));
}
.search-input {
    flex: 1; border: none; background: #F3F4F6; border-radius: 8px;
    padding: 12px 16px; font-size: 16px; outline: none; appearance: none;
}
#closeSearchBtn { background: none; border: none; color: #374151; padding: 4px; display: flex; justify-content: center; align-items: center; cursor: pointer;}

/* =======================================
   MOBILE MENU (Slide Panel)
   ======================================= */
.mobile-overlay {
    position: fixed; inset: 0; z-index: 100; pointer-events: none; visibility: hidden;
    transition: visibility 0s 0.35s;
}
.mobile-overlay.open { pointer-events: auto; visibility: visible; transition-delay: 0s; }
.mobile-backdrop {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0); backdrop-filter: blur(0);
    transition: all 0.35s ease;
}
.mobile-overlay.open .mobile-backdrop {
    background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
}
.mobile-panel {
    position: absolute; top: 0; left: 0; height: 100%; width: 82%; max-width: 340px;
    background: #fff;
    box-shadow: 10px 0 40px rgba(0,0,0,0.2);
    transform: translateX(-100%);
    transition: transform 0.35s var(--ease-out);
    display: flex; flex-direction: column;
    overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.mobile-overlay.open .mobile-panel { transform: translateX(0); }
.mobile-panel-header {
    height: 56px; padding: 0 16px;
    display: flex; align-items: center; justify-content: space-between;
    background: var(--primary); flex-shrink: 0;
}
.mobile-panel-header img { height: 28px; }
.mobile-panel-header button { color: #fff; padding: 8px; min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; }
.mobile-nav-links { padding: 16px; display: flex; flex-direction: column; gap: 2px; }
.mobile-nav-link {
    display: flex; align-items: center; gap: 12px; padding: 14px 12px;
    font-size: 15px; font-weight: 500; color: var(--text-primary);
    border-radius: var(--radius-md);
    transition: background var(--transition-fast);
    min-height: 48px;
}
.mobile-nav-link:active { background: var(--bg-section-alt); }
.mobile-nav-link svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; }
.mobile-brands { padding: 0 16px; margin-top: 8px; }
.mobile-brands-title {
    font-size: 10px; font-weight: 700; letter-spacing: 0.15em;
    text-transform: uppercase; color: var(--text-secondary);
    padding: 0 12px; margin-bottom: 8px;
}
.mobile-brand-btn {
    display: flex; align-items: center; gap: 12px;
    width: 100%; padding: 12px; font-size: 14px; font-weight: 500;
    color: var(--text-primary); border-radius: var(--radius-md);
    transition: all var(--transition-fast); min-height: 48px;
}
.mobile-brand-btn:active { background: var(--bg-section-alt); }
.mobile-brand-btn.active { background: var(--primary); color: #fff; border-radius: var(--radius-md); }
.mobile-brand-dot {
    width: 10px; height: 10px; border-radius: 50%;
    border: 2px solid var(--text-secondary); flex-shrink: 0;
}
.mobile-brand-btn.active .mobile-brand-dot {
    background: #fff; border-color: #fff;
}
.mobile-wa-btn {
    margin: 24px 16px 16px; padding: 14px;
    background: #25D366; color: #fff; border-radius: var(--radius-lg);
    font-size: 14px; font-weight: 600;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px;
    transition: transform var(--transition-fast);
}
.mobile-wa-btn:active { transform: scale(0.97); }

/* =======================================
   HERO
   ======================================= */
.hero {
    position: relative; overflow: hidden;
    background: var(--bg-hero); color: #fff;
    padding: calc(var(--top-offset) + 24px) 0 48px;
    min-height: 480px;
    display: flex; align-items: center;
    transition: background 0.6s var(--ease-out);
}
.hero-grid { display: flex; flex-direction: column; gap: 32px; }
.hero-content { display: flex; flex-direction: column; gap: 0; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 14px; border-radius: var(--radius-pill);
    border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.04);
    font-size: 10px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--secondary); backdrop-filter: blur(4px);
    width: fit-content; margin-bottom: 16px;
}
.hero-title {
    font-family: var(--font-serif);
    line-height: 1.08;
    letter-spacing: -0.025em;
    font-size: clamp(2.5rem, 8vw, 5.5rem);
}
.hero-desc {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    max-width: 500px;
    font-weight: 300;
    line-height: 1.8;
    margin-top: 16px;
}
.hero-actions { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.hero-img-wrap {
  display: block;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-top: 8px;
}
.hero-img-frame {
    position: relative; width: 100%; aspect-ratio: 3/4;
    border-radius: 24px;
    overflow: hidden; box-shadow: var(--shadow-xl);
}
.hero-img-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-float-tag {
    position: absolute; bottom: 16px; left: 12px; right: 12px;
    backdrop-filter: blur(16px); background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12); padding: 12px 16px; border-radius: var(--radius-lg);
    display: flex; align-items: center; justify-content: space-between;
}
.hero-float-tag h4 { font-family: var(--font-serif); font-size: 16px; }
.hero-float-tag span { font-size: 10px; opacity: 0.6; text-transform: uppercase; letter-spacing: 0.08em; }

/* =======================================
   BUTTONS
   ======================================= */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 24px; font-size: 12px; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase; border-radius: var(--radius-md);
    transition: all var(--transition); cursor: pointer; white-space: nowrap;
    min-height: 48px; position: relative; overflow: hidden;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--secondary); color: var(--primary-dark); }
.btn-primary:hover { background: #fff; box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; border: 1px solid rgba(255,255,255,0.25); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.08); }
.btn-accent { background: var(--primary); color: #fff; }
.btn-accent:hover { background: var(--primary-light); }
.btn-whatsapp { background: #25D366; color: #fff; border-radius: var(--radius-lg); }
.btn-whatsapp:hover { background: #1ebe5d; }
.btn-cart { background: var(--accent); color: #fff; border-radius: var(--radius-lg); font-weight: 800; }
.btn-full { width: 100%; }

/* =======================================
   MARQUEE
   ======================================= */
.marquee-section {
    background: var(--primary-dark); padding: 12px 0; overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.marquee-track {
    display: flex; align-items: center; gap: 24px; white-space: nowrap;
    animation: marquee 25s linear infinite;
}
.marquee-track span {
    font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--secondary); display: flex; align-items: center; gap: 24px;
}
.marquee-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }

/* =======================================
   SECTIONS — Common
   ======================================= */
.section-header { margin-bottom: 32px; }
.section-label {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 8px;
    display: block;
}
.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 5vw, 3rem);
    line-height: 1.1;
    color: var(--text-primary);
}

/* =======================================
   PRODUCT GRID
   ======================================= */
.products-section { padding: 48px 0; background: var(--bg-section-alt); }
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.product-card {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-md); overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.product-card:active { transform: scale(0.98); }
.product-card-img {
    aspect-ratio: 3/4; overflow: hidden; position: relative;
    background: var(--bg-section-alt);
}
.product-card-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}
.product-card-overlay { display: none; }
.product-card-body { padding: 10px 12px 14px; }
.product-badge {
    display: inline-block; padding: 2px 8px; font-size: 9px; font-weight: 800;
    letter-spacing: 0.06em; text-transform: uppercase;
    background: var(--primary); color: #fff; border-radius: 3px; margin-bottom: 6px;
}
.product-card-name {
    font-family: var(--font-serif);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.25;
}
.product-card-desc {
    font-size: 11px; color: var(--text-secondary); margin-top: 4px;
    line-height: 1.4; display: none;
}
.product-card-footer {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--border-color);
}
.product-card-price { font-size: 14px; font-weight: 700; color: var(--text-primary); }
.product-card-cta {
    font-size: 10px; font-weight: 800; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--primary);
    padding: 6px 10px; border-radius: var(--radius-sm);
    background: rgba(27,73,99,0.06);
    transition: all var(--transition-fast);
    min-height: 32px; display: flex; align-items: center;
}
.product-card-cta:active { background: rgba(27,73,99,0.12); }

/* Quick add button on card */
.product-card-quick {
    position: absolute; bottom: 8px; right: 8px; z-index: 5;
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--primary); color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
    opacity: 0; transform: scale(0.8);
}
.product-card:hover .product-card-quick,
.product-card-quick.visible { opacity: 1; transform: scale(1); }
.product-card-quick:active { transform: scale(0.9); }
.product-card-quick svg { width: 16px; height: 16px; }

/* =======================================
   SKELETON LOADING
   ======================================= */
.skeleton {
    background: linear-gradient(90deg, #e8e8e8 25%, #f5f5f5 50%, #e8e8e8 75%);
    background-size: 600px 100%;
    animation: skeleton-shimmer 1.4s ease infinite;
    border-radius: var(--radius-md);
}
.skeleton-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
}
.skeleton-img {
  width: 100%;
  aspect-ratio: 3/4;
}
.skeleton-body {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.skeleton-line {
  height: 12px;
  border-radius: 4px;
}
.skeleton-line-short { width: 55%; }
.skeleton-line-med { width: 75%; }
.skeleton-line-price { width: 40%; height: 16px; margin-top: 4px; }

/* =======================================
   PRODUCT MODAL — Bottom Sheet (Mobile)
   ======================================= */
.modal-overlay {
    position: fixed; inset: 0; z-index: 999;
    background: rgba(0,0,0,0);
    display: flex; align-items: flex-end; justify-content: center;
    pointer-events: none;
    transition: background 0.3s ease;
}
.modal-overlay.open { background: rgba(0,0,0,0.55); pointer-events: auto; }

/* Bottom sheet handle */
.sheet-handle {
    width: 36px; height: 4px; background: rgba(255,255,255,0.3);
    border-radius: 2px; margin: 0 auto 12px; flex-shrink: 0;
}

.modal-content {
    width: 100%; max-width: 100%;
    max-height: 92vh;
    background: var(--bg-dark);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    border: 1px solid rgba(255,255,255,0.06);
    border-bottom: none;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.3);
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    transform: translateY(100%);
    transition: transform 0.4s var(--ease-out);
    display: flex; flex-direction: column;
    padding: 16px 16px calc(16px + var(--safe-bottom));
}
.modal-overlay.open .modal-content { transform: translateY(0); }

.modal-close {
    position: absolute; top: 12px; right: 12px; z-index: 10;
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7);
    display: flex; align-items: center; justify-content: center;
    min-width: 44px; min-height: 44px;
    transition: all var(--transition-fast);
}
.modal-close:active { background: rgba(255,255,255,0.15); transform: scale(0.9); }

/* Modal product image */
.modal-img-wrap {
    width: 100%; aspect-ratio: 1; max-height: 280px;
    background: radial-gradient(circle at center, rgba(255,255,255,0.04), transparent 70%);
    border-radius: var(--radius-lg); overflow: hidden;
    display: flex; justify-content: center; align-items: center;
    flex-shrink: 0; position: relative;
}
.modal-img-wrap img { width: 100%; height: 100%; object-fit: contain; }

/* Modal info */
.modal-info { color: #fff; padding: 16px 0; flex: 1; }
.modal-info h2 {
    font-family: var(--font-serif); font-size: 20px; font-weight: 500;
}
.modal-info .modal-subtitle {
    font-size: 12px; opacity: 0.5; margin-top: 4px;
    text-transform: uppercase; letter-spacing: 0.06em;
}
.modal-info .modal-price {
    font-size: 22px; font-weight: 700; margin-top: 12px; color: var(--accent);
}
.modal-info .modal-desc {
    font-size: 13px; line-height: 1.6; opacity: 0.7; margin-top: 12px;
}

/* Sticky CTA at bottom */
.modal-actions {
    padding: 16px 0 0; margin-top: auto; flex-shrink: 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.modal-actions .btn { min-height: 52px; font-size: 14px; border-radius: var(--radius-lg); }

/* =======================================
   AUTH MODAL — Full Screen (Mobile)
   ======================================= */
.auth-modal {
    background: #fff !important; color: var(--text-primary) !important;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0 !important;
    padding: 32px 20px calc(32px + var(--safe-bottom)) !important;
    max-height: 95vh !important;
}
.auth-modal h3 {
    font-size: 1.75rem; color: var(--primary); margin-bottom: 4px;
}
.auth-modal p {
    font-size: 13px; color: var(--text-secondary); margin-bottom: 28px;
}
.auth-form { display: flex; flex-direction: column; gap: 12px; }
.auth-input {
    width: 100%; padding: 14px 16px; background: #F9FAFB; border: 1.5px solid var(--border-color);
    border-radius: var(--radius-lg); font-size: 15px;
    min-height: 50px;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.auth-input:focus {
    outline: none; border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(27,73,99,0.1);
}
.auth-submit {
    width: 100%; padding: 16px; background: var(--primary); color: #fff;
    border-radius: var(--radius-lg); font-weight: 700; font-size: 14px;
    letter-spacing: 0.1em; text-transform: uppercase;
    min-height: 52px;
    transition: all var(--transition-fast); margin-top: 4px;
}
.auth-submit:active { transform: scale(0.98); opacity: 0.9; }
.auth-switch {
    text-align: center; margin-top: 24px;
    font-size: 14px; color: var(--text-secondary);
}
.auth-switch button {
    color: var(--primary); font-weight: 700;
    min-height: 44px; padding: 8px;
}

/* =======================================
   CART DRAWER — Bottom Sheet (Mobile)
   ======================================= */
.cart-overlay {
    position: fixed; inset: 0; z-index: 200;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }
.cart-backdrop {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
}
.cart-panel {
    position: absolute; bottom: 0; left: 0; right: 0;
    max-height: 85vh; height: auto;
    background: #fff;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.2);
    display: flex; flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.4s var(--ease-out);
}
.cart-overlay.open .cart-panel { transform: translateY(0); }
.cart-handle {
    width: 36px; height: 4px; background: #D1D5DB; border-radius: 2px;
    margin: 10px auto 0; flex-shrink: 0;
}
.cart-header {
    padding: 16px 20px 12px;
    display: flex; align-items: center; justify-content: space-between;
    flex-shrink: 0;
}
.cart-header h3 { font-family: var(--font-serif); font-size: 1.5rem; color: var(--text-primary); }
.cart-header button {
    padding: 8px; color: var(--text-secondary);
    min-width: 44px; min-height: 44px;
    display: flex; align-items: center; justify-content: center;
}
.cart-items {
    flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch;
    padding: 0 20px;
    display: flex; flex-direction: column; gap: 16px;
    min-height: 80px; max-height: 45vh;
}
.cart-item {
    display: flex; gap: 12px; padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}
.cart-item-img {
    width: 72px; height: 72px; border-radius: var(--radius-md);
    overflow: hidden; flex-shrink: 0; background: var(--bg-section-alt);
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-weight: 600; font-size: 14px; color: var(--text-primary); }
.cart-item-brand {
    font-size: 10px; color: var(--text-secondary);
    text-transform: uppercase; letter-spacing: 0.04em; margin-top: 2px;
}
.cart-item-row {
    display: flex; justify-content: space-between; align-items: center; margin-top: 8px;
}
.cart-item-price { font-weight: 700; font-size: 14px; }
.cart-item-remove {
    color: #EF4444; font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.06em;
    padding: 8px; min-height: 36px; min-width: 36px;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius-sm);
}
.cart-item-remove:active { background: rgba(239,68,68,0.08); }
.cart-footer {
    padding: 16px 20px calc(16px + var(--safe-bottom));
    border-top: 1px solid var(--border-color); background: #F9FAFB;
    flex-shrink: 0;
}
.cart-total-row {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px;
}
.cart-total-label { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-secondary); }
.cart-total-value { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; color: var(--primary); }
.cart-checkout-btn {
    width: 100%; padding: 16px;
    background: var(--primary); color: #fff;
    border-radius: var(--radius-lg); font-weight: 700;
    font-size: 13px; letter-spacing: 0.15em; text-transform: uppercase;
    min-height: 52px;
    transition: all var(--transition-fast);
}
.cart-checkout-btn:active { transform: scale(0.98); opacity: 0.9; }
.cart-empty {
    text-align: center; padding: 48px 0; color: var(--text-secondary);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.cart-empty svg { opacity: 0.15; }
.cart-empty-text { font-size: 14px; }
.cart-empty-sub { font-size: 12px; opacity: 0.6; }

/* =======================================
   STORY SECTION
   ======================================= */
.story-section {
    padding: 48px 0; background: linear-gradient(180deg, #111820, #1a2c3a);
    color: #fff; position: relative; overflow: hidden;
}
.story-grid { display: flex; flex-direction: column; gap: 32px; }
.story-img {
    width: 100%; aspect-ratio: 4/3; border-radius: var(--radius-lg);
    overflow: hidden; position: relative; box-shadow: var(--shadow-xl);
}
.story-img img { width: 100%; height: 100%; object-fit: cover; }
.story-img-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 40%, transparent 100%);
}
.story-img-card {
    position: absolute; bottom: 12px; left: 12px; right: 12px;
    background: rgba(0,0,0,0.4); backdrop-filter: blur(12px);
    padding: 12px; border-radius: var(--radius-md); border: 1px solid rgba(255,255,255,0.08);
}
.story-step {
    display: flex; gap: 12px; align-items: flex-start;
}
.story-dot {
    width: 8px; height: 8px; border-radius: 50%;
    border: 2px solid var(--accent); margin-top: 6px; flex-shrink: 0;
}
.story-step h3 { font-family: var(--font-serif); font-size: 1.1rem; color: #fff; margin-bottom: 6px; }
.story-step p { color: rgba(255,255,255,0.6); font-size: 13px; line-height: 1.5; font-weight: 300; }

/* =======================================
   FEATURES
   ======================================= */
.features-section { padding: 48px 0; background: #fff; }
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: hidden;
}
.feature-item {
    padding: 28px 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 0;
    background: #fff; transition: background var(--transition-fast); text-align: left;
    border-bottom: 0.5px solid var(--border-color);
}
.feature-item:last-child { border-bottom: none; }
.feature-icon {
    width: 56px; height: 56px; background: transparent;
    color: var(--primary); display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; margin-bottom: 16px;
}
.feature-title { font-family: var(--font-serif); font-size: 20px; font-weight: 500; margin-bottom: 8px; }
.feature-desc { font-size: 13px; color: var(--text-secondary); font-weight: 300; line-height: 1.8; margin-top: 0; }
.feature-text { flex: 1; min-width: 0; }


/* =======================================
   TESTIMONIALS
   ======================================= */
.testimonials-section { padding: 48px 0; background: var(--bg-body); overflow: hidden; }
.testimonial-track {
    display: flex; width: max-content;
    animation: scrollCarousel 35s linear infinite; gap: 16px;
    padding: 0 16px;
}
.testimonial-track:hover, .testimonial-track:active { animation-play-state: paused; }
.testimonial-card {
    width: 280px; flex-shrink: 0; background: #fff; padding: 20px;
    border: 1px solid var(--border-color); border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column; justify-content: space-between;
}
.testimonial-stars { display: flex; gap: 2px; color: #F59E0B; margin-bottom: 12px; }
.testimonial-text {
    font-size: 13px; color: var(--text-secondary); font-style: italic;
    line-height: 1.6; margin-bottom: 16px;
}
.testimonial-author {
    display: flex; align-items: center; gap: 10px;
    padding-top: 12px; border-top: 1px solid var(--bg-body);
}
.testimonial-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(27,73,99,0.08); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-serif); font-weight: 700; font-size: 16px;
}
.testimonial-name { font-weight: 600; font-size: 13px; }
.testimonial-role { font-size: 11px; color: var(--text-secondary); }

/* =======================================
   FAQ
   ======================================= */
.faq-section { padding: 48px 0; background: #fff; }
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
    padding: 20px 0; background: transparent; border: none;
    border-bottom: 0.5px solid var(--border-color);
    border-radius: 0; transition: all 0.3s ease;
}
.faq-item[open] { background: transparent; border-color: var(--border-color); box-shadow: none; }
.faq-item summary {
    display: flex; justify-content: space-between; align-items: center;
    font-family: var(--font-serif); font-size: 16px; font-weight: 500;
    cursor: pointer; list-style: none; min-height: 36px; gap: 12px;
}
.faq-item summary::before {
    content: attr(data-num);
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 300;
    color: var(--border-color);
    margin-right: 16px;
    flex-shrink: 0;
    line-height: 1;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { transition: transform 0.3s ease; flex-shrink: 0; }
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-answer { font-weight: 300; line-height: 1.9; font-size: 14px; color: var(--text-secondary); margin-top: 12px; }


/* =======================================
   FOOTER
   ======================================= */
.site-footer {
    background: var(--primary-dark); color: rgba(255,255,255,0.6);
    padding: 40px 0 calc(40px + var(--bottom-nav-height) + var(--safe-bottom));
}
.footer-grid { display: flex; flex-direction: column; gap: 32px; margin-bottom: 24px; }
.footer-brand img { height: 40px; margin-bottom: 12px; }
.footer-desc { font-size: 13px; line-height: 1.6; max-width: 360px; }
.footer-col-title { font-family: var(--font-serif); font-size: 16px; color: #fff; margin-bottom: 12px; }
.footer-links { display: flex; flex-direction: column; gap: 6px; }
.footer-links a {
    font-size: 13px; color: rgba(255,255,255,0.5);
    padding: 4px 0; min-height: 32px; display: flex; align-items: center;
    transition: color var(--transition-fast);
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
    padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.08);
    display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center;
}
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.3); }
.footer-socials { display: flex; gap: 16px; }
.footer-socials a {
    color: rgba(255,255,255,0.4); padding: 4px;
    min-width: 44px; min-height: 44px;
    display: flex; align-items: center; justify-content: center;
    transition: color var(--transition-fast);
}
.footer-socials a:hover { color: #fff; }

/* =======================================
   WHATSAPP FAB
   ======================================= */
.wa-fab {
    position: fixed; bottom: calc(var(--bottom-nav-height) + var(--safe-bottom) + 12px); right: 14px; z-index: 50;
    width: 52px; height: 52px; border-radius: 50%; background: #25D366; color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: transform var(--transition-fast);
}
.wa-fab:active { transform: scale(0.9); }
.wa-fab svg { width: 26px; height: 26px; }

/* =======================================
   TOAST
   ======================================= */
.toast-container {
    position: fixed; top: calc(var(--top-offset) + 8px); left: 16px; right: 16px;
    z-index: 9999;
    display: flex; flex-direction: column; gap: 8px;
    pointer-events: none;
}
.toast {
    padding: 12px 16px; border-radius: var(--radius-md); color: #fff;
    font-size: 13px; font-weight: 600; box-shadow: var(--shadow-lg);
    transform: translateY(-20px); opacity: 0;
    transition: all 0.35s var(--ease-out);
    pointer-events: auto; max-width: 100%;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast-success { background: #059669; }
.toast-error { background: #DC2626; }
.toast-info { background: var(--primary); }

/* =======================================
   ANIMATIONS
   ======================================= */
@keyframes pageReveal { to { opacity: 1; } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes skeleton-shimmer { 0% { background-position: -600px 0; } 100% { background-position: 600px 0; } }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes scrollCarousel { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-50% - 8px)); } }
@keyframes pulse { 0%, 100% { opacity: 0.5; transform: translate(-50%,-50%) scale(1); } 50% { opacity: 1; transform: translate(-50%,-50%) scale(1.08); } }
@keyframes waPulse {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.4); }
    70% { box-shadow: 0 0 0 12px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
@keyframes badgePop {
    0% { transform: scale(0); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

/* =======================================
   RESPONSIVE — TABLET (768px+)
   ======================================= */
@media (min-width: 768px) {
    :root { --header-height: 64px; }
    .container { padding: 0 24px; }
    body { padding-bottom: 0; }

    /* Hide bottom nav on tablet+ */
    #bottom-nav { display: none !important; }

    /* Show desktop menu button as hidden */
    .menu-btn { display: none; }

    /* Hero */
    .hero { padding: calc(var(--top-offset) + 48px) 0 80px; min-height: 70vh; }
    .hero-grid { flex-direction: row; align-items: center; gap: 40px; }
    .hero-content { flex: 1; }
    .hero-img-wrap {
      height: auto;
      flex: 0 0 40%;
      max-width: 420px;
      aspect-ratio: 3/4;
      margin-top: 0;
      position: relative;
    }
    .hero-desc { font-size: 15px; }

    /* Products */
    .products-section { padding: 64px 0; }
    .product-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .product-card-name { font-size: 17px; }
    .product-card-desc { display: block; }
    .product-card-body { padding: 14px 16px 18px; }
    .product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
    .product-card:hover .product-card-img img { transform: scale(1.04); }
    .product-card-overlay { display: block; position: absolute; inset: 0; z-index: 2; opacity: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.3) 100%); transition: opacity 0.4s ease; }
    .product-card:hover .product-card-overlay { opacity: 1; }

    /* Cart panel - right drawer on tablet+ */
    .cart-panel {
        position: absolute; right: 0; top: 0; bottom: 0;
        left: auto; width: 420px; max-height: none;
        border-radius: 0; transform: translateX(100%);
    }
    .cart-overlay.open .cart-panel { transform: translateX(0); }
    .cart-handle { display: none; }
    .cart-items { max-height: none; }

    /* Modal - centered on tablet */
    .modal-overlay { align-items: center; }
    .modal-content {
        max-width: 440px; border-radius: var(--radius-xl);
        border-bottom: 1px solid rgba(255,255,255,0.06);
        max-height: 85vh;
    }

    /* Auth modal */
    .auth-modal { border-radius: var(--radius-xl) !important; padding: 40px !important; }

    /* Story */
    .story-section { padding: 96px 0; }
    .story-grid { flex-direction: row; gap: 48px; align-items: center; }
    .story-img { flex: 0 0 40%; aspect-ratio: 3/4; }

    /* Features */
    .features-section { padding: 64px 0; }
    .features-grid { grid-template-columns: repeat(3, 1fr); }
    .feature-item { flex-direction: column; text-align: center; padding: 32px 24px; }


    /* FAQ */
    .faq-section { padding: 80px 0; }


    /* Footer */
    .site-footer { padding: 48px 0 56px; }
    .footer-grid { flex-direction: row; gap: 48px; }
    .footer-grid > div:first-child { flex: 2; }
    .footer-grid > div:not(:first-child) { flex: 1; }
    .footer-bottom { flex-direction: row; justify-content: space-between; }

    /* WAB fab */
    .wa-fab { bottom: 20px; right: 20px; width: 56px; height: 56px; }
    .wa-fab svg { width: 28px; height: 28px; }

    /* Toast */
    .toast-container { left: auto; right: 24px; max-width: 380px; }
}

/* =======================================
   RESPONSIVE — DESKTOP (1024px+)
   ======================================= */
@media (min-width: 1024px) {
    :root { --header-height: 72px; }

    .hero { padding: calc(var(--top-offset) + 64px) 0 80px; min-height: 80vh; }
    .hero-title { font-size: clamp(3rem, 5vw, 4.5rem); }

    .products-section { padding: 80px 0; }
    .product-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
    .product-card-name { font-size: 17px; }
    .product-card-body { padding: 16px 20px 20px; }

    .story-section, .testimonials-section, .faq-section { padding: 80px 0; }
    .story-grid { gap: 64px; }

    .footer-grid { gap: 64px; }

    .brand-bar { justify-content: center; }
    .brand-bar-inner { max-width: 440px; }
}

/* Brand Specific Sections */

/* Devaramane Collections */
.collections-section {
    padding: 80px 0;
}
.collections-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.collection-card {
    background: #fff;
    border: 1px solid var(--primary);
    padding: 40px 32px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    border-radius: 0; position: relative; overflow: hidden;
    min-height: 200px;
}
.collection-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(184, 134, 11, 0.1);
    background: rgba(184, 134, 11, 0.04);
}
.collection-icon {
    font-size: 32px;
    margin-bottom: 16px;
}
.collection-card h3 {
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.collection-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}
.collection-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Udugore Occasions */
.occasions-section {
  padding: 64px 0;
  background: var(--bg-dark);
  color: #fff;
}
.occasions-header {
  text-align: center;
  margin-bottom: 48px;
}
.occasions-scroll {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.occasion-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: background var(--transition);
}
.occasion-card:hover {
  background: rgba(255,255,255,0.07);
}
.occasion-num {
  font-family: var(--font-serif);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  display: block;
}
.occasion-title {
  font-family: var(--font-serif);
  font-size: 18px;
  margin-bottom: 8px;
  color: #fff;
}
.occasion-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
  line-height: 1.6;
}
.occasion-link {
  color: var(--accent);
  font-size: 13px;
  margin-top: 16px;
  display: inline-block;
}
@media (min-width: 768px) {
  .occasions-scroll {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* =======================================
   FOOTER
   ======================================= */
.site-footer {
    padding: 64px 0 32px;
    background: #0C0A09;
    color: rgba(255, 255, 255, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 48px;
}
.footer-brand img {
    height: 32px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}
.footer-desc {
    font-size: 14px;
    line-height: 1.6;
    max-width: 300px;
}
.footer-col-title {
    color: #ffffff;
    font-weight: 500;
    font-family: var(--font-serif);
    font-size: 18px;
    margin-bottom: 20px;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-links a {
    font-size: 14px;
    transition: color 0.3s ease;
}
.footer-links a:hover {
    color: #fff;
}
.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.footer-copy {
    font-size: 13px;
}
.footer-socials {
    display: flex;
    gap: 16px;
}
.footer-socials a {
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.3s ease, transform 0.3s ease;
}
.footer-socials a:hover {
    color: #fff;
    transform: translateY(-2px);
}
.footer-socials svg {
    width: 20px;
    height: 20px;
}

/* === SCROLL ANIMATIONS === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes lineGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.anim-fadeup {
  opacity: 0;
  animation: fadeInUp 0.7s var(--ease-out) forwards;
}
.anim-fadein-left {
  opacity: 0;
  animation: fadeInLeft 0.7s var(--ease-out) forwards;
}
.anim-fadein-right {
  opacity: 0;
  animation: fadeInRight 0.7s var(--ease-out) forwards;
}
.anim-scalein {
  opacity: 0;
  animation: scaleIn 0.6s var(--ease-out) forwards;
}

/* Stagger delays */
.anim-delay-1 { animation-delay: 0.1s; }
.anim-delay-2 { animation-delay: 0.2s; }
.anim-delay-3 { animation-delay: 0.35s; }
.anim-delay-4 { animation-delay: 0.5s; }
.anim-delay-5 { animation-delay: 0.65s; }

/* Only animate when element is visible */
.anim-hidden {
  opacity: 0 !important;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), 
              transform 0.7s var(--ease-out);
}
.anim-hidden.in-view {
  opacity: 1 !important;
  transform: translateY(0);
}

/* Product card stagger entrance */
.product-card.anim-hidden { transform: translateY(16px) scale(0.98); }
.product-card.anim-hidden.in-view { transform: translateY(0) scale(1); }

/* Hero badge entrance */
.hero-badge {
  animation: fadeInLeft 0.6s var(--ease-out) 0.1s both;
}
.hero-title {
  animation: fadeInUp 0.7s var(--ease-out) 0.2s both;
}
.hero-desc {
  animation: fadeInUp 0.7s var(--ease-out) 0.35s both;
}
.hero-actions {
  animation: fadeInUp 0.6s var(--ease-out) 0.5s both;
}
.hero-img-wrap {
  animation: fadeInRight 0.8s var(--ease-out) 0.3s both;
}

/* Section label line grow */
.section-label::after {
  content: '';
  display: block;
  height: 1px;
  width: 32px;
  background: var(--primary);
  margin-top: 6px;
  transform-origin: left;
  animation: lineGrow 0.5s var(--ease-out) 0.2s both;
}

/* FAQ item open animation */
.faq-item[open] .faq-answer {
  animation: fadeInUp 0.3s var(--ease-out) both;
}

/* Button shimmer on hover */
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255,255,255,0.15) 50%,
    transparent 60%
  );
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}
.btn-primary:hover::after { transform: translateX(100%); }

@media (prefers-reduced-motion: reduce) {
  .anim-hidden,
  .anim-fadeup,
  .anim-fadein-left,
  .anim-fadein-right,
  .anim-scalein,
  .hero-badge,
  .hero-title,
  .hero-desc,
  .hero-actions,
  .hero-img-wrap {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 640px) {
    .collections-grid {
        grid-template-columns: 1fr;
    }
    .occasions-scroll {
        grid-template-columns: 1fr;
    }
}

/* === COLLECTION FAN DECK === */
.coll-section {
  padding: 64px 0 80px;
  background: var(--bg-section-alt);
  overflow: hidden;
}
.coll-header {
  text-align: center;
  margin-bottom: 56px;
}
.coll-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 5vw, 3rem);
  color: var(--text-primary);
  margin-top: 8px;
  line-height: 1.1;
}
.coll-stage-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.coll-deck {
  position: relative;
  width: 300px;
  height: 340px;
  margin: 0 auto;
  /* Extra horizontal overflow for fan spread */
  overflow: visible;
}
.coll-card {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  transform-origin: bottom center;
  will-change: transform;
  border-radius: 2px;
}
.coll-card.is-active { cursor: default; }
.coll-card-inner {
  width: 100%;
  height: 100%;
  background: var(--bg-card);
  border: 1px solid var(--primary);
  border-radius: 2px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  overflow: hidden;
}
.coll-card-num {
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 300;
  color: var(--border-color);
  line-height: 1;
  margin-bottom: 4px;
  display: block;
}
.coll-card-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  display: block;
  margin-bottom: 14px;
}
.coll-card-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 6px;
}
.coll-card-sub {
  font-size: 12px;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 10px;
}
.coll-card-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.75;
  font-weight: 300;
  flex: 1;
}
.coll-card-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  border-bottom: 1px solid var(--primary);
  padding-bottom: 2px;
  transition: opacity 0.2s;
  width: fit-content;
}
.coll-card-link:hover { opacity: 0.6; }
.coll-dots {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}
.coll-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border-color);
  cursor: pointer;
  transition: all 0.3s ease;
}
.coll-dot.active {
  background: var(--primary);
  width: 20px;
  border-radius: 3px;
}
.coll-hint {
  font-size: 11px;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  text-align: center;
  opacity: 0.6;
}

@media (min-width: 768px) {
  .coll-deck {
    width: 360px;
    height: 400px;
  }
  .coll-card-inner { padding: 36px 32px; }
  .coll-card-title { font-size: 26px; }
  .coll-card-num { font-size: 64px; }
}

/* =======================================
   DESKTOP NAVIGATION
   ======================================= */
.desktop-nav {
  display: none;
}
.desktop-nav-actions {
  display: none;
}
@media (min-width: 768px) {
  .menu-btn { display: none !important; }

  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .desktop-nav-link {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    padding: 8px 14px;
    border-radius: var(--radius-md);
    transition: color var(--transition-fast), background var(--transition-fast);
  }
  .desktop-nav-link:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
  }
  .desktop-nav-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    position: absolute;
    right: 24px;
  }
  .desktop-nav-icon-btn {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    color: rgba(255,255,255,0.8);
    transition: background var(--transition-fast), color var(--transition-fast);
  }
  .desktop-nav-icon-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
  }
  .cart-badge-desktop {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--accent);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    height: 14px;
    min-width: 14px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
  }
  .cart-badge-desktop.hidden { display: none; }
}
