:root {
  --ink: #111111;
  --paper: #ede8dd;
  --cream: #f2eadc;
  --muted: #504d47;
  --olive: #6b7344;
  --rust: #c0392b;
  --orange: #e2571f;
  --gold: #b08442;
  --white: #ffffff;
  --max: 1200px;
  --font-display: "Oswald", Impact, sans-serif;
  --font-body: "Archivo", Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

.skip-link,
.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;
}

.skip-link:focus {
  z-index: 9999;
  width: auto;
  height: auto;
  clip: auto;
  margin: 12px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--cream);
}

/* Countdown bar */
.countdown-bar {
  position: sticky;
  top: 0;
  z-index: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  min-height: 52px;
  padding: 8px 20px;
  background: var(--ink);
  color: var(--cream);
  border-bottom: 1px solid rgba(242, 234, 220, 0.24);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.countdown-label {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.countdown-timer {
  display: flex;
  align-items: center;
  gap: 9px;
}

.countdown-unit {
  display: grid;
  min-width: 44px;
  justify-items: center;
  line-height: 1;
}

.countdown-num {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0;
}

.countdown-tag {
  margin-top: 3px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.countdown-sep {
  transform: translateY(-5px);
  font-family: var(--font-display);
  font-size: 18px;
  opacity: 0.75;
}

/* Navigation */
.navigation {
  position: relative;
  z-index: 100;
  display: flex;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 48px;
  align-items: center;
  justify-content: space-between;
}

.logo {
  position: relative;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.logo span {
  color: var(--rust);
}

.logo small {
  position: absolute;
  top: -7px;
  right: -30px;
  transform: rotate(10deg);
  display: inline-block;
  padding: 2px 6px;
  background: var(--olive);
  border: 1px solid var(--ink);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  gap: 40px;
  font-size: 16px;
  font-weight: 800;
}

.nav-links a {
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--rust);
  text-decoration: underline 3px;
  text-underline-offset: 4px;
}

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

.nav-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: var(--ink);
}

/* Hero */
.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 1fr);
  gap: 60px;
  align-items: center;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 20px 64px;
}

.hero-content {
  position: relative;
  z-index: 10;
}

.season-badge {
  display: inline-block;
  margin-bottom: 24px;
  padding: 8px 16px;
  background: var(--gold);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero-headline {
  margin-bottom: 30px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2.85rem, 7vw, 4.9rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-headline span {
  color: var(--white);
  text-shadow: 2px 2px 0 var(--ink), -2px -2px 0 var(--ink), 2px -2px 0 var(--ink), -2px 2px 0 var(--ink), 2px 2px 0 var(--ink);
}

.hero-subtext {
  max-width: 500px;
  margin-bottom: 34px;
  color: #44413c;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
}

/* Email collection block based on the uploaded visual reference */
.early-access-card {
  width: min(100%, 455px);
  padding: 16px 18px 14px;
  background: var(--ink);
  border: 1px solid rgba(242, 234, 220, 0.8);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.55), 8px 8px 0 rgba(0, 0, 0, 0.14);
}

.early-access-card.is-highlighted {
  animation: earlyAccessPulse 1400ms ease;
}

.early-access-title,
.early-access-subtitle {
  color: var(--cream);
  line-height: 1;
  text-transform: uppercase;
}

.early-access-title {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.32em;
}

.early-access-subtitle {
  margin-bottom: 13px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.24em;
}

.email-form {
  display: flex;
  width: 100%;
  height: 44px;
}

.email-form input {
  min-width: 0;
  flex: 1;
  height: 100%;
  padding: 0 16px;
  background: var(--cream);
  border: 2px solid var(--cream);
  border-right: 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.email-form .email-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.email-form input::placeholder {
  color: rgba(17, 17, 17, 0.72);
}

.email-form input:focus {
  outline: 2px solid var(--gold);
  outline-offset: -4px;
}

.email-form button {
  display: grid;
  place-items: center;
  width: 58px;
  height: 100%;
  background: transparent;
  border: 2px solid var(--cream);
  color: var(--cream);
  transition: background 160ms ease, color 160ms ease;
}

.email-form button:hover,
.email-form button:focus-visible {
  background: var(--cream);
  color: var(--ink);
}

.form-message {
  min-height: 18px;
  margin-top: 9px;
  color: var(--cream);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-message.error {
  color: #f0b429;
}

.social-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 44px;
}

.avatar-stack {
  display: flex;
}

.avatar-stack img {
  width: 40px;
  height: 40px;
  margin-left: -12px;
  border: 2px solid var(--white);
  border-radius: 999px;
  object-fit: cover;
}

.avatar-stack img:first-child {
  margin-left: 0;
}

.social-proof-title {
  font-size: 14px;
  font-weight: 800;
  text-transform: capitalize;
}

.social-proof-subtitle {
  color: #66615a;
  font-size: 12px;
}

/* Hero image collage */
.hero-visuals {
  position: relative;
  display: flex;
  height: 650px;
  align-items: center;
  justify-content: center;
}

.abstract-shape {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: min(600px, 115%);
  height: auto;
  opacity: 0.8;
  transform: translate(-50%, -50%);
}

.main-image-container {
  position: relative;
  z-index: 2;
  width: 420px;
  height: 550px;
  background: var(--white);
  border: 3px solid var(--ink);
  box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.1);
  transform: rotate(-3deg);
}

.main-image-container img,
.secondary-image img,
.sticker-graphic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.price-tag {
  position: absolute;
  bottom: 30px;
  left: -20px;
  padding: 10px 15px;
  background: var(--olive);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  transform: rotate(5deg);
}

.secondary-image {
  position: absolute;
  top: 60px;
  right: -20px;
  z-index: 3;
  width: 200px;
  height: 200px;
  overflow: hidden;
  background: var(--white);
  border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 var(--gold);
  transform: rotate(6deg);
}

.sticker-graphic {
  position: absolute;
  right: 20px;
  bottom: 50px;
  z-index: 4;
  width: 140px;
  height: 140px;
}

.sticker-graphic img {
  border: 3px solid var(--ink);
  border-radius: 999px;
  box-shadow: 4px 4px 0 var(--ink);
}

.sticker-graphic figcaption {
  position: absolute;
  top: -10px;
  right: -10px;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  background: var(--gold);
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--white);
  font-weight: 800;
  transform: rotate(15deg);
}

