/* =========================================================
   SAINT77 — Shared design system
   Used across all pages: home, collection, product, edit,
   designers, journal, article, stylist, cart, wishlist,
   account, search, about, customer-care.
   ========================================================= */

:root {
  --s-ivory: #faf7f2;
  --s-paper: #f5f1ea;
  --s-sand:  #ece5d8;
  --s-stone: #d8d0c1;
  --s-warm:  #b8ad99;
  --s-ink:   #1a1a1a;
  --s-graphite: #2b2b28;
  --s-muted: #6b6760;
  --s-line:  #e3ddd1;
  --s-green:    #1f3d2b;
  --s-green-2:  #2c5237;
  --s-oxblood:  #8a1c1c;
  --s-oxblood-2: #6b1414;

  --f-display: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --f-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1440px;
  --gutter: clamp(16px, 4vw, 48px);
  --section-y: clamp(56px, 9vw, 120px);

  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--s-ink);
  background: var(--s-ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul, ol { list-style: none; padding: 0; margin: 0; }
input, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--s-green); outline-offset: 3px; }

.s-container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.s-section   { padding: var(--section-y) 0; }

.s-display {
  font-family: var(--f-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.02;
  color: var(--s-graphite);
}
.s-eyebrow {
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--s-green);
}

/* ---------- Announcement bar ---------- */
.announcement-bar {
  background: var(--s-graphite);
  color: var(--s-ivory);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 10px 0;
  text-align: center;
  position: relative;
  z-index: 50;
}
.announcement-track {
  display: flex; gap: clamp(20px, 5vw, 64px);
  justify-content: center; align-items: center;
  flex-wrap: nowrap; white-space: nowrap; overflow: hidden;
}
.announcement-track span { opacity: .92; }
.announcement-track .dot { width: 3px; height: 3px; background: var(--s-oxblood); border-radius: 50%; }
@media (max-width: 720px) {
  .announcement-track span:not(:first-child):not(.dot) { display: none; }
  .announcement-track .dot { display: none; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--s-ivory);
  border-bottom: 1px solid var(--s-line);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 1px 0 rgba(0,0,0,.04); }

.header-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 16px var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}
.header-top-left, .header-top-right { display: flex; align-items: center; gap: 14px; }
.header-top-right { justify-content: flex-end; }
.header-top-center { display: flex; justify-content: center; }

.header-nav-row { display: none; border-top: 1px solid var(--s-line); }
@media (min-width: 1024px) { .header-nav-row { display: block; } }
.header-nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex; justify-content: center;
}

.logo-link { display: inline-flex; align-items: baseline; gap: 4px; text-decoration: none; }
.logo-stack { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.logo-mark {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(24px, 4.5vw, 32px);
  letter-spacing: -0.02em;
  color: var(--s-green);
  line-height: 1;
  display: inline-flex; align-items: baseline;
}
.logo-mark .star {
  display: inline-block; color: var(--s-ink);
  font-size: 9px; vertical-align: super;
  margin: 0 1px 0 2px; transform: translateY(-9px);
}
.logo-77 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.5em;
  color: var(--s-oxblood);
  letter-spacing: -0.02em;
  margin-left: 1px;
  align-self: flex-start;
  line-height: 1; margin-top: -2px;
}
.logo-collective {
  display: block;
  font-family: var(--f-body);
  font-size: 9px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--s-ink);
  margin-top: 3px; margin-left: 1px;
}

.nav-primary {
  display: flex; gap: 32px;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500; align-items: center;
}
.nav-primary a {
  padding: 16px 0; position: relative;
  color: var(--s-graphite);
  transition: color .25s var(--ease);
  white-space: nowrap; display: inline-block;
}
.nav-primary a::after {
  content: ""; position: absolute;
  left: 0; right: 100%; bottom: -1px;
  height: 2px; background: var(--s-green);
  transition: right .35s var(--ease);
}
.nav-primary a:hover, .nav-primary a.is-active { color: var(--s-green); }
.nav-primary a:hover::after, .nav-primary a.is-active::after { right: 0; }
.nav-primary a.is-sale { color: var(--s-oxblood); }
.nav-primary a.is-sale::after { background: var(--s-oxblood); }
.nav-primary a.is-edit {
  color: var(--s-green);
  font-style: italic; font-weight: 500;
  text-transform: none; letter-spacing: 0;
  font-family: var(--f-display); font-size: 16px;
  padding: 14px 0;
}
.nav-primary a.is-heritage {
  color: var(--s-green);
  padding: 14px 0;
}
.nav-primary a.is-heritage::after { background: var(--s-green); }
.mm-link.is-heritage { color: var(--s-green); font-style: italic; }

.lang-switch {
  display: none;
  font-size: 11px; letter-spacing: 0.16em;
  font-weight: 500; color: var(--s-muted);
  border: 1px solid var(--s-line);
  border-radius: 999px;
  padding: 4px 3px;
  align-items: center; gap: 2px;
}
@media (min-width: 1024px) { .lang-switch { display: inline-flex; } }
.lang-switch button {
  padding: 4px 10px; border-radius: 999px;
  transition: all .2s var(--ease);
  font-size: 10px; letter-spacing: 0.14em;
}
.lang-switch button.is-active { background: var(--s-graphite); color: var(--s-ivory); }

