/* ==========================================================================
   PokoClub – landing page styles
   Source of truth: Figma file gV1IGFhrDztkorixkvVjhS, node 1:2
   ========================================================================== */

:root {
  --ink: #1b1b1c;
  --bg: #fcf9f8;
  --surface: #f6f3f2;
  --surface-2: #f0eded;
  --red: #dc3228;
  --red-dark: #b71411;
  --brown: #5c403c;
  --yellow: #f6e29f;
  --mint: #cbe9dd;
  --pink: #ffdad5;
  --olive: #6c5d28;
  --white-warm: #fffbff;

  --font-display: "Rubik", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;

  --header-h: 106px;
  --gutter: 48px;
  --container: 1280px;
}

html:lang(ja) {
  --font-display: "Rubik", "M PLUS Rounded 1c", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", "M PLUS Rounded 1c", system-ui, sans-serif;
}
html:lang(ja) .hero__title { letter-spacing: 0; font-size: 44px; line-height: 56px; }
html:lang(ja) .section-title { letter-spacing: 0; }
html:lang(ja) .feature__title { white-space: normal; }
html:lang(ja) .sticker-badge, html:lang(ja) .pill, html:lang(ja) .badge, html:lang(ja) .hero__float-tag { letter-spacing: 0.2px; }

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding-top: 80px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, ul, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* --------------------------------------------------------------------------
   Shared bits
   -------------------------------------------------------------------------- */

.band {
  background: var(--surface);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.section-head { display: flex; flex-direction: column; gap: 4px; }
.section-head--center { align-items: center; gap: 8px; text-align: center; }
.section-head--row { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head--middle { align-items: center; }
.section-head--row > div:first-child { display: flex; flex-direction: column; gap: 4px; }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 36px;
  line-height: 44px;
  letter-spacing: -0.36px;
}
.section-title--tight { line-height: 45px; }

.section-lead { color: var(--brown); font-size: 15px; line-height: 24px; }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 0.55px;
  text-transform: uppercase;
  color: var(--red-dark);
}
.eyebrow--tight { letter-spacing: 0.44px; }

.pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: 9999px;
  padding: 4px 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 0.44px;
  text-transform: uppercase;
  white-space: nowrap;
}
.pill--yellow { background: var(--yellow); }
.pill--white {
  background: #fff;
  border-width: 2px;
  padding: 4px 14px;
  box-shadow: 2px 2px 0 0 var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--ink);
  border-radius: 9999px;
  font-family: var(--font-display);
  white-space: nowrap;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translate(-1px, -1px); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 0 var(--ink); }
.btn--primary { background: var(--red); color: var(--white-warm); }
.btn--white { background: #fff; color: var(--ink); }
.btn--lg { padding: 14px 24px; font-weight: 700; font-size: 15px; line-height: 20px; letter-spacing: 0.3px; box-shadow: 4px 4px 0 0 var(--ink); }
.btn--md { padding: 10px 24px; font-weight: 600; font-size: 13px; line-height: 18px; letter-spacing: 0.39px; box-shadow: 3px 3px 0 0 var(--ink); }
.btn--sm { padding: 6px 14px; font-weight: 600; font-size: 13px; line-height: 18px; letter-spacing: 0.39px; box-shadow: 2px 2px 0 0 var(--ink); }
.btn__emoji { font-size: 15px; line-height: 20px; }

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 2px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 9999px;
  box-shadow: 2px 2px 0 0 var(--ink);
  transition: transform .12s ease;
}
.icon-btn:hover { transform: translate(-1px, -1px); }
.icon-btn:active { transform: translate(1px, 1px); }
.icon-btn--lg { box-shadow: 3px 3px 0 0 var(--ink); }
.icon-btn__badge {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5px 1px 2.5px;
  background: var(--olive);
  color: #fff;
  border: 1px solid var(--ink);
  border-radius: 9999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 0.44px;
  box-shadow: 0 1px 1px rgba(0,0,0,.05);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  color: var(--red-dark);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  line-height: 18px;
  letter-spacing: 0.39px;
  white-space: nowrap;
}
.text-link:hover { text-decoration: underline; }

/* Letterboxed artwork inside a square tile */
.tile-art img,
.keychain__art img,
.char-card__avatar img,
.product-card__art img,
.best-card__art img,
.seasonal__card img {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: auto;
  transform: translateY(-50%);
}
.keychain__art img,
.product-card__art img,
.best-card__art img,
.seasonal__card img { border-radius: 8px; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 2px solid var(--ink);
}

.promo-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 4px 16px;
  background: var(--red-dark);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 0.55px;
  text-transform: uppercase;
  text-align: center;
}

