/* ═══════════════════════════════════════════════════════════════
   SEASONAL COLOUR — Season Detail Page
   season.css — All section-specific styles for season.html
   ═══════════════════════════════════════════════════════════════ */

/* ─── Page Entry Animation ───────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.season-page {
  animation: fadeUp 0.4s var(--ease) both;
  padding-bottom: 80px;
}

/* ═══════════════════════════════════════════════════
   § 1  HERO
═══════════════════════════════════════════════════ */
.season-hero {
  position: relative;
  overflow: hidden;
  padding-bottom: 40px;
  margin-bottom: 24px;
}

.season-hero__ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%,
      color-mix(in srgb, var(--season-accent) 12%, transparent) 0%,
      transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 30%,
      color-mix(in srgb, var(--season-accent) 7%, transparent) 0%,
      transparent 70%);
}

.season-hero__inner {
  position: relative;
  padding: 40px var(--side-pad) 0;
  max-width: var(--max-w);
  margin: 0 auto;
}

.season-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.season-hero__family {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--season-accent);
  font-family: var(--font-mono);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, opacity 0.2s ease;
  cursor: pointer;
}
a.season-hero__family:hover,
a.season-hero__family:focus-visible {
  border-bottom-color: var(--season-accent);
  opacity: 0.8;
  outline: none;
}

.season-hero__name {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.05;
  margin-bottom: 12px;
}

.season-hero__tagline {
  font-size: clamp(1rem, 2.5vw, 1.1875rem);
  color: var(--muted);
  font-style: italic;
  font-family: var(--font-serif);
  margin-bottom: 28px;
  max-width: 540px;
}

.season-hero__subtitle {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 32px;
}

.season-hero__dna {
  margin: 0 calc(-1 * var(--side-pad));
  height: 16px;
  display: flex;
}
.season-hero__dna span { flex: 1; }

/* ═══════════════════════════════════════════════════
   § 2  COLOR ANALYSIS (profile cards)
═══════════════════════════════════════════════════ */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.profile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: border-color var(--t-med), transform var(--t-med);
}
.profile-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.profile-card__swatch {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  border: 3px solid rgba(255,255,255,0.1);
  box-shadow:
    0 0 0 6px color-mix(in srgb, attr(style) 20%, transparent),
    inset 0 2px 4px rgba(0,0,0,0.3);
  position: relative;
}

.profile-card__glow {
  position: absolute;
  inset: -8px;
  border-radius: var(--radius-full);
  opacity: 0.35;
  filter: blur(10px);
  pointer-events: none;
}

.profile-card__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--font-mono);
}

.profile-card__value {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
}

.profile-chars {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.profile-char-pill {
  padding: 5px 14px;
  font-size: 0.8125rem;
  color: var(--muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
}

/* ═══════════════════════════════════════════════════
   § 3  SEASON TRAITS
═══════════════════════════════════════════════════ */
.traits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 10px;
}

.trait-card {
  padding: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--t-fast);
}
.trait-card:hover { border-color: var(--border-hover); }

.trait-card__icon {
  font-size: 1.375rem;
  margin-bottom: 8px;
  display: block;
}
.trait-card__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--font-mono);
  margin-bottom: 4px;
}
.trait-card__value {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
}

/* ═══════════════════════════════════════════════════
   § 4  YOUR PALETTE
═══════════════════════════════════════════════════ */
.palette-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}

.palette-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.palette-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.palette-card__swatch {
  width: 100%;
  height: 64px;
}

.palette-card__body {
  padding: 10px 12px;
}

.palette-card__name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 4px;
}

.palette-card__hex {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--muted);
  margin-bottom: 6px;
}

/* ═══════════════════════════════════════════════════
   § 5  COLORS TO AVOID
═══════════════════════════════════════════════════ */
.avoid-box {
  background: rgba(180, 50, 50, 0.06);
  border: 1px solid rgba(180, 60, 60, 0.2);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.avoid-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
}

.avoid-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(180,60,60,0.15);
  border-radius: var(--radius-md);
}

.avoid-chip__dot {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  border: 2px solid rgba(255,255,255,0.1);
  flex-shrink: 0;
  position: relative;
}
.avoid-chip__dot::after {
  content: '✕';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: rgba(255,255,255,0.7);
  font-weight: 700;
}

.avoid-chip__name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}
.avoid-chip__reason {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 2px;
}

/* ═══════════════════════════════════════════════════
   § 6  MAKEUP GUIDE
═══════════════════════════════════════════════════ */

/* --- Lips --- */
.lips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}

