/* ============================================================
   Outfit Idea Generator — styles.css
   Shared across free.html and index.html
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --cream: #FAF6F0;
  --ink: #1C1917;
  --caramel: #C4956A;
  --caramel-dark: #A67A4F;
  --burgundy: #722F37;
  --burgundy-dark: #5A252D;
  --stone: #EDE8E0;
  --warm-white: #FFFDF8;
  --border: #E0D9CE;
  --muted: #8C7B6B;
  --error: #B54848;

  --serif: "Cormorant Garamond", Georgia, serif;
  --display: "Italiana", "Cormorant Garamond", serif;
  --script: "Pinyon Script", cursive;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(28, 25, 23, 0.04);
  --shadow-md: 0 4px 16px rgba(28, 25, 23, 0.08);
  --shadow-lg: 0 12px 40px rgba(28, 25, 23, 0.12);

  --page-max: 1200px;

  /* Subtle vertical pinstripe, applied to body */
  --pinstripe: linear-gradient(90deg, rgba(140, 123, 107, 0.04) 1px, transparent 1px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  background-image: var(--pinstripe);
  background-size: 14px 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; }
a { color: var(--ink); text-decoration: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; margin: 0; letter-spacing: 0.01em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.4rem); line-height: 1.05; }
h2 { font-size: clamp(1.6rem, 3.8vw, 2.4rem); line-height: 1.1; }
h3 { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; line-height: 1.2; letter-spacing: -0.01em; }
h4 { font-family: var(--serif); font-weight: 500; font-size: 1.1rem; letter-spacing: -0.01em; }
em, .italic { font-style: italic; }
.script { font-family: var(--script); color: var(--burgundy); display: inline-block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, letter-spacing 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
  font-family: var(--sans);
}
.btn:hover { letter-spacing: 0.22em; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: var(--warm-white); }
.btn-primary:hover { background: #000; }
.btn-caramel { background: var(--burgundy); color: var(--warm-white); }
.btn-caramel:hover { background: var(--burgundy-dark); }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--warm-white); }
.btn-ghost { background: transparent; color: var(--muted); padding: 10px 16px; letter-spacing: 0.15em; }
.btn-ghost:hover { color: var(--ink); background: transparent; letter-spacing: 0.18em; }
.btn-sm { padding: 9px 18px; font-size: 10px; }
.btn-lg { padding: 18px 44px; font-size: 12px; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; letter-spacing: 0.2em; }

/* ---------- Inputs ---------- */
.input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--warm-white);
  font-size: 15px;
  font-family: var(--serif);
  transition: border-color 0.15s ease;
}
.input:focus { outline: none; border-color: var(--burgundy); }

/* ---------- Page shell ---------- */
.app { min-height: 100vh; display: flex; flex-direction: column; }
.container { width: 100%; max-width: var(--page-max); margin: 0 auto; padding: 0 24px; }

.header {
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--cream);
  background-image: var(--pinstripe);
  background-size: 14px 100%;
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  white-space: nowrap;
  line-height: 1;
}
.logo em {
  font-family: var(--script);
  font-style: normal;
  color: var(--burgundy);
  font-size: 1.2em;
  display: inline-block;
  transform: translateY(0.06em);
  margin: 0 1px;
  line-height: 0.9;
}
.nav { display: flex; gap: 4px; align-items: center; }
.nav-btn {
  padding: 8px 14px;
  border-radius: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s ease, background 0.2s ease;
  background: none;
  border: none;
}
.nav-btn.active { color: var(--burgundy); }
.nav-btn.active::after {
  content: "";
  display: block;
  width: 24px; height: 1px;
  background: var(--burgundy);
  margin: 4px auto 0;
}
.nav-btn:hover:not(.active) { color: var(--ink); }

.main { flex: 1; padding: 40px 0 80px; }

