/* ==========================================================================
   KANYA CREATION · CLAUDE-INSPIRED DESIGN SYSTEM
   ──────────────────────────────────────────────────────────────────────────
   A warm, sophisticated, minimal design language inspired by Claude.ai.
   Warm creams, coral/terracotta accents, refined typography, and
   subtle micro-animations. No flashy effects — everything breathes.
   ========================================================================== */


/* ══════════════════════════════════════════════════════════════════════════
   §1. DESIGN TOKENS — CSS CUSTOM PROPERTIES
   ══════════════════════════════════════════════════════════════════════════ */

:root {
  /* ── Light Mode: Warm Cream Foundation ── */
  --bg-primary:        #FAF9F7;          /* Warm cream — the canvas                */
  --bg-secondary:      #F5F3EF;          /* Slightly warmer — sections             */
  --bg-tertiary:       #EDE9E3;          /* Deeper warmth — subtle alternation     */
  --bg-card:           rgba(255, 253, 250, 0.85); /* Translucent warm white        */
  --bg-card-opaque:    #FFFDF9;          /* Opaque warm white for layering         */
  --bg-header:         rgba(250, 249, 247, 0.88); /* Glassmorphism header bg       */

  /* ── Borders & Dividers ── */
  --border-color:      rgba(26, 24, 22, 0.08);  /* Barely-there warm border       */
  --border-hover:      rgba(26, 24, 22, 0.15);  /* Slightly visible on hover      */
  --border-accent:     rgba(217, 119, 87, 0.25); /* Accent-tinted border          */

  /* ── Typography Colors ── */
  --text-primary:      #1A1A1A;          /* Warm charcoal — headings & body        */
  --text-secondary:    #6B6560;          /* Warm gray — muted text                 */
  --text-tertiary:     #9C9590;          /* Lightest — captions & meta             */
  --text-inverse:      #FAF9F7;          /* Light on dark backgrounds              */

  /* ── Accent Palette: Coral/Terracotta ── */
  --color-accent:      #D97757;          /* Primary coral/terracotta               */
  --color-accent-hover:#C4623F;          /* Deeper on hover                        */
  --color-accent-soft: rgba(217, 119, 87, 0.10); /* Soft accent background        */
  --color-accent-glow: rgba(217, 119, 87, 0.20); /* Focus rings                   */

  /* ── Champagne Gold — Luxury Touches ── */
  --color-gold:        #B8976A;          /* Warm champagne gold                    */
  --color-gold-hover:  #A6845A;          /* Darker on hover                        */
  --color-gold-soft:   rgba(184, 151, 106, 0.12); /* Soft gold background         */

  /* ── Secondary: Muted Sage/Teal ── */
  --color-sage:        #7A9E8E;          /* Soft sage green                        */
  --color-sage-soft:   rgba(122, 158, 142, 0.10);

  /* ── Functional Colors ── */
  --wa-green:          #25D366;          /* WhatsApp green                         */
  --wa-green-hover:    #1EBE57;          /* WhatsApp hover                         */
  --color-success:     #3D9970;          /* Success states                         */
  --color-warning:     #D4A84B;          /* Warning states                         */
  --color-error:       #C75050;          /* Error states                           */
  --color-info:        #5B8DB8;          /* Info states                            */

  /* ── Shadows — Soft & Warm ── */
  --shadow-xs:         0 1px 2px rgba(26, 24, 22, 0.04);
  --shadow-sm:         0 2px 4px rgba(26, 24, 22, 0.04),
                       0 1px 2px rgba(26, 24, 22, 0.03);
  --shadow-md:         0 4px 12px rgba(26, 24, 22, 0.06),
                       0 2px 4px rgba(26, 24, 22, 0.04);
  --shadow-lg:         0 8px 24px rgba(26, 24, 22, 0.08),
                       0 4px 8px rgba(26, 24, 22, 0.04);
  --shadow-xl:         0 16px 40px rgba(26, 24, 22, 0.10),
                       0 6px 12px rgba(26, 24, 22, 0.05);
  --shadow-hover:      0 8px 30px rgba(26, 24, 22, 0.10),
                       0 4px 10px rgba(26, 24, 22, 0.05);

  /* ── Glassmorphism ── */
  --backdrop-blur:     blur(20px);
  --backdrop-blur-sm:  blur(8px);

  /* ── Transitions — Smooth & Organic ── */
  --transition-smooth: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-spring: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-gentle: all 0.3s ease;
  --ease-out-expo:     cubic-bezier(0.16, 1, 0.3, 1);

  /* ── Border Radius — Organic ── */
  --radius-xs:         4px;
  --radius-sm:         8px;
  --radius-md:         14px;
  --radius-lg:         20px;
  --radius-xl:         28px;
  --radius-full:       9999px;

  /* ── Spacing Scale ── */
  --space-xs:          4px;
  --space-sm:          8px;
  --space-md:          16px;
  --space-lg:          24px;
  --space-xl:          40px;
  --space-2xl:         64px;
  --space-3xl:         96px;

  /* ── Typography Scale ── */
  --font-sans:         'Inter', 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif:        'DM Serif Display', 'Playfair Display', Georgia, serif;
  --font-mono:         'JetBrains Mono', 'Fira Code', monospace;

  --text-xs:           0.6875rem;   /* 11px */
  --text-sm:           0.8125rem;   /* 13px */
  --text-base:         0.9375rem;   /* 15px */
  --text-lg:           1.125rem;    /* 18px */
  --text-xl:           1.375rem;    /* 22px */
  --text-2xl:          1.75rem;     /* 28px */
  --text-3xl:          2.25rem;     /* 36px */
  --text-4xl:          3rem;        /* 48px */
}


/* ── Dark Mode Overrides ── */
[data-theme='dark'] {
  --bg-primary:        #1A1816;
  --bg-secondary:      #232120;
  --bg-tertiary:       #2C2926;
  --bg-card:           rgba(35, 33, 32, 0.85);
  --bg-card-opaque:    #2C2926;
  --bg-header:         rgba(26, 24, 22, 0.90);

  --border-color:      rgba(255, 253, 250, 0.08);
  --border-hover:      rgba(255, 253, 250, 0.14);
  --border-accent:     rgba(232, 132, 92, 0.20);

  --text-primary:      #E8E4DF;
  --text-secondary:    #B5AFA7;
  --text-tertiary:     #8A847D;
  --text-inverse:      #1A1816;

  --color-accent:      #E8845C;
  --color-accent-hover:#D4703F;
  --color-accent-soft: rgba(232, 132, 92, 0.12);
  --color-accent-glow: rgba(232, 132, 92, 0.25);

  --color-gold:        #D4B88A;
  --color-gold-hover:  #C4A87A;
  --color-gold-soft:   rgba(212, 184, 138, 0.10);

  --shadow-xs:         0 1px 2px rgba(0, 0, 0, 0.20);
  --shadow-sm:         0 2px 4px rgba(0, 0, 0, 0.25),
                       0 1px 2px rgba(0, 0, 0, 0.15);
  --shadow-md:         0 4px 12px rgba(0, 0, 0, 0.30),
                       0 2px 4px rgba(0, 0, 0, 0.20);
  --shadow-lg:         0 8px 24px rgba(0, 0, 0, 0.35),
                       0 4px 8px rgba(0, 0, 0, 0.20);
  --shadow-xl:         0 16px 40px rgba(0, 0, 0, 0.40),
                       0 6px 12px rgba(0, 0, 0, 0.25);
  --shadow-hover:      0 8px 30px rgba(0, 0, 0, 0.35),
                       0 4px 10px rgba(0, 0, 0, 0.20);
}


