/* ==========================================================================
   Whisk N Bake — storefront styles
   Palette sampled directly from the client's Instagram: profile picture
   background = #FEC2C4 (exact pixel sample), wordmark = deep maroon-brown.
   ========================================================================== */

/* Palette derived 100% from assets/profile_pic.jpg (the brand logo):
   logo background = #FEC2C4 (exact sample), logo ink = warm maroon-rose
   (#784C4C avg). Everything else is a tint or shade of those two hues. */
:root {
  --c-bg: #FFF4F3;        /* near-white tint of the logo pink */
  --c-bg-alt: #FEC2C4;    /* logo background pink (exact) */
  --c-ink: #402627;       /* logo ink, darkened for body text */
  --c-brown: #6A4243;     /* logo ink (headings, wordmark) */
  --c-accent: #E8797E;    /* logo pink, deepened — CTAs, pop */
  --c-accent-2: #FFDFE0;  /* pale tint of logo pink — badges, panels */
  --c-accent-3: #F5A9AC;  /* mid tint of logo pink — highlights */
  --c-card: #FFFFFF;

  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow-soft: 0 10px 30px rgba(106, 66, 67, 0.15);
}

@keyframes float-y {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50% { transform: translateY(-16px) rotate(var(--r, 0deg)); }
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes pop-in {
  0% { transform: scale(0.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: 'Poppins', system-ui, sans-serif;
  overflow-x: hidden;
}

h1, h2, h3, .display {
  font-family: 'Fredoka', 'Poppins', system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.05;
  margin: 0;
}

img { max-width: 100%; display: block; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Nav ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}

.nav .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fredoka', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--c-brown);
}

.nav .logo img { height: 44px; width: 44px; object-fit: cover; border-radius: 50%; box-shadow: var(--shadow-soft); }

.nav a.cta {
  background: var(--c-brown);
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: transform .15s ease;
}
.nav a.cta:hover { transform: translateY(-2px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 40px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 15%, var(--c-bg-alt) 0%, transparent 45%),
    radial-gradient(circle at 8% 85%, var(--c-accent-2) 0%, transparent 40%);
}

.floaty {
  position: absolute;
  font-size: 34px;
  animation: float-y 5s ease-in-out infinite;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 6px 10px rgba(90,36,38,.15));
}
.floaty.f1 { top: 8%;  left: 4%;  --r: -8deg;  animation-delay: 0s; }
.floaty.f2 { top: 62%; left: 2%;  --r: 10deg;  animation-delay: .6s; font-size: 26px; }
.floaty.f3 { top: 4%;  left: 46%; --r: 6deg;   animation-delay: 1.2s; font-size: 22px; }
.floaty.f4 { top: 80%; left: 42%; --r: -10deg; animation-delay: .3s; font-size: 30px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 68px);
  color: var(--c-brown);
}

.hero h1 .pop { color: var(--c-accent); }

.hero p.lead {
  margin-top: 18px;
  font-size: 18px;
  max-width: 46ch;
  color: #4a3a33;
}

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

.badge {
  background: var(--c-card);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  gap: 6px;
  animation: bounce 3s ease-in-out infinite;
}
.badge:nth-child(2) { animation-delay: .3s; }
.badge:nth-child(3) { animation-delay: .6s; }

.hero-actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }

