@font-face {
  font-family: "Hubot Sans";
  src: url("/fonts/HubotSans.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0a0a0a;
  --surface: #141414;
  --surface-2: #1d1d1c;
  --text: #f3f2ed;
  --muted: #a09e95;
  --faint: #6a6862;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --accent: #b9e38f;
  --accent-ink: #10200a;
  --accent-soft: rgba(185, 227, 143, 0.1);
  --warn: #f0c46b;
  --warn-soft: rgba(240, 196, 107, 0.12);
  --danger: #e0675e;
  --ok: #7cc495;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  --font: "Hubot Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --header: 68px;
  --r-lg: 28px;
  --r: 20px;
  --r-sm: 14px;
  --safe: env(safe-area-inset-bottom, 0px);
}

html[data-theme="light"] {
  --bg: #f6f5f1;
  --surface: #ffffff;
  --surface-2: #efede7;
  --text: #151513;
  --muted: #605e57;
  --faint: #95928a;
  --line: rgba(20, 18, 14, 0.08);
  --line-2: rgba(20, 18, 14, 0.16);
  --accent: #3d7a26;
  --accent-ink: #ffffff;
  --accent-soft: rgba(61, 122, 38, 0.08);
  --warn: #9a6a07;
  --warn-soft: rgba(154, 106, 7, 0.1);
  --shadow: 0 10px 30px rgba(20, 18, 14, 0.08);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html { color-scheme: dark; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); }
html[data-theme="light"] { color-scheme: light; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; }
p { margin: 0; }

.wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
@media (max-width: 600px) { .wrap { width: calc(100% - 24px); } }

/* placeholder */
.ph {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
  background: var(--surface-2);
}
.ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/logo.webp") center / 42% no-repeat;
  opacity: 0.22;
  filter: grayscale(1);
}

