/* ==========================================================================
   TopMark DZ V2.0 — Luxury Editorial Design System
   Quiet Luxury + Kinetic Minimalism for Algerian COD market
   Three modes: Daylight (Warm Alabaster), Night Dark (Obsidian), Eye-Comfort
   ========================================================================== */

/* ── Base tokens (shared across all modes) ── */
:root {
  /* Layout */
  --tm-container: min(1200px, 92%);
  --tm-radius-sm: 10px;
  --tm-radius-md: 16px;
  --tm-radius-lg: 24px;
  --tm-radius-xl: 32px;
  --tm-radius-pill: 999px;

  /* Borders */
  --tm-border-width: 1px;
  --tm-hairline: 0.5px;

  /* Transitions */
  --tm-ease: cubic-bezier(0.23, 1, 0.32, 1);
  --tm-ease-out: cubic-bezier(0.25, 1, 0.5, 1);
  --tm-duration-fast: 0.2s;
  --tm-duration-base: 0.4s;
  --tm-duration-slow: 0.6s;

  /* Shadows */
  --tm-shadow-soft: 0 6px 24px rgba(0, 0, 0, 0.06);
  --tm-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.08);
  --tm-shadow-xl: 0 40px 100px rgba(0, 0, 0, 0.12);

  /* Typography scale (Elements of Typographic Style) */
  --tm-text-xs: 0.8125rem;
  --tm-text-sm: 0.875rem;
  --tm-text-base: 1rem;
  --tm-text-lg: 1.125rem;
  --tm-text-xl: 1.375rem;
  --tm-text-2xl: 1.75rem;
  --tm-text-3xl: 2.25rem;
  --tm-text-4xl: 3rem;
  --tm-text-5xl: 4rem;

  --tm-leading-tight: 1.2;
  --tm-leading-base: 1.55;
  --tm-leading-relaxed: 1.75;

  /* Z-index */
  --tm-z-sticky: 50;
  --tm-z-modal: 100;
  --tm-z-toast: 110;
}

/* ── Mode: Daylight — Warm Alabaster ── */
[data-theme="light"] {
  --tm-bg: #faf7f1;
  --tm-bg-alt: #f3efdf;
  --tm-surface: #ffffff;
  --tm-surface-2: #f5f1e6;
  --tm-glass: rgba(255, 255, 255, 0.85);
  --tm-glass-strong: rgba(255, 255, 255, 0.96);
  --tm-border: rgba(17, 19, 24, 0.08);
  --tm-border-strong: rgba(17, 19, 24, 0.14);
  --tm-hairline-color: rgba(17, 19, 24, 0.18);
  --tm-text: #111318;
  --tm-text-soft: #4a5568;
  --tm-muted: #7a8699;
  --tm-inverse: #ffffff;

  /* Accents: Brushed Champagne / Bronze */
  --tm-accent: #b88c4a;
  --tm-accent-soft: rgba(184, 140, 74, 0.12);
  --tm-accent-glass: rgba(184, 140, 74, 0.06);
  --tm-accent-hover: #a6773e;

  /* CTA: Deep emerald / rich dark — luxury contrast */
  --tm-cta-start: #0f4c5c;
  --tm-cta-end: #14634d;
  --tm-cta-text: #ffffff;

  /* Emerald trust */
  --tm-emerald: #0e7a5d;
  --tm-emerald-soft: rgba(14, 122, 93, 0.12);
  --tm-emerald-glass: rgba(14, 122, 93, 0.05);

  /* Top bar */
  --tm-topbar-bg: #111318;
  --tm-topbar-text: #faf7f1;

  /* Radial decorative glows */
  --tm-glow-warm: radial-gradient(circle at 12% 18%, rgba(184, 140, 74, 0.10), transparent 48%);
  --tm-glow-cool: radial-gradient(circle at 88% 82%, rgba(14, 122, 93, 0.08), transparent 42%);
}

