/* ============================================================================
   MAIN.CSS — Design System Foundation
   ============================================================================
   Master entry point for the entire CSS architecture.
   Imports all modules in dependency order: reset → tokens → layout → 
   components → responsive → utilities.

   Architecture:
   ┌─────────────────────────────────────────┐
   │  1. Reset          — Browser normalization
   │  2. Design Tokens  — CSS custom properties
   │  3. Typography     — Type scale & rhythm
   │  4. Base Elements  — Raw HTML defaults
   │  5. Animations     — Keyframes & philosophy
   │  6. Utilities      — Atomic helpers
   │  7. Layout         — Grid & container system
   │  8. Components     — UI component library
   │  9. Responsive     — Breakpoint overrides
   └─────────────────────────────────────────┘
   ========================================================================= */


/* ─── 1. CSS RESET ──────────────────────────────────────────────────────────
   Modern, opinionated reset. Removes browser inconsistencies while
   preserving accessibility defaults (focus outlines, reduced-motion).
   ──────────────────────────────────────────────────────────────────────── */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  font-size: 100%; /* 16px base — all rem units reference this */
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--ff-body);
  font-weight: var(--fw-regular);
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  overflow-x: hidden;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

button {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--fw-medium);
  line-height: 1.15;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
  max-width: var(--measure);
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Respect user motion preferences globally */
@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;
  }
}


/* ─── 2. DESIGN TOKENS (CSS Custom Properties) ─────────────────────────────
   Single source of truth for every visual decision.
   Organized: Colors → Typography → Spacing → Elevation → Motion → Misc.
   ──────────────────────────────────────────────────────────────────────── */

:root {
  /* ── Alkebulan Brand Color System ──────────────────────────────────── */
  /*
     Palette sourced directly from brand identity:
     Cream Tan     #B4A086  — CTA buttons, brand accents, underlines
     Cream White   #F5EFE6  — Page backgrounds, warm white surfaces
     Dark Brown    #3B2314  — Primary text, headings, footers
     Mid Brown     #5C3D2E  — Secondary text, hover states
  */

  /* Brand scale — Muted Gold & Burnt Orange */
  --color-brand-50:         #FBF7F0;
  --color-brand-100:        #F4EAD1;
  --color-brand-300:        #E4D09F;
  --color-brand-500:        #CFAD63;   /* Muted Gold */
  --color-brand-700:        #BA4726;   /* Burnt Orange */
  --color-brand-900:        #8A2C10;

  /* Dark scale — Deep Burgundy */
  --color-dark-50:          #FAF2DE;   /* Warm Cream */
  --color-dark-100:         #EEDDBA;
  --color-dark-300:         #B47A80;
  --color-dark-500:         #853840;
  --color-dark-700:         #5E1C21;   /* Deep Burgundy */
  --color-dark-900:         #330A0D;

  /* Semantic surfaces */
  --color-bg-primary:       #FAF2DE;   /* Warm Cream */
  --color-bg-secondary:     #F4EAD1;   /* Slightly deeper cream */
  --color-bg-tertiary:      #EEDDBA;
  --color-bg-elevated:      #FFFFFF;
  --color-bg-inverse:       #5E1C21;   /* Deep Burgundy */

  /* Semantic text */
  --color-text-primary:     #5E1C21;   /* Deep Burgundy */
  --color-text-secondary:   #853840;
  --color-text-tertiary:    #BA4726;   /* Burnt Orange */
  --color-text-inverse:     #FAF2DE;   /* Warm Cream */
  --color-text-brand:       #CFAD63;   /* Muted Gold */
  --color-text-muted:       #A3757A;

  /* Borders */
  --color-border-subtle:    #EEDDBA;
  --color-border-default:   #DFCCAD;
  --color-border-strong:    #CFAD63;
  --color-border-brand:     #BA4726;

  /* Feedback / status */
  --color-success:          hsl(152, 38%, 38%);
  --color-warning:          hsl(38, 85%, 52%);
  --color-error:            hsl(4, 60%, 48%);
  --color-info:             hsl(205, 50%, 48%);

  /* Overlays & glass */
  --color-overlay:          hsla(355, 54%, 10%, 0.6); /* Deep Burgundy tint */
  --color-glass:            hsla(42, 60%, 95%, 0.85); /* Warm Cream tint */
  --color-glass-border:     hsla(42, 40%, 80%, 0.40);


  /* ── Typography ─────────────────────────────────────────────────────── */

  /* Font families — Alkebulan brand fonts */
  --ff-display:  'Museo', 'Playfair Display', 'Georgia', serif;
  --ff-body:     'Museo', 'Playfair Display', 'Georgia', serif;
  --ff-mono:     'JetBrains Mono', 'Fira Code', 'Consolas', monospace;

  /* Font weights */
  --fw-light:     300;
  --fw-regular:   400;
  --fw-medium:    500;
  --fw-semibold:  600;
  --fw-bold:      700;

  /* Type scale — Minor Third (1.2) for mobile, Major Third (1.25) for desktop
     Fluid clamp values provide smooth scaling between breakpoints */
  --fs-2xs:    clamp(0.625rem,  0.59rem  + 0.18vw,  0.75rem);     /* 10–12px */
  --fs-xs:     clamp(0.75rem,   0.72rem  + 0.18vw,  0.8125rem);   /* 12–13px */
  --fs-sm:     clamp(0.8125rem, 0.78rem  + 0.18vw,  0.875rem);    /* 13–14px */
  --fs-base:   clamp(0.875rem,  0.83rem  + 0.22vw,  1rem);        /* 14–16px */
  --fs-md:     clamp(1rem,      0.93rem  + 0.36vw,  1.125rem);    /* 16–18px */
  --fs-lg:     clamp(1.125rem,  1.02rem  + 0.54vw,  1.25rem);     /* 18–20px */
  --fs-xl:     clamp(1.25rem,   1.09rem  + 0.8vw,   1.5rem);      /* 20–24px */
  --fs-2xl:    clamp(1.5rem,    1.27rem  + 1.15vw,  1.875rem);    /* 24–30px */
  --fs-3xl:    clamp(1.875rem,  1.52rem  + 1.78vw,  2.5rem);      /* 30–40px */
  --fs-4xl:    clamp(2.25rem,   1.75rem  + 2.5vw,   3.25rem);     /* 36–52px */
  --fs-5xl:    clamp(2.75rem,   2rem     + 3.75vw,  4.5rem);      /* 44–72px */
  --fs-6xl:    clamp(3.5rem,    2.4rem   + 5.5vw,   6rem);        /* 56–96px */

  /* Line heights */
  --lh-tight:    1.1;
  --lh-snug:     1.25;
  --lh-normal:   1.5;
  --lh-relaxed:  1.65;
  --lh-loose:    1.8;

  /* Letter spacing */
  --ls-tight:    -0.02em;
  --ls-normal:    0;
  --ls-wide:      0.04em;
  --ls-wider:     0.08em;
  --ls-widest:    0.16em;
  --ls-luxury:    0.24em;

  /* Measure (max line width for readability) */
  --measure:      65ch;
  --measure-wide: 80ch;
  --measure-narrow: 45ch;


  /* ── Spacing System ─────────────────────────────────────────────────── */
  /* 4px base unit. Consistent, Apple-quality vertical rhythm.            */

  --space-1:     0.25rem;   /*  4px  */
  --space-2:     0.5rem;    /*  8px  */
  --space-3:     0.75rem;   /* 12px  */
  --space-4:     1rem;      /* 16px  */
  --space-5:     1.25rem;   /* 20px  */
  --space-6:     1.5rem;    /* 24px  */
  --space-8:     2rem;      /* 32px  */
  --space-10:    2.5rem;    /* 40px  */
  --space-12:    3rem;      /* 48px  */
  --space-16:    4rem;      /* 64px  */
  --space-20:    5rem;      /* 80px  */
  --space-24:    6rem;      /* 96px  */
  --space-32:    8rem;      /* 128px */
  --space-40:    10rem;     /* 160px */
  --space-48:    12rem;     /* 192px */

  /* Fluid section spacing — breathes between mobile/desktop */
  --section-sm:  clamp(2.5rem,  2rem   + 2.5vw,  4rem);
  --section-md:  clamp(4rem,    3rem   + 5vw,    7rem);
  --section-lg:  clamp(6rem,    4.5rem + 7.5vw,  10rem);
  --section-xl:  clamp(8rem,    6rem   + 10vw,   14rem);


  /* ── Elevation (Shadows) ────────────────────────────────────────────── */
  /* Leather-warm shadow tinting. Flat luxury — no harsh blacks.          */

  --shadow-xs:    0 1px 2px  hsla(18, 55%, 14%, 0.04);
  --shadow-sm:    0 1px 3px  hsla(18, 55%, 14%, 0.06),
                  0 1px 2px  hsla(18, 55%, 14%, 0.03);
  --shadow-md:    0 4px 12px hsla(18, 55%, 14%, 0.07),
                  0 2px 4px  hsla(18, 55%, 14%, 0.04);
  --shadow-lg:    0 8px 24px  hsla(18, 55%, 14%, 0.08),
                  0 4px 8px  hsla(18, 55%, 14%, 0.04);
  --shadow-xl:    0 16px 40px hsla(18, 55%, 14%, 0.10),
                  0 6px 12px hsla(18, 55%, 14%, 0.05);
  --shadow-2xl:   0 24px 64px hsla(18, 55%, 14%, 0.14);

  /* Brand + accent glow shadows */
  --shadow-brand:  0 4px 20px hsla(33, 27%, 62%, 0.30);
  --shadow-accent: 0 4px 20px hsla(18, 55%, 14%, 0.20);


  /* ── Border Radius ──────────────────────────────────────────────────── */

  --radius-xs:    0.125rem;  /* 2px  */
  --radius-sm:    0.25rem;   /* 4px  */
  --radius-md:    0.5rem;    /* 8px  */
  --radius-lg:    0.75rem;   /* 12px */
  --radius-xl:    1rem;      /* 16px */
  --radius-2xl:   1.5rem;    /* 24px */
  --radius-full:  9999px;


  /* ── Motion / Transitions ───────────────────────────────────────────── */
  /* Luxury = deliberate, smooth, never jarring.                          */

  /* Durations */
  --duration-instant:   100ms;
  --duration-fast:      200ms;
  --duration-normal:    300ms;
  --duration-slow:      500ms;
  --duration-slower:    700ms;
  --duration-deliberate: 1000ms;

  /* Easings — custom cubic-bezier for organic, premium feel */
  --ease-out:           cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out-expo:      cubic-bezier(0.19, 1, 0.22, 1);
  --ease-in-out:        cubic-bezier(0.42, 0, 0.58, 1);
  --ease-in-out-sine:   cubic-bezier(0.37, 0, 0.63, 1);
  --ease-spring:        cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-luxury:        cubic-bezier(0.16, 1, 0.3, 1);

  /* Transition presets */
  --transition-fast:    var(--duration-fast)    var(--ease-out);
  --transition-normal:  var(--duration-normal)  var(--ease-out);
  --transition-slow:    var(--duration-slow)    var(--ease-luxury);
  --transition-spring:  var(--duration-normal)  var(--ease-spring);


  /* ── Z-Index Scale ──────────────────────────────────────────────────── */

  --z-below:      -1;
  --z-base:        0;
  --z-raised:      1;
  --z-dropdown:    100;
  --z-sticky:      200;
  --z-overlay:     300;
  --z-modal:       400;
  --z-popover:     500;
  --z-toast:       600;
  --z-max:         9999;


  /* ── Layout ─────────────────────────────────────────────────────────── */

  --container-max:     1440px;
  --container-wide:    1200px;
  --container-content: 960px;
  --container-narrow:  720px;
  --container-tight:   540px;

  --gutter:            clamp(1rem, 0.5rem + 2.5vw, 2rem);
  --grid-gap:          clamp(1rem, 0.75rem + 1.25vw, 1.5rem);
}


/* ─── 3. BASE TYPOGRAPHY ────────────────────────────────────────────────────
   Default styling for typographic HTML elements.
   These establish the vertical rhythm and visual hierarchy.
   ──────────────────────────────────────────────────────────────────────── */

h1 {
  font-family: var(--ff-display);
  font-size: var(--fs-5xl);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-tight);
  color: var(--color-dark-700); /* Dark Leather Brown */
}

h2 {
  font-family: var(--ff-display);
  font-size: var(--fs-4xl);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-tight);
}

h3 {
  font-family: var(--ff-display);
  font-size: var(--fs-3xl);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-normal);
  line-height: var(--lh-snug);
}

h4 {
  font-family: var(--ff-body);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-medium);
  line-height: var(--lh-snug);
}

h5 {
  font-family: var(--ff-body);
  font-size: var(--fs-xl);
  font-weight: var(--fw-medium);
  line-height: var(--lh-snug);
}

h6 {
  font-family: var(--ff-body);
  font-size: var(--fs-lg);
  font-weight: var(--fw-medium);
  line-height: var(--lh-normal);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}

p {
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  color: var(--color-text-secondary);
}

small {
  font-size: var(--fs-sm);
}

strong {
  font-weight: var(--fw-semibold);
}

em {
  font-style: italic;
}

blockquote {
  border-left: 3px solid var(--color-brand-400);
  padding-left: var(--space-6);
  font-family: var(--ff-display);
  font-size: var(--fs-lg);
  font-style: italic;
  color: var(--color-text-secondary);
}

/* Selection styling — warm Cream Tan highlight */
::selection {
  background-color: var(--color-brand-300);
  color: var(--color-dark-700);
}

/* Focus visible — Cream Tan outline, accessible and on-brand */
:focus-visible {
  outline: 2px solid var(--color-brand-500);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}


/* ─── 4. BASE ANIMATION KEYFRAMES ───────────────────────────────────────────
   Philosophy: Motion should feel INTENTIONAL, never decorative.
   - Entrances: elements rise gently into place (gravity-defying = luxury)
   - Exits: elements recede quickly (respect user's time)
   - Interactions: immediate tactile feedback with subtle overshoot
   - Reveals: staggered, orchestrated sequences for storytelling
   ──────────────────────────────────────────────────────────────────────── */

/* Fade in — universal entrance */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Fade up — primary content reveal (hero, sections) */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fade down — dropdown/menu entrance */
@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scale in — modal/overlay entrance */
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Slide in from right — drawer/panel */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Slide in from left — navigation */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Gentle float — decorative ambient motion */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* Shimmer — loading placeholder effect */
@keyframes shimmer {
  from { background-position: -200% 0; }
  to   { background-position: 200% 0; }
}

/* Pulse — subtle attention indicator */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.6; }
}

