/* =====================================================================
   The Good Sale — Storefront stylesheet
   Editorial / boutique aesthetic. Warm bone background + ink type.
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bone:        #F4F0E8;
  --bone-2:      #EDE7DA;
  --bone-3:      #E3DCCB;
  --paper:       #FBF8F2;
  --ink:         #0E0E0C;
  --ink-2:       #1F1E1B;
  --ink-soft:    #4B4A45;
  --muted:       #8A887F;
  --line:        rgba(14,14,12,.10);
  --line-2:      rgba(14,14,12,.18);
  --moss:        #1F3A2D;
  --moss-2:      #16291f;
  --rust:        #8A3A1E;
  --gold:        #B98A2E;
  --sale:        #B43E2E;

  --r-sm: 4px;
  --r-md: 10px;
  --r-lg: 18px;
  --r-pill: 999px;

  --t-fast: 160ms cubic-bezier(.2,.7,.2,1);
  --t-med:  280ms cubic-bezier(.2,.7,.2,1);
  --t-slow: 520ms cubic-bezier(.2,.7,.2,1);

  --shadow-sm: 0 1px 2px rgba(14,14,12,.06);
  --shadow-md: 0 8px 24px rgba(14,14,12,.08);
  --shadow-lg: 0 24px 60px rgba(14,14,12,.16);

  --hdr-h: 64px;
  --announce-h: 34px;

  --maxw: 1440px;
  --gutter: clamp(16px, 3vw, 40px);

  --f-display: "Fraunces", "Times New Roman", Georgia, serif;
  --f-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  background: var(--bone);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
hr { border: 0; border-top: 1px solid var(--line); }

/* ---------- Typography helpers ---------- */
.serif { font-family: var(--f-display); font-variation-settings: "opsz" 32, "SOFT" 60; letter-spacing: -.01em; }
.eyebrow { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px;
  border-radius: var(--r-pill);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .02em;
  transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  border: 1px solid transparent;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--moss); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--block { width: 100%; }
.btn--lg { padding: 16px 28px; font-size: 15px; }
.btn--sm { padding: 9px 14px; font-size: 12.5px; }

/* ---------- Pills / tags ---------- */
.pill {
  display: inline-flex; align-items: center;
  padding: 4px 10px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--ink-soft);
  background: var(--paper);
}
.tag-soldout { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tag-new { background: var(--moss); color: var(--paper); border-color: var(--moss); }
.tag-sale { background: var(--sale); color: var(--paper); border-color: var(--sale); }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--ink);
  color: var(--paper);
  height: var(--announce-h);
  overflow: hidden;
  position: relative;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.announce__track {
  display: flex; gap: 36px; align-items: center;
  height: 100%;
  white-space: nowrap;
  animation: marquee 32s linear infinite;
  padding-left: 36px;
}
.announce__track span { opacity: .92; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244,240,232,.86);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.hdr__row {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 12px;
  height: var(--hdr-h);
  padding: 0 var(--gutter);
  max-width: var(--maxw);
  margin: 0 auto;
}
.hdr__menu-btn { display: none; padding: 8px; margin-left: -8px; }
.hdr__nav {
  display: flex; gap: 26px; align-items: center;
  font-size: 13px;
  letter-spacing: .04em;
}
.hdr__nav--left { justify-self: end; }
.hdr__nav--right { justify-self: start; }
.hdr__nav a {
  position: relative;
  padding: 6px 0;
  color: var(--ink);
  transition: color var(--t-fast);
}
.hdr__nav a::after {
  content:"";
  position:absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-med);
}
.hdr__nav a:hover::after { transform: scaleX(1); }

.hdr__brand {
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  line-height: 1;
}
.hdr__brand-the {
  font-size: 9.5px; letter-spacing: .42em; color: var(--ink-soft);
  margin-bottom: 4px;
}
.hdr__brand-name {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 26px;
  font-variation-settings: "opsz" 64, "SOFT" 80;
  letter-spacing: -.01em;
  font-style: italic;
}