.btn-primary, .btn-secondary {
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  border-radius: 999px;
  padding: 16px 30px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: var(--c-accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(232, 121, 126, 0.4);
  animation: bounce 2.4s ease-in-out infinite;
}
.btn-primary:hover { filter: brightness(1.05); animation-play-state: paused; transform: translateY(-4px); }

.btn-secondary {
  background: transparent;
  color: var(--c-brown);
  border: 2px solid var(--c-brown);
}

/* ---------- Hero cake machine ---------- */
.hero-machine {
  position: relative;
  height: 460px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-machine .floaty.f1 { top: 12%; left: 0; }
.hero-machine .floaty.f2 { top: 60%; left: 2%; }
.hero-machine .floaty.f3 { top: 6%;  right: 4%; left: auto; }

.hero-machine .machine {
  width: min(340px, 82%);
  position: relative;
  z-index: 2;
  animation: machine-work 1.1s ease-in-out infinite;
  filter: drop-shadow(0 18px 26px rgba(106, 66, 67, 0.18));
}

.hero-machine .swirl {
  transform-origin: 132px 158px;
  animation: spin-slow 3.5s linear infinite;
}

/* ingredients falling into the funnel (pass behind it at z-index 1) */
.drop {
  position: absolute;
  top: 26px;
  left: 50%;
  z-index: 1;
  font-size: 30px;
  pointer-events: none;
  user-select: none;
  opacity: 0;
  animation: drop-in 3s ease-in infinite;
}
.drop.d1 { margin-left: -14px; animation-delay: 0s; }
.drop.d2 { margin-left: -46px; animation-delay: .75s;  font-size: 26px; }
.drop.d3 { margin-left: 18px;  animation-delay: 1.5s;  font-size: 27px; }
.drop.d4 { margin-left: -28px; animation-delay: 2.25s; font-size: 26px; }

/* finished treats (real product photos) sliding out of the chute */
.cake-out {
  position: absolute;
  bottom: 72px;
  left: calc(50% + 92px);
  z-index: 3;
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 14px;
  border: 3px solid var(--c-card);
  box-shadow: var(--shadow-soft);
  pointer-events: none;
  user-select: none;
  opacity: 0;
  animation: photo-out 18s linear infinite;
}
.cake-out.c2 { animation-delay: 3s; }
.cake-out.c3 { animation-delay: 6s; }
.cake-out.c4 { animation-delay: 9s; }
.cake-out.c5 { animation-delay: 12s; }
.cake-out.c6 { animation-delay: 15s; }

.hero-machine .tray {
  position: absolute;
  bottom: 58px;
  left: calc(50% + 92px);
  width: 150px;
  height: 12px;
  border-radius: 999px;
  background: var(--c-brown);
  z-index: 2;
  box-shadow: var(--shadow-soft);
}

@keyframes drop-in {
  0%   { transform: translateY(-120px) rotate(0deg); opacity: 0; }
  12%  { opacity: 1; }
  70%  { opacity: 1; }
  100% { transform: translateY(0) rotate(24deg) scale(.55); opacity: 0; }
}
/* each photo is visible for ~3s of the 18s cycle; 6 photos = seamless conveyor */
@keyframes photo-out {
  0%    { transform: translateX(0) scale(.55); opacity: 0; }
  2.5%  { transform: translateX(12px) scale(1); opacity: 1; }
  12%   { transform: translateX(86px) scale(1); opacity: 1; }
  16.5% { transform: translateX(114px) scale(.9); opacity: 0; }
  100%  { transform: translateX(114px) scale(.9); opacity: 0; }
}
@keyframes machine-work {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25%      { transform: translateY(-2px) rotate(-.4deg); }
  75%      { transform: translateY(-1px) rotate(.4deg); }
}


/* ---------- Product turntable + categories ----------
   The wheel is a "spinning table": a disc tilted back with rotateX inside a
   perspective container. Items are pinned to the rim in the table plane, then
   each img counter-rotates in-plane (stays facing front while the table turns)
   and counter-tilts with rotateX so it stands upright like a card on the table.
   --wd: table diameter (40% of screen)  --ws: item size
   --ao: angle of the active slot (180deg = front, nearest the viewer)
   --ai: per-item angle (inline, js)     --rot: table rotation (js)
   --tilt: how far the table leans back */
.wheel-stage {
  --wd: clamp(300px, 40vw, 680px);
  --ws: clamp(150px, calc(var(--wd) * 0.4), 270px);
  --tilt: 56deg;
  position: relative;
  overflow: hidden;
  background: var(--sb, var(--c-accent-2));
  transition: background-color .8s ease;
}

.wheel-layout {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) var(--wd);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding: 44px 4vw 52px;
}

.wheel-copy-box {
  transition: opacity .25s ease, transform .25s ease;
}
.wheel-copy-box.swap { opacity: 0; transform: translateY(12px); }

/* category chips */
.cat-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 22px;
}

.cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--c-card);
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 9px 15px;
  font-family: 'Poppins', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--c-ink);
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform .15s ease, border-color .2s ease, color .2s ease;
}
.cat-chip:hover { transform: translateY(-2px); }
.cat-chip.on {
  border-color: var(--sa, var(--c-accent));
  color: var(--c-accent);
}

.cat-count {
  background: var(--c-accent-2);
  color: var(--c-brown);
  border-radius: 999px;
  font-size: 11px;
  padding: 2px 8px;
}

.slide-word {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 7vw, 88px);
  line-height: 1;
  color: var(--sw, var(--c-brown));
  text-transform: uppercase;
  letter-spacing: .02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: .92;
  margin-bottom: 18px;
}

.slide-copy h3 {
  font-size: clamp(20px, 2.6vw, 30px);
  color: var(--c-brown);
}

.slide-copy p {
  margin-top: 14px;
  font-size: 15.5px;
  line-height: 1.6;
  color: #4a3a33;
  max-width: 48ch;
}

.slide-actions {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.slide-actions .btn-primary { animation: none; }

.slide-likes {
  background: var(--c-card);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 13px;
  color: var(--c-accent);
  box-shadow: var(--shadow-soft);
}

.wheel-nav {
  display: flex;
  gap: 12px;
  padding: 18px 0 48px;
}

.car-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: var(--c-card);
  color: var(--c-brown);
  font-size: 26px;
  line-height: 1;
  font-family: 'Fredoka', sans-serif;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 4px;
  transition: transform .15s ease;
}
.car-arrow:hover { transform: scale(1.12); }

/* the restaurant table */
.wheel {
  position: relative;
  width: var(--wd);
  height: var(--wd);
  perspective: 1100px;
  z-index: 1;
}

.wheel-table {
  position: absolute;
  inset: 0;
  transform: rotateX(var(--tilt));
  transform-style: preserve-3d;
}

/* pink gingham tablecloth */
.table-cloth {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    repeating-linear-gradient(0deg,  rgba(232, 121, 126, .16) 0 16px, transparent 16px 40px),
    repeating-linear-gradient(90deg, rgba(232, 121, 126, .16) 0 16px, transparent 16px 40px),
    #FFF9F7;
  border: 8px solid #fff;
  box-shadow:
    0 26px 44px rgba(106, 66, 67, .22),
    inset 0 0 0 3px rgba(232, 121, 126, .25);
}

/* porcelain plate in the middle */
.table-plate {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52%;
  height: 52%;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 58%, #f4eeec 60%, #ffffff 66%);
  box-shadow:
    0 6px 16px rgba(106, 66, 67, .18),
    inset 0 0 0 2px rgba(106, 66, 67, .06);
}
.table-plate::after {
  content: '';
  position: absolute;
  inset: 16%;
  border-radius: 50%;
  border: 2px solid rgba(232, 121, 126, .22);
}

