/* ==========================================================================
   Bel Smokehouse — Website
   Figma: "Website" canvas (1:1190). Desktop frames 1440, mobile frames 375.
   Desktop-first; the mobile design kicks in at the 900px breakpoint.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --primary: #d2b145;
  --primary-soft: rgba(210, 177, 69, 0.2);
  --primary-card: rgba(210, 177, 69, 0.54);
  --badge-red: #ff514f;

  /* Neutrals */
  --gray-900: #070707;
  --gray-700: #475156;
  --gray-200: #c9cfd2;
  --gray-100: #e4e7e9;
  --white: #fff;
  --ink: #191720;
  --ink-nav: #2a2a2a;
  --body-muted: #5f5f5f;

  /* Surfaces */
  --topbar: #191919;
  --surface-soft: #fafafa;
  --surface-alt: #f8f8f8;
  --surface-dark: #141000;
  --footer-bg: #070707;
  --hero-scrim: rgba(0, 0, 0, 0.58);

  /* Layout */
  --container: 1200px;
  --gutter: 24px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-alt: "Geist", var(--font);
}

/* --------------------------------------------------------------------------
   2. Reset / base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--white);
  font-family: var(--font);
  color: var(--gray-900);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }
p, h1, h2, h3, h4, figure { margin: 0; }
a { color: inherit; text-decoration: none; }

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

input, textarea, select { font: inherit; color: inherit; width: 100%; }

.container {
  width: min(var(--container), 100% - (var(--gutter) * 2));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   3. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;            /* flex drops whitespace-only text nodes between children */
  padding: 12px 24px;
  border-radius: 45px;
  font-size: 16px;
  line-height: 20px;
  font-weight: 600;
  white-space: nowrap;
}

.btn--primary { background: var(--primary); color: var(--white); }

.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn--outline:hover { background: var(--primary); color: var(--white); }

/* --------------------------------------------------------------------------
   4. Top bar (contact + social)
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--topbar);
  padding: 16px 0;
  filter: drop-shadow(0 1px 0 #e5e5e5);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar__contacts { display: flex; align-items: center; gap: 16px; }

.topbar__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  line-height: 20px;
  color: var(--white);
  white-space: nowrap;
}

.topbar__item img { width: 24px; height: 24px; }
.topbar__item .icon-sm { width: 18.72px; height: 18.72px; margin: 2.64px; }

.topbar__follow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 12px;
  line-height: 20px;
  color: var(--white);
  white-space: nowrap;
}

.topbar__social { display: flex; gap: 12px; }
.topbar__social img { width: 16px; height: 16px; }

/* --------------------------------------------------------------------------
   5. Main navigation
   -------------------------------------------------------------------------- */
.nav { background: var(--white); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 24px;
}

/* the logo art is cropped by its frame in Figma, so it needs a fixed window */
.logo {
  position: relative;
  flex: none;
  width: 77px;
  height: 59px;
  overflow: hidden;
}

.logo img {
  position: absolute;
  left: -10.39%;
  top: -0.15%;
  width: 125.97%;
  max-width: none;
  height: 100.31%;
}

.nav__links { display: flex; align-items: center; gap: 4px; }

.nav__link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 16px;
  line-height: 20px;
  font-weight: 500;
  color: var(--ink-nav);
  white-space: nowrap;
}

.nav__link--active {
  height: 36px;
  padding: 12px 24px;
  border-radius: 39px;
  background: var(--primary-soft);
  color: var(--gray-900);
}

.nav__actions { display: flex; align-items: center; gap: 24px; }

.cart-group { display: flex; align-items: center; gap: 7px; }

.cart-price {
  font-size: 16px;
  line-height: 20px;
  font-weight: 500;
  color: var(--ink-nav);
  white-space: nowrap;
}

.cart { position: relative; flex: none; width: 46px; height: 36px; }
.cart img { width: 36px; height: 36px; }

.cart__count {
  position: absolute;
  left: 26px;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 36px;
  background: var(--badge-red);
  font-size: 11px;
  line-height: 20px;
  font-weight: 600;
  color: var(--white);
}

/* mobile menu — CSS-only drawer, no JS */
.nav__toggle { display: none; }

/* drawer chrome: only ever visible inside the mobile panel */
.nav__scrim,
.nav__drawer-head { display: none; }

.nav__burger {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border: 1px solid var(--primary);
  border-radius: 8px;
  background: var(--primary);
}

.nav__burger img { width: 24px; height: 24px; }

/* mini cart — dropdown under the header cart icon */
.minicart { position: relative; }

.minicart__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 14px);
  z-index: 70;
  width: min(380px, calc(100vw - 32px));
  max-height: min(560px, calc(100vh - 140px));
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.minicart__panel[hidden] { display: none; }

.minicart__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: var(--surface-dark);
}

.minicart__title {
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
}

.minicart__close {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.minicart__items {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 20px;
  overflow-y: auto;
}

.minicart__item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
}

.minicart__item:last-child { border-bottom: 0; }

.minicart__item-name {
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
  color: var(--ink);
}

.minicart__item .totals-item__addons {
  margin-top: 4px;
  list-style: none;
  padding-left: 0;
  font-size: 13px;
  line-height: 20px;
  color: var(--body-muted);
}

.minicart__item-price {
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--ink);
}

.minicart__empty {
  padding: 24px 20px;
  font-size: 15px;
  color: var(--body-muted);
  text-align: center;
}

.minicart__foot {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 20px 20px;
  border-top: 1px solid var(--gray-100);
  background: var(--surface-soft);
}