.lip-card {
  cursor: pointer;
  background: rgba(255,255,255,0.03);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.lip-card:hover { transform: translateY(-2px); border-color: var(--border-hover); }
.lip-card.selected { border-color: var(--season-accent); }

.lip-card__swatch {
  width: 100%;
  height: 48px;
}
.lip-card__body {
  padding: 8px 10px;
}
.lip-card__name {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text);
}
.lip-card__note {
  font-size: 0.6875rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 2px;
}

/* --- Eyeshadow preview --- */
.eye-preview-bar {
  height: 40px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  display: flex;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease);
}
.eye-preview-bar span {
  flex: 1;
  display: block;
  transition: background-color 0.3s ease;
}

.eye-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 8px;
}

.eye-swatch {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  /* min 44×44px touch target (Apple HIG) — visual dot is 32px but tap area is full cell */
  padding: 10px 8px;
  min-width:  44px;
  min-height: 44px;
  background: rgba(255,255,255,0.03);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--t-fast);
}
.eye-swatch:hover { border-color: var(--border-hover); }
.eye-swatch.selected { border-color: var(--season-accent); }

.eye-swatch__dot {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  border: 2px solid rgba(255,255,255,0.12);
  flex-shrink: 0;
}
.eye-swatch__name {
  font-size: 0.6875rem;
  text-align: center;
  color: var(--muted);
}

/* --- Blush --- */
.blush-grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.blush-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 80px;
}
.blush-dot {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  border: 3px solid rgba(255,255,255,0.1);
  background: radial-gradient(circle at 35% 35%,
    rgba(255,255,255,0.25) 0%, transparent 60%),
    var(--color, #999);
  box-shadow: inset 0 4px 12px rgba(0,0,0,0.25);
}
.blush-name {
  font-size: 0.75rem;
  text-align: center;
  color: var(--muted);
}

/* --- Foundation --- */
.foundation-tip {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-left: 3px solid var(--season-accent);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

.foundation-grid {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.foundation-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  flex: 1;
  min-width: 200px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--t-fast);
}
.foundation-item:hover { border-color: var(--border-hover); }

.foundation-swatch {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(255,255,255,0.1);
  flex-shrink: 0;
}
.foundation-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}
.foundation-hex {
  font-size: 0.6875rem;
  font-family: var(--font-mono);
  color: var(--muted);
  margin-top: 2px;
}

/* ═══════════════════════════════════════════════════
   § 7  HAIR GUIDE
═══════════════════════════════════════════════════ */
.hair-intro {
  font-size: 0.9375rem;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.7;
}

.hair-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}

.hair-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--t-fast);
}
.hair-card:hover { border-color: var(--border-hover); }
.hair-card.starred { border-color: color-mix(in srgb, var(--season-accent) 50%, transparent); }

.hair-swatch {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 2px solid rgba(255,255,255,0.12);
  flex-shrink: 0;
}

.hair-card__body { flex: 1; }
.hair-card__name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
}
.hair-card__star {
  font-size: 0.75rem;
  color: var(--season-accent);
}
.hair-card__note {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 2px;
  font-style: italic;
}

.hair-avoid-title {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(220,80,80,0.7);
  font-family: var(--font-mono);
  margin-bottom: 10px;
}

/* ═══════════════════════════════════════════════════
   § 8  CAPSULE WARDROBE
═══════════════════════════════════════════════════ */
.wardrobe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.wardrobe-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--t-fast);
}
.wardrobe-item:hover { border-color: var(--border-hover); }

.wardrobe-item__header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.wardrobe-item__colors {
  display: flex;
  gap: -4px;
}
.wardrobe-item__colors .color-dot {
  width: 20px;
  height: 20px;
  margin-right: -5px;
  border-width: 2px;
  border-color: var(--bg-2);
}

.wardrobe-item__name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}
.wardrobe-item__desc {
  font-size: 0.8125rem;
  color: var(--muted);
  font-style: italic;
  line-height: 1.5;
}

.wardrobe-item__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 32px;
}

/* ═══════════════════════════════════════════════════
   § 9  METALS & JEWELRY
═══════════════════════════════════════════════════ */
.metals-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.metals-group__title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--font-mono);
  margin-bottom: 12px;
}

.metal-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.metal-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  min-height: 44px; /* Apple HIG touch target minimum */
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  color: var(--text);
  transition: border-color var(--t-fast);
}
.metal-chip:hover { border-color: var(--border-hover); }

.metal-chip .color-dot {
  width: 14px;
  height: 14px;
  border-width: 1px;
}

.metals-avoid .metal-chip {
  opacity: 0.55;
  border-color: rgba(180,60,60,0.2);
}

@media (max-width: 560px) {
  .metals-layout { grid-template-columns: 1fr; gap: 16px; }
}

