:root {
  --navy: #0d2147;
  --navy-2: #1a3263;
  --gold: #c49a45;
  --gold-soft: #f3e8cf;
  --cream: #f8f5ef;
  --paper: #ffffff;
  --ink: #18202f;
  --muted: #6a7180;
  --line: #e4ded1;
  --ok: #1f6b45; --ok-bg: #e5f2ea;
  --warn: #8a5800; --warn-bg: #fdf0d5;
  --danger: #a3302a;
  --radius: 6px;
  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --shadow: 0 1px 2px rgba(13, 33, 71, .06), 0 8px 24px rgba(13, 33, 71, .06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 15px/1.55 var(--sans); color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration-color: rgba(13,33,71,.3); text-underline-offset: 3px; }
a:hover { color: var(--navy-2); }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(30px, 4vw, 44px); }
h2 { font-size: 26px; }
h3 { font-size: 21px; }
h4 { font: 600 11px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 14px 0 4px; }
code { background: rgba(255,255,255,.15); padding: 1px 5px; border-radius: 3px; font-size: .92em; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.eyebrow { font: 600 11.5px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }
.lead { font-size: 18px; color: #3a4252; max-width: 56ch; }
.loading { padding: 120px 24px; text-align: center; color: var(--muted); }
main { min-height: 60vh; outline: none; }

/* ---------- banner / header ---------- */
#demo-banner { background: var(--navy); color: #e8ecf5; font-size: 13px; padding: 8px 0; }
#demo-banner .linklike { color: var(--gold); margin-left: 6px; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.site-header::after { content: ""; display: block; height: 3px; background: linear-gradient(90deg, var(--navy) 0 70%, var(--gold) 70% 100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-emblem { height: 44px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font: 700 22px/1 var(--serif); color: var(--navy); letter-spacing: .06em; text-transform: uppercase; }
.brand-sub { font: 600 10.5px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-top: 6px; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a { text-decoration: none; padding: 9px 12px; border-radius: var(--radius); font-weight: 500; font-size: 14.5px; color: var(--ink); }
.main-nav a:hover, .main-nav a[aria-current] { color: var(--navy); background: var(--cream); }
.nav-manage { color: var(--gold) !important; }
.nav-cart { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); margin-left: 6px; }
.cart-count { background: var(--gold); color: #fff; border-radius: 99px; font-size: 11.5px; min-width: 20px; height: 20px; display: inline-grid; place-items: center; padding: 0 6px; }

/* ---------- buttons / pills ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: var(--radius); border: 1px solid transparent;
  font: 600 14px/1.2 var(--sans); letter-spacing: .02em; cursor: pointer; text-decoration: none; transition: background .15s, color .15s, border-color .15s; }
.btn-lg { padding: 14px 24px; font-size: 15px; }
.btn-sm { padding: 7px 12px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost { background: var(--cream); color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-danger { background: #fff; color: var(--danger); border-color: #e7c3c0; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.linklike { background: none; border: 0; padding: 0; color: var(--navy); text-decoration: underline; cursor: pointer; font: inherit; }
.row-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; gap: 6px; font: 600 11.5px/1 var(--sans); letter-spacing: .04em; padding: 5px 9px; border-radius: 99px; white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-available { background: var(--ok-bg); color: var(--ok); }
.pill-pending { background: var(--warn-bg); color: var(--warn); }
.pill-mine { background: #e3e9f6; color: var(--navy); }
.pill-muted { background: #eee; color: #666; }
.pill-outfit { background: var(--navy); color: #fff; } .pill-outfit::before { background: var(--gold); }
.req-submitted { background: #e3e9f6; color: var(--navy); }
.req-processing, .req-ready { background: var(--warn-bg); color: var(--warn); }
.req-fulfilled { background: var(--ok-bg); color: var(--ok); }
.req-cancelled { background: #eee; color: #666; }

/* ---------- hero / home ---------- */
.hero { background: var(--paper); border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.hero h1 { font-size: clamp(36px, 5vw, 58px); letter-spacing: -.01em; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 14px; }
.hero-note { font-size: 13px; color: var(--muted); }
.slideshow { position: relative; aspect-ratio: 4/5; border-radius: 4px; overflow: hidden; background: var(--cream); box-shadow: var(--shadow); max-height: 600px; }
.slides, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; transition: opacity .7s ease; text-decoration: none; }
.slide.active { opacity: 1; z-index: 1; }
.slide > img, .slide > .ph { width: 100%; height: 100%; object-fit: cover; }
.slide-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 22px 22px; color: #fff; display: flex; flex-direction: column; gap: 4px; align-items: flex-start;
  background: linear-gradient(transparent, rgba(8, 20, 45, .82)); }
.slide-cap strong { font: 600 26px/1.1 var(--serif); }
.slide-cap { text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.slide-kicker { font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.slide-cap span:not(.pill):not(.slide-kicker) { font-size: 13.5px; opacity: .9; }
.ss-btn { position: absolute; top: 45%; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.88); color: var(--navy); font-size: 24px; cursor: pointer; }
.ss-btn.prev { left: 12px; } .ss-btn.next { right: 12px; }
.dots { position: absolute; z-index: 3; top: 14px; right: 14px; display: flex; gap: 6px; }
.dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.55); cursor: pointer; }
.dots button.on { background: var(--gold); width: 22px; border-radius: 4px; }
section.wrap { margin-top: 56px; }
.section-title { font-size: 32px; margin-bottom: 20px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.steps p { margin: 0; color: #444b59; }
.step-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); font: 600 18px var(--serif); margin-bottom: 12px; }
.cat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.cat-tile { display: flex; flex-direction: column; gap: 4px; padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .15s, transform .15s; }
.cat-tile span { font: 600 20px/1.1 var(--serif); color: var(--navy); }
.cat-tile small { color: var(--muted); }
.cat-tile:hover { border-color: var(--navy); transform: translateY(-2px); }
.cat-tile-feature { background: var(--navy); border-color: var(--navy); }
.cat-tile-feature span { color: #fff; } .cat-tile-feature small { color: var(--gold); }

/* ---------- cards / grid ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; }
.grid-outfits { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s; }
.card:hover { box-shadow: var(--shadow); }
.card-media { position: relative; display: block; aspect-ratio: 4/5; background: #f1eee8; overflow: hidden; }
.card-media > img, .card-media > .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media > img { transform: scale(1.03); }
.card-pill { position: absolute; top: 10px; left: 10px; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-title { font: 600 19px/1.2 var(--serif); color: var(--navy); text-decoration: none; }
.card-meta { display: flex; justify-content: space-between; font-size: 13px; color: #444b59; }
.card-type { font-size: 12px; color: var(--muted); }
.card-body .btn { margin-top: auto; }
.add-btn { margin-top: 8px !important; }
.sku { font: 500 12px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--muted); letter-spacing: .02em; }
.ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: repeating-linear-gradient(135deg, #f4f1ea 0 14px, #efebe3 14px 28px); color: #a49c8b; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.ph img { width: 38%; max-width: 120px; opacity: .25; }
.piece-list { list-style: none; margin: 4px 0 10px; padding: 0; border-top: 1px solid var(--line); }
.piece-list li { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.piece-list a { text-decoration: none; color: var(--ink); }
.piece-size { font-weight: 600; font-size: 12.5px; color: #444b59; }

/* ---------- shop ---------- */
.shop { display: grid; grid-template-columns: 230px 1fr; gap: 36px; padding-top: 32px; padding-bottom: 48px; }
.shop > * { min-width: 0; }
.sidebar { position: sticky; top: 100px; align-self: start; }
.sidebar-title { font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 10px 0 14px; }
.cat-radios { display: flex; flex-direction: column; gap: 2px; }
.cat-radio { display: grid; grid-template-columns: 18px 1fr auto; gap: 10px; align-items: center; padding: 9px 10px; border-radius: var(--radius); cursor: pointer; font-size: 14.5px; }
.cat-radio input { accent-color: var(--navy); margin: 0; }
.cat-radio small { color: var(--muted); font-size: 12px; }
.cat-radio:hover { background: var(--paper); }
.cat-radio.on { background: var(--paper); box-shadow: inset 3px 0 0 var(--gold); font-weight: 600; color: var(--navy); }
.cat-radio.feature { margin-top: 10px; border-top: 1px solid var(--line); border-radius: 0; padding-top: 14px; }
.shop-head h1 { margin-bottom: 4px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin: 18px 0 12px; }
.filters label { display: flex; flex-direction: column; gap: 4px; font: 600 11px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.filters .f-search { flex: 1 1 240px; }
input, select, textarea { font: 15px/1.4 var(--sans); color: var(--ink); background: #fff; border: 1px solid #d9d2c3; border-radius: var(--radius); padding: 10px 12px; min-height: 42px; width: 100%; }
.filters select { min-width: 150px; }
input:focus, select:focus, textarea:focus, .btn:focus-visible, a:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--navy); }
.results-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; font-size: 13.5px; color: var(--muted); }
.legend { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.empty { text-align: center; padding: 64px 20px; }
.empty img { width: 90px; margin: 0 auto 14px; opacity: .35; }

/* ---------- product detail ---------- */
.crumbs { font-size: 13px; color: var(--muted); padding: 22px 0; }
.crumbs a { color: var(--muted); }
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; margin-bottom: 40px; }
.gallery-main { background: #f1eee8; aspect-ratio: 4/5; border-radius: 4px; overflow: hidden; cursor: zoom-in; }
.gallery-main > img, .gallery-main > .ph { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.thumb { width: 76px; aspect-ratio: 4/5; padding: 0; border: 2px solid transparent; border-radius: 4px; overflow: hidden; cursor: pointer; background: #eee; }
.thumb.on { border-color: var(--navy); }
.thumb img, .thumb .ph { width: 100%; height: 100%; object-fit: cover; }
.pdp-info h1 { margin-bottom: 12px; }
.pdp-status { display: flex; gap: 12px; align-items: center; margin-bottom: 20px; }
.pdp-lead { font-size: 16.5px; color: #3a4252; }
.specs { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); margin: 0 0 22px; }
.specs div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.specs dt { font: 600 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.specs dd { margin: 0; font-weight: 500; }
.pdp-actions { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.pdp-actions .linklike { align-self: flex-start; font-size: 13.5px; }
.pdp-desc h2 { font-size: 20px; margin-bottom: 6px; }
.pdp-desc ul { padding-left: 18px; margin: 0 0 18px; }
.outfit-callout { display: grid; grid-template-columns: 80px 1fr; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--gold); background: var(--gold-soft); border-radius: var(--radius); text-decoration: none; color: var(--navy); }
.outfit-callout img, .outfit-callout .ph { width: 80px; height: 96px; object-fit: cover; border-radius: 3px; }
.outfit-callout span { display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; }
.outfit-callout small { text-transform: uppercase; letter-spacing: .12em; font-size: 10.5px; color: var(--warn); }
.outfit-callout b { font: 600 20px var(--serif); }
.pieces-title { font-size: 20px; margin-top: 18px; }
.pieces { display: flex; flex-direction: column; border-top: 1px solid var(--line); margin-bottom: 18px; }
.piece { display: grid; grid-template-columns: 20px 56px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.piece.disabled { opacity: .7; cursor: default; }
.piece input { accent-color: var(--navy); width: 18px; height: 18px; min-height: 0; }
.piece-img { width: 56px; height: 68px; object-fit: cover; border-radius: 3px; font-size: 0; }
.piece-info { display: flex; flex-direction: column; }
.piece-info a { font-weight: 600; text-decoration: none; }
.piece-info small { color: var(--muted); }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8,16,34,.92); display: grid; place-items: center; padding: 30px; cursor: zoom-out; }
.lightbox img { max-height: 92vh; width: auto; }
.lightbox button { position: absolute; top: 16px; right: 20px; background: none; border: 0; color: #fff; font-size: 36px; cursor: pointer; }

/* ---------- cart / checkout ---------- */
.cart-page { padding-top: 30px; padding-bottom: 60px; }
.page-title { margin: 6px 0 24px; }
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.cart-list { list-style: none; padding: 0; margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.cart-list.compact { border: 0; background: none; }
.cart-row { display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.cart-list.compact .cart-row { padding: 10px 0; grid-template-columns: 56px 1fr; }
.cart-row:last-child { border-bottom: 0; }
.cart-thumb { display: block; width: 72px; aspect-ratio: 4/5; border-radius: 3px; overflow: hidden; background: #eee; }
.cart-list.compact .cart-thumb { width: 56px; }
.cart-thumb img, .cart-thumb .ph { width: 100%; height: 100%; object-fit: cover; font-size: 0; }
.cart-thumb .ph img { width: 60%; }
.cart-info { display: flex; flex-direction: column; gap: 2px; }
.cart-info a { text-decoration: none; }
.cart-info small { color: var(--muted); }
.summary { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); padding: 22px; position: sticky; top: 100px; display: flex; flex-direction: column; gap: 10px; }
.summary h2 { font-size: 22px; }
.sum-row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--line); }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 18px; }
.panel h2 { font-size: 21px; }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; }
address { font-style: normal; line-height: 1.6; }
.warn-box, .info-box { padding: 12px 14px; border-radius: var(--radius); font-size: 14px; }
.warn-box { background: var(--warn-bg); color: var(--warn); }
.info-box { background: #e9eef8; color: var(--navy); }
.confirm { text-align: center; padding-top: 50px; padding-bottom: 70px; }
.confirm-emblem { width: 110px; margin: 0 auto 14px; }
.confirm .lead { margin: 0 auto; }
.conf-box { display: inline-flex; flex-direction: column; gap: 6px; margin: 26px 0; padding: 18px 34px; border: 1px solid var(--gold); background: var(--paper); border-radius: var(--radius); }
.conf-box span { font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.conf-box strong { font: 600 30px/1 ui-monospace, Menlo, monospace; color: var(--navy); letter-spacing: .04em; }
.confirm .cart-list { max-width: 460px; margin: 0 auto; text-align: left; }
.confirm-next { text-align: left; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin: 28px 0; }
.confirm-next h2 { font-size: 21px; }
.confirm .row-btns { justify-content: center; }

/* ---------- forms / auth / account ---------- */
.auth { padding: 50px 24px 70px; display: flex; justify-content: center; }
.auth-card { width: 100%; max-width: 440px; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: var(--radius); padding: 32px; }
.auth-card.wide { max-width: 640px; }
.auth-card hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
.auth-alt { text-align: center; font-size: 14px; margin: 14px 0 0; }
.auth-alt .btn { margin-top: 10px; }
.demo-logins { margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--line); display: flex; flex-direction: column; gap: 8px; }
.demo-logins small { color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-size: 10.5px; }
.form { display: flex; flex-direction: column; gap: 14px; }
.form fieldset { border: 0; padding: 0; margin: 0 0 6px; display: flex; flex-direction: column; gap: 12px; }
.form legend { font: 600 19px var(--serif); color: var(--navy); margin-bottom: 8px; padding: 0; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 600; color: #3a4252; }
.field em { font-weight: 400; color: var(--muted); font-style: normal; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.three { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.check input { width: 18px; min-height: 0; height: 18px; margin-top: 2px; accent-color: var(--navy); flex: none; }
.form-error { color: var(--danger); background: #fbeceb; padding: 10px 12px; border-radius: var(--radius); margin: 0; font-size: 14px; }
.account, .manage { padding-top: 30px; padding-bottom: 60px; }
.account-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; margin-bottom: 22px; }
.account-head h1 { margin: 0; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 22px; overflow-x: auto; }
.tabs a { padding: 12px 16px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: 14px; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a.on { color: var(--navy); border-color: var(--gold); }
.req-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.req-head > div { display: flex; flex-direction: column; }
.conf { font: 600 17px/1.2 ui-monospace, Menlo, monospace; color: var(--navy); }
.req-items { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.req-items li { display: flex; gap: 10px; align-items: center; font-size: 13.5px; }
.req-items span { display: flex; flex-direction: column; }
.req-items small { color: var(--muted); }
.req-thumb { width: 44px; height: 54px; object-fit: cover; border-radius: 3px; flex: none; font-size: 0; }
.req-thumb.ph img { width: 70%; }

/* ---------- manager ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 22px; }
.stats div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; display: flex; flex-direction: column; }
.stats b { font: 600 34px/1 var(--serif); color: var(--navy); }
.stats span { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.chips { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.chip { padding: 7px 14px; border: 1px solid var(--line); border-radius: 99px; text-decoration: none; font-size: 13.5px; background: var(--paper); }
.chip.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.req-grid { display: grid; grid-template-columns: 300px 1fr; gap: 24px; }
.req-grid p { margin: 0 0 6px; font-size: 14px; }
.req-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.req-actions label { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; }
.req-actions select { width: auto; }
.req-actions input { flex: 1 1 200px; width: auto; }
.table-wrap { overflow-x: auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
table.inv { width: 100%; border-collapse: collapse; font-size: 14px; }
.inv th { text-align: left; font: 600 11px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 12px; border-bottom: 1px solid var(--line); background: #fbfaf7; }
.inv td { padding: 8px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.inv a { text-decoration: none; }
.inv-thumb { width: 44px; height: 54px; object-fit: cover; border-radius: 3px; font-size: 0; }
.inv-thumb.ph img { width: 70%; }
.row-act { text-align: right; }
.item-form { max-width: 860px; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.form-actions .btn-danger { margin-left: auto; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.photo { position: relative; aspect-ratio: 4/5; border-radius: 4px; overflow: hidden; background: #eee; border: 1px solid var(--line); }
.photo > img { width: 100%; height: 100%; object-fit: cover; }
.photo-main, .photo-btn { position: absolute; left: 6px; bottom: 6px; font: 600 11px/1 var(--sans); padding: 5px 8px; border-radius: 99px; border: 0; }
.photo-main { background: var(--gold); color: #fff; }
.photo-btn { background: rgba(255,255,255,.92); color: var(--navy); cursor: pointer; }
.photo-x { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--danger); font-size: 18px; cursor: pointer; line-height: 1; }
.photo-add { display: flex; flex-direction: column; gap: 8px; justify-content: center; padding: 12px; border: 2px dashed var(--line); border-radius: 4px; aspect-ratio: 4/5; position: relative; }
.photo-add.busy::after { content: attr(data-busy); position: absolute; inset: 0; display: grid; place-items: center; background: rgba(255,255,255,.92); font-weight: 600; color: var(--navy); font-size: 13px; text-align: center; }
.pc-search { margin-bottom: 10px; }
.pc-list { max-height: 420px; overflow-y: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.pc { display: grid; grid-template-columns: 20px 44px 1fr auto; gap: 12px; align-items: center; padding: 8px 12px; border-bottom: 1px solid var(--line); cursor: pointer; font-size: 14px; }
.pc input { width: 18px; height: 18px; min-height: 0; accent-color: var(--navy); }
.pc span { display: flex; flex-direction: column; }
.pc small { color: var(--muted); }

/* ---------- toasts / footer ---------- */
#toasts { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; flex-direction: column; gap: 10px; max-width: min(400px, calc(100vw - 40px)); }
.toast { background: var(--navy); color: #fff; padding: 14px 16px; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,0,0,.2); font-size: 14px; border-left: 4px solid var(--gold); animation: tin .25s ease; transition: opacity .35s, transform .35s; }
.toast a { color: var(--gold); }
.toast-warn { background: #3d2a05; border-left-color: #f0b440; }
.toast.out { opacity: 0; transform: translateY(8px); }
@keyframes tin { from { opacity: 0; transform: translateY(8px); } }
.site-footer { margin-top: 80px; background: var(--navy); color: #c9d1e3; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 30px; padding-top: 44px; padding-bottom: 30px; }
.footer-logo { width: 170px; background: #fff; border-radius: 4px; padding: 10px; }
.site-footer h4 { color: var(--gold); margin-top: 0; }
.site-footer a { display: block; color: #e3e8f3; text-decoration: none; padding: 3px 0; font-size: 14px; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-base { border-top: 1px solid rgba(255,255,255,.12); padding-top: 16px; padding-bottom: 22px; font-size: 12.5px; color: #8f9ab3; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-inner, .pdp { grid-template-columns: 1fr; gap: 32px; }
  .slideshow { max-height: 520px; }
  .shop { grid-template-columns: 1fr; gap: 10px; padding-top: 18px; }
  .sidebar { position: static; }
  .cat-radios { flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 6px; scrollbar-width: none; }
  .cat-radio { grid-template-columns: auto auto; white-space: nowrap; border: 1px solid var(--line); background: var(--paper); border-radius: 99px; padding: 8px 14px; }
  .cat-radio input { display: none; }
  .cat-radio.on { background: var(--navy); color: #fff; box-shadow: none; }
  .cat-radio.on small { color: var(--gold); }
  .cat-radio.feature { margin: 0; border-top: 1px solid var(--line); border-radius: 99px; padding-top: 8px; }
  .cart-layout, .req-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .header-inner { height: 64px; }
  .brand-emblem { height: 36px; }
  .brand-name { font-size: 15px; white-space: nowrap; letter-spacing: .03em; }
  .brand-sub { font-size: 9px; letter-spacing: .2em; }
  .brand { gap: 8px; }
  .main-nav { gap: 0; }
  .main-nav a { white-space: nowrap; }
  .hide-sm { display: none; }
  .main-nav a { padding: 8px; font-size: 14px; }
  .nav-cart span:not(.cart-count) { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .grid-outfits { grid-template-columns: 1fr; }
  .card-body { padding: 10px 12px 12px; }
  .card-title { font-size: 17px; }
  .card-meta { flex-direction: column; gap: 2px; }
  .filters { padding: 10px; }
  .filters label:not(.f-search) { flex: 1 1 calc(50% - 10px); }
  .filters select { min-width: 0; }
  .two, .three { grid-template-columns: 1fr; }
  .auth-card { padding: 22px; }
  .legend { display: none; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .inv th:nth-child(4), .inv td:nth-child(4), .inv th:nth-child(7), .inv td:nth-child(7) { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
}

/* ---------- print: packing slip ---------- */
@media print {
  body { background: #fff; }
  .site-header, .site-footer, #demo-banner, #toasts, .no-print, .tabs, .stats, .chips, .account-head { display: none !important; }
  body.printing-one .manage-req:not(.print-target) { display: none; }
  .panel { border: 0; }
}
.modal { position: fixed; inset: 0; z-index: 120; background: rgba(8,16,34,.55); display: grid; place-items: center; padding: 20px; }
.modal-card { background: var(--paper); border-top: 3px solid var(--gold); border-radius: var(--radius); padding: 24px; max-width: 420px; box-shadow: var(--shadow); }
.modal-card p { margin: 0 0 18px; font-size: 15.5px; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #d6ae5c; color: var(--navy); }
.muted-light { color: #aeb8cf; }
.site-footer { margin-top: 80px; }
.newsletter { background: var(--navy-2); border-bottom: 1px solid rgba(255,255,255,.08); }
.newsletter-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding-top: 44px; padding-bottom: 44px; }
.newsletter h2 { color: #fff; font-size: 30px; margin-bottom: 8px; }
.newsletter p { margin: 0; }
.subscribe-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; }
.subscribe-form input { border-color: rgba(255,255,255,.2); }
.sub-msg { grid-column: 1 / -1; color: var(--gold); font-size: 14px; }
.email-list { font: 13px/1.5 ui-monospace, Menlo, monospace; margin-bottom: 14px; }
@media (max-width: 960px) { .newsletter-inner { grid-template-columns: 1fr; gap: 20px; } }
@media (max-width: 640px) { .subscribe-form { grid-template-columns: 1fr; } }
.hero-note { display: inline-flex; align-items: center; gap: 8px; letter-spacing: .02em; }
.pilot-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