.minicart__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.minicart__more {
  align-self: flex-start;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

.minicart__checkout { justify-content: center; }

/* compact stepper for the mini cart rows */
.stepper--sm { gap: 8px; }

.stepper--sm .stepper__btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid var(--gray-100);
  font-size: 16px;
  line-height: 1;
}

.stepper--sm .stepper__val { font-size: 15px; min-width: 12px; text-align: center; }

/* brief confirmation flash when a card's + adds to the cart */
.food__add--added { transform: scale(0.88); transition: transform 0.15s ease; }

/* ---------------------------------------------------------------------------
   Product options popup — opens from a food card's + button
   --------------------------------------------------------------------------- */
.pmodal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.pmodal[hidden] { display: none; }

.pmodal__scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.45); }

.pmodal__dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(830px, 100%);
  max-height: calc(100vh - 48px);
  padding: 40px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.24);
  overflow-y: auto;
}

.pmodal__close {
  position: absolute;
  right: 28px;
  top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--gray-900);
}

.pmodal__head { display: flex; align-items: flex-start; gap: 40px; }

.pmodal__img {
  flex: none;
  width: 155px;
  height: 155px;
  border-radius: 8px;
  object-fit: cover;
}

.pmodal__headline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding-right: 40px;
}

.pmodal__name {
  font-size: 28px;
  line-height: 40px;
  font-weight: 600;
  color: var(--gray-900);
}

.pmodal__stepper { gap: 12px; }

.pmodal__stepper .stepper__btn {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--surface-alt);
  font-size: 22px;
}

.pmodal__stepper .stepper__btn--plus { background: var(--primary-soft); color: var(--primary); }
.pmodal__stepper .stepper__val { min-width: 20px; text-align: center; }

.pmodal__body {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 40px;
}

.pmodal__group { border: 0; margin: 0; padding: 0; }

.pmodal__group-title {
  padding: 0 0 20px;
  font-size: 22px;
  line-height: 28px;
  font-weight: 600;
  color: var(--gray-900);
}

/* the options sit inline and wrap, like the Figma frame */
.pmodal__opts { display: flex; flex-wrap: wrap; gap: 16px 40px; }

.pmodal__opt {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

/* White tick, drawn rather than left to accent-color — see the note in
   theme.css on .opts input. */
.pmodal__opt input {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 0;
  border: 1px solid var(--gray-200);
  border-radius: 5px;
  background: #fff;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.pmodal__opt input[type="radio"] { border-radius: 50%; }

.pmodal__opt input:checked {
  border-color: var(--primary);
  background: var(--primary)
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"><path d="M5 12.5 10 17.5 19 7" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg>')
    center / 68% no-repeat;
}

.pmodal__opt-label { font-size: 18px; line-height: 24px; color: var(--gray-900); }

.pmodal__note {
  margin-top: 32px;
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
  color: var(--gray-900);
}

.pmodal__error {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--badge-red);
}

.pmodal__error[hidden] { display: none; }

.pmodal__total {
  margin-top: 32px;
  font-size: 22px;
  line-height: 28px;
  font-weight: 600;
  color: var(--gray-900);
}

.pmodal__foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  margin-top: 32px;
}

.pmodal__cancel {
  font-size: 15px;
  font-weight: 600;
  color: #9b2242;
}

.pmodal__submit { padding: 11px 22px; font-size: 15px; }

.pmodal__group--missing .pmodal__group-title { color: var(--badge-red); }

@media (max-width: 900px) {
  .pmodal { padding: 12px; }

  .pmodal__dialog {
    width: min(340px, 100%);
    padding: 24px 20px;
    border-radius: 12px;
  }

  .pmodal__close { right: 16px; top: 14px; width: 26px; height: 26px; }

  .pmodal__head { gap: 16px; }
  .pmodal__img { width: 72px; height: 72px; }
  .pmodal__headline { gap: 12px; padding-right: 20px; }
  .pmodal__name { font-size: 20px; line-height: 28px; }

  .pmodal__stepper .stepper__btn { width: 34px; height: 34px; font-size: 18px; }

  .pmodal__body { margin-top: 28px; gap: 24px; }
  .pmodal__group-title { padding-bottom: 14px; font-size: 20px; }

  /* narrow frame stacks the choices one per line */
  .pmodal__opts { flex-direction: column; gap: 14px; }
  .pmodal__opt-label { font-size: 16px; }

  .pmodal__note { margin-top: 24px; font-size: 15px; line-height: 24px; }
  .pmodal__total { margin-top: 24px; font-size: 20px; }
  .pmodal__foot { margin-top: 24px; gap: 20px; justify-content: flex-start; }
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  height: 654px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 112.44%;
  top: -6.22%;
  object-fit: cover;
}

.hero__scrim { position: absolute; inset: 0; background: var(--hero-scrim); }

.hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: min(996px, 100% - 48px);
  text-align: center;
}

.hero__title {
  font-size: 72px;
  line-height: 82px;
  font-weight: 600;
  letter-spacing: -3px;
  text-transform: capitalize;
  color: var(--white);
}

.hero__text {
  width: min(738px, 100%);
  font-size: 20px;
  line-height: 36px;
  color: rgba(255, 255, 255, 0.8);
}

/* --------------------------------------------------------------------------
   6b. Inner-page banner + breadcrumb
   -------------------------------------------------------------------------- */
.page-banner {
  position: relative;
  height: 308px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-banner__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-banner__scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.7); }

.page-banner__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.page-banner__title {
  font-size: 56px;
  line-height: 62px;
  font-weight: 600;
  letter-spacing: -3px;
  text-transform: capitalize;
  color: var(--white);
}