/* ═══════════════════════════════════════════════════
   § 10  QUICK CHECKLIST
═══════════════════════════════════════════════════ */
.checklist-card {
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--season-accent) 8%, var(--bg-2)) 0%,
    var(--bg-2) 100%);
  border: 1px solid color-mix(in srgb, var(--season-accent) 25%, var(--border));
  border-radius: var(--radius-lg);
  padding: 24px;
}

.checklist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.checklist-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.875rem;
  line-height: 1.5;
}

.checklist-yes { color: color-mix(in srgb, var(--season-accent) 85%, #ccc); }
.checklist-no  { color: rgba(220,80,80,0.8); }

.checklist-row .check-icon {
  font-size: 0.875rem;
  flex-shrink: 0;
  margin-top: 1px;
}

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

/* ═══════════════════════════════════════════════════
   § 11  CLOSING QUOTE
═══════════════════════════════════════════════════ */
.closing-card {
  text-align: center;
  padding: 40px 32px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.closing-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%,
    color-mix(in srgb, var(--season-accent) 10%, transparent),
    transparent 70%);
  pointer-events: none;
}

.closing-card__emoji {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 16px;
}

.closing-card__quote {
  font-family: var(--font-serif);
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-style: italic;
  color: var(--text);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto;
  position: relative;
}

.closing-card__quote::before {
  content: '"';
  font-size: 4rem;
  color: var(--season-accent);
  opacity: 0.35;
  position: absolute;
  top: -16px;
  left: -8px;
  font-family: var(--font-serif);
  line-height: 1;
}

/* ─── Share Button ──────────────────────────────────────────── */
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 24px;
  padding: 10px 22px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--season-accent);
  background: color-mix(in srgb, var(--season-accent) 10%, transparent);
  border: 1.5px solid color-mix(in srgb, var(--season-accent) 40%, transparent);
  border-radius: var(--radius-full);
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background var(--t-fast), border-color var(--t-fast);
}
.share-btn:hover {
  background: color-mix(in srgb, var(--season-accent) 18%, transparent);
  border-color: color-mix(in srgb, var(--season-accent) 60%, transparent);
}
.share-btn svg { width: 15px; height: 15px; }

/* ─── Sections Wrapper ───────────────────────────────────────── */
.sections-list {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--side-pad);
}

/* ─── Error / Not Found ──────────────────────────────────────── */
.page-error {
  max-width: 480px;
  margin: 80px auto;
  text-align: center;
  padding: 0 var(--side-pad);
}
.page-error h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--text);
}
.page-error p {
  color: var(--muted);
  margin-bottom: 24px;
}
.page-error a {
  display: inline-block;
  padding: 10px 24px;
  background: var(--season-accent);
  color: var(--bg);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.875rem;
}
.page-error a:hover { text-decoration: none; filter: brightness(1.1); }

/* ─── Responsive adjustments ─────────────────────────────────── */
@media (max-width: 768px) {
  .profile-grid { grid-template-columns: repeat(2, 1fr); }
  .palette-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
  .wardrobe-grid { grid-template-columns: 1fr; }
  .closing-card { padding: 32px 20px; }
  .checklist-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .season-hero__inner { padding-top: 28px; }
  .profile-grid { grid-template-columns: 1fr 1fr; }
  .lips-grid { grid-template-columns: repeat(3, 1fr); }
  .eye-grid  { grid-template-columns: repeat(3, 1fr); }
  .traits-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════════════
   EXPANDABLE PRODUCT TRAYS
═══════════════════════════════════════════════════ */

/* Tray container */
.product-tray {
  /* Span full width when relocated inside a CSS grid after a trigger */
  grid-column: 1 / -1;
  /* Break to a new line and fill width inside a flex-wrap container */
  flex-basis: 100%;
  /* Prevent auto-shrinking in flex rows (metals chips, color dots, etc.) */
  flex-shrink: 0;
  /* Ensure tray is always block-level regardless of parent layout */
  width: 100%;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease;
  margin-top: 0;
}

.product-tray.active {
  max-height: 480px;
  opacity: 1;
  margin-top: 16px;
  margin-bottom: 8px;
}

.product-tray__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}

.product-tray__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--season-accent);
  font-family: var(--font-mono);
}

.product-tray__close {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--muted);
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast);
}
.product-tray__close:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text);
}

.product-tray__scroll {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

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

/* ─── Product Card ──────────────────────────────── */
.product-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--t-fast), transform var(--t-fast);
  animation: cardSlideIn 0.35s var(--ease) both;
}
.product-card:nth-child(2) { animation-delay: 0.05s; }
.product-card:nth-child(3) { animation-delay: 0.10s; }
.product-card:hover {
  border-color: var(--season-accent);
  transform: translateY(-3px);
}

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

.product-card__img {
  position: relative;
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-card__img-inner {
  font-size: 2rem;
  line-height: 1;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
  position: relative;
  z-index: 1;
}

.product-card__body {
  padding: 10px 12px 12px;
}

.product-card__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
  line-height: 1.3;
}