.hdr__actions { display: flex; align-items: center; gap: 4px; justify-self: end; }
.hdr__icon {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  transition: background var(--t-fast);
}
.hdr__icon:hover { background: rgba(14,14,12,.06); }
.hdr__cart-count {
  position: absolute; top: 4px; right: 2px;
  min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--ink); color: var(--paper);
  border-radius: var(--r-pill);
  font-size: 10.5px; line-height: 18px; text-align: center;
  font-weight: 600;
  transform: scale(0); transition: transform var(--t-fast);
}
.hdr__cart-count.is-on { transform: scale(1); }

@media (max-width: 980px) {
  .hdr__row { grid-template-columns: auto 1fr auto; }
  .hdr__nav { display: none; }
  .hdr__menu-btn { display: inline-flex; }
}

/* ---------- Drawer (cart + menu) ---------- */
.drawer {
  position: fixed; inset: 0;
  z-index: 100;
  pointer-events: none;
  visibility: hidden;
}
.drawer.is-open { pointer-events: auto; visibility: visible; }
.drawer__scrim {
  position: absolute; inset: 0;
  z-index: 1;
  background: rgba(14,14,12,.32);
  opacity: 0; transition: opacity var(--t-med);
}
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; bottom: 0; right: 0;
  z-index: 2;
  width: min(440px, 100%);
  background: var(--paper);
  display: flex; flex-direction: column;
  transform: translateX(102%);
  transition: transform var(--t-med);
  box-shadow: var(--shadow-lg);
}
.drawer.drawer--menu .drawer__panel {
  left: 0; right: auto;
  width: min(360px, 86%);
  transform: translateX(-102%);
}
.drawer.is-open .drawer__panel { transform: translateX(0); }

.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
.drawer__title { font-family: var(--f-display); font-size: 18px; font-weight: 500; letter-spacing: -.01em; }
.drawer__close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  transition: background var(--t-fast);
}
.drawer__close:hover { background: rgba(14,14,12,.06); }
.drawer__rule { margin: 14px 0; border-color: var(--line); }

.drawer__nav {
  display: flex; flex-direction: column;
  padding: 18px 22px;
  font-size: 18px;
  font-family: var(--f-display);
  letter-spacing: -.01em;
}
.drawer__nav a {
  padding: 10px 0;
  border-bottom: 1px solid transparent;
  transition: color var(--t-fast), padding var(--t-fast);
}
.drawer__nav a:hover { padding-left: 6px; color: var(--moss); }

/* ---------- Cart ---------- */
.cart { flex: 1; overflow-y: auto; padding: 14px 22px; }
.cart__empty {
  text-align: center; padding: 60px 10px;
  color: var(--ink-soft);
}
.cart__empty h4 { font-family: var(--f-display); font-size: 22px; margin: 12px 0 6px; color: var(--ink); }

.cart-item {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item__img {
  width: 92px; height: 116px;
  background: var(--bone-2);
  border-radius: var(--r-md);
  overflow: hidden;
}
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cart-item__title {
  font-size: 14px; font-weight: 500;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cart-item__meta { font-size: 12px; color: var(--ink-soft); }
.cart-item__qty {
  display: inline-flex; align-items: center; gap: 0;
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  padding: 2px;
  width: fit-content;
}
.cart-item__qty button {
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 14px; line-height: 1;
}
.cart-item__qty button:hover { background: var(--bone-2); }
.cart-item__qty span { width: 28px; text-align: center; font-size: 13px; font-weight: 500; }
.cart-item__badge {
  display: inline-flex; align-items: center; gap: 6px;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--bone-2);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 500;
}
.cart-item__noimg {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bone-3);
  font-family: var(--f-display);
  font-style: italic;
  font-size: 11px;
  color: var(--ink-soft);
  text-align: center;
  padding: 6px;
}
.cart-item__price { font-weight: 500; font-size: 14px; text-align: right; }
.cart-item__remove {
  background: none; color: var(--muted); font-size: 11px;
  margin-top: 8px; align-self: flex-end;
  text-decoration: underline;
}
.cart-item__remove:hover { color: var(--sale); }

