/* Who's Your Danny? 3D
   Colors come from the logo: navy wordmark, green "3D", and the rainbow
   filament stripes. Flat color and bold outlines, per the Design Bible. */

:root {
  --navy: #0b244e;
  --navy-2: #173a74;
  --green: #5da31d;
  --green-2: #4a8a12;
  --blue: #1a8fd0;
  --teal: #1f9e8a;
  --yellow: #fde23d;
  --orange: #ee7403;
  --red: #c9292a;
  --purple: #6865af;

  --bg: #fbfaf6;
  --bg-2: #f1f4fa;
  --surface: #ffffff;
  --text: #16213a;
  --muted: #5b657a;
  --line: #dfe4ee;
  --ink: var(--navy);
  --accent: var(--green);
  --focus: #1a8fd0;
  --shadow: 0 1px 0 rgba(11, 36, 78, 0.06), 0 8px 24px -12px rgba(11, 36, 78, 0.25);
  --radius: 18px;
  --radius-sm: 12px;
  --font-display: 'Fredoka', 'Baloo 2', ui-rounded, system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #0c1426;
    --bg-2: #111c33;
    --surface: #15213b;
    --text: #e9eefa;
    --muted: #a3aec6;
    --line: #26375a;
    --ink: #e9eefa;
    --shadow: 0 1px 0 rgba(0, 0, 0, 0.3), 0 10px 30px -14px rgba(0, 0, 0, 0.7);
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --bg: #0c1426;
  --bg-2: #111c33;
  --surface: #15213b;
  --text: #e9eefa;
  --muted: #a3aec6;
  --line: #26375a;
  --ink: #e9eefa;
  --shadow: 0 1px 0 rgba(0, 0, 0, 0.3), 0 10px 30px -14px rgba(0, 0, 0, 0.7);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--blue);
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}
h1 {
  font-size: clamp(1.9rem, 5vw, 2.8rem);
}
h2 {
  font-size: clamp(1.45rem, 3.5vw, 1.9rem);
}
h3,
.h3 {
  font-size: 1.25rem;
}
.h4 {
  font-size: 1.05rem;
  margin-top: 1.2em;
}
p {
  margin: 0 0 1em;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 6px;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--navy);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 100;
}
.skip:focus {
  left: 8px;
}
.muted {
  color: var(--muted);
}
.center {
  text-align: center;
}
.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}
.wrap--narrow {
  max-width: 760px;
}
@media (min-width: 720px) {
  .wrap {
    padding: 0 28px;
  }
}

/* ---------- Rainbow filament stripe ---------- */
.stripe {
  display: flex;
  height: 6px;
}
.stripe span {
  flex: 1;
}
.stripe--thin {
  height: 4px;
  border-radius: 4px;
  overflow: hidden;
  margin: 1.5em 0;
}
.site-footer .stripe--thin {
  margin: 0;
  border-radius: 0;
}
.rainbow-text {
  background: linear-gradient(90deg, var(--blue), var(--teal), var(--green), #e0b800, var(--orange), var(--red), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.banner {
  background: var(--yellow);
  color: var(--navy);
  text-align: center;
  font-weight: 800;
  padding: 8px 16px;
  font-size: 0.95rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
}
.logo img {
  width: 170px;
  height: auto;
}
@media (min-width: 720px) {
  .logo img {
    width: 220px;
  }
}
.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav a {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 1rem;
}
.nav a:hover {
  background: var(--bg-2);
}
@media (max-width: 480px) {
  .nav a {
    padding: 8px 7px;
    font-size: 0.95rem;
  }
  .logo img {
    width: 132px;
  }
}
.cart-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  flex: none;
  transition: transform 0.2s;
}
.cart-btn:hover {
  transform: scale(1.06);
}
.cart-btn.bump {
  animation: bump 0.5s;
}
@keyframes bump {
  30% {
    transform: scale(1.25) rotate(-8deg);
  }
  60% {
    transform: scale(0.95) rotate(4deg);
  }
}
.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  border: 2px solid var(--bg);
}
.cart-count[hidden] {
  display: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 12px 20px;
  border-radius: 999px;
  border: 2.5px solid var(--navy);
  background: var(--surface);
  color: var(--navy);
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.15s,
    box-shadow 0.15s,
    background 0.15s;
  box-shadow: 0 3px 0 var(--navy);
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 0 var(--navy);
}
.btn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--navy);
}
.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}
.btn--primary {
  background: var(--green);
  color: #fff;
  border-color: var(--navy);
}
.btn--primary:hover {
  background: var(--green-2);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: currentColor;
  box-shadow: none;
}
.btn--ghost:hover {
  background: var(--bg-2);
  box-shadow: none;
}
.btn--danger {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
  box-shadow: none;
}
.btn--lg {
  padding: 15px 26px;
  font-size: 1.12rem;
}
.btn--sm {
  padding: 7px 12px;
  font-size: 0.9rem;
  border-width: 2px;
}
.btn--block {
  width: 100%;
}
.btn--grow {
  flex: 1;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .btn {
    border-color: #0a1a38;
    box-shadow: 0 3px 0 #050c1c;
  }
  :root:not([data-theme='light']) .btn--ghost {
    border-color: currentColor;
    box-shadow: none;
  }
}