.navbar {
  height: 80px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* One link: mascot image + wordmark as text (Poko in ink, Club in red, red dot), styled like the logo file */
.brand { display: inline-flex; align-items: center; gap: 10px; transition: transform .12s ease; }
.brand:hover { transform: translateY(-1px); }
.brand__mark { width: 34px; height: 36px; flex: 0 0 34px; }
.brand__name {
  display: inline-flex;
  align-items: flex-start;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  line-height: 32px;
  letter-spacing: -0.6px;
  color: var(--ink);
  white-space: nowrap;
}
.brand__name-accent { color: var(--red); }
.brand__dot { width: 7px; height: 7px; margin: 3px 0 0 5px; border-radius: 9999px; background: var(--red); }
.brand--sm { gap: 8px; }
.brand--sm .brand__mark { width: 28px; height: 30px; flex-basis: 28px; }
.brand--sm .brand__name { font-size: 20px; line-height: 26px; letter-spacing: -0.4px; }
.brand--sm .brand__dot { width: 6px; height: 6px; margin-top: 2px; }

.nav { display: flex; align-items: center; gap: 8px; }
.nav__link {
  padding: 8px 16px;
  border-radius: 9999px;
  color: var(--brown);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  line-height: 18px;
  letter-spacing: 0.39px;
  white-space: nowrap;
  transition: background .12s ease;
}
.nav__link:hover { background: rgba(27,27,28,.06); }
.nav__link--active,
.nav__link--active:hover {
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0;
  box-shadow: 2px 2px 0 0 var(--ink);
}

.nav-actions { display: flex; align-items: center; gap: 12px; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 2px;
  gap: 2px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 9999px;
  box-shadow: 2px 2px 0 0 var(--ink);
}
.lang-switch__btn {
  padding: 6px 10px;
  border-radius: 9999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0.3px;
  color: var(--brown);
  white-space: nowrap;
  transition: background .12s ease, color .12s ease;
}
.lang-switch__btn:hover { background: var(--surface-2); }
.lang-switch__btn.is-active { background: var(--yellow); color: var(--ink); }
.nav .lang-switch { display: none; }

.menu-btn { display: none; }
.menu-btn__bars,
.menu-btn__bars::before,
.menu-btn__bars::after {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .15s ease, background .15s ease;
}
.menu-btn__bars { position: relative; }
.menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; }
.menu-btn__bars::before { top: -5px; }
.menu-btn__bars::after { top: 5px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after { transform: translateY(-5px) rotate(-45deg); }

.bag-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 9999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  line-height: 18px;
  letter-spacing: 0.39px;
  box-shadow: 3px 3px 0 0 var(--ink);
  transition: transform .12s ease;
}
.bag-btn:hover { transform: translate(-1px, -1px); }
.bag-btn__count {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.5px 1px 2.5px;
  background: var(--red-dark);
  color: #fff;
  border: 1px solid var(--ink);
  border-radius: 9999px;
  font-weight: 700;
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 0.44px;
}
.bag-btn__count.is-bumping { animation: bump .35s ease; }
@keyframes bump { 40% { transform: scale(1.35); } }

.avatar-btn {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red-dark);
  border-radius: 9999px;
}

/* --------------------------------------------------------------------------
   1. Hero
   -------------------------------------------------------------------------- */

.hero { overflow: hidden; padding: 64px 0; }
.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 28px;
  align-items: center;
}
.hero__copy { grid-column: 1 / span 6; display: flex; flex-direction: column; align-items: flex-start; }
.hero__cluster {
  grid-column: 7 / span 6;
  position: relative;
  left: calc((100% - 578px) / 2);
  width: 578px;
  height: 352px;
  transform: scale(var(--cluster-scale, 1));
  transform-origin: top center;
  margin-bottom: calc(352px * (var(--cluster-scale, 1) - 1));
}

.sticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 9999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  line-height: 18px;
  letter-spacing: 0.39px;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 3px 3px 0 0 var(--ink);
  transform: rotate(-2deg);
  transform-origin: left center;
}

.hero__title {
  margin-top: 24px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 48px;
  line-height: 55.2px;
  letter-spacing: -1.2px;
}
.hero__title-accent { color: var(--red); }

.hero__subline {
  margin-top: 24px;
  max-width: 576px;
  color: var(--brown);
  font-weight: 500;
  font-size: 18px;
  line-height: 28px;
}