/* ── Mode: Night Dark — Deep Obsidian ── */
[data-theme="dark"] {
  --tm-bg: #080a0f;
  --tm-bg-alt: #0d1018;
  --tm-surface: #0f121a;
  --tm-surface-2: #141824;
  --tm-glass: rgba(15, 18, 26, 0.72);
  --tm-glass-strong: rgba(15, 18, 26, 0.92);
  --tm-border: rgba(255, 255, 255, 0.08);
  --tm-border-strong: rgba(255, 255, 255, 0.14);
  --tm-hairline-color: rgba(255, 255, 255, 0.22);
  --tm-text: #f5f5f4;
  --tm-text-soft: #cbd5e1;
  --tm-muted: #8a94a6;
  --tm-inverse: #080a0f;

  /* Accent: muted champagne (glows in dark) */
  --tm-accent: #c9a86b;
  --tm-accent-soft: rgba(201, 168, 107, 0.14);
  --tm-accent-glass: rgba(201, 168, 107, 0.06);
  --tm-accent-hover: #d9b98a;

  /* CTA: deep emerald with subtle shimmer */
  --tm-cta-start: #115e54;
  --tm-cta-end: #0f7a66;
  --tm-cta-text: #ffffff;

  --tm-emerald: #34d399;
  --tm-emerald-soft: rgba(52, 211, 153, 0.14);
  --tm-emerald-glass: rgba(52, 211, 153, 0.06);

  --tm-topbar-bg: linear-gradient(90deg, #0b101d, #141824);
  --tm-topbar-text: #f5f5f4;

  --tm-glow-warm: radial-gradient(circle at 12% 18%, rgba(201, 168, 107, 0.08), transparent 48%);
  --tm-glow-cool: radial-gradient(circle at 88% 82%, rgba(52, 211, 153, 0.06), transparent 42%);
}

/* ── Mode: Comfort — Warm Sepia for eye relief ── */
[data-theme="comfort"] {
  --tm-bg: #f4ead4;
  --tm-bg-alt: #e9dfc2;
  --tm-surface: #fbf6e8;
  --tm-surface-2: #f2e8c9;
  --tm-glass: rgba(251, 246, 232, 0.88);
  --tm-glass-strong: rgba(251, 246, 232, 0.97);
  --tm-border: rgba(44, 34, 27, 0.10);
  --tm-border-strong: rgba(44, 34, 27, 0.18);
  --tm-hairline-color: rgba(44, 34, 27, 0.24);
  --tm-text: #2c221b;
  --tm-text-soft: #5c4a3a;
  --tm-muted: #8c7359;
  --tm-inverse: #2c221b;

  --tm-accent: #a67c52;
  --tm-accent-soft: rgba(166, 124, 82, 0.14);
  --tm-accent-glass: rgba(166, 124, 82, 0.06);
  --tm-accent-hover: #936941;

  --tm-cta-start: #7a4a2d;
  --tm-cta-end: #a67c52;
  --tm-cta-text: #ffffff;

  --tm-emerald: #4a7c59;
  --tm-emerald-soft: rgba(74, 124, 89, 0.14);
  --tm-emerald-glass: rgba(74, 124, 89, 0.06);

  --tm-topbar-bg: #2c221b;
  --tm-topbar-text: #fbf6e8;

  --tm-glow-warm: radial-gradient(circle at 12% 18%, rgba(166, 124, 82, 0.10), transparent 48%);
  --tm-glow-cool: radial-gradient(circle at 88% 82%, rgba(74, 124, 89, 0.08), transparent 42%);
}

/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}
body.tm-body {
  margin: 0;
  font-family: 'IBM Plex Sans Arabic', 'Cairo', 'Segoe UI', Tahoma, system-ui, sans-serif;
  background: var(--tm-bg);
  color: var(--tm-text);
  line-height: var(--tm-leading-base);
  overflow-x: hidden;
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  :root {
    --tm-duration-fast: 0.01s;
    --tm-duration-base: 0.01s;
    --tm-duration-slow: 0.01s;
  }
  *, *::before, *::after {
    animation-duration: 0.01s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01s !important;
    scroll-behavior: auto !important;
  }
}

.tm-container {
  width: var(--tm-container);
  margin-inline: auto;
}

/* ── Typography ── */
.tm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--tm-radius-pill);
  background: var(--tm-accent-soft);
  border: 1px solid rgba(17, 19, 24, 0.12);
  color: var(--tm-accent);
  font-size: var(--tm-text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--tm-text);
  line-height: var(--tm-leading-tight);
}
h1 { font-size: var(--tm-text-5xl); }
h2 { font-size: var(--tm-text-3xl); }
h3 { font-size: var(--tm-text-xl); }
h4 { font-size: var(--tm-text-lg); }

p {
  margin: 0 0 1rem;
  color: var(--tm-text-soft);
  font-size: var(--tm-text-base);
}

.small, small {
  font-size: var(--tm-text-sm);
  color: var(--tm-muted);
}

/* ── Links & buttons ── */
a { color: inherit; text-decoration: none; }

.tm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--tm-radius-md);
  border: none;
  font-family: inherit;
  font-size: var(--tm-text-base);
  font-weight: 800;
  cursor: pointer;
  transition: transform var(--tm-duration-base) var(--tm-ease), box-shadow var(--tm-duration-base) var(--tm-ease), background var(--tm-duration-base) var(--tm-ease);
}
.tm-btn:focus-visible {
  outline: 2px solid var(--tm-accent);
  outline-offset: 2px;
}

.tm-btn--primary {
  background: linear-gradient(135deg, var(--tm-cta-start), var(--tm-cta-end));
  color: var(--tm-cta-text);
  box-shadow: 0 14px 32px rgba(15, 76, 92, 0.30);
}
.tm-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(15, 76, 92, 0.42);
}
.tm-btn--primary:active { transform: translateY(0); }

.tm-btn--ghost {
  background: var(--tm-surface);
  border: 1px solid var(--tm-border-strong);
  color: var(--tm-text);
}
.tm-btn--ghost:hover {
  border-color: var(--tm-accent);
  color: var(--tm-accent);
}

/* ── Shimmer CTA (luxury tactile) ── */
.tm-shimmer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.tm-shimmer::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.30), transparent);
  transition: transform var(--tm-duration-slow) var(--tm-ease);
}
.tm-shimmer:hover::after {
  transform: translateX(120%);
}

/* ── Top announcement bar ── */
.tm-topbar {
  background: var(--tm-topbar-bg);
  color: var(--tm-topbar-text);
  font-size: var(--tm-text-sm);
  font-weight: 700;
  padding: 7px 0;
  letter-spacing: 0.02em;
}
.tm-topbar__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.tm-topbar a { color: inherit; text-decoration: none; }

