/* BBOOMM V1 — "Clean White" (ultra-minimal, Apple/SSENSE style) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700&display=swap');

:root {
  --white: #ffffff;
  --ink: #111111;
  --gray: #666666;
  --gray-light: #999999;
  --hairline: #eeeeee;
  --bg-soft: #fafafa;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

a { color: inherit; text-decoration: none; }

/* ---------- header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--hairline);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.logo .dot { color: var(--ink); }

.main-nav { display: flex; gap: 36px; }

.main-nav a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.main-nav a:hover { color: var(--ink); }
.main-nav a.active { color: var(--ink); border-bottom-color: var(--ink); }

.header-actions { display: flex; gap: 16px; align-items: center; }

.cart-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 8px 0;
}

.cart-btn:hover { color: var(--gray); }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 22px;
  color: var(--ink);
  padding: 8px;
  line-height: 1;
}

/* ---------- typography helpers ---------- */
.kicker {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray-light);
  margin-bottom: 20px;
}

h1, h2, h3 { letter-spacing: -0.02em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 16px 36px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-align: center;
}

.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: #000; }

.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }

.btn.sold {
  background: #f2f2f2;
  border-color: #f2f2f2;
  color: var(--gray-light);
  cursor: not-allowed;
}

/* ---------- vintage editorial hero ---------- */
.hero-vintage { border-bottom: 1px solid var(--hairline); }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 60px;
  min-height: 100vh;
}

.hero-copy .kicker { margin-bottom: 18px; }

.hero-copy h1 {
  font-size: clamp(44px, 5.4vw, 72px);
  font-weight: 200;
  line-height: 1.03;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}

.hero-copy h1 em { font-style: normal; font-weight: 500; }

.hero-copy .lede {
  font-size: 16px;
  font-weight: 300;
  color: var(--gray);
  max-width: 460px;
  margin-bottom: 36px;
}

.hero-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ---------- thriftscope teaser ---------- */
.ts-section {
  border-top: 1px solid var(--hairline);
  padding: 76px 0;
  background: var(--white);
}

.ts-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  flex-wrap: wrap;
}

.ts-text { max-width: 540px; }

.ts-text .kicker { margin-bottom: 16px; }

.ts-text h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 200;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 16px;
}

.ts-text h2 em { font-style: normal; font-weight: 500; }

.ts-text p { color: var(--gray); font-weight: 300; font-size: 15px; }

/* ---------- first dibs bar ---------- */
.dibs-bar {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--hairline);
  padding: 34px 0;
}

.dibs-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.dibs-text { font-size: 15px; font-weight: 300; color: var(--gray); max-width: 480px; }

.dibs-text strong { color: var(--ink); font-weight: 600; margin-right: 8px; }

.dibs-form { display: flex; gap: 10px; flex-wrap: wrap; }

.dibs-form input {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 300;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #e0e0e0;
  border-radius: 2px;
  padding: 13px 16px;
  outline: none;
  min-width: 200px;
  transition: border-color 0.2s;
}

.dibs-form input:focus { border-color: var(--ink); }

.dibs-form .btn { padding: 13px 28px; }

.footer-dibs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 32px 0;
  border-top: 1px solid var(--hairline);
  margin-bottom: 8px;
}

/* ---------- rack (one-page shop) ---------- */
.rack { padding: 72px 0 96px; }

.rack-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--hairline);
}

.rack-bar h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 200;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.rack-bar .result-count {
  margin: 0;
  padding: 0;
  border: none;
  font-size: 13px;
  color: var(--gray);
  font-weight: 300;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* ---------- sections ---------- */
.section { padding: 100px 0; }

.section-head { margin-bottom: 56px; max-width: 640px; }

.section-head h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 200;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.section-head h2 em { font-style: normal; font-weight: 500; }

.section-head p { color: var(--gray); font-weight: 300; font-size: 16px; }

/* ---------- page hero ---------- */
.page-hero { padding: 88px 0 64px; }

.page-hero h1 {
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 200;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.page-hero h1 em { font-style: normal; font-weight: 500; }

.page-hero .sub { margin-top: 24px; color: var(--gray); font-weight: 300; max-width: 640px; font-size: 16px; }

.page-body { font-size: 16px; font-weight: 300; color: #333; }
.page-body p { margin-bottom: 22px; }
.page-body h2 {
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 44px 0 16px;
}
.page-body ul { margin: 0 0 22px 20px; }
.page-body li { margin-bottom: 10px; }

/* ---------- product grid ---------- */
.p-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 56px 28px;
}

.p-card {
  cursor: pointer;
  background: var(--white);
  border: none;
  padding: 0;
  transition: opacity 0.2s;
}

.p-card-img {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--white);
  overflow: hidden;
  margin-bottom: 18px;
}

.p-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.p-card:hover .p-card-img img { transform: scale(1.045); }

.p-card.is-sold .p-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.62);
}