.product-card__color-tag {
  font-size: 0.6875rem;
  color: var(--season-accent);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 3px;
}

.product-card__brand {
  font-size: 0.6875rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.product-card__price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.product-card__price {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text);
}

.product-card__btn {
  padding: 5px 12px;
  font-size: 0.6875rem;
  flex-shrink: 0;
}

/* ─── Selected states for expandable swatches ─── */

.lip-card {
  cursor: pointer;
  position: relative;
}

.lip-card__cta {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--season-accent);
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  margin-top: 6px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity var(--t-fast), transform var(--t-fast);
}
.lip-card:hover .lip-card__cta,
.lip-card.selected .lip-card__cta {
  opacity: 1;
  transform: translateY(0);
}
.lip-card.selected {
  border-color: var(--season-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--season-accent) 20%, transparent);
}

.palette-card {
  cursor: pointer;
  position: relative;
}

.palette-card__shop-hint {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--season-accent);
  font-family: var(--font-mono);
  letter-spacing: 0.07em;
  margin-top: 6px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity var(--t-fast), transform var(--t-fast);
}
.palette-card:hover .palette-card__shop-hint,
.palette-card.selected .palette-card__shop-hint {
  opacity: 1;
  transform: translateY(0);
}
.palette-card.selected {
  border-color: var(--season-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--season-accent) 20%, transparent);
}

/* ─── Blush item selected/interactive state ─── */
.blush-item {
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.blush-item:hover {
  background: rgba(255,255,255,0.04);
  border-color: var(--border-hover);
}
.blush-item.selected {
  border-color: var(--season-accent);
  background: color-mix(in srgb, var(--season-accent) 8%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--season-accent) 18%, transparent);
}

.blush-cta {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--season-accent);
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  text-align: center;
  opacity: 0;
  transform: translateY(3px);
  transition: opacity var(--t-fast), transform var(--t-fast);
}
.blush-item:hover .blush-cta,
.blush-item.selected .blush-cta {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Inline "Shop" hint on makeup section tabs ─── */
.section-header[aria-controls="secbody-makeup"] .section-title::after,
.section-header[aria-controls="secbody-palette"] .section-title::after {
  content: ' · Tap colors to shop';
  font-size: 0.6rem;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 400;
  font-style: normal;
  opacity: 0.7;
  vertical-align: middle;
}

/* ═══════════════════════════════════════════════════════════════
   SEASON STARTER PICKS STRIP
   Always-visible featured product strip between hero and sections.
   ═══════════════════════════════════════════════════════════════ */
.picks-strip {
  max-width: var(--max-w);
  margin: 0 auto 24px;
  padding: 0 var(--side-pad);
}

.picks-strip__inner {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
}

.picks-strip__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 6px;
}

.picks-strip__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--season-accent);
  font-family: var(--font-mono);
}

.picks-strip__hint {
  font-size: 0.6875rem;
  color: var(--muted);
  font-family: var(--font-mono);
  opacity: 0.7;
}

/* The strip always uses horizontal scroll (mobile-first) */
.picks-strip__scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.picks-strip__scroll::-webkit-scrollbar { display: none; }

.picks-strip .product-card {
  flex: 0 0 160px;
  scroll-snap-align: start;
}

.picks-strip .product-card__img { height: 90px; }

/* ═══════════════════════════════════════════════════════════════
   NEW INTERACTIVE STATES — Profile, Hair, Foundation, Metals, Wardrobe
   ═══════════════════════════════════════════════════════════════ */

/* Profile cards now clickable */
.profile-card {
  cursor: pointer;
}
.profile-card__cta {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--season-accent);
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  margin-top: 6px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity var(--t-fast), transform var(--t-fast);
}
.profile-card:hover .profile-card__cta,
.profile-card.selected .profile-card__cta {
  opacity: 1;
  transform: translateY(0);
}
.profile-card.selected {
  border-color: var(--season-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--season-accent) 18%, transparent);
}

/* Hair card shop CTA */
.hair-card {
  cursor: pointer;
}
.hair-card__cta {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--season-accent);
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  margin-top: 4px;
  opacity: 0;
  transform: translateY(3px);
  transition: opacity var(--t-fast), transform var(--t-fast);
}
.hair-card:hover .hair-card__cta,
.hair-card.selected .hair-card__cta {
  opacity: 1;
  transform: translateY(0);
}
.hair-card.selected {
  border-color: var(--season-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--season-accent) 15%, transparent);
}