.cart__foot {
  border-top: 1px solid var(--line);
  padding: 18px 22px 24px;
  background: var(--paper);
}
.cart__row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 0; font-size: 14px;
}
.cart__row--total { font-weight: 600; font-size: 16px; padding-top: 12px; border-top: 1px solid var(--line); margin-top: 6px; }
.cart__note { font-size: 11.5px; color: var(--muted); margin-top: 6px; text-align: center; }

/* ---------- Search overlay ---------- */
.search-overlay {
  position: fixed; inset: 0;
  background: rgba(244,240,232,.96);
  backdrop-filter: blur(20px);
  z-index: 200;
  opacity: 0; pointer-events: none; visibility: hidden;
  transition: opacity var(--t-med);
  overflow-y: auto;
}
.search-overlay.is-open { opacity: 1; pointer-events: auto; visibility: visible; }
.search-overlay__panel {
  max-width: var(--maxw); margin: 0 auto;
  padding: 28px var(--gutter) 80px;
}
.search-overlay__inner {
  display: flex; align-items: center; gap: 14px;
  border-bottom: 1px solid var(--ink);
  padding: 14px 4px;
}
.search-overlay__inner input {
  flex: 1;
  font-family: var(--f-display);
  font-size: clamp(22px, 3.4vw, 38px);
  font-style: italic;
  font-weight: 400;
  background: transparent; border: 0; outline: 0;
  color: var(--ink);
  letter-spacing: -.01em;
}
.search-overlay__inner input::placeholder { color: var(--muted); }
.search-overlay__close { font-size: 13px; letter-spacing: .04em; padding: 6px 0; }
.search-overlay__results { padding-top: 26px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 20px; left: 50%;
  transform: translate(-50%, 30px);
  background: var(--ink); color: var(--paper);
  padding: 12px 18px;
  border-radius: var(--r-pill);
  font-size: 13px;
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-med), transform var(--t-med);
  box-shadow: var(--shadow-md);
  max-width: calc(100vw - 32px);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }

/* =====================================================================
   PAGES
   ===================================================================== */
.app { min-height: 60vh; }
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section--tight { padding: clamp(28px, 4vw, 56px) 0; }
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(560px, 88vh, 880px);
  display: flex; align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}