.icon-btn {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background .25s var(--ease);
  position: relative;
}
.icon-btn:hover { background: var(--s-paper); }
.icon-btn svg { width: 18px; height: 18px; stroke: var(--s-ink); fill: none; stroke-width: 1.5; }
.icon-btn .badge {
  position: absolute; top: 4px; right: 4px;
  width: 14px; height: 14px;
  background: var(--s-oxblood); color: var(--s-ivory);
  font-size: 9px; font-weight: 600;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

#accountBtn { display: none; }
@media (min-width: 1024px) { #accountBtn { display: inline-flex; } }

.hamburger {
  display: inline-flex; flex-direction: column;
  gap: 5px; width: 38px; height: 38px;
  align-items: center; justify-content: center;
}
.hamburger span { width: 18px; height: 1px; background: var(--s-ink); transition: all .3s var(--ease); }
@media (min-width: 1024px) { .hamburger { display: none; } }

@media (max-width: 1023px) {
  .header-top { grid-template-columns: auto 1fr auto; padding: 12px var(--gutter); }
  .header-top-left { gap: 0; }
  .header-top-right { gap: 4px; }
  .icon-btn { width: 40px; height: 40px; }
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0;
  background: var(--s-ivory);
  z-index: 60;
  transform: translateX(-100%);
  transition: transform .5s var(--ease);
  overflow-y: auto;
  display: flex; flex-direction: column;
}
.mobile-menu.is-open { transform: translateX(0); }
.mm-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px var(--gutter);
  border-bottom: 1px solid var(--s-line);
}
.mm-close {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 300;
}
.mm-body { padding: 24px var(--gutter) 40px; flex: 1; }
.mm-section-label {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--s-muted); margin: 28px 0 14px;
  font-weight: 500;
}
.mm-section-label:first-child { margin-top: 0; }
.mm-link {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--s-line);
  font-family: var(--f-display);
  font-size: 22px; font-weight: 400;
  color: var(--s-graphite);
}
.mm-link.is-edit { color: var(--s-green); font-style: italic; }
.mm-link.is-sale { color: var(--s-oxblood); }
.mm-link svg { width: 14px; height: 14px; stroke: var(--s-muted); }
.mm-foot {
  padding: 24px var(--gutter);
  border-top: 1px solid var(--s-line);
  display: flex; justify-content: space-between; align-items: center;
  background: var(--s-paper);
}
.mm-foot .lang-switch { display: inline-flex; }
body.menu-open { overflow: hidden; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 999px;
  transition: all .35s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary { background: var(--s-graphite); color: var(--s-ivory); }
.btn-primary:hover { background: var(--s-green); }
.btn-ghost { background: transparent; color: var(--s-graphite); border-color: var(--s-graphite); }
.btn-ghost:hover { background: var(--s-graphite); color: var(--s-ivory); }
.btn-block { width: 100%; justify-content: center; }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.link-arrow {
  font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; font-weight: 500;
  color: var(--s-graphite);
  display: inline-flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--s-graphite);
  padding-bottom: 3px;
  transition: color .25s var(--ease);
}
.link-arrow:hover { color: var(--s-green); border-color: var(--s-green); }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--s-muted);
  font-weight: 500;
  padding: 18px 0 0;
}
.breadcrumb a { color: var(--s-muted); transition: color .2s var(--ease); }
.breadcrumb a:hover { color: var(--s-graphite); }
.breadcrumb .sep { margin: 0 10px; opacity: .5; }
.breadcrumb .current { color: var(--s-graphite); }

/* ---------- Page heading ---------- */
.page-head {
  padding: clamp(40px, 6vw, 80px) 0 clamp(28px, 4vw, 48px);
}
.page-head .s-eyebrow { display: block; margin-bottom: 14px; }
.page-head h1 {
  font-size: clamp(40px, 7vw, 88px);
  margin: 0 0 18px;
  font-weight: 400;
  font-family: var(--f-display);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--s-graphite);
}
.page-head h1 em { font-style: italic; color: var(--s-green); }
.page-head p {
  font-size: 16px;
  color: var(--s-muted);
  max-width: 56ch;
  margin: 0;
  line-height: 1.6;
}

/* ---------- Product card (shared) ---------- */
.product-card { position: relative; cursor: pointer; }
.product-card .card-media {
  position: relative;
  aspect-ratio: 3/4;
  background: var(--s-paper);
  overflow: hidden;
  margin-bottom: 14px;
}
.product-card .card-media svg,
.product-card .card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.product-card:hover .card-media svg,
.product-card:hover .card-media img { transform: scale(1.03); }

.card-badges {
  position: absolute; top: 12px; left: 12px;
  display: flex; flex-direction: column; gap: 6px; z-index: 2;
}
.badge-pill {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 5px 9px;
  background: var(--s-ivory);
  color: var(--s-graphite);
}
.badge-pill.is-edit { background: var(--s-green); color: var(--s-ivory); }
.badge-pill.is-pick { background: var(--s-oxblood); color: var(--s-ivory); }
.badge-pill.is-last { background: var(--s-graphite); color: var(--s-ivory); }
.badge-pill.is-sale { background: var(--s-oxblood); color: var(--s-ivory); }
/* Heritage / vintage variants */
.badge-pill.is-heritage { background: var(--s-ivory); color: var(--s-green); border: 1px solid var(--s-green); }
.badge-pill.is-one { background: var(--s-graphite); color: var(--s-ivory); font-style: italic; letter-spacing: 0.14em; }
.badge-pill.is-auctioned { background: var(--s-paper); color: var(--s-graphite); border: 1px solid var(--s-graphite); }

.card-info .card-era {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 12px;
  color: var(--s-green);
  margin-top: 1px;
}
.product-card.is-vintage .card-media {
  background: linear-gradient(180deg, #ece5d8 0%, #d8d0c1 100%);
}
.product-card.is-vintage .card-info .designer {
  color: var(--s-green);
  letter-spacing: 0.16em;
}

.card-wish {
  position: absolute; top: 10px; right: 10px;
  width: 34px; height: 34px;
  background: rgba(250,247,242,.92);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  transition: background .25s var(--ease);
}
.card-wish:hover { background: var(--s-ivory); }
.card-wish svg { width: 15px; height: 15px; stroke: var(--s-ink); fill: none; stroke-width: 1.5; transition: all .25s var(--ease); }
.card-wish.is-active svg { fill: var(--s-oxblood); stroke: var(--s-oxblood); }

.card-quick {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  background: var(--s-ivory);
  color: var(--s-graphite);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 12px 14px;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: all .35s var(--ease);
  z-index: 2;
}
.product-card:hover .card-quick { opacity: 1; transform: translateY(0); }
@media (max-width: 720px) { .card-quick { display: none; } }

.card-info { display: flex; flex-direction: column; gap: 3px; }
.card-info .designer {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--s-graphite);
  font-weight: 600;
}
.card-info .name { font-size: 13px; color: var(--s-muted); line-height: 1.4; }
.card-info .price { font-size: 13px; color: var(--s-graphite); font-weight: 500; margin-top: 4px; }
.card-info .price .strike { text-decoration: line-through; color: var(--s-muted); margin-right: 8px; font-weight: 400; }
.card-info .price .down { color: var(--s-oxblood); }