/* ── Header ── */
.tm-header {
  position: sticky;
  top: 0;
  z-index: var(--tm-z-sticky);
  background: var(--tm-glass-strong);
  backdrop-filter: blur(12px);
  border-bottom: var(--tm-hairline) solid var(--tm-hairline-color);
}
.tm-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  gap: 12px;
  flex-wrap: wrap;
}
.tm-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--tm-text);
}
.tm-logo__mark {
  width: 44px;
  height: 44px;
  border-radius: var(--tm-radius-md);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 16px;
  background: linear-gradient(135deg, var(--tm-cta-start), var(--tm-cta-end));
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 76, 92, 0.32);
}
.tm-logo__text { display: flex; flex-direction: column; line-height: 1.2; }
.tm-logo__text small { font-size: 10px; color: var(--tm-muted); font-weight: 700; }

.tm-nav { display: flex; gap: 24px; }
.tm-nav a {
  color: var(--tm-text-soft);
  text-decoration: none;
  font-weight: 700;
  font-size: var(--tm-text-base);
  transition: color var(--tm-duration-base) var(--tm-ease);
}
.tm-nav a:hover { color: var(--tm-accent); }

.tm-header__controls { display: flex; align-items: center; gap: 10px; }

.tm-mode-switcher {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 5px;
  border-radius: var(--tm-radius-pill);
  background: var(--tm-surface-2);
  border: 1px solid var(--tm-border);
}
.tm-mode-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  border: none;
  border-radius: var(--tm-radius-pill);
  background: transparent;
  color: var(--tm-text-soft);
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: all var(--tm-duration-base) var(--tm-ease);
}
.tm-mode-btn.is-active {
  background: var(--tm-surface);
  color: var(--tm-text);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  border: 1px solid var(--tm-border);
}

.tm-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: var(--tm-radius-pill);
  background: var(--tm-surface-2);
  border: 1px solid var(--tm-border-strong);
  color: var(--tm-text);
  text-decoration: none;
  font-weight: 800;
  font-size: var(--tm-text-sm);
  transition: all var(--tm-duration-base) var(--tm-ease);
}
.tm-header-cta:hover {
  background: var(--tm-accent);
  color: #ffffff;
  border-color: var(--tm-accent);
}

/* ── Section headings ── */
.tm-section-head { text-align: center; margin-bottom: 32px; }
.tm-section-head h2 { margin: 0 0 8px; }
.tm-section-head p { color: var(--tm-muted); max-width: 640px; margin: 0 auto; }

/* ==========================================================================
   V2.0 Luxury Hero — Editorial Split + Spotlight Stage
   ========================================================================== */
.tm-editorial-hero {
  position: relative;
  padding: 48px 0 60px;
  background:
    var(--tm-glow-warm),
    var(--tm-glow-cool);
  border-bottom: var(--tm-hairline) solid var(--tm-hairline-color);
}
.tm-hero-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
}
.tm-hero-copy h1 {
  font-size: clamp(34px, 5.5vw, 56px);
  margin: 0 0 16px;
}
.tm-gradient-text {
  background: linear-gradient(120deg, var(--tm-accent), var(--tm-accent-hover));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tm-hero-copy p {
  margin: 0 0 24px;
  font-size: var(--tm-text-lg);
  max-width: 520px;
  color: var(--tm-text-soft);
  line-height: var(--tm-leading-relaxed);
}
.tm-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}
.tm-stat-chip {
  background: var(--tm-surface);
  border: var(--tm-hairline) solid var(--tm-hairline-color);
  border-radius: var(--tm-radius-md);
  padding: 12px 16px;
  box-shadow: var(--tm-shadow-soft);
}
.tm-stat-chip strong {
  display: block;
  font-size: 18px;
  font-weight: 900;
  color: var(--tm-text);
}
.tm-stat-chip span {
  font-size: var(--tm-text-sm);
  color: var(--tm-muted);
  font-weight: 700;
}
.tm-hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Spotlight stage */
.tm-spotlight-stage {
  background: var(--tm-surface);
  border: var(--tm-hairline) solid var(--tm-hairline-color);
  border-radius: var(--tm-radius-xl);
  padding: 20px;
  box-shadow: var(--tm-shadow-lg);
}
.tm-spotlight-stage__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.tm-live-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: var(--tm-text-xs);
  font-weight: 800;
  color: var(--tm-emerald);
}
.tm-live-dot::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--tm-emerald);
  box-shadow: 0 0 0 6px var(--tm-emerald-soft);
  animation: tmPulse 2.5s ease-in-out infinite;
}
@keyframes tmPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}
.tm-stage-nav { display: flex; gap: 6px; }
.tm-stage-arrow {
  width: 34px; height: 34px;
  border-radius: 10px;
  border: var(--tm-hairline) solid var(--tm-hairline-color);
  background: var(--tm-surface-2);
  color: var(--tm-text);
  font-size: 18px;
  cursor: pointer;
  transition: all var(--tm-duration-base) var(--tm-ease);
}
.tm-stage-arrow:hover {
  background: var(--tm-accent);
  color: #ffffff;
  border-color: var(--tm-accent);
}
.tm-spotlight-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
  background: var(--tm-surface-2);
  border: var(--tm-hairline) solid var(--tm-hairline-color);
  border-radius: var(--tm-radius-lg);
  padding: 18px;
}
.tm-spotlight-media {
  position: relative;
  border-radius: var(--tm-radius-md);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--tm-surface);
}
.tm-spotlight-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--tm-duration-slow) var(--tm-ease);
}
.tm-spotlight-card:hover .tm-spotlight-media img {
  transform: scale(1.03);
}
.tm-discount-tag {
  position: absolute;
  top: 10px; right: 10px;
  background: linear-gradient(135deg, var(--tm-cta-start), var(--tm-cta-end));
  color: #ffffff;
  padding: 4px 10px;
  border-radius: var(--tm-radius-pill);
  font-size: 11px;
  font-weight: 800;
  z-index: 2;
}
.tm-spotlight-info h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.35;
}
.tm-spotlight-info p {
  margin: 0 0 14px;
  font-size: var(--tm-text-sm);
  color: var(--tm-text-soft);
}
.tm-spotlight-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
}
.tm-spotlight-price strong {
  font-size: 24px;
  font-weight: 900;
  color: var(--tm-accent);
}
.tm-spotlight-price del {
  font-size: 14px;
  color: var(--tm-muted);
}
.tm-spotlight-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 12px;
}
.tm-mini-thumb {
  padding: 4px;
  border-radius: 10px;
  border: 2px solid transparent;
  background: var(--tm-surface-2);
  cursor: pointer;
  transition: all var(--tm-duration-base) var(--tm-ease);
}
.tm-mini-thumb.is-active {
  border-color: var(--tm-accent);
  transform: translateY(-2px);
}
.tm-mini-thumb img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover;
  border-radius: 6px; display: block;
}