.hero__media {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(185,138,46,.22), transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(31,58,45,.55), transparent 60%),
    linear-gradient(180deg, #161613 0%, #0E0E0C 100%);
}
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 1px, transparent 1px 80px);
  mix-blend-mode: overlay;
  opacity: .6;
}
/* film grain */
.hero__grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .14; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.hero__inner {
  position: relative;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(36px, 5vw, 72px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase;
  opacity: .76;
}
.hero__eyebrow::before {
  content:""; display:inline-block; width: 28px; height: 1px; background: currentColor; opacity:.6;
}
.hero__title {
  font-family: var(--f-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(48px, 9vw, 124px);
  line-height: .94;
  letter-spacing: -.02em;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  margin: 14px 0 0;
}
.hero__title em {
  font-style: normal;
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.hero__copy {
  max-width: 480px;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(251,248,242,.76);
  margin-bottom: 8px;
}
.hero__cta-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.hero__btn-primary {
  background: var(--paper); color: var(--ink);
}
.hero__btn-primary:hover { background: var(--bone-3); }
.hero__btn-ghost { color: var(--paper); border-color: rgba(251,248,242,.3); }
.hero__btn-ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.hero__stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border-top: 1px solid rgba(251,248,242,.16);
  padding-top: 22px;
  margin-top: 28px;
  max-width: 540px;
}
.hero__stat-num {
  font-family: var(--f-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  font-style: italic;
  line-height: 1;
}
.hero__stat-lbl { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; opacity: .66; margin-top: 6px; }

@media (max-width: 760px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}

/* ---------- Category strip ---------- */
.cat-strip {
  background: var(--bone);
  padding: clamp(40px, 6vw, 72px) 0;
}
.cat-strip__head {
  display: flex; align-items: end; justify-content: space-between;
  margin-bottom: clamp(20px, 3vw, 40px);
  gap: 20px; flex-wrap: wrap;
}
.cat-strip__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
  letter-spacing: -.02em;
}
.cat-strip__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--moss);
}
.cat-strip__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.cat-tile {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--bone-2);
  transition: transform var(--t-med);
  display: block;
}
.cat-tile:hover { transform: translateY(-3px); }
.cat-tile__img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform var(--t-slow);
}
.cat-tile:hover .cat-tile__img { transform: scale(1.06); }
.cat-tile__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(14,14,12,.7) 100%);
}
.cat-tile__label {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  color: var(--paper);
  font-family: var(--f-display);
  font-style: italic;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -.01em;
  display: flex; justify-content: space-between; align-items: end;
}
.cat-tile__count {
  font-family: var(--f-body);
  font-style: normal;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .8;
}
@media (max-width: 1100px) { .cat-strip__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .cat-strip__grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

/* ---------- Marquee value props ---------- */
.values {
  background: var(--paper);
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.values__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: center;
}
.value {
  display: flex; flex-direction: column; gap: 4px; text-align: center;
}
.value__icon {
  width: 28px; height: 28px; margin: 0 auto;
  color: var(--moss);
}
.value__title { font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.value__sub { font-size: 12px; color: var(--ink-soft); }
@media (max-width: 760px) { .values__row { grid-template-columns: repeat(2, 1fr); gap: 16px; } }

/* ---------- Section header ---------- */
.sec-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  margin-bottom: clamp(20px, 3vw, 40px);
}
.sec-head__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(28px, 4.4vw, 52px);
  line-height: 1;
  letter-spacing: -.02em;
  margin: 0;
}
.sec-head__title em { font-style: italic; color: var(--moss); }
.sec-head__sub { color: var(--ink-soft); max-width: 480px; }
.sec-head__link { font-size: 13px; letter-spacing: .04em; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Product grid ---------- */
.pgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.6vw, 28px) clamp(12px, 1.4vw, 22px);
}
.pgrid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) { .pgrid, .pgrid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .pgrid, .pgrid--3 { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; } }

/* ---------- Product card ---------- */
.pcard { display: block; position: relative; }
.pcard__img {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--bone-2);
  border-radius: var(--r-md);
  overflow: hidden;
}
.pcard__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--t-slow), opacity var(--t-med);
  opacity: 0;
}
.pcard__img img.is-loaded { opacity: 1; }
.pcard:hover .pcard__img img { transform: scale(1.04); }