/* Reveal line — luxury underline animation */
@keyframes revealLine {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* Stagger delay custom properties for JS-free staggering */
[data-animate] {
  --stagger: 0;
  animation-delay: calc(var(--stagger) * 80ms);
}


/* ─── 5. UTILITY CLASSES ────────────────────────────────────────────────────
   Atomic helpers for rapid prototyping and edge cases.
   Use sparingly — prefer semantic component classes.
   ──────────────────────────────────────────────────────────────────────── */

/* ── Display ──────────────────────────────────────────────────────────── */
.d-none          { display: none; }
.d-block         { display: block; }
.d-inline        { display: inline; }
.d-inline-block  { display: inline-block; }
.d-flex          { display: flex; }
.d-inline-flex   { display: inline-flex; }
.d-grid          { display: grid; }

/* ── Flexbox ──────────────────────────────────────────────────────────── */
.flex-row        { flex-direction: row; }
.flex-col        { flex-direction: column; }
.flex-wrap       { flex-wrap: wrap; }
.flex-nowrap     { flex-wrap: nowrap; }
.flex-1          { flex: 1 1 0%; }
.flex-auto       { flex: 1 1 auto; }
.flex-none       { flex: none; }

.items-start     { align-items: flex-start; }
.items-center    { align-items: center; }
.items-end       { align-items: flex-end; }
.items-stretch   { align-items: stretch; }
.items-baseline  { align-items: baseline; }

.justify-start   { justify-content: flex-start; }
.justify-center  { justify-content: center; }
.justify-end     { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.justify-around  { justify-content: space-around; }
.justify-evenly  { justify-content: space-evenly; }

.self-start      { align-self: flex-start; }
.self-center     { align-self: center; }
.self-end        { align-self: flex-end; }

/* ── Gap ──────────────────────────────────────────────────────────────── */
.gap-1           { gap: var(--space-1); }
.gap-2           { gap: var(--space-2); }
.gap-3           { gap: var(--space-3); }
.gap-4           { gap: var(--space-4); }
.gap-6           { gap: var(--space-6); }
.gap-8           { gap: var(--space-8); }
.gap-10          { gap: var(--space-10); }
.gap-12          { gap: var(--space-12); }
.gap-16          { gap: var(--space-16); }

/* ── Text alignment ───────────────────────────────────────────────────── */
.text-left       { text-align: left; }
.text-center     { text-align: center; }
.text-right      { text-align: right; }

/* ── Text size ────────────────────────────────────────────────────────── */
.text-xs         { font-size: var(--fs-xs); }
.text-sm         { font-size: var(--fs-sm); }
.text-base       { font-size: var(--fs-base); }
.text-md         { font-size: var(--fs-md); }
.text-lg         { font-size: var(--fs-lg); }
.text-xl         { font-size: var(--fs-xl); }
.text-2xl        { font-size: var(--fs-2xl); }
.text-3xl        { font-size: var(--fs-3xl); }
.text-4xl        { font-size: var(--fs-4xl); }

/* ── Font family ──────────────────────────────────────────────────────── */
.font-display    { font-family: var(--ff-display); }
.font-body       { font-family: var(--ff-body); }
.font-mono       { font-family: var(--ff-mono); }

/* ── Font weight ──────────────────────────────────────────────────────── */
.fw-light        { font-weight: var(--fw-light); }
.fw-regular      { font-weight: var(--fw-regular); }
.fw-medium       { font-weight: var(--fw-medium); }
.fw-semibold     { font-weight: var(--fw-semibold); }
.fw-bold         { font-weight: var(--fw-bold); }

/* ── Letter spacing ───────────────────────────────────────────────────── */
.ls-tight        { letter-spacing: var(--ls-tight); }
.ls-normal       { letter-spacing: var(--ls-normal); }
.ls-wide         { letter-spacing: var(--ls-wide); }
.ls-wider        { letter-spacing: var(--ls-wider); }
.ls-widest       { letter-spacing: var(--ls-widest); }
.ls-luxury       { letter-spacing: var(--ls-luxury); }

/* ── Text transform ──────────────────────────────────────────────────── */
.uppercase       { text-transform: uppercase; }
.lowercase       { text-transform: lowercase; }
.capitalize      { text-transform: capitalize; }
.normal-case     { text-transform: none; }

/* ── Text colors ──────────────────────────────────────────────────────── */
.text-primary    { color: var(--color-text-primary); }
.text-secondary  { color: var(--color-text-secondary); }
.text-tertiary   { color: var(--color-text-tertiary); }
.text-inverse    { color: var(--color-text-inverse); }
.text-brand      { color: var(--color-text-brand); }
.text-accent     { color: var(--color-text-accent); }

/* ── Background colors ────────────────────────────────────────────────── */
.bg-primary      { background-color: var(--color-bg-primary); }
.bg-secondary    { background-color: var(--color-bg-secondary); }
.bg-tertiary     { background-color: var(--color-bg-tertiary); }
.bg-inverse      { background-color: var(--color-bg-inverse); }

/* ── Margins (m = margin) ─────────────────────────────────────────────── */
.m-auto          { margin: auto; }
.mx-auto         { margin-left: auto; margin-right: auto; }
.my-auto         { margin-top: auto; margin-bottom: auto; }

.mt-1  { margin-top: var(--space-1); }
.mt-2  { margin-top: var(--space-2); }
.mt-3  { margin-top: var(--space-3); }
.mt-4  { margin-top: var(--space-4); }
.mt-6  { margin-top: var(--space-6); }
.mt-8  { margin-top: var(--space-8); }
.mt-10 { margin-top: var(--space-10); }
.mt-12 { margin-top: var(--space-12); }
.mt-16 { margin-top: var(--space-16); }

.mb-1  { margin-bottom: var(--space-1); }
.mb-2  { margin-bottom: var(--space-2); }
.mb-3  { margin-bottom: var(--space-3); }
.mb-4  { margin-bottom: var(--space-4); }
.mb-6  { margin-bottom: var(--space-6); }
.mb-8  { margin-bottom: var(--space-8); }
.mb-10 { margin-bottom: var(--space-10); }
.mb-12 { margin-bottom: var(--space-12); }
.mb-16 { margin-bottom: var(--space-16); }

/* ── Padding ──────────────────────────────────────────────────────────── */
.p-0   { padding: 0; }
.p-1   { padding: var(--space-1); }
.p-2   { padding: var(--space-2); }
.p-3   { padding: var(--space-3); }
.p-4   { padding: var(--space-4); }
.p-6   { padding: var(--space-6); }
.p-8   { padding: var(--space-8); }

.px-4  { padding-left: var(--space-4); padding-right: var(--space-4); }
.px-6  { padding-left: var(--space-6); padding-right: var(--space-6); }
.px-8  { padding-left: var(--space-8); padding-right: var(--space-8); }

.py-4  { padding-top: var(--space-4); padding-bottom: var(--space-4); }
.py-6  { padding-top: var(--space-6); padding-bottom: var(--space-6); }
.py-8  { padding-top: var(--space-8); padding-bottom: var(--space-8); }
.py-12 { padding-top: var(--space-12); padding-bottom: var(--space-12); }
.py-16 { padding-top: var(--space-16); padding-bottom: var(--space-16); }

/* ── Widths ────────────────────────────────────────────────────────────── */
.w-full          { width: 100%; }
.w-auto          { width: auto; }
.w-screen        { width: 100vw; }
.max-w-content   { max-width: var(--container-content); }
.max-w-narrow    { max-width: var(--container-narrow); }
.max-w-tight     { max-width: var(--container-tight); }

/* ── Heights ──────────────────────────────────────────────────────────── */
.h-full          { height: 100%; }
.h-screen        { height: 100vh; height: 100dvh; }
.min-h-screen    { min-height: 100vh; min-height: 100dvh; }

/* ── Positioning ──────────────────────────────────────────────────────── */
.relative        { position: relative; }
.absolute        { position: absolute; }
.fixed           { position: fixed; }
.sticky          { position: sticky; }
.inset-0         { top: 0; right: 0; bottom: 0; left: 0; }

/* ── Overflow ─────────────────────────────────────────────────────────── */
.overflow-hidden  { overflow: hidden; }
.overflow-auto    { overflow: auto; }
.overflow-x-auto  { overflow-x: auto; }
.overflow-y-auto  { overflow-y: auto; }

/* ── Border radius ────────────────────────────────────────────────────── */
.rounded-sm      { border-radius: var(--radius-sm); }
.rounded-md      { border-radius: var(--radius-md); }
.rounded-lg      { border-radius: var(--radius-lg); }
.rounded-xl      { border-radius: var(--radius-xl); }
.rounded-2xl     { border-radius: var(--radius-2xl); }
.rounded-full    { border-radius: var(--radius-full); }

/* ── Shadows ──────────────────────────────────────────────────────────── */
.shadow-sm       { box-shadow: var(--shadow-sm); }
.shadow-md       { box-shadow: var(--shadow-md); }
.shadow-lg       { box-shadow: var(--shadow-lg); }
.shadow-xl       { box-shadow: var(--shadow-xl); }
.shadow-2xl      { box-shadow: var(--shadow-2xl); }

/* ── Visibility / SR-only ─────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.visible         { visibility: visible; }
.invisible       { visibility: hidden; }
.opacity-0       { opacity: 0; }
.opacity-50      { opacity: 0.5; }
.opacity-100     { opacity: 1; }

/* ── Cursor ───────────────────────────────────────────────────────────── */
.cursor-pointer  { cursor: pointer; }
.cursor-default  { cursor: default; }
.cursor-not-allowed { cursor: not-allowed; }

/* ── Truncation ───────────────────────────────────────────────────────── */
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Aspect ratios ────────────────────────────────────────────────────── */
.aspect-square   { aspect-ratio: 1 / 1; }
.aspect-video    { aspect-ratio: 16 / 9; }
.aspect-portrait { aspect-ratio: 3 / 4; }
.aspect-product  { aspect-ratio: 4 / 5; }

/* ── Object fit ───────────────────────────────────────────────────────── */
.object-cover    { object-fit: cover; }
.object-contain  { object-fit: contain; }
.object-center   { object-position: center; }

/* ── Pointer events ───────────────────────────────────────────────────── */
.pointer-events-none { pointer-events: none; }
.pointer-events-auto { pointer-events: auto; }

/* ── Transitions ──────────────────────────────────────────────────────── */
.transition-all {
  transition: all var(--transition-normal);
}

.transition-colors {
  transition: color var(--transition-fast),
              background-color var(--transition-fast),
              border-color var(--transition-fast);
}

.transition-transform {
  transition: transform var(--transition-normal);
}

.transition-opacity {
  transition: opacity var(--transition-normal);
}

.transition-shadow {
  transition: box-shadow var(--transition-normal);
}


/* ─── MODULE IMPORTS ────────────────────────────────────────────────────────
   In production, either concatenate files or use @import.
   @import url('layout.css');
   @import url('components.css');
   @import url('responsive.css');
   ──────────────────────────────────────────────────────────────────────── */
/* ============================================================================
   LAYOUT.CSS — Container System & Luxury Grid
   ============================================================================
   Handles all structural layout: containers, grids, sectioning, and 
   spatial composition. Mobile-first, fluid, and scale-aware.

   Principles:
   • Containers provide consistent horizontal boundaries
   • Grids adapt columns based on content needs, not arbitrary breakpoints
   • Sections own their vertical rhythm via fluid spacing tokens
   • Everything aligns to the 4px spatial grid from main.css
   ========================================================================= */


/* ─── 1. CONTAINER SYSTEM ───────────────────────────────────────────────────
   Responsive, centered content containers with fluid gutters.
   The gutter grows from 16px (mobile) → 32px (desktop) automatically.
   ──────────────────────────────────────────────────────────────────────── */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* Size variants — use semantically, not by pixel width */
.container--wide {
  max-width: var(--container-wide);
}

.container--content {
  max-width: var(--container-content);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.container--tight {
  max-width: var(--container-tight);
}

/* Full-bleed: breaks out of parent container to span viewport */
.container--bleed {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}


/* ─── 2. SECTION SYSTEM ────────────────────────────────────────────────────
   Sections provide vertical rhythm for page composition.
   Each section defines its own breathing room via fluid spacing tokens.
   
   Usage:
     <section class="section">           → standard
     <section class="section section--lg"> → generous spacing
   ──────────────────────────────────────────────────────────────────────── */

.section {
  padding-top: var(--section-md);
  padding-bottom: var(--section-md);
}

.section--sm {
  padding-top: var(--section-sm);
  padding-bottom: var(--section-sm);
}

.section--lg {
  padding-top: var(--section-lg);
  padding-bottom: var(--section-lg);
}

.section--xl {
  padding-top: var(--section-xl);
  padding-bottom: var(--section-xl);
}

/* Flush variants — remove padding from one side */
.section--flush-top    { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }

/* Section with subtle background separation */
.section--alt {
  background-color: var(--color-bg-secondary);
}

.section--dark {
  background-color: var(--color-bg-inverse);
  color: var(--color-text-inverse);
}

.section--dark p {
  color: var(--color-neutral-300);
}


/* ─── 3. LUXURY GRID SYSTEM ────────────────────────────────────────────────
   CSS Grid based. Mobile-first with auto-fit/auto-fill for intrinsic
   responsiveness (fewer breakpoints needed).

   The grid system uses two approaches:
   A) Fixed-column grids for known layouts (product grids, etc.)
   B) Auto-responsive grids for fluid, card-based layouts
   ──────────────────────────────────────────────────────────────────────── */

/* ── A) Fixed Column Grid ────────────────────────────────────────────── */

.grid {
  display: grid;
  gap: var(--grid-gap);
}

/* Explicit column variants */
.grid--cols-1  { grid-template-columns: 1fr; }
.grid--cols-2  { grid-template-columns: repeat(2, 1fr); }
.grid--cols-3  { grid-template-columns: repeat(3, 1fr); }
.grid--cols-4  { grid-template-columns: repeat(4, 1fr); }
.grid--cols-5  { grid-template-columns: repeat(5, 1fr); }
.grid--cols-6  { grid-template-columns: repeat(6, 1fr); }

/* 12-column system for complex layouts */
.grid--cols-12 { grid-template-columns: repeat(12, 1fr); }

/* Spanning within 12-col grid */
.col-span-1   { grid-column: span 1; }
.col-span-2   { grid-column: span 2; }
.col-span-3   { grid-column: span 3; }
.col-span-4   { grid-column: span 4; }
.col-span-5   { grid-column: span 5; }
.col-span-6   { grid-column: span 6; }
.col-span-7   { grid-column: span 7; }
.col-span-8   { grid-column: span 8; }
.col-span-9   { grid-column: span 9; }
.col-span-10  { grid-column: span 10; }
.col-span-11  { grid-column: span 11; }
.col-span-12  { grid-column: span 12; }
.col-span-full { grid-column: 1 / -1; }

/* Row spanning */
.row-span-2   { grid-row: span 2; }
.row-span-3   { grid-row: span 3; }


/* ── B) Auto-Responsive Grid ────────────────────────────────────────── */
/* Items auto-fill/fit columns. Set --grid-min to control min item width. */

.grid--auto {
  --grid-min: 280px;
  grid-template-columns: repeat(auto-fill, minmax(var(--grid-min), 1fr));
}

.grid--auto-fit {
  --grid-min: 280px;
  grid-template-columns: repeat(auto-fit, minmax(var(--grid-min), 1fr));
}

/* Preset min-widths for common use cases */
.grid--auto-sm  { --grid-min: 200px; }
.grid--auto-md  { --grid-min: 280px; }
.grid--auto-lg  { --grid-min: 360px; }
.grid--auto-xl  { --grid-min: 440px; }


/* ── Grid Gap Variants ───────────────────────────────────────────────── */

.grid--gap-none { gap: 0; }
.grid--gap-xs   { gap: var(--space-2); }
.grid--gap-sm   { gap: var(--space-4); }
.grid--gap-md   { gap: var(--grid-gap); }
.grid--gap-lg   { gap: var(--space-8); }
.grid--gap-xl   { gap: var(--space-12); }

/* Asymmetric gaps for editorial layouts */
.grid--gap-asymmetric {
  column-gap: var(--grid-gap);
  row-gap: var(--space-10);
}


/* ── Grid Alignment ──────────────────────────────────────────────────── */

.grid--items-start    { align-items: start; }
.grid--items-center   { align-items: center; }
.grid--items-end      { align-items: end; }
.grid--items-stretch  { align-items: stretch; }

.grid--content-start  { align-content: start; }
.grid--content-center { align-content: center; }

.grid--place-center {
  place-items: center;
  place-content: center;
}


/* ─── 4. LUXURY LAYOUT COMPOSITIONS ────────────────────────────────────────
   Pre-built layout patterns for luxury ecommerce pages.
   These are opinionated compositions built on the grid system.
   ──────────────────────────────────────────────────────────────────────── */

/* Split layout — 50/50, image + content (hero, about) */
.layout-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}

/* Asymmetric split — larger visual, smaller text (product feature) */
.layout-asymmetric {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}

/* Sidebar layout — main content with sidebar */
.layout-sidebar {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

/* Stack layout — vertical stack with consistent spacing */
.layout-stack {
  display: flex;
  flex-direction: column;
}

.layout-stack > * + * {
  margin-top: var(--space-6);
}

.layout-stack--sm > * + * { margin-top: var(--space-3); }
.layout-stack--md > * + * { margin-top: var(--space-6); }
.layout-stack--lg > * + * { margin-top: var(--space-10); }
.layout-stack--xl > * + * { margin-top: var(--space-16); }

/* Cluster — horizontal flow with wrapping (tags, badges, pill lists) */
.layout-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

/* Switcher — horizontal until items get too narrow, then stack */
.layout-switcher {
  --switcher-threshold: 500px;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
}

.layout-switcher > * {
  flex-grow: 1;
  flex-basis: calc((var(--switcher-threshold) - 100%) * 999);
}

/* Center layout — perfectly centered content block */
.layout-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.layout-center > * {
  max-width: var(--measure);
}

/* Cover layout — full-height with centered principal element */
.layout-cover {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  padding: var(--space-4);
}

.layout-cover > * {
  margin-top: var(--space-4);
  margin-bottom: var(--space-4);
}

.layout-cover > .layout-cover__principal {
  margin-top: auto;
  margin-bottom: auto;
}


/* ─── 5. PRODUCT GRID LAYOUTS ──────────────────────────────────────────────
   Specialized grid patterns for ecommerce product displays.
   ──────────────────────────────────────────────────────────────────────── */

/* Standard product grid — 1 col on mobile, scales up */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

/* Featured product grid — first item spans 2 columns */
.product-grid--featured {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

.product-grid--featured > :first-child {
  grid-column: 1 / -1;
}

/* Masonry-style grid (CSS-only approximation) */
.product-grid--masonry {
  columns: 2;
  column-gap: var(--space-4);
}

.product-grid--masonry > * {
  break-inside: avoid;
  margin-bottom: var(--space-4);
}

/* Lookbook grid — editorial, asymmetric layout */
.lookbook-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}


/* ─── 6. SCROLL & OVERFLOW PATTERNS ───────────────────────────────────────
   Horizontal scroll containers for mobile-first carousels.
   ──────────────────────────────────────────────────────────────────────── */

.scroll-x {
  display: flex;
  gap: var(--space-4);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  padding-bottom: var(--space-2); /* Prevents shadow clipping */
}

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

.scroll-x > * {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

/* Scroll item widths */
.scroll-item--sm   { width: 200px; }
.scroll-item--md   { width: 280px; }
.scroll-item--lg   { width: 360px; }
.scroll-item--full { width: 85vw; max-width: 520px; }


/* ─── 7. DECORATIVE DIVIDERS ──────────────────────────────────────────────
   Visual separators between sections. Luxury = subtle.
   ──────────────────────────────────────────────────────────────────────── */

.divider {
  border: none;
  height: 1px;
  background-color: var(--color-border-subtle);
  margin-top: var(--section-sm);
  margin-bottom: var(--section-sm);
}

.divider--brand {
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--color-brand-400) 30%,
    var(--color-brand-400) 70%,
    transparent 100%
  );
  max-width: 120px;
  margin-left: auto;
  margin-right: auto;
}

.divider--wide {
  max-width: 240px;
  margin-left: auto;
  margin-right: auto;
}

.divider--dark {
  background-color: var(--color-neutral-700);
}


/* ─── 8. SPACER UTILITY ───────────────────────────────────────────────────
   Explicit vertical space between elements.
   Prefer section padding or layout-stack spacing; use spacers sparingly.
   ──────────────────────────────────────────────────────────────────────── */

.spacer--sm  { height: var(--section-sm); }
.spacer--md  { height: var(--section-md); }
.spacer--lg  { height: var(--section-lg); }
.spacer--xl  { height: var(--section-xl); }
/* ============================================================================
   NAVBAR.CSS — Luxury Navigation System
   ============================================================================
   Standalone navbar stylesheet for Alkebulan Leather.
   Imports no frameworks. Depends only on design tokens from main.css.

   Sections:
   1. Announcement Bar
   2. Navbar — Base & States
   3. Brand Wordmark
   4. Desktop Nav Links
   5. Navbar Actions (cart, menu icon)
   6. Hamburger Toggle
   7. Mobile Full-Screen Navigation
   8. Mobile Nav Inner Elements
   9. Active Link Indicator
   10. Scroll-State Transitions
   ========================================================================= */


/* ─── 1. ANNOUNCEMENT BAR ──────────────────────────────────────────────────
   Slim promotional strip above the navbar.
   ──────────────────────────────────────────────────────────────────────── */

.site-announcement {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: var(--space-2) var(--gutter);
  padding-right: calc(var(--gutter) + 32px); /* room for close btn */
  background-color: var(--color-neutral-900);
  color: var(--color-neutral-0);
  font-size: var(--fs-2xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-luxury);
  text-transform: uppercase;
  text-align: center;
  z-index: var(--z-sticky);
  transition: max-height var(--transition-slow), opacity var(--transition-slow);
  overflow: hidden;
  max-height: 60px;
}

.site-announcement.hidden {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
}

.site-announcement__text a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: inherit;
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.site-announcement__text a:hover {
  opacity: 1;
}

.site-announcement__close {
  position: absolute;
  right: var(--space-4);
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  opacity: 0.5;
  border-radius: var(--radius-full);
  transition: opacity var(--transition-fast), background-color var(--transition-fast);
}

.site-announcement__close:hover {
  opacity: 1;
  background-color: hsla(30, 20%, 100%, 0.1);
}

.site-announcement__close svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
}


/* ─── 2. NAVBAR — BASE & STATES ────────────────────────────────────────────
   Fixed to top. Transparent by default; glass on scroll.
   ──────────────────────────────────────────────────────────────────────── */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  /* Offset for announcement bar height — updated via JS */
  --announcement-height: 36px;
}