.hero__ctas { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.social-proof {
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  background: var(--surface-2);
  border: 2px solid var(--ink);
  border-radius: 9999px;
  box-shadow: 3px 3px 0 0 var(--ink);
}
.social-proof__avatars { display: flex; }
.social-proof__avatar {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4.5px 1px 5.5px;
  border: 1px solid var(--ink);
  border-radius: 9999px;
  font-size: 12px;
  line-height: 18px;
}
.social-proof__avatar + .social-proof__avatar { margin-left: -10px; }
.social-proof__text { font-weight: 500; font-size: 13px; line-height: 20px; letter-spacing: 0.13px; white-space: nowrap; }
.social-proof__text strong { margin-left: 8px; font-weight: 700; color: var(--red-dark); }

.hero__blob {
  position: absolute;
  left: 97px;
  top: -16px;
  width: 384px;
  height: 384px;
  border-radius: 9999px;
  background: rgba(246,226,159,.4);
  filter: blur(40px);
}

.keychain {
  position: absolute;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 16px;
  padding: 10px 10px 0;
}
.keychain__ring {
  position: absolute;
  top: -14px;
  left: 50%;
  width: 20px;
  height: 20px;
  margin-left: -10px;
  background: #dcd9d9;
  border: 2px solid var(--ink);
  border-radius: 9999px;
  box-shadow: inset 0 2px 4px 2px rgba(0,0,0,.05);
}
.keychain__art {
  position: relative;
  aspect-ratio: 1;
  border: 1px solid rgba(27,27,28,.4);
  border-radius: 12px;
}
.keychain__art img { filter: drop-shadow(0 2px 4px rgba(0,0,0,.06)) drop-shadow(0 4px 6px rgba(0,0,0,.07)); }
.keychain__spark { position: absolute; font-size: 12px; line-height: 16px; font-weight: 600; }
.keychain__spark--tr { top: 8px; right: 8px; }
.keychain__spark--tl { top: 8px; left: 8px; }
.keychain__spark--bl { bottom: 8px; left: 8px; }
.keychain__name { margin-top: 6px; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 15px; line-height: 22.5px; }
.keychain__tag { text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 11px; line-height: 16px; letter-spacing: 0.44px; text-transform: uppercase; }

.keychain--1 {
  left: calc(50% - 164px);
  top: 50%;
  width: 208px;
  height: 254.5px;
  transform: translate(-50%, -50%);
  box-shadow: 5px 5px 0 0 var(--ink);
}
.keychain-wrap--3 {
  position: absolute;
  left: calc(50% + 172px);
  top: calc(50% - 20px);
  width: 237.079px;
  height: 271.74px;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.keychain--3 {
  position: relative;
  width: 192px;
  height: 237px;
  transform: rotate(12deg);
  box-shadow: 4px 4px 0 0 var(--ink);
}
.keychain--3 .keychain__name { font-size: 14px; line-height: 21px; }
.keychain--2 {
  left: 181px;
  top: 64px;
  width: 224px;
  height: 272px;
  box-shadow: 6px 6px 0 0 var(--ink);
}
.keychain--2 .keychain__name { font-size: 16px; line-height: 24px; }

.hero__float-tag-wrap {
  position: absolute;
  right: 39.2px;
  top: -20.47px;
  width: 241.692px;
  height: 52.942px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__float-tag {
  padding: 4px 14px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 9999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 0.44px;
  text-transform: uppercase;
  white-space: nowrap;
  transform: rotate(6deg);
  box-shadow: 3px 3px 0 0 var(--ink);
}

/* --------------------------------------------------------------------------
   2. Characters
   -------------------------------------------------------------------------- */

.characters { padding: 40px 0; }
.characters__inner { display: flex; flex-direction: column; align-items: center; gap: 32px; }

.characters__grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}

.char-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 16px;
  box-shadow: 3px 3px 0 0 var(--ink);
  transition: transform .15s ease;
}
.char-card:hover { transform: translate(-2px, -2px); }
.char-card__avatar {
  position: relative;
  width: 96px;
  height: 96px;
  margin-bottom: 12px;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 9999px;
}
.char-card__avatar img { left: 6px; width: calc(100% - 12px); }
.char-card__name { font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 24px; text-align: center; }
.char-card__tagline { color: var(--brown); font-size: 12px; line-height: 18px; text-align: center; }

/* --------------------------------------------------------------------------
   3. New arrivals
   -------------------------------------------------------------------------- */

.arrivals { padding: 40px 0; }
.arrivals__inner { display: flex; flex-direction: column; gap: 32px; }

.filter-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tab {
  padding: 6px 16px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 9999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  line-height: 18px;
  letter-spacing: 0.39px;
  white-space: nowrap;
  box-shadow: 2px 2px 0 0 var(--ink);
  transition: background .12s ease, color .12s ease, transform .12s ease;
}
.tab:hover { transform: translate(-1px, -1px); }
.tab.is-active { background: var(--red); color: var(--white-warm); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}
.product-grid__empty { color: var(--brown); text-align: center; }

.product-card {
  display: flex;
  flex-direction: column;
  padding: 16px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 16px;
  box-shadow: 4px 4px 0 0 var(--ink);
}
.product-card[hidden] { display: none; }
.product-card__art {
  position: relative;
  aspect-ratio: 1;
  border: 1px solid rgba(27,27,28,.3);
  border-radius: 12px;
}
.product-card__art img { left: 12px; width: calc(100% - 24px); }
.product-card__ring {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 16px;
  height: 16px;
  margin-left: -8px;
  background: #eae7e7;
  border: 1px solid var(--ink);
  border-radius: 9999px;
}
.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 2px 10px;
  border: 1px solid var(--ink);
  border-radius: 9999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 0.44px;
  text-transform: uppercase;
  box-shadow: 0 1px 1px rgba(0,0,0,.05);
}
.badge--red { background: var(--red); color: var(--white-warm); }
.badge--yellow { background: var(--yellow); }
.badge--mint { background: var(--mint); }
.badge--tilt { transform: rotate(-3deg); }

.product-card__body { display: flex; flex-direction: column; flex: 1; padding-top: 18.5px; }
.product-card__series { font-family: var(--font-display); font-weight: 700; font-size: 11px; line-height: 16px; letter-spacing: 0.44px; color: var(--brown); }
.product-card__title { margin-top: 1.5px; font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 22.5px; }
.product-card__desc { margin-top: 4px; color: var(--brown); font-size: 12px; line-height: 18px; }
.product-card__foot { margin-top: auto; padding-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.product-card__price { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 30px; color: var(--red-dark); }

/* --------------------------------------------------------------------------
   4. Feature strip
   -------------------------------------------------------------------------- */

.features { padding: 32px 0; }
.features__box {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  padding: 32px;
  background: var(--surface-2);
  border: 2px solid var(--ink);
  border-radius: 16px;
  box-shadow: 4px 4px 0 0 var(--ink);
}
.feature { display: flex; align-items: flex-start; gap: 14px; }
.feature > div { display: flex; flex-direction: column; gap: 4px; }
.feature__icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  border: 2px solid var(--ink);
  border-radius: 9999px;
  box-shadow: 2px 2px 0 0 var(--ink);
}
.feature__title { font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 24px; white-space: nowrap; }
.feature__desc { color: var(--brown); font-size: 13px; line-height: 20px; letter-spacing: 0.13px; }

/* --------------------------------------------------------------------------
   5. Bestsellers
   -------------------------------------------------------------------------- */

.bestsellers { padding: 40px 0; }
.bestsellers__inner { display: flex; flex-direction: column; gap: 32px; }
.carousel-nav { display: flex; align-items: center; gap: 8px; }

.best-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 28px) / 4);
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  /* room for the hard shadows so they are not clipped by overflow */
  padding: 0 6px 6px 0;
  margin: 0 -6px -6px 0;
}
.best-track::-webkit-scrollbar { display: none; }

