/* PriceDropBear draft styles. Colours live in the tokens below. */

:root {
  color-scheme: light dark;
  --bg: #f6f3ea;
  --bg-deep: #ece7d8;
  --surface: #ffffff;
  --ink: #17231c;
  --ink-2: #47564d;
  --muted: #6f7b73;
  --line: #e2dccb;
  --brand: #1f5a41;
  --brand-strong: #133f2d;
  --brand-soft: #e3efe7;
  --on-brand: #ffffff;
  --accent: #c94a1a;
  --on-accent: #ffffff;
  --accent-soft: #fdeadf;
  --drop: #12703f;
  --drop-soft: #dff3e6;
  --rise: #a5371f;
  --fur: #9aa8a0;
  --fur-ear: #f3c9b6;
  --fang: #ffffff;
  --chart-line: #1f5a41;
  --chart-fill: rgba(31, 90, 65, 0.09);
  --chart-grid: #ebe6d8;
  --shadow: 0 1px 2px rgba(23, 35, 28, 0.06), 0 8px 24px rgba(23, 35, 28, 0.06);
  --radius: 14px;
  --font-display: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1511;
    --bg-deep: #0a0f0c;
    --surface: #18211b;
    --ink: #eef2ec;
    --ink-2: #bcc7bf;
    --muted: #8e9a92;
    --line: #2a362e;
    --brand: #74d3a0;
    --brand-strong: #9be3bd;
    --brand-soft: #1d3327;
    --on-brand: #0c1a13;
    --accent: #ff8a57;
    --on-accent: #2a1206;
    --accent-soft: #3a2218;
    --drop: #6fd69a;
    --drop-soft: #173324;
    --rise: #ff9079;
    --fur: #a9b6ae;
    --chart-line: #74d3a0;
    --chart-fill: rgba(116, 211, 160, 0.12);
    --chart-grid: #243029;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.25);
  }
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
}

main {
  flex: 1;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

a {
  color: var(--brand);
}

img {
  max-width: 100%;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-row {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 64px;
}

.header-gap {
  flex: 1;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.wordmark-drop {
  color: var(--accent);
}

.brand-small .wordmark {
  font-size: 1.1rem;
}

.bear-fur {
  fill: var(--fur);
}

.bear-ear {
  fill: var(--fur-ear);
}

.bear-ink {
  fill: #1b2420;
}

.bear-brow {
  fill: none;
  stroke: #1b2420;
  stroke-width: 3;
  stroke-linecap: round;
}

.bear-fang {
  fill: var(--fang);
  stroke: #1b2420;
  stroke-width: 1;
  stroke-linejoin: round;
}

.site-nav a {
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--brand);
}

/* ---------- Search ---------- */
.search {
  display: flex;
  flex: 1;
  min-width: 0;
  max-width: 560px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  overflow: hidden;
}

.search:focus-within {
  border-color: var(--brand);
}

.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  padding: 9px 16px;
  outline: none;
}

.search input::placeholder {
  color: var(--muted);
}

.search button {
  border: 0;
  background: var(--brand);
  color: var(--on-brand);
  font: inherit;
  font-weight: 700;
  padding: 0 18px;
  cursor: pointer;
}

.search button:hover {
  background: var(--brand-strong);
}

.search button:disabled {
  opacity: 0.7;
  cursor: progress;
}

.search-big {
  max-width: 680px;
  width: 100%;
  background: var(--surface);
  border-width: 2px;
  box-shadow: var(--shadow);
}

.search-big input {
  padding: 16px 22px;
  font-size: 1.08rem;
}

.search-big button {
  padding: 0 26px;
  font-size: 1rem;
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 320px at 85% -10%, var(--brand-soft), transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 56px 0 44px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 14ch;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-lede {
  margin: 16px 0 26px;
  font-size: 1.12rem;
  color: var(--ink-2);
  max-width: 52ch;
}

.hero-try {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-2);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.chip:hover,
.chip[aria-current="true"] {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-soft);
}

.hero-art {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.hero-art .bear-mark {
  width: 78%;
  height: auto;
  filter: drop-shadow(0 14px 20px rgba(23, 35, 28, 0.18));
}

.hero-tag {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 8px 12px;
  font-weight: 700;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}

.hero-tag small {
  display: block;
  font-weight: 600;
  color: var(--muted);
  font-size: 0.72rem;
}

.hero-tag-was {
  top: 6%;
  left: 0;
  color: var(--muted);
  transform: rotate(-5deg);
}

.hero-tag-was s {
  text-decoration-thickness: 2px;
}

.hero-tag-now {
  bottom: 8%;
  right: 0;
  color: var(--drop);
  transform: rotate(4deg);
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 34px;
  margin-top: 34px;
  padding: 0;
  list-style: none;
  color: var(--ink-2);
  font-size: 0.95rem;
}

.stats strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--ink);
  margin-right: 6px;
  font-variant-numeric: tabular-nums;
}

/* ---------- Sections ---------- */
.section {
  padding: 44px 0 8px;
}