/* ---------- Screen transitions ---------- */
.screen { display: none; animation: fadeIn 0.4s ease; }
.screen.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Quiz ---------- */
.quiz {
  max-width: 640px;
  margin: 0 auto;
  padding: 24px;
}
.quiz-progress {
  height: 3px;
  background: var(--stone);
  border-radius: 999px;
  margin-bottom: 32px;
  overflow: hidden;
}
.quiz-progress-fill {
  height: 100%;
  background: var(--burgundy);
  transition: width 0.4s ease;
}
.quiz-step-label {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  font-weight: 500;
}
.quiz-question {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.08;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}
.quiz-helper {
  color: var(--muted);
  margin-bottom: 28px;
  font-size: 14px;
  font-family: var(--serif);
  font-style: italic;
}

.quiz-options { display: grid; gap: 10px; margin-bottom: 28px; }

/* Grid variant: 3 columns of compact chips (used on 'How do you want to feel' question) */
.quiz-options-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.quiz-options-grid .quiz-option {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px 10px;
  min-height: 72px;
  gap: 0;
}
.quiz-options-grid .quiz-option-dot { display: none; }
.quiz-options-grid .quiz-option-body { text-align: center; }
.quiz-options-grid .quiz-option-label { font-size: 14px; }

@media (max-width: 480px) {
  .quiz-options-grid { gap: 6px; }
  .quiz-options-grid .quiz-option { padding: 16px 6px; min-height: 64px; }
  .quiz-options-grid .quiz-option-label { font-size: 13px; }
}
.quiz-option {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--warm-white);
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease;
  width: 100%;
  cursor: pointer;
}
.quiz-option:hover { border-color: var(--burgundy); }
.quiz-option.selected { border-color: var(--burgundy); background: var(--warm-white); }
.quiz-option-dot {
  flex-shrink: 0;
  width: 16px; height: 16px;
  border: 1px solid var(--border);
  border-radius: 50%;
  margin-top: 4px;
  transition: all 0.15s ease;
  position: relative;
}
.quiz-option.selected .quiz-option-dot {
  border-color: var(--burgundy);
  background: var(--burgundy);
}
.quiz-option.selected .quiz-option-dot::after {
  content: "";
  position: absolute; inset: 3px;
  background: var(--warm-white);
  border-radius: 50%;
}
.quiz-option-body { flex: 1; }
.quiz-option-label { font-weight: 500; font-size: 15px; font-family: var(--serif); }
.quiz-option-desc { color: var(--muted); font-size: 13px; margin-top: 4px; line-height: 1.55; font-family: var(--serif); font-style: italic; }

.quiz-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}
.quiz-actions .spacer { flex: 1; }

/* ---------- Interstitial ---------- */
.interstitial {
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 24px;
  text-align: center;
}
.interstitial h2 {
  margin-bottom: 16px;
}
.interstitial p {
  color: var(--muted);
  font-size: 17px;
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.6;
  font-family: var(--serif);
  font-style: italic;
}
.interstitial-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center 25%;
  border-radius: 2px;
  margin-bottom: 32px;
}
/* Interstitial B (closet photo): no animation, slightly different crop */
.interstitial-image[src*="06403ac1"] {
  object-position: center center;
}
/* Interstitial C (OUTFITGEN phone): image rises in AFTER text is already showing.
   Text stays instant so it doesn't feel like a slow load. */
.interstitial-image:not([src*="06403ac1"]) {
  opacity: 0;
  transform: translateY(50px);
  animation: interstitialImageIn 1.8s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards;
}
@keyframes interstitialImageIn {
  from { opacity: 0; transform: translateY(50px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .interstitial-image:not([src*="06403ac1"]) {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ---------- Loading (between quiz and reveal) ---------- */
.loading-screen {
  position: fixed; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--warm-white);
  padding: 24px;
}
.loading-screen::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,25,23,0.3) 0%, rgba(28,25,23,0.7) 100%);
}
.loading-inner {
  position: relative;
  text-align: center;
  max-width: 420px;
}
.loading-text {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4.5vw, 2.5rem);
  letter-spacing: 0.02em;
  margin-bottom: 36px;
  min-height: 2.4em;
  transition: opacity 0.4s ease;
  line-height: 1.15;
}
.loading-bar {
  height: 1px;
  background: rgba(255,253,248,0.2);
  overflow: hidden;
  max-width: 200px;
  margin: 0 auto;
}
.loading-bar-fill {
  height: 100%;
  background: var(--warm-white);
  width: 0%;
  transition: width 5s linear;
}