.breadcrumb { display: flex; align-items: center; gap: 3px; }

.breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  line-height: 26px;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}

.breadcrumb__item--current { color: var(--white); }
.breadcrumb__item img { width: 20px; height: 20px; }
.breadcrumb__sep { width: 12px; height: 12px; margin-left: 3px; }

/* --------------------------------------------------------------------------
   7. Section furniture
   -------------------------------------------------------------------------- */
.section { padding: 60px 0; }

.section__title {
  font-size: 42px;
  line-height: 52px;
  font-weight: 600;
  letter-spacing: -2px;
  text-transform: capitalize;
  color: var(--gray-900);
  text-align: center;
}

/* --------------------------------------------------------------------------
   8. Category rail
   -------------------------------------------------------------------------- */
.cats {
  display: flex;
  gap: 10px;
  margin-top: 30px;
  /* the pill art and card shadows overflow their boxes — the scroller needs
     room on both edges or it clips them */
  padding: 16px 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

.cats::-webkit-scrollbar { display: none; }

.cat {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
  width: 223px;
  height: 107px;
  padding-left: 14px;
  border-radius: 28px;
  background: var(--surface-soft);
  text-align: left;
}

.cat--active { background: var(--primary); }

.cat__icon { position: relative; flex: none; width: 68px; height: 68px; }

/* the exported pill carries its drop shadow, so it overflows the 68px box */
.cat__pill {
  position: absolute;
  left: -32px;
  top: -14px;
  width: 132px;
  max-width: none;
  height: 132px;
}

.cat__glyph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.38px;
}

.cat__glyph img { width: 34px; height: 34px; }

/* the exported glyph is white — invisible on the light idle pill, so flip it */
/* Only the shipped white line-art glyph is inverted. Category icons come from
   the database in full colour and must be left alone. */
.cat:not(.cat--active) .cat__glyph img.cat__glyph--mono { filter: invert(1); }

.cat__label {
  font-size: 18px;
  line-height: 28px;
  font-weight: 500;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   9. Food grid
   -------------------------------------------------------------------------- */
.foods { background: var(--surface-soft); padding: 100px 0; }

.foods__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 18.81px;
  row-gap: 24px;
  margin-top: 40px;
}

.food {
  display: flex;
  flex-direction: column;
  min-height: 460.188px;
  border-radius: 20.063px;
  background: var(--white);
  box-shadow: 0 5.016px 33.103px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.food--featured { background: var(--primary-card); }

.food__img {
  width: 100%;
  aspect-ratio: 285.893 / 263.323;
  object-fit: cover;
}

.food__body {
  display: flex;
  flex-direction: column;
  gap: 13.793px;
  padding: 33.86px 25.08px 31.35px;
}

.food__name {
  font-size: 20px;
  line-height: 28px;
  color: var(--ink);
}

.food__foot {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.food__price {
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  color: var(--ink);
}

.food__add {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--primary);
}

.food--featured .food__add { background: var(--white); }
.food__add img { width: 22.571px; height: 22.571px; }

/* carousel */
.foods__carousel { position: relative; }

.foods__viewport { overflow: hidden; margin-top: 40px; }

.foods__track {
  display: flex;
  transition: transform 0.45s ease;
}

.foods__slide { flex: 0 0 100%; min-width: 100%; }
.foods__slide .foods__grid { margin-top: 0; }

@media (prefers-reduced-motion: reduce) {
  .foods__track { transition: none; }
}

/* the arrows straddle the grid, centred on the two rows of cards */
.carousel-nav {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1380px, 100vw - 48px);
  pointer-events: none;
}

.carousel-nav .carousel-btn { pointer-events: auto; }

/* the disc and the chevron are separate exports, so they get composited */
.carousel-btn {
  position: relative;
  flex: none;
  width: 62px;
  height: 62px;
}

.carousel-btn__disc {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.carousel-btn__arrow {
  position: absolute;
  left: 23.25px;
  top: 15.5px;
  width: 15.5px;
  height: 31px;
}

.carousel-btn--prev .carousel-btn__arrow { transform: scaleX(-1); }

.foods__cta { display: flex; justify-content: center; margin-top: 32px; }

/* a category block on the menu page: heading + its own grid */
.menu-group { margin-top: 60px; }
.menu-group:first-of-type { margin-top: 40px; }
.menu-group__title { margin-bottom: 35px; }
.menu-group .foods__grid { margin-top: 0; }

/* --------------------------------------------------------------------------
   10. Split sections (About / Why choose us)
   -------------------------------------------------------------------------- */
.split {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 57px;
}

.split--reverse { flex-direction: row; }

.split__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 618px;
  flex: none;
}

.split__title {
  font-size: 42px;
  line-height: 52px;
  font-weight: 600;
  letter-spacing: -2px;
  text-transform: capitalize;
  color: var(--gray-900);
}

.split__lead,
.split__body {
  font-size: 16px;
  line-height: 26px;
  color: var(--body-muted);
}

.split__rule {
  width: 570px;
  max-width: 100%;
  height: 1px;
  border: 0;
  margin: 23px 0 0;
  background: var(--gray-100);
}

.split__media {
  flex: none;
  width: 525px;
  height: 483px;
  border-radius: 22px;
  object-fit: cover;
}

/* dark variant */
.why { background: var(--surface-dark); padding: 100px 0; }
.why .split__title { color: var(--white); }
.why .split__lead,
.why .split__body { color: var(--gray-200); }
.why .split__rule { background: rgba(255, 255, 255, 0.2); }