.best-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  padding: 14px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 16px;
  box-shadow: 4px 4px 0 0 var(--ink);
}
.best-card__art {
  position: relative;
  aspect-ratio: 1;
  margin-bottom: 12px;
  border: 1px solid rgba(27,27,28,.3);
  border-radius: 12px;
}
.best-card__art img { left: 8px; width: calc(100% - 16px); }
.best-card__rating { display: flex; align-items: center; gap: 4px; font-weight: 700; }
.best-card__rating span { color: var(--red-dark); font-size: 13px; line-height: 19.5px; }
.best-card__rating b { font-size: 11px; line-height: 16px; letter-spacing: 0.44px; }
.best-card__title { margin-top: 4px; font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 24px; }
.best-card__price { margin-top: 2px; font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 25.5px; color: var(--red-dark); }

.review {
  margin-top: 12px;
  padding: 10px;
  background: var(--surface);
  border: 1px solid rgba(27,27,28,.2);
  border-radius: 12px;
}
.review p { color: var(--brown); font-style: italic; font-size: 12px; line-height: 18px; }
.review footer { margin-top: 4px; font-family: var(--font-display); font-weight: 700; font-size: 10px; line-height: 15px; }

/* --------------------------------------------------------------------------
   6. Seasonal banner
   -------------------------------------------------------------------------- */

.seasonal { padding: 40px 0; }
.seasonal__banner {
  position: relative;
  overflow: hidden;
  padding: 48px;
  background: linear-gradient(90deg, var(--yellow) 0%, var(--pink) 50%, var(--yellow) 100%);
  border: 2px solid var(--ink);
  border-radius: 24px;
  box-shadow: 6px 6px 0 0 var(--ink);
}
.seasonal__doodle { position: absolute; font-weight: 400; pointer-events: none; }
.seasonal__doodle--top { left: 48.39%; top: 16px; font-size: 24px; line-height: 32px; color: var(--ink); }
.seasonal__doodle--bottom { left: 48px; bottom: 24px; font-size: 30px; line-height: 36px; font-weight: 600; color: var(--red-dark); }
.seasonal__doodle--right { right: 48px; top: 48px; font-size: 20px; line-height: 28px; color: var(--red-dark); }

.seasonal__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 32px;
  align-items: center;
  min-height: 384px;
}
.seasonal__content { grid-column: 1 / span 7; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.seasonal__desc { max-width: 512px; color: var(--brown); font-size: 15px; line-height: 24px; }

.countdown { display: flex; align-items: center; gap: 12px; padding-top: 8px; }
.countdown__unit {
  width: 64px;
  height: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 9999px;
  box-shadow: 3px 3px 0 0 var(--ink);
}
.countdown__unit b { font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 26px; color: var(--red-dark); font-variant-numeric: tabular-nums; }
.countdown__unit small { font-family: var(--font-display); font-weight: 500; font-size: 10px; line-height: 15px; text-transform: uppercase; }
.countdown__sep { font-weight: 700; font-size: 18px; line-height: 28px; }

.seasonal__cta { padding-top: 8px; }

.seasonal__visual { grid-column: 8 / span 5; display: flex; align-items: center; justify-content: center; min-height: 384px; }
.seasonal__card {
  position: relative;
  width: 100%;
  max-width: 384px;
  aspect-ratio: 384 / 370;
  padding: 16px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 16px;
  transform: rotate(2deg);
  box-shadow: 6px 6px 0 0 var(--ink);
}
.seasonal__card img { left: 16px; width: calc(100% - 32px); }
.seasonal__tag {
  position: absolute;
  top: -8px;
  right: 2px;
  padding: 4px 12px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 9999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 0.44px;
  text-transform: uppercase;
  white-space: nowrap;
  transform: rotate(-6deg);
  box-shadow: 2px 2px 0 0 var(--ink);
}

/* --------------------------------------------------------------------------
   7. Newsletter
   -------------------------------------------------------------------------- */

.newsletter { padding: 80px 0 40px; }
.newsletter__inner {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.newsletter__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 48px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 24px;
  text-align: center;
  box-shadow: 6px 6px 0 0 var(--ink);
}
.newsletter__lead { max-width: 448px; color: var(--brown); font-size: 15px; line-height: 24px; }
.newsletter__form { width: 100%; max-width: 448px; display: flex; align-items: center; gap: 8px; padding-top: 8px; }
.newsletter__input {
  flex: 1;
  min-width: 0;
  padding: 14px 16px 15px;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 9999px;
  box-shadow: 2px 2px 0 0 var(--ink);
  font: inherit;
  font-size: 15px;
  line-height: normal;
  color: var(--ink);
  outline: none;
}
.newsletter__input::placeholder { color: rgba(92,64,60,.7); }
.newsletter__input:focus { box-shadow: 2px 2px 0 0 var(--ink), 0 0 0 3px rgba(246,226,159,.8); }
.newsletter__input[aria-invalid="true"] { border-color: var(--red); }
.newsletter__form .btn--md { padding: 12px 24px; }
.newsletter__note { color: rgba(92,64,60,.8); font-size: 12px; line-height: 18px; }
.newsletter__note.is-success { color: var(--red-dark); font-weight: 700; }

.mascot {
  position: absolute;
  left: calc(var(--gutter) + 56px);
  top: -48px;
  width: 80px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px 2px 0;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-bottom: 0;
  border-radius: 9999px 9999px 0 0;
}
.mascot__face { display: flex; align-items: center; gap: 8px; padding-top: 8px; }
.mascot__eye { width: 6px; height: 6px; background: var(--ink); border-radius: 9999px; }
.mascot__nose { width: 8px; height: 4px; background: rgba(183,20,17,.6); border-radius: 9999px; }
.mascot__ear {
  position: absolute;
  top: -8px;
  width: 16px;
  height: 16px;
  background: var(--yellow);
  border: 1px solid var(--ink);
  border-radius: 9999px;
}
.mascot__ear--l { left: 4px; }
.mascot__ear--r { right: 4px; }
.mascot__paw {
  position: absolute;
  bottom: -6px;
  width: 12px;
  height: 8px;
  background: #fff;
  border: 1px solid var(--ink);
  border-radius: 9999px;
}
.mascot__paw--l { left: 8px; }
.mascot__paw--r { right: 8px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer { padding: 42px 0 24px; background: var(--bg); border-top: 2px solid var(--ink); }
.footer__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  padding-bottom: 41px;
  border-bottom: 1px solid rgba(229,190,184,.5);
}
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col--brand { gap: 12px; }
.footer__col .brand { gap: 8px; }
.footer__blurb { max-width: 320px; color: var(--brown); font-size: 13px; line-height: 20px; letter-spacing: 0.13px; }
.footer__social { display: flex; gap: 8px; padding-top: 8px; }
.social-btn {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1px;
  background: #fff;
  border: 1px solid var(--ink);
  border-radius: 9999px;
  box-shadow: 2px 2px 0 0 var(--ink);
  transition: transform .12s ease;
}
.social-btn:hover { transform: translate(-1px, -1px); }
.footer__heading { font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 26px; }
.footer__list { display: flex; flex-direction: column; gap: 8px; }
.footer__list li { line-height: 20px; }
.footer__list a { color: var(--brown); font-size: 13px; line-height: 20px; letter-spacing: 0.13px; }
.footer__list a:hover { color: var(--ink); text-decoration: underline; }
.promise-box {
  margin-top: 2px;
  padding: 15.125px 16px 16px;
  background: var(--surface);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 0 var(--ink);
}
.promise-box p { color: var(--brown); font-size: 13px; line-height: 21.13px; letter-spacing: 0.13px; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 16px;
  color: var(--brown);
  font-size: 13px;
  line-height: 20px;
  letter-spacing: 0.13px;
}
.payments { display: flex; gap: 8px; }
.payments span {
  padding: 4px 8px;
  background: #fff;
  border: 1px solid var(--ink);
  border-radius: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 0.44px;
  text-transform: uppercase;
  color: var(--brown);
}

/* --------------------------------------------------------------------------
   Cart drawer
   -------------------------------------------------------------------------- */

body.has-drawer { overflow: hidden; }

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(27,27,28,.45);
}
.cart-overlay[hidden] { display: none; }