/* ---------- Sections ---------- */
.section {
  padding: 40px 0;
}
.section--tight {
  padding: 24px 0 48px;
}
.section--tint {
  background: var(--bg-2);
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.section-lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 60ch;
}
.link-more {
  font-weight: 800;
  color: var(--green-2);
  text-decoration: none;
  white-space: nowrap;
}
.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--green-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  margin-bottom: 0.4em;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .eyebrow,
  :root:not([data-theme='light']) .link-more {
    color: #8fd14f;
  }
}

/* ---------- Hero ---------- */
.hero {
  padding: 28px 0 40px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  gap: 16px;
  align-items: center;
}
@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
  }
  .hero {
    padding: 56px 0 64px;
  }
}
.hero-title {
  font-size: clamp(2.3rem, 7vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 34em;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 260px;
  order: -1;
}
@media (min-width: 860px) {
  .hero-art {
    order: 0;
    min-height: 420px;
  }
}
.hero-blob {
  position: absolute;
  width: min(78vw, 400px);
  aspect-ratio: 1;
  border-radius: 42% 58% 55% 45% / 48% 40% 60% 52%;
  background: conic-gradient(from 200deg, var(--blue), var(--teal), var(--green), var(--yellow), var(--orange), var(--red), var(--purple), var(--blue));
  opacity: 0.18;
  animation: morph 14s ease-in-out infinite;
}
.hero-icon {
  position: relative;
  width: min(44vw, 240px);
  filter: drop-shadow(0 18px 20px rgba(11, 36, 78, 0.25));
  animation: float 5s ease-in-out infinite;
}
@keyframes float {
  50% {
    transform: translateY(-12px) rotate(3deg);
  }
}
@keyframes morph {
  50% {
    border-radius: 58% 42% 45% 55% / 40% 58% 42% 60%;
    transform: rotate(20deg);
  }
}
.wobble {
  margin: 0 auto 16px;
  animation: float 3s ease-in-out infinite;
}

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 16px;
}
@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
.steps li {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  border: 2px solid var(--line);
}
.steps p {
  margin: 0;
  color: var(--muted);
}
.step-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  color: #fff;
  margin-bottom: 12px;
}
.steps li:nth-child(1) .step-icon {
  background: var(--blue);
}
.steps li:nth-child(2) .step-icon {
  background: var(--green);
}
.steps li:nth-child(3) .step-icon {
  background: var(--orange);
}