.decorative-star {
  position: absolute;
  top: 20px;
  left: 10px;
  z-index: 0;
  transform: rotate(-15deg);
}

/* Drop calendar */
.drop-calendar-section {
  position: relative;
  isolation: isolate;
  overflow: visible;
  margin-top: -18px;
  padding: 52px 20px 66px;
  background:
    linear-gradient(180deg, rgba(237, 232, 221, 0) 0, var(--paper) 42px),
    var(--paper);
}

.drop-calendar-section::before {
  position: absolute;
  right: max(-160px, -8vw);
  bottom: -160px;
  z-index: -2;
  width: 460px;
  height: 460px;
  content: "";
  background: radial-gradient(circle, rgba(226, 87, 31, 0.2), rgba(226, 87, 31, 0) 68%);
}

.drop-calendar-section::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background-image: radial-gradient(rgba(17, 17, 17, 0.08) 1px, transparent 1px);
  background-size: 9px 9px;
  opacity: 0.18;
  pointer-events: none;
}

.drop-calendar-inner {
  display: grid;
  grid-template-columns: minmax(300px, 0.76fr) minmax(460px, 1.24fr);
  gap: 42px;
  max-width: var(--max);
  margin: 0 auto;
  align-items: center;
}

.drop-calendar-panel {
  position: relative;
  display: flex;
  min-height: 410px;
  padding: 34px 28px 28px;
  flex-direction: column;
  overflow: hidden;
  background: var(--cream);
  border: 2px solid var(--ink);
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.14);
  transform: rotate(-0.7deg);
}

.drop-calendar-panel::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(rgba(17, 17, 17, 0.08) 1px, transparent 1px);
  background-position: -180% 0, 0 0;
  background-size: 80% 100%, 8px 8px;
  opacity: 0.22;
  pointer-events: none;
  animation: dropTicketShine 7s ease-in-out infinite;
}

.drop-calendar-kicker {
  position: relative;
  margin-bottom: 10px;
  color: var(--rust);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.drop-calendar-panel h2 {
  max-width: 420px;
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 700;
  line-height: 0.95;
  text-transform: uppercase;
}

.drop-calendar-copy {
  max-width: 470px;
  color: #44413c;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.drop-calendar-support {
  max-width: 420px;
  margin-top: 18px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.drop-calendar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 28px;
  align-items: center;
}

.drop-calendar-actions button,
.drop-calendar-actions a {
  display: inline-flex;
  min-height: 42px;
  padding: 10px 13px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.drop-calendar-actions button {
  background: var(--gold);
  box-shadow: 4px 4px 0 var(--ink);
}

.drop-calendar-actions a {
  background: var(--cream);
}

.drop-calendar-actions button:hover,
.drop-calendar-actions button:focus-visible,
.drop-calendar-actions a:hover,
.drop-calendar-actions a:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.drop-august-visual {
  position: relative;
  min-height: 640px;
  overflow: visible;
}

.drop-calendar-glow {
  position: absolute;
  z-index: 1;
  top: 56px;
  left: 76px;
  width: min(540px, 82%);
  height: 470px;
  background: var(--orange);
  clip-path: polygon(12% 8%, 86% 0, 98% 58%, 75% 100%, 18% 91%, 0 32%);
  opacity: 0.88;
  transform: rotate(-5deg);
}

.august-calendar {
  position: absolute;
  top: 36px;
  left: 50%;
  z-index: 6;
  width: min(540px, 82vw);
  min-height: 540px;
  padding: 38px 26px 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.38), transparent 42%),
    var(--cream);
  border: 3px solid var(--ink);
  box-shadow: 14px 14px 0 rgba(0, 0, 0, 0.13);
  transform: translateX(-50%) rotate(2.4deg);
}

.august-calendar::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image: radial-gradient(rgba(17, 17, 17, 0.08) 1px, transparent 1px);
  background-size: 7px 7px;
  opacity: 0.18;
  pointer-events: none;
}

.calendar-rings {
  position: absolute;
  top: -18px;
  left: 50%;
  display: flex;
  gap: 74px;
  transform: translateX(-50%);
}

.calendar-rings span {
  width: 28px;
  height: 36px;
  background: var(--ink);
  border-radius: 999px 999px 0 0;
}

.calendar-rings span::after {
  display: block;
  width: 12px;
  height: 14px;
  margin: 12px auto 0;
  content: "";
  background: var(--paper);
  border-radius: 999px;
}

.calendar-topline {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.calendar-topline strong {
  color: var(--rust);
}

.calendar-month {
  position: relative;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 6rem);
  font-weight: 700;
  line-height: 0.95;
}

.calendar-weekdays,
.calendar-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-weekdays {
  grid-auto-rows: 28px;
  border: 2px solid var(--ink);
  border-bottom: 0;
  background: var(--ink);
  color: var(--cream);
}

.calendar-weekdays span {
  display: grid;
  place-items: center;
  padding: 0 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
}

.calendar-grid {
  grid-auto-rows: minmax(58px, auto);
  border-top: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
  background: var(--white);
}