/* ---------- Vibe Reveal / Email Capture (free only) ---------- */
.reveal {
  max-width: 560px;
  margin: 0 auto;
  padding: 48px 24px;
  text-align: center;
}
.reveal-kicker {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
  font-weight: 500;
}
.reveal-kicker .dot {
  display: inline-block;
  width: 3px;
  height: 3px;
  background: var(--burgundy);
  border-radius: 50%;
  vertical-align: middle;
  margin: 0 10px 2px;
}
.reveal-vibe {
  font-family: var(--display);
  font-size: clamp(2rem, 6vw, 3.2rem);
  line-height: 1;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
  font-weight: 400;
}
.reveal-vibe .script {
  font-family: var(--script);
  font-size: 1.2em;
  color: var(--burgundy);
  letter-spacing: -0.01em;
  display: inline-block;
  transform: translateY(0.06em);
  margin-left: 4px;
  line-height: 0.9;
}
.reveal-explanation {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink);
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.reveal-whisper {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 0;
}
.reveal-divider {
  width: 40px;
  height: 1px;
  background: var(--burgundy);
  margin: 36px auto;
  opacity: 0.6;
}
.reveal-payoff {
  font-family: var(--display);
  font-size: 1.4rem;
  color: var(--ink);
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}
.reveal-form { display: flex; flex-direction: column; gap: 12px; }
.reveal-form .input { text-align: center; }
.reveal-legal { font-size: 12px; color: var(--muted); margin-top: 16px; font-family: var(--serif); font-style: italic; }
.reveal-error { color: var(--error); font-size: 13px; margin-top: 8px; min-height: 1em; font-family: var(--serif); font-style: italic; }

/* Keep legacy .reveal-desc class working in case anything still references it */
.reveal-desc {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 40px;
  line-height: 1.6;
  font-family: var(--serif);
  font-style: italic;
}

@media (max-width: 640px) {
  .reveal { padding: 36px 20px; }
  .reveal-vibe { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  .reveal-explanation { font-size: 16px; }
  .reveal-divider { margin: 28px auto; }
}

/* ---------- Feed ---------- */
.feed-hero {
  text-align: center;
  margin-bottom: 40px;
  padding: 0 24px;
}
.feed-hero-kicker {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
  font-weight: 500;
}
.feed-hero h1 { margin-bottom: 12px; }
.feed-hero p { color: var(--muted); max-width: 560px; margin: 0 auto; font-family: var(--serif); font-style: italic; }

.feed-subtitle {
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
  font-size: 15px;
  margin: -8px 0 32px;
  padding: 0 24px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 32px;
  padding: 0 24px;
}
.chip {
  padding: 9px 18px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--warm-white);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: all 0.2s ease;
  white-space: nowrap;
  font-family: var(--sans);
  cursor: pointer;
}
.chip:hover { border-color: var(--burgundy); color: var(--burgundy); }
.chip.active { background: var(--burgundy); color: var(--warm-white); border-color: var(--burgundy); }

.chip-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 34px;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%238C7B6B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}
.chip-select:hover { border-color: var(--burgundy); }

.filters-divider { width: 1px; height: 20px; background: var(--border); margin: 0 4px; }

.search-wrap {
  position: relative;
  flex: 1;
  min-width: 200px;
  max-width: 320px;
}
.search-input {
  width: 100%;
  padding: 9px 16px 9px 36px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--warm-white);
  font-size: 13px;
  font-family: var(--serif);
  font-style: italic;
}
.search-input:focus { outline: none; border-color: var(--burgundy); }
.search-icon {
  position: absolute; left: 12px; top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

/* Outfit grid */
.outfit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  padding: 0 24px;
}
.outfit-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}
.outfit-card:hover { border-color: var(--burgundy); transform: translateY(-2px); }
.outfit-card-image {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  background: var(--stone);
}
.outfit-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.outfit-card-cat {
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 8px;
  font-weight: 600;
}
.outfit-card-name {
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.15;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
.outfit-card-desc {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
}
.outfit-card-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--warm-white);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
  transition: all 0.2s ease;
  cursor: pointer;
  font-family: var(--sans);
}
.icon-btn:hover { border-color: var(--burgundy); color: var(--burgundy); }
.icon-btn.active { background: var(--burgundy); color: var(--warm-white); border-color: var(--burgundy); }
.icon-btn svg { width: 14px; height: 14px; }