/* graceful "photo coming soon" — replaces eBay's blurry placeholder */
.pcard__noimg, .pdp__hero-noimg {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(185,138,46,.08), transparent 60%),
    linear-gradient(180deg, var(--bone-2), var(--bone-3));
  color: var(--ink-soft);
  text-align: center;
  padding: 24px;
}
.pdp__hero-noimg { padding: 40px; }
.pcard__noimg-mark { display: flex; flex-direction: column; line-height: 1; }
.pcard__noimg-the {
  font-size: 9px; letter-spacing: .42em; color: var(--ink-soft);
  margin-bottom: 4px;
}
.pcard__noimg-name {
  font-family: var(--f-display); font-style: italic; font-weight: 400;
  font-size: clamp(22px, 2.4vw, 32px); color: var(--ink); letter-spacing: -.01em;
}
.pcard__noimg-label {
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
  max-width: 220px; line-height: 1.5;
}
.pdp__hero-noimg .pcard__noimg-label { font-size: 13px; max-width: 320px; }
.pcard__tags {
  position: absolute; top: 10px; left: 10px;
  display: flex; flex-direction: column; gap: 6px;
}
.pcard__quick {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  background: var(--paper); color: var(--ink);
  border-radius: var(--r-pill);
  padding: 10px 14px;
  font-size: 12px; font-weight: 500;
  display: flex; align-items: center; justify-content: space-between;
  opacity: 0; transform: translateY(8px);
  transition: opacity var(--t-med), transform var(--t-med);
  cursor: pointer;
  border: 1px solid transparent;
}
.pcard:hover .pcard__quick { opacity: 1; transform: translateY(0); }
.pcard__quick:hover { background: var(--ink); color: var(--paper); }
.pcard__wish {
  position: absolute; top: 10px; right: 10px;
  width: 34px; height: 34px;
  background: rgba(251,248,242,.88);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink);
  opacity: 0;
  transition: opacity var(--t-med), background var(--t-fast);
}
.pcard:hover .pcard__wish { opacity: 1; }
.pcard__wish:hover { background: var(--paper); }

