:root {
  color-scheme: light;
  --ink: #101114;
  --muted: #656b73;
  --paper: #fffaf0;
  --surface: #ffffff;
  --lime: #b7ff3c;
  --green: #16a34a;
  --red: #ff4d2e;
  --blue: #22b8ff;
  --yellow: #ffd84d;
  --line: rgba(16, 17, 20, 0.12);
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 118px; }

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(16, 17, 20, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #fff7d9 0%, #fbfff1 34%, #f6fbff 64%, #fffaf0 100%);
  background-size: 64px 64px, auto;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.nav-open,
body.cart-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
::selection { background: var(--lime); color: var(--ink); }

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 90;
  width: var(--scroll-progress, 0%);
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--yellow), var(--lime), var(--blue));
  pointer-events: none;
}

.promo-bar {
  display: flex;
  justify-content: center;
  gap: 28px;
  min-height: 36px;
  padding: 9px 18px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 80;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  width: min(100% - 32px, var(--max));
  margin: 12px auto 0;
  padding: 10px;
  border: 1px solid rgba(16, 17, 20, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(22px);
  box-shadow: 0 14px 50px rgba(16, 17, 20, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--lime);
  box-shadow: 4px 4px 0 var(--ink);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.site-nav a,
.cart-button,
.button,
.search-card button,
.filter-chip,
.add-to-cart,
.checkout-button {
  min-height: 42px;
  border-radius: 8px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  background: rgba(16, 17, 20, 0.06);
  outline: none;
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 2px solid var(--ink);
  padding: 0 13px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 900;
  box-shadow: 3px 3px 0 var(--ink);
}

.cart-count {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.8rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 3px 3px 0 var(--ink);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 260ms var(--ease), opacity 260ms ease;
}

.nav-open .nav-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-open .nav-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 44px;
  align-items: center;
  width: min(100% - 40px, var(--max));
  min-height: min(760px, calc(100svh - 150px));
  margin: 0 auto;
  padding: 64px 0 54px;
}

.hero-copy,
.hero-visual {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.eyebrow,
.section-kicker,
.product-info p,
.product-badge,
.site-footer {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow,
.section-kicker { color: var(--green); }

.hero h1,
.section-heading h2,
.bundle-card h2,
.delivery h2,
.cart-head h2 {
  margin: 0;
  max-width: 880px;
  font-family: "Arial Black", Impact, Haettenschweiler, sans-serif;
  font-weight: 950;
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin-top: 16px;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
}

.hero h1 span {
  display: block;
}

.hero-text {
  width: min(100%, 580px);
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.13rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.search-card {
  width: min(100%, 620px);
  margin-top: 30px;
  padding: 10px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 7px 7px 0 var(--ink);
}

.search-card label {
  display: block;
  margin: 0 0 8px 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.search-card div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.search-card input {
  min-width: 0;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: #f8fafc;
  color: var(--ink);
}

.search-card button,
.button-primary,
.checkout-button {
  border: 2px solid var(--ink);
  background: var(--lime);
  color: var(--ink);
  font-weight: 950;
  box-shadow: 4px 4px 0 var(--ink);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 156px;
  padding: 0 18px;
  font-weight: 950;
  text-transform: uppercase;
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease);
}

.button:hover,
.button:focus-visible,
.cart-button:hover,
.cart-button:focus-visible,
.search-card button:hover,
.search-card button:focus-visible,
.checkout-button:hover,
.checkout-button:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
  outline: none;
}

.button-secondary {
  border: 2px solid var(--ink);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}

.hero-visual { position: relative; }

.hero-visual img {
  width: 100%;
  aspect-ratio: 1.02 / 1;
  object-fit: cover;
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: 12px 12px 0 var(--ink);
}

.floating-card {
  position: absolute;
  display: grid;
  gap: 2px;
  min-width: 148px;
  padding: 14px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 5px 5px 0 var(--ink);
}

.floating-card strong {
  font-family: "Arial Black", Impact, sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.floating-card span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.card-speed { left: -18px; bottom: 34px; background: var(--blue); }
.card-rating { right: -18px; top: 28px; background: var(--yellow); }

.category-strip {
  display: flex;
  gap: 10px;
  width: min(100% - 40px, var(--max));
  margin: 0 auto 28px;
  overflow-x: auto;
  padding: 6px 0 12px;
  scrollbar-width: none;
}

.category-strip::-webkit-scrollbar { display: none; }

.category-strip a {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 12px 16px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--surface);
  font-weight: 900;
  box-shadow: 3px 3px 0 var(--ink);
}

.section {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 86px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.55fr 1.2fr 0.8fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 28px;
}

.section-heading h2,
.delivery h2,
.bundle-card h2 { font-size: clamp(2.35rem, 5vw, 4.6rem); }

.section-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.product-toolbar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin-bottom: 18px;
  padding-bottom: 10px;
}

.filter-chip {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
  font-weight: 850;
}

.filter-chip.active,
.filter-chip:hover,
.filter-chip:focus-visible {
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  outline: none;
}

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

.product-card {
  position: relative;
  display: grid;
  gap: 18px;
  min-height: 390px;
  padding: 16px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background:
    radial-gradient(circle at 80% 10%, color-mix(in srgb, var(--accent), white 12%), transparent 24%),
    var(--surface);
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease);
}

.product-card:hover,
.product-card:focus-within {
  transform: translate(-4px, -4px);
  box-shadow: 10px 10px 0 var(--ink);
}

.product-badge {
  justify-self: start;
  padding: 7px 10px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--accent);
}