/* Holiday section */
.holiday-section {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-top: 2px solid var(--burgundy);
  padding: 40px 24px;
  margin-bottom: 40px;
  border-radius: 2px;
}
.holiday-section h2 {
  font-family: var(--display);
  text-align: center;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}
.holiday-section .outfit-grid { padding: 0; }

/* Empty state */
.empty {
  text-align: center;
  padding: 80px 24px;
  color: var(--muted);
  font-family: var(--serif);
  font-style: italic;
}
.empty h3 { margin-bottom: 12px; color: var(--ink); font-family: var(--display); font-style: normal; }

/* ---------- Freemium: vibe banner at top of feed ---------- */
.vibe-banner {
  background: var(--warm-white);
  border: 1px solid var(--border);
  padding: 36px 40px 32px;
  text-align: center;
  margin: 0 24px 32px;
  position: relative;
}
.vibe-banner::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 2px;
  background: var(--burgundy);
}
.vibe-banner-kicker {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 18px;
}
.vibe-banner-main {
  font-family: var(--display);
  font-size: clamp(1.8rem, 5vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
  color: var(--ink);
  font-weight: 400;
}
.vibe-banner-main em {
  font-family: var(--script);
  font-style: normal;
  font-size: 1.15em;
  color: var(--burgundy);
  letter-spacing: -0.01em;
  display: inline-block;
  transform: translateY(0.05em);
  line-height: 0.9;
}
.vibe-banner-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--muted);
  margin-top: 14px;
  padding: 0 8px;
}

/* Centered feed hero variant */
.feed-hero-centered { text-align: center; }
.feed-hero-centered h1 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  line-height: 1.05;
}
.feed-hero-centered h1 em {
  font-family: var(--script);
  font-style: normal;
  font-size: 1.15em;
  color: var(--burgundy);
  display: inline-block;
  transform: translateY(0.05em);
  line-height: 0.9;
}

/* ---------- Locked cards (overlay design with CTA) ---------- */
.locked-card {
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: inherit;
  aspect-ratio: 3/4;
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 2px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.locked-card:hover { border-color: var(--burgundy); transform: translateY(-2px); }
.locked-card .outfit-card-image {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  filter: blur(6px);
  transform: scale(1.04);
  opacity: 1;
}
.locked-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 20px;
  background: rgba(250, 246, 240, 0.35);
}
.locked-card-lock {
  font-size: 22px;
  color: var(--burgundy);
  margin-bottom: 12px;
  filter: drop-shadow(0 2px 6px rgba(255,253,248,0.8));
}
.locked-card-name {
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 3px rgba(255,253,248,0.9), 0 0 8px rgba(255,253,248,0.6);
}
.locked-card-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--ink);
  margin-bottom: 20px;
  max-width: 220px;
  line-height: 1.5;
  text-shadow: 0 1px 3px rgba(255,253,248,0.9);
}
.locked-card-cta {
  font-size: 10px;
  padding: 10px 20px;
  pointer-events: none;
  letter-spacing: 0.22em;
  background: var(--burgundy);
  color: var(--warm-white);
  border: none;
  font-weight: 600;
  text-transform: uppercase;
  font-family: var(--sans);
}