.pcard__body {
  padding: 12px 2px 4px;
  display: flex; flex-direction: column; gap: 4px;
}
.pcard__brand { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.pcard__title {
  font-size: 14px; font-weight: 500;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  line-height: 1.35;
  min-height: 38px;
}
.pcard__row { display: flex; align-items: center; justify-content: space-between; margin-top: 2px; }
.pcard__price { font-weight: 600; font-size: 14px; }
.pcard__size { font-size: 11px; color: var(--ink-soft); }
.pcard__sold { color: var(--muted); text-decoration: line-through; }

/* ---------- Editorial split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 4vw, 56px);
  align-items: center;
}
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }
.split__media {
  aspect-ratio: 4/5;
  border-radius: var(--r-lg);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(14,14,12,.0), rgba(14,14,12,.45)),
    radial-gradient(ellipse at 30% 30%, rgba(185,138,46,.4), transparent 60%),
    linear-gradient(135deg, #2a2825, #0E0E0C);
  position: relative;
}
.split__media::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.4'/></svg>");
  mix-blend-mode: overlay;
  opacity: .35;
}
.split__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(32px, 4.8vw, 56px);
  line-height: 1.02;
  letter-spacing: -.02em;
  margin: 16px 0;
}
.split__title em { font-style: italic; color: var(--moss); }
.split__copy { color: var(--ink-soft); max-width: 520px; }
.split__copy p + p { margin-top: 14px; }
.split__list { margin: 22px 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.split__list li { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.split__list svg { color: var(--moss); flex: 0 0 auto; }

@media (max-width: 880px) { .split { grid-template-columns: 1fr; } .split--reverse { direction: ltr; } }

/* ---------- Drop / restock callout ---------- */
.callout {
  background: var(--ink); color: var(--paper);
  border-radius: var(--r-lg);
  padding: clamp(28px, 5vw, 60px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.callout::before {
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(ellipse at 90% 10%, rgba(185,138,46,.3), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(31,58,45,.35), transparent 60%);
}
.callout > * { position: relative; }
.callout__title {
  font-family: var(--f-display);
  font-weight: 400; font-style: italic;
  font-size: clamp(28px, 4.4vw, 48px);
  line-height: 1; letter-spacing: -.02em;
}
.callout__copy { color: rgba(251,248,242,.7); margin: 14px 0 22px; max-width: 460px; }
.callout__cta { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 760px) { .callout { grid-template-columns: 1fr; } }

/* =====================================================================
   SHOP PAGE
   ===================================================================== */
.shop {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  padding-top: 18px;
}
.shop__filters {
  position: sticky; top: calc(var(--hdr-h) + 16px);
  height: max-content;
  font-size: 13px;
}
.shop__filter-grp { padding: 14px 0; border-bottom: 1px solid var(--line); }
.shop__filter-head {
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 10px;
}
.shop__filter-list {
  display: flex; flex-direction: column; gap: 6px;
}
.shop__filter-list label {
  display: flex; align-items: center; gap: 8px;
  cursor: pointer;
  padding: 4px 0;
  color: var(--ink-soft);
  transition: color var(--t-fast);
}
.shop__filter-list label:hover { color: var(--ink); }
.shop__filter-list input { accent-color: var(--ink); margin: 0; }
.shop__filter-list .count { margin-left: auto; font-size: 11px; color: var(--muted); }

.shop__main { min-width: 0; }
.shop__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.shop__title {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: -.02em;
  line-height: 1;
}
.shop__count { font-size: 12px; color: var(--ink-soft); margin-left: 10px; }
.shop__sort { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.shop__sort select {
  background: var(--paper); border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  padding: 8px 14px;
  cursor: pointer;
}
.shop__chips {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px;
}
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--ink); color: var(--paper);
  border-radius: var(--r-pill);
  padding: 5px 11px;
  font-size: 12px;
  cursor: pointer;
}
.chip:hover { background: var(--moss); }

.shop__filter-toggle { display: none; }
@media (max-width: 880px) {
  .shop { grid-template-columns: 1fr; }
  .shop__filters { display: none; position: static; }
  .shop__filters.is-open { display: block; }
  .shop__filter-toggle {
    display: inline-flex; align-items: center; gap: 8px;
    border: 1px solid var(--line-2);
    border-radius: var(--r-pill);
    padding: 8px 14px;
    font-size: 13px;
  }
}

/* =====================================================================
   PRODUCT PAGE
   ===================================================================== */
.pdp {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(28px, 5vw, 80px);
  padding-top: 24px;
}
.pdp__gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.pdp__hero {
  aspect-ratio: 4/5;
  background: var(--bone-2);
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
}
.pdp__hero img { width: 100%; height: 100%; object-fit: cover; }
.pdp__thumbs {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
}
.pdp__thumb {
  aspect-ratio: 1;
  background: var(--bone-2);
  border-radius: 6px; overflow: hidden;
  cursor: pointer; opacity: .7;
  border: 2px solid transparent;
  transition: opacity var(--t-fast), border-color var(--t-fast);
}
.pdp__thumb.is-active { opacity: 1; border-color: var(--ink); }
.pdp__thumb:hover { opacity: 1; }
.pdp__thumb img { width: 100%; height: 100%; object-fit: cover; }

.pdp__info { position: sticky; top: calc(var(--hdr-h) + 20px); align-self: start; }
.pdp__brand { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); }
.pdp__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.05;
  letter-spacing: -.015em;
  margin: 8px 0 14px;
}
.pdp__price { display: flex; align-items: baseline; gap: 10px; font-size: 22px; font-weight: 600; }
.pdp__price .was { color: var(--muted); text-decoration: line-through; font-weight: 400; font-size: 16px; }
.pdp__pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 22px; }

.pdp__sec { padding: 18px 0; border-top: 1px solid var(--line); }
.pdp__sec-h { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 10px; }
.pdp__measure {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px;
  font-size: 13px; color: var(--ink-soft);
}
.pdp__measure dt { color: var(--ink); }
.pdp__cta {
  display: flex; flex-direction: column; gap: 10px;
  padding: 18px 0 4px;
}
.pdp__pay {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; color: var(--ink-soft);
  margin-top: 8px;
  flex-wrap: wrap;
}
.pdp__story { color: var(--ink-soft); font-size: 14px; }
.pdp__story p + p { margin-top: 10px; }

@media (max-width: 880px) {
  .pdp { grid-template-columns: 1fr; }
  .pdp__info { position: static; }
}