/* ══════════════════════════════════════════════════════════════════════════
   §2. RESET & BASE STYLES
   ══════════════════════════════════════════════════════════════════════════ */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color 0.5s ease, color 0.5s ease;
  line-height: 1.65;
  font-size: var(--text-base);
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* ── Headings ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;           /* DM Serif Display is naturally bold */
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text-primary);
}

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

/* ── Links ── */
a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-gentle);
}

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

/* ── Lists ── */
ul {
  list-style: none;
}

/* ── Images ── */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ── Selection ── */
::selection {
  background-color: var(--color-accent-soft);
  color: var(--color-accent-hover);
}

/* ── Focus Visible (Accessibility) ── */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: var(--radius-xs);
}


/* ══════════════════════════════════════════════════════════════════════════
   §3. HIDE FLASHY ELEMENTS — No Particles, No Custom Cursor
   ══════════════════════════════════════════════════════════════════════════
   Claude design is refined — we hide particle canvases, custom cursors,
   glow spheres, and shimmer borders. Clean and minimal.
   ══════════════════════════════════════════════════════════════════════════ */

/* Hide particles canvas — no particle effects in Claude design */
#glitter-canvas,
.particles-canvas {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none;
}

/* Hide custom cursor — use native OS cursor */
.custom-cursor,
.custom-cursor-dot {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none;
}

/* Hide glow spheres — replace with subtle warmth */
.glow-sphere {
  display: none !important;
  visibility: hidden !important;
}


/* ══════════════════════════════════════════════════════════════════════════
   §4. LAYOUT UTILITIES
   ══════════════════════════════════════════════════════════════════════════ */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }
}

.text-center { text-align: center; }

.accent-text {
  color: var(--color-accent);
}

/* ── Divider — Elegant thin gold line ── */
.divider {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-accent));
  margin: var(--space-md) auto;
  border-radius: var(--radius-full);
  opacity: 0.7;
}

/* ── Section Headers ── */
.section-header {
  margin-bottom: var(--space-xl);
}

.sub-heading {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.section-desc {
  font-size: var(--text-base);
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.65;
}

.section-desc.text-center,
.section-header.text-center .section-desc {
  margin-left: auto;
  margin-right: auto;
}


/* ══════════════════════════════════════════════════════════════════════════
   §5. GLASS CARD — Universal Glassmorphism Component
   ══════════════════════════════════════════════════════════════════════════ */

.glass-card {
  background: var(--bg-card);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-hover);
}


/* ══════════════════════════════════════════════════════════════════════════
   §6. BUTTONS — Warm, Refined, Touchable
   ══════════════════════════════════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--text-sm);
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition-spring);
  gap: 8px;
  text-decoration: none;
  position: relative;
  isolation: isolate;
  line-height: 1.4;
}

/* ── Primary: Coral/Terracotta Gradient ── */
.btn-primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, #C4623F 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(217, 119, 87, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(217, 119, 87, 0.35);
  color: white;
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(217, 119, 87, 0.20);
}

/* Remove pulsing after-pseudo from old design — Claude doesn't pulse */
.btn-primary::after {
  display: none !important;
}

/* ── Secondary: Warm Ghost Button ── */
.btn-secondary {
  background-color: var(--bg-card-opaque);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background-color: var(--bg-tertiary);
  border-color: var(--border-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
  color: var(--text-primary);
}

/* ── Outline: Gold Border ── */
.btn-outline {
  background-color: transparent;
  color: var(--color-gold);
  border: 1.5px solid var(--color-gold);
}

.btn-outline:hover {
  background-color: var(--color-gold);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(184, 151, 106, 0.25);
}

/* ── Size Variants ── */
.btn-sm {
  padding: 8px 18px;
  font-size: var(--text-xs);
}

.btn-lg {
  padding: 16px 36px;
  font-size: var(--text-base);
}

.btn-block {
  display: flex;
  width: 100%;
}

/* ── Link Button ── */
.btn-link {
  background: none;
  border: none;
  color: var(--color-accent);
  font-family: var(--font-sans);
  font-weight: 500;
  cursor: pointer;
  font-size: var(--text-sm);
  letter-spacing: 0.02em;
  padding: 8px 0;
  gap: 6px;
  transition: var(--transition-gentle);
}

.btn-link:hover {
  color: var(--color-accent-hover);
  gap: 10px;
}

/* ── Header CTA ── */
.btn-header {
  padding: 10px 22px;
  font-size: var(--text-xs);
  border-radius: var(--radius-sm);
}

/* ── WhatsApp Buttons ── */
.btn-wa-pitch {
  background-color: var(--wa-green) !important;
  color: white !important;
  box-shadow: 0 2px 10px rgba(37, 211, 102, 0.20) !important;
  border: none;
}

.btn-wa-pitch:hover {
  background-color: var(--wa-green-hover) !important;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.30) !important;
  transform: translateY(-2px);
}

/* Remove old pulsing on wa-pitch */
.btn-wa-pitch::after {
  display: none !important;
}


/* ══════════════════════════════════════════════════════════════════════════
   §7. FORM CONTROLS — Clean, Warm, Focused
   ══════════════════════════════════════════════════════════════════════════ */

.form-group {
  margin-bottom: var(--space-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

@media (max-width: 576px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

label {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-sm);
  color: var(--text-secondary);
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-color);
  background: var(--bg-card-opaque);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  transition: var(--transition-gentle);
  line-height: 1.5;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-glow);
  background: var(--bg-card-opaque);
}

.form-control::placeholder {
  color: var(--text-tertiary);
}

/* ── Filter System ── */
.filter-group {
  margin-top: var(--space-lg);
}

.filter-label {
  margin-bottom: 10px;
}


/* ══════════════════════════════════════════════════════════════════════════
   §8. TICKER / MARQUEE — Warm, Understated News Bar
   ══════════════════════════════════════════════════════════════════════════ */

.ticker-wrap,
.factory-ticker-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(32px + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  overflow: hidden;
  background: var(--bg-tertiary);
  border-bottom: 1px solid var(--border-color);
  z-index: 1005;
  display: flex;
  align-items: center;
}

[data-theme='dark'] .ticker-wrap,
[data-theme='dark'] .factory-ticker-bar {
  background: #151311;
}

.ticker,
.factory-ticker-inner {
  display: inline-flex;
  white-space: nowrap;
  animation: marquee-scroll 35s linear infinite;
}

.ticker:hover,
.factory-ticker-inner:hover {
  animation-play-state: paused;
}