/* ── Value Guarantee / Trust strip ── */
.tm-trust-strip {
  padding: 30px 0;
  background: var(--tm-bg-alt);
  border-bottom: var(--tm-hairline) solid var(--tm-hairline-color);
}
.tm-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.tm-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--tm-surface);
  border: var(--tm-hairline) solid var(--tm-hairline-color);
  border-radius: var(--tm-radius-lg);
  padding: 16px;
}
.tm-trust-icon {
  width: 44px; height: 44px;
  border-radius: var(--tm-radius-md);
  display: grid;
  place-items: center;
  background: var(--tm-accent-soft);
  font-size: 20px;
  flex-shrink: 0;
}
.tm-trust-item strong { display: block; font-size: 14px; }
.tm-trust-item small { color: var(--tm-muted); font-size: var(--tm-text-sm); }

/* ── Golden Trust Seal — 3-step COD confidence ── */
.tm-golden-seal {
  padding: 48px 0 60px;
  background: var(--tm-bg);
}
.tm-golden-seal .tm-container {
  position: relative;
}
.tm-seal-card {
  background: var(--tm-surface);
  border: var(--tm-hairline) solid var(--tm-hairline-color);
  border-radius: var(--tm-radius-xl);
  padding: 34px 26px;
  box-shadow: var(--tm-shadow-lg);
  position: relative;
  overflow: hidden;
}
.tm-seal-card::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(135deg, transparent 48%, rgba(184,140,74,0.04) 50%, transparent 52%);
  pointer-events: none;
}
.tm-seal-head {
  text-align: center;
  margin-bottom: 30px;
}
.tm-seal-head h2 { margin-bottom: 8px; }
.tm-seal-steps {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
}
.tm-seal-step {
  flex: 1;
  min-width: 220px;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 18px 12px;
  background: var(--tm-surface-2);
  border: var(--tm-hairline) solid var(--tm-hairline-color);
  border-radius: var(--tm-radius-lg);
  transition: all var(--tm-duration-base) var(--tm-ease);
  position: relative;
}
.tm-seal-step:hover {
  border-color: var(--tm-accent);
  background: var(--tm-accent-glass);
}
.tm-seal-step .tm-step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--tm-cta-start), var(--tm-cta-end));
  color: #ffffff;
  font-weight: 900;
  font-size: 16px;
  box-shadow: 0 8px 20px rgba(15, 76, 92, 0.30);
}
.tm-seal-step .tm-step-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--tm-emerald-soft);
  color: var(--tm-emerald);
  font-size: 22px;
}
.tm-seal-step h3 {
  font-size: 17px;
  margin: 0 0 6px;
}
.tm-seal-step p {
  font-size: var(--tm-text-sm);
  color: var(--tm-muted);
  line-height: var(--tm-leading-relaxed);
}
.tm-seal-connector {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  color: var(--tm-muted);
  font-size: 12px;
  font-weight: 800;
  align-self: center;
  opacity: 0.6;
}