/* =====================================================================
   CHECKOUT PAGE
   ===================================================================== */
.checkout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  padding-top: 24px;
}
.checkout__form {
  display: flex; flex-direction: column; gap: 24px;
}
.checkout__h {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1; letter-spacing: -.02em;
  margin-bottom: 8px;
}
.checkout__step { padding: 22px; background: var(--paper); border-radius: var(--r-md); border: 1px solid var(--line); }
.checkout__step h3 {
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  margin: 0 0 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 12px; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 13px 14px;
  font-size: 14px;
  outline: 0;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--ink); background: var(--paper);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row--3 { grid-template-columns: 2fr 1fr 1fr; }
@media (max-width: 560px) { .field-row, .field-row--3 { grid-template-columns: 1fr; } }

.summary {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px;
  position: sticky; top: calc(var(--hdr-h) + 16px);
  align-self: start;
  display: flex; flex-direction: column; gap: 14px;
}
.summary__items { display: flex; flex-direction: column; gap: 12px; max-height: 320px; overflow-y: auto; }
.summary__item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; font-size: 13px; }
.summary__item .img { width: 56px; height: 70px; background: var(--bone-2); border-radius: 6px; overflow: hidden; position: relative; }
.summary__item .img img { width: 100%; height: 100%; object-fit: cover; }
.summary__item .img .qty { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; background: var(--ink); color: var(--paper); border-radius: 50%; font-size: 11px; display: inline-flex; align-items: center; justify-content: center; }
.summary__totals { border-top: 1px solid var(--line); padding-top: 12px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.summary__totals .row { display: flex; justify-content: space-between; }
.summary__totals .row.total { font-weight: 600; font-size: 16px; padding-top: 6px; border-top: 1px solid var(--line); margin-top: 4px; }

.payment-methods {
  display: flex; flex-direction: column; gap: 10px;
}
.pay-method {
  display: flex; align-items: center; gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.pay-method:hover { border-color: var(--ink); }
.pay-method.is-active { border-color: var(--ink); background: var(--bone); }
.pay-method input { margin: 0; accent-color: var(--ink); }
.pay-method__name { font-weight: 500; font-size: 14px; }
.pay-method__sub { font-size: 12px; color: var(--ink-soft); }

.placeholder-card {
  background: var(--bone);
  border: 1px dashed var(--line-2);
  border-radius: var(--r-md);
  padding: 18px;
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.placeholder-card strong { color: var(--ink); display: block; margin-bottom: 6px; font-size: 13px; }

@media (max-width: 980px) { .checkout { grid-template-columns: 1fr; } .summary { position: static; } }

/* =====================================================================
   CONFIRMATION
   ===================================================================== */
.confirm {
  text-align: center;
  max-width: 640px; margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) 0;
}
.confirm__check {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--moss);
  color: var(--paper);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.confirm__h {
  font-family: var(--f-display);
  font-weight: 400; font-style: italic;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.02;
  letter-spacing: -.02em;
  margin: 0 0 12px;
}
.confirm__num {
  display: inline-block;
  margin: 14px 0 28px;
  padding: 8px 16px;
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: .04em;
  font-size: 13px;
}
.confirm__details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px;
  text-align: left;
  margin: 0 0 28px;
}

/* =====================================================================
   ABOUT / JOURNAL / GENERIC
   ===================================================================== */
.about-hero {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(60px, 9vw, 120px) 0;
  position: relative;
  overflow: hidden;
}
.about-hero::before {
  content:""; position:absolute; inset:0;
  background: radial-gradient(ellipse at 80% 20%, rgba(185,138,46,.22), transparent 55%);
}
.about-hero > * { position: relative; }
.about-hero h1 {
  font-family: var(--f-display);
  font-weight: 300; font-style: italic;
  font-size: clamp(40px, 7vw, 96px);
  line-height: .96; letter-spacing: -.02em;
  margin: 12px 0 0; max-width: 12ch;
}

.prose { max-width: 720px; }
.prose p { font-size: 17px; line-height: 1.7; color: var(--ink-2); margin: 0 0 16px; }
.prose h2 {
  font-family: var(--f-display);
  font-weight: 400; font-size: clamp(24px, 3vw, 34px); margin: 32px 0 14px;
}

/* ---------- Skeletons ---------- */
.skeleton {
  background: linear-gradient(90deg, var(--bone-2), var(--bone-3), var(--bone-2));
  background-size: 200% 100%;
  animation: sk 1.4s ease-in-out infinite;
  border-radius: var(--r-md);
}
@keyframes sk {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.sk-card { aspect-ratio: 4/5; }

/* ---------- Footer ---------- */
.ftr { background: var(--ink); color: var(--paper); margin-top: clamp(60px, 8vw, 120px); }
.ftr__hero {
  text-align: center;
  padding: clamp(60px, 8vw, 110px) var(--gutter) clamp(40px, 5vw, 60px);
  border-bottom: 1px solid rgba(251,248,242,.1);
}
.ftr__hero-title {
  font-family: var(--f-display);
  font-weight: 300; font-style: italic;
  font-size: clamp(34px, 6vw, 76px);
  line-height: 1; letter-spacing: -.02em;
  margin: 0 0 12px;
}
.ftr__hero-sub { color: rgba(251,248,242,.62); margin: 0 0 26px; }
.ftr__form {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(251,248,242,.06);
  border: 1px solid rgba(251,248,242,.16);
  border-radius: var(--r-pill);
  padding: 6px 6px 6px 18px;
  width: min(440px, 100%);
}
.ftr__form input {
  flex: 1; background: transparent; border: 0; outline: 0;
  color: var(--paper);
  padding: 10px 0; font-size: 14px;
}
.ftr__form input::placeholder { color: rgba(251,248,242,.45); }
.ftr__form button {
  background: var(--paper); color: var(--ink);
  border-radius: var(--r-pill);
  padding: 10px 16px; font-size: 13px; font-weight: 500;
  transition: background var(--t-fast);
}
.ftr__form button:hover { background: var(--bone-3); }
.ftr__hero-meta { color: rgba(251,248,242,.4); font-size: 12px; margin-top: 14px; }

.ftr__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 48px var(--gutter);
  max-width: var(--maxw); margin: 0 auto;
}
.ftr__col h4 {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(251,248,242,.5);
  margin: 0 0 14px;
}
.ftr__col a { display: block; padding: 5px 0; color: rgba(251,248,242,.85); font-size: 13.5px; }
.ftr__col a:hover { color: var(--paper); }
.ftr__col--mark { display: flex; flex-direction: column; gap: 14px; }
.ftr__mark { display: flex; flex-direction: column; line-height: 1; }
.ftr__mark-the { font-size: 9.5px; letter-spacing: .42em; opacity: .55; margin-bottom: 4px; }
.ftr__mark-name {
  font-family: var(--f-display); font-style: italic; font-weight: 400;
  font-size: 30px; letter-spacing: -.01em;
}
.ftr__mark-tag { color: rgba(251,248,242,.55); font-size: 12px; line-height: 1.55; }

.ftr__bar {
  border-top: 1px solid rgba(251,248,242,.08);
  padding: 20px var(--gutter);
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  font-size: 12px; color: rgba(251,248,242,.55);
}
.ftr__pay { display: flex; gap: 6px; flex-wrap: wrap; }
.ftr__pay .pill { background: transparent; color: rgba(251,248,242,.7); border-color: rgba(251,248,242,.18); }

@media (max-width: 760px) {
  .ftr__cols { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* ---------- Page utility classes ---------- */
.center { text-align: center; }
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 48px; }
.flex { display: flex; }
.gap-sm { gap: 8px; }
.gap-md { gap: 16px; }