/* When announcement bar is visible, shift header down */
.site-header.has-announcement {
  top: var(--announcement-height);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 var(--gutter);
  background-color: hsl(30, 30%, 98%);
  border-bottom: 1px solid var(--color-border-subtle);
  transition:
    background-color   var(--duration-slow)     var(--ease-luxury),
    border-color       var(--duration-slow)     var(--ease-luxury),
    box-shadow         var(--duration-slow)     var(--ease-luxury),
    backdrop-filter    var(--duration-slow)     var(--ease-luxury),
    min-height         var(--duration-slow)     var(--ease-luxury);
}

/* Scrolled: shrink height, glass background */
.navbar.scrolled {
  min-height: 56px;
  background-color: hsla(30, 30%, 98%, 0.82);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom-color: hsla(30, 10%, 90%, 0.6);
  box-shadow: 0 1px 0 hsla(30, 10%, 20%, 0.05),
              0 4px 24px hsla(30, 10%, 20%, 0.06);
}

/* Transparent variant: used when hero image is directly under navbar */
.navbar--hero {
  background-color: transparent;
  border-bottom-color: transparent;
}

.navbar--hero.scrolled {
  background-color: hsla(30, 30%, 98%, 0.88);
  border-bottom-color: hsla(30, 10%, 90%, 0.5);
}


/* ─── 3. BRAND WORDMARK ─────────────────────────────────────────────────────
   "ALKEBULAN / LEATHER" editorial stacked lockup.
   ──────────────────────────────────────────────────────────────────────── */

.navbar__brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-decoration: none;
  gap: var(--space-3);
  z-index: var(--z-raised);
  flex-shrink: 0;
  transition: opacity var(--transition-fast);
}

.navbar__brand:hover {
  opacity: 0.75;
}

.navbar__brand-name {
  font-family: var(--ff-display);
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--color-text-primary);
  line-height: 1;
}

.navbar__brand-primary {
  font-family: var(--ff-display);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-luxury);
  text-transform: uppercase;
  color: var(--color-neutral-900);
  line-height: 1;
}

.navbar__brand-sub {
  font-family: var(--ff-body);
  font-size: var(--fs-2xs);
  font-weight: var(--fw-regular);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--color-text-tertiary);
  line-height: 1;
}


/* ─── 4. DESKTOP NAV LINKS ──────────────────────────────────────────────────
   Minimal uppercase lettered links with animated underline reveal.
   Hidden on mobile; visible from ≥ 768px via responsive.css.
   ──────────────────────────────────────────────────────────────────────── */

.navbar__nav {
  display: none;
  align-items: center;
  list-style: none;
  gap: var(--space-10);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.navbar__nav-item {
  position: relative;
}

.navbar__nav-link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--color-text-primary);
  text-decoration: none;
  padding: var(--space-2) 0;
  transition: color var(--transition-fast);
}

/* Underline reveal — scales from center */
.navbar__nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color-brand-500);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--duration-normal) var(--ease-luxury);
}

.navbar__nav-link:hover {
  color: var(--color-brand-600);
}

.navbar__nav-link:hover::after,
.navbar__nav-link.active::after {
  transform: scaleX(1);
}

/* Active state */
.navbar__nav-link.active {
  color: var(--color-brand-600);
}


/* ─── 5. NAVBAR ACTIONS ─────────────────────────────────────────────────────
   Right-side icon cluster: bag icon + hamburger.
   ──────────────────────────────────────────────────────────────────────── */

.navbar__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  z-index: var(--z-raised);
}

/* Icon button — circle hit area */
.navbar__icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: none;
  border: none;
  cursor: pointer;
  color: #000000;
  transition:
    background-color var(--transition-fast),
    color var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}

.navbar__icon-btn:hover {
  background-color: var(--color-bg-secondary);
}

.navbar__icon-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

/* Cart item count badge */
.navbar__cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  z-index: 100;
  min-width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #E53935;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  line-height: 1;
  pointer-events: none;
  transform: scale(0);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 8px rgba(229, 57, 53, 0.5);
  border: 2px solid #FAF2DE;
}

.navbar__cart-count.visible {
  transform: scale(1);
}


/* ─── 6. HAMBURGER TOGGLE ───────────────────────────────────────────────────
   Three-line menu icon that morphs to × when open.
   Visible on mobile; hidden from ≥ 768px.
   ──────────────────────────────────────────────────────────────────────── */

.navbar__toggle {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  border-radius: var(--radius-sm);
  -webkit-tap-highlight-color: transparent;
  transition: background-color var(--transition-fast);
  flex-shrink: 0;
}

.navbar__toggle:hover {
  background-color: var(--color-bg-secondary);
}

/* The three lines */
.navbar__toggle-line {
  display: block;
  height: 1.5px;
  background-color: var(--color-neutral-900);
  border-radius: 2px;
  transition:
    width      var(--duration-normal) var(--ease-luxury),
    transform  var(--duration-normal) var(--ease-luxury),
    opacity    var(--duration-fast)   var(--ease-out);
}

/* Line widths: top full, middle shorter, bottom medium — editorial style */
.navbar__toggle-line:nth-child(1) { width: 22px; }
.navbar__toggle-line:nth-child(2) { width: 16px; }
.navbar__toggle-line:nth-child(3) { width: 22px; }

/* Open state — morph to × */
.navbar__toggle[aria-expanded="true"] .navbar__toggle-line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
  width: 22px;
}

.navbar__toggle[aria-expanded="true"] .navbar__toggle-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.navbar__toggle[aria-expanded="true"] .navbar__toggle-line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
  width: 22px;
}


/* ─── 7. MOBILE FULL-SCREEN NAVIGATION ─────────────────────────────────────
   Full-screen overlay nav panel with cinematic editorial layout.
   Slides in from right with staggered link reveal.
   ──────────────────────────────────────────────────────────────────────── */

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-sticky) - 1); /* sits behind header z-layer */
  display: flex;
  visibility: hidden;
  pointer-events: none;
}

/* Backdrop */
.mobile-nav__backdrop {
  position: absolute;
  inset: 0;
  background-color: hsla(30, 12%, 8%, 0);
  transition: background-color var(--duration-slow) var(--ease-luxury);
}

/* Sliding panel */
.mobile-nav__panel {
  position: relative;
  margin-left: auto;
  width: 100%;
  max-width: 380px;
  height: 100%;
  background-color: hsl(30, 25%, 97%);
  display: flex;
  flex-direction: column;
  padding: var(--space-12) var(--space-8) var(--space-8);
  transform: translateX(100%);
  transition: transform var(--duration-slow) var(--ease-luxury);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Open states */
.mobile-nav.open {
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav.open .mobile-nav__backdrop {
  background-color: hsla(30, 12%, 8%, 0.4);
}

.mobile-nav.open .mobile-nav__panel {
  transform: translateX(0);
}


/* ─── 8. MOBILE NAV INNER ELEMENTS ─────────────────────────────────────────
   Content inside the mobile panel.
   ──────────────────────────────────────────────────────────────────────── */

/* Panel close button */
.mobile-nav__close {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-primary);
  border-radius: var(--radius-full);
  transition: background-color var(--transition-fast);
}

.mobile-nav__close:hover {
  background-color: var(--color-bg-tertiary);
}

.mobile-nav__close svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

/* Eyebrow label above nav links */
.mobile-nav__eyebrow {
  font-size: var(--fs-2xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-luxury);
  text-transform: uppercase;
  color: var(--color-text-tertiary);
  margin-bottom: var(--space-8);
}

/* Primary navigation list */
.mobile-nav__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

/* Each nav link */
.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) 0;
  font-family: var(--ff-display);
  font-size: var(--fs-3xl);
  font-weight: var(--fw-semibold);
  color: var(--color-text-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--color-border-subtle);
  letter-spacing: var(--ls-tight);
  line-height: 1;
  transition:
    color var(--transition-fast),
    padding-left var(--duration-normal) var(--ease-luxury);

  /* Staggered entrance — overridden by JS adding .open class */
  opacity: 0;
  transform: translateX(20px);
  transition:
    opacity    var(--duration-slow) var(--ease-luxury),
    transform  var(--duration-slow) var(--ease-luxury),
    color      var(--duration-fast) var(--ease-out),
    padding-left var(--duration-fast) var(--ease-out);
}

/* Stagger delays for each nav item */
.mobile-nav__item:nth-child(1) .mobile-nav__link { transition-delay: 0ms; }
.mobile-nav__item:nth-child(2) .mobile-nav__link { transition-delay: 60ms; }
.mobile-nav__item:nth-child(3) .mobile-nav__link { transition-delay: 120ms; }
.mobile-nav__item:nth-child(4) .mobile-nav__link { transition-delay: 180ms; }
.mobile-nav__item:nth-child(5) .mobile-nav__link { transition-delay: 240ms; }

/* Reveal when panel opens */
.mobile-nav.open .mobile-nav__link {
  opacity: 1;
  transform: translateX(0);
}

/* Hover: indent + color */
.mobile-nav__link:hover {
  color: var(--color-brand-600);
  padding-left: var(--space-3);
}

.mobile-nav__link.active {
  color: var(--color-brand-600);
}

/* Arrow icon on each link */
.mobile-nav__link-arrow {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  opacity: 0;
  transform: translateX(-6px);
  transition:
    opacity   var(--transition-fast),
    transform var(--transition-fast);
  flex-shrink: 0;
}

.mobile-nav__link:hover .mobile-nav__link-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Panel footer */
.mobile-nav__footer {
  padding-top: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity   var(--duration-slow) var(--ease-luxury) 300ms,
    transform var(--duration-slow) var(--ease-luxury) 300ms;
}

.mobile-nav.open .mobile-nav__footer {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav__footer-label {
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--color-text-tertiary);
}

.mobile-nav__footer-contact {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  line-height: var(--lh-relaxed);
}

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

.mobile-nav__footer-contact a:hover {
  color: var(--color-brand-600);
}