/* ---------- Chips ---------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 24px;
}
.chips--scroll {
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-left: -16px;
  margin-right: -16px;
  padding-left: 16px;
  padding-right: 16px;
  scrollbar-width: none;
}
.chip {
  flex: none;
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  background: var(--surface);
  border: 2px solid var(--line);
  padding: 9px 16px;
  border-radius: 999px;
}
.chip:hover {
  border-color: var(--ink);
}
.chip.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

/* ---------- Product grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
@media (min-width: 720px) {
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}
@media (min-width: 1040px) {
  .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.card {
  display: block;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 2px solid var(--line);
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    border-color 0.2s;
}
.card:hover {
  transform: translateY(-4px) rotate(-0.4deg);
  box-shadow: var(--shadow);
  border-color: var(--navy);
}
.card-img {
  position: relative;
  aspect-ratio: 1;
  background: var(--bg-2);
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-body {
  padding: 12px 14px 14px;
}
.card-title {
  font-size: 1.05rem;
  margin: 0 0 4px;
}
.card-price {
  margin: 0;
  font-weight: 800;
  color: var(--green-2);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .card-price {
    color: #8fd14f;
  }
}
.card.is-soldout .card-img img {
  filter: grayscale(0.7);
  opacity: 0.7;
}
.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 999px;
  color: #fff;
}
.badge--out {
  background: var(--navy);
}
.badge--low {
  background: var(--orange);
}
.badge--big {
  font-size: 1rem;
  top: 14px;
  left: 14px;
}
.ph {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: repeating-linear-gradient(45deg, var(--bg-2), var(--bg-2) 12px, var(--bg) 12px, var(--bg) 24px);
  aspect-ratio: 1;
}
.ph img {
  width: 30%;
  opacity: 0.25;
}
.empty {
  text-align: center;
  padding: 40px 16px;
  color: var(--muted);
}
.empty img {
  margin: 0 auto 12px;
}

.cta-card {
  display: grid;
  gap: 16px;
  align-items: center;
  background: var(--navy);
  color: #fff;
  border-radius: 24px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.cta-card h2 {
  color: #fff;
}
.cta-card p {
  color: #cbd6ee;
  margin: 0;
}
.cta-card::after {
  content: '';
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: conic-gradient(var(--blue), var(--teal), var(--green), var(--yellow), var(--orange), var(--red), var(--purple), var(--blue));
  opacity: 0.35;
}
.cta-card .btn {
  position: relative;
  z-index: 1;
  justify-self: start;
}
@media (min-width: 760px) {
  .cta-card {
    grid-template-columns: 1fr auto;
    padding: 36px 40px;
  }
}

/* ---------- Product page ---------- */
.crumbs {
  display: flex;
  gap: 8px;
  font-size: 0.95rem;
  margin-bottom: 14px;
  color: var(--muted);
}
.crumbs a {
  color: var(--muted);
}
.product {
  display: grid;
  gap: 24px;
}
@media (min-width: 860px) {
  .product {
    grid-template-columns: 1.1fr 1fr;
    gap: 44px;
    align-items: start;
  }
  .gallery {
    position: sticky;
    top: 84px;
  }
}
.gallery-main {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-2);
  aspect-ratio: 1;
  border: 2px solid var(--line);
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s;
}
.gallery-main img.is-fading {
  opacity: 0.2;
}
.gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  padding: 2px;
  scrollbar-width: thin;
}
.gallery-thumbs button {
  flex: none;
  width: 70px;
  height: 70px;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 2.5px solid transparent;
  background: var(--bg-2);
  cursor: pointer;
}
.gallery-thumbs button.is-active {
  border-color: var(--navy);
}
.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-title {
  margin-bottom: 0.2em;
}
.product-price {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--green-2);
  margin: 0;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .product-price {
    color: #8fd14f;
  }
}
.product-price.pop {
  animation: pop 0.3s;
}
@keyframes pop {
  50% {
    transform: scale(1.08);
  }
}
.product-ship {
  color: var(--muted);
  font-size: 0.95rem;
}
.product-ship .low {
  color: var(--orange);
  font-weight: 800;
}
.product-desc {
  margin: 16px 0;
}
.opt {
  border: 0;
  padding: 0;
  margin: 0 0 20px;
}
.opt-label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  font-size: 1.05rem;
  margin-bottom: 8px;
  padding: 0;
}
.opt-chosen {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--muted);
}
.opt-optional {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--muted);
  font-size: 0.9rem;
}
.opt-help {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 6px 0 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
fieldset.opt .opt-help {
  margin: -4px 0 10px;
}
.count {
  font-variant-numeric: tabular-nums;
  margin-left: auto;
}
.pills,
.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill,
.swatch {
  position: relative;
  cursor: pointer;
}
.pill input,
.swatch input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.pill span {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: var(--surface);
  font-weight: 700;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.pill small {
  color: var(--muted);
  font-weight: 600;
}
.pill input:checked + span {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}
.pill input:checked + span small {
  color: #cbd6ee;
}
.pill input:focus-visible + span,
.swatch input:focus-visible + .swatch-dot {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.swatch-dot {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.18);
  box-shadow: inset 0 0 0 3px var(--surface);
  transition: transform 0.15s;
}
.swatch input:checked + .swatch-dot {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
  transform: scale(1.08);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .pill input:checked + span {
    background: #e9eefa;
    color: var(--navy);
    border-color: #e9eefa;
  }
  :root:not([data-theme='light']) .swatch input:checked + .swatch-dot {
    outline-color: #e9eefa;
  }
}
.input {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  min-height: 48px;
}
.input:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 25%, transparent);
}
textarea.input {
  resize: vertical;
}
.input.is-invalid {
  border-color: var(--red);
}
.buy-row {
  display: flex;
  gap: 12px;
  align-items: stretch;
  margin-top: 8px;
}
.qty {
  display: flex;
  align-items: center;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}
