:root {
  --bg: #f3ede4;
  --bg-2: #e9e1d6;
  --paper: #fffaf4;
  --ink: #1a1614;
  --muted: #8a8078;
  --line: #e4dbd0;
  --accent: #e10600;
  --accent-dark: #b80500;
  --accent-soft: #ffe3e0;
  --ok: #2f6b4f;
  --shadow: 0 18px 50px rgba(26, 22, 20, 0.1);
  --radius: 28px;
  --round: 999px;
  --header: 84px;
  --max: 1240px;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Outfit", system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }

.skip {
  position: absolute;
  left: -999px;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

/* Hidden UI toggles */
.ui-toggle { position: absolute; opacity: 0; pointer-events: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: var(--round);
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: 0.2s ease;
  white-space: nowrap;
}

.btn--fill {
  background: var(--accent);
  color: #fff;
}

.btn--fill:hover { background: var(--accent-dark); transform: translateY(-1px); }

.btn--ghost {
  background: var(--paper);
  border: 1px solid var(--ink);
}

.btn--ghost:hover { background: var(--ink); color: var(--paper); }

.btn--soft {
  background: var(--paper);
  color: var(--ink);
}

.icon-btn {
  width: 46px;
  height: 46px;
  border-radius: var(--round);
  display: grid;
  place-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  position: relative;
  transition: 0.2s ease;
  color: var(--ink);
  margin: 0;
  font-size: inherit;
}

.icon-btn:hover { border-color: var(--ink); }

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 20px;
  height: 20px;
  display: block;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--fill {
  fill: currentColor;
  stroke: none;
}

.icon-btn .icon,
.close .icon {
  width: 20px;
  height: 20px;
}

.cat .icon {
  width: 30px;
  height: 30px;
  stroke-width: 1.55;
}

.benefit__icon .icon {
  width: 20px;
  height: 20px;
}

.mobile-nav .icon {
  width: 22px;
  height: 22px;
}

.stars {
  display: flex;
  gap: 3px;
  color: var(--accent);
  margin-bottom: 14px;
}

.stars .icon {
  width: 14px;
  height: 14px;
}

.logo-mark {
  width: 52px;
  height: 52px;
  display: block;
  flex-shrink: 0;
  border-radius: 14px;
  object-fit: cover;
  background: #000;
}

.soon .logo-mark { width: 96px; height: 96px; border-radius: 22px; margin-bottom: 22px; }
.soon-banner .logo-mark { width: 72px; height: 72px; border-radius: 18px; }

.badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--round);
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  display: grid;
  place-items: center;
}

/* Promo */
.promo {
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.04em;
  overflow: hidden;
}

.promo__track {
  display: flex;
  gap: 48px;
  padding: 10px 0;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.promo b { color: #ffb4ae; font-weight: 500; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}

.header__bar {
  min-height: var(--header);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
}

.logo__img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 42% 50%;
  background: #111;
}

.logo__mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--ink);
  display: grid;
  place-items: center;
}

.logo__word {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
  font-weight: 500;
}

.logo__word span { color: var(--accent); }

.nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
}

.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  color: var(--muted);
}

.nav__soon {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--round);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
}

.nav a:hover,
.nav a.is-active { color: var(--ink); }

.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  border-radius: var(--round);
}