/* --------------------------------------------------------------------------
   10b. About page — alternating splits + numbered steps
   -------------------------------------------------------------------------- */
.about-split {
  display: flex;
  align-items: flex-start;
  gap: 74px;
}

.about-split__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1 1 auto;
  min-width: 0;
}

.about-split__title {
  font-size: 56px;
  line-height: 64px;
  font-weight: 600;
  letter-spacing: -2px;
  text-transform: capitalize;
  color: var(--gray-900);
}

.about-split__sub {
  font-size: 30px;
  line-height: 40px;
  font-weight: 500;
  color: var(--gray-900);
}

.about-split__body {
  display: flex;
  flex-direction: column;
  gap: 26px;
  font-size: 16px;
  line-height: 26px;
  color: var(--gray-700);
}

.about-split__media {
  flex: none;
  width: 483px;
  height: 422px;
  border-radius: 16px;
  object-fit: cover;
}

.about-band { background: var(--surface-soft); padding: 100px 0; }
.about-band .about-split__media { width: 519px; height: 486px; }

/* numbered "why choose us" row */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 278px);
  justify-content: space-between;
  margin-top: 50px;
}

/* the dashed connector runs behind the numbered discs */
.steps::before {
  content: "";
  position: absolute;
  left: 33px;
  right: 33px;
  top: 40px;
  height: 1px;
  background-image: repeating-linear-gradient(
    to right, var(--primary) 0 2px, transparent 2px 4px
  );
}

.step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 40px;
  background: var(--primary);
  font-size: 30px;
  line-height: 40px;
  font-weight: 500;
  color: var(--white);
}

.step__copy { display: flex; flex-direction: column; gap: 18px; }

.step__title {
  font-size: 24px;
  line-height: 36px;
  font-weight: 500;
  color: var(--gray-900);
}

.step__text {
  font-size: 16px;
  line-height: 26px;
  color: var(--gray-700);
}

/* --------------------------------------------------------------------------
   10c. Contact page
   -------------------------------------------------------------------------- */
.contact {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 63px;
}

.contact__info { display: flex; flex-direction: column; gap: 44px; width: 552px; flex: none; }
.contact__intro { display: flex; flex-direction: column; gap: 16px; }

.contact__title {
  font-size: 32px;
  line-height: 42px;
  font-weight: 600;
  text-transform: capitalize;
  color: var(--gray-900);
}

.contact__lead { font-size: 16px; line-height: 26px; color: var(--gray-700); }

.contact__block { display: flex; flex-direction: column; gap: 16px; }

.contact__subtitle {
  font-size: 20px;
  line-height: 26px;
  font-weight: 600;
  color: var(--gray-900);
}

.contact__rows { display: flex; flex-direction: column; gap: 16px; }

.contact__row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  line-height: 26px;
  color: var(--gray-700);
}

.contact__row img { flex: none; width: 18px; height: 18px; }
.contact__row .icon-lg { width: 24px; height: 24px; }

.contact__social { display: flex; gap: 16px; }

.contact__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 500px;
  background: rgba(227, 212, 156, 0.5);
}

.contact__social img { width: 20px; height: 20px; }

/* form card */
.contact-form {
  flex: none;
  width: 585px;
  padding: 60px 33px;
  border-radius: 12px;
  background: rgba(227, 212, 156, 0.5);
}

.contact-form__fields { display: flex; flex-direction: column; gap: 18px; }
.contact-form__field { display: flex; flex-direction: column; gap: 8px; }

.contact-form__label {
  font-size: 16px;
  line-height: 26px;
  color: var(--black-text, #0e1109);
}

.contact-form__input,
.contact-form__textarea {
  padding: 8px 16px;
  border: 0;
  border-radius: 8px;
  background: var(--white);
  font-size: 16px;
  line-height: 26px;
  outline: none;
}

.contact-form__input { height: 48px; }
.contact-form__textarea { height: 120px; resize: vertical; }

.contact-form__input::placeholder,
.contact-form__textarea::placeholder { color: #677489; }

.contact-form .btn { width: 100%; margin-top: 18px; }

/* full-bleed map strip */
.map-strip { display: block; width: 100%; height: 444px; object-fit: cover; }

/* --------------------------------------------------------------------------
   10d. Gallery
   -------------------------------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 11px;
  object-fit: cover;
}

.gallery-slider {
  display: block;
  width: 100%;
  height: 41.026px;
  margin-top: 58px;
}

/* --------------------------------------------------------------------------
   10e. Checkout
   -------------------------------------------------------------------------- */
.checkout {
  display: flex;
  align-items: flex-start;
  gap: 47px;
}

.checkout__left { display: flex; flex-direction: column; gap: 47px; width: 623px; flex: none; }
.checkout__right { display: flex; flex-direction: column; gap: 24px; width: 531px; flex: none; }

.checkout__title {
  font-size: 32px;
  line-height: 42px;
  font-weight: 600;
  color: var(--gray-900);
}

/* order meta strip */
.order-meta {
  display: flex;
  align-items: center;
  gap: 46px;
  margin-top: 23px;
}

.order-meta__group { display: flex; align-items: center; gap: 56px; }

.order-meta__item {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 16px;
  line-height: 1;
  letter-spacing: -0.24px;
  text-transform: capitalize;
  color: var(--ink-nav);
  white-space: nowrap;
}

.order-meta__item img { flex: none; width: 24px; height: 24px; }
.order-meta__item .icon-sm { width: 16px; height: 16px; }
.order-meta__edit img { width: 24px; height: 24px; }

/* customer form */
.order-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 49px;
  padding: 24px;
  border: 1px solid var(--gray-200);
  border-radius: 24px;
}

.order-form__row { display: flex; align-items: flex-start; gap: 24px; }

.order-field { display: flex; flex-direction: column; gap: 12px; flex: 1 0 0; min-width: 0; }

.order-field__label {
  font-size: 16px;
  line-height: 1;
  letter-spacing: -0.24px;
  text-transform: capitalize;
  color: var(--ink-nav);
}

.order-input,
.order-textarea,
.order-select {
  /* without this they fall back to the intrinsic size of a text control, which
     is narrower than the field once the row stacks */
  width: 100%;
  border: 0.5px solid rgba(42, 42, 42, 0.2);
  border-radius: 12px;
  background: var(--white);
  outline: none;
}

.order-input { padding: 18px; font-size: 14px; letter-spacing: -0.21px; }
.order-input::placeholder { color: rgba(42, 42, 42, 0.5); }

.order-textarea {
  height: 174px;
  padding: 14px 16px;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.24px;
  resize: none;
}

.order-textarea::placeholder { color: rgba(10, 10, 10, 0.5); }

/* pickup time — native select styled to match the Figma input */
.select-wrap { position: relative; }

.order-select {
  appearance: none;
  -webkit-appearance: none;
  padding: 18px 52px 18px 18px;
  font-size: 16px;
  letter-spacing: -0.24px;
  color: var(--ink-nav);
  cursor: pointer;
}

/* the exported chevron points right and has preserveAspectRatio="none", so the
   box has to keep its 7.36 : 12.73 ratio or it shears — rotate it to point down */
.select-wrap__arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  width: 8px;
  height: 13.8px;
  transform: translateY(-50%) rotate(90deg);
  pointer-events: none;
}