.prod-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 12px;
}
@media (min-width: 720px) { .prod-grid { grid-template-columns: repeat(3, 1fr); gap: 32px 20px; } }
@media (min-width: 1100px) { .prod-grid { grid-template-columns: repeat(4, 1fr); gap: 40px 24px; } }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--s-ivory);
  color: var(--s-graphite);
  padding: 80px 0 30px;
  border-top: 1px solid var(--s-line);
  margin-top: var(--section-y);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 24px;
  margin-bottom: 48px;
}
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.4fr repeat(4, 1fr); gap: 30px; }
}
.footer-brand .logo-mark { font-size: 32px; }
.footer-brand p {
  margin: 18px 0 24px;
  font-size: 13px; color: var(--s-muted);
  line-height: 1.7; max-width: 30ch;
}
.footer-socials { display: flex; gap: 14px; }
.footer-socials a {
  width: 36px; height: 36px;
  border: 1px solid var(--s-line);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .25s var(--ease);
}
.footer-socials a:hover { background: var(--s-graphite); color: var(--s-ivory); border-color: var(--s-graphite); }
.footer-socials svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.5; }

.footer-col h5 {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 18px;
  font-weight: 600;
  color: var(--s-graphite);
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--s-muted);
  padding: 4px 0;
  transition: color .25s var(--ease);
}
.footer-col a:hover { color: var(--s-graphite); }

.footer-bottom {
  border-top: 1px solid var(--s-line);
  padding-top: 24px;
  display: flex; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--s-muted);
  letter-spacing: 0.08em;
}
.footer-bottom .lang-currency { display: flex; gap: 18px; }
.footer-bottom .pill-mini {
  display: inline-flex; gap: 6px; align-items: center;
  border: 1px solid var(--s-line);
  padding: 6px 12px;
  border-radius: 999px;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--s-graphite);
  color: var(--s-ivory);
  padding: 14px 22px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  z-index: 100;
  opacity: 0;
  transition: all .35s var(--ease);
  border-radius: 999px;
  font-weight: 500;
}
.toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Cart drawer ---------- */
.cart-drawer {
  position: fixed; top: 0; right: 0;
  width: 100%; max-width: 420px; height: 100vh;
  background: var(--s-ivory);
  z-index: 70;
  transform: translateX(100%);
  transition: transform .4s var(--ease);
  display: flex; flex-direction: column;
  box-shadow: -10px 0 40px rgba(0,0,0,.06);
}
.cart-drawer.is-open { transform: translateX(0); }
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(26,26,26,.4);
  z-index: 65;
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease);
}
.cart-overlay.is-open { opacity: 1; pointer-events: auto; }
.cart-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px;
  border-bottom: 1px solid var(--s-line);
}
.cart-head h3 {
  font-family: var(--f-display);
  font-size: 22px; font-weight: 500;
  margin: 0; letter-spacing: -0.01em;
}
.cart-head h3 em { font-style: italic; color: var(--s-green); }
.cart-body { flex: 1; overflow-y: auto; padding: 22px; }
.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--s-muted);
}
.cart-empty .icon {
  width: 60px; height: 60px;
  margin: 0 auto 20px;
  border: 1px solid var(--s-line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.cart-empty .icon svg { width: 24px; height: 24px; stroke: var(--s-muted); fill: none; stroke-width: 1.5; }
.cart-empty h4 {
  font-family: var(--f-display);
  font-size: 22px; font-weight: 500;
  margin: 0 0 8px;
  color: var(--s-graphite);
}

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--s-line);
}
.cart-item .ci-img { aspect-ratio: 3/4; background: var(--s-paper); overflow: hidden; }
.cart-item .ci-img img, .cart-item .ci-img svg { width: 100%; height: 100%; object-fit: cover; }
.cart-item .ci-info { display: flex; flex-direction: column; gap: 4px; }
.cart-item .ci-info .designer { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.cart-item .ci-info .name { font-size: 13px; color: var(--s-muted); }
.cart-item .ci-info .meta { font-size: 11px; color: var(--s-muted); margin-top: 4px; }
.cart-item .ci-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.cart-item .ci-price { font-weight: 500; font-size: 13px; }
.cart-item .ci-remove { font-size: 11px; color: var(--s-muted); border-bottom: 1px solid currentColor; padding-bottom: 1px; }

.cart-foot {
  border-top: 1px solid var(--s-line);
  padding: 22px;
  background: var(--s-paper);
}
.cart-foot .row {
  display: flex; justify-content: space-between;
  font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 8px;
}
.cart-foot .row.total {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 22px;
  letter-spacing: 0;
  text-transform: none;
  margin: 14px 0 18px;
  color: var(--s-graphite);
  font-weight: 500;
}
.cart-foot .ship-note {
  font-size: 11px; color: var(--s-muted);
  margin-bottom: 14px;
}

/* =========================================================
   PAGE-SPECIFIC STYLES
   ========================================================= */

/* ---------- COLLECTION PAGE ---------- */
.collection-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--s-line);
  border-bottom: 1px solid var(--s-line);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  flex-wrap: wrap;
  gap: 10px;
}
.collection-toolbar .left, .collection-toolbar .right { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.collection-toolbar .count { color: var(--s-muted); }
.toolbar-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--s-line);
  border-radius: 999px;
  transition: all .25s var(--ease);
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 500;
}
.toolbar-btn:hover { border-color: var(--s-graphite); }
.toolbar-btn svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 1.5; }

.collection-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-top: 32px;
}
@media (min-width: 1024px) {
  .collection-layout { grid-template-columns: 240px 1fr; gap: 48px; }
}
.filters-panel {
  display: none;
  position: sticky; top: 130px;
  align-self: flex-start;
}
@media (min-width: 1024px) { .filters-panel { display: block; } }
.filter-group { padding: 18px 0; border-bottom: 1px solid var(--s-line); }
.filter-group:first-child { padding-top: 0; }
.filter-group h4 {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 14px;
  color: var(--s-graphite);
}
.filter-list { display: flex; flex-direction: column; gap: 9px; }
.filter-list label {
  display: flex; gap: 10px; align-items: center;
  font-size: 13px;
  color: var(--s-graphite);
  cursor: pointer;
}
.filter-list input[type="checkbox"] {
  width: 14px; height: 14px;
  border: 1px solid var(--s-warm);
  background: var(--s-ivory);
  appearance: none;
  cursor: pointer;
  position: relative;
}
.filter-list input[type="checkbox"]:checked {
  background: var(--s-graphite);
  border-color: var(--s-graphite);
}
.filter-list input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 3px; top: 0;
  width: 4px; height: 8px;
  border: solid var(--s-ivory);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.filter-list .count { color: var(--s-muted); font-size: 11px; margin-left: auto; }