.ticker-item,
.factory-ticker-item {
  display: inline-block;
  padding: 0 2.5rem;
  color: var(--text-secondary);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.ticker-item span,
.factory-ticker-item span {
  color: var(--color-accent);
  font-weight: 600;
}

.restock-alert-tag {
  background: var(--color-error) !important;
  color: white !important;
  padding: 2px 6px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: var(--radius-xs);
  margin-right: 6px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  vertical-align: middle;
  /* No flashing — Claude design keeps it calm */
  animation: none;
}

@keyframes marquee-scroll {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}


/* ══════════════════════════════════════════════════════════════════════════
   §9. HEADER — Sticky Glassmorphism, Warm & Refined
   ══════════════════════════════════════════════════════════════════════════ */

.main-header {
  position: fixed;
  top: calc(32px + env(safe-area-inset-top));
  left: 0;
  width: 100%;
  height: 72px;
  background-color: var(--bg-header);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: var(--transition-smooth);
}

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

/* ── Logo ── */
.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-wide {
  height: auto;
  max-height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
  padding: 4px 0;
  transition: var(--transition-gentle);
}

/* ── Desktop Navigation ── */
.desktop-nav ul {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-link {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-gentle);
}

.nav-link i {
  font-size: 12px;
  opacity: 0.6;
  transition: var(--transition-gentle);
}

.nav-link:hover {
  color: var(--text-primary);
  background-color: var(--color-accent-soft);
}

.nav-link:hover i {
  opacity: 1;
  color: var(--color-accent);
}

.nav-link.active {
  color: var(--color-accent);
  background-color: var(--color-accent-soft);
  font-weight: 600;
}

.nav-link.active i {
  opacity: 1;
}

/* Remove old underline animation — Claude uses bg-fill instead */
.nav-link::after {
  display: none;
}

/* ── Header Widgets ── */
.header-widgets {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle-btn {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  font-size: 16px;
  cursor: pointer;
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: var(--transition-gentle);
}

.theme-toggle-btn:hover {
  color: var(--color-accent);
  border-color: var(--border-hover);
  background: var(--color-accent-soft);
}


/* ══════════════════════════════════════════════════════════════════════════
   §10. MOBILE BOTTOM NAVIGATION — Clean 5-Item Bar
   ══════════════════════════════════════════════════════════════════════════ */

.mobile-app-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: calc(60px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background-color: var(--bg-header);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border-top: 1px solid var(--border-color);
  z-index: 1000;
  grid-template-columns: repeat(5, 1fr);
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.04);
}

/* Hide on keyboard open */
html:has(input:focus, textarea:focus, select:focus) .mobile-app-bar {
  display: none !important;
}

body.keyboard-open .mobile-app-bar {
  display: none !important;
}

body.keyboard-open {
  padding-bottom: 0 !important;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  color: var(--text-tertiary);
  gap: 3px;
  height: 60px;
  transition: var(--transition-gentle);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav-item i {
  font-size: 18px;
  transition: var(--transition-gentle);
}

.mobile-nav-item.active {
  color: var(--color-accent);
}

.mobile-nav-item.active i {
  transform: translateY(-2px);
}

/* ── Mobile Header Responsive ── */
@media (max-width: 768px) {
  .main-header {
    top: calc(32px + env(safe-area-inset-top));
    height: 60px;
  }

  .brand-logo-wide {
    max-height: 40px;
  }

  .header-container {
    position: relative;
    justify-content: center;
  }

  .logo-container {
    margin: 0 auto;
    max-width: calc(100% - 80px);
    justify-content: center;
  }

  .header-widgets {
    position: absolute;
    right: var(--space-md);
    top: 50%;
    transform: translateY(-50%);
  }

  .desktop-nav,
  .btn-header {
    display: none;
  }

  .mobile-app-bar {
    display: grid;
  }

  body {
    padding-bottom: calc(60px + env(safe-area-inset-bottom));
  }

  /* Touch target sizes */
  .theme-toggle-btn {
    width: 48px;
    height: 48px;
  }

  .pill {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
  }

  .btn-sm {
    padding: 12px 20px;
    font-size: var(--text-xs);
  }
}


/* ══════════════════════════════════════════════════════════════════════════
   §11. MAIN CONTENT AREA
   ══════════════════════════════════════════════════════════════════════════ */

.app-main-content {
  margin-top: calc(104px + env(safe-area-inset-top));
  min-height: calc(100vh - 104px - 200px);
}

@media (max-width: 768px) {
  .app-main-content {
    margin-top: calc(92px + env(safe-area-inset-top));
  }
}

/* Tab panels for backward compat — all visible in single-scroll */
.tab-panel {
  display: none;
  animation: tabFadeIn 0.5s var(--ease-out-expo) forwards;
}

.tab-panel.active {
  display: block;
}

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


/* ══════════════════════════════════════════════════════════════════════════
   §12. HERO SECTION & CAROUSEL
   ══════════════════════════════════════════════════════════════════════════ */

.hero-section {
  position: relative;
  height: 85vh;
  min-height: 560px;
  max-height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  color: white;
}

.hero-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.carousel-container {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

/* ── Carousel Slides — Crossfade ── */
.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1.2s var(--ease-out-expo), visibility 1.2s;
  z-index: 1;
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* ── Hero Background Image ── */
.hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.carousel-slide.active .hero-bg-img {
  animation: heroZoom 15s ease-out forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.02); }
  to   { transform: scale(1.08); }
}

/* ── Hero Overlay — Warm gradient, not pure black ── */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(26, 24, 22, 0.35) 0%,
    rgba(26, 24, 22, 0.55) 50%,
    rgba(26, 24, 22, 0.80) 100%
  );
  z-index: 1;
}

/* ── Hero Content Card — Glassmorphism bottom-left ── */
.hero-content {
  position: absolute;
  bottom: 72px;
  left: 6%;
  text-align: left;
  z-index: 5;
  max-width: 500px;
  background: rgba(26, 24, 22, 0.40);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border: 1px solid rgba(255, 255, 255, 0.10);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: heroContentReveal 0.8s var(--ease-out-expo) 0.3s both;
}

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

/* ── Hero Badge ── */
.hero-badge {
  display: inline-block;
  background-color: var(--color-accent);
  color: white;
  padding: 5px 14px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

/* ── Hero Title ── */
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 12px;
  line-height: 1.2;
  color: white;
  font-weight: 400;
}

/* ── Hero Subtitle ── */
.hero-subtitle {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 400;
  margin-bottom: var(--space-lg);
  opacity: 0.90;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.55;
}

/* ── Hero CTAs ── */
.hero-ctas {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  width: 100%;
}

@media (max-width: 768px) {
  .hero-section {
    height: 80vh;
    min-height: 500px;
  }

  .hero-content {
    left: var(--space-md);
    right: var(--space-md);
    bottom: 100px;
    max-width: none;
    padding: var(--space-lg);
    text-align: center;
    align-items: center;
    background: rgba(26, 24, 22, 0.65);
  }

  .hero-title {
    font-size: clamp(1.25rem, 5vw, 1.75rem);
  }

  .hero-subtitle {
    margin-bottom: var(--space-md);
    font-size: var(--text-sm);
  }

  .hero-ctas {
    justify-content: center;
  }
}

/* ── Carousel Controls ── */
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 253, 250, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-gentle);
  backdrop-filter: var(--backdrop-blur-sm);
  -webkit-backdrop-filter: var(--backdrop-blur-sm);
}

.carousel-control:hover {
  background-color: rgba(255, 253, 250, 0.25);
  border-color: rgba(255, 255, 255, 0.30);
  transform: translateY(-50%) scale(1.05);
}