.sold-stamp {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  background: var(--white);
  border: 1px solid var(--hairline);
  padding: 6px 12px;
}

.one-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-light);
}

.p-card-body { text-align: left; }

.p-brand {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray-light);
  margin-bottom: 6px;
}

.p-card-body h3 {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.4;
  margin-bottom: 8px;
  min-height: 39px;
}

.p-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

/* condition tags — tiny uppercase text labels */
.cond {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.cond-new { color: var(--ink); }
.cond-pre { color: var(--gray); }

.cond-vintage {
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 2px;
  padding: 2px 8px;
}

.p-size { font-size: 11px; color: var(--gray-light); letter-spacing: 0.06em; }

.p-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid var(--hairline);
}

.price { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }

.offer-link {
  display: block;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-light);
  padding: 10px 0 0;
  text-align: left;
  transition: color 0.2s;
}

.offer-link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.add-btn {
  background: transparent;
  border: 1px solid #e0e0e0;
  border-radius: 2px;
  color: var(--ink);
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 20px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.add-btn:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }

.add-btn.sold {
  background: #f2f2f2;
  border-color: #f2f2f2;
  color: var(--gray-light);
  cursor: not-allowed;
}
.add-btn.sold:hover { background: #f2f2f2; color: var(--gray-light); }

.empty-msg {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--gray);
  font-weight: 300;
  padding: 60px 0;
}

/* ---------- filters ---------- */
.filters { margin-bottom: 48px; }

.filter-group { margin-bottom: 18px; }

.filter-group:last-child { margin-bottom: 0; }

.filter-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-light);
  margin-bottom: 10px;
}

#filterGender, #filterSize, #filterCond { display: flex; gap: 8px; flex-wrap: wrap; }

.filter-pill {
  background: var(--white);
  border: 1px solid #e0e0e0;
  border-radius: 999px;
  color: var(--gray);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.filter-pill:hover { border-color: var(--ink); color: var(--ink); }

.filter-pill.active { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 72px 0 0;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-tag {
  font-size: 14px;
  color: var(--gray);
  font-weight: 300;
  margin-top: 16px;
  max-width: 320px;
}

.site-footer h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 18px;
}

.site-footer .footer-grid a:not(.logo) {
  display: block;
  font-size: 14px;
  color: var(--gray);
  font-weight: 300;
  margin-bottom: 10px;
}

.site-footer .footer-grid a:not(.logo):hover { color: var(--ink); }

.footer-bottom {
  border-top: 1px solid var(--hairline);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--gray-light);
  font-weight: 300;
  letter-spacing: 0.04em;
}

/* ---------- product modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 24px;
}

.modal-overlay.open { display: flex; }

.modal {
  background: var(--white);
  border: 1px solid var(--hairline);
  max-width: 920px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  padding: 56px;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  font-size: 28px;
  font-weight: 200;
  color: var(--gray);
  cursor: pointer;
  line-height: 1;
  z-index: 2;
}

.modal-close:hover { color: var(--ink); }

.pm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.pm-grid img { width: 100%; height: auto; }

.pm-body { min-width: 0; }

.pm-brand {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray-light);
  display: inline-block;
  margin-bottom: 12px;
}

.pm-body .cond { display: inline-block; margin-bottom: 18px; }

.pm-body h2 {
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.pm-price { font-size: 24px; font-weight: 300; margin-bottom: 20px; }

.pm-meta {
  font-size: 13px;
  color: var(--gray);
  font-weight: 300;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--hairline);
}

.pm-body .desc { font-size: 15px; font-weight: 300; color: #333; margin-bottom: 18px; }

.pm-note {
  font-size: 12px;
  color: var(--gray-light);
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}

.pm-body .btn { width: 100%; }

/* ---------- make offer modal ---------- */
.modal-narrow { max-width: 560px; }