/* ─── 9. ACTIVE LINK INDICATOR ──────────────────────────────────────────────
   Visual marker for current page in desktop nav.
   ──────────────────────────────────────────────────────────────────────── */

/* Active dot indicator below link */
.navbar__nav-link[aria-current="page"] {
  color: var(--color-brand-600);
}

.navbar__nav-link[aria-current="page"]::after {
  transform: scaleX(1);
  background-color: var(--color-brand-500);
}


/* ─── 10. DESKTOP RESPONSIVE ────────────────────────────────────────────────
   Show/hide rules for hamburger vs desktop nav.
   ──────────────────────────────────────────────────────────────────────── */

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

  .navbar__nav {
    display: flex;
  }

  /* Mobile panel never shows on desktop */
  .mobile-nav {
    display: none !important;
  }

  .navbar {
    min-height: 68px;
  }
}

@media (min-width: 1024px) {
  .navbar {
    min-height: 76px;
    padding: 0 var(--gutter);
  }

  .navbar.scrolled {
    min-height: 64px;
  }

  .navbar__nav {
    gap: var(--space-12);
  }

  .navbar__brand-primary {
    font-size: var(--fs-xl);
  }
}
/* ============================================================================
   HERO.CSS — Cinematic Hero Section
   ============================================================================ */

/* ─── Hero Shell ────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr;
  background-color: #F5EFE6;
  overflow: hidden;
}

/* ─── Hero Content ─────────────────────────────── */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero__content {
    position: relative;
    z-index: 1;
    padding: var(--space-8);
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 0;
}

.hero__eyebrow {
    color: var(--color-bg-primary);
    font-size: var(--fs-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-4);
    font-weight: 500;
}

.hero__headline {
    color: white;
    font-family: var(--ff-heading);
    font-size: clamp(var(--fs-4xl), 8vw, 6rem);
    line-height: 1.05;
    margin-bottom: var(--space-6);
    font-weight: 400;
}

.hero__divider {
    width: 60px;
    height: 1px;
    background-color: var(--color-bg-primary);
    margin: var(--space-6) auto;
}

.hero__body {
    color: var(--color-bg-secondary);
    font-size: var(--fs-lg);
    line-height: 1.6;
    max-width: 500px;
    margin-bottom: var(--space-8);
}

.hero__cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    color: white;
    text-decoration: none;
    font-size: var(--fs-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding-bottom: var(--space-2);
    border-bottom: 1px solid white;
    transition: var(--transition-normal);
}

.hero__cta-arrow {
    transition: transform 0.3s ease;
}

.hero__cta:hover .hero__cta-arrow {
    transform: translateX(4px);
}

/* Text Flow Animation */
.cta--animate span {
  position: relative;
  display: inline-flex;
  overflow: hidden;
}

.cta--animate span::before {
  content: attr(data-text);
  position: absolute;
  top: 100%;
  left: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--color-bg-primary);
}

.cta--animate:hover span {
  color: transparent;
}

.cta--animate:hover span::before {
  transform: translateY(-100%);
}

.hero__scroll {
    position: absolute;
    bottom: var(--space-10);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    color: white;
    text-decoration: none;
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 10;
}

.hero__scroll-line {
    width: 1px;
    height: 60px;
    background-color: rgba(255,255,255,0.5);
    position: relative;
    overflow: hidden;
}

.hero__scroll-line-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    transform-origin: top;
    animation: scrollLine 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

/* ─── Desktop Layout ────────────────────────────────────────────────────── */
@media (min-width: 768px) {
  /* Hero Section Update */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero__content {
    position: relative;
    z-index: 1;
    padding: var(--space-8);
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 0;
}

.hero__eyebrow {
    color: var(--color-bg-primary);
    font-size: var(--fs-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-4);
    font-weight: 500;
}

.hero__headline {
    color: white;
    font-family: var(--ff-heading);
    font-size: clamp(var(--fs-4xl), 8vw, 6rem);
    line-height: 1.05;
    margin-bottom: var(--space-6);
    font-weight: 400;
}

.hero__divider {
    width: 60px;
    height: 1px;
    background-color: var(--color-bg-primary);
    margin: var(--space-6) auto;
}

.hero__body {
    color: var(--color-bg-secondary);
    font-size: var(--fs-lg);
    line-height: 1.6;
    max-width: 500px;
    margin-bottom: var(--space-8);
}

.hero__cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    color: white;
    text-decoration: none;
    font-size: var(--fs-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding-bottom: var(--space-2);
    border-bottom: 1px solid white;
    transition: var(--transition-normal);
}

.hero__cta-arrow {
    transition: transform 0.3s ease;
}

.hero__cta:hover .hero__cta-arrow {
    transform: translateX(4px);
}

.hero__scroll {
    position: absolute;
    bottom: var(--space-10);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    color: white;
    text-decoration: none;
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 10;
}

.hero__scroll-line {
    width: 1px;
    height: 60px;
    background-color: rgba(255,255,255,0.5);
    position: relative;
    overflow: hidden;
}

.hero__scroll-line-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    transform-origin: top;
    animation: scrollLine 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}
}

@media (min-width: 1024px) {
  .hero__content {
    padding: 160px 80px 100px calc(var(--gutter, 2rem) * 2);
  }

  .hero__headline {
    font-size: clamp(3.5rem, 5vw, 5.5rem);
  }
}

@media (min-width: 1280px) {
  .hero {
    grid-template-columns: 50% 50%;
  }

  .hero__headline {
    font-size: 5rem;
  }
}

/* ─── Hero Scroll Indicator ─────────────────────────────────────────────── */
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: var(--gutter);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8C7A6A;
  text-decoration: none;
  opacity: 0;
  animation: heroFadeIn 1s ease 1.4s forwards;
  z-index: 2;
}

.hero__scroll-line {
  width: 32px;
  height: 1px;
  background-color: #B4A086;
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #3B2314;
  animation: scrollPulse 2s ease-in-out 1.8s infinite;
}

/* ─── Hero Keyframes ────────────────────────────────────────────────────── */
@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroFadeIn {
  to {
    opacity: 1;
  }
}

@keyframes scrollPulse {
  0%   { left: -100%; }
  50%  { left: 0%; }
  100% { left: 100%; }
}
/* ============================================================================
   HOME.CSS — Homepage Section Styles
   Shop Preview · About · Gallery Preview · Footer
   ============================================================================ */


/* ─── SHARED SECTION SPACING ────────────────────────────────────────────── */
.home-section {
  padding: clamp(56px, 8vw, 100px) 0;
}

/* Section header row: title left, link right */
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 36px;
  gap: 16px;
}

.section-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #3B2314;
}

.section-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8C7A6A;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: color 0.2s ease;
  flex-shrink: 0;
}

.section-link:hover {
  color: #3B2314;
}

.section-link-arrow {
  transition: transform 0.2s ease;
}

.section-link:hover .section-link-arrow {
  transform: translateX(3px);
}


/* ══════════════════════════════════════════════════════════════════════════
   1. SHOP PREVIEW SECTION
   ══════════════════════════════════════════════════════════════════════ */

.shop-preview {
  background-color: #FAF7F3;
}

/* Product grid — 2 cols mobile, 4 cols desktop */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 640px) {
  .products-grid {
    gap: 16px;
  }
}

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

/* Product Card */
.product-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  cursor: pointer;
}

.product-card__image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: #EDE3D5;
  margin-bottom: 14px;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.33, 1, 0.68, 1), opacity 0.4s ease;
}

.product-card__img-hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.product-card:hover .product-card__img-hover {
  opacity: 1;
}

.product-card:hover .product-card__img-main {
  opacity: 0;
}

.product-card:hover .product-card__image img {
  transform: scale(1.05);
}

/* Placeholder for when no product image */
.product-card__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-card__placeholder {
  transform: scale(1.05);
}

/* Each product has a unique warm leather gradient */
.product-card__placeholder--1 {
  background: linear-gradient(135deg, #D8C4AC 0%, #8C6448 100%);
}
.product-card__placeholder--2 {
  background: linear-gradient(135deg, #C4A98C 0%, #5C3D2E 100%);
}
.product-card__placeholder--3 {
  background: linear-gradient(135deg, #EDE3D5 0%, #9E8A70 100%);
}
.product-card__placeholder--4 {
  background: linear-gradient(135deg, #B8957A 0%, #3B2314 100%);
}

.product-card__placeholder-icon {
  width: 48px;
  height: 48px;
  opacity: 0.2;
}

.product-card__name {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #3B2314;
  margin-bottom: 4px;
}

.product-card__price {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #8C7A6A;
}

/* WhatsApp quick order button — shows on hover */
.product-card__order {
  display: none;
  margin-top: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #B4A086;
  text-decoration: none;
  transition: color 0.2s ease;
}

@media (hover: hover) {
  .product-card__order { display: inline-flex; gap: 5px; align-items: center; }
  .product-card__order:hover { color: #5C3D2E; }
}


/* ══════════════════════════════════════════════════════════════════════════
   2. ABOUT SECTION
   ══════════════════════════════════════════════════════════════════════ */

.about-section {
  background-color: #F5EFE6;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

@media (min-width: 1024px) {
  .about-grid {
    gap: 80px;
  }
}

.about__image {
  position: relative;
  width: 100%;
}

.about__image-container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  position: relative;
  width: 100%;
  align-items: center;
}

.about__image-main {
  grid-column: 1 / 10;
  z-index: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
}

.about__image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about__image-secondary {
  grid-column: 6 / 13;
  z-index: 2;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-xl);
  transform: translateY(30px);
  border: 4px solid var(--color-bg-primary);
}

.about__image-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about__eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #B4A086;
}

.about__headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.1;
  color: #3B2314;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.about__body {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  line-height: 1.75;
  color: #5C3D2E;
  max-width: 420px;
}

.about__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #F5EFE6;
  background-color: #B4A086;
  padding: 14px 24px;
  text-decoration: none;
  align-self: flex-start;
  transition: background-color 0.2s ease;
}

.about__cta:hover {
  background-color: #9E8A70;
}


/* ══════════════════════════════════════════════════════════════════════════
   3. GALLERY PREVIEW SECTION
   ══════════════════════════════════════════════════════════════════════ */

.gallery-preview {
  background-color: #FAF7F3;
}

/* Horizontal auto-scrolling strip */
.gallery-strip {
  display: flex;
  gap: var(--space-3);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  padding: var(--space-4) 0;
  flex-wrap: nowrap;
}

.gallery-strip::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.gallery-item {
  flex: 0 0 150px; /* Square box width on mobile */
  min-width: 150px;
  aspect-ratio: 1 / 1; /* Premium square format */
  overflow: hidden;
  cursor: pointer;
  position: relative;
  border-radius: var(--radius-md);
  background-color: var(--color-bg-secondary);
  background-size: cover;
  background-position: center;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
  text-decoration: none;
  display: block;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(59, 35, 20, 0.15);
}

@media (min-width: 768px) {
  .gallery-strip {
    gap: var(--space-4);
  }
  .gallery-item {
    flex: 0 0 200px; /* Square box width on desktop PC */
    min-width: 200px;
  }
}

/* Gallery placeholder tones — Replaced with Real Brand/Product Images */
.gallery-item--1 { background-image: url('../images/image1.webp'); }
.gallery-item--2 { background-image: url('../images/3.webp'); }
.gallery-item--3 { background-image: url('../images/7.webp'); }
.gallery-item--4 { background-image: url('../images/5.webp'); }
.gallery-item--5 { background-image: url('../images/abt1.webp'); }
.gallery-item--6 { background-image: url('../images/abt2.webp'); }


/* ══════════════════════════════════════════════════════════════════════════
   4. FOOTER
   ══════════════════════════════════════════════════════════════════════ */

.site-footer {
  background-color: #3B2314;
  color: #F5EFE6;
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(180, 160, 134, 0.25);
  margin-bottom: 24px;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col__icon {
  width: 16px;
  height: 16px;
  stroke: #B4A086;
  fill: none;
  flex-shrink: 0;
  stroke-width: 1.5;
}

.footer-col__wrap {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-col__label {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: #EDE3D5;
  line-height: 1.6;
}

.footer-col__label a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
  display: block;
}

.footer-col__label a:hover {
  color: #B4A086;
}

/* Footer bottom bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: #8C7A6A;
}

/* Hidden admin link — visible but subtle */
.footer-admin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5C4E40;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-admin:hover {
  color: #B4A086;
}

.footer-admin svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}


/* ══════════════════════════════════════════════════════════════════════════
   5. SCROLL REVEAL — Intersection Observer driven
   ══════════════════════════════════════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal-group > .reveal:nth-child(1) { transition-delay: 0ms; }
.reveal-group > .reveal:nth-child(2) { transition-delay: 80ms; }
.reveal-group > .reveal:nth-child(3) { transition-delay: 160ms; }
.reveal-group > .reveal:nth-child(4) { transition-delay: 240ms; }
.reveal-group > .reveal:nth-child(5) { transition-delay: 320ms; }
.reveal-group > .reveal:nth-child(6) { transition-delay: 400ms; }

/* Horizontal reveal variant */
.reveal--left {
  transform: translateX(-24px);
}

.reveal--right {
  transform: translateX(24px);
}

.reveal--left.revealed,
.reveal--right.revealed {
  transform: translateX(0);
}
/* ============================================================================
   COMPONENTS.CSS — UI Component Library
   ============================================================================
   Pre-built, production-ready UI components for luxury ecommerce.
   Each component is self-contained, theme-aware, and uses design tokens
   from main.css exclusively.

   Naming: BEM methodology (Block__Element--Modifier)
   
   Sections:
   1.  Buttons
   2.  Links & Text Actions
   3.  Cards
   4.  Form Inputs
   5.  Badges & Tags
   6.  Navigation Bar
   7.  Overlay & Modal
   8.  Loading States
   9.  Image Treatments
   10. Glassmorphism Panels
   11. Testimonial / Quote
   12. Price Display
   13. Breadcrumbs
   14. Announcement Bar
   15. Scroll-Reveal Animation Classes
   ========================================================================= */


/* ─── 1. BUTTONS ────────────────────────────────────────────────────────────
   Three tiers: Primary (filled), Secondary (outlined), Ghost (text-only).
   Sizes: sm, md (default), lg.
   All buttons share a base then layer modifiers.
   ──────────────────────────────────────────────────────────────────────── */

.btn {
  /* Base */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--ff-body);
  font-weight: var(--fw-medium);
  font-size: var(--fs-sm);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: var(--radius-xs);
  padding: var(--space-4) var(--space-8);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;

  /* Transitions */
  transition:
    background-color var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    transform var(--duration-fast) var(--ease-spring);
}

.btn:active {
  transform: scale(0.97);
}

/* ── Primary ─────────────────────────────────────────────────────────── */
.btn--primary {
  background-color: var(--color-neutral-900);
  color: var(--color-neutral-0);
  border-color: var(--color-neutral-900);
}

.btn--primary:hover {
  background-color: var(--color-neutral-700);
  border-color: var(--color-neutral-700);
}

/* ── Secondary (Outlined) ────────────────────────────────────────────── */
.btn--secondary {
  background-color: transparent;
  color: var(--color-neutral-900);
  border-color: var(--color-neutral-900);
}

.btn--secondary:hover {
  background-color: var(--color-neutral-900);
  color: var(--color-neutral-0);
}

/* ── Ghost (Text only) ───────────────────────────────────────────────── */
.btn--ghost {
  background-color: transparent;
  color: var(--color-neutral-900);
  padding-left: var(--space-2);
  padding-right: var(--space-2);
}

.btn--ghost:hover {
  color: var(--color-brand-500);
}

/* ── Brand (Gold) ────────────────────────────────────────────────────── */
.btn--brand {
  background-color: var(--color-brand-500);
  color: var(--color-neutral-0);
  border-color: var(--color-brand-500);
}