/* ── Catalog ── */
.tm-catalog-section { padding: 56px 0 76px; }
.tm-catalog-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.tm-catalog-head h2 { margin-bottom: 4px; }
.tm-filter-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.tm-filter-pill {
  padding: 8px 16px;
  border-radius: var(--tm-radius-pill);
  border: var(--tm-hairline) solid var(--tm-hairline-color);
  background: var(--tm-surface);
  color: var(--tm-text-soft);
  font-family: inherit;
  font-size: var(--tm-text-sm);
  font-weight: 800;
  cursor: pointer;
  transition: all var(--tm-duration-base) var(--tm-ease);
}
.tm-filter-pill.is-active {
  background: var(--tm-text);
  color: var(--tm-inverse);
  border-color: var(--tm-text);
}
.tm-bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 22px;
}
.tm-product-card {
  background: var(--tm-surface);
  border: var(--tm-hairline) solid var(--tm-hairline-color);
  border-radius: var(--tm-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--tm-shadow-soft);
  transition: transform var(--tm-duration-base) var(--tm-ease), border-color var(--tm-duration-base) var(--tm-ease);
}
.tm-product-card:hover {
  transform: translateY(-4px);
  border-color: var(--tm-accent);
  box-shadow: var(--tm-shadow-lg);
}
.tm-product-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--tm-surface-2);
  overflow: hidden;
}
.tm-product-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--tm-duration-slow) var(--tm-ease);
}
.tm-product-card:hover .tm-product-card__media img {
  transform: scale(1.05);
}
.tm-cod-pill-overlay {
  position: absolute;
  bottom: 12px; left: 12px;
  background: var(--tm-glass-strong);
  color: var(--tm-emerald);
  border: var(--tm-hairline) solid var(--tm-hairline-color);
  border-radius: var(--tm-radius-pill);
  padding: 3px 10px;
  font-size: 10px;
  font-weight: 800;
  backdrop-filter: blur(6px);
}
.tm-product-card__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.tm-product-card__rating {
  font-size: 12px;
  font-weight: 800;
  color: var(--tm-accent);
}
.tm-product-card__title {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  flex: 1;
}
.tm-product-card__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.tm-product-card__price strong {
  color: var(--tm-text);
  font-size: 20px;
  font-weight: 900;
}
.tm-product-card__price del {
  color: var(--tm-muted);
  font-size: 13px;
}
.tm-discover-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: var(--tm-radius-md);
  background: linear-gradient(135deg, var(--tm-cta-start), var(--tm-cta-end));
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  font-size: var(--tm-text-sm);
  box-shadow: 0 10px 24px rgba(15, 76, 92, 0.26);
  transition: transform var(--tm-duration-base) var(--tm-ease), box-shadow var(--tm-duration-base) var(--tm-ease);
}
.tm-discover-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(15, 76, 92, 0.38);
}

/* ── Journey ── */
.tm-journey-section { padding: 52px 0; background: var(--tm-bg-alt); border-top: var(--tm-hairline) solid var(--tm-hairline-color); }
.tm-journey-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.tm-journey-step {
  background: var(--tm-surface);
  border: var(--tm-hairline) solid var(--tm-hairline-color);
  border-radius: var(--tm-radius-lg);
  padding: 24px;
}
.tm-journey-num {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--tm-accent-soft);
  color: var(--tm-accent);
  font-weight: 900;
  margin-bottom: 12px;
}
.tm-journey-step h3 { margin: 0 0 8px; font-size: 17px; }
.tm-journey-step p { margin: 0; font-size: var(--tm-text-sm); color: var(--tm-text-soft); }

/* ==========================================================================
   Product Landing Page — Conversion Cockpit
   ========================================================================== */
.tm-landing-hero { padding: 38px 0 52px; }
.tm-landing-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 36px;
  align-items: start;
}
.tm-urgency-bar {
  background: var(--tm-accent-soft);
  border-bottom: var(--tm-hairline) solid var(--tm-hairline-color);
  text-align: center;
  padding: 9px 0;
  font-weight: 800;
  font-size: var(--tm-text-sm);
  color: var(--tm-accent);
}
.tm-gallery-main {
  position: relative;
  border-radius: var(--tm-radius-xl);
  overflow: hidden;
  border: var(--tm-hairline) solid var(--tm-hairline-color);
  background: var(--tm-surface);
  box-shadow: var(--tm-shadow-lg);
}
.tm-gallery-main img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block;
}
.tm-gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.tm-thumb-btn {
  width: 76px; height: 76px;
  padding: 0;
  border-radius: var(--tm-radius-md);
  overflow: hidden;
  border: var(--tm-hairline) solid var(--tm-hairline-color);
  background: var(--tm-surface);
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--tm-duration-base) var(--tm-ease);
}
.tm-thumb-btn.is-active { border-color: var(--tm-accent); }
.tm-thumb-btn img { width: 100%; height: 100%; object-fit: cover; display: block; }

.tm-landing-highlights {
  margin-top: 18px;
  display: grid;
  gap: 10px;
  background: var(--tm-surface);
  border: var(--tm-hairline) solid var(--tm-hairline-color);
  border-radius: var(--tm-radius-lg);
  padding: 18px;
}
.tm-hl-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--tm-text-sm);
  font-weight: 700;
}
.tm-hl-check {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--tm-emerald-soft);
  color: var(--tm-emerald);
  font-size: 14px;
  flex-shrink: 0;
}

