/* FeelMythic: dark comic theme.
   Ink outlines, pink offset shadows, white sticker borders, teal halftone. */

:root {
  --ink: #1D1A2F;
  --ink-2: #2A2642;
  --line: #3A3554;
  --teal: #22B8A7;
  --teal-dark: #138C80;
  --tangerine: #FF8A3D;
  --gold: #FFC83D;
  --pink: #FF6FB5;
  --cream: #FFF6E8;
  --muted: #B9B3CF;
  --heading-shadow: #0B0916;
  --radius: 24px;
  --shadow: 6px 6px 0 var(--pink);
  --display: "Titan One", system-ui, sans-serif;
  --shout: "Luckiest Guy", system-ui, sans-serif;
  --body: "Fredoka", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--ink);
  color: var(--cream);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.55;
}
/* Halftone dots only behind headings, never behind reading text. */
.hero, .page-band {
  background-image: radial-gradient(circle, rgba(34, 184, 167, 0.13) 3px, transparent 3.6px);
  background-size: 20px 20px;
}
.page-band { border-bottom: 2px solid var(--line); padding-bottom: 36px; margin-bottom: 8px; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); }
a:hover { color: var(--pink); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: 999px; z-index: 50; }
.skip:focus { left: 12px; }

/* ---------- Wordmark: three stacked layers, bouncy letters ---------- */
.wordmark {
  display: inline-grid; font-family: var(--display); line-height: 1;
  letter-spacing: 0.03em; font-size: 30px; white-space: nowrap;
}
.wordmark > span { grid-area: 1 / 1; position: relative; }
.wordmark .wm-shadow { color: var(--pink); -webkit-text-stroke: 0.22em var(--pink); transform: translate(0.06em, 0.07em); }
.wordmark .wm-border { color: #fff; -webkit-text-stroke: 0.22em #fff; }
.wordmark .wm-top { -webkit-text-stroke: 0.085em var(--ink); paint-order: stroke fill; }
.wordmark i { display: inline-block; font-style: normal; }
.wordmark .wm-top i { color: var(--teal); }
.wordmark .wm-top i.m { color: var(--tangerine); }

/* ---------- Header ---------- */
.site-header { border-bottom: 2px solid var(--line); background: var(--ink); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 6px; text-decoration: none; }
.brand img { width: 46px; height: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--cream); text-decoration: none; font-weight: 600; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); }
.menu { display: none; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.basket-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border-radius: 999px; border: 3px solid var(--ink); background: var(--gold); color: var(--ink);
  font: 700 16px var(--body); cursor: pointer; box-shadow: 0 0 0 3px var(--cream);
}
.basket-btn svg { width: 22px; height: 22px; }
.basket-count {
  min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: var(--ink);
  color: var(--cream); font-size: 14px; display: inline-grid; place-items: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  border: 4px solid var(--ink); background: var(--tangerine); color: var(--ink);
  font: 700 18px var(--body); text-decoration: none; cursor: pointer;
  box-shadow: 0 0 0 3px var(--cream), 6px 6px 0 3px var(--pink);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { color: var(--ink); transform: translate(-2px, -2px); box-shadow: 0 0 0 3px var(--cream), 9px 9px 0 3px var(--pink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 3px var(--cream), 2px 2px 0 3px var(--pink); }
.btn--light { background: var(--cream); }
.btn--teal { background: var(--teal); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }

/* ---------- Comic headline: three layers ---------- */
.shout { display: inline-grid; font-family: var(--display); font-weight: 400; line-height: 0.98; letter-spacing: 0.02em; margin: 0; }
.shout > span { grid-area: 1 / 1; position: relative; }
.shout .s-shadow { color: var(--pink); -webkit-text-stroke: 0.2em var(--pink); transform: translate(0.07em, 0.08em); }
.shout .s-border { color: #fff; -webkit-text-stroke: 0.2em #fff; }
.shout .s-top { color: var(--teal); -webkit-text-stroke: 0.08em var(--ink); paint-order: stroke fill; }
.shout .s-top em { font-style: normal; color: var(--tangerine); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 80px; }
.hero .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 24px; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 34px; position: relative; z-index: 2; }
.hero .shout { font-size: clamp(64px, 10vw, 128px); transform: rotate(-3deg); margin-bottom: 0.3em; } /* room for the descender, outline and tilt */
.hero-actions { display: flex; flex-wrap: wrap; gap: 20px; }

/* Product stage: two cut-out photos on a soft disc, Peek peeking over the rim. */
.hero-stage { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1 / 1; justify-self: end; }
.hero-stage::before { content: ""; position: absolute; inset: 8% 4% 4% 4%; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(34, 184, 167, 0.22), rgba(34, 184, 167, 0.06) 70%); }
.hero-prod { position: absolute; display: block; transition: transform 0.2s ease; }
.hero-prod img { width: 100%; height: auto; filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.45)); }
.hp-2:hover, .hp-2:focus-visible { transform: translateY(-8px); }
.hp-1:hover, .hp-1:focus-visible { transform: rotate(-8deg) translateY(-8px); }
.hero-prod:focus-visible { outline: 4px solid var(--gold); outline-offset: 6px; border-radius: 12px; }
.hp-1 { left: 18%; top: 13%; width: 23%; transform: rotate(-8deg); }
.hp-2 { right: 15%; bottom: 17%; width: 54%; z-index: 2; }
.hero-peek { position: absolute; right: 25%; top: 14%; width: 20%; transform: rotate(10deg); z-index: 3; pointer-events: none; }
@media (max-width: 1000px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 8px; }
  .hero-stage { justify-self: center; max-width: 440px; }
}
/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section-head h2, .page-title {
  margin: 0; font-family: var(--display); font-weight: 400; letter-spacing: 0.01em;
  font-size: clamp(36px, 5vw, 54px); line-height: 1.05; color: var(--cream);
  -webkit-text-stroke: 0; text-shadow: 3px 3px 0 var(--heading-shadow);
}
.page-head { padding: 40px 0 0; }