.btn--brand:hover {
  background-color: var(--color-brand-600);
  border-color: var(--color-brand-600);
  box-shadow: var(--shadow-brand);
}

/* ── Accent (Rose) ───────────────────────────────────────────────────── */
.btn--accent {
  background-color: var(--color-accent-500);
  color: var(--color-neutral-0);
  border-color: var(--color-accent-500);
}

.btn--accent:hover {
  background-color: var(--color-accent-600);
  border-color: var(--color-accent-600);
  box-shadow: var(--shadow-accent);
}

/* ── Inverse (On dark backgrounds) ───────────────────────────────────── */
.btn--inverse {
  background-color: var(--color-neutral-0);
  color: var(--color-neutral-900);
  border-color: var(--color-neutral-0);
}

.btn--inverse:hover {
  background-color: transparent;
  color: var(--color-neutral-0);
  border-color: var(--color-neutral-0);
}

/* ── Sizes ───────────────────────────────────────────────────────────── */
.btn--sm {
  font-size: var(--fs-xs);
  padding: var(--space-2) var(--space-5);
  letter-spacing: var(--ls-wide);
}

.btn--lg {
  font-size: var(--fs-base);
  padding: var(--space-5) var(--space-10);
}

/* ── Full width ──────────────────────────────────────────────────────── */
.btn--full {
  width: 100%;
}

/* ── Icon-only ───────────────────────────────────────────────────────── */
.btn--icon {
  padding: var(--space-3);
  border-radius: var(--radius-full);
}

.btn--icon svg {
  width: 20px;
  height: 20px;
}

/* ── Disabled ────────────────────────────────────────────────────────── */
.btn:disabled,
.btn--disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* ── Button with arrow animation ─────────────────────────────────────── */
.btn__arrow {
  display: inline-block;
  transition: transform var(--transition-fast);
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}


/* ─── 2. LINKS & TEXT ACTIONS ───────────────────────────────────────────────
   Luxury link treatments: underline-reveal, brand-colored, arrow links.
   ──────────────────────────────────────────────────────────────────────── */

/* Standard link with animated underline */
.link {
  position: relative;
  display: inline;
  color: var(--color-text-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-normal);
}

.link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Always-visible underline */
.link--underline::after {
  transform: scaleX(1);
}

.link--underline:hover::after {
  transform: scaleX(0);
}

/* Brand-colored link */
.link--brand {
  color: var(--color-brand-500);
}

/* Arrow link (e.g. "Shop Now →") */
.link--arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: var(--fw-medium);
  font-size: var(--fs-sm);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
}

.link--arrow::after {
  content: '→';
  display: inline-block;
  transition: transform var(--transition-fast);
  position: static;
  width: auto;
  height: auto;
  background: none;
  transform: none;
}

.link--arrow:hover::after {
  transform: translateX(4px);
}


/* ─── 3. CARDS ──────────────────────────────────────────────────────────────
   Base card with variants for products, content, and features.
   ──────────────────────────────────────────────────────────────────────── */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: var(--color-bg-primary);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition:
    box-shadow var(--transition-normal),
    transform var(--transition-normal);
}

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

/* Card image container */
.card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-luxury);
}

.card:hover .card__image img {
  transform: scale(1.04);
}

/* Card body */
.card__body {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
}

.card__body--lg {
  padding: var(--space-6);
}

/* Card meta (category label, date) */
.card__meta {
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--color-text-tertiary);
}

/* Card title */
.card__title {
  font-family: var(--ff-body);
  font-size: var(--fs-md);
  font-weight: var(--fw-medium);
  color: var(--color-text-primary);
  line-height: var(--lh-snug);
}

/* Card description */
.card__description {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  line-height: var(--lh-relaxed);
}

/* ── Product Card Variant ────────────────────────────────────────────── */
.card--product .card__image {
  aspect-ratio: 3 / 4;
  background-color: var(--color-bg-secondary);
}

.card--product .card__body {
  padding: var(--space-4) var(--space-1) var(--space-1);
}

/* ── Content Card (blog, editorial) ──────────────────────────────────── */
.card--content {
  border: 1px solid var(--color-border-subtle);
}

.card--content .card__image {
  aspect-ratio: 16 / 10;
}

/* ── Feature Card (icon + text) ──────────────────────────────────────── */
.card--feature {
  text-align: center;
  padding: var(--space-8) var(--space-6);
  border: 1px solid var(--color-border-subtle);
}

.card--feature:hover {
  border-color: var(--color-brand-300);
}

.card--feature .card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-4);
  color: var(--color-brand-500);
}

/* ── Hover-lift card ─────────────────────────────────────────────────── */
.card--lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

/* ── Card overlay (for image cards with text on top) ─────────────────── */
.card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-6);
  background: linear-gradient(
    0deg,
    hsla(30, 12%, 8%, 0.7) 0%,
    hsla(30, 12%, 8%, 0.2) 50%,
    transparent 100%
  );
  color: var(--color-text-inverse);
}

.card__overlay .card__title {
  color: var(--color-text-inverse);
}


/* ─── 4. FORM INPUTS ───────────────────────────────────────────────────────
   Minimal, luxury form elements. Border-bottom style by default.
   ──────────────────────────────────────────────────────────────────────── */

.input {
  width: 100%;
  padding: var(--space-3) 0;
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  color: var(--color-text-primary);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-border-default);
  border-radius: 0;
  transition: border-color var(--transition-fast);
  -webkit-appearance: none;
  appearance: none;
}

.input:focus {
  border-bottom-color: var(--color-neutral-900);
  outline: none;
}

.input::placeholder {
  color: var(--color-text-tertiary);
  font-weight: var(--fw-light);
}

/* Boxed input variant */
.input--boxed {
  padding: var(--space-4);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-sm);
}

.input--boxed:focus {
  border-color: var(--color-neutral-900);
}

/* Textarea */
.textarea {
  width: 100%;
  min-height: 120px;
  padding: var(--space-4);
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  color: var(--color-text-primary);
  background: transparent;
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-sm);
  resize: vertical;
  transition: border-color var(--transition-fast);
}

.textarea:focus {
  border-color: var(--color-neutral-900);
  outline: none;
}

/* Label */
.label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2);
}

/* Form group (label + input) */
.form-group {
  margin-bottom: var(--space-6);
}

/* Error state */
.input--error {
  border-bottom-color: var(--color-error);
}

.form-error {
  font-size: var(--fs-xs);
  color: var(--color-error);
  margin-top: var(--space-1);
}

/* Select wrapper */
.select-wrapper {
  position: relative;
}

.select-wrapper::after {
  content: '';
  position: absolute;
  right: var(--space-4);
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--color-text-secondary);
  border-bottom: 1.5px solid var(--color-text-secondary);
  pointer-events: none;
}


/* ─── 5. BADGES & TAGS ─────────────────────────────────────────────────────
   Small labels for product status, categories, etc.
   ──────────────────────────────────────────────────────────────────────── */

.badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  font-size: var(--fs-2xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  line-height: 1;
  border-radius: var(--radius-xs);
  white-space: nowrap;
}

/* Badge variants */
.badge--neutral {
  background-color: var(--color-neutral-100);
  color: var(--color-neutral-700);
}

.badge--brand {
  background-color: var(--color-brand-100);
  color: var(--color-brand-700);
}

.badge--accent {
  background-color: var(--color-accent-100);
  color: var(--color-accent-600);
}

.badge--success {
  background-color: hsl(152, 45%, 92%);
  color: var(--color-success);
}

.badge--sale {
  background-color: var(--color-neutral-900);
  color: var(--color-neutral-0);
}

.badge--new {
  background-color: var(--color-brand-500);
  color: var(--color-neutral-0);
}

/* Tag (pill shape) */
.tag {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-4);
  font-size: var(--fs-xs);
  font-weight: var(--fw-regular);
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition:
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast);
}

.tag:hover,
.tag--active {
  background-color: var(--color-neutral-900);
  border-color: var(--color-neutral-900);
  color: var(--color-text-inverse);
}


/* ─── 6. NAVIGATION BAR ────────────────────────────────────────────────────
   Fixed header with glassmorphism effect on scroll.
   ──────────────────────────────────────────────────────────────────────── */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--gutter);
  min-height: 64px;
  transition:
    background-color var(--transition-normal),
    box-shadow var(--transition-normal),
    backdrop-filter var(--transition-normal);
}

/* Scrolled state — add via JS */
.navbar--scrolled {
  background-color: var(--color-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--shadow-sm);
}

/* Transparent variant (for hero sections) */
.navbar--transparent {
  background-color: transparent;
}

/* Dark navbar */
.navbar--dark {
  color: var(--color-text-inverse);
}

/* Navbar sections */
.navbar__brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--ff-display);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wide);
  z-index: var(--z-raised);
}

.navbar__nav {
  display: none; /* Mobile: hidden, shown via responsive.css */
  align-items: center;
  gap: var(--space-8);
}

.navbar__nav a {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  position: relative;
  transition: color var(--transition-fast);
}

.navbar__nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-normal);
}

.navbar__nav a:hover::after,
.navbar__nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  z-index: var(--z-raised);
}

/* Hamburger toggle */
.navbar__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  cursor: pointer;
  background: none;
  border: none;
  padding: var(--space-1);
}

.navbar__toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background-color: currentColor;
  transition:
    transform var(--transition-normal),
    opacity var(--transition-fast);
}

/* Toggle active (X state) */
.navbar__toggle.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.navbar__toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar__toggle.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}


/* ─── 7. OVERLAY & MODAL ───────────────────────────────────────────────────
   Background overlay + centered modal shell.
   Entrance/exit handled by animation classes.
   ──────────────────────────────────────────────────────────────────────── */

.overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  background-color: var(--color-overlay);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--transition-normal),
    visibility var(--transition-normal);
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: var(--z-modal);
  transform: translate(-50%, -50%) scale(0.95);
  width: calc(100% - var(--space-8));
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  background-color: var(--color-bg-primary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2xl);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--transition-normal),
    transform var(--transition-normal),
    visibility var(--transition-normal);
}

.modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-6);
  border-bottom: 1px solid var(--color-border-subtle);
}

.modal__body {
  padding: var(--space-6);
}

.modal__footer {
  display: flex;
  gap: var(--space-3);
  justify-content: flex-end;
  padding: var(--space-6);
  border-top: 1px solid var(--color-border-subtle);
}

.modal__close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.modal__close:hover {
  background-color: var(--color-bg-secondary);
}

/* Drawer (slides from right) */
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: var(--z-modal);
  width: 100%;
  max-width: 420px;
  height: 100%;
  background-color: var(--color-bg-primary);
  box-shadow: var(--shadow-2xl);
  transform: translateX(100%);
  visibility: hidden;
  transition:
    transform var(--transition-slow),
    visibility var(--transition-slow);
  overflow-y: auto;
}

.drawer.active {
  transform: translateX(0);
  visibility: visible;
}

.drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-6);
  border-bottom: 1px solid var(--color-border-subtle);
}

.drawer__body {
  padding: var(--space-6);
}


/* ─── 8. LOADING STATES ────────────────────────────────────────────────────
   Skeleton loaders and spinners for perceived performance.
   ──────────────────────────────────────────────────────────────────────── */

/* Skeleton placeholder */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--color-neutral-100) 0%,
    var(--color-neutral-50) 50%,
    var(--color-neutral-100) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.8s ease-in-out infinite;
  border-radius: var(--radius-sm);
}

.skeleton--text {
  height: 14px;
  width: 80%;
  margin-bottom: var(--space-2);
}

.skeleton--title {
  height: 20px;
  width: 60%;
  margin-bottom: var(--space-3);
}

.skeleton--image {
  aspect-ratio: 4 / 5;
  width: 100%;
}

.skeleton--avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
}

/* Spinner */
.spinner {
  width: 24px;
  height: 24px;
  border: 2px solid var(--color-border-default);
  border-top-color: var(--color-neutral-900);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.spinner--sm { width: 16px; height: 16px; }
.spinner--lg { width: 36px; height: 36px; }

/* Loading overlay (covers parent) */
.loading-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: hsla(30, 20%, 100%, 0.8);
  z-index: var(--z-raised);
}


/* ─── 9. IMAGE TREATMENTS ──────────────────────────────────────────────────
   Luxury image presentations: zoom, parallax-ready, hover overlays.
   ──────────────────────────────────────────────────────────────────────── */

/* Image container with zoom on hover */
.img-zoom {
  overflow: hidden;
  border-radius: var(--radius-md);
}

.img-zoom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-luxury);
}

.img-zoom:hover img {
  transform: scale(1.06);
}

/* Image with overlay gradient */
.img-overlay {
  position: relative;
  overflow: hidden;
}

.img-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    hsla(30, 12%, 8%, 0.5) 0%,
    transparent 60%
  );
  pointer-events: none;
}

/* Image with brand tint */
.img-tint {
  position: relative;
  overflow: hidden;
}

.img-tint::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: hsla(38, 42%, 48%, 0.12);
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* Rounded image */
.img-rounded {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* Aspect-controlled image wrappers */
.img-portrait {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.img-landscape {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.img-square {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.img-portrait img,
.img-landscape img,
.img-square img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ─── 10. GLASSMORPHISM PANELS ─────────────────────────────────────────────
   Frosted glass effect for floating UI elements.
   ──────────────────────────────────────────────────────────────────────── */

.glass {
  background-color: var(--color-glass);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-lg);
}

.glass--dark {
  background-color: hsla(30, 12%, 8%, 0.6);
  border-color: hsla(30, 20%, 100%, 0.1);
  color: var(--color-text-inverse);
}

.glass--subtle {
  backdrop-filter: blur(8px) saturate(150%);
  -webkit-backdrop-filter: blur(8px) saturate(150%);
}


/* ─── 11. TESTIMONIAL / QUOTE ──────────────────────────────────────────────
   Customer review and editorial quote treatments.
   ──────────────────────────────────────────────────────────────────────── */

.testimonial {
  text-align: center;
  max-width: var(--measure);
  margin: 0 auto;
}

.testimonial__quote {
  font-family: var(--ff-display);
  font-size: var(--fs-xl);
  font-style: italic;
  line-height: var(--lh-relaxed);
  color: var(--color-text-primary);
  margin-bottom: var(--space-6);
}

.testimonial__quote::before {
  content: '"';
  display: block;
  font-size: var(--fs-4xl);
  color: var(--color-brand-400);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.testimonial__author {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--color-text-primary);
}

.testimonial__role {
  font-size: var(--fs-xs);
  color: var(--color-text-tertiary);
  margin-top: var(--space-1);
}

/* Star rating */
.rating {
  display: flex;
  gap: var(--space-1);
  color: var(--color-brand-400);
}

.rating__star {
  width: 16px;
  height: 16px;
}

.rating__star--empty {
  color: var(--color-neutral-200);
}


/* ─── 12. PRICE DISPLAY ────────────────────────────────────────────────────
   Product pricing with sale/compare-at treatments.
   ──────────────────────────────────────────────────────────────────────── */

.price {
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.price__current {
  font-family: var(--ff-body);
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  color: var(--color-text-primary);
}

.price__compare {
  font-size: var(--fs-sm);
  color: var(--color-text-tertiary);
  text-decoration: line-through;
}

.price__sale {
  color: var(--color-accent-500);
}

.price--lg .price__current {
  font-size: var(--fs-2xl);
}

.price__currency {
  font-size: 0.7em;
  font-weight: var(--fw-regular);
  vertical-align: super;
}


/* ─── 13. BREADCRUMBS ──────────────────────────────────────────────────────
   Navigational breadcrumb trail.
   ──────────────────────────────────────────────────────────────────────── */

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-xs);
  color: var(--color-text-tertiary);
}

.breadcrumbs__separator {
  color: var(--color-neutral-300);
  user-select: none;
}

.breadcrumbs a {
  transition: color var(--transition-fast);
}

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

.breadcrumbs__current {
  color: var(--color-text-primary);
  font-weight: var(--fw-medium);
}


/* ─── 14. ANNOUNCEMENT BAR ─────────────────────────────────────────────────
   Top-of-page promotional banner.
   ──────────────────────────────────────────────────────────────────────── */

.announcement {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--gutter);
  background-color: var(--color-neutral-900);
  color: var(--color-text-inverse);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wider);
  text-align: center;
  text-transform: uppercase;
}