.checkout__block { display: flex; flex-direction: column; gap: 20px; }
.checkout__block .checkout__title { margin-bottom: 3px; }

.pay-options { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; }
.pay-option { display: flex; align-items: center; gap: 14px; cursor: pointer; }

.pay-option input {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 40px;
  height: 40px;
  margin: 0;
  border: 1px solid var(--gray-100);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
}

/* the checked dot is drawn with an inset ring so no second element is needed */
.pay-option input:checked {
  border-color: var(--gray-900);
  box-shadow: inset 0 0 0 12px var(--white), inset 0 0 0 20px var(--gray-900);
}

.pay-option input:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.pay-option span {
  font-size: 16.386px;
  line-height: 24.58px;
  color: var(--gray-900);
}

/* order totals panel */
.totals-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 37px;
  padding: 24px 20px;
  border-radius: 12px;
  background: var(--surface-alt);
}

.totals-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.totals-item { display: flex; align-items: flex-start; gap: 18px; }

.totals-item__img {
  flex: none;
  width: 126px;
  height: 123px;
  border-radius: 16px;
  object-fit: cover;
}

.totals-item__body { display: flex; flex-direction: column; gap: 27px; }
.totals-item__head { display: flex; flex-direction: column; gap: 15px; }

.totals-item__name {
  font-size: 20px;
  line-height: 30px;
  color: var(--gray-900);
}

.totals-item__addons {
  list-style: disc;
  padding-left: 24.579px;
  font-size: 16.386px;
  line-height: 24.58px;
  color: var(--gray-900);
}

.stepper { display: flex; align-items: center; gap: 14px; }

.stepper__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--white);
  font-size: 18px;
  line-height: 1;
  font-weight: 600;
  color: var(--gray-900);
}

.stepper__btn--plus { background: var(--primary-soft); color: var(--primary); }

.stepper__val {
  min-width: 16px;
  text-align: center;
  font-size: 17px;
  line-height: 24px;
  font-weight: 600;
  color: var(--gray-900);
}

.totals-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 54.894px;
  height: 54.894px;
  border-radius: 10.651px;
  background: var(--white);
}

.totals-remove img { width: 24px; height: 24px; }

.totals-list { display: flex; flex-direction: column; gap: 12px; }

.totals-empty {
  padding: 24px 15px;
  font-size: 16px;
  color: var(--body-muted);
}

.totals-empty a { color: var(--primary); font-weight: 600; }

.totals-sum {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  border-radius: 12px;
  background: var(--white);
}

.totals-sum__k { font-size: 16px; line-height: 26px; color: var(--black-text, #0e1109); }

.totals-sum__v {
  font-size: 20px;
  line-height: 26px;
  font-weight: 500;
  color: var(--gray-900);
}

/* One row: the "add more" link on the left, Order Now on the right, sharing a
   baseline. Wraps back to a stack only if the row cannot fit. */
.checkout__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 21px;
}

.checkout__actions .btn { height: 58px; }

/* --------------------------------------------------------------------------
   10f. Order confirmation overlay
   -------------------------------------------------------------------------- */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 24px;
  background: rgba(10, 10, 10, 0.9);
  overflow-y: auto;
}

.confirm {
  flex: none;
  width: 812px;
  max-width: 100%;
  padding: 87px 0;
  border-radius: 32px;
  background: var(--white);
}

.confirm__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 68px;
  width: min(562px, 100% - 48px);
  margin: 0 auto;
}

.confirm__block { display: flex; flex-direction: column; width: 100%; }
.confirm__head { display: flex; flex-direction: column; align-items: center; gap: 16px; }

/* the tick ships as two exported vectors: green disc + white check */
.confirm__icon { position: relative; width: 80px; height: 80px; }
.confirm__icon .disc { position: absolute; inset: 6.25%; width: 87.5%; height: 87.5%; }