/* Category tiles */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.tile {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 260px; padding: 28px 36px; border-radius: var(--radius);
  border: 4px solid var(--ink); box-shadow: 0 0 0 3px var(--cream), 8px 8px 0 3px var(--pink);
  text-decoration: none; color: var(--ink); overflow: hidden;
}
.tile--strokers { background: var(--teal); }
.tile--dildos { background: var(--gold); }
.tile span { font-family: var(--display); font-size: clamp(36px, 4.4vw, 56px); line-height: 1; }
.tile img { width: 150px; transform: rotate(10deg); transition: transform 0.2s ease; }
.tile:hover { color: var(--ink); }
.tile:hover img { transform: rotate(0deg) scale(1.05); }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.card {
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: var(--cream); color: var(--ink); text-decoration: none;
  border: 4px solid var(--ink); box-shadow: 0 0 0 3px var(--cream), 8px 8px 0 3px var(--pink);
  transition: transform 0.15s ease;
}
.card:hover { color: var(--ink); transform: translate(-3px, -3px) rotate(-0.6deg); }
.card-art { display: grid; place-items: center; aspect-ratio: 1 / 1; background: var(--ink-2); border-bottom: 4px solid var(--ink); }
.card-art img { width: 52%; }
.card-art.is-photo { background: #fff; }
.card-art.is-photo img, .product-art.is-photo img, .line-art.is-photo img { width: 100%; height: 100%; object-fit: cover; }
.card-body { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 20px 18px; }
.card-name { font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1.15; margin: 0; }
.crumbs { padding: 24px 0 0; font-size: 15px; color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.crumbs li + li::before { content: "\203A"; margin-right: 8px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--gold); }
.crumbs [aria-current] { color: var(--cream); }
.page-intro { margin: 14px 0 0; max-width: 680px; color: var(--cream); font-size: 19px; line-height: 1.6; }
.page-intro a { color: var(--gold); }
.home-about { margin: 0; max-width: 760px; color: var(--muted); font-size: 17px; }
.pills { display: flex; flex-wrap: wrap; gap: 12px; }
.pill {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px;
  border: 3px solid var(--cream); color: var(--cream); text-decoration: none; font-weight: 700;
}
.pill:hover { background: var(--gold); color: var(--ink); border-color: var(--ink); box-shadow: 4px 4px 0 var(--pink); }
.faq { max-width: 760px; }
.faq h2, .section-title { margin: 0 0 12px; font-family: var(--display); font-weight: 400; font-size: 32px; text-shadow: 2px 2px 0 var(--heading-shadow); }
.faq h3 { margin: 22px 0 6px; font-size: 20px; color: var(--gold); }
.faq p { margin: 0; color: var(--cream); }
.guide { padding-top: 8px; }
.guide-list, .guide-index { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; max-width: 760px; }
.guide-index li { padding: 18px 22px; border: 3px solid var(--line); border-radius: 18px; background: var(--ink-2); }
.guide-index a { font-size: 20px; }
.guide-list a { font-weight: 600; }
.guide-index span { color: var(--muted); }
.card-price { font-weight: 700; font-size: 18px; white-space: nowrap; }
.card-meta { display: block; margin-top: 4px; color: #5E5878; font-size: 15px; font-weight: 600; }
.hero-title { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.tagline { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(22px, 3vw, 32px); line-height: 1.15; color: var(--cream); text-shadow: 2px 2px 0 var(--heading-shadow); }
.empty { color: var(--muted); }

/* Product page */
.product { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: start; padding: 32px 0 56px; }
.product-art {
  display: grid; place-items: center; aspect-ratio: 1 / 1; border-radius: var(--radius);
  background: var(--ink-2); border: 4px solid var(--ink); box-shadow: 0 0 0 3px var(--cream), 10px 10px 0 3px var(--pink);
}
.product-art { overflow: hidden; }
.product-art img { width: 56%; }
.product-art.is-photo { background: #fff; }
.options { border: 0; margin: 0 0 24px; padding: 0; }
.options legend { font-weight: 700; margin-bottom: 10px; padding: 0; }
.option-list { display: flex; flex-wrap: wrap; gap: 10px; }
.option { position: relative; cursor: pointer; }
.option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.option span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 3px solid var(--cream); color: var(--cream); font-weight: 700;
}
.option input:checked + span { background: var(--gold); color: var(--ink); border-color: var(--ink); box-shadow: 0 0 0 3px var(--cream), 4px 4px 0 3px var(--pink); }
.option input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 3px; }
.product h1 { margin: 0 0 8px; font-family: var(--display); font-weight: 400; font-size: clamp(40px, 5vw, 60px); line-height: 1.02; text-shadow: 3px 3px 0 var(--heading-shadow); }
.product-price { font-family: var(--display); font-size: 32px; color: var(--gold); margin: 0 0 20px; }
.product-blurb { margin: 0 0 22px; font-size: 20px; }
.product-kind { margin: 0 0 14px; color: var(--cream); font-size: 19px; font-weight: 600; }
.product-desc { margin: 0 0 24px; color: var(--cream); font-size: 18px; line-height: 1.65; max-width: 56ch; }
.product-details { margin: 0 0 26px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.product-details li { padding: 6px 12px; border-radius: 999px; background: var(--ink-2); font-size: 15px; font-weight: 600; }
.facts { list-style: none; margin: 22px 0 0; padding: 18px 20px; display: grid; gap: 10px; border: 2px solid var(--line); border-radius: 18px; font-size: 16px; }
.facts li { display: flex; gap: 10px; align-items: baseline; }
.facts li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); transform: translateY(-1px); }
.facts a { color: var(--gold); }
.specs { width: 100%; max-width: 640px; border-collapse: collapse; font-size: 17px; }
.specs th, .specs td { text-align: left; padding: 12px 14px; border-bottom: 2px solid var(--line); vertical-align: top; }
.specs th { width: 42%; color: var(--muted); font-weight: 600; }
.specs td { color: var(--cream); font-weight: 600; }
.info { padding: 0 0 24px; }
.info-block { padding: 32px 0; border-top: 2px solid var(--line); }
.info-block > h2 { margin: 0 0 16px; font-family: var(--display); font-weight: 400; font-size: clamp(26px, 3vw, 32px); color: var(--gold); }
.info-block p { max-width: 68ch; margin: 0 0 12px; line-height: 1.65; }
.info-block a { color: var(--gold); }
.info-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.reviews-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 18px; max-width: 68ch; }
.reviews-list li { padding: 18px 20px; border-radius: 16px; background: var(--ink-2); }
.reviews-list p { margin: 6px 0 0; }
.stars { color: var(--gold); letter-spacing: 2px; }
.review-form { max-width: 560px; margin-top: 8px; }
.review-form fieldset { border: 0; margin: 0; padding: 0; }
.review-form legend { font-weight: 600; margin-bottom: 6px; }
.rating { display: flex; flex-wrap: wrap; gap: 8px; }
.form .rating label { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 2px solid var(--line); border-radius: 999px; cursor: pointer; }
.form .rating input, .form .check input { min-height: 0; width: 20px; height: 20px; padding: 0; accent-color: var(--gold); box-shadow: none; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.form .check input { margin-top: 4px; flex: none; }
/* Shop toolbar (sort and filter, client-side) */
.toolbar { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; justify-content: space-between; margin: 0 0 24px; }
.toolbar label { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.toolbar select { font: 600 16px var(--body); color: var(--ink); background: var(--cream); border: 3px solid var(--ink); border-radius: 12px; padding: 8px 12px; min-height: 44px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--cream); background: transparent; color: var(--cream); font: 700 15px var(--body); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.result-count { color: var(--muted); font-size: 15px; margin: 0; }
.card[hidden] { display: none; }
.footer-col h2 { margin: 0 0 10px; font: 700 14px var(--body); letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.buy { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.qty { display: inline-flex; align-items: center; border: 3px solid var(--cream); border-radius: 999px; overflow: hidden; }
.qty button { width: 44px; height: 46px; border: 0; background: transparent; color: var(--cream); font: 700 22px var(--body); cursor: pointer; }
.qty button:hover { background: var(--ink-2); }
.qty output { min-width: 34px; text-align: center; font-weight: 700; }
.note { color: var(--muted); font-size: 16px; margin-top: 18px; }
.note a { color: var(--gold); }

/* Prose pages (guides, care, legal): plain background, comfortable measure */
.prose { max-width: 68ch; padding: 8px 0 48px; font-size: 19px; line-height: 1.7; }
.prose h2 { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 3vw, 32px); line-height: 1.15; margin: 44px 0 12px; color: var(--gold); scroll-margin-top: 96px; }
.prose p, .prose li { color: var(--cream); }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 18px; }
.prose li { margin-bottom: 10px; padding-left: 4px; }
.prose li::marker { color: var(--teal); font-weight: 700; }
.prose strong { color: #fff; }
.prose a { color: var(--gold); text-underline-offset: 3px; }
.answer {
  margin: 0 0 28px; padding: 20px 24px; border-radius: 18px; background: var(--ink-2);
  border-left: 6px solid var(--teal); font-size: 20px; line-height: 1.6; color: var(--cream);
}
.toc { margin: 0 0 32px; padding: 18px 22px; border: 2px solid var(--line); border-radius: 18px; }
.toc h2 { margin: 0 0 8px; font: 700 15px var(--body); letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; font-size: 17px; }
.toc li { margin: 0; }
.byline { color: var(--muted); font-size: 15px; margin: 10px 0 24px; }
.panel {
  background: var(--cream); color: var(--ink); border-radius: var(--radius); padding: 28px 32px;
  border: 4px solid var(--ink); box-shadow: 0 0 0 3px var(--cream), 8px 8px 0 3px var(--pink);
}

/* Forms */
.form { display: grid; gap: 18px; max-width: 560px; }
.form label { display: grid; gap: 6px; font-weight: 600; }
.form input, .form textarea, .form select, .basket select {
  font: 500 18px var(--body); color: var(--ink); background: var(--cream);
  border: 3px solid var(--ink); border-radius: 14px; padding: 12px 14px; min-height: 48px;
  box-shadow: 0 0 0 2px var(--cream);
}
.form textarea { min-height: 140px; resize: vertical; }
.form-status { min-height: 1.5em; color: var(--gold); }

/* ---------- Basket drawer ---------- */
.basket {
  margin: 0 0 0 auto; height: 100%; max-height: 100%; width: min(440px, 100%);
  border: 0; border-left: 4px solid var(--ink); padding: 0; background: var(--cream); color: var(--ink);
}
.basket::backdrop { background: rgba(29, 26, 47, 0.7); }
.basket-inner { display: flex; flex-direction: column; height: 100%; padding: 24px; gap: 18px; }
.basket-top { display: flex; justify-content: space-between; align-items: center; }
.basket-top h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 32px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--ink); background: #fff; cursor: pointer; display: grid; place-items: center; }
.basket-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; overflow-y: auto; flex: 1; align-content: start; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding-bottom: 14px; border-bottom: 2px dashed #D8CFC0; }
.line-art { width: 64px; height: 64px; border-radius: 14px; background: var(--ink-2); display: grid; place-items: center; border: 3px solid var(--ink); }
.line-art { overflow: hidden; }
.line-art.is-photo { background: #fff; }
.line-art img { width: 60%; }
.line-name { font-weight: 700; line-height: 1.2; }
.line-qty { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; }
.line-qty button { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; cursor: pointer; font-weight: 700; }
.line-price { font-weight: 700; }
.basket-foot { display: grid; gap: 14px; border-top: 3px solid var(--ink); padding-top: 16px; }
.basket-foot .row { display: flex; justify-content: space-between; font-weight: 700; font-size: 20px; }
.basket label { display: grid; gap: 6px; font-weight: 600; }
.basket .btn { box-shadow: 5px 5px 0 var(--pink); }
.basket-error { color: #B3261E; min-height: 1.4em; margin: 0; font-weight: 600; }

/* ---------- Age gate ---------- */
.age-gate { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(29, 26, 47, 0.96); }
.age-card {
  width: min(460px, 100%); text-align: center; background: var(--cream); color: var(--ink);
  border-radius: 30px; padding: 32px 28px; border: 4px solid var(--ink);
  box-shadow: 0 0 0 4px #fff, 12px 12px 0 4px var(--pink);
  display: grid; justify-items: center; gap: 18px;
}
.age-card img { width: 130px; }
.age-card h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 38px; line-height: 1.05; }
.age-actions { display: grid; gap: 12px; width: 100%; }
.age-actions .btn { width: 100%; }
.age-leave { background: none; border: 0; font: 600 16px var(--body); color: var(--ink); text-decoration: underline; cursor: pointer; padding: 8px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 2px solid var(--line); margin-top: 40px; padding: 44px 0; background: var(--ink); }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr); align-items: start; gap: 32px; }
.footer-links { display: grid; gap: 10px; }
.footer-links--two { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.footer-fine { grid-column: 1 / -1; }
.footer-links a { color: var(--cream); text-decoration: none; font-weight: 500; }
.footer-links a:hover { color: var(--gold); }
.footer-fine { color: var(--muted); font-size: 15px; margin: 0; }
.badge-18 { font-family: var(--shout); background: var(--gold); color: var(--ink); border: 3px solid var(--ink); border-radius: 999px; padding: 2px 12px; box-shadow: 3px 3px 0 var(--pink); }

/* ---------- Small screens ---------- */
@media (max-width: 860px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .product { grid-template-columns: 1fr; gap: 36px; }
  .info-cols { grid-template-columns: 1fr; gap: 0; }
  .site-footer .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .nav { display: none; }
  .menu { display: block; position: relative; }
  .menu summary {
    list-style: none; cursor: pointer; min-height: 44px; padding: 0 16px; display: inline-flex; align-items: center;
    border: 3px solid var(--cream); border-radius: 999px; font-weight: 700;
  }
  .menu summary::-webkit-details-marker { display: none; }
  .menu[open] .menu-panel { display: grid; }
  .menu-panel {
    display: none; position: absolute; right: 0; top: 54px; min-width: 200px; gap: 4px; padding: 12px;
    background: var(--cream); border: 4px solid var(--ink); border-radius: 18px; box-shadow: 6px 6px 0 var(--pink);
  }
  .menu-panel a { color: var(--ink); text-decoration: none; font-weight: 700; padding: 10px 12px; border-radius: 10px; }
  .menu-panel a:hover { background: #F1E6D2; }
  .site-header .wrap { gap: 10px; }
  .header-actions { gap: 8px; }
  .wordmark { font-size: 19px; }
  .brand img { width: 34px; }
  .menu summary { padding: 0 12px; font-size: 16px; }
  .basket-btn { padding: 0 10px; }
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 190px; }
  .tile img { width: 110px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .card-body { flex-direction: column; gap: 6px; padding: 12px 14px 14px; }
  .card-name { font-size: 18px; }
  .card-price { font-size: 16px; }
  .prose { font-size: 18px; }
  .specs th, .specs td { padding: 10px 8px; }
  .hero { padding: 48px 0 56px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* ---------- Order confirmation ---------- */
.order-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.order-card { background: var(--cream); color: var(--ink); border: 4px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 28px; }
.order-card a { color: var(--ink); }
.order-ref { margin: 0 0 4px; font-family: var(--display); font-weight: 400; font-size: clamp(22px, 5vw, 28px); }
.order-ref span { white-space: nowrap; }
.order-email { margin: 0 0 16px; color: #4A4560; }
.order-pending { margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; background: #FFF0C2; font-weight: 600; }
.order-items { list-style: none; margin: 0; padding: 0; border-top: 2px solid #E8DCC6; }
.order-items li { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 2px solid #E8DCC6; }
.order-items img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; background: #fff; }
.oi-name a { font-weight: 700; }
.oi-qty { color: #5E5878; font-weight: 600; white-space: nowrap; }
.oi-price { font-weight: 700; white-space: nowrap; }
.order-totals { width: 100%; border-collapse: collapse; margin: 12px 0 4px; }
.order-totals th { text-align: left; font-weight: 600; padding: 4px 0; }
.order-totals td { text-align: right; padding: 4px 0; }
.order-totals .is-total th, .order-totals .is-total td { font-weight: 800; font-size: 20px; padding-top: 10px; border-top: 2px solid #E8DCC6; }
.order-ship { margin: 14px 0 0; }
.order-steps { margin: 0 0 8px; padding-left: 1.4em; display: grid; gap: 12px; }
.order-steps li { padding-left: 4px; }
.order-steps strong { color: var(--gold); }
.order-steps a { color: var(--gold); }
.order-actions { margin: 40px 0 0; }
@media (max-width: 860px) { .order-grid { grid-template-columns: 1fr; gap: 32px; } .order-card { padding: 20px; } }

/* Terms and privacy */
.legal { max-width: 760px; }
.legal h2 { margin-top: 1.8em; }
.legal-updated { opacity: 0.75; font-size: 0.95em; }
.legal-table { width: 100%; }
.legal-table th, .legal-table td { vertical-align: top; text-align: left; }
.legal-table thead th { white-space: nowrap; }
.legal blockquote { margin: 1em 0; padding: 14px 18px; border-left: 4px solid var(--teal, #22B8A7); background: rgba(255,255,255,0.05); border-radius: 0 10px 10px 0; }
@media (max-width: 720px) {
  .legal-table thead { display: none; }
  .legal-table tr { display: block; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .legal-table th, .legal-table td { display: block; padding: 2px 0; }
}