/* Foundation shade clickable */
.foundation-item {
  cursor: pointer;
}
.foundation-cta {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--season-accent);
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  margin-top: 4px;
  opacity: 0;
  transition: opacity var(--t-fast);
}
.foundation-item:hover .foundation-cta,
.foundation-item.selected .foundation-cta {
  opacity: 1;
}
.foundation-item.selected {
  border-color: var(--season-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--season-accent) 15%, transparent);
}

/* Wardrobe item CTA hint */
.wardrobe-item {
  cursor: pointer;
}
.wardrobe-item__cta {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--season-accent);
  font-family: var(--font-mono);
  letter-spacing: 0.07em;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity var(--t-fast), transform var(--t-fast);
}
.wardrobe-item:hover .wardrobe-item__cta,
.wardrobe-item.selected .wardrobe-item__cta {
  opacity: 1;
  transform: translateX(0);
}
.wardrobe-item.selected {
  border-color: var(--season-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--season-accent) 15%, transparent);
}

/* Metal chip shopable variant */
.metal-chip--shopable {
  cursor: pointer;
}
.metal-chip__cta {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--season-accent);
  margin-left: 2px;
  opacity: 0;
  transition: opacity var(--t-fast), transform var(--t-fast);
  transform: translateX(-4px);
  display: inline-block;
}
.metal-chip--shopable:hover .metal-chip__cta,
.metal-chip--shopable.selected .metal-chip__cta {
  opacity: 1;
  transform: translateX(0);
}
.metal-chip--shopable.selected {
  border-color: var(--season-accent);
  background: color-mix(in srgb, var(--season-accent) 10%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--season-accent) 15%, transparent);
}

/* Closing section featured picks */
.closing-wrap { display: flex; flex-direction: column; gap: 0; }

.closing-featured {
  margin-bottom: 20px;
}
.closing-featured__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--season-accent);
  font-family: var(--font-mono);
  margin-bottom: 12px;
}
.closing-featured__scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.closing-featured__scroll::-webkit-scrollbar { display: none; }
.closing-featured .product-card,
.closing-featured__scroll .product-card {
  flex: 0 0 155px;
  scroll-snap-align: start;
}

/* Checklist picks strip */
.checklist-picks {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.checklist-picks__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--season-accent);
  font-family: var(--font-mono);
  margin-bottom: 12px;
}
.checklist-picks__scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.checklist-picks__scroll::-webkit-scrollbar { display: none; }
.checklist-picks .product-card,
.checklist-picks__scroll .product-card {
  flex: 0 0 155px;
  scroll-snap-align: start;
}

/* ═══════════════════════════════════════════════════════════════
   PRODUCT CARD — SHARED STRUCTURAL ADDITIONS
   (rating row, color thumb for compact layouts)
   ═══════════════════════════════════════════════════════════════ */

.product-card__brand-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.product-card__rating {
  font-size: 0.625rem;
  color: var(--season-accent);
  font-weight: 600;
  font-family: var(--font-mono);
  opacity: 0.85;
}

/* Color thumb: only visible in Variant C list layout */
.product-card__color-thumb {
  display: none; /* shown by [data-layout="C"] rule below */
  width: 4px;
  flex-shrink: 0;
  border-radius: 0;
  align-self: stretch;
}

/* ═══════════════════════════════════════════════════════════════
   A/B LAYOUT VARIANTS
   All share identical DOM. Only these CSS blocks differ.
   Switch by setting data-layout="A|B|C|D" on <html>.
   ═══════════════════════════════════════════════════════════════ */

/* ── Variant A (default): 3-column card grid ─────────────────── */
/* This is the base .product-tray__scroll rule (already defined above) */
/* No additional selectors needed for A */

/* ── Variant B: Horizontal swipe/scroll ──────────────────────── */
[data-layout="B"] .product-tray__scroll {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 12px;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
[data-layout="B"] .product-tray__scroll::-webkit-scrollbar {
  height: 4px;
}
[data-layout="B"] .product-tray__scroll::-webkit-scrollbar-thumb {
  background: var(--border-hover);
  border-radius: var(--radius-full);
}
[data-layout="B"] .product-card {
  flex: 0 0 160px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}
[data-layout="B"] .product-card__img {
  height: 120px;
  flex-shrink: 0;
}
[data-layout="B"] .product-tray.active {
  max-height: 340px;
}

/* ── Variant C: Compact list (left thumb + right info) ───────── */
[data-layout="C"] .product-tray__scroll {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
[data-layout="C"] .product-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0;
  min-height: 72px;
}
[data-layout="C"] .product-card__color-thumb {
  display: block;
}
[data-layout="C"] .product-card__img {
  width: 64px;
  height: auto;
  flex-shrink: 0;
  border-radius: 0;
}
[data-layout="C"] .product-card__img-inner {
  font-size: 1.5rem;
}
[data-layout="C"] .product-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 12px;
  flex: 1;
}
[data-layout="C"] .product-card__name {
  font-size: 0.8125rem;
  margin-bottom: 1px;
}
[data-layout="C"] .product-card__color-tag {
  margin-bottom: 1px;
}
[data-layout="C"] .product-card__brand-row {
  margin-bottom: 4px;
}
[data-layout="C"] .product-card__price-row {
  flex-wrap: nowrap;
}
[data-layout="C"] .product-tray.active {
  max-height: 600px;
}