.color-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.color-swatch {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid var(--s-line);
  cursor: pointer;
  transition: transform .2s var(--ease);
}
.color-swatch:hover { transform: scale(1.15); }
.color-swatch.is-active { box-shadow: 0 0 0 2px var(--s-ivory), 0 0 0 3px var(--s-graphite); }

/* Collection hero (banner per collection) */
.collection-hero {
  background: var(--s-paper);
  padding: clamp(40px, 6vw, 80px) 0;
  margin: 0 calc(var(--gutter) * -1) 32px;
  padding-left: var(--gutter); padding-right: var(--gutter);
  position: relative;
  overflow: hidden;
}
.collection-hero::before {
  content: attr(data-watermark);
  position: absolute;
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(120px, 22vw, 320px);
  font-weight: 300;
  color: var(--s-stone);
  opacity: .4;
  top: -10px; right: -20px;
  line-height: 0.8;
  pointer-events: none;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

/* Mobile filter drawer */
.filter-drawer {
  position: fixed; top: 0; left: 0;
  width: 100%; max-width: 360px; height: 100vh;
  background: var(--s-ivory);
  z-index: 70;
  transform: translateX(-100%);
  transition: transform .4s var(--ease);
  display: flex; flex-direction: column;
}
.filter-drawer.is-open { transform: translateX(0); }
.filter-drawer-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px var(--gutter);
  border-bottom: 1px solid var(--s-line);
}
.filter-drawer-body { flex: 1; overflow-y: auto; padding: 0 var(--gutter); }
.filter-drawer-foot {
  padding: 18px var(--gutter);
  border-top: 1px solid var(--s-line);
  display: flex; gap: 10px;
}

/* ---------- PRODUCT (PDP) ---------- */
.pdp-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-top: 24px;
}
@media (min-width: 900px) { .pdp-layout { grid-template-columns: 1.2fr 1fr; gap: 56px; } }

.pdp-gallery { display: flex; flex-direction: column; gap: 8px; }
.pdp-main-img {
  aspect-ratio: 4/5;
  background: var(--s-paper);
  width: 100%;
  position: relative;
  overflow: hidden;
}
.pdp-main-img img, .pdp-main-img svg {
  width: 100%; height: 100%;
  object-fit: cover;
}
.pdp-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.pdp-thumb {
  aspect-ratio: 4/5;
  background: var(--s-paper);
  cursor: pointer;
  overflow: hidden;
  border: 1px solid transparent;
  transition: border-color .25s var(--ease);
}
.pdp-thumb.is-active { border-color: var(--s-graphite); }
.pdp-thumb img, .pdp-thumb svg { width: 100%; height: 100%; object-fit: cover; }

.pdp-info {
  display: flex; flex-direction: column; gap: 14px;
  padding-top: 8px;
}
@media (min-width: 900px) {
  .pdp-info { position: sticky; top: 130px; align-self: flex-start; padding: 12px 0 0; }
}
.pdp-info .designer {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--s-graphite);
  font-weight: 600;
}
.pdp-info .designer a { color: var(--s-graphite); border-bottom: 1px solid transparent; transition: border-color .2s var(--ease); }
.pdp-info .designer a:hover { border-color: var(--s-graphite); }
.pdp-info h1 {
  font-family: var(--f-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--s-graphite);
}
.pdp-info .price {
  font-size: 18px;
  font-weight: 500;
  color: var(--s-graphite);
  margin: 8px 0 6px;
}
.pdp-info .tax-note {
  font-size: 11px;
  color: var(--s-muted);
  letter-spacing: 0.05em;
}
.pdp-info .description {
  font-size: 14px;
  color: var(--s-graphite);
  line-height: 1.7;
  margin: 16px 0 4px;
}

.pdp-section {
  padding: 18px 0;
  border-top: 1px solid var(--s-line);
}
.pdp-section h4 {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 14px;
  color: var(--s-graphite);
  display: flex; justify-content: space-between; align-items: center;
}
.pdp-section h4 .size-guide {
  font-size: 11px;
  color: var(--s-muted);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  cursor: pointer;
}

.size-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}
.size-grid button {
  padding: 12px 0;
  border: 1px solid var(--s-line);
  background: var(--s-ivory);
  font-size: 12px;
  letter-spacing: 0.1em;
  font-weight: 500;
  transition: all .2s var(--ease);
  cursor: pointer;
}
.size-grid button:hover { border-color: var(--s-graphite); }
.size-grid button.is-active {
  background: var(--s-graphite);
  color: var(--s-ivory);
  border-color: var(--s-graphite);
}
.size-grid button.is-disabled {
  color: var(--s-warm);
  text-decoration: line-through;
  cursor: not-allowed;
  background: var(--s-paper);
}

.pdp-actions {
  display: flex; gap: 8px;
  padding: 18px 0;
}
.pdp-actions .btn-block { flex: 1; }
.pdp-wish-btn {
  width: 50px; height: 50px;
  border: 1px solid var(--s-graphite);
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .25s var(--ease);
  flex-shrink: 0;
}
.pdp-wish-btn svg { width: 16px; height: 16px; stroke: var(--s-graphite); fill: none; stroke-width: 1.5; }
.pdp-wish-btn:hover { background: var(--s-graphite); }
.pdp-wish-btn:hover svg { stroke: var(--s-ivory); }
.pdp-wish-btn.is-active svg { fill: var(--s-oxblood); stroke: var(--s-oxblood); }

.pdp-accordion {
  border-top: 1px solid var(--s-line);
}
.pdp-accordion details {
  border-bottom: 1px solid var(--s-line);
}
.pdp-accordion summary {
  padding: 18px 0;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  list-style: none;
  user-select: none;
}
.pdp-accordion summary::-webkit-details-marker { display: none; }
.pdp-accordion summary::after {
  content: "+";
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 300;
  transition: transform .3s var(--ease);
}
.pdp-accordion details[open] summary::after { content: "−"; }
.pdp-accordion .ac-content {
  padding: 0 0 18px;
  font-size: 13px;
  color: var(--s-muted);
  line-height: 1.7;
}
.pdp-accordion .ac-content ul { padding-left: 18px; list-style: disc; }
.pdp-accordion .ac-content li { margin: 4px 0; }