.calendar-day {
  position: relative;
  min-height: 58px;
  padding: 7px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.calendar-empty {
  background: rgba(17, 17, 17, 0.04);
}

.calendar-drop-day {
  min-height: 58px;
  z-index: 2;
  background: #f7efe3;
  color: var(--ink);
}

.drop-day-circle {
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 36px;
  border: 3px solid var(--rust);
  border-radius: 50%;
  transform: rotate(-14deg);
  pointer-events: none;
}

.drop-day-label,
.drop-day-time {
  position: absolute;
  left: 4px;
  top: 25px;
  display: block;
  width: max-content;
  padding: 3px 5px;
  background: var(--rust);
  color: var(--ink);
  border: 1px solid var(--ink);
  color: var(--white);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  transform: rotate(-2deg);
}

.drop-day-time {
  top: 45px;
  background: var(--ink);
  color: var(--cream);
  transform: rotate(2deg);
}

.calendar-stamp {
  position: absolute;
  right: 22px;
  bottom: 18px;
  padding: 8px 11px;
  border: 2px solid var(--ink);
  background: var(--cream);
  color: var(--rust);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: rotate(-7deg);
}

.drop-float-card {
  position: absolute;
  z-index: 24;
  overflow: hidden;
  background: var(--white);
  border: 2px solid var(--ink);
  box-shadow: 7px 7px 0 rgba(0, 0, 0, 0.14);
  animation: dropFloat 6s ease-in-out infinite;
}

.drop-float-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drop-float-card-left {
  top: 72px;
  left: -44px;
  width: 108px;
  height: 130px;
  transform: rotate(-6deg);
}

.drop-float-card-right {
  right: -44px;
  bottom: 152px;
  width: 112px;
  height: 134px;
  transform: rotate(6deg);
  animation-delay: -2s;
}

.drop-tag {
  position: absolute;
  z-index: 22;
  padding: 8px 11px;
  background: var(--cream);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.drop-tag-one {
  top: 22px;
  right: 44px;
  background: var(--gold);
  transform: rotate(7deg);
}

.drop-tag-restock {
  left: -36px;
  bottom: 108px;
  color: var(--rust);
  transform: rotate(-5deg);
}

.drop-tag-sellers {
  right: -58px;
  top: 290px;
  background: var(--ink);
  color: var(--cream);
  transform: rotate(4deg);
}

@keyframes earlyAccessPulse {
  0% {
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.55), 8px 8px 0 rgba(0, 0, 0, 0.14), 0 0 0 0 rgba(226, 87, 31, 0);
    transform: translateY(0);
  }

  26% {
    box-shadow: 0 0 0 2px var(--gold), 9px 9px 0 rgba(0, 0, 0, 0.18), 0 0 0 8px rgba(226, 87, 31, 0.22);
    transform: translateY(-3px);
  }

  100% {
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.55), 8px 8px 0 rgba(0, 0, 0, 0.14), 0 0 0 0 rgba(226, 87, 31, 0);
    transform: translateY(0);
  }
}

@keyframes dropTicketShine {
  0%,
  68% {
    background-position: -180% 0, 0 0;
  }

  100% {
    background-position: 220% 0, 0 0;
  }
}

@keyframes dropFloat {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -8px;
  }
}