.qty button {
  width: 42px;
  height: 100%;
  min-height: 48px;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.qty input {
  width: 36px;
  border: 0;
  text-align: center;
  font: inherit;
  font-weight: 800;
  background: none;
  color: var(--text);
  -moz-appearance: textfield;
  appearance: textfield;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
.icon {
  width: 22px;
  height: 22px;
}
.qty .icon {
  width: 18px;
  height: 18px;
}
.form-error {
  color: var(--red);
  font-weight: 700;
  min-height: 1em;
  margin: 10px 0 0;
}
.form-error:empty {
  display: none;
}

/* ---------- Boxes, forms ---------- */
.box {
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin: 0 0 18px;
}
fieldset.box legend {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  font-size: 1.2rem;
  padding: 0 6px;
}
.field {
  display: block;
  margin-bottom: 14px;
}
.field > span {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}
.field em {
  font-style: normal;
  font-weight: 400;
  color: var(--muted);
}
.field small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 12px;
}
@media (min-width: 560px) {
  .field-row {
    grid-template-columns: 2fr 1fr 1fr;
  }
}
.choice-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.choice {
  position: relative;
  cursor: pointer;
}
.choice input {
  position: absolute;
  opacity: 0;
}
.choice-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border: 2.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px;
  height: 100%;
}
.choice-body b {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink);
}
.choice-body small {
  color: var(--muted);
}
.choice input:checked + .choice-body {
  border-color: var(--green);
  background: color-mix(in srgb, var(--green) 10%, var(--surface));
}
.choice input:focus-visible + .choice-body {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.notice {
  border-left: 6px solid var(--yellow);
  background: color-mix(in srgb, var(--yellow) 18%, var(--surface));
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin: 0 0 18px;
}
.notice--warn {
  border-left-color: var(--orange);
  background: color-mix(in srgb, var(--orange) 12%, var(--surface));
}
.notice--good {
  border-left-color: var(--green);
  background: color-mix(in srgb, var(--green) 12%, var(--surface));
}
.notice--bad {
  border-left-color: var(--red);
  background: color-mix(in srgb, var(--red) 10%, var(--surface));
}
.cf-turnstile {
  margin: 0 0 14px;
  min-height: 65px;
}

/* Anything hidden by script (choices whose condition isn't met) stays hidden,
   whatever display a class gives it. */
[hidden] {
  display: none !important;
}

/* Choices with photos show as tiles: picture, name, price change. */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 10px;
}
.tile {
  position: relative;
  cursor: pointer;
}
.tile input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.tile > span {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  overflow: hidden;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.tile-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  background: var(--bg-2);
}
.tile-img--none {
  background: repeating-linear-gradient(45deg, var(--bg-2), var(--bg-2) 8px, var(--bg) 8px, var(--bg) 16px);
}
.tile-text {
  padding: 8px 10px;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.3;
}
.tile-text small {
  display: block;
  color: var(--muted);
  font-weight: 600;
}
.tile input:checked + span {
  border-color: var(--navy);
  box-shadow: 0 0 0 2px var(--navy);
}
.tile input:focus-visible + span {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.tile.is-out > span {
  opacity: 0.5;
  cursor: not-allowed;
}
.tile small.left {
  color: var(--orange);
  font-weight: 800;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .tile input:checked + span {
    border-color: #e9eefa;
    box-shadow: 0 0 0 2px #e9eefa;
  }
}
.swatch-dot--photo {
  width: 52px;
  height: 52px;
}
.opt-desc {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-2);
  font-size: 0.95rem;
}