.section:last-of-type {
  padding-bottom: 56px;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.section-head h2 {
  font-size: 1.55rem;
  font-weight: 800;
}

.section-head p {
  color: var(--muted);
  font-size: 0.95rem;
}

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

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(224px, 1fr));
  gap: 16px;
}

/* ---------- Cards ---------- */
.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--brand);
}

.card-image {
  background: #ffffff;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.card-image,
.product-image {
  position: relative;
}

/* How good today's price is: a line across the top of the photo, with the
   rating pill further right the better the deal. Colours match the OzPerks app. */
.deal-scale {
  position: absolute;
  top: 8px;
  left: 10px;
  right: 10px;
  height: 22px;
}

.deal-scale::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  border-radius: 1px;
  background: #d9ded9;
}

.deal-pill {
  position: absolute;
  top: 0;
  height: 100%;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  color: #ffffff;
  background: #5f6b64;
}

.card-image.has-scale {
  padding-top: 38px;
}

.product-image .deal-scale {
  top: 12px;
  left: 14px;
  right: 14px;
  height: 26px;
}

.product-image .deal-pill {
  font-size: 0.82rem;
  padding: 0 11px;
}

.product-image.has-scale {
  padding-top: 50px;
}

.deal-new-low,
.deal-exceptional {
  background: #00695c;
}

.deal-excellent {
  background: #1b5e20;
}

.deal-great {
  background: #2e7d32;
}

.deal-good {
  background: #558b2f;
}

.deal-fair,
.deal-okay {
  background: #f9a825;
  color: #2b2100;
}

.deal-poor {
  background: #c62828;
}

.card-image img {
  max-height: 100%;
  object-fit: contain;
}

.image-missing {
  color: #6f7b73;
  font-size: 0.85rem;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  flex: 1;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--bg-deep);
  color: var(--ink-2);
  white-space: nowrap;
}

.tag-low {
  background: var(--drop-soft);
  color: var(--drop);
}

.tag-save {
  background: var(--accent-soft);
  color: var(--accent);
}

.card-title {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 0.84rem;
  min-height: 1.2em;
}

.card-brand {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rating {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.rating-star {
  color: #c98a12;
  margin-right: 2px;
}

.card-price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  font-variant-numeric: tabular-nums;
}

.was {
  color: var(--muted);
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
}

.spark-line {
  fill: none;
  stroke: var(--chart-line);
  stroke-width: 1.75;
  stroke-linejoin: round;
}

.spark-dot {
  fill: var(--chart-line);
}

.card-foot {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--brand);
  padding-top: 8px;
  border-top: 1px dashed var(--line);
}

.card-skeleton {
  pointer-events: none;
}

.card-skeleton .card-image,
.bone {
  background: linear-gradient(90deg, var(--bg-deep), var(--bg), var(--bg-deep));
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
}

.bone {
  height: 14px;
  border-radius: 6px;
}

.bone-short {
  width: 55%;
}

.bone-price {
  width: 40%;
  height: 24px;
  margin-top: 10px;
}

@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .card,
  .card-skeleton .card-image,
  .bone {
    animation: none;
    transition: none;
  }
}

/* ---------- Notices ---------- */
.notice {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 18px 20px;
  color: var(--ink-2);
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.notice-error {
  border-color: var(--rise);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  background: var(--brand);
  color: var(--on-brand);
}

.button:hover {
  background: var(--brand-strong);
}

.button-accent {
  background: var(--accent);
  color: var(--on-accent);
}

.button-accent:hover {
  background: var(--accent);
  filter: brightness(0.92);
}

.button-quiet {
  background: transparent;
  color: var(--brand);
  border: 1.5px solid var(--line);
}

.button-quiet:hover {
  background: var(--brand-soft);
  border-color: var(--brand);
}

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  counter-reset: step;
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-family: var(--font-display);
  font-weight: 800;
  margin-bottom: 12px;
}

.steps h3 {
  font-size: 1.08rem;
  margin-bottom: 6px;
}

.steps p {
  color: var(--ink-2);
  font-size: 0.95rem;
}