/* Free mode: force 3-column grid on desktop so unlocked/locked sit in clean rows of 3 */
body.free-mode .outfit-grid {
  grid-template-columns: 1fr;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 641px) {
  body.free-mode .outfit-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- Upgrade wall below free feed ---------- */
.upgrade-wall {
  max-width: 640px;
  margin: 48px auto 0;
  padding: 56px 40px 48px;
  text-align: center;
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 2px;
  background-image: linear-gradient(90deg, rgba(114, 47, 55, 0.025) 1px, transparent 1px);
  background-size: 20px 100%;
  position: relative;
}
.upgrade-wall::before {
  content: "✦ ✦ ✦";
  display: block;
  color: var(--burgundy);
  font-size: 14px;
  letter-spacing: 1em;
  padding-left: 1em;
  margin-bottom: 20px;
  font-family: var(--serif);
}
.upgrade-wall-pill {
  display: inline-block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--burgundy);
  border-top: 1px solid var(--burgundy);
  border-bottom: 1px solid var(--burgundy);
  padding: 8px 24px;
  margin-bottom: 24px;
  background: transparent;
  border-radius: 0;
}
.upgrade-wall h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 12px;
  line-height: 1.05;
  letter-spacing: 0.01em;
}
.upgrade-wall h2 em {
  font-family: var(--script);
  font-style: normal;
  font-size: 1.3em;
  color: var(--burgundy);
  display: inline-block;
  transform: translateY(0.1em);
}
.upgrade-wall-sub {
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 440px;
  margin: 16px auto 28px;
}
.upgrade-testimonial {
  background: transparent;
  border-radius: 0;
  padding: 24px 32px;
  margin: 0 auto 28px;
  max-width: 480px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-left: none;
  border-right: none;
  position: relative;
}
.upgrade-testimonial-stars {
  display: block;
  color: var(--burgundy);
  font-size: 16px;
  letter-spacing: 0.3em;
  margin-bottom: 14px;
  text-align: center;
}
.upgrade-testimonial-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 12px;
}
.upgrade-testimonial cite {
  font-family: var(--sans);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  font-weight: 500;
}
.upgrade-wall-value {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 24px;
}
.upgrade-wall-cta {
  display: block;
  width: 100%;
  max-width: 340px;
  margin: 0 auto 16px;
}
.upgrade-wall-dismiss {
  display: block;
  margin: 0 auto;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 14px;
  font-family: var(--serif);
  font-style: italic;
  text-decoration: underline;
  cursor: pointer;
  padding: 6px;
}
.upgrade-wall-dismiss:hover { color: var(--ink); }

/* ---------- Upgrade modal (feature list) ---------- */
.upgrade-modal-kicker {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 12px;
  text-align: center;
}
.upgrade-modal-title {
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1.05;
  margin-bottom: 10px;
  text-align: center;
  letter-spacing: 0.01em;
}
.upgrade-modal-title em {
  font-family: var(--script);
  font-style: normal;
  font-size: 1.3em;
  color: var(--burgundy);
  display: inline-block;
  transform: translateY(0.08em);
}
.upgrade-modal-sub {
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
  margin-bottom: 28px;
  line-height: 1.5;
}
.upgrade-modal-features {
  display: grid;
  gap: 18px;
  margin-bottom: 32px;
  text-align: left;
  padding: 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.upgrade-feature {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.upgrade-feature-title {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--ink);
  line-height: 1.4;
  font-weight: 500;
}
.upgrade-feature-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
  padding-left: 20px;
}
.upgrade-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.upgrade-modal-actions .btn { width: 100%; max-width: 320px; }
.upgrade-modal-dismiss {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 14px;
  font-family: var(--serif);
  font-style: italic;
  cursor: pointer;
  padding: 6px;
  text-decoration: underline;
}
.upgrade-modal-dismiss:hover { color: var(--ink); }

/* ---------- Retake quiz link in header ---------- */
.header-retake {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 10px;
  transition: color 0.2s ease;
  white-space: nowrap;
  font-weight: 600;
  font-family: var(--sans);
}
.header-retake:hover { color: var(--burgundy); }

/* ---------- Modals ---------- */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(28, 25, 23, 0.5);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 0.2s ease;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--warm-white);
  border-radius: 2px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  padding: 40px 32px;
  position: relative;
  animation: modalIn 0.25s ease;
  border: 1px solid var(--border);
}
@keyframes modalIn { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: color 0.2s ease;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
}
.modal-close:hover { color: var(--ink); }
.modal h2 { margin-bottom: 8px; padding-right: 32px; font-family: var(--display); }
.modal-subtitle { color: var(--muted); margin-bottom: 24px; font-size: 14px; font-family: var(--serif); font-style: italic; }