.offer-body { padding-top: 8px; }

.offer-body .kicker { margin-bottom: 14px; }

.offer-body h2 {
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 10px;
}

.offer-listed {
  font-size: 14px;
  color: var(--gray);
  font-weight: 300;
  padding-bottom: 20px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--hairline);
}

.offer-listed strong { color: var(--ink); font-weight: 600; }

.offer-body .checkout-form label .opt {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 300;
  color: var(--gray-light);
}

.offer-note {
  font-size: 12px;
  color: var(--gray-light);
  font-weight: 300;
  line-height: 1.7;
  margin-top: 20px;
}

/* ---------- cart drawer ---------- */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.08);
  display: none;
  z-index: 200;
}

.cart-overlay.open { display: block; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  max-width: 92vw;
  height: 100%;
  background: var(--white);
  border-left: 1px solid var(--hairline);
  z-index: 201;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.cart-drawer.open { transform: translateX(0); }

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 32px;
  border-bottom: 1px solid var(--hairline);
}

.cart-head h3 { font-size: 20px; font-weight: 400; letter-spacing: -0.01em; }

.cart-head .modal-close { position: static; }

.cart-items { flex: 1; overflow-y: auto; padding: 8px 32px; }

.cart-item {
  display: flex;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--hairline);
}

.cart-item img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  flex-shrink: 0;
}

.cart-item-info { flex: 1; min-width: 0; }

.cart-item-info h4 {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.ci-price { font-size: 13px; color: var(--gray); font-weight: 300; margin-bottom: 10px; }

.ci-remove {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-light);
  padding: 0;
}

.ci-remove:hover { color: var(--ink); }

.cart-empty { text-align: center; padding: 72px 0; color: var(--gray); font-weight: 300; }
.cart-empty p:first-child { font-size: 17px; margin-bottom: 10px; color: var(--ink); font-weight: 400; }
.cart-empty p:last-child { font-size: 14px; }

.cart-foot { padding: 24px 32px 32px; border-top: 1px solid var(--hairline); }

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 20px;
}

.cart-foot .btn { width: 100%; }

/* ---------- checkout / forms ---------- */
.sum-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  font-weight: 300;
  color: var(--gray);
  padding: 12px 0;
  border-bottom: 1px solid var(--hairline);
}

.sum-row span:last-child { color: var(--ink); font-weight: 500; white-space: nowrap; }

.sum-total { font-weight: 500; font-size: 15px; }
.sum-total span { color: var(--ink) !important; }

.checkout-divider {
  display: flex; align-items: center; gap: 16px;
  margin: 32px 0 8px;
  color: var(--gray-light); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.checkout-divider::before, .checkout-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--hairline);
}

.sum-total { border-bottom: none; font-size: 16px; color: var(--ink); font-weight: 600; }
.sum-total span:last-child { font-weight: 600; }

.checkout-form label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
  margin: 22px 0 8px;
}

.checkout-form input[type="text"],
.checkout-form input[type="email"],
.checkout-form textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 300;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #e0e0e0;
  border-radius: 2px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s;
}

.checkout-form input:focus,
.checkout-form textarea:focus { border-color: var(--ink); }

.checkout-form textarea { resize: vertical; }

.contact-form { max-width: 640px; }

.thanks { text-align: center; padding: 120px 0; }
.thanks h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 200;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.thanks p { color: var(--gray); font-weight: 300; margin-bottom: 12px; }
.thanks .btn { margin-top: 32px; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .p-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .mobile-toggle { display: block; }

  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--hairline);
    flex-direction: column;
    gap: 0;
    padding: 8px 32px 24px;
  }

  .main-nav.open { display: flex; }

  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--hairline); }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pm-grid { grid-template-columns: 1fr; gap: 36px; }
  .modal { padding: 40px 28px; }
  .dibs-inner { flex-direction: column; align-items: flex-start; }
  .footer-dibs { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .p-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 16px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; padding-bottom: 56px; }
  .hero-img { order: -1; }
  .rack { padding: 56px 0 72px; }
  .section { padding: 72px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cart-head, .cart-items, .cart-foot { padding-left: 24px; padding-right: 24px; }
  .dibs-form { width: 100%; }
  .dibs-form input { flex: 1; min-width: 0; }
  .rack-bar { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 420px) {
  .p-grid { grid-template-columns: 1fr; }
}