/* flat cutlery either side of the plate */
.table-cutlery {
  position: absolute;
  top: 50%;
  width: 3.4%;
  height: 30%;
  transform: translateY(-50%);
  border-radius: 999px;
  background: linear-gradient(#d9cfcb, #bfb2ad);
  box-shadow: 0 2px 4px rgba(106, 66, 67, .15);
}
.table-cutlery.fork  { left: 14%; }
.table-cutlery.knife { right: 14%; }
.table-cutlery.fork::before {
  content: '';
  position: absolute;
  top: -14%;
  left: 0;
  right: 0;
  height: 16%;
  border-radius: 4px 4px 0 0;
  background:
    repeating-linear-gradient(90deg, #bfb2ad 0 22%, transparent 22% 39%);
}

/* the presented dish: stands upright on the plate */
.dish {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--ws);
  height: var(--ws);
  margin-left: calc(var(--ws) / -2);
  margin-top: calc(var(--ws) * -0.82);
  transform: rotateX(calc(-1 * var(--tilt)));
  transform-origin: 50% 100%;
  transform-style: preserve-3d;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.dish img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  border: 5px solid var(--c-card);
  box-shadow: 0 18px 30px rgba(106, 66, 67, .3);
  display: block;
  transform: scale(1) translateY(0);
  opacity: 1;
  transition: transform .28s ease-in, opacity .28s ease-in;
}
/* whisked away… */
.dish.swap img {
  transform: scale(.35) translateY(-46px);
  opacity: 0;
}
/* …and presented (bouncy landing) */
.dish:not(.swap) img {
  transition: transform .5s cubic-bezier(.34, 1.56, .64, 1), opacity .3s ease-out;
}
.dish:hover img { border-color: var(--c-accent-3); }

/* ---------- Section heading ---------- */
.section-head {
  text-align: center;
  margin: 10px 0 44px;
}
.section-head h2 {
  font-size: clamp(30px, 4vw, 46px);
  color: var(--c-brown);
}
.section-head p {
  color: #6b564c;
  margin-top: 10px;
}

/* ---------- Product grid ---------- */
.products { padding: 70px 0; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
  perspective: 1200px;
}

.card {
  background: var(--c-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
  transition: transform .15s ease, box-shadow .15s ease;
  animation: pop-in .5s ease both;
}
.card:hover {
  box-shadow: 0 22px 40px rgba(106, 66, 67, 0.22);
}

.card .thumb { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }

.card .likes {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(36,23,19,.65);
  color: #fff;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.card .body { padding: 18px 18px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { font-size: 18px; color: var(--c-brown); }
.card .caption { font-size: 14px; color: #5b483f; line-height: 1.5; flex: 1; }

.card .comments {
  border-top: 1px dashed #e7d9c8;
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.card .comment { font-size: 12.5px; color: #7a6a60; }
.card .comment b { color: var(--c-brown); }

.card .order-btn {
  margin-top: 6px;
  background: var(--c-accent-3);
  color: var(--c-brown);
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  padding: 12px;
  border-radius: 999px;
  text-decoration: none;
}
.card .order-btn:hover { filter: brightness(0.97); }

/* ---------- Nav links ---------- */
.nav-links {
  display: flex;
  gap: 26px;
  margin: 0 auto;
  padding: 0 20px;
}
.nav-links a {
  color: var(--c-ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 14.5px;
  opacity: .85;
  transition: opacity .15s ease, color .15s ease;
}
.nav-links a:hover, .nav-links a.on { opacity: 1; color: var(--c-accent); }

/* ---------- About section ---------- */
.about {
  padding: 80px 0 30px;
}
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.about-photos { position: relative; height: 420px; }
.about-img {
  position: absolute;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-soft);
  border: 6px solid var(--c-card);
}
.about-img.a { width: 68%; height: 68%; top: 0; left: 0; transform: rotate(-4deg); }
.about-img.b { width: 52%; height: 52%; bottom: 0; right: 0; transform: rotate(5deg); }
.about-sticker {
  position: absolute;
  bottom: 8%;
  left: 4%;
  background: var(--c-accent);
  color: #fff;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  transform: rotate(-6deg);
  box-shadow: var(--shadow-soft);
}
.about-text h2 {
  font-size: clamp(30px, 4vw, 46px);
  color: var(--c-brown);
}
.about-lead { font-size: 18px; margin-top: 14px; color: #4a3a33; }
.about-text > p { color: #5b483f; line-height: 1.7; margin-top: 12px; max-width: 56ch; }
.about-feats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 26px;
}
.feat {
  background: var(--c-card);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  box-shadow: var(--shadow-soft);
  font-size: 12.5px;
  color: #6b564c;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.feat span { font-size: 24px; }
.feat b { color: var(--c-brown); font-size: 13.5px; }
.about .hero-actions { margin-top: 28px; }

/* ---------- Products page ---------- */
.products-page { padding: 30px 0 70px; }
.page-filters { justify-content: center; margin-bottom: 34px; }
.cz-card { cursor: pointer; }
.cz-card:hover { transform: translateY(-4px); }
.cz-card .order-btn { pointer-events: none; }

/* ---------- Order customizer modal ---------- */
.cz-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(59, 30, 31, .45);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.cz-backdrop[hidden] { display: none; }

.cz-modal {
  position: relative;
  background: var(--c-bg);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
  width: min(560px, 100%);
  max-height: min(88vh, 780px);
  overflow-y: auto;
  padding: 26px 26px 24px;
}

.cz-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: var(--c-accent-2);
  color: var(--c-brown);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}
.cz-close:hover { filter: brightness(.96); }

.cz-head { display: flex; gap: 16px; align-items: center; padding-right: 40px; }
.cz-thumb {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 4px solid var(--c-card);
  box-shadow: var(--shadow-soft);
}
.cz-title { color: var(--c-brown); font-size: 19px; }
.cz-sub { font-size: 13px; color: #6b564c; margin: 4px 0 0; }

.cz-section { margin-top: 18px; }
.cz-section h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-brown);
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.cz-hint { font-weight: 500; text-transform: none; letter-spacing: 0; color: #9a8378; }

.cz-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.cz-pill {
  position: relative;
  background: var(--c-card);
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-ink);
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  user-select: none;
  transition: border-color .15s ease, color .15s ease;
}
.cz-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.cz-pill:has(input:checked) {
  border-color: var(--c-accent);
  color: var(--c-accent);
  background: #fff;
}

.cz-grid2 { display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; }

.cz-input {
  width: 100%;
  border: 2px solid var(--c-accent-2);
  border-radius: 14px;
  background: var(--c-card);
  padding: 11px 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: var(--c-ink);
  box-sizing: border-box;
  resize: vertical;
}
.cz-input:focus { outline: none; border-color: var(--c-accent); }

.cz-send {
  width: 100%;
  justify-content: center;
  margin-top: 20px;
  animation: none;
}

/* ---------- WhatsApp floating button ---------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25D366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
  z-index: 40;
  text-decoration: none;
  font-size: 28px;
}

/* ---------- Footer ---------- */
footer {
  background: var(--c-brown);
  color: #f6e9dc;
  padding: 50px 0 30px;
  margin-top: 60px;
}
footer .foot-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
footer h3 { color: #fff; font-size: 20px; }
footer a { color: #f6e9dc; }
footer .fine { margin-top: 30px; font-size: 12px; opacity: .7; text-align: center; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-machine { height: 340px; margin-top: 20px; }
  .hero-machine .machine { width: min(280px, 78%); }
  .hero-machine .tray { width: 120px; }
  .cake-out { bottom: 66px; width: 56px; height: 56px; }

  /* stacked layout on small screens: categories/copy above, table below */
  .wheel-stage {
    --wd: min(78vw, 420px);
    --ws: clamp(120px, calc(var(--wd) * 0.42), 180px);
  }
  .wheel-layout {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 30px 20px 40px;
  }
  .wheel { margin: 12px auto 0; }
  .wheel-nav { padding-bottom: 8px; }
  .car-arrow { width: 40px; height: 40px; font-size: 22px; }

  .nav-links { display: none; }
  .about { padding-top: 50px; }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-photos { height: 300px; }
  .about-feats { grid-template-columns: 1fr 1fr; }
  .cz-grid2 { grid-template-columns: 1fr; }
}