.product-art {
  display: grid;
  place-items: center;
  min-height: 146px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.28)),
    color-mix(in srgb, var(--accent), white 56%);
  font-family: "Arial Black", Impact, sans-serif;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  text-transform: uppercase;
}

.product-info { align-self: end; }
.product-info p { color: var(--green); }
.product-info h3 { margin: 8px 0; font-size: 1.42rem; }
.product-info span { color: var(--muted); line-height: 1.5; }

.product-buy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.product-buy strong { font-size: 1.28rem; }

.add-to-cart {
  border: 2px solid var(--ink);
  padding: 0 16px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 950;
}

.add-to-cart.is-added {
  background: var(--lime);
  color: var(--ink);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 18px;
}

.bundle-card,
.mini-bundle,
.delivery-card,
.review-card,
.cart-panel {
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 6px 6px 0 var(--ink);
}

.bundle-card {
  min-height: 460px;
  padding: clamp(24px, 4vw, 46px);
  background:
    linear-gradient(135deg, rgba(183, 255, 60, 0.8), rgba(34, 184, 255, 0.2)),
    var(--surface);
}

.bundle-card p:not(.section-kicker) {
  max-width: 620px;
  color: rgba(16, 17, 20, 0.72);
  font-size: 1.06rem;
  line-height: 1.7;
}

.bundle-price {
  display: flex;
  align-items: end;
  gap: 12px;
  margin: 24px 0;
}

.bundle-price strong {
  font-family: "Arial Black", Impact, sans-serif;
  font-size: 4rem;
  line-height: 0.9;
}

.bundle-price span {
  color: var(--muted);
  font-weight: 850;
  text-decoration: line-through;
}

.bundle-stack { display: grid; gap: 18px; }

.mini-bundle {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px 18px;
  min-height: 142px;
  padding: 20px;
}

.mini-bundle span {
  grid-row: span 2;
  color: var(--red);
  font-weight: 950;
}

.mini-bundle h3 { margin: 0; font-size: 1.42rem; }
.mini-bundle p { margin: 0; color: var(--muted); line-height: 1.55; }

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

.delivery-inner {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 86px 0;
}

.delivery h2 {
  margin-top: 14px;
  max-width: 860px;
}

.delivery-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.delivery-card {
  min-height: 230px;
  padding: 20px;
  background: #f8fafc;
  color: var(--ink);
}

.delivery-card strong { color: var(--green); }
.delivery-card h3 { margin: 30px 0 10px; font-size: 1.5rem; }
.delivery-card p, .review-card p { margin: 0; color: var(--muted); line-height: 1.6; }