.confirm__icon .tick {
  position: absolute;
  left: 28.13%;
  top: 34.38%;
  width: 43.76%;
  height: 33.09%;
}

.confirm__title {
  margin-top: 29px;
  font-size: 36px;
  line-height: 48px;
  font-weight: 600;
  color: #000;
  text-align: center;
}

.confirm__sub {
  font-size: 18px;
  line-height: 28px;
  color: var(--ink-muted, rgba(42, 42, 42, 0.5));
  text-align: center;
}

.confirm__rule {
  height: 1px;
  border: 0;
  margin: 45px 0 0;
  background: var(--gray-200);
}

.confirm__details {
  display: flex;
  flex-direction: column;
  gap: 38px;
  width: 424px;
  max-width: 100%;
  margin-top: 45px;
}

.confirm__row { display: flex; align-items: center; gap: 17px; }

.confirm__k {
  font-size: 20px;
  line-height: 30px;
  font-weight: 600;
  color: var(--ink-nav);
  white-space: nowrap;
}

.confirm__v {
  font-size: 20px;
  line-height: 30px;
  color: rgba(42, 42, 42, 0.5);
}

.confirm__v--money { font-size: 24px; line-height: 36px; color: #34c759; }

.confirm__details + .confirm__rule { margin-top: 32px; }

.confirm__items {
  display: flex;
  flex-direction: column;
  gap: 21px;
  width: 400.898px;
  max-width: 100%;
  margin-top: 32px;
}

.confirm__item { display: flex; align-items: flex-start; gap: 15px; }

.confirm__item img {
  flex: none;
  width: 103.234px;
  height: 100.776px;
  border-radius: 13.109px;
  object-fit: cover;
}

.confirm__item-body { display: flex; flex-direction: column; gap: 18.844px; }

.confirm__item-name {
  font-size: 16.386px;
  line-height: 24.58px;
  color: var(--gray-900);
}

.confirm__item-addons {
  list-style: disc;
  padding-left: 24.579px;
  font-size: 16.386px;
  line-height: 24.58px;
  color: var(--gray-900);
}

.confirm__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 198px;
  height: 66px;
  padding: 10px;
  border-radius: 11px;
  background: var(--primary);
  font-size: 24px;
  line-height: 36px;
  font-weight: 500;
  color: var(--gray-900);
}

/* --------------------------------------------------------------------------
   11. Testimonials
   -------------------------------------------------------------------------- */
.testimonials {
  background: var(--surface-alt);
  padding: 120px 10px;
}

.testimonials__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.testimonials__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: min(650px, 100%);
  text-align: center;
}

.badge-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 4px 16px;
  border: 1px solid var(--gray-900);
  border-radius: 16px;
  font-size: 14px;
  line-height: 24px;
  font-weight: 500;
  color: var(--gray-900);
}

.testimonials__sub {
  width: min(610px, 100%);
  font-size: 16px;
  line-height: 26px;
  color: var(--gray-700);
}

/* review slider — three cards per view, one on mobile */
/* Arrows flank the viewport in their own grid columns so they never sit on top
   of a review; the dots take the row underneath. */
.tslider {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "prev view next"
    "dots dots dots";
  align-items: center;
  column-gap: 20px;
  row-gap: 24px;
}

.tslider__viewport { grid-area: view; position: relative; overflow: hidden; }

.tslider__track {
  display: flex;
  gap: 12px;
  transition: transform 0.45s ease;
}

.tslider__slide { flex: 0 0 calc((100% - 24px) / 3); }

@media (prefers-reduced-motion: reduce) {
  .tslider__track { transition: none; }
}

/* The reviews page keeps its grid on desktop, so the viewport must not clip the
   card shadows there — it only becomes a real window on mobile. */
.tslider--page .tslider__viewport { overflow: visible; }

/* The wrapper only exists so the script can hide both buttons at once — it must
   not become a box of its own, or the grid areas below would not apply. */
.tslider__nav { display: contents; }

/* a display value of its own beats the browser default for [hidden] */
.tslider__nav[hidden] { display: none; }

.tslider__nav .carousel-btn--prev { grid-area: prev; }
.tslider__nav .carousel-btn--next { grid-area: next; }

.tslider__nav .carousel-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.tslider__nav .carousel-btn__arrow {
  left: 17.25px;
  top: 11.5px;
  width: 11.5px;
  height: 23px;
}

/* page indicator — hidden by the carousel script when everything fits at once */
.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

/* the slider's row-gap already spaces it from the track */
.tslider__dots { grid-area: dots; margin-top: 0; }

.carousel-dots[hidden] { display: none; }

.carousel-dot {
  flex: none;
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(7, 7, 7, 0.22);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.carousel-dot.is-active {
  width: 22px;
  border-radius: 4px;
  background: var(--gray-900);
}

.tcard {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  min-height: 242px;
  padding: 24px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 4px 36.7px 2px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

.tcard__head { display: flex; flex-direction: column; gap: 16px; }
.tcard__who { display: flex; align-items: center; gap: 8px; }
.tcard__avatar { flex: none; width: 46px; height: 46px; }

.tcard__meta { display: flex; flex-direction: column; gap: 5px; }

.tcard__name {
  display: flex;
  align-items: center;
  gap: 3px;
  font-family: var(--font-alt);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.16px;
  color: var(--gray-900);
  white-space: nowrap;
}

.tcard__name img { width: 16px; height: 16px; }

.tcard__when {
  font-family: var(--font-alt);
  font-size: 12px;
  line-height: 1;
  color: var(--gray-700);
}

.stars { display: flex; align-items: center; gap: 3px; }
.stars img { width: 16px; height: 16px; }

.tcard__body {
  font-size: 14px;
  line-height: 24px;
  color: var(--gray-700);
}

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--footer-bg);
  padding: 75px 0 16px;
  color: var(--white);
}