.announcement--brand {
  background-color: var(--color-brand-500);
}

.announcement__close {
  position: absolute;
  right: var(--space-4);
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity var(--transition-fast);
}

.announcement__close:hover {
  opacity: 1;
}


/* ─── 15. SCROLL-REVEAL ANIMATION CLASSES ──────────────────────────────────
   Apply these to elements for entrance animations.
   Pair with IntersectionObserver in JS: add `.revealed` when visible.
   
   Usage:
     <div class="reveal reveal--up"> → hidden initially
     JS adds .revealed → animates into view
   ──────────────────────────────────────────────────────────────────────── */

.reveal {
  opacity: 0;
  will-change: transform, opacity;
  transition:
    opacity var(--duration-slower) var(--ease-luxury),
    transform var(--duration-slower) var(--ease-luxury);
}

.reveal--up {
  transform: translateY(32px);
}

.reveal--down {
  transform: translateY(-20px);
}

.reveal--left {
  transform: translateX(-32px);
}

.reveal--right {
  transform: translateX(32px);
}

.reveal--scale {
  transform: scale(0.95);
}

/* Revealed state */
.reveal.revealed {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/* Stagger children */
.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: 400ms; }
.reveal-stagger > .reveal:nth-child(7) { transition-delay: 480ms; }
.reveal-stagger > .reveal:nth-child(8) { transition-delay: 560ms; }
/* ============================================================================
   SHOP.CSS — Shop Page + Category Filters + Sorting
   ============================================================================ */

/* ─── Shop Header ───────────────────────────────────────────────────────── */

.shop-header {
  padding: var(--section-md) 0 var(--space-8);
  text-align: center;
}

.shop-header__title {
  font-family: var(--ff-display);
  font-size: var(--fs-5xl);
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-4);
}

.shop-header__desc {
  font-size: var(--fs-md);
  color: var(--color-text-tertiary);
  max-width: var(--measure);
  margin: 0 auto;
  line-height: var(--lh-relaxed);
}

/* ─── Category Filters ──────────────────────────────────────────────────── */

.shop-filters {
  padding-bottom: var(--space-6);
}

.shop-filters__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  padding: var(--space-4);
  background: var(--color-bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-sm);
}

.shop-filters__categories {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.shop-filter-btn {
  padding: var(--space-2) var(--space-4);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: var(--color-text-tertiary);
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.shop-filter-btn:hover {
  color: var(--color-text-primary);
  background: var(--color-bg-tertiary);
}

.shop-filter-btn.active {
  color: var(--color-neutral-0);
  background: var(--color-dark-700);
  border-color: var(--color-dark-700);
}

.shop-filters__sort {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.shop-filters__sort-label {
  font-size: var(--fs-xs);
  color: var(--color-text-tertiary);
  white-space: nowrap;
}

.shop-filters__sort-select {
  padding: var(--space-2) var(--space-3);
  font-size: var(--fs-xs);
  color: var(--color-text-primary);
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color var(--transition-fast);
}

.shop-filters__sort-select:focus {
  border-color: var(--color-brand-500);
}

.shop-filters__count {
  font-size: var(--fs-xs);
  color: var(--color-text-tertiary);
  margin-top: var(--space-3);
  text-align: center;
}

/* ─── Shop Grid ─────────────────────────────────────────────────────────── */

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--grid-gap);
}

.shop-container {
  padding-bottom: var(--section-md);
}

/* ─── Shop Empty State ──────────────────────────────────────────────────── */

.shop-empty {
  text-align: center;
  padding: var(--section-md) var(--space-4);
}

.shop-empty svg {
  margin-bottom: var(--space-6);
}

.shop-empty h2 {
  font-family: var(--ff-display);
  font-size: var(--fs-2xl);
  color: var(--color-text-primary);
  margin-bottom: var(--space-3);
}

.shop-empty p {
  color: var(--color-text-tertiary);
  margin-bottom: var(--space-6);
}

.shop-empty__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  background: #25D366;
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.shop-empty__cta:hover {
  background: #1ebe5d;
  transform: translateY(-1px);
}

/* ─── Responsive ────────────────────────────────────────────────────────── */

@media (max-width: 640px) {
  .shop-filters__bar {
    flex-direction: column;
    align-items: stretch;
  }

  .shop-filters__categories {
    justify-content: center;
  }

  .shop-filters__sort {
    justify-content: center;
  }

  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
  }

  .shop-header__title {
    font-size: var(--fs-4xl);
  }
}

@media (max-width: 400px) {
  .shop-grid {
    grid-template-columns: 1fr;
  }
}
/* ============================================================================
   GALLERY.CSS — Dedicated Gallery Page
   ============================================================================ */

.gallery-page {
  padding: 160px 0 100px;
  background-color: #F5EFE6;
  min-height: 100vh;
}

.gallery-header {
  padding: var(--section-md) 0 var(--space-6);
  text-align: center;
}

.gallery-header__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: #3B2314;
  margin: 0 0 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.gallery-header__desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: #5C3D2E;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Masonry-style Grid */
.gallery-grid-full {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  grid-auto-rows: 280px;
  grid-auto-flow: dense;
}

@media (min-width: 768px) {
  .gallery-grid-full {
    gap: 24px;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 320px;
  }
}

.gallery-grid-full__item {
  position: relative;
  overflow: hidden;
  background-color: #EDE3D5;
  cursor: pointer;
}

/* Make some items span 2 rows for masonry effect (based on nth-child or logic) */
.gallery-grid-full__item:nth-child(4n + 1) {
  grid-row: span 2;
}

.gallery-grid-full__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-grid-full__item:hover img {
  transform: scale(1.05);
}

.gallery-empty {
  text-align: center;
  padding: 80px 20px;
  color: #8C7A6A;
  font-family: 'DM Sans', sans-serif;
}
/* ============================================================================
   PRODUCT.CSS — Product Detail Page Styles
   ============================================================================ */

/* ─── Product Gallery (Amazon Style) ────────────────────────────────────── */
.product-gallery {
  display: flex;
  flex-direction: row;
  gap: var(--space-4);
}

.product-gallery__thumbnails {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  width: 80px;
  flex-shrink: 0;
}

.product-gallery__thumb {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  opacity: 0.6;
}

.product-gallery__thumb:hover {
  opacity: 1;
  border-color: var(--color-neutral-400);
}

.product-gallery__thumb.active {
  opacity: 1;
  border-color: var(--color-brand-500);
  box-shadow: 0 0 0 1px var(--color-brand-500);
}

.product-gallery__main {
  flex: 1;
  position: relative;
  background-color: var(--color-bg-secondary);
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.product-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ──────────────────────────────────────────────────────────────────────── */

/* ─── Breadcrumb ────────────────────────────────────────────────────────── */

.breadcrumb {
  padding: var(--space-4) 0;
  background: var(--color-bg-secondary);
  border-bottom: 1px solid var(--color-border-subtle);
}

.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-xs);
  color: var(--color-text-tertiary);
  flex-wrap: wrap;
}

.breadcrumb__list li:not(:last-child)::after {
  content: '/';
  margin-left: var(--space-2);
  color: var(--color-border-default);
}

.breadcrumb__list a {
  transition: color var(--transition-fast);
}

.breadcrumb__list a:hover {
  color: var(--color-brand-500);
}

.breadcrumb__list li[aria-current="page"] {
  color: var(--color-text-primary);
  font-weight: var(--fw-medium);
}

/* ─── Product Detail Grid ───────────────────────────────────────────────── */

.product-detail {
  padding: var(--section-md) 0;
}

.product-detail__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: start;
}

@media (min-width: 768px) {
  .product-detail__grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: var(--space-16);
  }
}

/* ─── Product Image ─────────────────────────────────────────────────────── */

.product-detail__image-col {
  position: sticky;
  top: 120px;
}

.product-detail__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-tertiary);
  aspect-ratio: 1;
}

.product-detail__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

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

.product-detail__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  aspect-ratio: 1;
}

.product-detail__placeholder svg {
  width: 80px;
  height: 80px;
}

.product-detail__badge {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  padding: var(--space-2) var(--space-3);
  background: var(--color-brand-500);
  color: var(--color-neutral-0);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  border-radius: var(--radius-sm);
}

/* ─── Product Info ──────────────────────────────────────────────────────── */

.product-detail__info-col {
  padding-top: var(--space-4);
}

.product-detail__category {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
  color: var(--color-brand-500);
  margin-bottom: var(--space-2);
  display: inline-block;
  transition: color var(--transition-fast);
}

.product-detail__category:hover {
  color: var(--color-brand-600);
}

.product-detail__name {
  font-family: var(--ff-display);
  font-size: var(--fs-4xl);
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
  line-height: var(--lh-tight);
  margin-bottom: var(--space-3);
}

.product-detail__price {
  font-family: var(--ff-display);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-semibold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-6);
}

.product-detail__desc {
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-6);
  max-width: var(--measure);
}

.product-detail__status {
  margin-bottom: var(--space-6);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
}

.status-badge--in-stock {
  background: hsla(152, 38%, 38%, 0.1);
  color: var(--color-success);
}

.status-badge--made-to-order {
  background: hsla(38, 85%, 52%, 0.1);
  color: var(--color-warning);
}

/* ─── Quantity Selector ─────────────────────────────────────────────────── */

.product-detail__quantity {
  margin-bottom: var(--space-6);
}

.product-detail__qty-label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  color: var(--color-text-tertiary);
  margin-bottom: var(--space-2);
}

.qty-selector {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.qty-selector__btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-lg);
  color: var(--color-text-secondary);
  transition: all var(--transition-fast);
}

.qty-selector__btn:hover {
  background: var(--color-bg-tertiary);
  color: var(--color-text-primary);
}

.qty-selector__input {
  width: 56px;
  height: 44px;
  text-align: center;
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  border-left: 1px solid var(--color-border-subtle);
  border-right: 1px solid var(--color-border-subtle);
  -moz-appearance: textfield;
}

.qty-selector__input::-webkit-outer-spin-button,
.qty-selector__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* ─── Add to Cart Button ────────────────────────────────────────────────── */

.product-detail__actions {
  margin-bottom: var(--space-6);
}

.product-detail__add-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  width: 100%;
  padding: var(--space-4) var(--space-8);
  background: var(--color-dark-700);
  color: var(--color-text-inverse);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  border-radius: var(--radius-md);
  transition: all var(--duration-normal) var(--ease-out);
}

.product-detail__add-btn:hover {
  background: var(--color-brand-500);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.product-detail__add-btn.added {
  background: var(--color-success);
}

/* ─── Order Channels ────────────────────────────────────────────────────── */

.product-detail__order-channels {
  margin-bottom: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border-subtle);
}

.product-detail__order-label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  color: var(--color-text-tertiary);
  margin-bottom: var(--space-3);
}

.product-detail__order-btns {
  display: flex;
  gap: var(--space-3);
}

.order-channel-btn {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  transition: all var(--transition-fast);
}

.order-channel-btn--whatsapp {
  background: hsla(142, 70%, 49%, 0.1);
  color: #25D366;
  border: 1px solid hsla(142, 70%, 49%, 0.2);
}

.order-channel-btn--whatsapp:hover {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
}

.order-channel-btn--telegram {
  background: hsla(204, 100%, 40%, 0.1);
  color: #0088cc;
  border: 1px solid hsla(204, 100%, 40%, 0.2);
}

.order-channel-btn--telegram:hover {
  background: #0088cc;
  color: #fff;
  border-color: #0088cc;
}

/* ─── Trust Signals ─────────────────────────────────────────────────────── */

.product-detail__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--color-bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-subtle);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-xs);
  color: var(--color-text-tertiary);
}

.trust-item svg {
  color: var(--color-brand-500);
  stroke: var(--color-brand-500);
  flex-shrink: 0;
}

/* ─── Product Not Found ─────────────────────────────────────────────────── */

.product-not-found {
  padding: var(--section-lg) 0;
  text-align: center;
}

.product-not-found h1 {
  font-size: var(--fs-3xl);
  margin-bottom: var(--space-4);
}

.product-not-found p {
  color: var(--color-text-tertiary);
  margin-bottom: var(--space-8);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  background: var(--color-brand-500);
  color: var(--color-neutral-0);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.btn-primary:hover {
  background: var(--color-brand-600);
}

/* ─── Related Products ──────────────────────────────────────────────────── */

.related-products {
  background: var(--color-bg-secondary);
}

/* ─── Responsive ────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .product-gallery {
    flex-direction: column-reverse;
  }
  
  .product-gallery__thumbnails {
    flex-direction: row;
    width: 100%;
  }

  .product-gallery__thumb {
    width: 64px;
    height: 64px;
  }
  
  .product-detail__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .product-detail__image-col {
    position: static;
  }

  .product-detail__name {
    font-size: var(--fs-3xl);
  }

  .product-detail__order-btns {
    flex-direction: column;
  }

  .product-detail__trust {
    flex-direction: column;
    gap: var(--space-3);
  }
}
/* ============================================================================
   CART.CSS — Cart Drawer, Cart Items, WhatsApp/Telegram Buttons
   ============================================================================ */

/* ─── Cart Drawer Overlay ───────────────────────────────────────────────── */

.cart-drawer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-modal);
  pointer-events: none;
  visibility: hidden;
}

.cart-drawer.open {
  pointer-events: auto;
  visibility: visible;
}

.cart-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: var(--color-overlay);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.cart-drawer.open .cart-drawer__backdrop {
  opacity: 1;
}

.cart-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 90vw);
  background: var(--color-bg-elevated);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--duration-slow) var(--ease-luxury);
  box-shadow: -8px 0 32px hsla(18, 55%, 14%, 0.15);
}

.cart-drawer.open .cart-drawer__panel {
  transform: translateX(0);
}

/* ─── Cart Drawer Header ────────────────────────────────────────────────── */

.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-6) var(--space-6) var(--space-4);
  border-bottom: 1px solid var(--color-border-subtle);
}

.cart-drawer__title {
  font-family: var(--ff-display);
  font-size: var(--fs-xl);
  font-weight: var(--fw-semibold);
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin: 0;
}

.cart-drawer__title svg {
  stroke: var(--color-text-tertiary);
}

.cart-drawer__count {
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: var(--fw-regular);
  color: var(--color-text-tertiary);
}

.cart-drawer__close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  transition: background var(--transition-fast);
}

.cart-drawer__close:hover {
  background: var(--color-bg-tertiary);
}

.cart-drawer__close svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-text-secondary);
  stroke-width: 1.5;
  fill: none;
}

/* ─── Cart Drawer Body (Scrollable Items) ───────────────────────────────── */

.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-4) var(--space-6);
}

/* ─── Cart Empty State ──────────────────────────────────────────────────── */

.cart-drawer__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-16) var(--space-4);
}

.cart-drawer__empty-title {
  font-family: var(--ff-display);
  font-size: var(--fs-xl);
  color: var(--color-text-primary);
  margin-top: var(--space-4);
}

.cart-drawer__empty-desc {
  font-size: var(--fs-sm);
  color: var(--color-text-tertiary);
  margin-top: var(--space-2);
}