.pdp-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--s-line);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--s-muted);
  text-transform: uppercase;
  font-weight: 500;
  text-align: center;
}
.pdp-services svg { width: 18px; height: 18px; stroke: var(--s-graphite); fill: none; stroke-width: 1.5; margin: 0 auto 8px; }

/* ---------- EDIT (Saint77 Edit landing) ---------- */
.edit-hero {
  position: relative;
  padding: clamp(60px, 10vw, 140px) 0 clamp(40px, 6vw, 80px);
  overflow: hidden;
}
.edit-hero::before {
  content: "EDIT";
  position: absolute;
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(220px, 38vw, 580px);
  font-weight: 300;
  color: var(--s-stone);
  opacity: .35;
  top: 40px; right: -60px;
  line-height: 0.8;
  pointer-events: none;
  letter-spacing: -0.04em;
}
.edit-hero-inner { position: relative; }
.edit-hero h1 {
  font-family: var(--f-display);
  font-size: clamp(56px, 11vw, 160px);
  font-weight: 400;
  line-height: 0.95;
  margin: 18px 0 24px;
  letter-spacing: -0.02em;
  color: var(--s-graphite);
}
.edit-hero h1 em { font-style: italic; color: var(--s-green); }
.edit-hero .lede {
  font-size: 18px;
  color: var(--s-graphite);
  max-width: 56ch;
  line-height: 1.6;
  margin: 0 0 32px;
}
.edit-hero .meta {
  display: flex; gap: 24px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--s-muted);
  font-weight: 500;
  flex-wrap: wrap;
}
.edit-hero .meta b { color: var(--s-green); font-weight: 600; }

/* Edit chapter */
.edit-chapter {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: clamp(40px, 6vw, 80px) 0;
  border-top: 1px solid var(--s-line);
}
@media (min-width: 900px) {
  .edit-chapter { grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
  .edit-chapter.is-flipped { grid-template-columns: 7fr 5fr; direction: rtl; }
  .edit-chapter.is-flipped > * { direction: ltr; }
}
.edit-chapter .ch-img {
  aspect-ratio: 4/5;
  background: var(--s-paper);
  overflow: hidden;
}
.edit-chapter .ch-img img, .edit-chapter .ch-img svg { width: 100%; height: 100%; object-fit: cover; }
.edit-chapter .ch-num {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 14px;
  color: var(--s-oxblood);
  margin-bottom: 14px;
}
.edit-chapter h2 {
  font-family: var(--f-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  margin: 0 0 18px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--s-graphite);
}
.edit-chapter h2 em { font-style: italic; color: var(--s-green); }
.edit-chapter p {
  font-size: 15px;
  color: var(--s-graphite);
  line-height: 1.7;
  margin: 0 0 22px;
  max-width: 50ch;
}

/* ---------- DESIGNERS PAGE ---------- */
.designer-feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: clamp(40px, 6vw, 80px) 0;
  border-bottom: 1px solid var(--s-line);
}
@media (min-width: 900px) {
  .designer-feature { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
}
.designer-feature .df-img {
  aspect-ratio: 4/5;
  background: var(--s-paper);
  overflow: hidden;
}
.designer-feature .df-img img, .designer-feature .df-img svg { width: 100%; height: 100%; object-fit: cover; }
.designer-feature .df-info { padding: 16px 0; }
.designer-feature h2 {
  font-family: var(--f-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
  line-height: 1;
}
.designer-feature .df-meta {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--s-muted);
  margin-bottom: 18px;
}
.designer-feature .df-meta b { color: var(--s-green); font-weight: 600; }
.designer-feature p {
  font-size: 14px;
  color: var(--s-graphite);
  line-height: 1.7;
  margin: 0 0 22px;
  max-width: 48ch;
}

/* A-Z directory */
.az-letters {
  display: flex; flex-wrap: wrap; gap: 4px;
  padding: 22px 0;
  border-top: 1px solid var(--s-line);
  border-bottom: 1px solid var(--s-line);
  margin-bottom: 32px;
  justify-content: center;
}
.az-letters button {
  width: 32px; height: 32px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--s-muted);
  border-radius: 50%;
  transition: all .2s var(--ease);
}
.az-letters button.has-content { color: var(--s-graphite); }
.az-letters button.has-content:hover { background: var(--s-paper); }
.az-letters button.is-active { background: var(--s-graphite); color: var(--s-ivory); }
.az-letters button.is-disabled { opacity: .25; cursor: default; }

.designer-az-group {
  margin-bottom: 32px;
}
.designer-az-group .az-label {
  font-family: var(--f-display);
  font-size: 48px;
  font-weight: 400;
  font-style: italic;
  color: var(--s-green);
  margin-bottom: 18px;
  border-bottom: 1px solid var(--s-line);
  padding-bottom: 14px;
}
.designer-az-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
}
@media (min-width: 720px) { .designer-az-list { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .designer-az-list { grid-template-columns: repeat(4, 1fr); } }
.designer-az-list a {
  font-size: 14px;
  padding: 10px 0;
  display: flex; justify-content: space-between; align-items: baseline;
  color: var(--s-graphite);
  transition: color .25s var(--ease);
}
.designer-az-list a:hover { color: var(--s-green); }
.designer-az-list .count { font-size: 11px; color: var(--s-muted); }
.designer-az-list a.is-new::after {
  content: "NEW";
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--s-oxblood);
  font-weight: 600;
  margin-left: 8px;
}