/* Product strip */
.trending-section {
  padding: 42px 0;
  background: var(--white);
  border-top: 2px solid var(--ink);
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

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

.trending-header h2 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-kicker {
  margin-bottom: 4px;
  color: var(--rust);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-card {
  display: block;
  padding: 10px;
  border: 2px solid #eeeeee;
  background: var(--white);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.product-card:hover {
  transform: translate(-4px, -4px);
  border-color: var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
}

.product-image {
  position: relative;
  height: 250px;
  margin-bottom: 12px;
  overflow: hidden;
  background: #f0f0f0;
}

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

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 4px 8px;
  background: var(--ink);
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
}

.product-badge-sale {
  background: var(--gold);
}

.product-card h3 {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 800;
}

.product-card p {
  color: #66615a;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.seller-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--rust);
  font-size: 13px;
  font-weight: 800;
}

.seller-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
}

/* Footer */
.footer {
  padding: 40px 20px;
  background: var(--ink);
  color: var(--white);
}

.footer-content {
  display: flex;
  max-width: var(--max);
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 24px;
}

.footer p {
  color: #9a9a9a;
  font-size: 14px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-icon-link {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--cream);
  text-decoration: underline;
}

.footer-icon-link:hover,
.footer-icon-link:focus-visible {
  text-decoration: none;
}

/* Search overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 100px;
  background: rgba(0, 0, 0, 0.8);
}

.search-overlay[hidden] {
  display: none;
}

.search-container {
  position: relative;
  width: min(90vw, 600px);
}

.search-input {
  width: 100%;
  padding: 20px 60px 20px 20px;
  background: var(--white);
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--olive);
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
}

.search-input:focus {
  outline: none;
  box-shadow: 8px 8px 0 var(--rust);
}

.search-close {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  padding: 5px 10px;
  background: none;
  border: 0;
  color: var(--ink);
  font-size: 24px;
  font-weight: 800;
}

@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .drop-calendar-inner {
    grid-template-columns: 1fr;
  }

  .drop-august-visual {
    min-height: 540px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 968px) {
  .hero-section {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-top: 22px;
  }

  .hero-visuals {
    height: 500px;
    order: -1;
  }

  .main-image-container {
    width: 300px;
    height: 400px;
  }

  .secondary-image {
    top: 40px;
    right: calc(50% - 240px);
    width: 150px;
    height: 150px;
  }

  .sticker-graphic {
    right: calc(50% - 205px);
  }
}

@media (max-width: 768px) {
  .countdown-bar {
    flex-direction: column;
    gap: 6px;
    min-height: 72px;
    padding: 8px 12px;
  }

  .countdown-label {
    font-size: 12px;
    letter-spacing: 0.18em;
  }

  .countdown-unit {
    min-width: 38px;
  }

  .countdown-num {
    font-size: 18px;
  }

  .navigation {
    padding: 18px 20px;
  }

  .logo {
    font-size: 26px;
  }

  .hero-subtext {
    margin-bottom: 28px;
    font-size: 16px;
  }

  .early-access-card {
    padding: 14px;
  }

  .early-access-title {
    font-size: 11px;
    letter-spacing: 0.22em;
  }

  .early-access-subtitle {
    font-size: 10px;
    letter-spacing: 0.16em;
  }

  .email-form {
    height: 42px;
  }

  .email-form input {
    padding: 0 12px;
    font-size: 11px;
    letter-spacing: 0.14em;
  }

  .email-form button {
    width: 52px;
  }

  .social-proof {
    margin-top: 36px;
  }

  .hero-visuals {
    height: 410px;
  }

  .abstract-shape {
    width: 400px;
  }

  .main-image-container {
    width: 250px;
    height: 330px;
  }

  .secondary-image {
    top: 18px;
    right: calc(50% - 178px);
    width: 116px;
    height: 116px;
  }

  .sticker-graphic {
    right: calc(50% - 150px);
    bottom: 30px;
    width: 96px;
    height: 96px;
  }

  .sticker-graphic figcaption {
    width: 42px;
    height: 42px;
    font-size: 12px;
  }

  .decorative-star {
    width: 52px;
    height: 52px;
  }

  .drop-calendar-section {
    margin-top: -12px;
    padding: 36px 16px 40px;
  }

  .drop-calendar-inner {
    grid-template-columns: 1fr;
  }

  .drop-calendar-panel {
    min-height: auto;
    padding: 32px 18px 24px;
    transform: rotate(0deg);
  }

  .drop-calendar-actions {
    margin-top: 22px;
    padding-top: 18px;
  }

  .drop-august-visual {
    min-height: auto;
    padding: 40px 0 30px;
    overflow: visible;
  }

  .drop-calendar-glow {
    top: 36px;
    left: 8%;
    width: 70%;
    height: 70%;
  }

  .august-calendar {
    position: relative;
    top: auto;
    left: auto;
    width: min(440px, 92vw);
    min-height: auto;
    margin: 0 auto;
    padding: 28px 16px 20px;
    transform-origin: center;
    transform: scale(0.95) rotate(2.4deg);
  }

  .calendar-month {
    margin-bottom: 12px;
    font-size: clamp(3rem, 13vw, 4.4rem);
  }

  .calendar-grid {
    grid-auto-rows: minmax(40px, auto);
  }

  .calendar-rings {
    gap: 48px;
  }

  .calendar-day {
    min-height: 40px;
    padding: 5px;
    font-size: 13px;
  }

  .calendar-drop-day {
    min-height: 40px;
  }

  .drop-day-circle {
    top: -1px;
    left: -1px;
    width: 34px;
    height: 32px;
    transform: rotate(-8deg);
  }

  .drop-float-card-left {
    top: 18px;
    left: 2%;
    width: 74px;
    height: 92px;
  }

  .drop-float-card-right {
    right: -2%;
    bottom: 6px;
    width: 78px;
    height: 96px;
  }

  .drop-tag-one {
    top: 8px;
    right: 6%;
  }

  .drop-tag-restock {
    left: 3%;
    bottom: 36px;
  }

  .drop-tag-sellers {
    top: auto;
    right: 4%;
    bottom: 124px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .product-image {
    height: 210px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .countdown-timer {
    gap: 5px;
  }

  .countdown-unit {
    min-width: 34px;
  }

  .countdown-num {
    font-size: 16px;
  }

  .countdown-tag {
    font-size: 7px;
  }

  .hero-section {
    padding-inline: 16px;
  }

  .hero-headline {
    font-size: 2.65rem;
  }

  .early-access-title,
  .early-access-subtitle {
    line-height: 1.25;
  }

  .drop-calendar-panel {
    min-height: auto;
    padding-inline: 16px;
  }

  .drop-calendar-panel h2 {
    font-size: 2.45rem;
  }

  .drop-calendar-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .drop-calendar-actions button,
  .drop-calendar-actions a {
    width: 100%;
  }

  .august-calendar {
    width: min(380px, 94vw);
    padding: 26px 10px 16px;
    transform: scale(0.9) rotate(2.4deg);
  }

  .calendar-grid {
    grid-auto-rows: minmax(34px, auto);
  }

  .calendar-topline {
    font-size: 10px;
    letter-spacing: 0.06em;
  }

  .calendar-weekdays span {
    font-size: 8px;
  }

  .calendar-day {
    min-height: 34px;
    padding: 4px;
    font-size: 11px;
  }

  .calendar-drop-day {
    min-height: 34px;
  }

  .drop-day-circle {
    top: -1px;
    left: -1px;
    width: 31px;
    height: 29px;
    transform: rotate(-8deg);
  }

  .drop-day-label,
  .drop-day-time {
    font-size: 7px;
    padding: 2px 3px;
    max-width: 44px;
  }

  .calendar-stamp {
    position: relative;
    right: auto;
    bottom: auto;
    display: inline-flex;
    margin-top: 10px;
  }

  .drop-tag {
    padding: 6px 8px;
    font-size: 9px;
  }

  .drop-float-card-left,
  .drop-float-card-right {
    opacity: 0.9;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-image {
    height: 260px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* =========================================================================
   Six-stall market — landing stalls, seller page, product page, search
   ========================================================================= */

/* Per-seller accent color, applied via data-accent on each block */
[data-accent="orange"] { --accent: var(--orange); }
[data-accent="rust"]   { --accent: var(--rust); }
[data-accent="olive"]  { --accent: var(--olive); }
[data-accent="gold"]   { --accent: var(--gold); }

/* Shared small buttons */
.stall-enter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 12px 18px;
  background: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--accent, var(--rust));
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.stall-enter:hover,
.stall-enter:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--accent, var(--rust));
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--cream);
  border: 2px solid var(--ink);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.ghost-btn:hover,
.ghost-btn:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
}

/* ---------- Stalls section (landing) ---------- */
.stalls-section {
  position: relative;
  padding: 64px 0 40px;
  background: var(--white);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.stalls-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px 48px;
  align-items: end;
  max-width: var(--max);
  margin: 0 auto 8px;
  padding: 0 20px;
}

.stalls-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 0.98;
  text-transform: uppercase;
}

.stalls-intro-copy {
  color: #44413c;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
}

.stalls-fallback {
  padding: 20px;
  font-weight: 700;
}