/* Shop modal */
.shop-loading {
  text-align: center;
  padding: 40px 0;
  color: var(--muted);
  font-family: var(--serif);
  font-style: italic;
}
.shop-spinner {
  display: inline-block;
  width: 32px; height: 32px;
  border: 1px solid var(--border);
  border-top-color: var(--burgundy);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 16px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.shop-item { padding: 20px 0; border-bottom: 1px solid var(--border); }
.shop-item:last-child { border-bottom: none; }
.shop-item-name { font-family: var(--display); font-size: 1.05rem; margin-bottom: 12px; letter-spacing: 0.01em; }
.shop-alternatives { display: flex; flex-direction: column; gap: 6px; }
.shop-alt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 13px;
  transition: border-color 0.2s ease;
  font-family: var(--serif);
}
.shop-alt:hover { border-color: var(--burgundy); }
.shop-alt-store { font-weight: 500; font-family: var(--sans); font-size: 12px; letter-spacing: 0.05em; }
.shop-alt-price { color: var(--muted); font-style: italic; }
.shop-alt-arrow { margin-left: auto; color: var(--burgundy); }

/* ---------- Lookbook ---------- */
.lookbook-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
  padding: 0 24px;
}
.lookbook-header h1 { margin: 0; }
.folder-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  padding: 0 24px;
}
.folder-tab {
  padding: 9px 18px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--warm-white);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
}
.folder-tab:hover { border-color: var(--burgundy); color: var(--burgundy); }
.folder-tab.active { background: var(--burgundy); color: var(--warm-white); border-color: var(--burgundy); }
.folder-tab .folder-menu { color: inherit; opacity: 0.7; background: none; border: none; cursor: pointer; }
.folder-tab .folder-menu:hover { opacity: 1; }
.folder-tab-label { background: none; border: none; color: inherit; font: inherit; cursor: pointer; letter-spacing: inherit; }

/* ---------- Calendar ---------- */
.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding: 0 24px;
}
.calendar-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.calendar-nav h2 { min-width: 220px; text-align: center; font-family: var(--display); font-size: 1.6rem; letter-spacing: 0.02em; }
.view-toggle {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  background: var(--warm-white);
}
.view-toggle button {
  padding: 9px 18px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
}
.view-toggle button.active { background: var(--burgundy); color: var(--warm-white); }

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  padding: 0 24px;
}
.calendar-day-label {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  padding: 8px 0;
  font-weight: 600;
  font-family: var(--sans);
}
.calendar-day {
  aspect-ratio: 1;
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  transition: border-color 0.2s ease;
  min-height: 80px;
  position: relative;
  overflow: hidden;
}
.calendar-day:hover { border-color: var(--burgundy); }
.calendar-day.other-month { opacity: 0.35; }
.calendar-day.today { border-color: var(--burgundy); border-width: 2px; }
.calendar-day-number { font-size: 11px; font-weight: 600; font-family: var(--sans); }
.calendar-day-thumb {
  flex: 1;
  border-radius: 1px;
  background-size: cover;
  background-position: center;
  min-height: 0;
}
.calendar-day.has-outfit .calendar-day-number {
  color: var(--warm-white);
  background: var(--burgundy);
  width: 20px; height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  position: absolute;
  top: 4px; left: 4px;
  z-index: 1;
}