/* Choices that ran out stay visible but can't be picked. */
.pill.is-out span {
  opacity: 0.5;
  text-decoration: line-through;
  cursor: not-allowed;
}
.pill.is-out small {
  text-decoration: none;
}
.swatch.is-out {
  cursor: not-allowed;
}
.swatch.is-out .swatch-dot {
  opacity: 0.35;
  background-image: linear-gradient(135deg, transparent 45%, var(--red) 45%, var(--red) 55%, transparent 55%) !important;
}
.pill small.left {
  color: var(--orange);
  font-weight: 800;
}

/* ---------- Cart and checkout ---------- */
.coupon-row {
  display: flex;
  gap: 10px;
}
.coupon-row .input {
  flex: 1;
  text-transform: lowercase;
}
.coupon-msg {
  margin: 8px 0 0;
  font-weight: 700;
}
.coupon-msg:empty {
  display: none;
}
.coupon-msg.is-good {
  color: var(--green-2);
}
.coupon-msg.is-bad {
  color: var(--red);
}
.totals .save {
  color: var(--green-2);
  font-weight: 800;
}
.cart-lines {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.cart-line {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 2px solid var(--line);
}
.cart-line img,
.cart-line .ph {
  width: 76px;
  height: 76px;
  border-radius: 12px;
  object-fit: cover;
}
.cart-line h3 {
  font-size: 1.05rem;
  margin: 0 0 2px;
}
.cart-line h3 a {
  color: var(--ink);
  text-decoration: none;
}
.cart-line .line-opt {
  font-size: 0.92rem;
}
.cart-line-price {
  font-weight: 800;
  text-align: right;
}
.cart-line-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.cart-line-actions .qty button {
  width: 36px;
  min-height: 38px;
}
.cart-line-actions .qty span {
  min-width: 24px;
  text-align: center;
  font-weight: 800;
}
.link-btn {
  background: none;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  text-decoration: underline;
  padding: 6px;
}
.line-err {
  color: var(--red);
  font-weight: 700;
  font-size: 0.92rem;
}
.line-opt {
  color: var(--muted);
}
.line-opt b {
  color: var(--text);
}
.line-opt--text b {
  font-size: 1.05em;
  background: color-mix(in srgb, var(--yellow) 35%, transparent);
  padding: 0 4px;
  border-radius: 4px;
}
.totals {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  margin: 12px 0 0;
}
.totals dt {
  color: var(--muted);
}
.totals dd {
  margin: 0;
  text-align: right;
  font-weight: 700;
}
.totals .grand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--ink);
  font-weight: 700;
  border-top: 2px solid var(--line);
  padding-top: 8px;
}
.checkout {
  display: grid;
  gap: 20px;
}
/* On phones, show the total before the form so nobody orders blind. */
@media (max-width: 899px) {
  .summary {
    order: -1;
  }
}
@media (min-width: 900px) {
  .checkout {
    grid-template-columns: 1.3fr 1fr;
    align-items: start;
  }
  .summary {
    position: sticky;
    top: 84px;
  }
}
.summary .cart-line {
  grid-template-columns: 56px 1fr auto;
  padding: 10px 0;
}
.summary .cart-line img,
.summary .cart-line .ph {
  width: 56px;
  height: 56px;
}
.spell {
  background: color-mix(in srgb, var(--yellow) 22%, var(--surface));
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.92rem;
  margin: 10px 0;
}