/* ---------- Individual stall ---------- */
.stall {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 56px 20px;
  border-top: 2px dashed rgba(17, 17, 17, 0.35);
  color: var(--accent, var(--rust));
}

.stall:first-child { border-top: 0; }
.stall:nth-child(even) { background: var(--paper); }

.stall-graphic {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.stall-graphic::after {
  position: absolute;
  inset: 0;
  content: "";
  background-image: radial-gradient(rgba(17, 17, 17, 0.14) 1px, transparent 1px);
  background-size: 10px 10px;
  opacity: 0.15;
}

.stall-blob {
  position: absolute;
  top: 50%;
  right: -80px;
  width: min(520px, 60%);
  height: auto;
  opacity: 0.16;
  transform: translateY(-50%);
}

.stall:nth-child(even) .stall-blob {
  right: auto;
  left: -80px;
}

.stall-star {
  position: absolute;
  top: 40px;
  right: 8%;
  transform: rotate(-12deg);
  opacity: 0.9;
}

.stall-index {
  position: absolute;
  top: 10px;
  left: 20px;
  z-index: -1;
  font-family: var(--font-display);
  font-size: clamp(6rem, 16vw, 13rem);
  font-weight: 700;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 2px rgba(17, 17, 17, 0.16);
  letter-spacing: -0.02em;
}

.stall-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.55fr);
  gap: 40px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
}

.stall:nth-child(even) .stall-profile { order: 2; }
.stall:nth-child(even) .stall-showcase { order: 1; }

/* Profile card */
.stall-profile {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 24px;
  background: var(--cream);
  border: 2px solid var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
  color: var(--ink);
  transform: rotate(-0.8deg);
}

.stall:nth-child(even) .stall-profile { transform: rotate(0.8deg); }

.stall-avatar {
  position: relative;
  width: 92px;
  height: 92px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 4px 4px 0 var(--accent, var(--rust));
}

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

.stall-live-dot {
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 16px;
  height: 16px;
  background: #2ecc71;
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.6);
  animation: livePulse 2s ease-out infinite;
}

@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(46, 204, 113, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

.stall-handle {
  color: var(--accent, var(--rust));
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stall-name {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 700;
  line-height: 0.98;
  text-transform: uppercase;
}

.stall-curated {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.stall-aesthetic {
  color: #56524b;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

.stall-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.stall-tags li {
  padding: 5px 10px;
  background: var(--white);
  border: 2px solid var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stall-profile-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  padding-top: 4px;
  color: #66615a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stall-profile-foot span::before {
  content: "◦ ";
  color: var(--accent, var(--rust));
}

/* Showcase / horizontal track */
.stall-showcase {
  min-width: 0;
}

.stall-track-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.stall-track-label {
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.track-nav {
  display: flex;
  gap: 8px;
}

.track-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: var(--cream);
  border: 2px solid var(--ink);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 140ms ease, box-shadow 140ms ease, opacity 140ms ease;
}

.track-btn:hover:not(:disabled),
.track-btn:focus-visible:not(:disabled) {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--accent, var(--rust));
}

.track-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  box-shadow: none;
}

.stall-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 20px;
  overflow-x: auto;
  padding: 6px 4px 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--accent, var(--rust)) transparent;
}

.stall-track::-webkit-scrollbar { height: 8px; }
.stall-track::-webkit-scrollbar-thumb {
  background: var(--accent, var(--rust));
  border-radius: 999px;
}
.stall-track:focus-visible {
  outline: 3px solid var(--accent, var(--rust));
  outline-offset: 3px;
}

.stall-track-hint {
  margin-top: 2px;
  color: #66615a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- Outfit card (shared) ---------- */
.outfit-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.12);
  color: var(--ink);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.outfit-card:hover,
.outfit-card:focus-visible {
  transform: translate(-4px, -4px);
  box-shadow: 10px 10px 0 var(--accent, var(--rust));
}

.outfit-image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f0f0f0;
  border-bottom: 2px solid var(--ink);
}

.outfit-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.outfit-card:hover .outfit-image img {
  transform: scale(1.05);
}

.outfit-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 9px;
  background: var(--accent, var(--rust));
  border: 2px solid var(--ink);
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.outfit-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  padding: 14px 14px 16px;
}

.outfit-topline {
  color: var(--accent, var(--rust));
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.outfit-name {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.15;
}

.outfit-blurb {
  flex: 1;
  color: #66615a;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.outfit-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  padding-top: 10px;
  border-top: 2px solid #eee;
}

.outfit-price {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
}

.outfit-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent, var(--rust));
}

/* ---------- Seller stall page ---------- */
.stall-page { background: var(--paper); }

.stall-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 40px 0 54px;
  color: var(--accent, var(--rust));
  background: var(--white);
  border-bottom: 2px solid var(--ink);
}

.stall-hero-graphic { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.stall-hero-graphic .stall-blob { right: -120px; opacity: 0.18; }
.stall-hero-graphic::after {
  position: absolute;
  inset: 0;
  content: "";
  background-image: radial-gradient(rgba(17, 17, 17, 0.12) 1px, transparent 1px);
  background-size: 10px 10px;
  opacity: 0.16;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: #66615a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.crumbs a { color: var(--ink); }
.crumbs a:hover { color: var(--accent, var(--rust)); text-decoration: underline; }

.stall-hero-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: 40px;
  align-items: center;
}

.stall-hero-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--white);
  border: 3px solid var(--ink);
  box-shadow: 12px 12px 0 var(--accent, var(--rust));
  transform: rotate(-2deg);
}

.stall-hero-portrait img { width: 100%; height: 100%; object-fit: cover; }

.stall-hero-badge {
  position: absolute;
  bottom: 16px;
  left: -14px;
  padding: 8px 14px;
  background: var(--ink);
  border: 2px solid var(--ink);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transform: rotate(4deg);
}

.stall-hero-body { color: var(--ink); }

.stall-hero-name {
  margin: 4px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 700;
  line-height: 0.94;
  text-transform: uppercase;
}