.cart {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  width: min(420px, 100%);
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-left: 2px solid var(--ink);
  transform: translateX(104%);
  transition: transform .25s ease;
  visibility: hidden;
}
.cart.is-open { transform: none; visibility: visible; }

.cart__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 14px;
  border-bottom: 2px solid var(--ink);
  background: #fff;
}
.cart__title { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 30px; letter-spacing: -0.3px; }
.cart__count {
  min-width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 7px;
  background: var(--red-dark);
  color: #fff;
  border: 1px solid var(--ink);
  border-radius: 9999px;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.4px;
}
.cart__close { font-size: 16px; font-weight: 700; }

.ship-bar { padding: 14px 20px 0; }
.ship-bar__text { font-family: var(--font-display); font-weight: 600; font-size: 12px; line-height: 18px; letter-spacing: 0.2px; color: var(--brown); }
.ship-bar__track { height: 10px; margin-top: 6px; background: #fff; border: 1px solid var(--ink); border-radius: 9999px; overflow: hidden; }
.ship-bar__fill { height: 100%; width: 0; background: var(--yellow); border-right: 1px solid var(--ink); transition: width .3s ease; }
.ship-bar.is-done .ship-bar__fill { background: var(--mint); border-right: 0; }
.ship-bar.is-done .ship-bar__text { color: var(--ink); }

.cart__items { flex: 1; overflow-y: auto; padding: 16px 20px; display: flex; flex-direction: column; gap: 12px; }

.cart-item {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 10px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 16px;
  box-shadow: 3px 3px 0 0 var(--ink);
}
.cart-item__art {
  position: relative;
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  overflow: hidden;
  border: 1px solid rgba(27,27,28,.3);
  border-radius: 10px;
}
.cart-item__art img { position: absolute; left: 0; top: 50%; width: 100%; height: auto; transform: translateY(-50%); }
.cart-item__body { flex: 1; min-width: 0; padding-right: 24px; }
.cart-item__series { font-family: var(--font-display); font-weight: 700; font-size: 10px; line-height: 14px; letter-spacing: 0.4px; text-transform: uppercase; color: var(--brown); }
.cart-item__name { font-family: var(--font-display); font-weight: 700; font-size: 14px; line-height: 19px; }
.cart-item__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.cart-item__price { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--red-dark); }
.cart-item__remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--brown);
}
.cart-item__remove:hover { background: var(--surface-2); color: var(--ink); }

.qty { display: inline-flex; align-items: center; border: 2px solid var(--ink); border-radius: 9999px; background: var(--surface); }
.qty__btn { width: 28px; height: 26px; font-family: var(--font-display); font-weight: 700; font-size: 15px; line-height: 1; border-radius: 9999px; }
.qty__btn:hover { background: var(--yellow); }
.qty__value { min-width: 22px; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 13px; }

.cart__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 32px 24px; text-align: center; }
.cart__empty[hidden] { display: none; }
.cart__empty-icon { font-size: 40px; line-height: 1; }
.cart__empty-title { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 28px; }
.cart__empty-text { max-width: 260px; color: var(--brown); font-size: 14px; line-height: 20px; }
.cart__empty .btn { margin-top: 8px; }