.tm-landing-title-box { margin-bottom: 20px; }
.tm-social-proof-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--tm-radius-pill);
  background: var(--tm-emerald-soft);
  color: var(--tm-emerald);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 8px;
}
.tm-landing-title-box h1 {
  margin: 0 0 12px;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.3;
}
.tm-landing-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.tm-price-now { font-size: 30px; font-weight: 900; color: var(--tm-accent); }
.tm-price-old { font-size: 18px; color: var(--tm-muted); }
.tm-save-badge {
  background: var(--tm-emerald-soft);
  color: var(--tm-emerald);
  padding: 4px 10px;
  border-radius: var(--tm-radius-pill);
  font-size: 12px;
  font-weight: 800;
}
.tm-short-desc { margin-top: 12px; color: var(--tm-text-soft); font-size: var(--tm-text-base); }

/* UGC Reels strip — TikTok/Instagram style social proof */
.tm-ugc-strip {
  padding: 46px 0 56px;
  background: var(--tm-bg);
  border-top: var(--tm-hairline) solid var(--tm-hairline-color);
  border-bottom: var(--tm-hairline) solid var(--tm-hairline-color);
}
.tm-ugc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.tm-ugc-card {
  background: var(--tm-surface);
  border: var(--tm-hairline) solid var(--tm-hairline-color);
  border-radius: var(--tm-radius-lg);
  overflow: hidden;
  box-shadow: var(--tm-shadow-soft);
  transition: transform var(--tm-duration-base) var(--tm-ease);
}
.tm-ugc-card:hover { transform: translateY(-3px); }
.tm-ugc-media {
  position: relative;
  aspect-ratio: 9 / 16;
  background: var(--tm-surface-2);
  overflow: hidden;
}
.tm-ugc-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform var(--tm-duration-slow) var(--tm-ease);
}
.tm-ugc-card:hover .tm-ugc-media img { transform: scale(1.03); }
.tm-ugc-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(17, 19, 24, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--tm-duration-base) var(--tm-ease);
}
.tm-ugc-card:hover .tm-ugc-play { opacity: 1; }
.tm-ugc-play-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--tm-text);
  display: grid;
  place-items: center;
  font-size: 20px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
  transform: translateX(-4px);
  padding-left: 4px;
}
.tm-ugc-card:hover .tm-ugc-play-btn { transform: translateX(0) scale(1.05); }
.tm-ugc-body { padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.tm-ugc-stars { color: var(--tm-accent); font-size: 16px; font-weight: 900; letter-spacing: 2px; }
.tm-ugc-text { font-size: var(--tm-text-sm); color: var(--tm-text-soft); line-height: 1.5; margin: 0; }
.tm-ugc-author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--tm-text-xs);
  font-weight: 800;
  color: var(--tm-text);
  margin-top: 6px;
}
.tm-ugc-badge {
  background: var(--tm-emerald-soft);
  color: var(--tm-emerald);
  padding: 2px 8px;
  border-radius: var(--tm-radius-pill);
  font-size: 10px;
  font-weight: 800;
}

/* Reviews strip */
.tm-reviews-strip { padding: 36px 0; background: var(--tm-bg-alt); border-top: var(--tm-hairline) solid var(--tm-hairline-color); }
.tm-reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.tm-review-card { background: var(--tm-surface); border: var(--tm-hairline) solid var(--tm-hairline-color); border-radius: var(--tm-radius-lg); padding: 18px; }
.tm-review-card small { color: var(--tm-muted); font-weight: 700; }

/* FAQ */
.tm-landing-faq { padding: 48px 0 80px; }
.tm-faq-list { max-width: 800px; margin: 0 auto; display: grid; gap: 10px; }
.tm-faq-item { background: var(--tm-surface); border: var(--tm-hairline) solid var(--tm-hairline-color); border-radius: var(--tm-radius-md); overflow: hidden; }
.tm-faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  background: none;
  border: none;
  color: var(--tm-text);
  font-family: inherit;
  font-size: var(--tm-text-base);
  font-weight: 700;
  cursor: pointer;
  text-align: right;
  transition: background var(--tm-duration-base) var(--tm-ease);
}
.tm-faq-q:hover { background: var(--tm-surface-2); }
.tm-faq-a { display: none; padding: 0 18px 16px; color: var(--tm-text-soft); font-size: var(--tm-text-sm); line-height: 1.6; }
.tm-faq-item.is-open .tm-faq-a { display: block; }
.tm-faq-item.is-open .tm-faq-icon { transform: rotate(45deg); }
.tm-faq-icon { transition: transform var(--tm-duration-base) var(--tm-ease); }

/* Sticky Mobile CTA */
.tm-sticky-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  z-index: 90;
  background: var(--tm-glass-strong);
  backdrop-filter: blur(12px);
  border-top: var(--tm-hairline) solid var(--tm-hairline-color);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.tm-sticky-mobile-bar__price small { display: block; font-size: 10px; color: var(--tm-muted); }
