/* ==========================================================================
   Doglicious design system
   One warm, appetising light theme. Deliberately single-theme: this is a
   food brand and the palette is part of the product.
   ========================================================================== */

:root {
  /* Brand */
  --cocoa-900: #241a12;
  --cocoa-800: #3b2a1d;
  --cocoa-700: #5a4231;
  --cocoa-500: #8a6a4f;
  --caramel:   #c88a4a;
  --caramel-d: #a86f36;
  --tan:       #e8c9a0;
  --cream:     #fdf8f1;
  --cream-2:   #f7ecdd;
  --paper:     #ffffff;

  --leaf:      #4a7c59;
  --leaf-soft: #e4efe6;
  --berry:     #d1495b;
  --berry-soft:#fbe7e9;
  --gold:      #e8a33d;

  --ink:       var(--cocoa-900);
  --ink-soft:  var(--cocoa-700);
  --muted:     #8b7a68;
  --line:      #ebdcc8;

  --radius-s: 10px;
  --radius:   18px;
  --radius-l: 28px;
  --radius-xl: 40px;

  --shadow-s: 0 1px 2px rgba(60, 40, 20, .06), 0 2px 8px rgba(60, 40, 20, .05);
  --shadow:   0 4px 12px rgba(60, 40, 20, .07), 0 12px 32px rgba(60, 40, 20, .08);
  --shadow-l: 0 10px 30px rgba(60, 40, 20, .10), 0 30px 70px rgba(60, 40, 20, .12);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1180px;
  --nav-h: 72px;
}

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

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

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--caramel-d); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--cocoa-900);
}
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.wrap-narrow { width: min(760px, 100% - 2.5rem); margin-inline: auto; }

section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 3rem; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; margin-top: .9rem; }

.eyebrow {
  display: inline-block;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--caramel-d);
  background: var(--cream-2);
  padding: .4rem .85rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .98rem;
  padding: .9rem 1.6rem;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  text-decoration: none;
  line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--cocoa-900); color: #fff; box-shadow: var(--shadow-s); }
.btn-primary:hover { background: var(--cocoa-800); box-shadow: var(--shadow); }

.btn-accent { background: var(--caramel); color: #fff; box-shadow: var(--shadow-s); }
.btn-accent:hover { background: var(--caramel-d); box-shadow: var(--shadow); }

.btn-ghost { background: transparent; color: var(--cocoa-900); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--caramel); background: var(--paper); }

.btn-light { background: #fff; color: var(--cocoa-900); box-shadow: var(--shadow); }
.btn-sm { padding: .58rem 1.05rem; font-size: .86rem; }
.btn-lg { padding: 1.05rem 2.1rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(253, 248, 241, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-s); }
.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--cocoa-900);
  letter-spacing: -.02em;
}
.brand:hover { text-decoration: none; }
.brand-paw {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: var(--caramel);
  color: #fff;
  border-radius: 12px;
  font-size: 1.1rem;
}
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a {
  color: var(--ink-soft);
  font-size: .94rem;
  font-weight: 600;
}
.nav-links a:hover { color: var(--cocoa-900); text-decoration: none; }
.nav-actions { display: flex; align-items: center; gap: .7rem; }

.cart-chip {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 1.1rem;
}
.cart-chip:hover { text-decoration: none; border-color: var(--caramel); }
.cart-count {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 20px; height: 20px;
  border-radius: 100px;
  background: var(--berry);
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  display: grid; place-items: center;
  padding: 0 5px;
}

.nav-toggle {
  display: none;
  background: none; border: none;
  font-size: 1.5rem; cursor: pointer; color: var(--cocoa-900);
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: var(--nav-h); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: .5rem 1.25rem 1.25rem;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .85rem 0; border-bottom: 1px solid var(--line); }
}

/* ------------------------------------------------------------------ hero */
.hero { position: relative; padding: 0; overflow: hidden; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(3.5rem, 8vw, 6.5rem);
}
.hero h1 { margin-bottom: 1.15rem; }
.hero h1 .accent {
  color: var(--caramel-d);
  font-style: italic;
}
.hero-lead {
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 34rem;
  margin-bottom: 1.9rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 2rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.hero-trust span {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .87rem; font-weight: 600; color: var(--ink-soft);
}
.hero-trust .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--leaf); }