.cart__foot { padding: 14px 20px 20px; border-top: 2px solid var(--ink); background: #fff; }
.cart__foot[hidden] { display: none; }
.cart__promo { display: flex; gap: 8px; }
.cart__promo-input,
.field__input {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: 9px 14px;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 9999px;
  box-shadow: 2px 2px 0 0 var(--ink);
  font: inherit;
  font-size: 14px;
  line-height: 20px;
  color: var(--ink);
  outline: none;
}
.cart__promo-input::placeholder, .field__input::placeholder { color: rgba(92,64,60,.6); }
.cart__promo-input:focus, .field__input:focus { box-shadow: 2px 2px 0 0 var(--ink), 0 0 0 3px rgba(246,226,159,.8); }
.cart__promo-msg { min-height: 18px; margin-top: 6px; font-size: 12px; line-height: 18px; color: var(--brown); }
.cart__promo-msg.is-error { color: var(--red-dark); font-weight: 700; }

.totals { display: flex; flex-direction: column; gap: 4px; margin: 10px 0 14px; }
.totals__row { display: flex; justify-content: space-between; font-size: 14px; line-height: 20px; color: var(--brown); }
.totals__row[hidden] { display: none; }
.totals__row dd { margin: 0; font-family: var(--font-display); font-weight: 600; color: var(--ink); }
.totals__row--discount dd { color: var(--red-dark); }
.totals__row--total { margin-top: 6px; padding-top: 8px; border-top: 1px dashed rgba(27,27,28,.3); color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.totals__row--total dd { font-size: 20px; color: var(--red-dark); }
.cart__checkout { width: 100%; justify-content: center; }
.cart__note { margin-top: 10px; text-align: center; font-size: 11px; line-height: 16px; color: rgba(92,64,60,.8); }

.best-card__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 2px; }
.best-card__row .best-card__price { margin-top: 0; }

/* --------------------------------------------------------------------------
   Checkout page
   -------------------------------------------------------------------------- */

body.checkout-page, body.shop-page { padding-top: 0; }
.checkout-page .header, .shop-page .header { position: sticky; top: 0; }
.checkout { padding: 40px 0 64px; }
.checkout__inner { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.checkout__title { font-family: var(--font-display); font-weight: 700; font-size: 32px; line-height: 40px; letter-spacing: -0.3px; }
.checkout__back { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--brown); font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: 0.3px; }
.checkout__back:hover { text-decoration: underline; }

.stepper { display: flex; gap: 8px; margin: 24px 0 20px; }
.stepper__item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 9999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  line-height: 18px;
  letter-spacing: 0.3px;
  color: var(--brown);
  white-space: nowrap;
  text-align: left;
}
.stepper__num {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 22px;
  background: var(--surface-2);
  border: 1px solid var(--ink);
  border-radius: 9999px;
  font-size: 11px;
  color: var(--ink);
}
.stepper__item.is-active { background: var(--yellow); color: var(--ink); box-shadow: 2px 2px 0 0 var(--ink); }
.stepper__item.is-done { color: var(--ink); cursor: pointer; }
.stepper__item.is-done .stepper__num { background: var(--mint); }
.stepper__item:disabled { cursor: default; }

.panel {
  padding: 28px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 24px;
  box-shadow: 5px 5px 0 0 var(--ink);
}
.panel[hidden] { display: none; }
.panel__title { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 30px; }
.panel__lead { margin-top: 4px; color: var(--brown); font-size: 14px; line-height: 20px; }
.panel__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.panel__actions .btn--lg { justify-content: center; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; margin-top: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field__label { font-family: var(--font-display); font-weight: 600; font-size: 12px; line-height: 16px; letter-spacing: 0.3px; color: var(--ink); }
.field__input { border-radius: 14px; padding: 10px 14px; }
select.field__input { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231b1b1c' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field.is-invalid .field__input { border-color: var(--red); box-shadow: 2px 2px 0 0 var(--red); }
.field__error { display: none; font-size: 12px; line-height: 16px; color: var(--red-dark); font-weight: 700; }
.field.is-invalid .field__error { display: block; }
.field__hint { font-size: 12px; line-height: 16px; color: var(--brown); }

.choice-list { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.choice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 16px;
  cursor: pointer;
}
.choice:has(input:checked) { background: var(--yellow); box-shadow: 2px 2px 0 0 var(--ink); }
.choice input { width: 18px; height: 18px; margin: 0; accent-color: var(--red-dark); }
.choice__body { flex: 1; }
.choice__label { font-family: var(--font-display); font-weight: 700; font-size: 14px; line-height: 20px; }
.choice__meta { font-size: 12px; line-height: 16px; color: var(--brown); }
.choice__price { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--red-dark); white-space: nowrap; }

.demo-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 20px;
  padding: 12px 14px;
  background: var(--pink);
  border: 2px solid var(--ink);
  border-radius: 16px;
  font-size: 13px;
  line-height: 19px;
}
.demo-note b { font-family: var(--font-display); }
.demo-note code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; background: #fff; padding: 1px 6px; border: 1px solid var(--ink); border-radius: 6px; }

.review-block { margin-top: 18px; padding: 14px 16px; background: var(--surface); border: 1px solid rgba(27,27,28,.25); border-radius: 16px; }
.review-block__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.review-block__title { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.3px; text-transform: uppercase; color: var(--brown); }
.review-block__edit { font-family: var(--font-display); font-weight: 600; font-size: 12px; color: var(--red-dark); text-decoration: underline; }
.review-block__body { margin-top: 6px; font-size: 14px; line-height: 21px; }

