:root {
  --ink: #1c1915;
  --purple: #5e3fde;
  --purple-deep: #4a2fc4;
  --sale: #128a3e;
  --muted: #6d675f;
  --line: #e6e2dc;
  --bg: #ffffff;
  --soft: #f6f5f3;
  --card: #ffffff;
  --danger: #b42318;
  --ok: #067647;
  --header: 74px;
  --marquee: 36px;
  --shadow: 0 10px 28px rgba(28, 25, 21, 0.08);
  --radius: 10px;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Poppins, "Segoe UI", sans-serif;
  font-size: 14.5px;
  line-height: 1.5;
  min-width: 320px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.02em; margin: 0; }
.skip {
  position: absolute; left: 12px; top: -40px; background: #fff; padding: 8px 12px; z-index: 80;
}
.skip:focus { top: 8px; }

.marquee {
  background: var(--purple);
  color: #fff;
  height: var(--marquee);
  overflow: hidden;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 40;
}
.marquee-track {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  animation: mq 32s linear infinite;
  padding-left: 24px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.site-header {
  height: var(--header);
  display: flex;
  align-items: center;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 1px 0 rgba(28,25,21,.04); }
.home .site-header {
  position: absolute;
  top: var(--marquee);
  left: 0; right: 0;
  background: transparent;
  border: 0;
}
.home .site-header.is-stuck {
  position: fixed;
  top: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 0 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}
.header-left, .header-right { display: flex; align-items: center; gap: 8px; }
.header-right { justify-content: flex-end; }
.logo {
  font-family: Bungee, Poppins, sans-serif;
  font-size: clamp(18px, 2.1vw, 28px);
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--ink);
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.logo img { width: 36px; height: 36px; flex: 0 0 36px; }
.home .site-header:not(.is-stuck) .logo {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.45), 0 0 1px #1c1915;
}
.icon-btn, .icon-link {
  width: 40px; height: 40px;
  border: 0; background: transparent;
  color: var(--purple);
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
  border-radius: 999px;
}
.icon-btn svg, .icon-link svg { width: 22px; height: 22px; }
.icon-btn svg, .cart-link svg { fill: none; stroke: currentColor; stroke-width: 1.8; }
.cart-link circle { fill: currentColor; stroke: none; }
.icon-link svg { fill: currentColor; }
.cart-link { width: auto; gap: 6px; padding: 0 4px; color: var(--purple); }
.cart-total { font-weight: 700; font-size: 13px; color: var(--ink); letter-spacing: 0; }
.home .site-header:not(.is-stuck) .cart-total { color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.count-bubble {
  position: absolute; top: 4px; right: 2px;
  min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 99px; background: var(--ink); color: #fff;
  font-size: 10px; font-weight: 700; display: none; align-items: center; justify-content: center;
}
.count-bubble.show { display: inline-flex; }
.search-mobile { display: none; }

.hero { position: relative; background: #111; overflow: hidden; max-width: 100%; }
.hero-viewport { overflow: hidden; max-width: 100%; }
.hero-track { display: flex; gap: 5px; transition: transform .45s ease; will-change: transform; }
.hero-slide { flex: 0 0 calc((100% - 15px) / 3.2); position: relative; color: #fff; display: block; }
.hero-slide img { width: 100%; height: auto; aspect-ratio: 630 / 1024; object-fit: cover; object-position: center top; background: #222; }
.hero-cta {
  position: absolute; left: 14px; bottom: 18px; z-index: 1;
  background: #fff; color: var(--ink); font-weight: 800; font-size: 13px;
  padding: 8px 14px; border-radius: 999px;
}
.hero-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; z-index: 2; }
.hero-dots button { width: 8px; height: 8px; border: 0; border-radius: 99px; background: rgba(255,255,255,.55); padding: 0; }
.hero-dots button.on { width: 22px; background: #fff; }
.hero-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.92); color: var(--ink);
  box-shadow: var(--shadow); z-index: 2;
  display: grid; place-items: center;
}
.hero-nav.prev { left: 10px; }
.hero-nav.next { right: 10px; }
.hero-nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; }

.section { width: min(1440px, calc(100% - 28px)); margin: 28px auto 10px; }
.section-head {
  text-align: center;
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 18px 0 14px;
  color: var(--ink);
}
.section-head.left { text-align: left; }
.viral-head { display: flex; align-items: center; justify-content: center; gap: 8px; }
.viral-head svg { width: 22px; height: 22px; }

.carousel { position: relative; }
.carousel-row {
  display: flex; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding: 4px 2px 16px;
}
.carousel-row::-webkit-scrollbar { display: none; }
.edge {
  position: absolute; top: 38%; z-index: 2;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(28,25,21,.08);
  background: #fff; box-shadow: var(--shadow);
  display: grid; place-items: center;
}
.edge.prev { left: -6px; }
.edge.next { right: -6px; }
.edge svg { width: 16px; height: 16px; fill: none; stroke: var(--ink); stroke-width: 2.2; }

.pcard { flex: 0 0 230px; scroll-snap-align: start; background: #fff; }
.pcard-media { position: relative; background: var(--soft); border-radius: 8px; overflow: hidden; }
.pcard-media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.wish {
  position: absolute; top: 10px; right: 10px;
  width: 34px; height: 34px; border-radius: 50%; border: 0;
  background: #fff; color: #b9b3ac; box-shadow: 0 2px 8px rgba(0,0,0,.12);
  display: grid; place-items: center; z-index: 1;
}
.wish svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.wish.on { color: var(--purple); }
.wish.on svg { fill: currentColor; stroke: currentColor; }
.flag {
  position: absolute; left: 8px; bottom: 8px;
  background: #111; color: #fff; font-size: 10px; font-weight: 700;
  letter-spacing: .04em; padding: 4px 6px; border-radius: 3px;
}
.pcard h3 { font-size: 13.5px; font-weight: 500; text-align: center; margin: 10px 8px 6px; letter-spacing: 0; line-height: 1.35; min-height: 36px; }
.size-picks { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; min-height: 26px; margin-bottom: 6px; }
.size-pick {
  border: 1px solid #d9d4cc; background: #fff; border-radius: 4px;
  min-width: 28px; height: 24px; padding: 0 6px; font-size: 11px; font-weight: 600;
}
.size-pick.on { border-color: var(--ink); background: var(--ink); color: #fff; }
.price-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; padding: 0 4px 8px; }
.now { font-weight: 700; font-size: 14px; }
.was { color: #9a948c; text-decoration: line-through; font-size: 12px; margin-left: 4px; }
.off { color: var(--sale); font-size: 12px; font-weight: 700; }
.select-size {
  border: 0; background: transparent; font-weight: 600; font-size: 13px; padding: 0; white-space: nowrap;
}
.select-size:hover { text-decoration: underline; }

.tile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 8px auto 18px;
  width: min(1440px, calc(100% - 28px));
}
.tile {
  position: relative; min-height: 220px; border-radius: 8px; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: center;
  background: #222 center/cover no-repeat; color: #fff;
  isolation: isolate;
}
.tile span {
  position: relative; z-index: 1;
  font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  font-size: clamp(16px, 1.6vw, 26px);
  padding: 18px 10px 16px; text-align: center;
  text-shadow: 0 2px 10px rgba(0,0,0,.55);
}
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,.05) 55%);
}
.tile:hover { transform: translateY(-2px); }