.hero-media { position: relative; }
.hero-photo {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-l);
}
.hero-badge {
  position: absolute;
  background: var(--paper);
  border-radius: var(--radius);
  padding: .85rem 1.1rem;
  box-shadow: var(--shadow);
  display: flex; align-items: center; gap: .7rem;
}
.hero-badge .bignum {
  font-family: var(--font-display);
  font-size: 1.45rem; font-weight: 700; color: var(--caramel-d); line-height: 1;
}
.hero-badge small { display: block; font-size: .72rem; color: var(--muted); font-weight: 600; }
.hero-badge.b1 { left: -18px; bottom: 16%; }
.hero-badge.b2 { right: -10px; top: 10%; }

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .5;
  z-index: -1;
}
.hero-blob.one { width: 340px; height: 340px; background: var(--tan); top: -80px; right: -60px; }
.hero-blob.two { width: 280px; height: 280px; background: var(--leaf-soft); bottom: -60px; left: -80px; }

@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-badge.b1 { left: 8px; }
  .hero-badge.b2 { right: 8px; }
}

/* --------------------------------------------------------------- marquee */
.strip {
  background: var(--cocoa-900);
  color: var(--cream);
  padding: .9rem 0;
  overflow: hidden;
}
.strip-track {
  display: flex; gap: 3rem; white-space: nowrap;
  animation: slide 30s linear infinite;
  font-weight: 600; font-size: .92rem; letter-spacing: .02em;
}
.strip-track span { display: inline-flex; align-items: center; gap: .6rem; opacity: .92; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .strip-track { animation: none; }
}

/* ----------------------------------------------------------------- cards */
.grid { display: grid; gap: 1.6rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 1.6rem;
  box-shadow: var(--shadow-s);
  transition: transform .22s ease, box-shadow .22s ease;
}
.card-hover:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

/* Recipe card: the bowl art is CSS so it always looks deliberate even
   before the kitchen uploads real photography. */
.recipe-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.recipe-art {
  position: relative;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.recipe-art img { width: 100%; height: 100%; object-fit: cover; }
.recipe-art.chicken   { background: linear-gradient(140deg, #fbe3c2, #f3c98d 55%, #e9b06a); }
.recipe-art.lamb      { background: linear-gradient(140deg, #f3d3c4, #e0a48c 55%, #c9805f); }
.recipe-art.vegetarian{ background: linear-gradient(140deg, #dff0df, #b9dcc0 55%, #94c7a4); }

.bowl {
  width: 62%;
  filter: drop-shadow(0 12px 22px rgba(80, 50, 20, .22));
}
.recipe-tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(255,255,255,.93);
  color: var(--cocoa-800);
  font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: .35rem .7rem; border-radius: 100px;
}
.recipe-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; gap: .9rem; }
.recipe-body h3 { margin-bottom: .15rem; }
.recipe-tagline { color: var(--caramel-d); font-weight: 600; font-size: .9rem; }
.recipe-desc { color: var(--ink-soft); font-size: .94rem; flex: 1; }

.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip {
  font-size: .76rem; font-weight: 600;
  background: var(--cream-2); color: var(--cocoa-700);
  padding: .32rem .66rem; border-radius: 100px;
}
.chip-leaf { background: var(--leaf-soft); color: var(--leaf); }
.chip-berry { background: var(--berry-soft); color: var(--berry); }

.nutri-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: .5rem; padding: .85rem 0; border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.nutri-row div { text-align: center; }
.nutri-row b { display: block; font-family: var(--font-display); font-size: 1.05rem; color: var(--cocoa-900); }
.nutri-row small { font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

.price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.price { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--cocoa-900); }
.price small { font-size: .8rem; color: var(--muted); font-family: var(--font-body); font-weight: 600; }

/* ------------------------------------------------------------- steps/how */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 4.2rem; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: var(--cocoa-900); color: #fff;
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 700;
}
.step h3 { margin-bottom: .4rem; }
.step p { color: var(--ink-soft); font-size: .96rem; }

/* --------------------------------------------------------- testimonials */
.tcard { display: flex; flex-direction: column; gap: 1.1rem; }
.tquote { font-size: 1rem; color: var(--ink-soft); font-style: italic; }
.tmeta { display: flex; align-items: center; gap: .85rem; }
.tmeta img {
  width: 54px; height: 54px; border-radius: 50%;
  object-fit: cover; border: 3px solid var(--cream-2);
}
.tmeta b { display: block; font-size: .94rem; }
.tmeta small { color: var(--muted); font-size: .82rem; }
.stars { color: var(--gold); font-size: .92rem; letter-spacing: .1em; }

/* -------------------------------------------------------------- feature */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.feature img { border-radius: var(--radius-l); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; }
.feature ul { list-style: none; display: grid; gap: .85rem; margin-top: 1.5rem; }
.feature li { display: flex; gap: .75rem; align-items: flex-start; color: var(--ink-soft); }
.feature li .tick {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--leaf-soft); color: var(--leaf);
  display: grid; place-items: center; font-size: .8rem; font-weight: 800;
}
@media (max-width: 820px) { .feature { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ FAQ */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  font-family: var(--font-body); font-weight: 700; font-size: 1.02rem; color: var(--cocoa-900);
  padding: 1.25rem 2.5rem 1.25rem 0; position: relative;
}
.faq-q::after {
  content: "+"; position: absolute; right: .4rem; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--caramel); font-weight: 400; transition: transform .2s ease;
}
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-a p { padding-bottom: 1.25rem; color: var(--ink-soft); font-size: .96rem; }

/* ----------------------------------------------------------------- forms */
.form-grid { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }

label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: .4rem; color: var(--cocoa-800); }
.helptext { display: block; font-weight: 500; font-size: .8rem; color: var(--muted); margin-top: .3rem; }

input[type=text], input[type=email], input[type=password], input[type=number],
input[type=tel], input[type=date], select, textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: .98rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-s);
  padding: .78rem .95rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--caramel);
  box-shadow: 0 0 0 4px rgba(200, 138, 74, .15);
}
textarea { resize: vertical; min-height: 90px; }