.section-heading.compact { grid-template-columns: 0.55fr 1fr; }

.review-card {
  min-height: 220px;
  padding: 22px;
}

.review-card p {
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 750;
}

.review-card strong {
  display: block;
  margin-top: 28px;
  color: var(--muted);
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  justify-content: flex-end;
  background: rgba(16, 17, 20, 0.38);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.cart-open .cart-drawer {
  opacity: 1;
  pointer-events: auto;
}

.cart-panel {
  width: min(420px, 100%);
  min-height: 100%;
  padding: 24px;
  border-radius: 8px 0 0 8px;
  transform: translateX(100%);
  transition: transform 280ms var(--ease);
}

.cart-open .cart-panel { transform: translateX(0); }

.cart-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.cart-head h2 { font-size: 2rem; }

.cart-close {
  width: 42px;
  height: 42px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--red);
  color: var(--paper);
  font-size: 1.5rem;
  line-height: 1;
}

.cart-items {
  display: grid;
  gap: 12px;
  margin: 32px 0;
}

.cart-items div,
.cart-total {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cart-total { font-size: 1.25rem; }
.checkout-button { width: 100%; margin-top: 22px; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px max(20px, calc((100vw - var(--max)) / 2));
  border-top: 2px solid var(--ink);
  background: var(--surface);
  color: var(--muted);
}

.site-footer p { margin: 0; }
.site-footer a { color: var(--ink); }

.reveal,
[data-reveal] {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.reveal.is-visible,
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .promo-bar {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .site-header { grid-template-columns: auto auto auto; }
  .nav-toggle { display: block; order: 3; }
  .cart-button { margin-left: auto; }

  .site-nav {
    position: fixed;
    inset: 108px 16px auto;
    display: grid;
    gap: 6px;
    padding: 10px;
    border: 2px solid var(--ink);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 6px 6px 0 var(--ink);
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity 220ms ease, transform 220ms var(--ease);
  }

  .nav-open .site-nav {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav a { min-height: 48px; }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 54px;
  }

  .hero-visual { order: -1; }
  .hero-visual img { aspect-ratio: 1.45 / 1; }

  .section-heading,
  .section-heading.compact,
  .split { grid-template-columns: 1fr; }

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

@media (max-width: 640px) {
  .promo-bar {
    gap: 18px;
    font-size: 0.72rem;
  }

  .site-header,
  .section,
  .category-strip,
  .delivery-inner { width: min(100% - 28px, var(--max)); }

  .hero {
    width: calc(100vw - 48px);
  }

  .hero-copy,
  .hero-visual,
  .hero-text,
  .search-card {
    width: calc(100vw - 48px);
    max-width: calc(100vw - 48px);
  }

  .hero-visual {
    overflow: hidden;
  }

  .brand span:last-child { display: none; }

  .hero {
    gap: 28px;
    padding-bottom: 42px;
  }

  .hero h1 { font-size: 3.3rem; }

  .search-card div,
  .product-grid,
  .delivery-grid,
  .review-grid { grid-template-columns: 1fr; }

  .hero-actions,
  .button,
  .search-card button { width: 100%; }

  .floating-card {
    position: absolute;
    width: 116px;
    min-width: 0;
    max-width: 116px;
    padding: 10px;
  }

  .floating-card strong {
    font-size: 1.65rem;
  }

  .floating-card span {
    font-size: 0.68rem;
    overflow-wrap: anywhere;
  }

  .card-speed {
    left: 8px;
    bottom: 8px;
  }

  .card-rating {
    right: 10px;
    top: 8px;
  }

  .hero-visual img {
    aspect-ratio: 1.08 / 1;
    box-shadow: 7px 7px 0 var(--ink);
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero-text {
    width: 31ch;
    max-width: 100%;
  }

  .product-card { min-height: 350px; }

  .section,
  .delivery-inner { padding: 64px 0; }

  .site-footer { display: grid; }
}

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

  .reveal,
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