/* ---------- JOURNAL PAGE ---------- */
.journal-feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: clamp(28px, 4vw, 56px) 0 clamp(40px, 6vw, 80px);
  padding-bottom: clamp(40px, 6vw, 80px);
  border-bottom: 1px solid var(--s-line);
}
@media (min-width: 900px) {
  .journal-feature { grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
}
.journal-feature .jf-img {
  aspect-ratio: 4/3;
  background: var(--s-paper);
  overflow: hidden;
}
.journal-feature .jf-img img, .journal-feature .jf-img svg { width: 100%; height: 100%; object-fit: cover; }
.journal-feature .jf-cat {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--s-oxblood);
  font-weight: 600;
  margin-bottom: 12px;
}
.journal-feature h2 {
  font-family: var(--f-display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 400;
  margin: 0 0 16px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--s-graphite);
}
.journal-feature p {
  font-size: 15px;
  color: var(--s-muted);
  line-height: 1.7;
  margin: 0 0 22px;
  max-width: 50ch;
}
.journal-feature .meta {
  font-size: 11px;
  color: var(--s-muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.journal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
@media (min-width: 720px) { .journal-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
@media (min-width: 1100px) { .journal-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

.journal-card { display: flex; flex-direction: column; gap: 14px; cursor: pointer; }
.journal-card .j-img {
  aspect-ratio: 4/5;
  background: var(--s-paper);
  overflow: hidden;
}
.journal-card .j-img img, .journal-card .j-img svg { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.journal-card:hover .j-img img, .journal-card:hover .j-img svg { transform: scale(1.04); }
.journal-card .j-cat {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--s-oxblood);
  font-weight: 600;
}
.journal-card h3 {
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 500;
  margin: 6px 0 6px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.journal-card p {
  font-size: 13px;
  color: var(--s-muted);
  margin: 0 0 8px;
  line-height: 1.55;
}
.journal-card .meta { font-size: 11px; color: var(--s-muted); letter-spacing: 0.14em; text-transform: uppercase; }

.journal-tabs {
  display: flex; gap: 24px;
  overflow-x: auto;
  margin: 0 0 32px;
  padding-bottom: 0;
  border-bottom: 1px solid var(--s-line);
}
.journal-tabs button {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0 0 16px;
  color: var(--s-muted);
  white-space: nowrap;
  position: relative;
  transition: color .25s var(--ease);
}
.journal-tabs button.is-active { color: var(--s-graphite); }
.journal-tabs button.is-active::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px;
  height: 1px; background: var(--s-graphite);
}

/* ---------- ARTICLE PAGE ---------- */
.article-hero {
  padding: clamp(40px, 6vw, 80px) 0;
  text-align: center;
}
.article-hero .a-cat {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--s-oxblood);
  font-weight: 600;
  margin-bottom: 18px;
}
.article-hero h1 {
  font-family: var(--f-display);
  font-size: clamp(40px, 6.5vw, 80px);
  font-weight: 400;
  margin: 0 auto 22px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--s-graphite);
  max-width: 22ch;
}
.article-hero h1 em { font-style: italic; color: var(--s-green); }
.article-hero .a-meta {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--s-muted);
  font-weight: 500;
  display: flex; justify-content: center; gap: 20px;
  flex-wrap: wrap;
}
.article-feature-img {
  aspect-ratio: 16/9;
  background: var(--s-paper);
  margin: 0 calc(var(--gutter) * -1) clamp(40px, 6vw, 64px);
  overflow: hidden;
}
.article-feature-img img, .article-feature-img svg { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1024px) {
  .article-feature-img {
    margin-left: 0; margin-right: 0;
    border-radius: 0;
  }
}
.article-body {
  max-width: 680px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.75;
  color: var(--s-graphite);
}
.article-body .lede {
  font-family: var(--f-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 400;
  font-style: italic;
  color: var(--s-graphite);
  line-height: 1.4;
  margin: 0 0 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--s-line);
}
.article-body p { margin: 0 0 22px; }
.article-body h2 {
  font-family: var(--f-display);
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 500;
  margin: 48px 0 18px;
  letter-spacing: -0.01em;
  color: var(--s-graphite);
}
.article-body h2 em { font-style: italic; color: var(--s-green); }
.article-body blockquote {
  font-family: var(--f-display);
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.3;
  color: var(--s-green);
  margin: 36px 0;
  padding: 0 0 0 24px;
  border-left: 2px solid var(--s-green);
  letter-spacing: -0.01em;
}
.article-body .pull-img {
  aspect-ratio: 16/10;
  background: var(--s-paper);
  margin: 36px 0;
  overflow: hidden;
}
.article-body .pull-img img, .article-body .pull-img svg { width: 100%; height: 100%; object-fit: cover; }
.article-body .pull-img .caption {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--s-muted);
  margin-top: 10px;
  font-weight: 500;
}

/* In-article shop module */
.shop-module {
  background: var(--s-paper);
  padding: 32px;
  margin: 36px 0;
}
.shop-module h4 {
  font-family: var(--f-display);
  font-size: 22px;
  font-style: italic;
  font-weight: 500;
  margin: 0 0 18px;
  color: var(--s-graphite);
}
.shop-module-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 720px) { .shop-module-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- STYLIST PAGE ---------- */
.stylist-page {
  background: var(--s-graphite);
  color: var(--s-ivory);
  min-height: calc(100vh - 60px);
  padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 120px);
  position: relative;
  overflow: hidden;
}
.stylist-page::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 600px at 80% 20%, rgba(31,61,43,.4) 0%, transparent 60%),
    radial-gradient(700px 500px at 10% 80%, rgba(138,28,28,.15) 0%, transparent 60%);
  pointer-events: none;
}
.stylist-page .s-eyebrow { color: #a8c9b3; }
.stylist-page-head {
  text-align: center;
  margin-bottom: 48px;
  position: relative;
}
.stylist-page-head h1 {
  font-family: var(--f-display);
  font-size: clamp(48px, 8vw, 100px);
  font-weight: 400;
  margin: 18px 0 24px;
  line-height: 0.95;
  color: var(--s-ivory);
  letter-spacing: -0.02em;
}
.stylist-page-head h1 em { font-style: italic; color: #c1d9c8; }
.stylist-page-head p {
  font-size: 16px;
  color: rgba(250,247,242,.7);
  max-width: 56ch;
  margin: 0 auto;
  line-height: 1.6;
}

.stylist-panel-large {
  background: var(--s-ivory);
  color: var(--s-graphite);
  padding: 28px;
  display: flex; flex-direction: column; gap: 22px;
  min-height: 600px;
  max-width: 880px;
  margin: 0 auto;
  box-shadow: 0 30px 80px rgba(0,0,0,.25);
  position: relative;
}
.stylist-panel-large .stylist-thread { max-height: none; min-height: 380px; }

.stylist-panel-head {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--s-line);
}
.stylist-mark {
  width: 36px; height: 36px;
  background: var(--s-green); color: var(--s-ivory);
  font-family: var(--f-display); font-style: italic;
  font-size: 18px; font-weight: 500;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
.stylist-panel-head .title { font-family: var(--f-display); font-size: 18px; font-weight: 500; }
.stylist-panel-head .title em { font-style: italic; }
.stylist-panel-head .sub {
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--s-muted); font-weight: 500;
}
.stylist-panel-head .live-dot {
  margin-left: auto;
  display: flex; align-items: center; gap: 6px;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--s-green); font-weight: 600;
}
.stylist-panel-head .live-dot::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--s-green);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.35} }