.summary { position: sticky; top: calc(var(--header-h) + 24px); padding: 22px; background: #fff; border: 2px solid var(--ink); border-radius: 24px; box-shadow: 5px 5px 0 0 var(--ink); }
.summary__title { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 26px; }
.summary__items { display: flex; flex-direction: column; gap: 10px; margin: 14px 0; max-height: 320px; overflow-y: auto; }
.summary-item { display: flex; align-items: center; gap: 10px; }
.summary-item__art { position: relative; flex: 0 0 52px; width: 52px; height: 52px; overflow: hidden; border: 1px solid rgba(27,27,28,.3); border-radius: 10px; }
.summary-item__art img { position: absolute; left: 0; top: 50%; width: 100%; height: auto; transform: translateY(-50%); }
.summary-item__qty { position: absolute; top: -2px; right: -2px; min-width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; background: var(--ink); color: #fff; border-radius: 9999px; font-family: var(--font-display); font-weight: 700; font-size: 10px; }
.summary-item__name { flex: 1; min-width: 0; font-family: var(--font-display); font-weight: 600; font-size: 13px; line-height: 18px; }
.summary-item__price { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--red-dark); white-space: nowrap; }
.summary__promo { display: flex; gap: 8px; }
.summary__promo-msg { min-height: 18px; margin-top: 6px; font-size: 12px; line-height: 18px; color: var(--brown); }
.summary__promo-msg.is-error { color: var(--red-dark); font-weight: 700; }
.summary__toggle { display: none; }
.summary .totals { margin-bottom: 0; }

.confirmation { text-align: center; padding: 40px 28px; }
.confirmation__icon { font-size: 56px; line-height: 1; }
.confirmation__title { margin-top: 12px; font-family: var(--font-display); font-weight: 800; font-size: 32px; line-height: 40px; letter-spacing: -0.5px; }
.confirmation__text { max-width: 440px; margin: 10px auto 0; color: var(--brown); font-size: 15px; line-height: 24px; }
.confirmation__order { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 8px 16px; background: var(--yellow); border: 2px solid var(--ink); border-radius: 9999px; box-shadow: 3px 3px 0 0 var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: 0.4px; }
.confirmation__list { max-width: 420px; margin: 24px auto 0; text-align: left; }
.confirmation .panel__actions { justify-content: center; }

.checkout-empty { text-align: center; padding: 48px 28px; }
.checkout-empty .btn { margin-top: 16px; }

/* --------------------------------------------------------------------------
   Shop page
   -------------------------------------------------------------------------- */

.shop { padding: 40px 0 64px; }
.shop__head { align-items: flex-end; }
.shop__count { font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: 0.3px; color: var(--brown); }
.shop__characters { margin-top: 28px; scroll-margin-top: calc(var(--header-h) + 16px); }
.shop__sub { font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 26px; margin-bottom: 12px; }

.char-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.char-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 8px 10px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 16px;
  box-shadow: 2px 2px 0 0 var(--ink);
  text-align: center;
  transition: transform .12s ease, background .12s ease;
}
.char-chip:hover { transform: translate(-1px, -1px); }
.char-chip.is-active { background: var(--yellow); }
.char-chip__avatar {
  position: relative;
  width: 56px;
  height: 56px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  border-radius: 9999px;
  font-size: 22px;
}
.char-chip__avatar img { position: absolute; left: 4px; top: 50%; width: calc(100% - 8px); height: auto; transform: translateY(-50%); }
.char-chip__name { font-family: var(--font-display); font-weight: 700; font-size: 13px; line-height: 18px; }
.char-chip__meta { font-size: 11px; line-height: 15px; color: var(--brown); }
.char-chip--all .char-chip__meta { font-family: var(--font-display); font-weight: 700; }

.shop__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 28px 0 20px; }
.shop__sort { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: 0.3px; color: var(--brown); }
.shop__sort select.field__input { width: auto; padding: 7px 34px 7px 14px; border-radius: 9999px; font-size: 13px; }

.product-grid--shop { gap: 24px; }
.shop__empty { padding: 48px 16px; text-align: center; color: var(--brown); }
.shop__empty .btn { margin-top: 16px; }

