/* Reluxe: designer resale marketplace
   Brand: navy #27295C + pink #FFC2E9, Versailles display face (from the original site), Jost for UI text. */

@font-face {
  font-family: 'Versailles';
  src: url('../fonts/versailles.woff2') format('woff2');
  font-display: swap;
  font-weight: 400;
}

:root {
  --navy: #27295C;
  --navy-deep: #1B1D45;
  --navy-soft: #3a3d7a;
  --pink: #FFC2E9;
  --pink-soft: #FFE8F6;
  --pink-ink: #8C2F6B;        /* pink-family text that passes contrast on white */
  --paper: #FFFFFF;
  --cream: #FBF8F7;
  --ink: #1E1F40;
  --muted: #5B5D82;
  --line: #E6E3EE;
  --line-strong: #CFCBDD;
  --ok: #2B6E4F;  --ok-bg: #E5F3EC;
  --warn: #8A5A00; --warn-bg: #FFF3D6;
  --bad: #A4262C; --bad-bg: #FBE7E8;
  --info: #2F4A8A; --info-bg: #E8EDFA;

  --display: 'Versailles', 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', 'Avenir Next', Avenir, 'Segoe UI', system-ui, sans-serif;
  --serif: 'EB Garamond', Georgia, serif;

  --r-sm: 8px; --r: 14px; --r-lg: 22px; --pill: 999px;
  --shadow: 0 1px 2px rgba(30,31,64,.06), 0 8px 24px rgba(30,31,64,.07);
  --shadow-lg: 0 18px 50px rgba(30,31,64,.16);
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--paper); font-weight: 400; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--navy-soft); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; border-radius: 4px; }
.on-dark :focus-visible, .site-nav :focus-visible, .site-footer :focus-visible { outline-color: var(--pink); }
h1, h2, h3, .display { font-family: var(--display); font-weight: 400; letter-spacing: .04em; line-height: 1.08; color: var(--navy); margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); text-transform: uppercase; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); text-transform: uppercase; }
h3 { font-size: 1.45rem; text-transform: uppercase; }
p { margin: 0 0 1em; }
.eyebrow { font-family: var(--sans); font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; color: var(--pink-ink); margin: 0 0 .9rem; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.serif-i { font-family: var(--serif); font-style: italic; letter-spacing: 0; text-transform: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; color: #fff; }
[hidden] { display: none !important; }

/* ---------- buttons ---------- */
.btn { --bg: var(--navy); --fg: #fff; --bd: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: .7em 1.6em;
  border-radius: var(--pill); border: 1.5px solid var(--bd); background: var(--bg); color: var(--fg);
  font-family: var(--sans); font-size: .9rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease); white-space: nowrap; }
.btn:hover { --bg: var(--navy-soft); --bd: var(--navy-soft); color: var(--fg); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn-light { --bg: #fff; --fg: var(--navy); --bd: #fff; }
.btn-light:hover { --bg: var(--pink); --bd: var(--pink); --fg: var(--navy); }
.btn-pink { --bg: var(--pink); --fg: var(--navy); --bd: var(--pink); }
.btn-pink:hover { --bg: #ffb0e0; --bd: #ffb0e0; --fg: var(--navy); }
.btn-ghost { --bg: transparent; --fg: var(--navy); --bd: var(--line-strong); }
.btn-ghost:hover { --bg: var(--pink-soft); --bd: var(--navy); --fg: var(--navy); }
.btn-danger { --bg: #fff; --fg: var(--bad); --bd: #e6b8bb; }
.btn-danger:hover { --bg: var(--bad-bg); --bd: var(--bad); --fg: var(--bad); }
.btn-sm { min-height: 38px; padding: .45em 1.1em; font-size: .78rem; }
.btn-block { width: 100%; }
.btn .spin { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link-btn { background: none; border: 0; padding: 0; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: inherit; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--navy); cursor: pointer; position: relative; }
.icon-btn:hover { background: var(--pink-soft); }
.icon { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- header ---------- */
.site-header { background: #fff; position: relative; z-index: 30; }
.masthead { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-top: 18px; padding-bottom: 14px; }
.brand { grid-column: 2; display: block; line-height: 0; }
.brand img { width: clamp(170px, 22vw, 250px); height: auto; }
.head-tools { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 4px; }
.head-search { grid-column: 1; justify-self: start; }
.acct-link { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); text-decoration: none; font-size: .9rem; padding: 8px 12px; border-radius: var(--pill); min-height: 44px; }
.acct-link:hover { background: var(--pink-soft); }
.acct-link .avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--pink); display: grid; place-items: center; font-family: var(--display); font-size: 1rem; }
.bag-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--pink); color: var(--navy); font-size: .7rem; font-weight: 600; display: grid; place-items: center; padding: 0 4px; }
.acct-menu { position: relative; }
.acct-pop { position: absolute; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); min-width: 220px; padding: 8px; z-index: 40; }
.acct-pop a, .acct-pop button { display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: var(--r-sm); text-decoration: none; color: var(--ink); background: none; border: 0; cursor: pointer; font-size: .95rem; }
.acct-pop a:hover, .acct-pop button:hover { background: var(--pink-soft); }
.acct-pop hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }

.site-nav { background: var(--navy); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: clamp(14px, 3vw, 40px); }
.site-nav a { display: block; padding: 13px 4px 11px; color: #fff; text-decoration: none; font-family: var(--display); font-size: 1.3rem; letter-spacing: .08em; text-transform: uppercase; position: relative; }
.site-nav a::after { content: ''; position: absolute; left: 4px; right: 4px; bottom: 8px; height: 1px; background: var(--pink); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.site-nav a:hover { color: var(--pink); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--pink); }
.menu-toggle { display: none; }

@media (max-width: 760px) {
  .masthead { grid-template-columns: auto 1fr auto; padding-top: 10px; padding-bottom: 10px; gap: 6px; }
  .brand { grid-column: 2; justify-self: center; }
  .brand img { width: 150px; }
  .head-search { grid-column: 1; }
  .menu-toggle { display: inline-grid; }
  .head-search .search-trigger { display: none; }
  .acct-link .acct-label { display: none; }
  .acct-link { padding: 6px; }
  .site-nav { display: none; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 6px 0 12px; }
  .site-nav a { padding: 12px var(--gut); font-size: 1.35rem; }
  .site-nav a::after { display: none; }
  .site-header.sticky-m { position: sticky; top: 0; box-shadow: 0 1px 0 var(--line); }
}

/* ---------- page hero band (pink chevron, as on the original About/Contact pages) ---------- */
.band { position: relative; background-color: var(--pink); overflow: hidden; text-align: center; padding: clamp(48px, 8vw, 96px) 0; }
.band::before { content: ''; position: absolute; inset: 0; opacity: .55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='40' viewBox='0 0 64 40'%3E%3Cpath d='M0 30 L16 18 L32 30 M32 10 L48 -2 L64 10 M32 50 L48 38 L64 50' fill='none' stroke='%23ffffff' stroke-width='5' stroke-opacity='.5'/%3E%3C/svg%3E");
  background-size: 64px 40px; }
.band > * { position: relative; }
.band h1 { color: var(--navy); margin: 0; }
.band .band-sub { color: var(--navy); margin: 14px auto 0; max-width: 56ch; font-size: 1.05rem; }
.band .jump { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.band .jump a { background: var(--navy); color: #fff; border-radius: var(--pill); padding: 8px 20px; text-decoration: none; font-family: var(--display); font-size: 1.15rem; letter-spacing: .06em; text-transform: uppercase; }
.band .jump a:hover { background: var(--navy-soft); color: var(--pink); }
.band-sm { padding: clamp(36px, 6vw, 64px) 0; }
.band-sm h1 { font-size: clamp(2rem, 5vw, 3.4rem); }

/* ---------- sections ---------- */
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section-tight { padding: clamp(36px, 5vw, 64px) 0; }
.navy-sec { background: var(--navy); color: #e9e8f5; }
.navy-sec h2, .navy-sec h3 { color: #fff; }
.navy-sec .eyebrow { color: var(--pink); }
.cream-sec { background: var(--cream); }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.sec-head h2 { margin: 0; }

/* ---------- home hero ---------- */
.hero { position: relative; min-height: min(78vh, 760px); display: grid; align-items: end; color: #fff; overflow: hidden; background: var(--navy-deep); }
.hero picture, .hero img.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero img.hero-img { object-fit: cover; object-position: center 30%; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(27,29,69,.72) 0%, rgba(27,29,69,.35) 55%, rgba(27,29,69,0) 85%), linear-gradient(180deg, rgba(27,29,69,.2) 0%, rgba(27,29,69,.35) 45%, rgba(27,29,69,.85) 100%); }
.hero-inner { position: relative; z-index: 1; padding-top: 120px; padding-bottom: clamp(40px, 7vw, 80px); }
.hero .eyebrow { color: var(--pink); }
.hero h1 { color: #fff; max-width: 14ch; margin-bottom: 18px; }
.hero p { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 46ch; color: #f1eff9; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero-facts { display: flex; gap: clamp(18px, 4vw, 48px); flex-wrap: wrap; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,194,233,.35); max-width: 760px; }
.hero-facts div { font-size: .9rem; color: #e9e8f5; }
.hero-facts strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.6rem; color: var(--pink); letter-spacing: .04em; }

/* category index with hover image (signature) */
.cat-index { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.cat-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cat-list li { border-bottom: 1px solid var(--line); }
.cat-list a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 18px 4px; text-decoration: none; color: var(--navy); }
.cat-list .cat-name { font-family: var(--display); font-size: clamp(1.9rem, 4.4vw, 3.4rem); text-transform: uppercase; letter-spacing: .04em; line-height: 1; transition: transform .35s var(--ease), color .2s; }
.cat-list .cat-meta { font-size: .85rem; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.cat-list a:hover .cat-name, .cat-list a:focus-visible .cat-name { transform: translateX(12px); color: var(--pink-ink); }
.cat-visual { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--pink-soft); }
.cat-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .5s var(--ease), transform .8s var(--ease); }
.cat-visual img.on { opacity: 1; transform: scale(1); }
.cat-visual figcaption { position: absolute; left: 16px; bottom: 16px; background: rgba(255,255,255,.92); color: var(--navy); padding: 6px 14px; border-radius: var(--pill); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
@media (max-width: 820px) { .cat-index { grid-template-columns: 1fr; } .cat-visual { display: none; } }

/* sell steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255,194,233,.3); }
.steps li { padding: 28px 28px 8px 0; border-right: 1px solid rgba(255,194,233,.2); padding-left: 28px; }
.steps li:first-child { padding-left: 0; }
.steps li:last-child { border-right: 0; }
.steps .num { font-family: var(--display); color: var(--pink); font-size: 3.6rem; line-height: 1; display: block; margin-bottom: 10px; }
.steps h3 { font-size: 1.4rem; margin-bottom: .4em; }
.steps p { color: #d9d8ec; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } .steps li { border-right: 0; border-bottom: 1px solid rgba(255,194,233,.2); padding: 22px 0; } }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(28px, 6vw, 90px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.fee-card { background: var(--pink); color: var(--navy); border-radius: var(--r-lg); padding: 28px; }
.fee-card .big { font-family: var(--display); font-size: 4.4rem; line-height: 1; display: block; }
.fee-card p { margin: .4em 0 0; }

/* lookbook strip (editorial photos) */
.lookbook { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.lookbook figure { margin: 0; border-radius: var(--r); overflow: hidden; background: var(--cream); aspect-ratio: 2 / 4; }
.lookbook img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.lookbook figure:hover img { transform: scale(1.03); }
@media (max-width: 760px) { .lookbook { grid-template-columns: repeat(5, 46%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; } .lookbook figure { scroll-snap-align: start; } }

.guarantee { max-width: 820px; margin: 0 auto; text-align: center; }
.guarantee blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.35; color: var(--navy); }

/* newsletter */
.newsletter { background: var(--pink-soft); }
.newsletter .inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 30px; align-items: center; }
.newsletter h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0 0 .2em; }
.inline-form { display: flex; gap: 10px; }
.inline-form input { flex: 1; min-width: 0; }
@media (max-width: 760px) { .newsletter .inner { grid-template-columns: 1fr; } .inline-form { flex-direction: column; } }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #d9d8ec; padding: 56px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 30px; }
.site-footer img.foot-logo { width: 210px; height: auto; margin-bottom: 14px; }
.site-footer h2 { font-size: 1.1rem; color: var(--pink); letter-spacing: .14em; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 8px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--pink); text-decoration: underline; }
.foot-base { border-top: 1px solid rgba(255,255,255,.15); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- forms ---------- */
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field > label, .label { font-size: .92rem; line-height: 1.35; font-weight: 500; color: var(--navy); }
.field .hint { font-size: .84rem; color: var(--muted); margin: 0; }
.req { color: var(--pink-ink); }
input:not([type]), input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=search], input[type=url], select, textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--r); background: #fff;
  font-size: 16px; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2327295C' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; cursor: pointer; }
input:hover, select:hover, textarea:hover { border-color: var(--navy-soft); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(39,41,92,.15); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--bad); }
.field-err { color: var(--bad); font-size: .85rem; margin: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.grid-3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 0 16px; }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--navy); flex: none; }
.form-msg { border-radius: var(--r); padding: 12px 16px; font-size: .95rem; margin-bottom: 16px; }
.form-msg.err { background: var(--bad-bg); color: var(--bad); }
.form-msg.ok { background: var(--ok-bg); color: var(--ok); }
.form-msg.info { background: var(--info-bg); color: var(--info); }
.form-msg.warn { background: var(--warn-bg); color: var(--warn); }
.hp { position: absolute; left: -9999px; }

/* auth card */
.auth { min-height: 60vh; display: grid; place-items: start center; padding: clamp(36px, 6vw, 80px) var(--gut); background: var(--cream); }
.auth-card { width: 100%; max-width: 480px; background: #fff; border-radius: var(--r-lg); padding: clamp(24px, 5vw, 44px); box-shadow: var(--shadow); }
.auth-card h1 { font-size: clamp(2rem, 5vw, 2.8rem); text-align: center; }
.auth-card .sub { text-align: center; color: var(--muted); margin-top: -6px; margin-bottom: 26px; }
.auth-alt { text-align: center; margin-top: 18px; font-size: .95rem; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 76px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--navy); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; padding: 10px; min-height: 44px; }

/* ---------- product cards ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2.4vw, 30px) clamp(12px, 2vw, 24px); }
@media (max-width: 1024px) { .grid-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card { position: relative; display: flex; flex-direction: column; }
.card-media { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--cream); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-media img { transform: scale(1.035); }
.card-body { padding: 12px 2px 0; display: grid; gap: 2px; }
.card-brand { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; color: var(--pink-ink); }
.card-title { font-size: .98rem; line-height: 1.35; color: var(--ink); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-title::after { content: ''; position: absolute; inset: 0; } /* whole card clickable */
.card-meta { font-size: .84rem; color: var(--muted); }
.price { font-weight: 500; color: var(--navy); }
.price s { color: var(--muted); font-weight: 400; margin-left: 6px; font-size: .9em; }
.like-btn { position: absolute; top: 10px; right: 10px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--navy); display: grid; place-items: center; cursor: pointer; transition: transform .15s var(--ease), background .15s; }
.like-btn:hover { transform: scale(1.06); background: #fff; }
.like-btn[aria-pressed="true"] .icon { fill: var(--pink-ink); stroke: var(--pink-ink); }
.ribbon { position: absolute; top: 12px; left: 12px; z-index: 1; background: var(--navy); color: #fff; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; padding: 5px 10px; border-radius: var(--pill); }
.ribbon.pink { background: var(--pink); color: var(--navy); }
.card.is-sold .card-media img { filter: grayscale(.4) brightness(.92); }
.skel { background: linear-gradient(90deg, var(--cream) 0%, #f2eef3 50%, var(--cream) 100%); background-size: 200% 100%; animation: skel 1.3s infinite linear; border-radius: var(--r); }
@keyframes skel { to { background-position: -200% 0; } }
.empty { text-align: center; padding: clamp(40px, 8vw, 90px) 20px; border: 1.5px dashed var(--line-strong); border-radius: var(--r-lg); color: var(--muted); }
.empty h2, .empty h3 { color: var(--navy); }

/* ---------- shop ---------- */
.shop { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
.filters { position: sticky; top: 16px; }
.filters details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.filters summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 12px 0; font-family: var(--display); font-size: 1.15rem; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); min-height: 44px; }
.filters summary::-webkit-details-marker { display: none; }
.filters summary::after { content: '+'; font-family: var(--sans); font-size: 1.2rem; }
.filters details[open] summary::after { content: '–'; }
.filters .opts { display: grid; gap: 4px; padding-bottom: 12px; }
.filters .opts.sizes { grid-template-columns: repeat(4, 1fr); gap: 6px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: grid; place-items: center; min-height: 40px; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); font-size: .88rem; cursor: pointer; transition: all .15s; }
.chip input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.chip input:focus-visible + span { outline: 3px solid var(--navy); outline-offset: 2px; }
.opt { display: flex; gap: 10px; align-items: center; min-height: 36px; cursor: pointer; font-size: .95rem; }
.opt input { width: 18px; height: 18px; accent-color: var(--navy); }
.price-range { display: flex; gap: 8px; align-items: center; padding-bottom: 12px; }
.price-range input { min-height: 42px; }
.shop-bar { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; }
.shop-bar .count { color: var(--muted); font-size: .95rem; }
.shop-bar select { width: auto; min-height: 44px; }
.active-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.active-filters button { border: 1px solid var(--line-strong); background: #fff; border-radius: var(--pill); padding: 6px 12px; font-size: .85rem; cursor: pointer; min-height: 36px; }
.active-filters button:hover { border-color: var(--navy); }
.filter-toggle { display: none; }
.search-box { position: relative; margin-bottom: 18px; }
.search-box input { padding-left: 44px; }
.search-box .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
@media (max-width: 900px) {
  .shop { grid-template-columns: 1fr; }
  .filter-toggle { display: inline-flex; }
  .filters { position: fixed; inset: 0 0 0 auto; width: min(92vw, 380px); background: #fff; z-index: 60; padding: 20px; overflow-y: auto; box-shadow: var(--shadow-lg); transform: translateX(105%); transition: transform .3s var(--ease); }
  .filters.open { transform: none; }
  .filters .filters-head { display: flex !important; }
}
.filters-head { display: none; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.scrim { position: fixed; inset: 0; background: rgba(27,29,69,.45); z-index: 55; }

/* ---------- product page ---------- */
.crumbs { font-size: .85rem; color: var(--muted); padding: 18px 0 0; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs li + li::before { content: '/'; margin-right: 8px; color: var(--line-strong); }
.crumbs a { color: var(--muted); }
.pdp { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 70px); padding: 22px 0 70px; align-items: start; }
.gallery { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; position: sticky; top: 16px; }
.gallery .thumbs { display: grid; gap: 10px; align-content: start; max-height: 640px; overflow-y: auto; scrollbar-width: thin; }
.gallery .thumbs button { padding: 0; border: 2px solid transparent; border-radius: var(--r-sm); overflow: hidden; cursor: pointer; background: var(--cream); aspect-ratio: 4/5; }
.gallery .thumbs button[aria-current="true"] { border-color: var(--navy); }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery .main { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--cream); }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.gallery .nav-arrows { position: absolute; inset: auto 12px 12px auto; display: flex; gap: 8px; }
.gallery .nav-arrows button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); cursor: pointer; display: grid; place-items: center; color: var(--navy); }
.gallery .counter { position: absolute; left: 12px; bottom: 12px; background: rgba(255,255,255,.92); border-radius: var(--pill); padding: 4px 12px; font-size: .82rem; }
@media (max-width: 860px) {
  .pdp { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; position: static; }
  .gallery .thumbs { grid-auto-flow: column; grid-auto-columns: 64px; max-height: none; overflow-x: auto; order: 2; }
}
.pdp-info .brand-line { font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; color: var(--pink-ink); font-weight: 500; margin-bottom: 8px; }
.pdp-info h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); text-transform: none; letter-spacing: .02em; margin-bottom: 14px; }
.pdp-price { font-size: 1.6rem; color: var(--navy); font-weight: 500; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pdp-price s { color: var(--muted); font-size: 1.05rem; font-weight: 400; }
.pdp-price .save { font-size: .85rem; background: var(--pink-soft); color: var(--pink-ink); padding: 3px 10px; border-radius: var(--pill); letter-spacing: .06em; }
.ship-note { color: var(--muted); font-size: .92rem; margin: 6px 0 22px; }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin: 0 0 22px; }
.specs div { padding: 12px 16px; border-bottom: 1px solid var(--line); }
.specs div:nth-child(odd) { border-right: 1px solid var(--line); }
.specs dt { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.specs dd { margin: 2px 0 0; color: var(--ink); font-weight: 500; }
.buy-row { display: flex; gap: 10px; margin-bottom: 14px; }
.buy-row .btn { flex: 1; }
.trust-list { list-style: none; padding: 18px 0 0; margin: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: .93rem; }
.trust-list li { display: flex; gap: 12px; align-items: flex-start; }
.trust-list .icon { color: var(--pink-ink); margin-top: 1px; }
.desc { white-space: pre-line; }
.seller-chip { display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--cream); border-radius: var(--r); margin: 18px 0; text-decoration: none; color: var(--ink); }
.seller-chip .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--pink); display: grid; place-items: center; font-family: var(--display); font-size: 1.3rem; flex: none; }
.report-link { font-size: .85rem; color: var(--muted); }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(15,16,40,.94); display: grid; place-items: center; padding: 20px; }
.lightbox img { max-height: 92vh; max-width: 96vw; width: auto; object-fit: contain; border-radius: var(--r-sm); }
.lightbox .icon-btn { position: absolute; color: #fff; background: rgba(255,255,255,.12); }
.lightbox .close { top: 16px; right: 16px; }
.lightbox .prev { left: 16px; top: 50%; }
.lightbox .next { right: 16px; top: 50%; }
.mobile-buy { display: none; }
@media (max-width: 860px) {
  .mobile-buy { display: flex; position: sticky; bottom: 0; z-index: 20; background: #fff; border-top: 1px solid var(--line); padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); gap: 12px; align-items: center; justify-content: space-between; }
  .mobile-buy .price { font-size: 1.2rem; }
}

/* ---------- dialog ---------- */
dialog { border: 0; border-radius: var(--r-lg); padding: 0; width: min(560px, calc(100vw - 32px)); box-shadow: var(--shadow-lg); color: var(--ink); }
dialog::backdrop { background: rgba(27,29,69,.5); }
.dlg-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px 0; }
.dlg-head h2 { font-size: 1.6rem; margin: 0; }
.dlg-body { padding: 16px 24px 24px; }
.dlg-foot { display: flex; gap: 10px; justify-content: flex-end; padding: 0 24px 24px; flex-wrap: wrap; }

/* toast */
.toasts { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 100; display: grid; gap: 8px; width: min(440px, calc(100vw - 32px)); }
.toast { background: var(--navy); color: #fff; padding: 14px 18px; border-radius: var(--r); box-shadow: var(--shadow-lg); display: flex; justify-content: space-between; gap: 12px; align-items: center; animation: toastIn .25s var(--ease); }
.toast.err { background: var(--bad); }
.toast a { color: var(--pink); }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } }

/* ---------- bag / checkout ---------- */
.bag { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding: 40px 0 80px; align-items: start; }
@media (max-width: 860px) { .bag { grid-template-columns: 1fr; } }
.bag-item { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.bag-item img { width: 96px; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--r-sm); }
.bag-item.gone { opacity: .6; }
.summary { background: var(--cream); border-radius: var(--r-lg); padding: 26px; position: sticky; top: 16px; }
.summary h2 { font-size: 1.6rem; }
.sum-row { display: flex; justify-content: space-between; padding: 6px 0; }
.sum-row.total { border-top: 1px solid var(--line-strong); margin-top: 8px; padding-top: 14px; font-size: 1.15rem; font-weight: 600; color: var(--navy); }
#paypal-buttons { margin-top: 18px; min-height: 50px; }
.secure { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: var(--muted); margin-top: 12px; }

/* ---------- dashboards (seller / buyer / admin) ---------- */
.dash { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 70vh; background: var(--cream); }
.dash-side { background: #fff; border-right: 1px solid var(--line); padding: 26px 16px; }
.dash-side > nav { position: sticky; top: 16px; }
.dash-side .who { padding: 0 10px 18px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.dash-side .who strong { display: block; font-family: var(--display); font-size: 1.4rem; font-weight: 400; color: var(--navy); letter-spacing: .04em; }
.dash-side .who span { font-size: .85rem; color: var(--muted); }
.dash-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.dash-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: var(--r-sm); text-decoration: none; color: var(--ink); font-size: .97rem; min-height: 44px; }
.dash-nav a:hover { background: var(--pink-soft); }
.dash-nav a[aria-current="page"] { background: var(--navy); color: #fff; }
.dash-nav a[aria-current="page"] .icon { color: var(--pink); }
.dash-nav .badge { margin-left: auto; }
.dash-main { padding: clamp(20px, 3vw, 40px); min-width: 0; }
.dash-main h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 4px; }
.dash-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.dash-head p { margin: 0; color: var(--muted); }
@media (max-width: 900px) {
  .dash { grid-template-columns: minmax(0, 1fr); }
  .dash-side { min-width: 0; }
  .dash-side { padding: 12px var(--gut); border-right: 0; border-bottom: 1px solid var(--line); }
  .dash-side > nav { position: static; }
  .dash-side .who { display: none; }
  .dash-nav { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; scrollbar-width: none; }
  .dash-nav a { white-space: nowrap; }
}
.panel { background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); padding: clamp(18px, 2.4vw, 28px); margin-bottom: 22px; }
.panel h2 { font-size: 1.5rem; margin-bottom: 14px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.panel-head h2 { margin: 0; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.kpi .k-label { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.kpi .k-val { font-family: var(--display); font-size: 2.1rem; color: var(--navy); line-height: 1.1; margin-top: 6px; letter-spacing: .02em; }
.kpi .k-sub { font-size: .84rem; color: var(--muted); margin-top: 2px; }
.kpi.accent { background: var(--navy); border-color: var(--navy); }
.kpi.accent .k-label, .kpi.accent .k-sub { color: #cfcde6; }
.kpi.accent .k-val { color: var(--pink); }
.kpi.pinked { background: var(--pink-soft); border-color: #f6cde6; }
@media (max-width: 1100px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.chart { width: 100%; height: auto; display: block; }
.chart .bar { fill: var(--navy); }
.chart .bar:hover { fill: var(--pink-ink); }
.chart .bar2 { fill: var(--pink); }
.chart .axis { fill: var(--muted); font-size: 11px; font-family: var(--sans); }
.chart .grid { stroke: var(--line); }
.legend { display: flex; gap: 16px; font-size: .85rem; color: var(--muted); margin-bottom: 8px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.chart-tip { position: fixed; pointer-events: none; background: var(--navy); color: #fff; font-size: .82rem; padding: 6px 10px; border-radius: 6px; z-index: 80; }
.alert-list { display: grid; gap: 10px; margin-bottom: 22px; }
.alert { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 14px 18px; border-radius: var(--r); background: var(--warn-bg); color: var(--warn); flex-wrap: wrap; }
.alert.info { background: var(--info-bg); color: var(--info); }
.alert.bad { background: var(--bad-bg); color: var(--bad); }
.alert.ok { background: var(--ok-bg); color: var(--ok); }
.alert a { color: inherit; font-weight: 600; }
.table-wrap { overflow-x: auto; margin: 0 -4px; }
table.t { width: 100%; border-collapse: collapse; font-size: .93rem; }
table.t th { text-align: left; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.t td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.t tr:last-child td { border-bottom: 0; }
table.t .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.t .item-cell { display: flex; gap: 12px; align-items: center; min-width: 220px; }
table.t .item-cell img { width: 48px; height: 60px; object-fit: cover; border-radius: 6px; background: var(--cream); flex: none; }
table.t .actions { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: var(--pill); font-size: .76rem; font-weight: 500; letter-spacing: .04em; white-space: nowrap; background: var(--cream); color: var(--muted); border: 1px solid var(--line); }
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.ok { background: var(--ok-bg); color: var(--ok); border-color: transparent; }
.badge.warn { background: var(--warn-bg); color: var(--warn); border-color: transparent; }
.badge.bad { background: var(--bad-bg); color: var(--bad); border-color: transparent; }
.badge.info { background: var(--info-bg); color: var(--info); border-color: transparent; }
.badge.navy { background: var(--navy); color: #fff; border-color: transparent; }
.badge.pink { background: var(--pink-soft); color: var(--pink-ink); border-color: transparent; }
.count-pill { background: var(--pink); color: var(--navy); border-radius: var(--pill); font-size: .75rem; font-weight: 600; padding: 1px 8px; margin-left: auto; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.tabs button { border: 1.5px solid var(--line-strong); background: #fff; border-radius: var(--pill); padding: 7px 16px; cursor: pointer; font-size: .9rem; min-height: 40px; }
.tabs button[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.toolbar input[type=search] { max-width: 320px; min-height: 42px; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .86em; }
.stack > * + * { margin-top: 10px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
.setup-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.setup-list li { display: flex; gap: 10px; align-items: center; font-size: .95rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--bad); flex: none; }
.dot.on { background: var(--ok); }
.progress { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--navy); }
.top-list { list-style: none; margin: 0; padding: 0; }
.top-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.top-list li:last-child { border-bottom: 0; }
.top-list img { width: 44px; height: 55px; object-fit: cover; border-radius: 6px; background: var(--cream); }

/* ---------- listing editor ---------- */
.editor { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
@media (max-width: 1100px) { .editor { grid-template-columns: 1fr; } }
.mode-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.mode-switch button { text-align: left; border: 1.5px solid var(--line-strong); background: #fff; border-radius: var(--r); padding: 14px 16px; cursor: pointer; }
.mode-switch button[aria-pressed="true"] { border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy); background: var(--pink-soft); }
.mode-switch strong { display: block; color: var(--navy); }
.mode-switch span { font-size: .85rem; color: var(--muted); }
.dropzone { display: block; border: 2px dashed var(--line-strong); border-radius: var(--r-lg); padding: 28px 18px; text-align: center; background: var(--cream); cursor: pointer; transition: border-color .15s, background .15s; }
.dropzone.drag { border-color: var(--navy); background: var(--pink-soft); }
.dropzone .icon { display: block; width: 34px; height: 34px; color: var(--navy); margin: 0 auto 8px; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-top: 14px; }
.photo-tile { position: relative; aspect-ratio: 4/5; border-radius: var(--r-sm); overflow: hidden; background: var(--cream); border: 1.5px solid var(--line); cursor: grab; }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; }
.photo-tile.cover { border-color: var(--navy); }
.photo-tile .cover-tag { position: absolute; left: 6px; top: 6px; background: var(--navy); color: #fff; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; padding: 2px 7px; border-radius: var(--pill); }
.photo-tile .rm { position: absolute; right: 4px; top: 4px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); cursor: pointer; display: grid; place-items: center; color: var(--bad); }
.photo-tile .move { position: absolute; bottom: 4px; left: 4px; right: 4px; display: flex; justify-content: space-between; }
.photo-tile .move button { width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(255,255,255,.95); cursor: pointer; display: grid; place-items: center; color: var(--navy); }
.photo-tile.uploading::after { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,.6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Ccircle cx='14' cy='14' r='11' fill='none' stroke='%2327295C' stroke-width='3' stroke-dasharray='50 20'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 14 14' to='360 14 14' dur='0.8s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/svg%3E") center no-repeat; }
.photo-tile.dragging { opacity: .4; }
.photo-tile.failed { border-color: var(--bad); }
.ai-box { background: var(--navy); color: #e9e8f5; border-radius: var(--r); padding: 16px 18px; margin: 14px 0; display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.ai-box strong { color: #fff; }
.ai-filled { box-shadow: 0 0 0 3px rgba(255,194,233,.9) !important; }
.price-calc { background: var(--cream); border-radius: var(--r); padding: 14px 16px; font-size: .92rem; display: grid; gap: 4px; }
.price-calc div { display: flex; justify-content: space-between; }
.price-calc .you { font-weight: 600; color: var(--navy); border-top: 1px solid var(--line-strong); padding-top: 6px; margin-top: 2px; }
.input-prefix { position: relative; }
.input-prefix span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.input-prefix input { padding-left: 30px; }
.counter-note { font-size: .8rem; color: var(--muted); text-align: right; }
.sticky-actions { position: sticky; bottom: 0; background: rgba(251,248,247,.96); backdrop-filter: blur(4px); padding: 14px 0; display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 10px; z-index: 5; }
.option-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 6px; }
.option-grid.wide { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.swatch { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); display: inline-block; vertical-align: -2px; margin-right: 6px; }

/* prose pages */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 1.6em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.4em; }
.prose li { margin-bottom: .5em; }
.prose-wrap { padding: clamp(40px, 6vw, 80px) 0; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.about-grid img { border-radius: var(--r-lg); }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
.how-list { list-style: none; counter-reset: how; padding: 0; margin: 0; display: grid; gap: 0; }
.how-list li { counter-increment: how; display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.how-list li::before { content: counter(how, decimal-leading-zero); font-family: var(--display); font-size: 2.4rem; color: var(--pink-ink); line-height: 1; }
.how-list h3 { font-size: 1.3rem; margin-bottom: .3em; }
.how-list p { margin: 0; color: var(--muted); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 500; font-size: 1.05rem; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details > div { padding: 0 0 18px; color: var(--muted); max-width: 70ch; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
@media (max-width: 1100px) { .two-col { grid-template-columns: 1fr; } }