.page {
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto 48px;
}
.page.wide { width: min(1440px, calc(100% - 28px)); }
.crumb { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.crumb a:hover { text-decoration: underline; }
.page-title { font-size: clamp(28px, 4vw, 40px); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.lede { color: var(--muted); max-width: 68ch; }

.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin: 16px 0; }
.toolbar label { font-size: 13px; font-weight: 600; display: flex; gap: 8px; align-items: center; }
select, .field input, .field textarea, .field select {
  border: 1px solid #d8d3cc; border-radius: 8px; padding: 10px 12px; background: #fff; width: 100%;
}
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid #d8d3cc; background: #fff; border-radius: 99px; padding: 6px 10px; font-size: 12px; font-weight: 600;
}
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 12px;
}
.grid .pcard { flex: none; }

.pdp { display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: start; }
.gallery-main { background: var(--soft); border-radius: 12px; overflow: hidden; }
.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; border-radius: 8px; overflow: hidden; background: var(--soft); width: 72px; }
.thumbs button.on { border-color: var(--ink); }
.thumbs img { width: 72px; height: 96px; object-fit: cover; }
.pdp h1 { font-size: clamp(26px, 3vw, 36px); text-transform: none; letter-spacing: -0.03em; margin-bottom: 8px; }
.pdp .price-lg .now { font-size: 22px; }
.pdp .price-lg .was { font-size: 16px; }
.qty-row, .buy-row { display: flex; gap: 10px; align-items: center; margin: 14px 0; flex-wrap: wrap; }
.qty { display: inline-flex; border: 1px solid #d8d3cc; border-radius: 8px; overflow: hidden; }
.qty button { width: 36px; height: 40px; border: 0; background: #fff; font-size: 18px; }
.qty input { width: 48px; border: 0; text-align: center; font-weight: 700; }
.btn {
  background: var(--ink); color: #fff; border: 0; border-radius: 8px;
  padding: 12px 18px; font-weight: 700; min-height: 44px;
}
.btn.ghost { background: #fff; color: var(--ink); border: 1px solid var(--ink); }
.btn.block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.help { color: var(--muted); font-size: 13px; }
.prose { margin-top: 18px; }
.prose p { margin: 0 0 10px; }
.note { background: var(--soft); border-radius: 10px; padding: 12px 14px; font-size: 13px; }

.layout-2 { display: grid; grid-template-columns: 1.4fr .8fr; gap: 22px; align-items: start; }
.box { border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: #fff; }
.cart-line { display: grid; grid-template-columns: 84px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 84px; height: 112px; object-fit: cover; border-radius: 8px; background: var(--soft); }
.muted { color: var(--muted); }
.totals { display: grid; gap: 8px; }
.totals div { display: flex; justify-content: space-between; gap: 12px; }
.totals .grand { font-size: 18px; font-weight: 800; border-top: 1px solid var(--line); padding-top: 8px; }
.linkish { background: none; border: 0; padding: 0; color: var(--danger); font-weight: 600; }
.coupon { display: flex; gap: 8px; }
.coupon input { flex: 1; }

.form-grid { display: grid; gap: 12px; }
.form-grid.two { grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: 6px; }
.field span { font-size: 13px; font-weight: 600; }
.field .err { color: var(--danger); font-size: 12px; min-height: 0; }
.passwrap { position: relative; }
.passwrap input { padding-right: 64px; }
.passwrap button {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  border: 0; background: transparent; font-weight: 700; font-size: 12px; color: var(--purple);
}
.alert { border-radius: 10px; padding: 12px 14px; margin: 10px 0; background: #eefbf3; color: var(--ok); }
.alert.bad { background: #fff1f0; color: var(--danger); }
.pay-card { border: 1px solid var(--ink); border-radius: 12px; padding: 12px 14px; display: flex; gap: 10px; align-items: flex-start; }
.pay-card strong { display: block; }

.auth-card { width: min(460px, 100%); margin: 12px auto; }
.orders { display: grid; gap: 12px; }
.order { border: 1px solid var(--line); border-radius: 12px; padding: 14px; }

.policy h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 8px; text-transform: none; }
.policy h2 { font-size: 22px; margin: 26px 0 8px; text-transform: none; letter-spacing: -0.02em; }
.policy h3 { font-size: 17px; margin: 16px 0 6px; }
.policy p, .policy li { font-size: 15px; line-height: 1.7; }
.policy ul, .policy ol { margin: 8px 0 12px; padding-left: 20px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 8px; }
.toc a { border: 1px solid var(--line); border-radius: 99px; padding: 4px 10px; font-size: 12px; background: var(--soft); }

.faq details { border-bottom: 1px solid var(--line); padding: 10px 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.contact-only { font-weight: 700; }

.site-footer { background: var(--purple); color: #fff; margin-top: 28px; padding: 28px 0 14px; }
.footer-inner { width: min(1100px, calc(100% - 32px)); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 1.15fr .9fr .9fr 1.25fr; gap: 22px 28px; align-items: start; }
.footer-logo { font-family: Bungee, Poppins, sans-serif; font-size: 20px; margin-bottom: 8px; color: #fff; display: inline-flex; align-items: center; gap: 8px; }
.footer-logo img { width: 28px; height: 28px; }
.site-footer a { color: #fff; }
.site-footer a:hover { text-decoration: underline; }
.site-footer h3 { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer p { margin: 0 0 8px; font-size: 13px; line-height: 1.55; }
.footer-base { margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.28); font-size: 13px; }
.footer-base p { margin: 0; }
.policy-cols { columns: 2; gap: 18px; }
.policy-cols a { display: block; break-inside: avoid; margin: 0 0 6px; font-size: 13px; }

.drawer-back, .modal-back {
  position: fixed; inset: 0; background: rgba(28,25,21,.45); z-index: 60; display: none;
}
.drawer-back.show, .modal-back.show { display: block; }
.drawer {
  position: fixed; top: 0; bottom: 0; background: #fff; z-index: 70; color: #1c1915;
  width: min(360px, calc(100vw - 36px)); max-width: 100%;
  display: none; flex-direction: column; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(28,25,21,.06);
}
.drawer.show { display: flex; }
.drawer.left { left: 0; right: auto; transform: none; }
.drawer.right { right: 0; left: auto; }
.drawer header, .modal header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px; border-bottom: 1px solid var(--line); font-weight: 800;
  min-height: 52px; flex: 0 0 auto;
}
.drawer header { background: var(--purple); color: #fff; border-bottom: 0; }
.drawer .body, .modal .body { padding: 4px 16px 20px; overflow-x: hidden; overflow-y: auto; flex: 1; min-height: 0; }
.drawer a, .drawer button { color: #1c1915; }
.drawer header .close-x { color: #fff; }
.menu-acc { border-bottom: 1px solid var(--line); }
.menu-acc > button, .menu-acc > a.top {
  width: 100%; text-align: left; background: none; border: 0; padding: 12px 0;
  font-weight: 700; display: flex; justify-content: space-between; align-items: center;
  font-size: 15px; color: #1c1915; gap: 12px;
}
.menu-acc .sub { display: none; padding: 0 0 12px 4px; }
.menu-acc.open .sub { display: grid; gap: 2px; }
.menu-acc .sub a { font-size: 14px; color: #1c1915; display: block; padding: 8px 8px; border-radius: 8px; }
.menu-acc .sub a:hover { background: var(--soft); }
.close-x { border: 0; background: none; font-size: 26px; line-height: 1; width: 40px; height: 40px; }
.gate {
  position: fixed; inset: 0; z-index: 85; background: rgba(28,25,21,.5);
  display: none; align-items: center; justify-content: center; padding: 16px;
}
.gate.show { display: flex; }
.gate .panel { width: min(420px, 100%); background: #fff; color: var(--ink); border-radius: 14px; padding: 16px; }
.gate h2 { margin-bottom: 8px; font-size: 22px; }
.search-modal {
  position: fixed; left: 50%; top: 12vh; transform: translateX(-50%);
  width: min(640px, calc(100% - 24px)); background: #fff; z-index: 80; border-radius: 14px;
  display: none; max-height: 70vh; overflow: auto; box-shadow: var(--shadow);
}
.search-modal.show { display: block; }
.search-hit { display: grid; grid-template-columns: 54px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.search-hit img { width: 54px; height: 72px; object-fit: cover; border-radius: 6px; }
.toast {
  position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 999px;
  z-index: 90; display: none; font-size: 13px;
}
.toast.show { display: block; }
.cookie {
  position: fixed; bottom: 12px; left: 12px; right: 12px; z-index: 55;
  background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); padding: 14px; display: none;
  width: min(520px, calc(100% - 24px));
}
.cookie.show { display: block; }
body.has-cookie { padding-bottom: 150px; }
.cookie p { margin: 0 0 10px; font-size: 13px; }
.cookie .row { display: flex; gap: 8px; flex-wrap: wrap; }

.empty { padding: 28px 8px; text-align: center; }
.related { margin-top: 28px; }
.stars { color: var(--purple); letter-spacing: 2px; font-size: 13px; }

@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-slide { flex-basis: calc((100% - 10px) / 2.2); }
  .pdp, .layout-2 { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-slide { flex-basis: calc((100% - 4px) / 1.08); }
  .drawer { width: min(320px, calc(100vw - 28px)); }
  .search-mobile { display: inline-flex; }
  .search-desk { display: none; }
  .tile-grid { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pcard { flex-basis: 68vw; }
  .hero-slide { flex-basis: calc((100% - 4px) / 1.1); }
  .form-grid.two { grid-template-columns: 1fr; }
  .cart-total { display: none; }
  .header-inner { padding: 0 8px; }
  .logo { font-size: 15px; letter-spacing: 0; }
  .policy-cols { columns: 1; }
}
@media (max-width: 390px) {
  .tile-grid { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .pcard { flex-basis: 78vw; }
  .logo { font-size: 13px; }
  .header-inner { gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track, .hero-track { animation: none; transition: none; }
}