.stylist-thread {
  flex: 1;
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 14px;
  padding-right: 4px;
  max-height: 380px;
}
.bubble {
  max-width: 88%;
  padding: 12px 16px;
  font-size: 13.5px;
  line-height: 1.55;
  border-radius: 14px;
}
.bubble.user {
  align-self: flex-end;
  background: var(--s-graphite); color: var(--s-ivory);
  border-bottom-right-radius: 4px;
}
.bubble.ai {
  align-self: flex-start;
  background: var(--s-paper); color: var(--s-graphite);
  border-bottom-left-radius: 4px;
}
.bubble.ai b { color: var(--s-green); font-weight: 600; }

.outfit-card {
  align-self: flex-start;
  width: 100%;
  background: var(--s-ivory);
  border: 1px solid var(--s-line);
  padding: 14px;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 14px;
  align-items: center;
  cursor: pointer;
  transition: border-color .25s var(--ease);
}
.outfit-card:hover { border-color: var(--s-graphite); }
.outfit-card .outfit-img {
  aspect-ratio: 3/4;
  background: var(--s-paper);
  width: 100%;
  overflow: hidden;
}
.outfit-card .outfit-img img, .outfit-card .outfit-img svg { width: 100%; height: 100%; object-fit: cover; }
.outfit-card .outfit-info b { font-family: var(--f-display); font-size: 16px; font-weight: 500; display: block; margin-bottom: 2px; }
.outfit-card .outfit-info .meta { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--s-muted); font-weight: 500; }
.outfit-card .outfit-info .price { font-size: 13px; margin-top: 6px; font-weight: 500; }

.stylist-chips { display: flex; gap: 8px; flex-wrap: wrap; padding-bottom: 4px; }
.chip {
  font-size: 11px;
  padding: 8px 14px;
  background: var(--s-paper);
  border: 1px solid var(--s-line);
  border-radius: 999px;
  color: var(--s-graphite);
  white-space: nowrap;
  transition: all .25s var(--ease);
  cursor: pointer;
}
.chip:hover { background: var(--s-graphite); color: var(--s-ivory); border-color: var(--s-graphite); }

.stylist-input {
  display: flex; gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--s-line);
}
.stylist-input input {
  flex: 1;
  padding: 14px 16px;
  border: 1px solid var(--s-line);
  background: var(--s-ivory);
  font-size: 14px;
  border-radius: 999px;
  outline: none;
  transition: border-color .25s var(--ease);
}
.stylist-input input:focus { border-color: var(--s-graphite); }
.stylist-input button {
  width: 46px; height: 46px;
  background: var(--s-graphite);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s var(--ease);
}
.stylist-input button:hover { background: var(--s-green); }
.stylist-input button svg { width: 16px; height: 16px; stroke: var(--s-ivory); fill: none; stroke-width: 1.5; }

/* ---------- CART PAGE (full-page version, separate from drawer) ---------- */
.cart-page-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 32px 0;
}
@media (min-width: 900px) {
  .cart-page-layout { grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: flex-start; }
}

.cart-page-items {
  border-top: 1px solid var(--s-line);
}
.cart-page-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--s-line);
}
@media (min-width: 600px) {
  .cart-page-item { grid-template-columns: 120px 1fr auto; }
}
.cart-page-item .ci-img {
  aspect-ratio: 3/4;
  background: var(--s-paper);
  overflow: hidden;
}
.cart-page-item .ci-img img, .cart-page-item .ci-img svg { width: 100%; height: 100%; object-fit: cover; }
.cart-page-item h3 {
  font-family: var(--f-display);
  font-size: 22px; font-weight: 500;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.cart-page-item .designer {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--s-graphite);
  margin-bottom: 8px;
}
.cart-page-item .meta-row {
  font-size: 12px;
  color: var(--s-muted);
  margin-bottom: 12px;
}
.cart-page-item .actions {
  display: flex;
  gap: 16px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
}
.cart-page-item .actions button {
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  color: var(--s-muted);
  transition: color .2s var(--ease);
}
.cart-page-item .actions button:hover { color: var(--s-graphite); }

.qty-stepper {
  display: inline-flex;
  border: 1px solid var(--s-line);
  border-radius: 999px;
  align-items: center;
  overflow: hidden;
}
.qty-stepper button {
  width: 32px; height: 32px;
  font-size: 14px;
  font-weight: 400;
  transition: background .2s var(--ease);
}
.qty-stepper button:hover { background: var(--s-paper); }
.qty-stepper span {
  min-width: 24px; text-align: center;
  font-size: 13px; font-weight: 500;
}

.cart-page-item .price-col {
  text-align: right;
  font-size: 16px; font-weight: 500;
}

.cart-summary {
  background: var(--s-paper);
  padding: 28px;
  position: sticky;
  top: 130px;
}
.cart-summary h3 {
  font-family: var(--f-display);
  font-size: 24px; font-weight: 500;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}