.prev-control { left: var(--space-lg); }
.next-control { right: var(--space-lg); }

@media (max-width: 768px) {
  .carousel-control {
    width: 48px;
    height: 48px;
    font-size: 14px;
  }
  .prev-control { left: 12px; }
  .next-control { right: 12px; }
}

/* ── Carousel Dots ── */
.carousel-dots {
  position: absolute;
  bottom: 56px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

@media (max-width: 768px) {
  .carousel-dots {
    bottom: 76px;
  }
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.30);
  cursor: pointer;
  transition: var(--transition-gentle);
}

.dot:hover {
  background-color: rgba(255, 255, 255, 0.55);
}

.dot.active {
  background-color: var(--color-accent);
  width: 24px;
  border-radius: 4px;
}

/* ── Scroll Indicator ── */
.scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.5;
  color: rgba(255, 255, 255, 0.7);
  z-index: 10;
}

.animate-bounce {
  animation: gentleBounce 2.5s ease-in-out infinite;
}

@keyframes gentleBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}


/* ══════════════════════════════════════════════════════════════════════════
   §13. TRUST STATS SECTION — Warm Cards with Gentle Lift
   ══════════════════════════════════════════════════════════════════════════ */

.stats-section {
  padding: var(--space-3xl) var(--space-lg);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

.stat-card {
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-spring);
}

/* Remove old shimmer border animation from stat cards */
.stat-card,
.product-card,
.fabric-card {
  animation: none !important;
  background: var(--bg-card-opaque) !important;
  border: 1px solid var(--border-color) !important;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-accent) !important;
}

.stat-icon {
  font-size: 32px;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
  opacity: 0.85;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  font-weight: 400;
  color: var(--color-gold);
  margin-bottom: var(--space-xs);
  line-height: 1;
}

.stat-label {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}


/* ══════════════════════════════════════════════════════════════════════════
   §14. PRODUCT SHOWCASE — Clean Cards with Image Zoom
   ══════════════════════════════════════════════════════════════════════════ */

.quick-showcase {
  padding: var(--space-xl) var(--space-lg) var(--space-3xl);
}

.showcase-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
  gap: var(--space-md);
}

@media (max-width: 576px) {
  .showcase-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

@media (max-width: 992px) {
  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .showcase-grid {
    grid-template-columns: 1fr;
  }
}

.showcase-card {
  background-color: var(--bg-card-opaque);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-spring);
}

.showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-hover);
}

.card-img-container {
  height: 260px;
  overflow: hidden;
  position: relative;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}

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

.card-content {
  padding: var(--space-lg);
}

.card-content h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-sm);
}

.card-content p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  line-height: 1.55;
}


/* ══════════════════════════════════════════════════════════════════════════
   §15. B2B CATALOG SHOWCASE — Split Layout with Collage
   ══════════════════════════════════════════════════════════════════════════ */

.b2b-showcase-section {
  padding: var(--space-3xl) var(--space-lg);
}

@media (max-width: 480px) {
  .b2b-showcase-section {
    padding: var(--space-xl) var(--space-md);
  }
}

.b2b-showcase-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

@media (max-width: 992px) {
  .b2b-showcase-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

/* ── Overlapping Collage ── */
.showcase-collage {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  position: relative;
}

.collage-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  aspect-ratio: 1 / 1;
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s ease;
}

.collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.collage-item:hover {
  transform: scale(1.02) translateY(-3px);
  box-shadow: var(--shadow-lg);
  z-index: 10;
}

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

/* Asymmetrical overlap — subtle stagger */
.collage-item.item-1 { transform: translateY(-10px); }
.collage-item.item-2 { transform: translateY(10px); }
.collage-item.item-3 { transform: translateY(-10px); }
.collage-item.item-4 { transform: translateY(10px); }

.collage-item.item-1:hover { transform: translateY(-14px) scale(1.02); }
.collage-item.item-2:hover { transform: translateY(6px) scale(1.02); }
.collage-item.item-3:hover { transform: translateY(-14px) scale(1.02); }
.collage-item.item-4:hover { transform: translateY(6px) scale(1.02); }

@media (max-width: 768px) {
  .collage-item.item-1,
  .collage-item.item-2,
  .collage-item.item-3,
  .collage-item.item-4 {
    transform: none !important;
  }
}

.collage-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(26, 24, 22, 0.65);
  backdrop-filter: var(--backdrop-blur-sm);
  -webkit-backdrop-filter: var(--backdrop-blur-sm);
  color: white;
  padding: 4px 10px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  border-radius: var(--radius-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255, 255, 255, 0.10);
}

/* ── B2B Pitch Card ── */
.b2b-pitch-card {
  padding: var(--space-xl) var(--space-xl);
  border-radius: var(--radius-lg);
  background: var(--bg-card-opaque);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

@media (max-width: 576px) {
  .b2b-pitch-card {
    padding: var(--space-lg) var(--space-md);
    border-radius: var(--radius-md);
  }
}

/* Subtle warm glow on top of the card */
.card-glow-border {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-gold));
  opacity: 0.6;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.pitch-tag {
  align-self: flex-start;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  border: 1px solid var(--border-accent);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.b2b-pitch-card h3 {
  font-size: var(--text-xl);
  line-height: 1.3;
  color: var(--text-primary);
}

.b2b-pitch-card p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Benefits List ── */
.b2b-pitch-benefits {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.b2b-pitch-benefits li {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.benefit-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--color-gold-soft);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  border: 1px solid rgba(184, 151, 106, 0.20);
}

.benefit-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.benefit-text strong {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
}

.benefit-text span {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  line-height: 1.45;
}

/* ── B2B Actions ── */
.b2b-pitch-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: var(--space-sm);
}

.b2b-note {
  font-family: var(--font-sans);
  font-size: 10px;
  color: var(--text-tertiary);
  font-weight: 500;
  text-align: center;
  display: block;
}

.b2b-note i {
  color: var(--color-gold);
  margin-right: 4px;
}


/* ══════════════════════════════════════════════════════════════════════════
   §16. PROCESSES TIMELINE — Vertical Flowing Layout
   ══════════════════════════════════════════════════════════════════════════
   All processes visible (no tabs). Alternating left/right on desktop,
   central gradient line, numbered step markers.
   ══════════════════════════════════════════════════════════════════════════ */

.processes-showcase {
  padding: var(--space-xl) var(--space-lg) var(--space-3xl);
}

/* Hide any tab-based navigation — everything scrolls */
.process-tabs {
  display: none !important;
}

/* ── Timeline Container ── */
.process-timeline,
.process-panels {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-3xl);
  margin-top: var(--space-xl);
}

/* ── Central Timeline Line ── */
.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--color-accent) 10%,
    var(--color-gold) 50%,
    var(--color-accent) 90%,
    transparent
  );
  opacity: 0.20;
  z-index: 1;
}

@media (min-width: 769px) {
  .process-panels::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: linear-gradient(
      to bottom,
      transparent,
      var(--color-accent) 10%,
      var(--color-gold) 50%,
      var(--color-accent) 90%,
      transparent
    );
    opacity: 0.15;
    z-index: 1;
  }
}

/* ── Timeline Steps ── */
.timeline-step,
.process-panel {
  display: block !important; /* Always visible */
  position: relative;
  z-index: 2;
}