.stall-hero-curated {
  max-width: 560px;
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
}

.stall-hero-aesthetic {
  max-width: 580px;
  margin-bottom: 18px;
  color: #56524b;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
}

.stall-hero-body .stall-tags { margin-bottom: 18px; }

.stall-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: #66615a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stall-hero-meta span::before { content: "◦ "; color: var(--accent, var(--rust)); }

/* Collection grid (seller page + product related) */
.stall-collection { padding: 46px 0 64px; }

.collection-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.collection-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

/* ---------- Product page ---------- */
.product-page { background: var(--paper); }

.product-wrap { padding: 30px 20px 70px; }

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 46px;
  align-items: start;
}

.product-gallery {
  position: relative;
  isolation: isolate;
  aspect-ratio: 4 / 5;
  overflow: visible;
}

.product-gallery-graphic { position: absolute; inset: -20px; z-index: -1; color: var(--accent, var(--rust)); }
.product-gallery-graphic .stall-blob {
  top: 50%;
  right: -60px;
  width: 80%;
  opacity: 0.2;
}

.product-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--white);
  border: 3px solid var(--ink);
  box-shadow: 16px 16px 0 var(--accent, var(--rust));
}

.product-tag {
  position: absolute;
  top: 16px;
  right: -14px;
  padding: 10px 15px;
  background: var(--gold);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  transform: rotate(6deg);
}

.product-info { padding-top: 6px; }

.product-seller {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding: 8px 14px 8px 8px;
  background: var(--cream);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.product-seller:hover,
.product-seller:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--accent, var(--rust));
}

.product-seller img {
  width: 40px;
  height: 40px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  object-fit: cover;
}

.product-seller span {
  display: flex;
  flex-direction: column;
  color: var(--accent, var(--rust));
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-seller small {
  color: #66615a;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.product-name {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 0.98;
  text-transform: uppercase;
}

.product-price {
  margin: 10px 0 20px;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  color: var(--accent, var(--rust));
}

.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
  list-style: none;
}

.product-specs li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  background: var(--cream);
  border: 2px solid var(--ink);
  min-width: 92px;
}

.product-specs span {
  color: #66615a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-specs strong {
  font-size: 15px;
  font-weight: 800;
}

.product-detail {
  max-width: 560px;
  margin-bottom: 24px;
  color: #44413c;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
}

.product-sizes { margin-bottom: 26px; }

.product-sizes-label {
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.size-chip {
  min-width: 48px;
  padding: 10px 12px;
  background: var(--white);
  border: 2px solid var(--ink);
  font-size: 13px;
  font-weight: 800;
  transition: background 140ms ease, color 140ms ease, transform 140ms ease;
}

.size-chip:hover,
.size-chip.is-selected {
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-2px);
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.claim-btn {
  flex: 1;
  min-width: 200px;
  padding: 16px 22px;
  background: var(--accent, var(--rust));
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.claim-btn:hover,
.claim-btn:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--ink);
}

.claim-btn.is-claimed {
  background: var(--olive);
  cursor: default;
  transform: none;
  box-shadow: 6px 6px 0 var(--ink);
}

.product-note {
  color: #66615a;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.product-note a { color: var(--accent, var(--rust)); font-weight: 800; text-decoration: underline; }

.product-more { margin-top: 62px; }
.product-more .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- Not found ---------- */
.not-found {
  padding: 80px 20px 100px;
  text-align: center;
}

.not-found h1 {
  margin: 6px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  text-transform: uppercase;
}

.not-found p {
  margin-bottom: 24px;
  color: #56524b;
  font-size: 17px;
  font-weight: 600;
}

.not-found .stall-enter { margin: 0 auto; }

/* ---------- Search results ---------- */
.search-results {
  margin-top: 14px;
  max-height: min(60vh, 460px);
  overflow-y: auto;
  background: var(--cream);
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
}

.search-results:empty { display: none; }

.search-hint {
  padding: 18px 18px;
  color: #56524b;
  font-size: 14px;
  font-weight: 600;
}

.search-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-bottom: 2px solid rgba(17, 17, 17, 0.12);
  color: var(--ink);
  transition: background 140ms ease;
}

.search-row:last-child { border-bottom: 0; }

.search-row:hover,
.search-row:focus-visible {
  background: var(--white);
}

.search-row img {
  width: 52px;
  height: 52px;
  border: 2px solid var(--ink);
  object-fit: cover;
  flex-shrink: 0;
}

.search-row-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.search-row-main strong { font-size: 15px; font-weight: 800; }
.search-row-main small {
  color: #66615a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.search-row-tag {
  padding: 5px 9px;
  background: var(--accent, var(--rust));
  border: 2px solid var(--ink);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .stall-inner { grid-template-columns: 1fr; gap: 28px; }
  .stall:nth-child(even) .stall-profile,
  .stall:nth-child(even) .stall-showcase { order: 0; }
  .stall-profile { transform: none; }
  .stall:nth-child(even) .stall-profile { transform: none; }
  .stall-track { grid-auto-columns: minmax(240px, 78%); }
  .stall-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .stall-hero-portrait { max-width: 420px; }
  .product-layout { grid-template-columns: 1fr; gap: 30px; }
  .product-gallery { max-width: 520px; }
  .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .stalls-intro { grid-template-columns: 1fr; }
  .stall { padding: 44px 16px; }
  .stall-track { grid-auto-columns: minmax(220px, 82%); }
  .track-nav { display: none; }
}

@media (max-width: 560px) {
  .collection-grid,
  .product-more .collection-grid { grid-template-columns: 1fr; }
  .stall-track { grid-auto-columns: 86%; }
  .claim-btn { min-width: 100%; }
  .product-tag { right: 6px; }
}


/* =========================================================================
   v2 — Urgency shop list: marquee bar, HOT feature, profile-as-card rail
   ========================================================================= */