/* ── Variant D: Editorial / magazine ─────────────────────────── */
[data-layout="D"] .product-tray__scroll {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  grid-template-rows: auto auto;
  gap: 10px;
}
[data-layout="D"] .product-card:first-child {
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
}
[data-layout="D"] .product-card:first-child .product-card__img {
  height: 160px;
  flex-shrink: 0;
}
[data-layout="D"] .product-card:first-child .product-card__name {
  font-size: 1rem;
}
[data-layout="D"] .product-card:not(:first-child) .product-card__img {
  height: 70px;
}
[data-layout="D"] .product-card:not(:first-child) .product-card__body {
  padding: 6px 10px 8px;
}
[data-layout="D"] .product-card:not(:first-child) .product-card__name {
  font-size: 0.8rem;
}
[data-layout="D"] .product-card:not(:first-child) .product-card__color-tag,
[data-layout="D"] .product-card:not(:first-child) .product-card__brand-row {
  display: none;
}
[data-layout="D"] .product-tray.active {
  max-height: 520px;
}

/* ── D mobile: stack on very small screens ───────────────────── */
@media (max-width: 400px) {
  [data-layout="D"] .product-tray__scroll {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  [data-layout="D"] .product-card:first-child {
    grid-row: auto;
  }
}

/* ── Section-header hints for shopable sections ─────────────── */
.section-header[aria-controls="secbody-makeup"] .section-title::after,
.section-header[aria-controls="secbody-palette"] .section-title::after,
.section-header[aria-controls="secbody-hair"] .section-title::after,
.section-header[aria-controls="secbody-wardrobe"] .section-title::after,
.section-header[aria-controls="secbody-metals"] .section-title::after {
  content: ' · tap to shop';
  font-size: 0.6rem;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 400;
  font-style: normal;
  opacity: 0.6;
  vertical-align: middle;
}

/* ═══════════════════════════════════════════════════════════════
   DEBUG LAYOUT SWITCHER
   Only visible on localhost or ?debug=1
   ═══════════════════════════════════════════════════════════════ */
.layout-switcher {
  position: fixed;
  bottom: 20px;
  right: 16px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  background: var(--bg-3);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-full);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  font-size: 0.6875rem;
  user-select: none;
}
.layout-switcher__label {
  font-family: var(--font-mono);
  color: var(--muted);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-right: 2px;
}
.layout-switcher__btn {
  width: 26px;
  height: 26px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-mono);
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 26px; /* override base 44px for this debug widget */
}
.layout-switcher__btn:hover {
  background: rgba(255,255,255,0.08);
  color: var(--text);
  border-color: var(--border-hover);
}
.layout-switcher__btn.active {
  background: var(--season-accent);
  color: var(--bg);
  border-color: var(--season-accent);
}
.layout-switcher__hint {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  color: var(--muted);
  opacity: 0.55;
  margin-left: 4px;
  display: none;
}
@media (min-width: 600px) {
  .layout-switcher__hint { display: inline; }
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE-FIRST RESPONSIVE ADJUSTMENTS
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 540px) {
  /* A/B tray grid goes 2-col on mobile */
  .product-tray__scroll {
    grid-template-columns: repeat(2, 1fr);
  }
  /* D editorial stacks on narrow screens */
  [data-layout="D"] .product-tray__scroll {
    grid-template-columns: 1fr 1fr;
  }
  [data-layout="D"] .product-card:first-child {
    grid-row: auto;
    grid-column: 1 / -1;
  }
  [data-layout="D"] .product-card:not(:first-child) .product-card__color-tag,
  [data-layout="D"] .product-card:not(:first-child) .product-card__brand-row {
    display: flex;
  }
}
@media (max-width: 380px) {
  .product-tray__scroll {
    grid-template-columns: 1fr;
  }
  [data-layout="B"] .product-card { flex: 0 0 145px; }
}

/* ═══════════════════════════════════════════════════════════════
   PRODUCT QUICK-VIEW MODAL  (bottom sheet on mobile, centred dialog on desktop)
   ═══════════════════════════════════════════════════════════════ */