/* --------------------------------------------------------------------------
   Responsive. The Figma frame is a 1280px desktop. Breakpoints below are ours:
   tablet <= 1100px, phone <= 720px, small phone <= 560px.
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  :root { --gutter: 32px; }
  .header.is-open .nav .lang-switch { display: inline-flex; align-self: center; margin-top: 6px; }

  /* header: hamburger + slide-down menu */
  .menu-btn { display: inline-flex; }
  .nav { display: none; }
  .header.is-open .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 12px var(--gutter) 16px;
    background: var(--bg);
    border-bottom: 2px solid var(--ink);
  }
  .header.is-open .nav__link {
    padding: 10px 16px;
    background: #fff;
    border: 2px solid var(--ink);
    box-shadow: 2px 2px 0 0 var(--ink);
    font-size: 15px;
    line-height: 20px;
    text-align: center;
  }
  .header.is-open .nav__link--active { background: var(--yellow); font-size: 16px; line-height: 20px; }

  /* hero stacks: copy, then the scaled keychain cluster */
  .hero { padding: 48px 0; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero__copy, .hero__cluster { grid-column: auto; }
  .hero__subline { max-width: 600px; }

  .section-title { font-size: 32px; line-height: 40px; }
  .characters__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features__box { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .best-track { grid-auto-columns: calc((100% - 28px) / 2); }

  .seasonal__grid { grid-template-columns: 1fr; min-height: 0; }
  .seasonal__content, .seasonal__visual { grid-column: auto; }
  .seasonal__visual { min-height: 0; padding: 16px 0 8px; }
  .seasonal__doodle--top { left: auto; right: 80px; }

  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .char-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .product-grid--shop { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

  .checkout__inner { grid-template-columns: minmax(0, 1fr); }
  .checkout__summary { order: -1; }
  .summary { position: static; padding: 0; box-shadow: 3px 3px 0 0 var(--ink); }
  .summary__toggle { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 14px 18px; font-family: var(--font-display); font-weight: 700; font-size: 15px; cursor: pointer; }
  .summary__toggle::after { content: "▾"; font-size: 14px; }
  .summary[open] .summary__toggle::after { content: "▴"; }
  .summary__body { padding: 0 18px 18px; }
}

@media (max-width: 720px) {
  :root { --gutter: 16px; }

  /* header becomes sticky because the promo bar may wrap to two lines */
  body { padding-top: 0; }
  .header { position: sticky; }
  .promo-bar { font-size: 10px; letter-spacing: 0.3px; line-height: 14px; padding: 5px 12px; }
  .navbar { height: 64px; gap: 8px; }
  .brand { gap: 7px; }
  .brand__mark { width: 28px; height: 30px; flex-basis: 28px; }
  .brand__name { font-size: 20px; line-height: 26px; letter-spacing: -0.4px; }
  .brand__dot { width: 6px; height: 6px; margin-top: 2px; }
  .nav-actions { gap: 8px; }
  .nav-actions .lang-switch { display: none; }
  .bag-btn span:not(.bag-btn__count) { display: none; }
  .bag-btn { padding: 6px 10px; }
  .avatar-btn { display: none; }

  .hero { padding: 32px 0 40px; }
  .hero__inner { gap: 28px; }
  .sticker-badge { font-size: 12px; padding: 5px 14px; }
  .hero__title { margin-top: 20px; font-size: 36px; line-height: 42px; letter-spacing: -0.8px; }
  .hero__title br { display: none; }
  .hero__subline { margin-top: 16px; font-size: 16px; line-height: 26px; }
  .hero__ctas { margin-top: 24px; width: 100%; }
  .hero__ctas .btn { flex: 1 1 auto; justify-content: center; }
  .social-proof { margin-top: 28px; flex-wrap: wrap; border-radius: 24px; }
  .social-proof__text { white-space: normal; }
  .social-proof__text strong { display: block; margin-left: 0; }

  .section-title { font-size: 28px; line-height: 36px; }
  .characters, .arrivals, .bestsellers, .seasonal { padding: 32px 0; }
  .characters__inner, .arrivals__inner, .bestsellers__inner { gap: 24px; }
  .characters__grid { gap: 14px; }
  .char-card { padding: 12px 8px; }

  .arrivals .section-head--row { flex-direction: column; align-items: stretch; }
  .filter-tabs {
    flex-wrap: nowrap;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 2px 4px 4px 0;
    margin-bottom: -4px;
  }
  .filter-tabs::-webkit-scrollbar { display: none; }
  .filter-tabs .text-link { margin-left: auto; }

  .features { padding: 24px 0; }
  .features__box { grid-template-columns: 1fr; padding: 24px; gap: 20px; }
  .feature__title { white-space: normal; }

  .best-track { grid-auto-columns: min(85%, 320px); }

  .seasonal__banner { padding: 28px 20px 36px; }
  .seasonal__doodle--top { right: 20px; top: 12px; }
  .seasonal__doodle--right { right: 20px; top: 48px; }
  .seasonal__doodle--bottom { left: auto; right: 20px; bottom: 8px; }
  .countdown { gap: 6px; }
  .countdown__unit { width: 56px; height: 56px; }
  .countdown__unit b { font-size: 16px; line-height: 22px; }
  .seasonal__cta { width: 100%; }
  .seasonal__cta .btn { width: 100%; justify-content: center; white-space: normal; text-align: center; }

  .newsletter { padding: 72px 0 32px; }
  .newsletter__card { padding: 40px 20px 28px; gap: 14px; }
  .newsletter__card .section-title { font-size: 26px; line-height: 32px; }

  .footer { padding-top: 32px; }
  .footer__cols { padding-bottom: 28px; }

  .shop { padding: 24px 0 48px; }
  .char-strip { display: flex; overflow-x: auto; scrollbar-width: none; gap: 10px; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; }
  .char-strip::-webkit-scrollbar { display: none; }
  .char-chip { flex: 0 0 112px; }
  .shop__toolbar { flex-direction: column; align-items: stretch; }
  .shop__sort { justify-content: flex-end; }
  .product-grid--shop { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-grid--shop .product-card { padding: 10px; }
  .product-grid--shop .product-card__title { font-size: 15px; line-height: 20px; }
  .product-grid--shop .product-card__price { font-size: 18px; }
  .product-grid--shop .btn--sm { padding: 6px 10px; }

  .cart__head { padding: 14px 16px 12px; }
  .cart__items { padding: 12px 16px; }
  .cart__foot { padding: 12px 16px 16px; }
  .ship-bar { padding: 12px 16px 0; }
  .checkout { padding: 24px 0 48px; }
  .checkout__title { font-size: 26px; line-height: 32px; }
  .stepper { gap: 6px; margin: 18px 0 16px; }
  .stepper__item { padding: 8px 10px; font-size: 0; gap: 0; justify-content: center; }
  .stepper__item .stepper__num { font-size: 11px; }
  .stepper__item.is-active { font-size: 12px; gap: 8px; flex: 2.2; }
  .panel { padding: 20px 16px; border-radius: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .panel__actions .btn--lg { width: 100%; }
  .panel__actions { flex-direction: column-reverse; align-items: stretch; }
  .footer__bottom { justify-content: center; text-align: center; }
}

@media (max-width: 560px) {
  .nav-actions .icon-btn:first-child { display: none; } /* search: no catalog search yet */
  .brand__name { font-size: 18px; letter-spacing: -0.3px; }
  .brand__dot { display: none; }
  .characters__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: 1fr; }
  .newsletter__form { flex-direction: column; }
  .newsletter__form .btn { width: 100%; justify-content: center; }
  .footer__cols { grid-template-columns: 1fr; row-gap: 28px; }
}

@media (max-width: 360px) {
  /* smallest phones: the wishlist button goes, the brand and bag stay */
  .nav-actions > a.icon-btn { display: none; }
  .brand__name { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .icon-btn, .tab, .char-card, .social-btn, .bag-btn, .menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after { transition: none; }
}