/* chips */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--line);
  white-space: nowrap;
}
.chip.warn { color: var(--warn); background: var(--warn-soft); border-color: transparent; }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn:active { transform: scale(0.98); }
.btn.block { width: 100%; }
.btn.ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.btn.outline { background: transparent; color: var(--text); border: 1px solid var(--line-2); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn.danger { background: var(--danger); color: #fff; }

.round-btn {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  display: grid;
  place-items: center;
}
.round-btn svg { width: 18px; height: 18px; }
html[data-theme="dark"] .icon-sun { display: none; }
html[data-theme="light"] .icon-moon { display: none; }

/* header */
.top {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(160%) blur(20px);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.top-in {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
@media (max-width: 600px) { .top-in { width: calc(100% - 24px); } }
.logo { display: block; flex: 0 0 auto; }
.logo img { height: 52px; width: auto; }
html[data-theme="light"] .logo {
  background: #0a0a0a;
  border-radius: 14px;
  padding: 3px 6px;
}
html[data-theme="light"] .logo img { height: 46px; }
.top-actions { display: flex; align-items: center; gap: 8px; }

.seg {
  display: flex;
  padding: 4px;
  gap: 2px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.seg a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 14px 0 11px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}
.seg a svg { width: 18px; height: 18px; }
.seg a:hover { color: var(--text); }
.seg a[aria-current="page"] { background: var(--text); color: var(--bg); }
@media (max-width: 420px) {
  .seg a { padding: 0 12px; }
  .seg a span { display: none; }
}

/* hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  height: min(calc(100svh - var(--header)), 820px);
  display: flex;
  align-items: flex-end;
  background: #111;
  isolation: isolate;
}
.hero-in { position: relative; }
.hero picture, .hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 6, 5, 0.86) 0%, rgba(6, 6, 5, 0.5) 40%, rgba(6, 6, 5, 0) 72%),
    linear-gradient(0deg, rgba(10, 10, 10, 0.96) 0%, rgba(6, 6, 5, 0.55) 22%, rgba(6, 6, 5, 0) 50%);
}
.hero-text {
  padding: 0 0 72px;
  max-width: 560px;
  color: #f5f4ef;
  display: grid;
  gap: 14px;
}
.hero-tag {
  justify-self: start;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 244, 239, 0.75);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}
.hero h1 {
  font-size: clamp(44px, 7vw, 76px);
  letter-spacing: -0.045em;
  line-height: 0.95;
}
.hero p {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(245, 244, 239, 0.8);
  max-width: 42ch;
}
.hero-cta { display: flex; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.hero-cta .btn:not(.ghost) { background: #f5f4ef; color: #0a0a0a; }
@media (max-width: 700px) {
  .hero {
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 5.6;
  }
  .hero::before {
    background: linear-gradient(0deg, rgba(10, 10, 10, 0.97) 0%, rgba(6, 6, 5, 0.8) 26%, rgba(6, 6, 5, 0) 62%);
  }
  .hero-text { padding: 0 0 28px; gap: 12px; }
  .hero p { font-size: 15px; }
  .hero-cta .btn { flex: 1; height: 46px; padding: 0 16px; }
}

/* section labels */
.section-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.section-label h2 { font-size: 22px; }
.section-label span, .section-label a { color: var(--muted); font-size: 14px; }
.section-label a:hover { color: var(--text); }

/* categories rail */
.cats-wrap { padding-top: 48px; }
.cats {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 1fr);
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin: -6px -20px 0;
  padding: 6px 20px 8px;
  scroll-padding: 0 20px;
}
.cats::-webkit-scrollbar { display: none; }
@media (max-width: 600px) {
  .cats { grid-auto-columns: 138px; margin: -6px -12px 0; padding: 6px 12px 8px; scroll-padding: 0 12px; }
}
.cat {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: var(--r);
  overflow: hidden;
  scroll-snap-align: start;
  background: var(--surface-2);
  isolation: isolate;
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition: outline-color 0.2s ease, transform 0.2s ease;
}
.cat img, .cat .ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.5s ease;
}
.cat::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.1) 60%);
}
.cat:hover img { transform: scale(1.05); }
.cat.is-on { outline-color: var(--accent); }
.cat-text {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  display: grid;
  gap: 2px;
  color: #fff;
}
.cat-text b { font-size: 15px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.cat-text small { font-size: 12px; color: rgba(255, 255, 255, 0.7); }

/* drops */
.drop { padding-top: 64px; }
.drop-head { margin-bottom: 20px; }
.drop-head .chip { margin-bottom: 10px; }
.drop-head h2 { font-size: clamp(28px, 4vw, 38px); }
.drop-desc {
  margin-top: 8px;
  max-width: 64ch;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  opacity: 0.6;
}
.drop-meta { margin-top: 10px; color: var(--faint); font-size: 13px; }

.ggrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 960px) { .ggrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px) { .ggrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }

.gcard {
  display: flex;
  flex-direction: column;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.gcard:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: var(--shadow); }