.process-panel {
  opacity: 0;
  transform: translateY(16px);
  animation: processReveal 0.6s var(--ease-out-expo) forwards;
}

.process-panel:nth-child(1) { animation-delay: 0.1s; }
.process-panel:nth-child(2) { animation-delay: 0.2s; }
.process-panel:nth-child(3) { animation-delay: 0.3s; }
.process-panel:nth-child(4) { animation-delay: 0.4s; }
.process-panel:nth-child(5) { animation-delay: 0.5s; }
.process-panel:nth-child(6) { animation-delay: 0.6s; }

@keyframes processReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Step Marker (numbered circle) ── */
.step-marker {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--bg-card-opaque);
  border: 2px solid var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  color: var(--color-accent);
  z-index: 5;
  box-shadow: var(--shadow-sm);
}

/* ── Step Content (the 2-col grid) ── */
.step-content,
.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

/* Alternate layout on desktop */
@media (min-width: 769px) {
  .timeline-step:nth-child(even) .process-info,
  .process-panel:nth-child(even) .process-info {
    order: 2;
  }
  .timeline-step:nth-child(even) .process-media,
  .process-panel:nth-child(even) .process-media {
    order: 1;
  }
}

@media (max-width: 768px) {
  .process-timeline,
  .process-panels {
    gap: var(--space-xl);
  }

  .step-content,
  .process-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .step-marker {
    position: relative;
    left: auto;
    transform: none;
    margin-bottom: var(--space-md);
  }

  .timeline-line {
    display: none;
  }
}

/* ── Process Info ── */
.process-info h2,
.process-info h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-md);
  color: var(--color-gold);
}

.accent-paragraph {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.process-info p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

.process-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--text-primary);
}

.detail-item i {
  color: var(--color-accent);
  font-size: 14px;
  opacity: 0.8;
}

/* ── Process Media ── */
.process-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 360px;
  transition: transform 0.5s var(--ease-out-expo),
              box-shadow 0.5s ease;
}

.process-media:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.process-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}

.process-media:hover .process-img {
  transform: scale(1.04);
}

@media (max-width: 768px) {
  .process-media {
    height: 260px;
  }
}


/* ══════════════════════════════════════════════════════════════════════════
   §17. FABRIC ENCYCLOPEDIA — Grid with Tag Badges
   ══════════════════════════════════════════════════════════════════════════ */

.fabrics-encyclopedia {
  padding: var(--space-3xl) var(--space-lg);
  background-color: var(--bg-secondary);
  border-radius: var(--radius-lg);
}

.fabric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

@media (max-width: 1200px) {
  .fabric-grid { grid-template-columns: repeat(3, 1fr); }
}

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

@media (max-width: 480px) {
  .fabric-grid { grid-template-columns: 1fr; }
}

.fabric-card {
  padding: var(--space-lg);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  background: var(--bg-card-opaque) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius-md);
  transition: var(--transition-spring);
}

/* Warm accent top bar */
.fabric-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-accent));
  opacity: 0.5;
  transition: var(--transition-gentle);
}

.fabric-card:hover::before {
  height: 4px;
  opacity: 0.8;
}

.fabric-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover) !important;
  border-color: var(--border-accent) !important;
}

.fabric-card h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.fabric-tag {
  font-family: var(--font-sans);
  font-size: 9px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.06em;
  margin-bottom: var(--space-sm);
  display: inline-block;
  background: var(--color-accent-soft);
  padding: 3px 8px;
  border-radius: var(--radius-xs);
}

.fabric-card p {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  line-height: 1.55;
}


/* ══════════════════════════════════════════════════════════════════════════
   §18. ABOUT SECTION
   ══════════════════════════════════════════════════════════════════════════ */

.about-hero {
  padding: var(--space-xl) var(--space-lg) var(--space-3xl);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

.about-info h2 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-md);
}

.about-info p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  line-height: 1.65;
}

.about-milestones {
  display: flex;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.about-milestones h3,
.about-milestones .milestone-number {
  font-size: var(--text-2xl);
  color: var(--color-accent);
  font-family: var(--font-serif);
  display: block;
}

.about-milestones p {
  font-size: var(--text-xs);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.about-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 380px;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}

.about-visual:hover .about-img {
  transform: scale(1.03);
}


/* ══════════════════════════════════════════════════════════════════════════
   §19. TESTIMONIALS — 3-Column Card Grid
   ══════════════════════════════════════════════════════════════════════════ */

.testimonials-section {
  padding: var(--space-3xl) var(--space-lg);
  background-color: var(--bg-secondary);
  border-radius: var(--radius-lg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

@media (max-width: 992px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

.testimonial-card {
  padding: var(--space-lg) var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  background: var(--bg-card-opaque);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-spring);
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-hover);
}

.stars {
  color: var(--color-gold);
  margin-bottom: var(--space-md);
  font-size: 14px;
  letter-spacing: 2px;
}

.quote {
  font-style: italic;
  font-family: var(--font-serif);
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
  font-size: var(--text-sm);
  line-height: 1.65;
}

.client-info {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: auto;
}

.client-avatar {
  width: 44px;
  height: 44px;
  background: var(--color-accent-soft);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.client-name {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
}

.client-meta {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
}


/* ══════════════════════════════════════════════════════════════════════════
   §20. CATALOG / PRODUCT LISTING
   ══════════════════════════════════════════════════════════════════════════ */

.catalog-container {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--space-xl);
  padding: var(--space-xl) var(--space-lg);
}

@media (max-width: 992px) {
  .catalog-container {
    grid-template-columns: 1fr;
  }
}

/* ── Sidebar ── */
.catalog-sidebar {
  position: sticky;
  top: 120px;
  align-self: flex-start;
}

.sidebar-widget {
  padding: var(--space-lg);
  background: var(--bg-card-opaque);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.sidebar-widget h3 {
  font-size: var(--text-lg);
}

/* ── Category Pills ── */
.category-pills {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

@media (max-width: 992px) {
  .category-pills {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.pill {
  border: 1px solid var(--border-color);
  background: var(--bg-primary);
  color: var(--text-primary);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--text-sm);
  text-align: left;
  cursor: pointer;
  transition: var(--transition-gentle);
}

.pill:hover {
  background-color: var(--color-accent-soft);
  border-color: var(--border-accent);
  color: var(--color-accent);
}

.pill.active {
  background-color: var(--color-accent);
  color: white;
  border-color: var(--color-accent);
}

/* ── Catalog Info Bar ── */
.catalog-main {
  min-width: 0; /* Prevent grid blowout */
}

.catalog-info-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
}

.results-count {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
}

.catalog-layout-toggle span {
  padding: 6px;
  font-size: 16px;
  cursor: pointer;
  color: var(--text-tertiary);
  transition: var(--transition-gentle);
  border-radius: var(--radius-xs);
}

.catalog-layout-toggle span:hover {
  color: var(--text-secondary);
}

.catalog-layout-toggle span.active {
  color: var(--color-accent);
}

/* ── Product Grid ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

@media (max-width: 1200px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* List view toggle */
.product-grid.list-view {
  grid-template-columns: 1fr;
}

/* ── Product Card ── */
.product-card {
  background-color: var(--bg-card-opaque) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-spring);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover) !important;
  border-color: var(--border-hover) !important;
}

.product-grid.list-view .product-card {
  flex-direction: row;
  height: 200px;
}

@media (max-width: 576px) {
  .product-grid.list-view .product-card {
    flex-direction: column;
    height: auto;
  }
}

/* ── Product Image ── */
.prod-img-box {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.product-grid.list-view .prod-img-box {
  width: 200px;
  height: 100%;
  flex-shrink: 0;
}

.prod-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.product-card:hover .prod-img {
  transform: scale(1.04);
}

/* ── Product Badge ── */
.prod-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: var(--color-gold);
  color: white;
  padding: 4px 10px;
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--radius-xs);
  z-index: 2;
}

/* ── Scarcity Badge ── */
.scarcity-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 10px;
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--radius-xs);
  z-index: 2;
  color: white;
  /* No pulsing animation — Claude keeps it calm */
  animation: none !important;
}