/* ---------- Order page ---------- */
.lines {
  list-style: none;
  padding: 0;
  margin: 0;
}
.lines li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 2px solid var(--line);
}
.progress {
  list-style: none;
  padding: 0;
  margin: 8px 0 24px;
  display: flex;
  gap: 4px;
  counter-reset: s;
}
.progress li {
  flex: 1;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  text-align: center;
  padding-top: 26px;
  position: relative;
}
.progress li::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 0;
  right: 0;
  height: 10px;
  border-radius: 999px;
  background: var(--line);
}
.progress li.done::before {
  background: var(--green);
}
.progress li.now::before {
  background: linear-gradient(90deg, var(--green), var(--yellow));
  animation: pulse 1.6s ease-in-out infinite;
}
.progress li.now {
  color: var(--ink);
}
@keyframes pulse {
  50% {
    opacity: 0.6;
  }
}
.pay-total {
  font-size: 1.2rem;
}
.pay-total b {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--ink);
}
.pay-options {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}
.pay-opt small {
  display: block;
  color: var(--muted);
  margin-top: 6px;
  text-align: center;
}
.pay--venmo {
  background: #008cff;
  color: #fff;
  border-color: #0063b5;
  box-shadow: 0 3px 0 #0063b5;
}
.pay--paypal {
  background: #ffc439;
  color: #003087;
  border-color: #003087;
  box-shadow: 0 3px 0 #003087;
}
.pay-zelle {
  border: 2.5px solid #6d1ed4;
  border-radius: var(--radius-sm);
  padding: 14px;
}
.pay-zelle b {
  color: #6d1ed4;
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.pay-zelle p {
  margin: 4px 0 10px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .pay-zelle b {
    color: #b58cff;
  }
}
.confetti {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  overflow: hidden;
}
.confetti i {
  position: absolute;
  top: -20px;
  width: 10px;
  height: 16px;
  border-radius: 3px;
  animation: fall linear forwards;
}
@keyframes fall {
  to {
    transform: translateY(110vh) rotate(720deg);
  }
}

.prose h2 {
  margin-top: 1.4em;
}
.pre {
  white-space: pre-wrap;
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 40px;
  background: var(--navy);
  color: #cbd6ee;
}
.footer-grid {
  display: grid;
  gap: 24px;
  padding-top: 32px;
  padding-bottom: 16px;
  grid-template-columns: 1fr 1fr;
}
.footer-grid > div:first-child {
  grid-column: 1 / -1;
}
@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
  .footer-grid > div:first-child {
    grid-column: auto;
  }
}
.footer-grid a {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 4px 0;
}
.footer-grid a:hover {
  text-decoration: underline;
}
.footer-h {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 8px;
}
.footer-icon {
  margin-bottom: 8px;
}
.footer-tag {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #fff;
}
.footer-place {
  font-weight: 700;
  color: #cbd6ee;
  margin: -0.4em 0 0;
}
.footer-copy {
  font-size: 0.85rem;
  padding-bottom: 24px;
  color: #8e9bbb;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translate(-50%, 140%);
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition:
    transform 0.3s cubic-bezier(0.2, 1.4, 0.4, 1),
    opacity 0.2s,
    visibility 0.3s;
  z-index: 60;
  display: flex;
  gap: 12px;
  align-items: center;
  max-width: calc(100vw - 32px);
  opacity: 0;
  visibility: hidden;
}
.toast.is-on {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
}
.toast a {
  color: var(--yellow);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- Multi-buy deals ---------- */
.deal {
  border: 2px dashed var(--green);
  background: color-mix(in srgb, var(--green) 8%, var(--surface));
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin: 4px 0 12px;
}
.deal-title {
  margin: 0 0 8px;
  font-size: 0.95rem;
}
.deal-title b {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--green-2);
}
.deal-tiers {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 0;
}
.deal-tiers li {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface);
  border: 2px solid var(--line);
  font-size: 0.9rem;
  font-weight: 700;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.deal-tiers li.is-on {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .deal-title b {
    color: #8fd14f;
  }
}
.product-price s,
.price-deal s,
.cart-line-price s {
  color: var(--muted);
  font-weight: 600;
  text-decoration-thickness: 2px;
}
.product-price s {
  font-size: 1.1rem;
  margin-right: 4px;
}
.off {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  vertical-align: middle;
  white-space: nowrap;
}
.product-price .off {
  font-size: 0.85rem;
}
.price-deal {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  text-align: right;
  white-space: nowrap;
}
.cart-line-price s,
.cart-line-price b {
  display: block;
}
.cart-line-price s {
  font-size: 0.85rem;
}
.cart-line-price .off {
  margin-top: 2px;
}
.deal-nudge {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--green-2);
  background: color-mix(in srgb, var(--green) 12%, var(--surface));
  padding: 2px 8px;
  border-radius: 999px;
}
.badge--deal {
  top: auto;
  bottom: 10px;
  background: var(--green);
}
.totals .save-note {
  grid-column: 1 / -1;
  font-size: 0.88rem;
  margin-top: -4px;
}