.cart-drawer__empty-cta {
  display: inline-block;
  margin-top: var(--space-6);
  padding: var(--space-3) var(--space-6);
  background: var(--color-brand-500);
  color: var(--color-neutral-0);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.cart-drawer__empty-cta:hover {
  background: var(--color-brand-600);
}

/* ─── Cart Item ─────────────────────────────────────────────────────────── */

.cart-item {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-border-subtle);
  position: relative;
  animation: fadeUp 0.3s var(--ease-out);
}

.cart-item__image {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-bg-tertiary);
}

.cart-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
}

.cart-item__placeholder svg {
  width: 28px;
  height: 28px;
}

.cart-item__details {
  flex: 1;
  min-width: 0;
}

.cart-item__name {
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--color-text-primary);
  margin: 0 0 var(--space-1);
  line-height: 1.3;
}

.cart-item__price {
  font-size: var(--fs-xs);
  color: var(--color-text-tertiary);
}

.cart-item__qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-2);
}

.cart-item__qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.cart-item__qty-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  transition: background var(--transition-fast);
}

.cart-item__qty-btn:hover {
  background: var(--color-bg-tertiary);
}

.cart-item__qty-val {
  width: 28px;
  text-align: center;
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
}

.cart-item__line-total {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-text-primary);
}

.cart-item__remove {
  position: absolute;
  top: var(--space-4);
  right: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  opacity: 0.4;
  transition: opacity var(--transition-fast), background var(--transition-fast);
}

.cart-item__remove:hover {
  opacity: 1;
  background: var(--color-bg-tertiary);
}

/* ─── Cart Drawer Footer ───────────────────────────────────────────────── */

.cart-drawer__footer {
  padding: var(--space-4) var(--space-6) var(--space-6);
  border-top: 1px solid var(--color-border-subtle);
  background: var(--color-bg-secondary);
}

.cart-drawer__subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-2);
}

.cart-drawer__subtotal span:first-child {
  font-size: var(--fs-sm);
  color: var(--color-text-tertiary);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  font-weight: var(--fw-medium);
}

.cart-drawer__subtotal-amount {
  font-family: var(--ff-display);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
}

.cart-drawer__delivery-note {
  font-size: var(--fs-xs);
  color: var(--color-text-tertiary);
  margin-bottom: var(--space-4);
  text-align: center;
}

.cart-drawer__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.cart-drawer__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  transition: all var(--transition-fast);
}

.cart-drawer__btn--whatsapp {
  background: #25D366;
  color: #fff;
}

.cart-drawer__btn--whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.cart-drawer__btn--telegram {
  background: #0088cc;
  color: #fff;
}

.cart-drawer__btn--telegram:hover {
  background: #0077b3;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3);
}

/* ─── Search Overlay ────────────────────────────────────────────────────── */

.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-modal);
  background: hsla(36, 50%, 95%, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 20vh;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) var(--ease-out);
}

.search-overlay.open {
  opacity: 1;
  visibility: visible;
}

.search-overlay__inner {
  width: min(640px, 90vw);
}

.search-overlay__form {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  background: var(--color-bg-elevated);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border-subtle);
}

.search-overlay__icon {
  width: 20px;
  height: 20px;
  stroke: var(--color-text-tertiary);
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
}

.search-overlay__input {
  flex: 1;
  font-size: var(--fs-lg);
  color: var(--color-text-primary);
  background: transparent;
}

.search-overlay__input::placeholder {
  color: var(--color-text-muted);
}

.search-overlay__close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  flex-shrink: 0;
  transition: background var(--transition-fast);
}

.search-overlay__close:hover {
  background: var(--color-bg-tertiary);
}

.search-overlay__close svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-text-secondary);
  stroke-width: 2;
  fill: none;
}

/* ─── Search Page Form ──────────────────────────────────────────────────── */

.search-page-form {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  max-width: 480px;
  margin: var(--space-6) auto 0;
}

.search-page-input {
  flex: 1;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-md);
  font-size: var(--fs-base);
  background: var(--color-bg-elevated);
  color: var(--color-text-primary);
  transition: border-color var(--transition-fast);
}

.search-page-input:focus {
  border-color: var(--color-brand-500);
}

.search-page-btn {
  padding: var(--space-3);
  background: var(--color-brand-500);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.search-page-btn svg {
  stroke: #fff;
}

.search-page-btn:hover {
  background: var(--color-brand-600);
}

/* ─── WhatsApp Float Button ─────────────────────────────────────────────── */

.whatsapp-float {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: var(--z-sticky);
  transition: all var(--duration-normal) var(--ease-spring);
  animation: float 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

/* ─── Product Card Actions (Add to Cart + WhatsApp) ─────────────────────── */

.product-card__actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-2);
  padding: 0 var(--space-1);
}

.product-card__add-to-cart {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: var(--color-dark-700);
  color: var(--color-text-inverse);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.product-card__add-to-cart:hover {
  background: var(--color-brand-500);
  transform: translateY(-1px);
}

.product-card__add-to-cart.added {
  background: var(--color-success);
}

.product-card__whatsapp {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: #25D366;
  color: #fff;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.product-card__whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-1px);
}

.product-card__badge {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  padding: var(--space-1) var(--space-2);
  background: var(--color-brand-500);
  color: var(--color-neutral-0);
  font-size: var(--fs-2xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  border-radius: var(--radius-sm);
}

.product-card__category {
  position: absolute;
  bottom: var(--space-2);
  left: var(--space-2);
  padding: var(--space-1) var(--space-2);
  background: hsla(18, 55%, 14%, 0.7);
  color: var(--color-text-inverse);
  font-size: var(--fs-2xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wide);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
}

.product-card__image {
  position: relative;
}

.product-card__info-link {
  display: block;
}

.product-card__image-link {
  display: block;
}

/* ─── Footer Enhancements ───────────────────────────────────────────────── */

.footer__brand {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}

.footer__brand-primary {
  font-family: var(--ff-display);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--color-text-inverse);
}

.footer__brand-sub {
  font-family: var(--ff-display);
  font-size: var(--fs-xl);
  font-weight: var(--fw-light);
  color: var(--color-brand-500);
}

.footer__tagline {
  font-size: var(--fs-sm);
  color: var(--color-neutral-400);
  max-width: 240px;
}

.footer-col__heading {
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  color: var(--color-brand-500);
  margin-bottom: var(--space-4);
}

.footer-col__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-col__links a {
  font-size: var(--fs-sm);
  color: var(--color-neutral-400);
  transition: color var(--transition-fast);
}

.footer-col__links a:hover {
  color: var(--color-text-inverse);
}

.footer-col__contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-col__contact a {
  font-size: var(--fs-sm);
  color: var(--color-neutral-400);
  transition: color var(--transition-fast);
}

.footer-col__contact a:hover {
  color: var(--color-text-inverse);
}

.footer-col__social {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.footer__social-link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  transition: all var(--transition-fast);
}

.footer__social-link--whatsapp {
  background: hsla(142, 70%, 49%, 0.15);
  color: #25D366;
}

.footer__social-link--whatsapp:hover {
  background: #25D366;
  color: #fff;
}

.footer__social-link--telegram {
  background: hsla(204, 100%, 40%, 0.15);
  color: #0088cc;
}

.footer__social-link--telegram:hover {
  background: #0088cc;
  color: #fff;
}

.footer-col__location {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  color: var(--color-neutral-400);
}

.footer-col__location svg {
  flex-shrink: 0;
}

/* ─── Footer Admin Link ─────────────────────────────────────────────────── */

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

/* ─── Admin FAB ───────────────────────────────────────────────────────────── */
.admin-fab {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: var(--z-sticky);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: var(--color-neutral-800);
  color: var(--color-text-inverse, #fff);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  opacity: 0.3;
  transition: all var(--transition-fast);
}

.admin-fab:hover {
  opacity: 1;
  transform: translateY(-4px);
  background-color: var(--color-brand-500);
  box-shadow: var(--shadow-lg);
}

/* ─── Responsive Adjustments ────────────────────────────────────────────── */

@media (max-width: 640px) {
  .cart-drawer__panel {
    width: 100vw;
  }

  .whatsapp-float {
    bottom: var(--space-4);
    right: var(--space-4);
    width: 48px;
    height: 48px;
  }

  .whatsapp-float svg {
    width: 22px;
    height: 22px;
  }

  .product-card__add-to-cart {
    font-size: 10px;
    padding: var(--space-2);
  }
}
/* ============================================================================
   CONTACT.CSS — Contact Page
   ============================================================================ */

.contact-page {
  padding: 160px 0 100px;
  background-color: #FAF7F3;
  min-height: 100vh;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}

.contact-info__eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8C7A6A;
  margin-bottom: 20px;
}

.contact-info__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: #3B2314;
  margin: 0 0 24px;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.1;
}

.contact-info__desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: #5C3D2E;
  margin-bottom: 40px;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item svg {
  width: 24px;
  height: 24px;
  stroke: #B4A086;
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #3B2314;
  margin: 0 0 8px;
}

.contact-item p, .contact-item a {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: #5C3D2E;
  margin: 0;
  text-decoration: none;
  line-height: 1.6;
}

.contact-item a:hover {
  color: #B4A086;
}

/* Contact Form */
.contact-form-card {
  background-color: #FFFFFF;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(59, 35, 20, 0.05);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3B2314;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 16px;
  background-color: #F5EFE6;
  border: 1px solid #EDE3D5;
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #3B2314;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  box-sizing: border-box;
}

.form-control:focus {
  outline: none;
  border-color: #B4A086;
  background-color: #FFFFFF;
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px;
  background-color: #3B2314;
  color: #F5EFE6;
  border: none;
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-submit:hover {
  background-color: #5C3D2E;
}

.form-msg {
  padding: 16px;
  border-radius: 4px;
  margin-bottom: 24px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
}

.form-msg.success {
  background-color: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

.form-msg.error {
  background-color: #ffebee;
  color: #c62828;
  border: 1px solid #ffcdd2;
}
/* ============================================================================
   RESPONSIVE.CSS — Breakpoint Override System
   ============================================================================
   Mobile-first responsive overrides. All base styles in main.css, layout.css
   and components.css target mobile. This file progressively enhances for
   larger viewports.

   Breakpoints (consistent with Apple's HIG guidelines):
   ┌──────────────┬──────────────────────────────────────────┐
   │  Token       │  Range            │  Device context       │
   ├──────────────┼───────────────────┼───────────────────────┤
   │  --bp-xs     │  < 375px          │  Small phones         │
   │  --bp-sm     │  ≥ 390px          │  Modern phones        │
   │  --bp-md     │  ≥ 768px          │  Tablets (portrait)   │
   │  --bp-lg     │  ≥ 1024px         │  Tablets (land) / SM  │
   │  --bp-xl     │  ≥ 1280px         │  Desktops             │
   │  --bp-2xl    │  ≥ 1440px         │  Large displays       │
   └──────────────┴───────────────────┴───────────────────────┘

   Rule: Never add mobile styles here. Only upward overrides.
   ========================================================================= */


/* ─── XS: Very small phones (< 375px) ─────────────────────────────────────
   Handle edge cases for narrow screens gracefully.
   ──────────────────────────────────────────────────────────────────────── */

@media (max-width: 374px) {

  /* Tighter gutters */
  :root {
    --gutter: var(--space-4);
  }

  /* Ensure product grid doesn't break */
  .product-grid,
  .product-grid--featured {
    grid-template-columns: 1fr;
  }

  /* Navbar brand scales down */
  .navbar__brand {
    font-size: var(--fs-lg);
  }

  /* Buttons fill on very small screens */
  .btn:not(.btn--icon) {
    width: 100%;
    justify-content: center;
  }
}


/* ─── SM: Modern phones (≥ 390px) ─────────────────────────────────────────
   Small enhancements for standard phone sizes.
   ──────────────────────────────────────────────────────────────────────── */

@media (min-width: 390px) {

  /* Scroll items can be slightly wider */
  .scroll-item--full {
    width: 80vw;
  }

  /* Product grid stays 2-col but gains breathing room */
  .product-grid {
    gap: var(--space-5);
  }
}


/* ─── MD: Tablets portrait (≥ 768px) ──────────────────────────────────────
   Significant layout shifts. Navigation opens. Grids expand.
   ──────────────────────────────────────────────────────────────────────── */

@media (min-width: 768px) {

  /* ── NAVBAR ──────────────────────────────────────────────────────────── */
  .navbar__toggle {
    display: none; /* Hide hamburger */
  }

  .navbar__nav {
    display: flex; /* Show desktop nav links */
  }

  /* Hide mobile nav drawer (if open on resize) */
  .mobile-nav {
    display: none !important;
  }

  /* ── LAYOUT COMPOSITIONS ─────────────────────────────────────────────── */

  /* Split: stacks become side-by-side */
  .layout-split {
    grid-template-columns: 1fr 1fr;
  }

  /* Asymmetric: 60/40 split */
  .layout-asymmetric {
    grid-template-columns: 3fr 2fr;
  }

  /* Asymmetric reversed */
  .layout-asymmetric--reversed {
    grid-template-columns: 2fr 3fr;
  }

  /* Sidebar: 240px sidebar + flex content */
  .layout-sidebar {
    grid-template-columns: 240px 1fr;
  }

  /* ── GRID SYSTEM ─────────────────────────────────────────────────────── */

  /* Default 1-col responsive grids expand */
  .grid--cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Lookbook grid: 2 cols */
  .lookbook-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }

  /* ── PRODUCT GRIDS ───────────────────────────────────────────────────── */
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
  }

  .product-grid--featured {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-grid--featured > :first-child {
    grid-column: span 2;
    grid-row: span 2;
  }

  .product-grid--masonry {
    columns: 3;
  }

  /* ── SCROLL ITEMS ────────────────────────────────────────────────────── */
  .scroll-item--full {
    width: 420px;
  }

  /* ── TYPOGRAPHY ADJUSTMENTS ──────────────────────────────────────────── */
  /* Fluid clamps in main.css handle most scaling. Override only edge cases. */

  h1 {
    letter-spacing: var(--ls-tight);
  }

  /* ── SECTION PADDING ─────────────────────────────────────────────────── */
  /* Fluid clamp tokens grow naturally — no override needed here.           */

  /* ── MODAL ───────────────────────────────────────────────────────────── */
  .modal {
    max-width: 600px;
  }

  /* ── BUTTONS ─────────────────────────────────────────────────────────── */
  /* Remove forced full-width on mobile (if applied by page) */
  .btn--mobile-full {
    width: auto;
  }
}


/* ─── LG: Tablets landscape + small desktops (≥ 1024px) ───────────────────
   Full desktop experience. Max columns, wider containers.
   ──────────────────────────────────────────────────────────────────────── */

@media (min-width: 1024px) {

  /* ── GRID SYSTEM ─────────────────────────────────────────────────────── */

  .grid--cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

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

  /* ── PRODUCT GRIDS ───────────────────────────────────────────────────── */
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .product-grid--masonry {
    columns: 4;
  }

  /* Lookbook: 3 cols with hero item */
  .lookbook-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
  }

  .lookbook-grid > :first-child {
    grid-row: span 2;
  }

  /* ── LAYOUT COMPOSITIONS ─────────────────────────────────────────────── */
  .layout-asymmetric {
    grid-template-columns: 7fr 5fr;
    gap: var(--space-12);
  }

  .layout-asymmetric--reversed {
    grid-template-columns: 5fr 7fr;
  }

  .layout-sidebar {
    grid-template-columns: 280px 1fr;
    gap: var(--space-10);
  }

  .layout-split {
    gap: var(--space-12);
  }

  /* ── NAVBAR ──────────────────────────────────────────────────────────── */
  .navbar {
    padding: var(--space-5) var(--gutter);
  }

  .navbar__nav {
    gap: var(--space-10);
  }

  /* ── SCROLL ITEMS ────────────────────────────────────────────────────── */
  .scroll-x {
    /* Convert to grid at desktop */
    overflow: visible;
    flex-wrap: wrap;
    scroll-snap-type: none;
  }

  .scroll-item--full {
    width: auto;
    flex: 1 1 calc(25% - var(--space-4));
  }

  /* ── DRAWER WIDER ────────────────────────────────────────────────────── */
  .drawer {
    max-width: 480px;
  }
}