.gcard-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface-2); }
.gcard-media img, .gcard-media .ph { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gcard:hover .gcard-media img { transform: scale(1.04); }
.gcard-media .chip {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(10, 10, 10, 0.6);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}
.gcard-media .chip.warn { color: #f5cd78; }
.gcard.is-out .gcard-media img { filter: grayscale(0.8); opacity: 0.6; }
.gcard-body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.gcard-body h3 { font-size: 16px; letter-spacing: -0.02em; line-height: 1.2; }
.gcard-body p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gcard-price { margin-top: auto; padding-top: 10px; display: flex; flex-direction: column; }
.gcard-price small { color: var(--faint); font-size: 11px; }
.gcard-price b { font-size: 16px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
@media (max-width: 680px) {
  .gcard-body { padding: 12px 12px 14px; }
  .gcard-body h3 { font-size: 15px; }
}

/* product page */
.pdp-page { padding-bottom: 40px; }
.crumb {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 20px 0 16px;
  color: var(--muted);
  font-size: 14px;
}
.crumb svg { width: 18px; height: 18px; }
.crumb:hover { color: var(--text); }

.pdp {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; gap: 24px; } }

.car { min-width: 0; }
.car-stage {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface-2);
}
.car-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.car-track::-webkit-scrollbar { display: none; }
.car-slide { flex: 0 0 100%; aspect-ratio: 4 / 5; scroll-snap-align: start; scroll-snap-stop: always; }
.car-slide img, .car-slide .ph { width: 100%; height: 100%; object-fit: cover; }
.car-btn {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(10, 10, 10, 0.5);
  backdrop-filter: blur(12px);
  color: #fff;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.car-btn svg { width: 20px; height: 20px; }
.car-btn.prev { left: 14px; }
.car-btn.next { right: 14px; }
.car-stage:hover .car-btn { opacity: 1; }
.car-btn:disabled { opacity: 0 !important; pointer-events: none; }
@media (hover: none) { .car-btn { display: none; } }
.car-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  translate: -50% 0;
  display: flex;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.4);
  backdrop-filter: blur(10px);
}
.car-dots span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  transition: width 0.25s ease, background 0.25s ease;
}
.car-dots span.on { width: 18px; background: #fff; }
.thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.thumbs button {
  flex: 0 0 68px;
  height: 84px;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  background: var(--surface-2);
  opacity: 0.55;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button.on { opacity: 1; border-color: var(--text); }
@media (max-width: 900px) { .thumbs { display: none; } }

.pdp-info { position: sticky; top: calc(var(--header) + 24px); display: grid; gap: 12px; }
@media (max-width: 900px) { .pdp-info { position: static; } }
.pdp-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.pdp-info h1 { font-size: clamp(34px, 4.6vw, 52px); letter-spacing: -0.04em; line-height: 1; margin-top: 4px; }
.pdp-cross { color: var(--muted); font-size: 16px; }
.pdp-lede { color: var(--muted); font-size: 16px; line-height: 1.6; margin-top: 4px; }

.buy { display: grid; gap: 12px; margin-top: 16px; }
.buy-label { font-size: 13px; font-weight: 500; color: var(--muted); }
.packs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pack {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.pack input { position: absolute; opacity: 0; pointer-events: none; }
.pack-qty { font-size: 13px; color: var(--muted); }
.pack-qty b { font-size: 22px; font-weight: 650; color: var(--text); letter-spacing: -0.03em; margin-right: 2px; }
.pack-price { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.pack small { font-size: 12px; color: var(--faint); }
.pack:hover { border-color: var(--line-2); }
.pack:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.pack:has(input:checked) .pack-price { color: var(--accent); }
.pack:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.buy-note { text-align: center; color: var(--faint); font-size: 13px; }

/* panels */
.panel {
  margin-top: 40px;
  padding: 32px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}
@media (max-width: 600px) { .panel { padding: 22px 18px; border-radius: 24px; margin-top: 28px; } }
.panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}
.panel-head h2 { font-size: 22px; }
.panel-head span { color: var(--muted); font-size: 13px; }

/* cross tree */
.tree { --node-gap: 16px; }
.tree-parents {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--node-gap);
  max-width: 720px;
  margin: 0 auto;
}
.tree-join {
  max-width: 720px;
  margin: 0 auto;
  height: 28px;
  position: relative;
}
.tree-join::before {
  content: "";
  position: absolute;
  left: 25%;
  right: 25%;
  top: 0;
  bottom: 0;
  border: 1.5px solid var(--line-2);
  border-top: 0;
  border-radius: 0 0 18px 18px;
}
.tree-stem { width: 1.5px; height: 24px; margin: 0 auto; background: var(--line-2); }
.tree-child {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--node-gap);
  max-width: 720px;
  margin: 0 auto;
}
.tree-child .node { grid-column: 1 / -1; justify-self: center; width: calc(50% - var(--node-gap) / 2); }
.node {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  padding: 16px;
  border-radius: 20px;
  background: var(--surface-2);
  border: 1.5px solid var(--line);
  min-width: 0;
  transition: border-color 0.2s ease;
}
a.node:hover { border-color: var(--line-2); }
.node-role {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1;
}
.node-role svg { display: block; width: 15px; height: 15px; flex: 0 0 15px; }
.node-pic {
  align-self: center;
  width: min(100%, 160px);
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg);
}
.node-pic img { width: 100%; height: 100%; object-fit: cover; }
.node-ph {
  display: block;
  width: 100%;
  height: 100%;
  background: url("/logo.webp") center / 62% no-repeat, var(--bg);
  opacity: 0.6;
}
.node-name { font-size: 16px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; overflow-wrap: anywhere; }
.node.is-child { border-color: var(--accent); background: var(--accent-soft); }
.node.is-child .node-role { color: var(--accent); }
@media (max-width: 600px) {
  .tree { --node-gap: 10px; }
  .node { padding: 12px; gap: 10px; border-radius: 16px; }
  .node-role { font-size: 12px; }
  .node-pic { border-radius: 12px; }
  .node-name { font-size: 14px; }
}

