/* Shared PairFit identity, with a more deliberate women's editorial treatment. */
:root {
  --paper: #f5f2ec;
  --surface: #fcfaf5;
  --ink: #24211e;
  --muted: #70685f;
  --line: #d8cfc4;
  --accent: #62323d;
  --accent-hover: #47222b;
  --display: 'Bodoni Moda', Georgia, serif;
}
h1, h2 { font-weight: 500; letter-spacing: -.045em; }
.preview-label { background: var(--ink); color: #f1eae0; gap: 16px; padding: 6px 20px; font-size: .75rem; letter-spacing: .025em; }
.preview-label span { color: #c6beb3; }
.site-header { max-width: 1360px; padding: 18px 40px; border-bottom: 0; }
.site-header nav { gap: 26px; }
.brand { font-size: 1.6rem; }
.button { border-radius: 2px; padding: 14px 24px; gap: 0; font-size: .875rem; }
.button-small { min-height: 42px; padding: 10px 18px; }
.button-secondary { background: transparent; border-color: #b9ada1; }
.button-secondary:hover { background: #e8e0d6; }
.eyebrow { font-size: .75rem; font-weight: 500; letter-spacing: .16em; }
.hero { grid-template-columns: minmax(0,.72fr) minmax(0,1.28fr); gap: 56px; padding-top: 32px; padding-bottom: 54px; align-items: center; }
.hero h1 { font-size: clamp(46px,4.8vw,66px); line-height: 1.08; margin-top: 24px; max-width: 440px; }
.hero-description { font-size: 1rem; line-height: 1.65; margin: 25px 0 30px; }
.hero-actions { gap: 20px; }
.hero-note { margin-top: 17px; font-size: .75rem; }
.hero-choices-head { padding-bottom: 12px; margin-bottom: 13px; border-bottom: 1px solid var(--line); font-size: .875rem; }
.hero-choices-head p { font-weight: 500; }
.hero-choices-head span { font-size: .75rem; }
.hero-pair { gap: 18px; }
.hero-choice { border-radius: 2px; }
.hero-choice img { object-fit: contain; }
.hero-choice:hover { box-shadow: 0 0 0 2px var(--accent); }
.choice-letter { border-radius: 1px; width: 27px; height: 27px; background: #f8f3e9eb; font-size: .75rem; font-weight: 500; }
.versus { width: 28px; height: 28px; font-family: var(--display); font-size: .9rem; font-style: italic; }
.pair-caption { margin-top: 13px; font-size: .75rem; }
.section-head { margin-bottom: 30px; }
.section-head h2 { font-size: clamp(36px,3.8vw,50px); margin-top: 12px; }
.section-head > p { font-size: .9375rem; line-height: 1.65; }
.edit { padding-top: 48px; padding-bottom: 58px; }
.collection-toolbar { margin-top: 32px; margin-bottom: 20px; }
.filters { gap: 19px; }
.filters button { border: 0; border-bottom: 1px solid transparent; border-radius: 0; min-height: 44px; padding: 9px 0; background: none; font-size: .875rem; color: var(--muted); }
.filters button[aria-pressed=true] { background: none; color: var(--accent); border-bottom-color: var(--accent); }
.filters button:hover { color: var(--ink); border-bottom-color: var(--ink); }
.context-filters { padding-bottom: 30px; }
.outfit-grid { gap: 38px 24px; }
.outfit-image { border-radius: 2px; }
.outfit-image img { object-fit: contain; }
.card-save { top: 10px; right: 10px; border-radius: 2px; border: 0; background: #faf6edf2; box-shadow: none; }
.card-lane { margin-top: 16px; font-size: .75rem; letter-spacing: .045em; }
.outfit-card h3 { font-size: 1.0625rem; margin-top: 6px; font-weight: 500; line-height: 1.4; }
.card-note { margin-top: 7px; font-size: .875rem; }
.detail { padding-top: 18px; }
.back-link { font-size: .875rem; text-decoration: underline; text-underline-offset: 5px; }
.detail-grid { grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: 42px; max-width: 1080px; margin-inline: auto; }
.detail-photo img { border-radius: 2px; }
.detail-body { padding-top: 4px; }
.detail-heading { display: flex; align-items: flex-start; gap: 20px; margin-top: 12px; }
.detail-body h1 { flex: 1; font-family: var(--font); font-size: clamp(1.75rem,2.5vw,2.125rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.15; margin: 0; }
.detail-save-button { flex: 0 0 auto; min-height: 42px; padding: 9px 13px; border-color: var(--line); border-radius: 6px; font-weight: 500; }
.detail-save-button[aria-pressed=true] { border-color: var(--accent); color: var(--accent); background: #eee3e5; }
.detail-description { margin: 16px 0 12px; color: var(--muted); font-size: 1rem; line-height: 1.6; }
.detail-styling-tip { margin: 24px 0 0; padding-left: 12px; border-left: 2px solid var(--line); color: var(--muted); font-size: .875rem; line-height: 1.65; }
.detail-styling-tip strong { color: var(--ink); font-weight: 500; margin-right: 4px; }
.context-tags { gap: 7px 13px; margin-top: 22px; }
.context-tags span { background: none; border: 0; border-radius: 0; padding: 0; font-size: .8125rem; }
.context-tags span + span { padding-left: 13px; border-left: 1px solid var(--line); }
.outfit-why { margin: 24px 0 28px; font-size: 1rem; }
.formula strong { font-weight: 500; }
.wear-intro h2 { font-size: clamp(36px,3.8vw,48px); }
.anchor-note { border-radius: 0; padding: 0 0 0 20px; border-left: 2px solid var(--accent); background: none; }
.capsule-heading h1 { font-size: clamp(50px,6vw,80px); line-height: 1.05; }
.capsule-cues { padding: 21px 0; }
.discovery-invite { border-radius: 0; background: transparent; padding: 38px 0 0; border-top: 1px solid var(--line); }
.discovery-invite h2 { font-size: clamp(30px,3vw,40px); }
.battle-heading h1 { font-size: clamp(38px,4.4vw,54px); }
.battle-card { border-radius: 2px; background: transparent; }
.battle-image img { object-fit: contain; }
.battle-card-copy { padding: 16px 0; }
.battle-card:hover { box-shadow: 0 0 0 2px var(--accent); }
.battle-card-copy strong { font-weight: 500; }
.battle-card-copy .battle-contender { color: var(--accent); font-size: .75rem; font-weight: 500; }
.battle-winner-note { display: flex; justify-content: space-between; align-items: center; gap: 18px; max-width: 1080px; margin: 0 auto 22px; padding-bottom: 14px; border-bottom: 1px solid var(--line); color: var(--accent); font-size: .875rem; font-weight: 500; }
.battle-winner-note .text-button { color: var(--muted); font-size: .875rem; min-height: 44px; }
.result-head h1 { font-size: clamp(44px,5.5vw,66px); }
.result .section-head h2 { font-size: 40px; }
.saved h1 { font-size: clamp(42px,5vw,60px); }
.editorial-note { padding-top: 47px; padding-bottom: 52px; }
.editorial-note h2 { font-size: clamp(38px,4.6vw,58px); }
.site-footer { padding-top: 27px; padding-bottom: 27px; }
.toast, dialog { border-radius: 3px; }
.beta-badge { display: inline-block; margin-left: 7px; padding: 2px 5px; border: 1px solid var(--line); color: var(--muted); font-size: .75rem; line-height: 1.3; font-weight: 400; }
.site-header.preview-navigation { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; }
.site-header .audience-switch { justify-self: start; display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 4px; }
.audience-switch a { display: flex; align-items: center; justify-content: center; min-height: 36px; min-width: 68px; padding: 5px 13px; border-radius: 2px; color: var(--muted); font-size: .8125rem; line-height: 1.3; }
.audience-switch a[aria-current="page"] { background: var(--accent); color: var(--surface); }
.audience-switch .audience { border-bottom: 0; }
.audience-switch a:not([aria-current]):hover { background: var(--surface); color: var(--ink); }
@media(max-width:620px) {
  .site-header.preview-navigation { grid-template-columns: 1fr auto; gap: 12px 16px; }
  .preview-navigation > nav[aria-label="Main navigation"] { grid-column: 2; grid-row: 1; }
  .site-header .audience-switch { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
  .audience-switch a { min-height: 38px; min-width: 88px; }
}
.privacy-choice { margin: 22px 0; padding: 20px 0; border-block: 1px solid var(--line); }
.privacy-choice button { margin-top: 12px; }
.shopping-options { margin-top: 30px; }
.detail-body .shopping-heading { margin: 0 0 12px; font: 500 1rem/1.3 var(--font); letter-spacing: 0; }
.shopping-note { color: var(--muted); font-size: .8125rem; }
.budget-tiers { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4px; padding: 4px; margin: 0 0 18px; border: 1px solid var(--line); border-radius: 12px; background: #eeeae3; }
.budget-tiers button { display: flex; justify-content: center; align-items: center; gap: 6px; min-height: 44px; padding: 9px 4px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); }
.budget-tiers button span { font-size: .75rem; opacity: .7; }
.budget-tiers button strong { font-size: .875rem; font-weight: 500; }
.budget-tiers button[aria-pressed=true] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 4px #24211e12; }
.budget-tiers button:hover { background: var(--surface); color: var(--ink); }
.shopping-rows { border-top: 1px solid var(--line); }
.shopping-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; min-height: 64px; border-bottom: 1px solid var(--line); }
.shopping-copy { display: grid; gap: 3px; min-width: 0; }
.shopping-copy strong { font-size: .9375rem; font-weight: 500; line-height: 1.4; }
.shopping-meta { color: var(--muted); font-size: .8125rem; }
.shopping-cta { flex: 0 0 auto; font-size: .875rem; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.shopping-price { flex: 0 0 auto; display: grid; gap: 4px; text-align: right; }
.shopping-price > strong { font-size: .9375rem; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.shopping-price small { color: var(--muted); font-size: .75rem; font-weight: 400; }
.shopping-total { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.shopping-total small { display: block; margin-top: 3px; color: var(--muted); font-size: .8125rem; }
.shopping-total > strong { font-size: 1.125rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.shopping-accessories { margin-top: 22px; }
.shopping-accessories-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin-bottom: 8px; }
.detail-body .shopping-accessories-heading h3 { margin: 0; font: 500 .875rem/1.4 var(--font); }
.shopping-accessories-heading > span { color: var(--muted); font-size: .8125rem; }
.shopping-row:hover .shopping-copy strong { color: var(--accent); }
.shopping-note { margin-top: 14px; line-height: 1.55; }
.formula p, .formula li > span, .card-note, .context-tags span { font-size: .875rem; }
.card-save { min-height: 44px; min-width: 44px; }
.context-filters select { min-height: 44px; }
select:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.detail-grid > *, .wear-guide > *, .site-header nav { min-width: 0; }
h1, h2, h3 { overflow-wrap: break-word; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
@media(max-width:1000px) {
  .hero { gap: 32px; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); }
  .hero h1 { font-size: 49px; }
  .hero-choices-head { flex-direction: row; align-items: center; }
  .hero-pair { gap: 12px; }
  .hero-actions { gap: 16px; }
  .detail-grid { gap: 30px; }
}
@media(max-width:760px) {
  .site-header { padding: 15px 24px; }
  .hero { grid-template-columns: 1fr; padding: 29px 24px 38px; gap: 27px; max-width: 600px; }
  .hero h1 { font-size: clamp(45px,8vw,58px); max-width: 490px; margin-top: 18px; }
  .hero-description { margin: 18px 0 23px; }
  .hero-note { margin-top: 13px; }
  .hero-pair { max-width: none; gap: 14px; }
  .section-head h2 { font-size: 40px; }
  .edit { padding-top: 33px; }
  .outfit-grid { gap: 30px 17px; }
  .detail-grid { grid-template-columns: 1fr; gap: 28px; }
  .detail-body { padding-top: 0; }
  .detail-body h1 { font-size: 1.875rem; }
  .detail-photo { max-width: 500px; }
  .discovery-invite { padding: 30px 0 0; }
  .wear-intro h2 { font-size: 40px; }
  .battle-heading h1 { font-size: 39px; }
  .result .section-head h2 { font-size: 36px; }
}
@media(max-width:480px) {
  .site-header { padding: 11px 18px; }
  .site-header nav { gap: 16px; }
  .brand { font-size: 1.4rem; }
  .hero { padding-left: 18px; padding-right: 18px; }
  .hero h1 { font-size: clamp(2.25rem, 10.4vw, 2.9375rem); }
  .hero-actions { gap: 18px; }
  .hero-choices-head { gap: 8px; }
  .hero-choices-head span { font-size: .75rem; }
  .hero-pair { gap: 12px; }
  .section-head h2 { font-size: 36px; }
  .section-head > p { font-size: .875rem; }
  .filters { gap: 11px 17px; }
  .filters button { padding: 7px 0; font-size: .875rem; }
  .outfit-grid { gap: 29px 13px; }
  .outfit-card h3 { font-size: 1rem; line-height: 1.35; }
  .card-note { font-size: .875rem; }
  .card-save { top: 7px; right: 7px; font-size: .75rem; padding: 5px 9px; }
  .detail-body h1 { font-size: 1.75rem; }
  .detail-heading { gap: 12px; }
  .detail-body .eyebrow { font-size: .75rem; }
  .shopping-options { margin-top: 24px; }
  .budget-tiers button { flex-direction: column; gap: 1px; }
  .battle-heading h1 { font-size: 36px; }
  .battle-card-copy { padding: 13px 0; }
  .battle-card-copy strong { font-size: .875rem; }
  .battle-heading > p:not(.eyebrow) { font-size: .9375rem; }
  .capsule-heading h1 { font-size: clamp(2.5rem, 11vw, 3.4375rem); }
}