/* ---------- Featured products slider (top of home page) ---------- */
.hero-art--spotlight {
  min-height: 0;
  display: block;
  width: 100%;
}
.spotlight {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}
.spotlight-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.spotlight-track::-webkit-scrollbar {
  display: none;
}
.spotlight-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}
.spotlight-img {
  position: relative;
  aspect-ratio: 1;
  background: var(--bg-2);
}
.spotlight-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 859px) {
  /* On phones keep the slide short enough that the headline still peeks in. */
  .spotlight-img {
    aspect-ratio: 4 / 3;
  }
}
.spotlight-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--yellow);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 999px;
}
.spotlight-body {
  display: flex;
  align-items: center;
  gap: 8px 12px;
  flex-wrap: wrap;
  padding: 12px 16px 14px;
}
.spotlight-name {
  flex: 1 1 60%;
  font-size: 1.2rem;
  margin: 0;
}
.spotlight-price {
  margin: 0;
  font-weight: 800;
  color: var(--green-2);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .spotlight-price {
    color: #8fd14f;
  }
}
.spotlight-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}
.spotlight-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}
.spotlight-dots {
  display: flex;
  gap: 6px;
}
.spotlight-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  border: 0;
  background: var(--line);
  cursor: pointer;
  transition:
    width 0.2s,
    background 0.2s;
}
.spotlight-dots button.is-on {
  width: 24px;
  border-radius: 999px;
  background: var(--green);
}
.opt-desc {
  white-space: pre-line;
}

.spotlight-blurb {
  flex: 1 1 100%;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Total for the quantity picked, under the quantity selector. */
.line-total {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 10px 0 0;
  font-size: 1.05rem;
}
.line-total b {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--green-2);
}
.line-total s {
  color: var(--muted);
  font-weight: 600;
}
.line-total.pop {
  animation: pop 0.3s;
}
.product-price .each {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .line-total b {
    color: #8fd14f;
  }
}

.free-ship {
  margin: 10px 0 0;
  font-weight: 800;
  font-size: 0.95rem;
}
.free-ship .ship-free {
  color: var(--green-2);
}
.free-ship .ship-more {
  color: var(--orange);
}