/* about */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.about > div:only-child { grid-column: 1 / -1; max-width: 70ch; }
.about h2 { font-size: 20px; margin-bottom: 12px; }
.about p { color: var(--muted); line-height: 1.7; white-space: pre-line; }
.about p + p { margin-top: 12px; }
@media (max-width: 800px) { .about { grid-template-columns: 1fr; gap: 28px; } }

.more { padding-top: 56px; }

/* apparel */
.page-head { padding: 40px 0 8px; display: grid; gap: 12px; justify-items: start; }
.page-head h1 { font-size: clamp(38px, 6vw, 60px); letter-spacing: -0.045em; line-height: 1; }
.page-head p { color: var(--muted); max-width: 46ch; font-size: 16px; }
.vsec { padding-top: 48px; }
.arts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 900px) { .arts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .arts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.art { margin: 0; }
.art-media {
  aspect-ratio: 1;
  border-radius: var(--r);
  overflow: hidden;
  background: #0b0b0b;
  border: 1px solid var(--line);
  padding: 10%;
}
.art-media img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.4s ease; }
.art:hover .art-media img { transform: scale(1.04); }
.art figcaption { padding: 10px 2px 0; font-size: 13px; color: var(--muted); line-height: 1.3; }

.cuts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 900px) { .cuts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .cuts { grid-template-columns: 1fr; } }
.cut {
  display: flex;
  flex-direction: column;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  scroll-margin-top: calc(var(--header) + 16px);
}
.cut-media { aspect-ratio: 4 / 5; background: #fff; overflow: hidden; }
.cut-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.5s ease; }
.cut:hover .cut-media img { transform: scale(1.03); }
.cut-body { display: flex; flex-direction: column; gap: 6px; padding: 16px; flex: 1; }
.cut h3 { font-size: 16px; letter-spacing: -0.02em; }
.cut p { color: var(--muted); font-size: 13px; line-height: 1.45; }
.cut-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cut-price { display: flex; align-items: baseline; gap: 6px; }
.cut-price b { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.cut-price small { color: var(--faint); font-size: 12px; }
.cut-pick {
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: transparent;
  font-size: 13px;
  font-weight: 500;
}
.cut-pick:hover { background: var(--text); color: var(--bg); border-color: var(--text); }

.builder { margin-top: 48px; scroll-margin-top: calc(var(--header) + 16px); }
.builder-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px; align-items: start; }
.builder-preview { display: grid; gap: 10px; position: sticky; top: calc(var(--header) + 24px); }
.builder-model { aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: #fff; }
.builder-model img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.builder-print {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.builder-print img { width: 52px; height: 52px; object-fit: contain; border-radius: 10px; background: #0b0b0b; padding: 4px; }
.builder-print span { display: grid; gap: 2px; min-width: 0; }
.builder-print small { font-size: 12px; color: var(--muted); }
.builder-print b { font-size: 14px; font-weight: 600; line-height: 1.25; }
.builder-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.builder-form .btn { grid-column: 1 / -1; }
@media (max-width: 900px) {
  .builder-grid { grid-template-columns: 1fr; gap: 20px; }
  .builder-preview { position: static; grid-template-columns: 0.9fr 1.1fr; align-items: end; }
  .builder-print { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 700px) { .builder-form { grid-template-columns: 1fr; } }

.field { display: grid; gap: 8px; font-size: 13px; font-weight: 500; color: var(--muted); }
.field input:not([type="radio"]), .field textarea, .field select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-2);
  background: var(--surface-2);
  color: var(--text);
  font-size: 15px;
  font-weight: 400;
  outline: none;
}
.field textarea { height: auto; min-height: 110px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); }

.colors { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--c);
  border: 1px solid var(--line-2);
  cursor: pointer;
  position: relative;
}
.swatch input { position: absolute; opacity: 0; pointer-events: none; }
.swatch:has(input:checked) { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent); }