.calendar-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  padding: 0 24px;
}
.calendar-week .calendar-day { aspect-ratio: 3/4; min-height: 200px; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 40px; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--ink);
  color: var(--warm-white);
  padding: 14px 28px;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease;
  z-index: 200;
  pointer-events: none;
  font-family: var(--sans);
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .header { padding: 12px 16px; }
  .logo { font-size: 1.15rem; }
  .logo em { font-size: 1.1em; }
  .container { padding: 0 16px; }
  .nav { gap: 2px; }
  .nav-btn { padding: 6px 8px; font-size: 9px; letter-spacing: 0.12em; }
  .outfit-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; padding: 0 16px; }
  .filters { padding: 0 16px; gap: 8px; }
  .feed-hero { padding: 0 16px; margin-bottom: 28px; }
  .lookbook-header, .folder-tabs, .calendar-header, .calendar-grid, .calendar-week { padding-left: 16px; padding-right: 16px; }
  .calendar-day { min-height: 60px; padding: 4px; }
  .calendar-week .calendar-day { min-height: 140px; }
  .modal { padding: 28px 20px; }
  .quiz { padding: 16px; }
  .quiz-question { font-size: clamp(1.5rem, 6vw, 2rem); }
  .vibe-banner { margin: 0 16px 24px; padding: 24px 20px 22px; }
  .vibe-banner-main { font-size: 1.7rem; }
  .vibe-banner-main em { font-size: 1.1em; }
  .upgrade-wall { padding: 36px 20px 32px; margin: 32px 16px 0; }
  .upgrade-wall h2 { font-size: 1.7rem; }
  .upgrade-wall h2 em { font-size: 1.15em; }
  .header-retake { font-size: 8px; padding: 6px 4px; letter-spacing: 0.18em; }
  .interstitial { padding: 36px 20px; }
  .reveal { padding: 36px 20px; }
}

/* ---------- Password gate (members only) ---------- */
.gate {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.gate-box {
  max-width: 420px;
  width: 100%;
  text-align: center;
  background: var(--warm-white);
  padding: 56px 32px 48px;
  border-radius: 2px;
  border: 1px solid var(--border);
  position: relative;
}
.gate-box::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 2px;
  background: var(--burgundy);
}
.gate-box h1 { margin-bottom: 12px; }
.gate-box h1 em {
  font-family: var(--script);
  font-style: normal;
  font-size: 1.2em;
  color: var(--burgundy);
  display: inline-block;
  transform: translateY(0.08em);
}
.gate-box p { color: var(--muted); margin-bottom: 28px; font-family: var(--serif); font-style: italic; }
.gate-form { display: flex; flex-direction: column; gap: 12px; }
.gate-error { color: var(--error); font-size: 13px; min-height: 1em; font-family: var(--serif); font-style: italic; }

/* ---------- Modal host & simple modals ---------- */
body.modal-open { overflow: hidden; }