.footer__cols {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.footer__brand { display: flex; flex-direction: column; gap: 19px; width: 295px; }

.footer__tagline {
  font-family: var(--font-alt);
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.36px;
  color: rgba(255, 255, 255, 0.7);
  white-space: pre-line;
}

.footer__col { display: flex; flex-direction: column; gap: 16px; }

.footer__title {
  font-family: var(--font-alt);
  font-size: 20px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.4px;
}

.footer__list { display: flex; flex-direction: column; gap: 12px; }

.footer__list a {
  font-size: 16px;
  line-height: 26px;
  opacity: 0.7;
}

.footer__contact { display: flex; flex-direction: column; gap: 16px; width: 312px; }

.footer__contact-row { display: flex; align-items: center; gap: 12px; }
.footer__contact-row .ficon { position: relative; flex: none; width: 18px; height: 18px; }
.footer__contact-row .ficon img { position: absolute; inset: 0; width: 100%; height: 100%; }

.footer__contact-row p {
  font-size: 16px;
  line-height: 26px;
  opacity: 0.7;
}

.footer__bottom { display: flex; flex-direction: column; gap: 24px; margin-top: 54px; }

.footer__divider { width: 100%; height: 3px; }

.footer__legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer__copy,
.footer__connect > span {
  font-family: var(--font-alt);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.32px;
  opacity: 0.7;
}

.footer__connect { display: flex; align-items: center; gap: 16px; }
.footer__social { display: flex; align-items: center; }

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  opacity: 0.7;
}

.footer__social img { width: 16px; height: 16px; }

/* Floating WhatsApp button — bottom left, as on the 2024 site. Sits under the
   add-to-cart toast (z-index 90) so the two never fight, and clear of it on the
   opposite corner anyway. */
.whatsapp-float {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float { transition: none; }
  .whatsapp-float:hover { transform: none; }
}

@media (max-width: 900px) {
  .whatsapp-float { left: 16px; bottom: 16px; width: 48px; height: 48px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}

/* developer credit — carried over from the 2024 footer; it fills the gap in the
   middle of the legal row rather than taking a line of its own */
.footer__credit {
  text-align: center;
  font-size: 14px;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.6);
}

.footer__credit a { color: var(--primary); }