.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.sizes label { cursor: pointer; }
.sizes input { position: absolute; opacity: 0; pointer-events: none; }
.sizes span {
  display: grid;
  place-items: center;
  min-width: 48px;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--text);
  font-size: 14px;
}
.sizes label:has(input:checked) span { background: var(--text); color: var(--bg); border-color: var(--text); }

/* footer */
.footer {
  margin-top: 96px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 40px 0 calc(20px + var(--safe));
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.footer h3 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 12px;
}
.footer .wrap { text-align: center; }
body:has(.bar.show) .footer { padding-bottom: calc(92px + var(--safe)); }
.footer-brand { display: grid; justify-items: center; gap: 10px; }
.footer-brand p { max-width: 40ch; }
.footer-logo { width: 76px; height: auto; }
.footer-links {
  display: flex;
  justify-content: center;
  gap: 72px;
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.footer-links .footer-col { align-items: center; }
.footer-pay { display: grid; justify-items: center; gap: 10px; margin-top: 36px; }
.footer-pay h3 { margin-bottom: 2px; }
.footer-pay > span { font-size: 13px; color: var(--faint); }
html[data-theme="light"] .footer-logo { background: #0a0a0a; border-radius: 14px; padding: 5px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer-col a:hover { color: var(--text); }
.footer-col > span { font-size: 13px; color: var(--faint); }
.pay { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pay-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}
.pay-chip svg { width: 16px; height: 16px; }
.legal {
  max-width: 720px;
  margin: 40px auto 0;
  padding: 22px 28px;
  border-radius: var(--r);
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.65;
}
.legal h3 { margin-bottom: 8px; }
.legal p + p { margin-top: 8px; }
.footer-bottom {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--faint);
}
@media (min-width: 900px) {
  .footer { padding-top: 48px; }
  .footer .wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(3, auto);
    column-gap: 64px;
    text-align: left;
  }
  .footer-brand { grid-template-columns: 64px 1fr; align-items: center; align-self: start; justify-items: start; gap: 18px; }
  .footer-brand p { max-width: 36ch; }
  .footer-logo { width: 64px; }
  .footer-links { display: contents; }
  .footer-links .footer-col, .footer-pay { align-items: flex-start; justify-items: start; margin: 0; }
  .pay { justify-content: flex-start; }
  .legal {
    grid-column: 1 / -1;
    max-width: none;
    margin: 36px 0 0;
    padding: 16px 22px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: baseline;
  }
  .legal h3 { margin: 0; white-space: nowrap; }
  .footer-bottom { grid-column: 1 / -1; text-align: center; margin-top: 20px; }
}
@media (max-width: 520px) {
  .footer { padding-top: 32px; }
  .footer-links { gap: 32px; }
  .legal { padding: 18px; }
}

/* order bar */
.bar {
  position: fixed;
  z-index: 35;
  left: 50%;
  bottom: calc(16px + var(--safe));
  translate: -50% 0;
  width: min(520px, calc(100% - 24px));
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 8px 8px 20px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
  font-size: 14px;
  font-weight: 500;
}
.bar.show { display: flex; }
.bar .btn { height: 42px; padding: 0 20px; }