.check { display: flex; align-items: flex-start; gap: .65rem; }
.check input { width: 18px; height: 18px; margin-top: .2rem; accent-color: var(--caramel); flex: none; }
.check label { margin: 0; font-weight: 600; font-size: .92rem; }

.errorlist { list-style: none; color: var(--berry); font-size: .84rem; margin-top: .35rem; font-weight: 600; }

/* Segmented radio group, used for activity / goal / days */
.segment { display: flex; flex-wrap: wrap; gap: .5rem; }
.segment input { position: absolute; opacity: 0; pointer-events: none; }
.segment label {
  margin: 0;
  padding: .6rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 100px;
  cursor: pointer;
  font-size: .9rem; font-weight: 600;
  background: var(--paper);
  transition: all .15s ease;
}
.segment input:checked + label {
  background: var(--cocoa-900); color: #fff; border-color: var(--cocoa-900);
}
.segment label:hover { border-color: var(--caramel); }

/* --------------------------------------------------------------- builder */
.builder { display: grid; grid-template-columns: 1.35fr .75fr; gap: 2.2rem; align-items: start; }
@media (max-width: 960px) { .builder { grid-template-columns: 1fr; } }

.build-step { margin-bottom: 2.2rem; }
.build-step-title {
  display: flex; align-items: center; gap: .7rem;
  font-family: var(--font-display); font-size: 1.22rem; font-weight: 700;
  margin-bottom: 1rem;
}
.build-step-title .n {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--caramel); color: #fff;
  display: grid; place-items: center; font-size: .9rem; flex: none;
}

.pick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .9rem; }
.pick {
  position: relative; cursor: pointer;
  border: 2px solid var(--line); border-radius: var(--radius);
  padding: 1rem; background: var(--paper);
  transition: all .18s ease;
}
.pick:hover { border-color: var(--tan); transform: translateY(-2px); }
.pick.selected { border-color: var(--caramel); background: #fffaf3; box-shadow: var(--shadow-s); }
.pick input { position: absolute; opacity: 0; }
.pick h4 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: .2rem; }
.pick p { font-size: .82rem; color: var(--muted); }
.pick .pick-price { font-weight: 800; color: var(--caramel-d); font-size: .9rem; margin-top: .5rem; }

.dog-pick { display: flex; align-items: center; gap: .8rem; }
.dog-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--cream-2); display: grid; place-items: center;
  font-size: 1.2rem; flex: none; overflow: hidden;
}
.dog-avatar img { width: 100%; height: 100%; object-fit: cover; }

.addon-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .95rem 0; border-bottom: 1px solid var(--line);
}
.addon-row:last-child { border-bottom: none; }
.addon-info b { font-size: .96rem; }
.addon-info p { font-size: .84rem; color: var(--muted); }
.qty { display: flex; align-items: center; gap: .55rem; flex: none; }
.qty button {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid var(--line); background: var(--paper);
  cursor: pointer; font-size: 1rem; font-weight: 700; color: var(--cocoa-800);
  display: grid; place-items: center;
}
.qty button:hover { border-color: var(--caramel); }
.qty span { min-width: 22px; text-align: center; font-weight: 700; }