/* Live shipping choices at checkout */
.ship-opts {
  margin-top: 12px;
}
.ship-opts:empty {
  display: none;
}
.ship-opts-title {
  font-weight: 800;
  margin: 0 0 8px;
}
.ship-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 2.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 8px;
  cursor: pointer;
}
.ship-opt:has(input:checked) {
  border-color: var(--green);
  background: color-mix(in srgb, var(--green) 10%, var(--surface));
}
.ship-opt input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
  flex: none;
}
.ship-opt > span:first-of-type {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.ship-opt small {
  color: var(--muted);
}
.ship-opt-price {
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
}
.ship-opts-note {
  margin: 4px 0 0;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border-left: 5px solid var(--yellow);
  background: color-mix(in srgb, var(--yellow) 12%, var(--surface));
  font-size: 0.9rem;
}
.totals dt small {
  font-weight: 400;
  color: var(--muted);
}

/* ---------- Join the Batch ---------- */
.batch {
  border: 2px solid var(--purple);
  background: color-mix(in srgb, var(--purple) 10%, var(--surface));
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin: 4px 0 12px;
}
.batch p {
  margin: 0;
}
.batch p > b:first-child {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--purple);
  margin-right: 4px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .batch p > b:first-child {
    color: #b5b2f0;
  }
}
:root[data-theme='dark'] .batch p > b:first-child {
  color: #b5b2f0;
}
.badge--batch {
  top: auto;
  bottom: 10px;
  background: var(--purple);
}
.card-price .was,
.spotlight-price .was {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.85em;
  margin-left: 6px;
}
.off--batch {
  background: var(--purple);
}
.ship-opt.is-free {
  border-color: var(--green);
  background: color-mix(in srgb, var(--green) 10%, var(--surface));
  cursor: default;
}

/* Quantity for each choice */
.qgrid {
  display: grid;
  gap: 8px;
}
.qgrid-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border: 2.5px solid var(--line);
  border-radius: var(--radius-sm);
}
.qgrid-row.is-picked {
  border-color: var(--green);
  background: color-mix(in srgb, var(--green) 8%, var(--surface));
}
.qgrid-row.is-out {
  opacity: 0.5;
}
.qgrid-pic {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.qgrid-pic img,
.qgrid-pic .tile-img--none {
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--line);
}
.qgrid-name {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.qgrid-name b {
  color: var(--ink);
}
.qgrid-name small {
  color: var(--muted);
}
.qty--sm button {
  width: 34px;
  height: 34px;
}
.qty--sm input {
  width: 36px;
}

/* Little photos of a product's choices on cards */
.choice-dots {
  display: flex;
  align-items: center;
  margin: 4px 0 2px;
}
.choice-dots img {
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--surface);
  background: var(--line);
  margin-left: -7px;
}
.choice-dots img:first-child {
  margin-left: 0;
}
.choice-dots span {
  margin-left: 6px;
  white-space: nowrap;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
}
.full-set {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 10px 12px;
  border: 2.5px dashed var(--purple);
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--purple) 8%, var(--surface));
}
.full-set-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
}
.full-set-text b {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink);
}
.full-set .btn {
  flex: none;
}

/* Who's Your Danny? Exclusive */
.badge--excl {
  left: auto;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--surface);
  color: var(--ink);
  border: 2px solid var(--navy);
  font-size: 0.75rem;
  padding: 2px 9px 2px 6px;
}
.badge--excl img {
  height: 16px;
  width: auto;
}
.excl {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0 12px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--line);
  background: linear-gradient(90deg, color-mix(in srgb, var(--yellow) 18%, var(--surface)), var(--surface));
}
.excl img {
  flex: none;
}
.excl div {
  display: flex;
  flex-direction: column;
}
.excl b {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink);
}
.excl span {
  font-size: 0.88rem;
  color: var(--muted);
}

/* Clearance */
.badge--clear {
  top: auto;
  bottom: 10px;
  background: var(--red);
}
.off--clear {
  background: var(--red);
}