.scarcity-badge.bestseller  { background: var(--color-gold); }
.scarcity-badge.prebooking  { background: var(--color-info); }
.scarcity-badge.sellingfast { background: var(--color-error); }
.scarcity-badge.limited     { background: var(--color-warning); }
.scarcity-badge.new         { background: var(--color-success); }

/* ── Product Details ── */
.prod-details {
  padding: var(--space-md) var(--space-lg);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.prod-details h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-sm);
}

.prod-specs {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: var(--space-sm);
  letter-spacing: 0.02em;
}

.prod-desc {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.55;
}

.prod-actions {
  display: flex;
  gap: 10px;
}


/* ══════════════════════════════════════════════════════════════════════════
   §21. CONTACT SECTION — Split Layout
   ══════════════════════════════════════════════════════════════════════════ */

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-2xl);
  padding: var(--space-xl) var(--space-lg);
}

@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

/* ── Contact Info Panel ── */
.contact-info-panel h2 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-md);
}

.contacts-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin: var(--space-xl) 0;
}

.contact-card {
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  background: var(--bg-card-opaque);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  transition: var(--transition-spring);
}

.contact-card:hover {
  transform: translateX(4px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(37, 211, 102, 0.08);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--wa-green);
  flex-shrink: 0;
}

.card-details {
  flex: 1;
}

.contact-card .contact-name {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-card p {
  font-size: var(--text-xs);
  color: var(--text-secondary);
}

.phone-num {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent);
}

/* ── Office Location Card ── */
.office-location-card {
  padding: var(--space-lg);
  background: var(--bg-card-opaque);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
}

.office-location-card h2 {
  font-size: var(--text-base);
  margin-bottom: var(--space-sm);
  color: var(--color-gold);
}

.office-location-card p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  line-height: 1.55;
}

/* ── Contact Form Panel ── */
.contact-form-panel {
  padding: var(--space-xl);
  background: var(--bg-card-opaque);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

@media (max-width: 576px) {
  .contact-form-panel {
    padding: var(--space-lg);
  }
}

.contact-form-panel h2 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-lg);
}

/* ── Wholesale Alert ── */
.wholesale-only-alert {
  background: var(--color-accent-soft);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
  font-size: var(--text-xs);
  line-height: 1.45;
}

.wholesale-only-alert i {
  color: var(--color-accent);
  margin-right: var(--space-sm);
  font-size: 14px;
}

.wholesale-only-alert strong {
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.wholesale-only-alert p {
  margin-top: 4px;
  color: var(--text-secondary);
  font-weight: 500;
}


/* ══════════════════════════════════════════════════════════════════════════
   §22. FOOTER — Multi-Column, Warm & Clean
   ══════════════════════════════════════════════════════════════════════════ */

.app-footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: var(--space-2xl) 0 var(--space-lg);
  margin-top: var(--space-3xl);
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-xl);
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

.footer-brand p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-top: var(--space-md);
  max-width: 300px;
  line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

.footer-links a {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  transition: var(--transition-gentle);
}

.footer-links a:hover {
  color: var(--color-accent);
  padding-left: 4px;
}

.footer-contact p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact i {
  color: var(--color-accent);
  opacity: 0.7;
  font-size: 14px;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: var(--space-lg);
  font-size: var(--text-xs);
  color: var(--text-tertiary);
}


/* ══════════════════════════════════════════════════════════════════════════
   §23. FLOATING WHATSAPP WIDGET
   ══════════════════════════════════════════════════════════════════════════ */

.whatsapp-chat-widget,
.wa-float-widget {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  z-index: 1500;
}

@media (max-width: 768px) {
  .whatsapp-chat-widget,
  .wa-float-widget {
    bottom: 76px;
    right: var(--space-md);
  }
}

/* ── FAB Button ── */
.wa-chat-btn,
.wa-fab {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background-color: var(--wa-green);
  border: none;
  color: white;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.30);
  transition: var(--transition-spring);
  position: relative;
}

.wa-chat-btn:hover,
.wa-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.40);
}

/* Remove old pulsing on wa-fab */
.wa-chat-btn::after,
.wa-fab::after {
  display: none !important;
}

/* ── Badge ── */
.wa-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  background-color: var(--color-error);
  color: white;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-primary);
}

/* ── Chat Window ── */
.wa-chat-window {
  position: absolute;
  bottom: 64px;
  right: 0;
  width: 320px;
  background-color: var(--bg-primary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: none;
  flex-direction: column;
  transform: translateY(16px);
  opacity: 0;
  transition: transform 0.35s var(--ease-out-expo),
              opacity 0.35s ease;
}

.wa-chat-window.show {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}

/* ── Chat Header ── */
.wa-chat-header,
.wa-header {
  background-color: var(--wa-green);
  color: white;
  padding: var(--space-md);
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.wa-avatar {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  border: 2px solid rgba(255, 255, 255, 0.40);
  object-fit: cover;
}

.wa-status-info h4,
.wa-status-info .wa-status-title {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
}

.wa-status-info p {
  font-size: 10px;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 4px;
}

.wa-online-dot {
  width: 6px;
  height: 6px;
  background-color: #90EE90;
  border-radius: var(--radius-full);
}

.wa-close-btn {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: none;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
  opacity: 0.8;
  transition: var(--transition-gentle);
}

.wa-close-btn:hover {
  opacity: 1;
}

/* ── Chat Body ── */
.wa-chat-body,
.wa-body {
  padding: var(--space-md);
  background-color: var(--bg-secondary);
  height: 190px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wa-msg-bubble,
.wa-message {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  max-width: 85%;
  line-height: 1.45;
  box-shadow: var(--shadow-xs);
}

.wa-received {
  background-color: var(--bg-card-opaque);
  align-self: flex-start;
  border-top-left-radius: 0;
}

.wa-time {
  font-size: 9px;
  color: var(--text-tertiary);
  margin-top: 4px;
  display: block;
  text-align: right;
}

/* ── Chat Footer ── */
.wa-footer {
  padding: 12px var(--space-md);
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-color);
}

.btn-wa-direct {
  width: 100%;
  background-color: var(--wa-green);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 11px 20px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--text-sm);
  cursor: pointer;
  transition: var(--transition-gentle);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-wa-direct:hover {
  background-color: var(--wa-green-hover);
}


/* ══════════════════════════════════════════════════════════════════════════
   §24. BOTTOM SHEET MODAL — Slide-Up with Backdrop
   ══════════════════════════════════════════════════════════════════════════ */

.bottom-sheet-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(26, 24, 22, 0.40);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 3000;
  display: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.bottom-sheet {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 100%);
  width: 100%;
  max-width: 560px;
  background-color: var(--bg-primary);
  border-top-left-radius: var(--radius-xl);
  border-top-right-radius: var(--radius-xl);
  box-shadow: 0 -8px 32px rgba(26, 24, 22, 0.20);
  border: 1px solid var(--border-color);
  border-bottom: none;
  z-index: 3100;
  padding: var(--space-md) var(--space-md) var(--space-lg);
  max-height: 85vh;
  overflow-y: auto;
  transition: transform 0.45s var(--ease-out-expo);
}

@media (min-width: 576px) {
  .bottom-sheet {
    padding: var(--space-lg) var(--space-xl) var(--space-xl);
  }
}

.bottom-sheet-drag-handle {
  width: 40px;
  height: 4px;
  background-color: var(--border-hover);
  border-radius: var(--radius-full);
  margin: -4px auto var(--space-md);
}

.bottom-sheet-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  color: var(--text-secondary);
  transition: var(--transition-gentle);
  z-index: 10;
}