.app-band {
  margin-top: 28px;
  background: var(--brand);
  color: var(--on-brand);
  border-radius: var(--radius);
  padding: 26px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.app-band h2 {
  font-size: 1.35rem;
  margin-bottom: 4px;
}

.app-band p {
  opacity: 0.9;
  max-width: 56ch;
}

.app-band .button {
  background: var(--on-brand);
  color: var(--brand);
}

/* ---------- Product page ---------- */
.crumbs {
  padding: 22px 0 0;
  font-size: 0.9rem;
}

.crumbs a {
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 600;
}

.crumbs a:hover {
  color: var(--brand);
}

.product {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 32px;
  padding: 20px 0 8px;
  align-items: start;
}

.product-image {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 24px;
}

.product-image img {
  max-height: 100%;
  object-fit: contain;
}

.product-brand {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product h1 {
  font-size: clamp(1.3rem, 2.6vw, 1.75rem);
  font-weight: 700;
  margin: 6px 0 16px;
  letter-spacing: -0.01em;
}

.price-block {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.price-now {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.5rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.price-checked {
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 6px;
}

.verdict {
  margin: 16px 0 20px;
}

.verdict strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
}

.verdict span {
  color: var(--ink-2);
  font-size: 0.93rem;
}

.verdict-good strong {
  color: var(--drop);
}

.verdict-wait strong {
  color: var(--accent);
}

.cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.cta-note {
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 10px;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
}

.tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.tile dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.tile dd {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  font-variant-numeric: tabular-nums;
}

.tile small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--muted);
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin: 16px 0 0;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.panel-head h2 {
  font-size: 1.2rem;
}

.range {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  background: var(--bg);
}

.range button {
  border: 0;
  background: transparent;
  color: var(--ink-2);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 999px;
  cursor: pointer;
}

.range button[aria-pressed="true"] {
  background: var(--brand);
  color: var(--on-brand);
}

/* Chart */
.chart {
  position: relative;
  touch-action: pan-y;
}

.chart svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.chart-grid {
  stroke: var(--chart-grid);
  stroke-width: 1;
}

.chart-axis {
  fill: var(--muted);
  font-size: 12px;
  font-family: var(--font-body);
  font-variant-numeric: tabular-nums;
}

.chart-area {
  fill: var(--chart-fill);
}

.chart-line {
  fill: none;
  stroke: var(--chart-line);
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.chart-dot {
  fill: var(--chart-line);
  stroke: var(--surface);
  stroke-width: 2;
}

.chart-low-dot {
  fill: var(--surface);
  stroke: var(--chart-line);
  stroke-width: 2;
}

.chart-label {
  fill: var(--ink);
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-body);
  font-variant-numeric: tabular-nums;
  paint-order: stroke;
  stroke: var(--surface);
  stroke-width: 4px;
  stroke-linejoin: round;
}

.chart-hair {
  stroke: var(--muted);
  stroke-width: 1;
  stroke-dasharray: 3 3;
}

.chart-tip {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  background: var(--ink);
  color: var(--bg);
  border-radius: 10px;
  padding: 7px 11px;
  font-size: 0.82rem;
  line-height: 1.3;
  white-space: nowrap;
  box-shadow: var(--shadow);
  z-index: 5;
}

.chart-tip strong {
  display: block;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}

.chart-note {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 10px;
}

.table-toggle {
  margin-top: 14px;
}

.table-toggle summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--brand);
  font-size: 0.92rem;
}

.history-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
}

.history-table th,
.history-table td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
}

.history-table th {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.history-table td:nth-child(n + 2),
.history-table th:nth-child(n + 2) {
  text-align: right;
}

.change-down {
  color: var(--drop);
  font-weight: 700;
}

.change-up {
  color: var(--rise);
  font-weight: 700;
}

/* ---------- Search page ---------- */
.page-head {
  padding: 30px 0 18px;
}

.page-head h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
}

.page-head p {
  color: var(--muted);
  margin-top: 6px;
}

.more-row {
  display: flex;
  justify-content: center;
  padding: 26px 0 56px;
}

/* ---------- About ---------- */
.prose {
  max-width: 720px;
  padding: 36px 0 56px;
}

.prose h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 14px;
}

.prose h2 {
  font-size: 1.3rem;
  margin: 30px 0 8px;
}

.prose h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin: 20px 0 6px;
}

.prose p,
.prose li {
  color: var(--ink-2);
  margin-bottom: 10px;
}

.center-page {
  text-align: center;
  padding: 72px 0;
}

.center-page .bear-mark {
  width: 110px;
  height: 110px;
}

.center-page h1 {
  font-size: 2rem;
  margin: 14px 0 8px;
}

.center-page p {
  color: var(--ink-2);
  margin-bottom: 20px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  margin-top: 24px;
  color: var(--ink-2);
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.6fr 0.9fr;
  gap: 28px;
  padding-top: 32px;
  padding-bottom: 20px;
}

.footer-grid p {
  margin-top: 8px;
}

.footer-notes p:first-child {
  margin-top: 0;
  font-weight: 700;
  color: var(--ink);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: var(--ink-2);
  font-weight: 600;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--brand);
}

.footer-base {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  padding-bottom: 20px;
  color: var(--muted);
  font-size: 0.82rem;
}

/* ---------- Small screens ---------- */
@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-art {
    display: none;
  }

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

  .product-image {
    max-width: 320px;
    margin: 0 auto;
    width: 100%;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .wrap {
    padding: 0 16px;
  }

  .header-row {
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .site-nav {
    margin-left: auto;
  }

  .site-header .search {
    order: 3;
    flex-basis: 100%;
    max-width: none;
  }

  .hero {
    padding: 34px 0 30px;
  }

  .search-big {
    flex-direction: column;
    border-radius: 18px;
  }

  .search-big button {
    padding: 13px;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .card-body {
    padding: 11px;
  }

  .card .spark {
    display: none;
  }

  .price {
    font-size: 1.12rem;
  }

  .price-now {
    font-size: 2.1rem;
  }

  .panel {
    padding: 14px;
  }
}
