@font-face { font-family: Inter; src: url("../assets/fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: Inter; src: url("../assets/fonts/inter-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: Inter; src: url("../assets/fonts/inter-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --ink: #1c1915;
  --muted: #5e5a55;
  --line: #e6e4e1;
  --paper: #ffffff;
  --sand: #f6f5f3;
  --blue: #1e3a8a;
  --danger: #9f1239;
  --ok: #166534;
  --header: 64px;
  --radius: 8px;
  --shadow: 0 16px 50px rgba(28, 25, 21, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; color: inherit; }
a { color: inherit; }
.skip {
  position: absolute; left: 12px; top: -40px; background: var(--ink); color: #fff;
  padding: 8px 12px; z-index: 100; border-radius: 6px;
}
.skip:focus { top: 8px; }

.announce {
  background: var(--ink); color: #fff; text-align: center;
  font-size: 12.5px; letter-spacing: 0.01em; padding: 8px 16px;
}

.header {
  position: sticky; top: 0; z-index: 40;
  height: var(--header);
  display: flex; align-items: center; gap: 28px;
  padding: 0 28px;
  background: #fff;
  border-bottom: 1px solid transparent;
}
.wordmark {
  text-decoration: none; font-weight: 700; font-size: 22px;
  letter-spacing: -0.045em; color: var(--ink); line-height: 1;
}
.nav { display: flex; align-items: center; gap: 22px; }
.menu { position: relative; }
.menu > a, .menu > button.menu-link {
  background: none; border: 0; padding: 8px 0; cursor: pointer;
  text-decoration: none; text-transform: uppercase;
  letter-spacing: 0.12em; font-size: 12px; font-weight: 500;
}
.dropdown {
  display: none; position: absolute; top: 100%; left: 0; min-width: 220px;
  background: #fff; border: 1px solid var(--line); padding: 10px 0;
  box-shadow: var(--shadow); z-index: 30;
}
.menu:hover .dropdown, .menu:focus-within .dropdown, .menu.open .dropdown { display: block; }
.dropdown a { display: block; padding: 8px 16px; text-decoration: none; font-size: 14px; }
.dropdown a:hover { background: var(--sand); }
.tools { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.icon-btn {
  width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer;
  display: grid; place-items: center; position: relative; border-radius: 999px; text-decoration: none;
}
.icon-btn:hover { background: var(--sand); }
.icon-btn svg { width: 20px; height: 20px; }
.cart-count {
  position: absolute; top: 4px; right: 2px; min-width: 16px; height: 16px;
  border-radius: 999px; background: var(--ink); color: #fff;
  font-size: 10px; display: grid; place-items: center; padding: 0 4px;
}
.cart-count:empty, .cart-count[data-n="0"] { display: none; }
.nav-toggle { display: none; }

.hero { position: relative; background: #e8e6e2; }
.hero img { width: 100%; height: auto; }
.hero-copy {
  position: absolute; left: 6.5%; top: 16%; width: min(460px, 40%);
  color: var(--ink);
}
.hero-copy .kicker { margin: 0 0 18px; letter-spacing: 0.16em; font-size: 14px; font-weight: 600; }
.hero-copy h1 {
  margin: 0; font-size: clamp(36px, 4.6vw, 62px); line-height: 0.95;
  letter-spacing: -0.035em; font-weight: 800;
}
.hero-copy .rule { display: block; width: 120px; height: 2px; background: var(--ink); margin: 22px 0 18px; }
.hero-copy .fresh { margin: 0; color: var(--blue); letter-spacing: 0.22em; font-weight: 700; font-size: 18px; }
.hero-copy .sub { margin: 8px 0 18px; font-size: 18px; }
.hero-m { display: none; }

.shelf, .wrap { padding: 28px 28px 64px; }
.shelf-head, .page-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px;
}
.shelf-head h2, .page-title {
  margin: 0; font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.03em; font-weight: 700;
}
.scroller {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 36px) / 4);
  gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px;
}
.scroller .card { scroll-snap-align: start; }

.grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px 12px; }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; min-width: 0; }
.frame { position: relative; }
.card-media { display: block; background: var(--sand); position: relative; }
.card-media img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: center top; }
.card h3 { margin: 10px 0 2px; font-size: 14px; font-weight: 500; letter-spacing: 0; }
.card h3 a { text-decoration: none; }
.price { margin: 0; font-size: 14px; }
.wish, .quick {
  position: absolute; z-index: 2; border: 0; background: #fff; cursor: pointer;
}
.wish {
  top: 8px; right: 8px; width: 34px; height: 34px; border-radius: 999px;
  display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.wish[aria-pressed="true"] { color: var(--danger); }
.wish svg { width: 16px; height: 16px; }
.wish svg path { fill: none; }
.wish[aria-pressed="true"] svg path { fill: currentColor; }
.quick {
  left: 8px; bottom: 8px; border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 600;
}
.size-pop {
  display: none; position: absolute; left: 8px; right: 8px; bottom: 8px;
  background: #fff; padding: 10px; border-radius: 10px; box-shadow: var(--shadow); z-index: 3;
}
.size-pop.open { display: block; }
.size-pop p { margin: 0 0 8px; font-size: 12px; }
.sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.size-btn, .swatch {
  min-width: 42px; height: 40px; padding: 0 10px; border: 1px solid var(--line);
  background: #fff; border-radius: 6px; cursor: pointer; font-size: 13px;
}
.size-btn[aria-pressed="true"], .swatch[aria-pressed="true"], .size-btn:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

.btn, button.btn, a.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--ink); color: #fff; text-decoration: none; border: 0;
  border-radius: var(--radius); padding: 12px 18px; font-size: 14px; font-weight: 600; cursor: pointer;
}
.btn.pill { border-radius: 999px; padding: 12px 22px; }
.btn.ghost { background: #fff; color: var(--ink); border: 1px solid var(--ink); }
.btn.full { width: 100%; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

.toolbar {
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
  margin: 8px 0 18px; font-size: 14px; flex-wrap: wrap;
}
.toolbar label { display: inline-flex; align-items: center; gap: 6px; margin-right: 12px; }
select, input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="search"], input[type="number"], textarea {
  border: 1px solid #d9d6d2; border-radius: 6px; padding: 12px 12px; background: #fff; width: 100%; font-size: 15px;
}
select { width: auto; padding: 8px 10px; }
.view-toggle { display: inline-flex; gap: 4px; }
.view-toggle button { width: 34px; height: 34px; border: 1px solid var(--line); background: #fff; border-radius: 6px; cursor: pointer; }
.view-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

.narrow { max-width: 760px; margin: 0 auto; padding: 48px 20px 80px; }
.narrow h1, .prose h1 { font-size: clamp(36px, 5vw, 52px); letter-spacing: -0.03em; text-align: center; margin: 0 0 28px; }
.lede { text-align: center; margin-top: -12px; }
.prose h2 { font-size: 22px; margin: 28px 0 8px; letter-spacing: -0.02em; }
.prose h3 { font-size: 18px; margin: 22px 0 8px; }
.prose p, .prose li { font-size: 15px; color: #2a2724; }
.prose ul { padding-left: 18px; }
.contact-note { text-align: center; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid .full, .stack > * { grid-column: 1 / -1; }
.stack { display: grid; gap: 12px; }
label.field { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
.help, .error, .ok { font-size: 14px; }
.error { color: var(--danger); }
.ok { color: var(--ok); }
.pass-wrap { position: relative; }
.pass-wrap input { padding-right: 72px; }
.pass-wrap button {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  border: 0; background: transparent; cursor: pointer; font-size: 13px; font-weight: 600;
}

.pdp { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 36px; padding: 24px 28px 64px; align-items: start; }
.gallery-main { background: var(--sand); }
.gallery-main img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.thumbs { display: flex; gap: 8px; margin-top: 8px; }
.thumbs button { border: 1px solid transparent; padding: 0; background: none; cursor: pointer; width: 72px; }
.thumbs button[aria-pressed="true"] { border-color: var(--ink); }
.thumbs img { width: 72px; height: 96px; object-fit: cover; }
.eyebrow { letter-spacing: 0.14em; text-transform: uppercase; font-size: 12px; color: var(--muted); margin: 0 0 8px; }
.buybox h1 { margin: 0 0 8px; font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.03em; }
.buybox .price { font-size: 18px; margin-bottom: 12px; }
.buy-actions { display: grid; gap: 8px; margin: 16px 0; }
.qty { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.qty button { width: 36px; height: 36px; border: 0; background: #fff; cursor: pointer; }
.qty input { width: 48px; border: 0; text-align: center; padding: 0; }
details { border-top: 1px solid var(--line); padding: 12px 0; }
details summary { cursor: pointer; font-weight: 600; }
.related { padding: 0 28px 70px; }
.related h2 { font-size: 22px; }

.drawer-back, .modal-back {
  position: fixed; inset: 0; background: rgba(28,25,21,.45); z-index: 60;
}
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%);
  background: #fff; z-index: 70; display: flex; flex-direction: column;
  box-shadow: var(--shadow);
}
.drawer header, .modal header { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.drawer header h2, .modal header h2 { margin: 0; font-size: 18px; }
.drawer .body, .modal .body { padding: 16px 18px; overflow: auto; }
.drawer footer { margin-top: auto; padding: 16px 18px 22px; border-top: 1px solid var(--line); }
.line { display: grid; grid-template-columns: 78px 1fr; gap: 12px; margin-bottom: 14px; }
.line img { width: 78px; height: 104px; object-fit: cover; background: var(--sand); }
.line h3 { margin: 0 0 4px; font-size: 14px; font-weight: 600; }
.muted { color: var(--muted); font-size: 13px; }
.linkish { background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; font-size: 13px; }
.totals { display: grid; gap: 6px; margin-bottom: 12px; }
.totals div { display: flex; justify-content: space-between; }
.coupon { display: flex; gap: 8px; margin: 8px 0 12px; }
.coupon input { flex: 1; }
.hidden { display: none !important; }

.modal {
  position: fixed; z-index: 80; left: 50%; top: 12vh; transform: translateX(-50%);
  width: min(640px, calc(100% - 24px)); background: #fff; border-radius: 12px;
  box-shadow: var(--shadow); max-height: 76vh; display: flex; flex-direction: column;
}
.search-hit { display: grid; grid-template-columns: 54px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.search-hit img { width: 54px; height: 72px; object-fit: cover; }

.site-footer { background: #0e0d0b; color: #fff; padding: 48px 36px 64px; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 28px; max-width: 1100px; }
.site-footer h2 { font-size: 16px; margin: 0 0 12px; font-weight: 600; }
.site-footer a { display: block; color: #fff; text-decoration: none; font-size: 14px; padding: 5px 0; opacity: 0.92; }
.site-footer a:hover { text-decoration: underline; }
.site-footer p { color: #d9d4cc; font-size: 14px; max-width: 280px; }
.legal-note { margin-top: 28px; font-size: 12px; color: #bdb8b0; }

.cookies {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50;
  background: #fff; color: var(--ink); border: 1px solid var(--line);
  box-shadow: var(--shadow); border-radius: 12px; padding: 14px 16px;
  display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.toast {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 999px; z-index: 90; font-size: 14px;
}
.checkout { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 28px; align-items: start; }
.summary { background: var(--sand); padding: 16px; border-radius: 12px; position: sticky; top: 80px; }
.pay { display: flex; gap: 8px; align-items: flex-start; border: 1px solid var(--line); border-radius: 8px; padding: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.faq details { border-bottom: 1px solid var(--line); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.news-card { text-decoration: none; }
.news-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: var(--sand); }
.news-card h2 { font-size: 20px; margin: 10px 0 6px; }
.account-grid { display: grid; grid-template-columns: 220px 1fr; gap: 24px; }
.side a { display: block; padding: 8px 0; text-decoration: none; }
.side a[aria-current="page"] { font-weight: 700; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

@media (max-width: 1100px) {
  .grid, .grid.cols-4 { grid-template-columns: repeat(3, 1fr); }
  .scroller { grid-auto-columns: calc((100% - 24px) / 3); }
  .pdp, .checkout, .account-grid, .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .header { padding: 0 14px; gap: 10px; }
  .nav-toggle { display: grid; place-items: center; width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer; }
  .nav {
    display: none; position: absolute; top: var(--header); left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch; padding: 8px 16px 16px;
    border-bottom: 1px solid var(--line); gap: 0; max-height: calc(100vh - var(--header)); overflow: auto;
  }
  .nav.open { display: flex; }
  .dropdown { position: static; box-shadow: none; border: 0; padding: 0 0 8px 10px; display: none; }
  .menu.open .dropdown { display: block; }
  .hero-copy { width: 44%; max-width: 180px; top: 5%; left: 5%; }
  .hero-copy h1 { font-size: 22px; }
  .hero-copy .kicker { margin-bottom: 8px; font-size: 11px; }
  .hero-copy .fresh, .hero-copy .sub { font-size: 12px; }
  .hero-copy .fresh { letter-spacing: 0.12em; }
  .hero-copy .rule { margin: 10px 0; }
  .hero-copy .btn { padding: 8px 12px; font-size: 12px; }
  .shelf, .wrap, .pdp, .related { padding-left: 14px; padding-right: 14px; }
  .grid, .grid.cols-4, .scroller { grid-template-columns: repeat(2, 1fr); grid-auto-flow: unset; grid-auto-columns: unset; }
  .scroller { display: grid; overflow: visible; }
  .form-grid, .pdp, .checkout, .account-grid, .news-grid, .foot-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
  .wordmark { font-size: 20px; }
  .hero-d { display: none; }
  .hero-m { display: block; }
}
@media (max-width: 380px) {
  .hero-copy h1 { font-size: 20px; }
  .card h3 { font-size: 13px; }
}