.simple-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(28, 25, 23, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeInModal 0.2s ease forwards;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.simple-modal {
  background: var(--cream);
  border-radius: 2px;
  max-width: 440px;
  width: 100%;
  padding: 32px 28px;
  position: relative;
  box-shadow: 0 20px 80px rgba(28, 25, 23, 0.25);
  animation: slideUpModal 0.25s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes slideUpModal {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.simple-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 18px;
  cursor: pointer;
  padding: 6px;
  line-height: 1;
  transition: color 0.15s;
}
.simple-modal-close:hover { color: var(--ink); }
.simple-modal-title {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: 0.01em;
  padding-right: 24px;
}
.simple-modal-body {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 20px;
}
.simple-modal-form { display: flex; flex-direction: column; gap: 12px; }
.simple-modal-input {
  font-size: 15px;
  padding: 12px 14px;
}
.simple-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 8px;
}
.btn-danger {
  background: #8B2E2E;
  color: var(--cream);
  border: 1px solid #8B2E2E;
}
.btn-danger:hover { background: #6E2424; border-color: #6E2424; }

/* ---------- Drawer (bottom sheet on mobile, side sheet on desktop) ---------- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(28, 25, 23, 0.5);
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.drawer-backdrop.open { opacity: 1; }

.drawer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--cream);
  z-index: 10001;
  border-radius: 16px 16px 0 0;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 -8px 48px rgba(28, 25, 23, 0.2);
}
.drawer.open { transform: translateY(0); }
.drawer-tall { max-height: 90vh; }
.drawer::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
}

.drawer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 24px 16px;
  border-bottom: 1px solid var(--border);
}
.drawer-title {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 4px;
  letter-spacing: 0.01em;
}
.drawer-subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.drawer-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 18px;
  cursor: pointer;
  padding: 6px;
  line-height: 1;
  flex-shrink: 0;
}
.drawer-close:hover { color: var(--ink); }
.drawer-body {
  overflow-y: auto;
  padding: 16px 24px 24px;
  flex: 1;
}
.drawer-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}

/* Desktop: side sheet instead of bottom drawer */
@media (min-width: 768px) {
  .drawer {
    left: auto;
    right: 0;
    top: 0;
    bottom: 0;
    width: min(480px, 90vw);
    max-height: none;
    border-radius: 0;
    transform: translateX(100%);
    box-shadow: -8px 0 48px rgba(28, 25, 23, 0.2);
  }
  .drawer.open { transform: translateX(0); }
  .drawer::before { display: none; }
}

/* ---------- Folder picker list (inside drawer) ---------- */
.folder-picker-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.folder-picker-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-family: var(--serif);
  font-size: 15px;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.folder-picker-item:hover {
  background: var(--parchment);
  border-color: var(--burgundy);
}
.folder-picker-item.checked {
  border-color: var(--burgundy);
  background: rgba(114, 47, 55, 0.04);
}
.folder-picker-item-label {
  font-weight: 500;
}
.folder-picker-item-sublabel {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  justify-self: end;
}
.folder-picker-item-check {
  color: var(--burgundy);
  font-size: 14px;
  font-weight: 600;
  width: 16px;
  text-align: center;
}
.folder-picker-new {
  border-style: dashed;
  color: var(--burgundy);
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.1em;
  font-size: 13px;
  text-transform: uppercase;
  padding: 16px;
  justify-content: center;
  margin-top: 8px;
}
.folder-picker-new:hover {
  background: rgba(114, 47, 55, 0.05);
}

/* ---------- Outfit picker (visual grid with thumbnails) ---------- */
.outfit-picker-tabs {
  display: flex;
  gap: 4px;
  padding: 12px 24px 0;
  border-bottom: 1px solid var(--border);
}
.outfit-picker-tab {
  background: none;
  border: none;
  padding: 10px 16px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.15s, border-color 0.15s;
}
.outfit-picker-tab:hover { color: var(--ink); }
.outfit-picker-tab.active {
  color: var(--burgundy);
  border-bottom-color: var(--burgundy);
}

.outfit-picker-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 500px) {
  .outfit-picker-grid { grid-template-columns: repeat(3, 1fr); }
}
.outfit-picker-item {
  background: transparent;
  border: 2px solid transparent;
  border-radius: 2px;
  padding: 4px;
  cursor: pointer;
  text-align: left;
  position: relative;
  transition: border-color 0.15s, transform 0.15s;
}
.outfit-picker-item:hover {
  border-color: var(--burgundy);
}
.outfit-picker-item.checked {
  border-color: var(--burgundy);
  background: rgba(114, 47, 55, 0.04);
}
.outfit-picker-item img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 2px;
  display: block;
  margin-bottom: 6px;
}
.outfit-picker-item-label {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--ink);
  line-height: 1.3;
  padding: 0 4px;
}
.outfit-picker-item-sublabel {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 2px 4px 6px;
}
.outfit-picker-item-check {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--burgundy);
  color: var(--cream);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
}
.outfit-picker-empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--muted);
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
}

/* ---------- Folder action menu (rename/delete floating menu) ---------- */
.folder-action-menu {
  position: absolute;
  z-index: 10002;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 2px;
  box-shadow: 0 8px 32px rgba(28, 25, 23, 0.15);
  padding: 4px;
  min-width: 140px;
  animation: slideUpModal 0.15s ease forwards;
}
.folder-action-menu button {
  display: block;
  width: 100%;
  background: none;
  border: none;
  padding: 10px 14px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.12s, color 0.12s;
}
.folder-action-menu button:hover { background: var(--parchment); }
.folder-action-menu button.danger { color: #8B2E2E; }
.folder-action-menu button.danger:hover { background: rgba(139, 46, 46, 0.06); }