.tm-sticky-mobile-bar__price strong { color: var(--tm-accent); font-size: 17px; font-weight: 900; }
.tm-sticky-cta-btn {
  flex: 1;
  padding: 12px 16px;
  border: none;
  border-radius: var(--tm-radius-md);
  background: linear-gradient(135deg, var(--tm-cta-start), var(--tm-cta-end));
  color: #ffffff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

/* Thank you page */
.tm-thankyou-section { padding: 60px 0; }
.tm-thankyou-card {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  background: var(--tm-surface);
  border: var(--tm-hairline) solid var(--tm-hairline-color);
  border-radius: var(--tm-radius-xl);
  padding: 36px 24px;
  box-shadow: var(--tm-shadow-lg);
}
.tm-thankyou-icon {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--tm-emerald-soft);
  color: var(--tm-emerald);
  font-size: 30px;
  font-weight: 900;
}
.tm-thankyou-summary {
  margin: 24px 0;
  padding: 18px;
  border-radius: var(--tm-radius-lg);
  background: var(--tm-surface-2);
  display: grid;
  gap: 10px;
  text-align: right;
}
.tm-thankyou-summary > div { display: flex; justify-content: space-between; gap: 10px; }
.tm-thankyou-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 10px; }

/* Footer */
.tm-footer { border-top: var(--tm-hairline) solid var(--tm-hairline-color); background: var(--tm-surface); padding-top: 48px; }
.tm-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.tm-footer__desc, .tm-footer__contact { color: var(--tm-text-soft); font-size: var(--tm-text-sm); }
.tm-footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.tm-footer__links a, .tm-footer__contact a { color: var(--tm-text); text-decoration: none; font-weight: 700; }
.tm-footer__bottom { border-top: var(--tm-hairline) solid var(--tm-hairline-color); padding: 14px 0; text-align: center; color: var(--tm-muted); font-size: var(--tm-text-sm); }

/* Responsive */
@media (max-width: 980px) {
  .tm-hero-split, .tm-landing-grid { grid-template-columns: 1fr; }
  .tm-trust-grid { grid-template-columns: repeat(2, 1fr); }
  .tm-journey-grid, .tm-reviews-grid { grid-template-columns: 1fr; }
  .tm-footer__grid { grid-template-columns: 1fr; }
  .tm-spotlight-card { grid-template-columns: 1fr; }
  .tm-spotlight-thumbs { grid-template-columns: repeat(3, 1fr); }
  .tm-mode-btn span.tm-mode-label { display: none; }
  .tm-nav, .tm-header-cta { display: none; }
  .tm-sticky-mobile-bar { display: flex; }
}
@media (max-width: 640px) {
  .tm-seal-steps { flex-direction: column; align-items: stretch; }
  .tm-seal-step { min-width: unset; }
  .tm-seal-connector { writing-mode: horizontal-tb; transform: rotate(180deg); display: inline-block; margin: 8px 0; }
  .tm-hero-split { gap: 24px; }
}