/* Urgency marquee bar (replaces the countdown) */
.urgency-bar {
  position: sticky;
  top: 0;
  z-index: 500;
  overflow: hidden;
  white-space: nowrap;
  background: var(--ink);
  color: var(--cream);
  border-bottom: 1px solid rgba(242, 234, 220, 0.24);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.urgency-track {
  display: flex;
  width: max-content;
  animation: urgencyScroll 22s linear infinite;
  will-change: transform;
}

/* Each group is one full loop of the message set. script.js clones this group
   until the track is at least 2x the bar's width, then scrolls by exactly one
   group-width (--marquee-w) — this keeps the bar always full with no gap,
   regardless of screen size or how much text fits. */
.urgency-group {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: none;
  padding: 9px 18px 9px 0;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.urgency-track span { flex: none; }
.urgency-dot { color: var(--orange); font-size: 9px; }

@keyframes urgencyScroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-1 * var(--marquee-w, 50%))); }
}

/* HOT RIGHT NOW feature (reuses .hero-* collage classes) */
.hot-flag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  padding: 8px 15px;
  background: var(--rust);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hot-flag-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #fff;
  animation: livePulse 1.5s ease-out infinite;
}

.hot-live {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.hot-live b {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--rust);
}

.hot-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 4px 0 22px;
  padding: 8px 18px 8px 8px;
  background: var(--cream);
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  color: var(--ink);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.hot-item:hover,
.hot-item:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--rust);
}

.hot-item img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border: 2px solid var(--ink);
}

.hot-item-body { display: flex; flex-direction: column; gap: 3px; }
.hot-item-seller {
  color: var(--rust);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hot-item-name { font-size: 16px; font-weight: 800; }
.hot-item-price { color: #66615a; font-size: 12px; font-weight: 700; }

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

.hot-actions .claim-btn { flex: none; min-width: 0; }

/* Stall rail (overrides v1 two-column layout) */
.stall {
  padding: 48px clamp(16px, 5vw, 40px);
}

.stall-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1500px;
  margin: 0 auto 14px;
}

.stall-kicker {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stall-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(230px, 25vw, 268px);
  gap: 20px;
  max-width: 1500px;
  margin: 0 auto;
  overflow-x: auto;
  padding: 6px 2px 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--accent, var(--rust)) transparent;
}

.stall-track-hint {
  max-width: 1500px;
  margin: 0 auto;
}

/* Profile as a card, same width as outfit cards */
.stall-profile-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 18px 18px;
  background: var(--cream);
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  color: var(--ink);
}

.stall-profile-card .stall-avatar {
  width: 64px;
  height: 64px;
  box-shadow: 3px 3px 0 var(--accent, var(--rust));
}

.stall-profile-card .stall-name { font-size: 1.55rem; }

.stall-curated-mini {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #56524b;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.stall-profile-card .stall-tags li { font-size: 10px; padding: 4px 8px; }
.stall-profile-card .stall-enter { margin-top: auto; }

/* End-of-rail "see all" card */
.stall-all-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
  padding: 24px 16px;
  background: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--accent, var(--rust));
  color: var(--cream);
  transition: transform 160ms ease;
}

.stall-all-card:hover,
.stall-all-card:focus-visible { transform: translate(-3px, -3px); }

.stall-all-num {
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 1;
  color: var(--accent, var(--rust));
}

.stall-all-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stall-all-cta {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Static view-count badge on cards — no animation, just an eye icon + total */
.outfit-watch {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background: rgba(17, 17, 17, 0.82);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.outfit-watch b { font-weight: 800; }
.eye-icon { flex: none; opacity: 0.85; }

/* Product page view-count line */
.product-hot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 9px 15px;
  background: var(--ink);
  color: var(--cream);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-hot b { color: #f0b429; }

/* Rail responsiveness (re-applied after unconditional overrides above) */
@media (max-width: 768px) {
  .stall { padding: 36px 16px; }
  .stall-track { grid-auto-columns: clamp(210px, 80%, 280px); }
  .stall-topbar .track-nav { display: none; }
  .hot-live b { font-size: 24px; }
}

@media (max-width: 480px) {
  .stall-track { grid-auto-columns: 84%; }
  .urgency-track { font-size: 12px; letter-spacing: 0.1em; }
}

/* =========================================================================
   v3 — Mobile app affordances: swipe dots, bigger touch targets
   ========================================================================= */

/* Swipe-position dots below a stall rail (touch screens only — desktop has arrows) */
.stall-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  max-width: 1500px;
  margin: 2px auto 10px;
}

.stall-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.22);
  transition: background 160ms ease, transform 160ms ease;
}

.stall-dot.is-active {
  background: var(--accent, var(--rust));
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .stall-dots { display: flex; }

  /* Bigger, easier-to-hit touch targets throughout */
  .nav-icon { width: 40px; height: 40px; }
  .track-btn { width: 44px; height: 44px; }
  .size-chip { min-width: 52px; min-height: 44px; padding: 10px 14px; }
  .claim-btn { min-height: 52px; font-size: 16px; }
  .stall-enter,
  .ghost-btn { min-height: 44px; }
  .search-close { min-width: 44px; min-height: 44px; }
}

/* =========================================================================
   v4 — Compact HOT banner + mobile shopping density
   Goal on phones: the featured piece reads as a card, not a hero, and at
   least two stalls fit in one viewport once you're scrolling the market.
   ========================================================================= */

/* ---------- HOT banner (replaces the old full hero collage) ---------- */
.hot-section { position: relative; }

.hot-banner {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 26px 20px 38px;
  color: var(--accent, var(--rust));
}