.product-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: flex-end;       /* bottom sheet on mobile */
  justify-content: center;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.product-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.product-modal {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  width: 100%;
  max-width: 480px;
  max-height: 92dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  -webkit-overflow-scrolling: touch;
}
.product-modal-overlay.active .product-modal {
  transform: translateY(0);
}
/* Pull-to-dismiss drag indicator */
.product-modal::before {
  content: '';
  display: block;
  width: 40px;
  height: 4px;
  background: var(--border-hover);
  border-radius: var(--radius-full);
  margin: 12px auto 0;
}
.product-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  min-height: 32px; /* override base 44px for this compact control */
  transition: background var(--t-fast), color var(--t-fast);
}
.product-modal__close:hover {
  background: var(--bg-4);
}
/* Color-matched hero image */
.product-modal__img {
  width: 100%;
  height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  gap: 10px;
  transition: background 0.4s ease;
}
.product-modal__img-icon {
  font-size: 2.8rem;
  line-height: 1;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}
.product-modal__variants {
  display: flex;
  gap: 8px;
}
.product-modal__variant-dot {
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--t-fast), border-color var(--t-fast);
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.product-modal__variant-dot.active {
  border-color: #fff;
  transform: scale(1.18);
}
/* Body content */
.product-modal__body {
  padding: 16px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.product-modal__brand {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-family: var(--font-mono);
}
.product-modal__name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 2px;
}
.product-modal__color-tag {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 2px;
}
.product-modal__rating {
  font-size: 0.8125rem;
  color: var(--muted-2);
}
.product-modal__price {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 6px 0 2px;
}
/* Size picker */
.product-modal__sizes {
  margin: 10px 0 4px;
}
.product-modal__sizes-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted-2);
  font-family: var(--font-mono);
  margin-bottom: 8px;
}
.product-modal__size-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.size-pill {
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: 0.8125rem;
  cursor: pointer;
  min-height: 34px;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.size-pill:hover  { border-color: var(--border-hover); color: var(--text); }
.size-pill.active {
  background: var(--season-accent);
  border-color: var(--season-accent);
  color: var(--bg);
}
/* CTA + disclaimer */
.product-modal__view-btn {
  display: block;
  text-align: center;
  background: var(--season-accent, #c97c3a);
  color: var(--bg);
  padding: 14px 20px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  margin: 14px 0 6px;
  transition: filter var(--t-fast), transform var(--t-fast);
  letter-spacing: 0.02em;
}
.product-modal__view-btn:hover  { filter: brightness(1.1); transform: translateY(-1px); }
.product-modal__view-btn:active { transform: translateY(0); filter: brightness(0.95); }
.product-modal__disclaimer {
  font-size: 0.6875rem;
  color: var(--muted-3, var(--muted));
  text-align: center;
  opacity: 0.6;
  margin-top: 0;
}
/* Desktop: centred dialog rather than bottom sheet */
@media (min-width: 600px) {
  .product-modal-overlay { align-items: center; }
  .product-modal {
    border-radius: var(--radius-lg);
    max-height: 85dvh;
    transform: translateY(20px) scale(0.97);
  }
  .product-modal-overlay.active .product-modal {
    transform: translateY(0) scale(1);
  }
}

/* ═══════════════════════════════════════════════════════════════
   PINNED PRODUCT STRIPS  (.pinned-strip)
   Always-visible horizontal scroll rows used in Hair, Metals, Checklist.
   ═══════════════════════════════════════════════════════════════ */
.pinned-strip {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.pinned-strip__header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
  padding: 0 2px;
}
.pinned-strip__label {
  font-size: 0.6875rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-2);
}
.pinned-strip__hint {
  font-size: 0.625rem;
  color: var(--muted-3, var(--muted));
  opacity: 0.6;
  font-style: italic;
}
.pinned-strip__scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.pinned-strip__scroll::-webkit-scrollbar { display: none; }
.pinned-strip__scroll .product-card {
  flex: 0 0 154px;
  scroll-snap-align: start;
}

/* Variant B: pinned strips become slightly wider cards */
[data-layout="B"] .pinned-strip__scroll .product-card { flex: 0 0 170px; }
/* Variant C: pinned strips go compact list */
[data-layout="C"] .pinned-strip__scroll {
  flex-direction: column;
  overflow-x: visible;
  scroll-snap-type: none;
}
[data-layout="C"] .pinned-strip__scroll .product-card {
  flex: none;
  width: 100%;
  display: flex;
  flex-direction: row;
  min-height: 68px;
}
[data-layout="C"] .pinned-strip__scroll .product-card__img {
  width: 60px;
  height: auto;
  flex-shrink: 0;
  border-radius: 0;
}
[data-layout="C"] .pinned-strip__scroll .product-card__color-thumb { display: block; }
/* Variant D: pinned strips use editorial grid (first card featured) */
[data-layout="D"] .pinned-strip__scroll {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  grid-template-rows: auto auto;
  overflow-x: visible;
  scroll-snap-type: none;
}
[data-layout="D"] .pinned-strip__scroll .product-card:first-child {
  grid-row: 1 / 3;
}
[data-layout="D"] .pinned-strip__scroll .product-card:first-child .product-card__img { height: 150px; }

/* ═══════════════════════════════════════════════════════════════
   HAIR GUIDE — filter chips + picks strip
   ═══════════════════════════════════════════════════════════════ */
.hair-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.hair-filter-chip {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: 0.8125rem;
  cursor: pointer;
  min-height: 36px;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
}
.hair-filter-chip:hover {
  border-color: var(--border-hover);
  color: var(--text);
}
.hair-filter-chip.active {
  background: var(--season-accent, #c97c3a);
  border-color: var(--season-accent, #c97c3a);
  color: var(--bg);
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════
   WARDROBE — Complete the Look strip
   ═══════════════════════════════════════════════════════════════ */
.wardrobe-look-strip {
  margin-top: 16px;
}

/* ═══════════════════════════════════════════════════════════════
   METALS & JEWELRY — Jewelry edit strip
   ═══════════════════════════════════════════════════════════════ */
.jewelry-edit-strip {
  margin-top: 16px;
}

/* ═══════════════════════════════════════════════════════════════
   QUICK CHECKLIST — nudge banner, shopable rows, inline drawers
   ═══════════════════════════════════════════════════════════════ */
.checklist-nudge {
  font-size: 0.8125rem;
  color: var(--muted);
  font-style: italic;
  margin: 0 0 14px;
  padding: 10px 14px;
  background: var(--bg-3);
  border-radius: var(--radius);
  border-left: 3px solid var(--season-accent, #c97c3a);
}

/* Two-col checklist grid — yes col / no col */
.checklist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  margin-bottom: 4px;
}
@media (max-width: 400px) {
  .checklist-grid { grid-template-columns: 1fr; }
}
.checklist-col-title {
  font-size: 0.6875rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-3, var(--muted));
  margin-bottom: 6px;
  padding-left: 4px;
  opacity: 0.7;
}

/* Shopable YES rows */
.checklist-yes-wrap {
  /* container: each yes row + its inline drawer */
}
.checklist-row--shopable {
  cursor: pointer;
  border-radius: var(--radius);
  padding: 6px 8px;
  margin: 0 -8px;
  transition: background var(--t-fast);
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
}
.checklist-row--shopable:hover {
  background: var(--bg-3);
}
.checklist-row--shopable.selected {
  background: var(--bg-3);
  border-radius: var(--radius) var(--radius) 0 0;
}
.checklist-row__text { flex: 1; }
.checklist-row__shop-hint {
  font-size: 0.6875rem;
  color: var(--season-accent, #c97c3a);
  font-family: var(--font-mono);
  opacity: 0;
  transition: opacity var(--t-fast);
  white-space: nowrap;
}
.checklist-row--shopable:hover .checklist-row__shop-hint,
.checklist-row--shopable.selected .checklist-row__shop-hint {
  opacity: 1;
}

/* Inline drawer (slides open below each ✓ row) */
.checklist-drawer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
  opacity: 0;
  background: var(--bg-3);
  border-radius: 0 0 var(--radius) var(--radius);
  margin: 0 -8px;
}
.checklist-drawer.active {
  max-height: 400px;
  opacity: 1;
}
.checklist-drawer__close {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  padding: 6px 10px 0;
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 1rem;
  min-height: unset;
}
.checklist-drawer__scroll {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 6px 10px 12px;
}
@media (max-width: 380px) {
  .checklist-drawer__scroll { grid-template-columns: 1fr 1fr; }
}

/* Variant B: drawer cards become a horizontal swipe row */
[data-layout="B"] .checklist-drawer__scroll {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 10px;
  padding-bottom: 10px;
}
[data-layout="B"] .checklist-drawer__scroll .product-card {
  flex: 0 0 150px;
  scroll-snap-align: start;
}
/* Variant C: drawer becomes compact list */
[data-layout="C"] .checklist-drawer__scroll {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
[data-layout="C"] .checklist-drawer__scroll .product-card {
  display: flex;
  flex-direction: row;
  min-height: 64px;
}
[data-layout="C"] .checklist-drawer__scroll .product-card__img {
  width: 56px;
  flex-shrink: 0;
  border-radius: 0;
}
[data-layout="C"] .checklist-drawer__scroll .product-card__color-thumb { display: block; }
/* Variant D: drawer editorial (2-col, first card large) */
[data-layout="D"] .checklist-drawer__scroll {
  grid-template-columns: 1.6fr 1fr;
}
[data-layout="D"] .checklist-drawer__scroll .product-card:first-child {
  grid-row: 1 / 3;
}

/* Essentials strip */
.checklist-essentials-strip { margin-top: 20px; }