/* Seller contact widget */
.dz-contact-float {
  position: fixed;
  bottom: 22px;
  z-index: 75;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dz-contact-float.is-left { left: 18px; }
.dz-contact-float.is-right { right: 18px; }
.dz-contact-icon-fab {
  position: relative;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0,0,0,0.24);
  transition: transform var(--tm-duration-base) var(--tm-ease), box-shadow var(--tm-duration-base) var(--tm-ease);
}
.dz-contact-icon-fab::before {
  content: "";
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0; transform: scale(0.85);
  transition: opacity var(--tm-duration-base) var(--tm-ease), transform var(--tm-duration-base) var(--tm-ease);
}
.dz-contact-icon-fab:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 18px 36px rgba(0,0,0,0.32);
}
.dz-contact-icon-fab:hover::before { opacity: 0.35; transform: scale(1.08); }
.dz-contact-icon-fab.is-whatsapp { background: linear-gradient(135deg, #25d366, #128c7e); }
.dz-contact-icon-fab.is-telegram { background: linear-gradient(135deg, #2aabee, #229ed9); }
.dz-contact-icon-fab[data-tip]::after {
  content: attr(data-tip);
  position: absolute; top: 50%; transform: translateY(-50%);
  padding: 5px 10px; border-radius: 8px;
  background: var(--tm-surface, #14181f);
  color: var(--tm-text, #ffffff);
  border: var(--tm-hairline) solid var(--tm-hairline-color);
  font-size: 12px; font-weight: 800;
  white-space: nowrap; opacity: 0; pointer-events: none;
  transition: opacity var(--tm-duration-base) var(--tm-ease);
  box-shadow: 0 8px 20px rgba(0,0,0,0.16);
}
.dz-contact-float.is-left .dz-contact-icon-fab[data-tip]::after { left: 62px; }
.dz-contact-float.is-right .dz-contact-icon-fab[data-tip]::after { right: 62px; }
.dz-contact-icon-fab:hover::after { opacity: 1; }

/* ── Size Swatch selected state ── */
.dz-swatch.is-selected span {
  border-color: var(--tm-accent);
  background: var(--tm-accent);
  color: #ffffff;
}

/* ── Delivery Expectation Strip ── */
.dz-delivery-expectation {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--tm-surface-2);
  border: var(--tm-hairline) solid var(--tm-hairline-color);
  border-radius: var(--tm-radius-md);
  margin: 14px 0;
  font-size: var(--tm-text-sm);
  font-weight: 700;
  color: var(--tm-text-soft);
}
.dz-delivery-expectation .dz-exp-icon { font-size: 16px; }

/* ── Order Bump ── */
.dz-order-bump {
  padding: 16px;
  background: var(--tm-surface-2);
  border: var(--tm-hairline) solid var(--tm-hairline-color);
  border-radius: var(--tm-radius-lg);
  margin: 16px 0;
}
.dz-bump-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: var(--tm-text-sm);
  color: var(--tm-text);
}
.dz-bump-label input { accent-color: var(--tm-accent); width: 20px; height: 20px; }
.dz-bump-content { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.dz-bump-content strong { color: var(--tm-text); font-size: var(--tm-text-base); }
.dz-bump-detail { color: var(--tm-muted); font-size: var(--tm-text-xs); }
.dz-bump-price { font-weight: 900; color: var(--tm-accent); white-space: nowrap; font-size: var(--tm-text-base); }

/* ── Hotspots / Before-After ── */
.tm-hotspot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.tm-hotspot {
  background: var(--tm-surface);
  border: var(--tm-hairline) solid var(--tm-hairline-color);
  border-radius: var(--tm-radius-lg);
  padding: 18px;
  cursor: pointer;
  transition: all var(--tm-duration-base) var(--tm-ease);
  position: relative;
  overflow: hidden;
}
.tm-hotspot:hover, .tm-hotspot.is-active {
  border-color: var(--tm-accent);
  box-shadow: var(--tm-shadow-lg);
}
.tm-hotspot-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--tm-accent);
  position: absolute;
  top: 16px; left: 16px;
  box-shadow: 0 0 10px var(--tm-accent);
}
.tm-hotspot h4 { margin: 30px 0 8px 0; font-size: 16px; }
.tm-hotspot p { margin: 0; font-size: var(--tm-text-sm); color: var(--tm-text-soft); }

.tm-before-after {
  position: relative;
  border-radius: var(--tm-radius-lg);
  overflow: hidden;
  border: var(--tm-hairline) solid var(--tm-hairline-color);
  background: var(--tm-surface);
  aspect-ratio: 1 / 1;
  margin: 24px 0;
}
.tm-before-after img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.tm-ba-slider {
  position: absolute;
  inset: 0;
  width: 50%;
  height: 100%;
  clip: rect(0, auto, auto, 0);
  overflow: hidden;
}
.tm-ba-slider img {
  width: 200%; height: 100%; object-fit: cover; display: block;
  margin-left: -100%;
}
.tm-ba-handle {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--tm-accent);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  cursor: ew-resize;
  z-index: 10;
  display: grid;
  place-items: center;
  font-size: 14px;
  line-height: 1;
}

/* ── Comparison Section ── */
.tm-comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}
.tm-comp-col {
  background: var(--tm-surface);
  border: var(--tm-hairline) solid var(--tm-hairline-color);
  border-radius: var(--tm-radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.tm-comp-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--tm-radius-pill);
  font-size: 11px;
  font-weight: 800;
  width: fit-content;
  margin-bottom: 12px;
}
.tm-comp-badge { background: var(--tm-emerald-soft); color: var(--tm-emerald); }
.tm-comp-badge--fake { background: rgba(220, 38, 38, 0.12); color: #dc2626; }
.tm-comp-col h3 { margin: 0 0 16px; font-size: 18px; }
.tm-comp-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.tm-comp-list li { display: flex; align-items: center; gap: 10px; font-size: var(--tm-text-sm); color: var(--tm-text-soft); }
.tm-comp-list--fake li { color: var(--tm-muted); }
.tm-comp-check { color: var(--tm-emerald); font-weight: 900; }
.tm-comp-cross { color: #dc2626; font-weight: 900; }

/* ── Size Guide Modal ── */
.tm-modal {
  position: fixed;
  inset: 0;
  z-index: var(--tm-z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tm-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 19, 24, 0.45);
  backdrop-filter: blur(6px);
}
.tm-modal-panel {
  position: relative;
  background: var(--tm-surface);
  border: var(--tm-hairline) solid var(--tm-hairline-color);
  border-radius: var(--tm-radius-xl);
  padding: 32px 24px;
  max-width: 480px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--tm-shadow-xl);
  text-align: right;
}
.tm-modal-close {
  position: absolute;
  top: 16px; left: 16px;
  width: 36px; height: 36px;
  border-radius: 10px;
  border: var(--tm-hairline) solid var(--tm-hairline-color);
  background: var(--tm-surface-2);
  color: var(--tm-text-soft);
  font-size: 20px;
  cursor: pointer;
  display: grid;
  place-items: center;
  line-height: 1;
}
.tm-modal h2 { margin: 0 0 10px; font-size: var(--tm-text-2xl); }
.tm-modal p { color: var(--tm-text-soft); margin-bottom: 18px; }
.tm-size-chart {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 18px 0;
}
.tm-size-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: var(--tm-surface-2);
  border: var(--tm-hairline) solid var(--tm-hairline-color);
  border-radius: var(--tm-radius-md);
  font-size: var(--tm-text-sm);
  font-weight: 700;
}
.tm-size-row span:first-child { color: var(--tm-accent); }
.tm-size-fit { color: var(--tm-muted); font-size: var(--tm-text-xs); font-weight: 700; }
.tm-size-note { font-size: var(--tm-text-xs); color: var(--tm-muted); font-style: italic; margin-top: 12px; }

/* ── Scroll Reveal ── */
.tm-to-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--tm-duration-base) var(--tm-ease), transform var(--tm-duration-base) var(--tm-ease);
}
.tm-to-reveal.tm-revealed {
  opacity: 1;
  transform: translateY(0);
}