.bottom-sheet-close:hover {
  background: var(--color-accent-soft);
  color: var(--color-accent);
  border-color: var(--border-accent);
}

.bottom-sheet-content {
  margin-top: var(--space-sm);
}

/* ── Modal Product Details ── */
.modal-product-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.modal-img-wrapper {
  width: 100%;
  height: 280px;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  position: relative;
  cursor: zoom-in;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

.modal-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out-expo);
  transform-origin: center center;
}

.modal-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-md);
}

.modal-title-row h2 {
  font-size: var(--text-xl);
}

.modal-badge {
  background-color: var(--color-gold);
  color: white;
  padding: 4px 12px;
  border-radius: var(--radius-xs);
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.modal-meta {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--color-accent);
  font-weight: 600;
}

.modal-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.65;
}

.modal-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xs);
  margin-top: var(--space-sm);
}

@media (min-width: 576px) {
  .modal-features {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }
}

.modal-feat-item {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
}

.modal-feat-item i {
  color: var(--color-accent);
  font-size: 14px;
  opacity: 0.8;
}

.modal-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

/* Desktop override for wide screens */
@media (min-width: 769px) {
  .modal-product-details {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-xl);
  }

  .modal-img-wrapper {
    height: 380px;
    margin-bottom: 0;
  }

  .modal-actions {
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-md);
    margin-top: var(--space-lg);
  }
}


/* ══════════════════════════════════════════════════════════════════════════
   §25. SCROLL ANIMATIONS — Subtle Fade-In with Stagger
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Scroll Reveal (for IntersectionObserver) ── */
.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out-expo),
              transform 0.6s var(--ease-out-expo);
}

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

/* ── Stagger Delays ── */
.scroll-reveal[data-delay="1"] { transition-delay: 0.1s; }
.scroll-reveal[data-delay="2"] { transition-delay: 0.2s; }
.scroll-reveal[data-delay="3"] { transition-delay: 0.3s; }
.scroll-reveal[data-delay="4"] { transition-delay: 0.4s; }
.scroll-reveal[data-delay="5"] { transition-delay: 0.5s; }

/* ── Directional Animations (keyframes) ── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

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

/* Utility classes for JS-triggered animations */
.animate-fade-in-up {
  animation: fadeInUp 0.6s var(--ease-out-expo) both;
}

.animate-fade-in-left {
  animation: fadeInLeft 0.6s var(--ease-out-expo) both;
}

.animate-fade-in-right {
  animation: fadeInRight 0.6s var(--ease-out-expo) both;
}

/* Stagger delay utility */
.stagger-1 { animation-delay: 0.05s; }
.stagger-2 { animation-delay: 0.10s; }
.stagger-3 { animation-delay: 0.15s; }
.stagger-4 { animation-delay: 0.20s; }
.stagger-5 { animation-delay: 0.25s; }
.stagger-6 { animation-delay: 0.30s; }


/* ══════════════════════════════════════════════════════════════════════════
   §26. INSTALL BANNER (PWA)
   ══════════════════════════════════════════════════════════════════════════ */

.install-banner {
  position: fixed;
  bottom: var(--space-lg);
  left: var(--space-lg);
  max-width: 380px;
  background: var(--bg-card-opaque);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-xl);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transform: translateY(150px);
  opacity: 0;
  transition: transform 0.5s var(--ease-out-expo), opacity 0.5s ease;
  pointer-events: none;
}

.install-banner.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 576px) {
  .install-banner {
    left: 50% !important;
    right: auto !important;
    width: calc(100% - 32px) !important;
    max-width: 380px !important;
    transform: translate(-50%, 150px) !important;
    bottom: 140px;
  }
  .install-banner.show {
    transform: translate(-50%, 0) !important;
  }
}

.install-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.install-logo {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.install-text h4 {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent);
}

.install-text p {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  line-height: 1.35;
}

.install-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}


/* ══════════════════════════════════════════════════════════════════════════
   §27. MOQ CALCULATOR (Backward compat)
   ══════════════════════════════════════════════════════════════════════════ */

.moq-calculator-section {
  padding: var(--space-3xl) var(--space-lg);
}

.moq-calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  background: var(--bg-card-opaque);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

@media (max-width: 992px) {
  .moq-calc-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    padding: var(--space-lg);
  }
}

@media (max-width: 480px) {
  .moq-calculator-section {
    padding: var(--space-xl) var(--space-md);
  }
  .moq-calc-grid {
    padding: var(--space-md);
    border-radius: var(--radius-md);
  }
}

.moq-calc-inputs h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
}

.slider-group {
  margin: var(--space-xl) 0 var(--space-lg);
}

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

.qty-badge {
  background: var(--color-accent);
  color: white;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 5px 14px;
  border-radius: var(--radius-full);
}

.moq-slider-range {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  border-radius: var(--radius-full);
  background: var(--bg-tertiary);
  outline: none;
  margin: 10px 0;
}

.moq-slider-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  cursor: pointer;
  transition: transform 0.15s ease;
  box-shadow: 0 0 0 3px var(--color-accent-glow);
}

.moq-slider-range::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.slider-limits {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  font-weight: 500;
  margin-top: 4px;
}

.qty-error {
  color: var(--color-error);
  font-size: var(--text-xs);
  margin-top: 6px;
  font-weight: 500;
  display: none;
}

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

.calc-label {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
}

.active-tier-tag {
  background: linear-gradient(135deg, var(--color-gold), var(--color-accent));
  color: white;
  padding: 5px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pricing-summary-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-sm);
  font-size: var(--text-sm);
  font-weight: 500;
}

.summary-row.divider-row {
  height: 1px;
  background: var(--border-color);
  margin: var(--space-md) 0;
}

.summary-row.total-row {
  margin-bottom: 0;
  font-weight: 600;
  font-size: var(--text-lg);
}

.summary-val {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: var(--text-lg);
}

.summary-val.highlight-gold {
  color: var(--color-gold);
}

.summary-val.highlight-accent {
  color: var(--color-accent);
  font-size: var(--text-xl);
}

.text-green {
  color: var(--color-success);
  font-size: var(--text-sm);
  font-weight: 600;
}