.cart-summary h3 em { font-style: italic; color: var(--s-green); }
.cart-summary .row {
  display: flex; justify-content: space-between;
  padding: 10px 0;
  font-size: 13px;
  color: var(--s-graphite);
}
.cart-summary .row.total {
  border-top: 1px solid var(--s-line);
  margin-top: 10px;
  padding-top: 18px;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 22px;
  font-weight: 500;
}
.cart-summary .promo-row {
  display: flex; gap: 6px;
  margin: 14px 0 6px;
}
.cart-summary .promo-row input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--s-line);
  background: var(--s-ivory);
  font-size: 13px;
  outline: none;
}
.cart-summary .promo-row button {
  padding: 10px 16px;
  background: var(--s-graphite);
  color: var(--s-ivory);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
}
.cart-summary .ship-progress {
  height: 4px;
  background: var(--s-stone);
  border-radius: 2px;
  margin: 14px 0 8px;
  overflow: hidden;
}
.cart-summary .ship-progress > div {
  height: 100%;
  background: var(--s-green);
  transition: width .5s var(--ease);
}
.cart-summary .ship-note {
  font-size: 11px;
  color: var(--s-muted);
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}
.cart-summary .pay-options {
  display: flex; gap: 8px;
  margin-top: 18px;
  flex-wrap: wrap;
  justify-content: center;
}
.cart-summary .pay-pill {
  font-size: 9px;
  padding: 6px 10px;
  border: 1px solid var(--s-line);
  background: var(--s-ivory);
  border-radius: 999px;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--s-graphite);
}

/* ---------- WISHLIST PAGE ---------- */
.wishlist-empty {
  text-align: center;
  padding: 80px 20px;
  max-width: 480px;
  margin: 0 auto;
}
.wishlist-empty .icon {
  width: 72px; height: 72px;
  margin: 0 auto 24px;
  border: 1px solid var(--s-line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.wishlist-empty .icon svg { width: 28px; height: 28px; stroke: var(--s-graphite); fill: none; stroke-width: 1.2; }
.wishlist-empty h2 {
  font-family: var(--f-display);
  font-size: 32px; font-weight: 500;
  margin: 0 0 12px;
}
.wishlist-empty p {
  color: var(--s-muted);
  font-size: 15px;
  margin: 0 0 24px;
}

/* ---------- ACCOUNT PAGE ---------- */
.account-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 32px 0;
}
@media (min-width: 900px) {
  .account-layout { grid-template-columns: 240px 1fr; gap: 56px; }
}
.account-nav {
  display: flex; flex-direction: column;
  gap: 4px;
}
.account-nav a {
  padding: 12px 0;
  font-size: 13px;
  color: var(--s-graphite);
  border-bottom: 1px solid var(--s-line);
  display: flex; justify-content: space-between; align-items: center;
  transition: color .25s var(--ease);
}
.account-nav a:hover { color: var(--s-green); }
.account-nav a.is-active { color: var(--s-green); font-weight: 500; }
.account-nav a svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.5; }

.account-block { padding: 0 0 32px; border-bottom: 1px solid var(--s-line); margin-bottom: 32px; }
.account-block h3 {
  font-family: var(--f-display);
  font-size: 26px; font-weight: 500;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}

/* ---------- AUTH (sign in) form ---------- */
.auth-card {
  max-width: 420px; margin: 60px auto;
  padding: 36px;
  background: var(--s-paper);
}
.auth-card h2 {
  font-family: var(--f-display);
  font-size: 32px; font-weight: 500;
  text-align: center;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.auth-card .lede {
  text-align: center;
  font-size: 13px;
  color: var(--s-muted);
  margin: 0 0 28px;
}
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.form-field {
  display: flex; flex-direction: column; gap: 6px;
}
.form-field label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--s-muted);
}
.form-field input {
  padding: 12px 14px;
  border: 1px solid var(--s-line);
  background: var(--s-ivory);
  font-size: 14px;
  outline: none;
  transition: border-color .25s var(--ease);
}
.form-field input:focus { border-color: var(--s-graphite); }
.auth-card .alt {
  text-align: center;
  margin-top: 18px;
  font-size: 12px;
  color: var(--s-muted);
}
.auth-card .alt a { color: var(--s-graphite); border-bottom: 1px solid var(--s-graphite); padding-bottom: 1px; }

/* ---------- SEARCH PAGE ---------- */
.search-bar {
  position: relative;
  max-width: 720px;
  margin: 0 auto 36px;
}
.search-bar input {
  width: 100%;
  padding: 22px 56px 22px 24px;
  border: 1px solid var(--s-line);
  background: var(--s-paper);
  font-family: var(--f-display);
  font-size: 26px;
  outline: none;
  letter-spacing: -0.01em;
}
.search-bar input:focus { border-color: var(--s-graphite); }
.search-bar button {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  background: var(--s-graphite);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.search-bar button svg { width: 16px; height: 16px; stroke: var(--s-ivory); fill: none; stroke-width: 1.5; }

.search-suggestions {
  display: flex; gap: 8px; flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 36px;
}

/* ---------- CONTENT (about, customer-care, generic content) ---------- */
.content-page {
  padding: clamp(40px, 6vw, 80px) 0;
}
.content-narrow {
  max-width: 760px;
  margin: 0 auto;
}
.content-page h2 {
  font-family: var(--f-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  margin: 56px 0 18px;
  letter-spacing: -0.01em;
  color: var(--s-graphite);
}
.content-page h2 em { font-style: italic; color: var(--s-green); }
.content-page p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--s-graphite);
  margin: 0 0 18px;
}
.content-page .lede {
  font-family: var(--f-display);
  font-size: clamp(20px, 3vw, 26px);
  font-style: italic;
  font-weight: 400;
  color: var(--s-graphite);
  line-height: 1.4;
  margin: 0 0 36px;
}

.faq-list { border-top: 1px solid var(--s-line); }
.faq-list details {
  border-bottom: 1px solid var(--s-line);
}
.faq-list summary {
  padding: 22px 0;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 500;
  list-style: none;
  user-select: none;
  letter-spacing: -0.01em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; font-size: 24px;
  font-weight: 300; color: var(--s-green);
  transition: transform .3s var(--ease);
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list .ac-content {
  padding: 0 0 22px;
  font-size: 14px;
  color: var(--s-muted);
  line-height: 1.7;
  max-width: 70ch;
}

/* ---------- CHECKOUT progress ---------- */
.checkout-steps {
  display: flex; gap: 24px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--s-muted);
  margin-bottom: 32px;
  border-bottom: 1px solid var(--s-line);
  padding-bottom: 22px;
  flex-wrap: wrap;
}
.checkout-steps span { display: inline-flex; align-items: center; gap: 8px; }
.checkout-steps span.is-active { color: var(--s-graphite); }
.checkout-steps span.is-active::before {
  content: ""; width: 8px; height: 8px;
  background: var(--s-green); border-radius: 50%;
}
.checkout-steps .sep { color: var(--s-stone); }