/* --------------------------------------------------------------------------
   13. Mobile — Figma 375 frames
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {

  /* nav ------------------------------------------------------------------ */
  .topbar { display: none; }

  .nav__inner { padding: 20px 0; }
  .nav__actions { display: none; }
  .nav__burger { display: inline-flex; }

  /* off-canvas panel that slides in from the right */
  .nav__links {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 60;
    width: min(320px, 86vw);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 24px;
    overflow-y: auto;
    background: var(--white);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.16);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0.3s;
  }

  .nav__scrim {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: block;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
  }

  .nav { position: relative; }

  .nav__toggle:checked ~ .nav__links {
    transform: translateX(0);
    visibility: visible;
  }

  .nav__toggle:checked ~ .nav__scrim {
    opacity: 1;
    visibility: visible;
  }

  .nav__drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px var(--gutter) 18px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  .nav__drawer-logo { width: 62px; height: 47px; }

  .nav__close {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 32px;
    height: 32px;
    color: var(--ink);
    cursor: pointer;
  }

  .nav__link { justify-content: flex-start; padding: 14px var(--gutter); border-radius: 0; }
  .nav__link--active { height: auto; border-radius: 0; }

  /* stop the page behind the drawer from scrolling while it is open */
  html:has(.nav__toggle:checked),
  body:has(.nav__toggle:checked) { overflow: hidden; }

  /* hero ----------------------------------------------------------------- */
  .hero { height: 580px; }
  .hero__title { font-size: 36px; line-height: 48px; letter-spacing: 0; }

  .page-banner { height: 220px; }
  .page-banner__title { font-size: 36px; line-height: 48px; letter-spacing: 0; }
  .breadcrumb__item { font-size: 14px; }

  .menu-group { margin-top: 40px; }
  .menu-group__title { margin-bottom: 24px; }

  /* sections ------------------------------------------------------------- */
  .section { padding: 40px 0; }
  .section__title,
  .split__title {
    font-size: 36px;
    line-height: 48px;
    letter-spacing: 0;
  }

  .cats { margin-top: 32px; }

  /* food grid ------------------------------------------------------------ */
  .foods { padding: 60px 0; }

  .foods__grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 10px;
    row-gap: 21px;
  }

  .food {
    min-height: 254.796px;
    border-radius: 11.108px;
    box-shadow: 0 2.777px 18.329px rgba(0, 0, 0, 0.05);
  }

  .food__img { aspect-ratio: 158.293 / 145.796; }
  .food__body { gap: 7.637px; padding: 18.74px 13.89px 17.36px; }
  .food__name { font-size: 13.288px; line-height: 19.932px; }
  .food__price { font-size: 19.932px; line-height: 26.577px; }

  .food__add {
    width: 26.382px;
    height: 26.382px;
    border-radius: 5.554px;
  }

  .food__add img { width: 12.497px; height: 12.497px; }

  /* stays centred on the rows like desktop, just tucked inside the viewport */
  .carousel-nav { width: calc(100vw - 12px); }
  .carousel-btn { width: 31px; height: 31px; }

  .carousel-btn__arrow {
    left: 11.62px;
    top: 7.75px;
    width: 7.75px;
    height: 15.5px;
  }

  /* split sections ------------------------------------------------------- */
  .split { flex-direction: column; gap: 40px; }
  .split--reverse { flex-direction: column-reverse; }
  .split__text { width: 100%; }
  .split__rule { width: 100%; }

  .split__media {
    width: 100%;
    height: 301px;
    border-radius: 15px;
  }

  .why { padding: 60px 0; }
  .why .split__media { border-radius: 22px; }

  /* about ---------------------------------------------------------------- */
  .about-split { flex-direction: column; gap: 32px; }
  .about-split--reverse { flex-direction: column-reverse; }
  .about-split__title { font-size: 36px; line-height: 48px; letter-spacing: 0; }
  .about-split__sub { font-size: 22px; line-height: 32px; }

  .about-split__media,
  .about-band .about-split__media {
    width: 100%;
    height: auto;
    aspect-ratio: 483 / 422;
  }

  .about-band { padding: 60px 0; }

  .steps { grid-template-columns: 1fr; gap: 40px; margin-top: 32px; }
  .steps::before { display: none; }

  /* order confirmation ---------------------------------------------------- */
  .overlay { padding: 24px 16px; }
  .confirm { padding: 40px 0; border-radius: 20px; }
  .confirm__inner { gap: 40px; }
  .confirm__title { font-size: 28px; line-height: 38px; }
  .confirm__row { flex-wrap: wrap; gap: 4px 17px; }
  .confirm__rule { margin-top: 32px; }
  .confirm__details { gap: 24px; margin-top: 32px; }

  /* checkout ------------------------------------------------------------- */
  .checkout { flex-direction: column; gap: 40px; }
  .checkout__left,
  .checkout__right { width: 100%; }
  .checkout__title { font-size: 28px; line-height: 38px; }

  .order-meta { flex-wrap: wrap; gap: 16px; }
  .order-meta__group { flex-wrap: wrap; gap: 16px 24px; }
  .order-form { padding: 20px; margin-top: 32px; }
  /* flex-start is a row alignment; stacked, it stops the fields filling the card */
  .order-form__row { flex-direction: column; align-items: stretch; gap: 20px; }

  .totals-row { flex-direction: column; }
  .totals-item { gap: 12px; }
  .totals-item__img { width: 96px; height: 94px; }
  .totals-panel { padding: 20px 16px; gap: 24px; }

  /* gallery -------------------------------------------------------------- */
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gallery-slider { margin-top: 32px; }

  /* contact -------------------------------------------------------------- */
  .contact { flex-direction: column; gap: 40px; }
  .contact__info { width: 100%; }
  .contact__title { font-size: 36px; line-height: 48px; letter-spacing: 0; }
  .contact-form { width: 100%; padding: 32px 20px; }
  .map-strip { height: 280px; }

  /* testimonials --------------------------------------------------------- */
  .testimonials { padding: 60px 0; }
  .testimonials__inner { gap: 20px; }

  .tslider__slide { flex-basis: 100%; }
  .tslider__track { gap: 24px; }

  /* reviews page: the grid becomes the slider track */
  .tslider--page { width: 100%; }
  .tslider--page .tslider__viewport { overflow: hidden; }

  .reviews-grid.tslider__track {
    display: flex;
    gap: 24px;
    margin-top: 0;
  }
  /* The arrow columns come out of the card's width, so keep them tight and let
     the slider borrow half the container gutter back. */
  .tslider {
    column-gap: 8px;
    row-gap: 20px;
    align-self: stretch;
    width: auto;
    margin-inline: -12px;
  }
  .tslider__nav .carousel-btn { width: 34px; height: 34px; }

  .tslider__nav .carousel-btn__arrow {
    left: 12.75px;
    top: 8.5px;
    width: 8.5px;
    height: 17px;
  }

  /* the swipe has to win over the page's vertical scroll gesture */
  .tslider__viewport { touch-action: pan-y; }

  /* footer --------------------------------------------------------------- */
  .footer { padding: 60px 0 24px; }

  /* The two link menus sit side by side; brand and contact keep a full row. */
  .footer__cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 24px;
  }

  .footer__brand,
  .footer__contact { grid-column: 1 / -1; }
  .footer__brand { width: 100%; }
  .footer__contact { width: 100%; }
  .footer__bottom { margin-top: 40px; }
  .footer__legal { flex-direction: column; align-items: flex-start; gap: 19px; }
}

/* Tablet — keep the desktop shell but let the rigid columns reflow. */
@media (min-width: 901px) and (max-width: 1280px) {
  .foods__grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
  .steps::before { display: none; }
  .about-split__media { width: 40%; height: auto; aspect-ratio: 483 / 422; }
  .about-band .about-split__media { width: 40%; height: auto; aspect-ratio: 519 / 486; }
  .split { gap: 32px; }
  /* width:auto alone keeps flex:none, which resolves to max-content and blows
     the row out — the text column has to be allowed to shrink */
  .split__text { width: auto; flex: 1 1 auto; min-width: 0; }
  .split__media { width: 42%; height: auto; aspect-ratio: 525 / 483; }
  .hero__title { font-size: 56px; line-height: 66px; letter-spacing: -2px; }

  /* checkout columns are 623px + 531px + gap = 1201px, wider than this range */
  .checkout { flex-direction: column; gap: 40px; }
  .checkout__left,
  .checkout__right { width: 100%; flex: none; }
  .checkout__right { max-width: 640px; }
}