/* ─── XL: Standard desktops (≥ 1280px) ────────────────────────────────────
   Generous spacing, max-width containers fully engaged.
   ──────────────────────────────────────────────────────────────────────── */

@media (min-width: 1280px) {

  /* ── GRID SYSTEM ─────────────────────────────────────────────────────── */
  .grid--cols-5 {
    grid-template-columns: repeat(5, 1fr);
  }

  .grid--cols-6 {
    grid-template-columns: repeat(6, 1fr);
  }

  /* ── ASYMMETRIC SPLIT more dramatic ──────────────────────────────────── */
  .layout-asymmetric {
    grid-template-columns: 55% 45%;
    gap: var(--space-16);
    align-items: center;
  }

  /* ── PRODUCT GRID 5-up (for wide pages) ──────────────────────────────── */
  .product-grid--wide {
    grid-template-columns: repeat(5, 1fr);
  }

  /* ── NAVBAR spacing increase ──────────────────────────────────────────── */
  .navbar {
    min-height: 72px;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }
}


/* ─── 2XL: Large displays (≥ 1440px) ──────────────────────────────────────
   Max-width containers cap. Only edge-case overrides needed.
   ──────────────────────────────────────────────────────────────────────── */

@media (min-width: 1440px) {

  /* ── Typography: ensure display headings stay proportional ──────────── */
  h1 {
    font-size: var(--fs-6xl);
  }

  /* ── Generous section breathing room ─────────────────────────────────── */
  .section--xl {
    padding-top: var(--section-xl);
    padding-bottom: var(--section-xl);
  }

  /* ── Container max-width cap (already set via token) ────────────────── */
  /* No override needed — --container-max: 1440px handles this             */
}


/* ─── PRINT STYLES ──────────────────────────────────────────────────────────
   Clean print layout. Remove interactive/decorative elements.
   ──────────────────────────────────────────────────────────────────────── */

@media print {
  *,
  *::before,
  *::after {
    box-shadow: none !important;
    text-shadow: none !important;
  }

  .navbar,
  .announcement,
  .drawer,
  .modal,
  .overlay,
  .btn--icon,
  .navbar__toggle {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  h1, h2, h3 {
    page-break-after: avoid;
  }

  img {
    max-width: 100% !important;
  }

  a[href]::after {
    content: ' (' attr(href) ')';
    font-size: 0.8em;
    color: #666;
  }
}


/* ─── INTERACTION MEDIA QUERIES ─────────────────────────────────────────────
   Detect pointer/hover capability. Adjust interactive affordances.
   ──────────────────────────────────────────────────────────────────────── */

/* Touch devices — disable hover-only effects */
@media (hover: none) and (pointer: coarse) {
  .card:hover {
    box-shadow: none;
    transform: none;
  }

  .card:hover .card__image img {
    transform: none;
  }

  .img-zoom:hover img {
    transform: none;
  }

  /* Keep tap feedback via :active instead */
  .card:active {
    box-shadow: var(--shadow-md);
  }
}

/* Mouse devices — enable richer hover states */
@media (hover: hover) and (pointer: fine) {
  .card--lift:hover {
    transform: translateY(-6px);
  }

  .btn:hover {
    will-change: transform;
  }
}

/* ============================================================
   NEW UI SYSTEM — Hero Full, Product Cards, Footer, Gallery
   ============================================================ */

/* ── Hero Full ─────────────────────────────────────────────── */
.hero-full {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  background-color: #1a0e06;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-full__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  will-change: opacity;
}

.hero-full__slide--active {
  opacity: 1;
}

.hero-full__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20,10,3,0.45) 0%,
    rgba(20,10,3,0.25) 50%,
    rgba(20,10,3,0.6) 100%
  );
  pointer-events: none;
}

.hero-full__content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  max-width: 780px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-full__eyebrow {
  font-family: var(--ff-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-text-brand);
  margin-bottom: 1.25rem;
}

.hero-full__headline {
  font-family: var(--ff-display);
  font-size: clamp(3.5rem, 9vw, 6.5rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--color-text-inverse);
  margin-bottom: 1.5rem;
}

.hero-full__divider {
  width: 48px;
  height: 1px;
  background-color: #B4A086;
  margin: 0 auto 1.5rem;
}

.hero-full__body {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(245,239,230,0.8);
  max-width: 400px;
  margin-bottom: 2.5rem;
}

/* Hero CTA Buttons */
.hero-full__buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

@media (min-width: 640px) {
  .hero-full__buttons {
    flex-direction: row;
    gap: 20px;
  }
}

.hero-full__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: #3B2314;
  background-color: #B4A086;
  border: 1px solid #B4A086;
  padding: 16px 36px;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.hero-full__cta:hover {
  background-color: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-2px);
}

.hero-full__cta--secondary {
  background-color: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}

.hero-full__cta--secondary:hover {
  background-color: rgba(255,255,255,0.1);
  color: #fff;
  border-color: #fff;
}

.hero-full__cta svg {
  transition: transform 0.3s ease;
}

.hero-full__cta:hover svg {
  transform: translateX(5px);
}

/* Animated Scroll Indicator */
.hero-full__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  z-index: 3;
}

.hero-full__scroll-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.hero-full__scroll-line {
  width: 1px;
  height: 52px;
  background: rgba(255,255,255,0.15);
  position: relative;
  overflow: hidden;
  display: block;
}

.hero-full__scroll-dot {
  display: block;
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, #B4A086, transparent);
  animation: scrollFall 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes scrollFall {
  0%   { top: -100%; opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* ── Product Cards — Dual Image Hover ──────────────────────── */
.product-card__image {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background-color: #EDE3D5;
}

.product-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.5s ease, transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background-size: cover;
  background-position: center;
}

/* Primary image visible */
.product-card__img:not(.product-card__img--hover) {
  opacity: 1;
  transform: scale(1);
}

/* Hover image hidden by default */
.product-card__img--hover {
  opacity: 0;
  transform: scale(1.05);
}

/* Swap on hover */
.product-card__image-link:hover .product-card__img:not(.product-card__img--hover) {
  opacity: 0;
  transform: scale(1.05);
}

.product-card__image-link:hover .product-card__img--hover {
  opacity: 1;
  transform: scale(1);
}

/* Placeholder colour gradients (primary vs hover tones) */
.product-card__img--1  { background-image: url('../images/image1.webp'); }
.product-card__img--1h { background-image: url('../images/image2.webp'); }
.product-card__img--2  { background-image: url('../images/3.webp'); }
.product-card__img--2h { background-image: url('../images/4.webp'); }
.product-card__img--3  { background-image: url('../images/7.webp'); }
.product-card__img--3h { background-image: url('../images/8.webp'); }
.product-card__img--4  { background-image: url('../images/5.webp'); }
.product-card__img--4h { background-image: url('../images/6jpg.webp'); }
.product-card__img--5  { background: linear-gradient(135deg, #C2A480 0%, #8C6040 100%); }
.product-card__img--5h { background: linear-gradient(135deg, #4E3020 0%, #301A0A 100%); }
.product-card__img--6  { background: linear-gradient(135deg, #B8A080 0%, #806040 100%); }
.product-card__img--6h { background: linear-gradient(135deg, #483020 0%, #2A180A 100%); }

/* WA icon button */
.product-card__wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #25D366;
  color: #fff;
  flex-shrink: 0;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.product-card__wa:hover {
  background-color: #128C7E;
  transform: scale(1.1);
}

.product-card__wa svg {
  width: 18px;
  height: 18px;
}

.product-card__price-usd {
  color: var(--color-neutral-500);
  font-size: 0.88em;
  margin-left: 0.4rem;
}

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background-color: #1E0E06;
  color: rgba(245,239,230,0.7);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 2rem 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(180,160,134,0.15);
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.footer-brand__logo {
  height: 50px;
  border-radius: 4px;
  margin-bottom: 1.25rem;
  display: block;
}

.footer-brand__tagline {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(245,239,230,0.5);
  max-width: 280px;
  margin-bottom: 1.75rem;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.footer-social {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(180,160,134,0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(245,239,230,0.6);
  transition: border-color 0.25s, color 0.25s, background-color 0.25s;
}

.footer-social:hover {
  border-color: #B4A086;
  color: #B4A086;
  background-color: rgba(180,160,134,0.08);
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

.footer-links__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: #F5EFE6;
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
}

.footer-links__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links__list a,
.footer-links__list span {
  font-size: 13px;
  color: rgba(245,239,230,0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links__list a:hover {
  color: #B4A086;
}

.footer-bottom {
  padding: 1.5rem 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 12px;
  color: rgba(245,239,230,0.3);
  letter-spacing: 0.04em;
}

.footer-admin {
  color: rgba(245,239,230,0.2);
  transition: color 0.2s;
  display: inline-flex;
}

.footer-admin:hover {
  color: rgba(245,239,230,0.6);
}

/* ── Gallery Page — Cool Masonry-style Layout ──────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 80px;
  gap: 8px;
}

.gallery-item { background-size: cover; background-position: center; position: relative; overflow: hidden; cursor: pointer; }
.gallery-item__overlay { position: absolute; inset: 0; background: rgba(20,10,3,0); display: flex; align-items: flex-end; padding: 1.25rem; transition: background 0.4s ease; }
.gallery-item__overlay span { font-family: 'Cormorant Garamond', serif; font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0); transition: color 0.4s ease; }
.gallery-item:hover .gallery-item__overlay { background: rgba(20,10,3,0.45); }
.gallery-item:hover .gallery-item__overlay span { color: #F5EFE6; }

/* Placement grid */
.gallery-item--1 { grid-column: 1 / 6;  grid-row: 1 / 7; }
.gallery-item--2 { grid-column: 6 / 9;  grid-row: 1 / 4; }
.gallery-item--3 { grid-column: 9 / 13; grid-row: 1 / 5; }
.gallery-item--4 { grid-column: 6 / 9;  grid-row: 4 / 7; }
.gallery-item--5 { grid-column: 9 / 11; grid-row: 5 / 9; }
.gallery-item--6 { grid-column: 11 / 13;grid-row: 5 / 9; }

/* Colour placeholders - Replaced with Real Brand/Product Images */
.gallery-item--1 { background-image: url('../images/image1.webp'); }
.gallery-item--2 { background-image: url('../images/3.webp'); }
.gallery-item--3 { background-image: url('../images/7.webp'); }
.gallery-item--4 { background-image: url('../images/5.webp'); }
.gallery-item--5 { background-image: url('../images/abt1.webp'); }
.gallery-item--6 { background-image: url('../images/abt2.webp'); }

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 160px;
    gap: 6px;
  }
  .gallery-item--1 {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .gallery-item--2,
  .gallery-item--3,
  .gallery-item--4,
  .gallery-item--5,
  .gallery-item--6 {
    grid-column: auto;
    grid-row: auto;
  }
}

/* ============================================================================
   CART_PAGE.CSS — Dedicated Shopping Bag Page Styles
   ============================================================================ */

.cart-page {
  padding: var(--section-md) 0 var(--section-lg);
  background-color: var(--color-bg-primary);
  min-height: 80vh;
}

.cart-page__header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.cart-page__title {
  font-family: var(--ff-display);
  font-size: var(--fs-4xl);
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-2);
  text-transform: uppercase;
}

.cart-page__subtitle {
  font-family: var(--ff-body);
  font-size: var(--fs-md);
  color: var(--color-text-tertiary);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
}

.cart-page__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: start;
}

@media (min-width: 992px) {
  .cart-page__layout {
    grid-template-columns: 1.8fr 1.2fr;
  }
}

.cart-page__items {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

/* Cart Empty State inside cart page */
.cart-page__empty {
  text-align: center;
  padding: var(--space-12) var(--space-6);
  background: var(--color-bg-secondary);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--color-border-default);
}

.cart-page__empty-title {
  font-family: var(--ff-display);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-semibold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-3);
}

.cart-page__empty-desc {
  font-family: var(--ff-body);
  font-size: var(--fs-md);
  color: var(--color-text-tertiary);
  margin-bottom: var(--space-6);
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.cart-page__empty-cta {
  display: inline-block;
  padding: var(--space-3) var(--space-8);
  background-color: var(--color-brand-500);
  color: var(--color-neutral-0);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-luxury);
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.cart-page__empty-cta:hover {
  background-color: var(--color-brand-600);
  transform: translateY(-1px);
}

/* Cart Page Summary Card */
.cart-page__summary {
  background: var(--color-bg-secondary);
  padding: var(--space-6) var(--space-8);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-sm);
}

.summary-title {
  font-family: var(--ff-display);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-6);
  text-transform: uppercase;
  border-bottom: 1px solid var(--color-border-subtle);
  padding-bottom: var(--space-3);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-4);
  font-size: var(--fs-md);
  color: var(--color-text-secondary);
}

.summary-row--shipping {
  font-size: var(--fs-sm);
  color: var(--color-text-tertiary);
}

.summary-divider {
  height: 1px;
  background-color: var(--color-border-default);
  margin: var(--space-5) 0;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-direction: column;
  gap: var(--space-1);
  margin-bottom: var(--space-6);
}

.summary-total span:first-child {
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  color: var(--color-text-tertiary);
  font-weight: var(--fw-medium);
}

.summary-total span:last-child {
  font-family: var(--ff-display);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
}

.summary-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.summary-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  transition: all var(--transition-fast);
}

.summary-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.summary-trust {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-xs);
  color: var(--color-text-tertiary);
}

.trust-item svg {
  flex-shrink: 0;
  stroke: var(--color-border-strong);
}

/* ============================================================================
   PHASE 3 ENHANCEMENTS — WhatsApp / Telegram Hover Glow & Elevation Animations
   ============================================================================ */

/* Product detail page custom outline WhatsApp button */
.btn--whatsapp-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  border-color: #25D366 !important;
  color: #25D366 !important;
  background-color: transparent !important;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
  cursor: pointer;
}

.btn--whatsapp-order:hover {
  color: #ffffff !important;
  background-color: #25D366 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn--whatsapp-order:active {
  transform: translateY(-1px);
}

/* Cart page summary buttons hover elevations and custom glows */
#cart-whatsapp-btn {
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

#cart-whatsapp-btn:hover {
  background-color: #1ebe57 !important;
  border-color: #1ebe57 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

#cart-whatsapp-btn:active {
  transform: translateY(-1px);
}

#cart-telegram-btn {
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

#cart-telegram-btn:hover {
  background-color: #0088cc !important;
  border-color: #0088cc !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 136, 204, 0.4);
}

#cart-telegram-btn:active {
  transform: translateY(-1px);
}


/* ─── Skeleton Loader ──────────────────────────────────────────────────────── */
.skeleton-card {
  display: block;
  background: transparent;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--color-border-subtle);
  padding-bottom: 1rem;
}
.skeleton-img {
  width: 100%;
  aspect-ratio: 4/5;
  background: #f1ebd9; /* slightly darker than background */
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}
.skeleton-text {
  height: 1.2rem;
  background: #f1ebd9;
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
  margin-left: 1rem;
  position: relative;
  overflow: hidden;
}
.skeleton-title { width: 70%; }
.skeleton-price { width: 40%; height: 1rem; }

.skeleton-img::after, .skeleton-text::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  transform: translateX(-100%);
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0.6) 20%, rgba(255, 255, 255, 0.6) 60%, rgba(255, 255, 255, 0));
  animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
  100% { transform: translateX(100%); }
}