body:has(#catalog:target) .nav a[href="#catalog"],
body:has(#product:target) .nav a[href="#product"],
body:has(#contacts:target) .nav a[href="#contacts"] {
  color: var(--ink);
}

body:has(#catalog:target) .nav a[href="#catalog"]::after,
body:has(#product:target) .nav a[href="#product"]::after,
body:has(#contacts:target) .nav a[href="#contacts"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  border-radius: var(--round);
}

.header__actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.header__phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: var(--round);
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.header__phone:hover {
  background: var(--accent);
  color: #fff;
}

.menu-btn { display: none; }

.soon {
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 72px 20px;
}

.soon__logo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 42% 50%;
  margin-bottom: 22px;
  background: #111;
}

.soon h1 { margin: 0 0 14px; font-family: var(--serif); font-size: clamp(36px, 5vw, 56px); font-weight: 500; }
.soon p { max-width: 42ch; color: var(--muted); margin: 0 0 28px; }

.soon-banner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  background: var(--paper);
  border-radius: 36px;
  padding: 32px 36px;
}

.soon-banner__copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.soon-banner .kicker {
  margin: 0;
  letter-spacing: 0.08em;
}

.soon-banner h2 { margin: 0; }
.soon-banner p { margin: 0; color: var(--muted); max-width: 46ch; }
.soon-banner__logo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 42% 50%;
  background: #111;
}

.empty-note {
  color: var(--muted);
  padding: 24px 0;
}

@media (max-width: 980px) {
  .soon-banner { grid-template-columns: 1fr; text-align: center; }
  .soon-banner__logo { margin-inline: auto; }
}

/* Views */
.route {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.view { display: none; }
.view--home { display: block; }
body:has(#catalog:target) .view--home,
body:has(#contacts:target) .view--home,
body:has(#product:target) .view--home,
body:has(#checkout:target) .view--home { display: none; }
body:has(#catalog:target) .view--catalog,
body:has(#contacts:target) .view--contacts,
body:has(#product:target) .view--product,
body:has(#checkout:target) .view--checkout { display: block; }

/* Hero */
.hero {
  padding: 28px 0 20px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 22px;
  min-height: 640px;
}

.hero__copy,
.hero__visual {
  border-radius: 36px;
  overflow: hidden;
}

.hero__copy {
  background: var(--paper);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
}

.kicker {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.92;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
}

.hero h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}

.hero p {
  max-width: 38ch;
  color: var(--muted);
  margin: 0 0 32px;
}

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

.hero__visual {
  position: relative;
  background: #d8cfc4;
}

.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 640px;
}

.hero__chip {
  position: absolute;
  left: 24px;
  bottom: 24px;
  background: var(--paper);
  border-radius: var(--round);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  box-shadow: var(--shadow);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

/* Categories like IG highlights */
.cats {
  padding: 28px 0 16px;
}

.cats__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  overflow-x: auto;
  padding: 16px 6px 16px;
  scrollbar-width: none;
}

.cats__row::-webkit-scrollbar { display: none; }

.cat {
  flex: 0 0 auto;
  width: 108px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.cat__orb {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--ink);
  transition: 0.2s ease;
}

.cat:hover .cat__orb { transform: scale(1.05); }

.cat--accent .cat__orb {
  background: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.cat svg { width: 28px; height: 28px; }

/* Sections */
.section { padding: 56px 0; }

.section__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 28px;
}

.section h2,
.page-title {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
  font-weight: 500;
  margin: 0;
}

.link {
  font-size: 14px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

.link:hover { color: var(--accent); border-color: var(--accent); }

/* Product grid */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card {
  background: var(--paper);
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--bg-2);
  overflow: hidden;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s ease;
}

.card:hover .card__media img { transform: scale(1.04); }

.tag {
  position: absolute;
  top: 14px;
  left: 14px;
  border-radius: var(--round);
  padding: 6px 10px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--paper);
}

.tag--sale {
  background: var(--accent);
  color: #fff;
}

.wish {
  position: absolute;
  top: 12px;
  right: 12px;
}

.card__body { padding: 16px 16px 18px; }
.card__brand {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.card h3 {
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.card__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.price { font-weight: 560; }
.price s {
  color: var(--muted);
  font-weight: 400;
  margin-right: 6px;
}

.add {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
}

.add:hover { background: var(--accent); }
.add svg { width: 16px; height: 16px; }

/* Brands */
.brands {
  background: var(--paper);
  border-radius: 36px;
  padding: 36px 40px;
}

.brands__list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.brand {
  min-height: 88px;
  border: 1px solid var(--line);
  border-radius: var(--round);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 28px;
  background: var(--bg);
}

/* Promo banner */
.banner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  border-radius: 36px;
  overflow: hidden;
  min-height: 420px;
  background: var(--ink);
  color: #fff;
}

.banner__copy { padding: 56px 48px; display: flex; flex-direction: column; justify-content: center; }
.banner h2 { color: #fff; max-width: 10ch; margin-bottom: 16px; }
.banner p { color: #d7cfc6; max-width: 36ch; margin-bottom: 28px; }
.banner img { width: 100%; height: 100%; object-fit: cover; }

/* Story */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.story__img {
  border-radius: 36px;
  overflow: hidden;
  min-height: 480px;
}

.story__img img { width: 100%; height: 100%; object-fit: cover; }

.story__copy {
  background: var(--paper);
  border-radius: 36px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 32px;
}

.facts b {
  display: block;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
}

.facts span { color: var(--muted); font-size: 13px; }

/* Contacts page */
.contact-page {
  padding-top: 36px;
  padding-bottom: 72px;
}

.contact-page .kicker { margin-bottom: 12px; }

.contact-page .page-title {
  font-size: clamp(42px, 5vw, 64px);
  margin-bottom: 28px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  margin-bottom: 22px;
}

.contact-photo {
  border-radius: 36px;
  overflow: hidden;
  min-height: 520px;
  background: var(--bg-2);
}

.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-card {
  background: var(--paper);
  border-radius: 36px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  justify-content: center;
}

.contact-item h3 {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.contact-item p,
.contact-item a {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(26px, 2.4vw, 32px);
  font-weight: 500;
  line-height: 1.25;
}

.contact-item a:hover { color: var(--accent); }

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-socials { display: flex; gap: 8px; }

.contact-map {
  border-radius: 36px;
  overflow: hidden;
  min-height: 380px;
  background: var(--bg-2);
}

.contact-map iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}

/* Benefits */
.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.benefit {
  background: var(--paper);
  border-radius: 28px;
  padding: 24px;
}

.benefit__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.benefit h3 { margin: 0 0 6px; font-size: 16px; font-weight: 500; }
.benefit p { margin: 0; color: var(--muted); font-size: 14px; }

/* Reviews */
.reviews { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 16px; }

.review {
  background: var(--paper);
  border-radius: 28px;
  padding: 28px;
}

.review--lead { background: var(--ink); color: #fff; }
.review--lead p { color: #d7cfc6; }
.review .stars { margin-bottom: 14px; }
.review p { margin: 0 0 18px; }
.review b { display: block; }
.review small { color: var(--muted); }

/* Instagram */
.ig {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.ig a {
  aspect-ratio: 1;
  border-radius: 22px;
  overflow: hidden;
  background: var(--bg-2);
}

.ig img { width: 100%; height: 100%; object-fit: cover; }

/* Newsletter */
.news {
  background: var(--paper);
  border-radius: 36px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.news form {
  display: flex;
  gap: 8px;
  background: var(--bg);
  border-radius: var(--round);
  padding: 6px;
}

.news input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 0 16px;
  outline: none;
}

/* Footer */
.footer {
  padding: 48px 0 28px;
  border-top: 1px solid var(--line);
  margin-top: 20px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.footer h4 {
  margin: 0 0 14px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 0 0 8px; }
.footer a:hover { color: var(--accent); }
.footer p { color: var(--muted); max-width: 32ch; }

.socials { display: flex; gap: 8px; margin-top: 18px; }

.copy {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

/* Catalog */
.crumbs {
  display: flex;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  margin: 28px 0 12px;
}

.crumbs a:hover { color: var(--ink); }

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 10px 0 24px;
  flex-wrap: wrap;
}

.chips { display: flex; gap: 8px; flex-wrap: wrap; }

.chip {
  min-height: 40px;
  padding: 0 16px;
  border-radius: var(--round);
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 14px;
}

.chip.is-on,
.chip:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.chip--sale.is-on,
.chip--sale:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.select {
  min-height: 40px;
  border-radius: var(--round);
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 0 14px;
}

.pager {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.pager a,
.pager span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--paper);
}

.pager .is-on { background: var(--accent); color: #fff; }

/* Product page */
.pdp {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  padding: 28px 0 64px;
}

.gallery {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 12px;
}

.thumbs { display: flex; flex-direction: column; gap: 10px; }

.thumbs a,
.stage {
  border-radius: 22px;
  overflow: hidden;
  background: var(--paper);
}

.thumbs img,
.stage img { width: 100%; height: 100%; object-fit: cover; }
.thumbs a { aspect-ratio: 1; border: 1px solid transparent; background: var(--bg-2); }
.thumbs a.is-on { border-color: var(--ink); }
.stage { min-height: 520px; background: var(--bg-2); }

.pdp h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 52px);
  line-height: 0.95;
  font-weight: 500;
  margin: 8px 0 12px;
}

.pdp__price {
  font-size: 24px;
  margin: 8px 0 18px;
}

.swatches { display: flex; gap: 8px; margin: 12px 0 22px; }

.swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
}

.swatch.is-on { box-shadow: 0 0 0 1px var(--ink); }

.qty {
  display: inline-flex;
  align-items: center;
  background: var(--paper);
  border-radius: var(--round);
  border: 1px solid var(--line);
  margin-right: 10px;
}

.qty button,
.qty span {
  width: 44px;
  height: 48px;
  display: grid;
  place-items: center;
}

.pdp__buy { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 24px; }
.pdp__meta { color: var(--muted); font-size: 14px; }
.pdp__meta p { margin: 0 0 8px; }

/* Checkout */
.checkout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  padding: 28px 0 72px;
}

.form, .summary {
  background: var(--paper);
  border-radius: 32px;
  padding: 32px;
}

.form h2, .summary h2 { margin-bottom: 20px; }

.form label { display: block; font-size: 13px; color: var(--muted); margin: 0 0 6px; }

.field {
  width: 100%;
  min-height: 50px;
  border-radius: var(--round);
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 0 18px;
  margin-bottom: 14px;
  outline: none;
}

.field:focus { border-color: var(--ink); }

.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.pay {
  display: flex;
  gap: 8px;
  margin: 8px 0 20px;
}

.pay label {
  flex: 1;
  margin: 0;
  min-height: 48px;
  border-radius: var(--round);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink);
  cursor: pointer;
}

.pay input { display: none; }
.pay input:checked + span,
.pay label:has(input:checked) {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 0;
  font-size: 14px;
}

.line--total {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  font-size: 18px;
  margin-top: 16px;
}

.mini {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.mini img {
  width: 72px;
  height: 88px;
  object-fit: cover;
  border-radius: 16px;
  background: var(--bg-2);
}

/* Search overlay */
.search {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  place-items: start center;
  padding-top: 18vh;
}

#search-toggle:checked ~ .search { display: grid; }

.search__back {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(18px);
}

.search__box {
  position: relative;
  width: min(720px, calc(100% - 32px));
  background: var(--paper);
  border-radius: 32px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.search__top {
  display: flex;
  gap: 8px;
  align-items: center;
}

.search__box input {
  flex: 1;
  min-width: 0;
  width: auto;
  height: 64px;
  border: 0;
  border-radius: var(--round);
  background: var(--bg);
  padding: 0 24px;
  font-size: 20px;
  outline: none;
}

.search__hints {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

/* Cart drawer */
.veil {
  position: fixed;
  inset: 0;
  background: rgba(26, 22, 20, 0.35);
  z-index: 70;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100%;
  background: var(--paper);
  z-index: 80;
  transform: translateX(104%);
  transition: 0.4s cubic-bezier(.22, 1, .36, 1);
  display: flex;
  flex-direction: column;
  padding: 24px;
}

#cart-toggle:checked ~ .veil,
#menu-toggle:checked ~ .veil {
  opacity: 1;
  pointer-events: auto;
}

#cart-toggle:checked ~ .drawer { transform: translateX(0); }

.drawer header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.drawer h2 { font-family: var(--serif); font-size: 32px; margin: 0; }

.cart-item {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item img {
  width: 84px;
  height: 100px;
  object-fit: cover;
  border-radius: 16px;
  background: var(--bg-2);
}

.drawer__foot { margin-top: auto; padding-top: 16px; }
.drawer .btn { width: 100%; }

/* Mobile nav */
.mobile-nav { display: none; }

.mobile-menu {
  position: fixed;
  inset: 0 auto 0 0;
  width: min(320px, 86vw);
  background: var(--paper);
  z-index: 80;
  transform: translateX(-104%);
  transition: 0.35s ease;
  padding: 28px 22px;
}

#menu-toggle:checked ~ .mobile-menu { transform: none; }

.mobile-menu a {
  display: block;
  font-family: var(--serif);
  font-size: 32px;
  padding: 8px 0;
}

/* Close labels */
.close {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--bg);
  display: grid;
  place-items: center;
  color: var(--ink);
}

@media (max-width: 980px) {
  .header__bar { grid-template-columns: auto 1fr auto; }
  .logo { justify-self: start; }
  .nav { gap: 16px; font-size: 13px; }
  .header__phone { font-size: 13px; }
  .hero__grid,
  .banner,
  .story,
  .news,
  .pdp,
  .checkout,
  .gallery,
  .contact-layout { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr 1fr; }
  .brands__list,
  .benefits,
  .reviews { grid-template-columns: 1fr 1fr; }
  .ig { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__visual img,
  .stage { min-height: 420px; }
}

@media (max-width: 640px) {
  .wrap { width: min(var(--max), calc(100% - 24px)); }
  .grid, .benefits, .reviews, .footer__grid, .row2, .facts { grid-template-columns: 1fr; }
  .hero__copy, .story__copy, .banner__copy, .news, .form, .summary, .contact-card { padding: 28px 22px; }
  .hero h1 { font-size: 40px; }
  .hero h2 { font-size: 28px; }
  .section { padding: 40px 0; }
  .header__bar {
    grid-template-columns: 1fr auto;
    min-height: auto;
    padding: 10px 0 12px;
  }
  .logo { grid-column: 1; grid-row: 1; }
  .header__actions { grid-column: 2; grid-row: 1; }
  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    gap: 20px;
  }
}