/* Sticky live summary */
.summary {
  position: sticky; top: calc(var(--nav-h) + 1.25rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}
.summary h3 { margin-bottom: 1.1rem; }
.summary-line { display: flex; justify-content: space-between; gap: 1rem; padding: .42rem 0; font-size: .93rem; color: var(--ink-soft); }
.summary-line b { color: var(--cocoa-900); }
.summary-total {
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 2px solid var(--line); margin-top: .9rem; padding-top: .9rem;
}
.summary-total .price { font-size: 1.85rem; }

.portion-hero {
  background: linear-gradient(140deg, var(--cream-2), #fff);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem;
  text-align: center;
  margin-bottom: 1.1rem;
}
.portion-hero .g {
  font-family: var(--font-display); font-size: 2.3rem; font-weight: 700;
  color: var(--caramel-d); line-height: 1;
}
.portion-hero small { color: var(--muted); font-size: .8rem; font-weight: 600; }

/* ------------------------------------------------------------- messages */
.messages { display: grid; gap: .7rem; margin: 1.25rem 0; }
.msg {
  padding: .9rem 1.15rem; border-radius: var(--radius-s);
  font-size: .93rem; font-weight: 600;
  border-left: 4px solid;
}
.msg-success { background: var(--leaf-soft); color: #2f5a3c; border-color: var(--leaf); }
.msg-error   { background: var(--berry-soft); color: #92303e; border-color: var(--berry); }
.msg-warning { background: #fdf0d9; color: #8a5a12; border-color: var(--gold); }
.msg-info    { background: var(--cream-2); color: var(--cocoa-700); border-color: var(--caramel); }

.alert-warn {
  background: #fdf0d9; border-left: 4px solid var(--gold);
  padding: .85rem 1.1rem; border-radius: var(--radius-s);
  font-size: .9rem; color: #8a5a12; font-weight: 600;
}

/* ---------------------------------------------------------------- tables */
.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th {
  text-align: left; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted); padding: .7rem .6rem; border-bottom: 2px solid var(--line);
}
.table td { padding: .95rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: none; }

.badge {
  display: inline-block; font-size: .74rem; font-weight: 800;
  padding: .3rem .65rem; border-radius: 100px; letter-spacing: .03em;
}
.badge-pending { background: #fdf0d9; color: #8a5a12; }
.badge-paid { background: var(--leaf-soft); color: var(--leaf); }
.badge-delivered { background: var(--leaf-soft); color: var(--leaf); }
.badge-cancelled, .badge-failed { background: var(--berry-soft); color: var(--berry); }
.badge-preparing, .badge-out_for_delivery { background: var(--cream-2); color: var(--caramel-d); }

/* ------------------------------------------------------------------ misc */
.page-head { padding: clamp(2.5rem, 5vw, 4rem) 0 1rem; }
.page-head h1 { margin-bottom: .6rem; }
.page-head p { color: var(--ink-soft); }

.panel {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-l); padding: clamp(1.5rem, 3vw, 2.2rem);
  box-shadow: var(--shadow-s);
}
.auth-wrap { max-width: 460px; margin: clamp(2rem, 6vw, 4.5rem) auto; }
.auth-wrap .panel { padding: 2.2rem; }
.auth-head { text-align: center; margin-bottom: 1.8rem; }
.auth-head p { color: var(--ink-soft); font-size: .95rem; margin-top: .4rem; }

.empty {
  text-align: center; padding: 3.5rem 1.5rem;
  background: var(--paper); border: 2px dashed var(--line); border-radius: var(--radius-l);
}
.empty .big { font-size: 3rem; margin-bottom: .8rem; }
.empty p { color: var(--ink-soft); margin: .6rem 0 1.4rem; }

.cta-band {
  background: linear-gradient(135deg, var(--cocoa-900), #4a3423);
  color: var(--cream);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: #fff; margin-bottom: .9rem; }
.cta-band p { color: rgba(253, 248, 241, .82); max-width: 520px; margin: 0 auto 1.8rem; }

.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.5rem; text-align: center; }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 2.6rem); color: var(--caramel-d); line-height: 1; }
.stat small { color: var(--muted); font-size: .84rem; font-weight: 600; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--cocoa-900); color: rgba(253, 248, 241, .72); padding: 4rem 0 2rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.site-footer a { color: rgba(253, 248, 241, .72); font-size: .92rem; display: block; padding: .3rem 0; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; margin-bottom: .9rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: .85rem;
}

/* ------------------------------------------------------------ animation */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card-hover:hover, .pick:hover { transform: none; }
}

.text-center { text-align: center; }
.muted { color: var(--muted); }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.75rem; }
.mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.75rem; }
.flex { display: flex; gap: .8rem; align-items: center; }
.flex-between { display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--cocoa-900); color: #fff; padding: .8rem 1.2rem; z-index: 100; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