.sheet-bg {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.sheet-bg.show { opacity: 1; pointer-events: auto; }
.sheet {
  position: fixed;
  z-index: 41;
  left: 50%;
  bottom: 0;
  translate: -50% 110%;
  width: min(560px, 100%);
  max-height: min(86vh, 720px);
  overflow: auto;
  padding: 10px 20px calc(20px + var(--safe));
  border-radius: 28px 28px 0 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-bottom: 0;
  transition: translate 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.sheet.show { translate: -50% 0; }
.grab { width: 40px; height: 4px; border-radius: 99px; background: var(--line-2); margin: 4px auto 12px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.sheet-head h2 { font-size: 22px; margin-right: auto; }
.sheet-clear {
  height: 34px;
  margin-right: 8px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.sheet-clear:hover { color: var(--text); }
.sheet-clear.confirm { color: #f87171; border-color: color-mix(in srgb, #f87171 50%, transparent); background: color-mix(in srgb, #f87171 10%, transparent); }
.sheet-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.sheet-item img, .sheet-item .ph { width: 56px; height: 70px; border-radius: 12px; object-fit: cover; }
.sheet-item .cross { color: var(--muted); font-size: 13px; }
.qty { display: flex; gap: 10px; align-items: center; margin-top: 6px; }
.qty button {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: transparent;
}
.sheet-total { margin: 16px 0; font-weight: 600; }
.sheet-send { display: grid; gap: 8px; }

/* dados para envio */
.ship { z-index: 42; max-height: min(92vh, 860px); overscroll-behavior: contain; }
.ship .sheet-head { gap: 10px; position: sticky; top: -10px; z-index: 1; margin: -10px -20px 4px; padding: 14px 20px 10px; background: var(--surface); }
.ship .sheet-head h2 { margin-right: auto; font-size: 20px; }
.ship [hidden] { display: none !important; }
.ship-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: var(--accent-soft);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.ship-note svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 1px; color: var(--accent); }
.ship-form fieldset { margin: 0 0 18px; padding: 0; border: 0; display: grid; gap: 12px; min-width: 0; }
.ship-form legend {
  padding: 0;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}
.f { display: grid; gap: 6px; min-width: 0; }
.f-label { font-size: 13px; font-weight: 500; color: var(--muted); }
.f-label em { font-style: normal; color: var(--faint); font-weight: 400; }
.f input, .f select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-2);
  background: var(--surface-2);
  color: var(--text);
  font-size: 16px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.f input::placeholder { color: var(--faint); }
.f input:focus, .f select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.f-err { display: none; font-size: 12px; color: var(--danger); }
.f.has-err input, .f.has-err select { border-color: var(--danger); }
.f.has-err .f-err { display: block; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.f-row-num { grid-template-columns: 0.8fr 1.2fr; }
.f-row-city { grid-template-columns: 1fr 92px; }
.f-row-cep { grid-template-columns: 150px 1fr; align-items: end; }
.cep-side { display: grid; gap: 4px; padding-bottom: 6px; font-size: 13px; min-height: 48px; align-content: end; }
.cep-side a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; width: fit-content; }
.cep-status { color: var(--muted); }
.cep-status:empty { display: none; }
.cep-status[data-tone="ok"] { color: var(--accent); }
.cep-status[data-tone="warn"] { color: var(--warn); }
.cep-status[data-tone="busy"]::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  vertical-align: -1px;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.ship .only-wa { display: none; }
.ship[data-channel="whatsapp"] .only-wa { display: grid; }
.ship-remember { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 16px; font-size: 14px; }
.ship-remember label { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.ship-remember input { width: 18px; height: 18px; accent-color: var(--accent); }
.ship-forget, .ship-copy {
  border: 0;
  background: none;
  padding: 4px 0;
  color: var(--muted);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ship-done { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 18px 4px 6px; }
.ship-done h3 { font-size: 22px; }
.ship-done p { margin: 0 0 8px; color: var(--muted); max-width: 38ch; }
.ship-done-ico {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
}
.ship-done-ico svg { width: 26px; height: 26px; }
.ship-done-actions { display: grid; gap: 8px; width: 100%; justify-items: center; }
@media (max-width: 420px) {
  .f-row:not(.f-row-city):not(.f-row-num) { grid-template-columns: 1fr; }
  .f-row-cep { grid-template-columns: 1fr; }
  .cep-side { min-height: 0; padding: 0; }
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