.tiers-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

@media (max-width: 576px) {
  .tiers-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }
}

.timeline-tier {
  border: 1px solid var(--border-color);
  padding: 10px;
  border-radius: var(--radius-sm);
  text-align: center;
  transition: var(--transition-gentle);
  background: var(--bg-card-opaque);
}

.timeline-tier.active {
  border-color: var(--color-accent);
  background: var(--color-accent-soft);
}

.timeline-tier strong {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
}

.timeline-tier span {
  display: block;
  font-size: 9px;
  color: var(--text-tertiary);
  margin-top: 2px;
}

.timeline-tier .tier-price {
  margin-top: 6px;
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-accent);
}

@media (max-width: 480px) {
  .timeline-tier {
    padding: 8px 4px;
  }
  .timeline-tier strong { font-size: 10px; }
  .timeline-tier span { font-size: 8px; }
  .timeline-tier .tier-price { font-size: var(--text-xs); }
}

/* MOQ Warning Banners */
.moq-warning-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(212, 168, 75, 0.08);
  border: 1px solid rgba(212, 168, 75, 0.20);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-lg);
  font-size: var(--text-sm);
  line-height: 1.45;
  color: var(--text-primary);
  text-align: left;
}

.moq-warning-banner.error {
  background: rgba(199, 80, 80, 0.08);
  border-color: rgba(199, 80, 80, 0.20);
}

.moq-warning-banner.success {
  background: rgba(61, 153, 112, 0.08);
  border-color: rgba(61, 153, 112, 0.20);
}

.moq-warning-banner i { font-size: 16px; }
.moq-warning-banner.error i   { color: var(--color-error); }
.moq-warning-banner.warning i { color: var(--color-warning); }
.moq-warning-banner.success i { color: var(--color-success); }

.disabled-btn {
  background-color: var(--bg-tertiary) !important;
  color: var(--text-tertiary) !important;
  cursor: not-allowed !important;
  opacity: 0.6;
  transform: none !important;
  box-shadow: none !important;
}


/* ══════════════════════════════════════════════════════════════════════════
   §28. RESPONSIVE BREAKPOINTS — Mobile-First
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Extra Small: ≤ 480px ── */
@media (max-width: 480px) {
  h1 { font-size: var(--text-2xl); }
  h2 { font-size: var(--text-xl); }
  h3 { font-size: var(--text-lg); }

  .section-title {
    font-size: var(--text-xl);
  }

  .stats-section,
  .fabrics-encyclopedia,
  .testimonials-section {
    padding: var(--space-xl) var(--space-md);
  }

  .quick-showcase {
    padding: var(--space-lg) var(--space-md);
  }

  .processes-showcase {
    padding: var(--space-lg) var(--space-md);
  }

  .contact-container {
    padding: var(--space-lg) var(--space-md);
  }

  .catalog-container {
    padding: var(--space-lg) var(--space-md);
  }

  .about-hero {
    padding: var(--space-lg) var(--space-md);
  }
}

/* ── Small: ≤ 576px ── */
@media (max-width: 576px) {
  .modal-features {
    grid-template-columns: 1fr;
  }

  .about-milestones {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .about-visual {
    height: 260px;
  }

  .product-grid.list-view .prod-img-box {
    width: 100%;
    height: 200px;
  }
}

/* ── Medium: ≤ 768px ── */
@media (max-width: 768px) {
  .about-visual {
    height: 300px;
  }
}

/* ── Large: ≤ 1024px ── */
@media (max-width: 1024px) {
  .b2b-showcase-grid {
    gap: var(--space-xl);
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
}

/* ── XL: ≤ 1200px ── */
@media (max-width: 1200px) {
  .container {
    max-width: 100%;
  }
}


/* ══════════════════════════════════════════════════════════════════════════
   §29. UTILITY CLASSES
   ══════════════════════════════════════════════════════════════════════════ */

/* Visually hidden but accessible */
.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;
}

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

/* Flex utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }

/* Spacing */
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }

/* ── Scrollbar Styling (Webkit) ── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: var(--border-hover);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--text-tertiary);
}


/* ══════════════════════════════════════════════════════════════════════════
   §30. PRINT STYLES
   ══════════════════════════════════════════════════════════════════════════ */

@media print {
  .main-header,
  .mobile-app-bar,
  .ticker-wrap,
  .factory-ticker-bar,
  .whatsapp-chat-widget,
  .wa-float-widget,
  .install-banner,
  .scroll-indicator,
  .carousel-control,
  .carousel-dots,
  .bottom-sheet-overlay,
  .bottom-sheet {
    display: none !important;
  }

  body {
    background: white;
    color: black;
    font-size: 12pt;
  }

  .app-main-content {
    margin-top: 0;
  }
}


/* ══════════════════════════════════════════════════════════════════════════
   §31. AUTO-SCROLLING PROCESSES CAROUSEL & MULTI-PAGE UTILITIES
   ══════════════════════════════════════════════════════════════════════════ */

.processes-slider-section {
  padding: var(--space-xl) var(--space-lg) var(--space-3xl);
  background: var(--bg-secondary);
}

.processes-slider-container {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  transition: var(--transition-smooth);
}

.processes-slider-track {
  position: relative;
  height: 480px;
}

.process-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  display: none;
  z-index: 1;
  transition: opacity 0.8s ease-in-out;
}

.process-slide.active {
  display: block;
  opacity: 1;
  z-index: 2;
}

.process-slide-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  height: 100%;
}

.process-slide-info {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg-card-opaque);
  border-right: 1px solid var(--border-color);
}

.process-slide-info h3 {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.process-slide-info .accent-paragraph {
  font-size: var(--text-base);
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: var(--space-md);
}

.process-slide-info p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: var(--text-sm);
  margin-bottom: var(--space-lg);
}

.process-slide-details {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.process-slide-details .detail-item {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border-color);
}

.process-slide-details .detail-item i {
  color: var(--color-accent);
}

.process-slide-media {
  position: relative;
  overflow: hidden;
  height: 100%;
}

.process-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s ease;
}

.process-slide.active .process-slide-img {
  transform: scale(1.05);
}

.processes-slider-dots {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.processes-slider-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background: var(--border-hover);
  cursor: pointer;
  transition: var(--transition-gentle);
  border: 2px solid transparent;
}

.processes-slider-dots .dot.active {
  background: var(--color-accent);
  border-color: var(--bg-primary);
  box-shadow: 0 0 0 2px var(--color-accent);
  transform: scale(1.15);
}

/* Responsive adjust for slider */
@media (max-width: 900px) {
  .processes-slider-track {
    height: auto;
    min-height: 620px;
  }
  
  .process-slide-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto 280px;
  }
  
  .process-slide-info {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding: var(--space-lg);
  }
  
  .process-slide-media {
    height: 280px;
  }
}

@media (max-width: 480px) {
  .processes-slider-track {
    min-height: 680px;
  }
  .process-slide-media {
    height: 220px;
  }
  .process-slide-grid {
    grid-template-rows: auto 220px;
  }
}


/* ══════════════════════════════════════════════════════════════════════════
   END OF KANYA CREATION · CLAUDE-INSPIRED DESIGN SYSTEM
   ══════════════════════════════════════════════════════════════════════════ */