.hot-banner-graphic {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hot-banner-graphic .stall-blob {
  top: 50%;
  right: -70px;
  width: min(430px, 52%);
  opacity: 0.18;
  transform: translateY(-50%);
}

.hot-banner-graphic .stall-star {
  top: 6px;
  right: 5%;
  width: 54px;
  height: 54px;
  transform: rotate(-12deg);
}

.hot-media {
  position: relative;
  display: block;
  aspect-ratio: 5 / 4;
  background: var(--white);
  border: 3px solid var(--ink);
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.12);
  transform: rotate(-1.6deg);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.hot-media:hover,
.hot-media:focus-visible {
  transform: rotate(-1.6deg) translate(-3px, -3px);
  box-shadow: 13px 13px 0 var(--accent, var(--rust));
}

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

.hot-media .outfit-tag {
  left: auto;
  right: 10px;
}

.hot-going {
  position: absolute;
  left: -12px;
  bottom: 18px;
  padding: 8px 13px;
  background: var(--olive);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  transform: rotate(4deg);
}

.hot-body { color: var(--ink); }

.hot-headline {
  margin: 12px 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  font-weight: 700;
  line-height: 0.95;
  text-transform: uppercase;
}

.hot-headline span {
  color: var(--white);
  text-shadow: 2px 2px 0 var(--ink), -2px -2px 0 var(--ink), 2px -2px 0 var(--ink), -2px 2px 0 var(--ink);
}

.hot-banner .hot-live {
  margin-bottom: 10px;
  font-size: 14px;
}

.hot-piece {
  margin-bottom: 2px;
  font-size: 15px;
  font-weight: 800;
}

.hot-piece a {
  color: var(--accent, var(--rust));
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hot-price {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--accent, var(--rust));
}

/* ---------- Mobile seller row above each rail (hidden on desktop) ---------- */
.stall-mobile-head { display: none; }

/* ---------- Mobile shopping density ---------- */
@media (max-width: 768px) {
  /* HOT: stacked compact card, thumb-reach claim button */
  .hot-banner {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px 16px 22px;
  }

  .hot-media {
    aspect-ratio: 16 / 10;
    box-shadow: 7px 7px 0 rgba(0, 0, 0, 0.12);
  }

  .hot-going { font-size: 13px; padding: 6px 10px; bottom: 12px; }
  .hot-headline { margin: 8px 0 6px; font-size: 1.7rem; }
  .hot-banner .hot-live { font-size: 12.5px; margin-bottom: 8px; }
  .hot-banner .hot-live b { font-size: 18px; }
  .hot-piece { font-size: 14px; }
  .hot-price { font-size: 24px; margin-bottom: 10px; }
  .hot-actions { gap: 8px; }
  .hot-actions .claim-btn { flex: 1; justify-content: center; }
  .hot-banner-graphic .stall-star { display: none; }

  /* Stalls: two per viewport. Seller row + two-up cards with a peek of the
     third (the cut-off card is the scroll affordance — no hint text needed). */
  .stalls-section { padding: 26px 0 10px; }
  .stalls-intro { margin-bottom: 2px; }
  .stalls-intro h2 { font-size: 1.45rem; }
  .stalls-intro-copy { display: none; }

  .stall { padding: 16px 14px 8px; }
  .stall-index { top: 4px; left: 8px; font-size: 4.2rem; -webkit-text-stroke-width: 1.5px; }
  .stall-topbar { display: none; }
  .stall .stall-graphic .stall-star { display: none; }

  .stall-mobile-head {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding: 7px 12px 7px 8px;
    background: var(--cream);
    border: 2px solid var(--ink);
    box-shadow: 3px 3px 0 var(--ink);
    color: var(--ink);
  }

  .stall-mobile-avatar {
    position: relative;
    flex: none;
    width: 38px;
    height: 38px;
  }

  .stall-mobile-avatar img {
    width: 100%;
    height: 100%;
    border: 2px solid var(--ink);
    border-radius: 999px;
    object-fit: cover;
  }

  .stall-mobile-avatar .stall-live-dot {
    right: -2px;
    bottom: -2px;
    width: 12px;
    height: 12px;
  }

  .stall-mobile-info {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    gap: 1px;
  }

  .stall-mobile-info strong {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .stall-mobile-info small {
    color: #66615a;
    font-size: 11px;
    font-weight: 700;
  }

  .stall-mobile-cta {
    flex: none;
    font-size: 18px;
    font-weight: 800;
    color: var(--accent, var(--rust));
  }

  .stall-profile-card { display: none; }

  .stall-track {
    grid-auto-columns: 44%;
    gap: 12px;
    padding: 3px 2px 8px;
  }

  /* Card: image + name + price. Scannable, price-forward, no paragraph. */
  .outfit-body { gap: 3px; padding: 8px 9px 10px; }
  .outfit-topline { font-size: 9px; letter-spacing: 0.06em; }
  .outfit-name { font-size: 12.5px; line-height: 1.2; }
  .outfit-blurb { display: none; }
  .outfit-foot { margin-top: 2px; padding-top: 6px; }
  .outfit-price { font-size: 17px; }
  .outfit-cta { font-size: 10px; letter-spacing: 0.04em; }
  .outfit-tag { top: 6px; left: 6px; padding: 3px 6px; font-size: 8px; }
  .outfit-watch { left: 6px; bottom: 6px; gap: 4px; padding: 3px 6px; font-size: 9px; }
  .outfit-watch .eye-icon { width: 11px; height: 11px; }

  .stall-all-card { gap: 2px; padding: 14px 10px; }
  .stall-all-num { font-size: 2.2rem; }
  .stall-all-label { font-size: 10px; }
  .stall-all-cta { margin-top: 6px; font-size: 10px; }

  .stall-dots { margin: 0 auto 2px; gap: 6px; }
  .stall-dot { width: 5px; height: 5px; }
  .stall-track-hint { display: none; }
}

@media (max-width: 480px) {
  .stall-track { grid-auto-columns: 45%; }
}

/* Keep the mobile HOT CTAs on one line */
@media (max-width: 768px) {
  .hot-actions .claim-btn,
  .hot-actions .ghost-btn {
    white-space: nowrap;
    padding-inline: 14px;
    font-size: 15px;
  }
}

/* On touch layouts the dots are the position indicator — drop the scrollbar */
@media (max-width: 768px) {
  .stall-track { scrollbar-width: none; }
  .stall-track::-webkit-scrollbar { display: none; }
}
