/*
Theme Name: Burger Delivery У бабули
Description: Главная страница и страница корзины; тип записи «Блюдо меню», разделы таксономии.
Version: 1.0.0
Author: Studio
Text Domain: burger-delivery
*/

/* ALS Sirius → Manrope; заголовок hero — векторный SVG из макета */
@font-face {
  font-family: "Buyan";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("./assets/fonts/Buyan-Bold.woff2") format("woff2");
}

:root {
  --text-hero: #efe9e9;
  --gray-screen: #f6f5f8;
  --font-ui: "Manrope", sans-serif;
  --font-buyan: "Buyan", system-ui, sans-serif;
  --font-als-sirius: "ALS Sirius", "Manrope", sans-serif;
  --fz-body: 12px;
  --lh-body: 1.2380000750223796em;
  --fz-combo: 14px;
  --lh-combo: 1.2380000523158483em;
  --fz-cart: 16px;
  --lh-cart: 1.2380000352859497em;
  --fz-badge: 8px;
  --lh-badge: 1.2380000352859497em;
  --fz-address: 10px;
  --lh-address: 1.2380000114440919em;
  --fz-cat-pizza: 20px;
  --lh-cat-pizza: 1.2380000114440919em;
  --fz-cat: 20px;
  --lh-cat: 1.2380000114440919em;

  --gap: 20px;
  --sidebar-w: 183px;
  --sidebar-h: 748px;
  --main-w: 997px;
  --hero-h: 442px;
  --pizza-col: 184px;
  --cats-right-w: 793px;
  --wide: 386px;
  --narrow: 184px;
  --pasta-w: 183px;
  --skillet-w: 385px;
}

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

body {
  margin: 0;
  background: var(--gray-screen);
}

html {
  scroll-behavior: smooth;
}

/* Только для скринридеров / якоря: заголовок плашки каталога */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .cart-btn__badge.is-cart-pulse,
  .burgers-catalog__tool-badge.is-cart-pulse,
  .cart-fab__badge.is-cart-pulse,
  .burger-card__add.is-added {
    animation: none !important;
  }
}

.layout-root {
  width: calc(var(--sidebar-w) + var(--gap) + var(--main-w));
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  margin-top: 45px;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.sidebar {
  width: var(--sidebar-w);
  height: var(--sidebar-h);
  padding-bottom: 12px;
  border-radius: 19px;
  background: linear-gradient(
    0deg,
    rgba(229, 109, 47, 1) 0%,
    rgba(229, 109, 47, 1) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

/* Жёстко как макет: WP часто задаёт img { max-width:100%; height:auto } и растягивает блок */
.sidebar > .sidebar-logo {
  display: block;
  box-sizing: border-box;
  width: 183px;
  height: 183px;
  max-width: 183px;
  max-height: 183px;
  flex-shrink: 0;
  object-fit: contain;
}

.sidebar-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.address-chip {
  width: 159px;
  height: 44px;
  border-radius: 13px;
  background: #fff;
  display: flex;
  align-items: center;
  padding: 0 12px 0 22px;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.address-chip__text {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: var(--fz-address);
  line-height: var(--lh-address);
  color: #242424;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  width: 159px;
}

.social-btn {
  width: 50px;
  height: 44px;
  border-radius: 13px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
}

.social-btn img {
  display: block;
}

.social-btn--narrow {
  width: 49px;
}

.hero {
  margin: 0;
  padding: 0;
  width: 100%;
}

.hero__layout {
  display: grid;
  grid-template-columns: var(--sidebar-w) var(--main-w);
  gap: var(--gap);
  align-items: start;
  width: 100%;
}

.hero__main {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  min-width: 0;
  width: 100%;
}

.layout-main {
  width: 100%;
  margin-left: 0;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  min-width: 0;
  overflow: visible;
}

.hero-panel {
  width: var(--main-w);
  min-height: var(--hero-h);
  border-radius: 19px;
  background: linear-gradient(
    270deg,
    rgb(36, 36, 36) 0%,
    rgb(0, 0, 0) 100%
  );
  display: flex;
  flex-direction: column;
  padding: 40px 60px;
  position: relative;
  isolation: isolate;
}

.hero__plate {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero__charcoal-wrap {
  position: absolute;
  left: 417px;
  top: 0;
  width: 442px;
  height: 442px;
}

.hero__charcoal {
  position: absolute;
  left: -101px;
  top: 0px;
  width: 442px;
  height: 442px;
  display: block;
  object-fit: cover;
}

.hero__burger {
  position: absolute;
  left: 510px;
  top: -16px;
  width: 487px;
  height: 458px;
  overflow: hidden;
  border-radius: 19px;
}

.hero__burger-img {
  position: absolute;
  left: 0;
  top: 0;
  width: 730px;
  height: 489px;
  max-width: none;
  display: block;
  object-fit: cover;
}

.hero__toolbar {
  position: absolute;
  top: 40px;
  right: 40px;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  max-width: none;
  margin-top: 8px;
  padding-right: 8px;
  position: relative;
  z-index: 1;
}

.hero__lead {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 550px;
}

.hero-heading {
  margin: 0;
  width: 100%;
  max-width: none;
  line-height: 0;
}

.hero-heading__img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-body {
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: var(--fz-body);
  line-height: var(--lh-body);
  color: var(--text-hero);
  width: 100%;
  max-width: 390px;
}

.hero-body p {
  margin: 0 0 1em;
}

.hero-body p:last-child {
  margin-bottom: 0;
}

.combo-btn {
  width: 176px;
  height: 48px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(
    90deg,
    rgba(229, 109, 47, 1) 0%,
    rgba(229, 109, 47, 1) 100%
  );
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: var(--fz-combo);
  line-height: var(--lh-combo);
  color: var(--text-hero);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  padding: 0 12px;
  text-decoration: none;
  box-sizing: border-box;
}

.combo-btn__icon-img {
  display: block;
  flex-shrink: 0;
}

@keyframes cart-badge-pop {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.28);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes burger-add-flash {
  0% {
    box-shadow: inset 0 0 0 0 rgba(255, 255, 255, 0);
  }
  45% {
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.4);
  }
  100% {
    box-shadow: inset 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.cart-btn__badge.is-cart-pulse,
.burgers-catalog__tool-badge.is-cart-pulse,
.cart-fab__badge.is-cart-pulse {
  animation: cart-badge-pop 0.42s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.burger-card__add.is-added {
  animation: burger-add-flash 0.38s ease;
}

.cart-fab {
  display: none;
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(
    270deg,
    rgb(36, 36, 36) 0%,
    rgb(0, 0, 0) 100%
  );
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
}

.cart-fab__icon {
  display: block;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.cart-fab__badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  background: linear-gradient(
    90deg,
    rgba(229, 109, 47, 1) 0%,
    rgba(229, 109, 47, 1) 100%
  );
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
  color: var(--text-hero);
  box-sizing: border-box;
}

.cart-body .cart-fab {
  display: none !important;
}

@media (max-width: 767px) {
  .cart-fab {
    display: flex;
  }
}

.cart-fab:focus-visible {
  outline: 2px solid rgba(229, 109, 47, 0.9);
  outline-offset: 3px;
}

.cart-btn {
  width: 151px;
  height: 64px;
  padding: 0 14px 0 16px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(
    270deg,
    rgb(36, 36, 36) 0%,
    rgb(0, 0, 0) 100%
  );
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  text-decoration: none;
  box-sizing: border-box;
  color: inherit;
}

.cart-btn[aria-current="page"] {
  outline: 2px solid rgba(229, 109, 47, 0.85);
  outline-offset: 2px;
}

.cart-btn__icon-img {
  display: block;
  flex-shrink: 0;
}

.cart-btn__badge {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-left: -10px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: linear-gradient(
    90deg,
    rgba(229, 109, 47, 1) 0%,
    rgba(229, 109, 47, 1) 100%
  );
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: var(--fz-badge);
  line-height: var(--lh-badge);
  text-align: center;
  color: var(--text-hero);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-btn__label {
  margin-left: 10px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: var(--fz-cart);
  line-height: var(--lh-cart);
  color: var(--text-hero);
}

.categories {
  width: var(--main-w);
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.categories__split {
  display: grid;
  grid-template-columns: var(--pizza-col) var(--cats-right-w);
  gap: var(--gap);
  align-items: start;
}

.categories__mirror-wrap {
  width: var(--cats-right-w);
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.categories__mirror-row {
  display: grid;
  gap: var(--gap);
}

.categories__mirror-row--top {
  grid-template-columns: var(--wide) var(--narrow) var(--pasta-w);
}

.categories__mirror-row--bottom {
  grid-template-columns: var(--narrow) var(--narrow) var(--skillet-w);
}

.categories__bottom-row {
  display: grid;
  grid-template-columns: var(--wide) var(--narrow) var(--wide);
  gap: var(--gap);
}

.cat-card {
  border-radius: 19px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

a.cat-card {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

article.cat-card {
  display: block;
  margin: 0;
}

a.cat-card:focus {
  outline: none;
}

a.cat-card:focus-visible {
  outline: 2px solid #e56d2f;
  outline-offset: 3px;
  border-radius: 19px;
  z-index: 2;
}

/* Якоря: заголовок секции каталога остаётся под верхом окна */
.burgers-catalog .burgers-catalog__banner-title[id] {
  scroll-margin-top: calc(var(--gap) + 12px);
}

.cat-card__visual {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.cat-card__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-card__visual--pizza {
  left: -18px;
  top: 73px;
  width: 218px;
  height: 221px;
}

.cat-card__visual--burgers {
  left: 150px;
  top: -61px;
  width: 305px;
  height: 204px;
}

.cat-card__visual--twisters {
  left: 107px;
  top: -23px;
  width: 138px;
  height: 127px;
}

.cat-card__visual--pasta {
  left: 11px;
  top: -127.42px;
  width: 327.78px;
  height: 335.85px;
}

.cat-card__visual--salads {
  left: 59px;
  top: -85.74px;
  width: 239.59px;
  height: 252.48px;
}

.cat-card__visual--snacks {
  left: 50px;
  top: -98.38px;
  width: 271.08px;
  height: 277.75px;
}

.cat-card__visual--skillet {
  left: 223px;
  top: -51px;
  width: 210px;
  height: 225px;
}

.cat-card__visual--hotdog {
  left: 175px;
  top: -77px;
  width: 277px;
  height: 259px;
}

.cat-card__visual--drinks {
  left: -7px;
  top: -108px;
  width: 198px;
  height: 297px;
}

.cat-card__visual--bakery {
  left: 175px;
  top: -77px;
  width: 277px;
  height: 259px;
}

.cat-card__title {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 28px 0 0 32px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: var(--fz-cat);
  line-height: var(--lh-cat);
  color: var(--text-hero);
}

.cat-card__title--pizza {
  padding: 24px 12px 0;
  font-size: var(--fz-cat-pizza);
  line-height: var(--lh-cat-pizza);
  text-align: center;
}

.cat-card--pizza {
  width: var(--pizza-col);
  height: 184px;
  background: linear-gradient(
    180deg,
    rgba(229, 153, 47, 1) 0%,
    rgba(187, 22, 6, 1) 100%
  );
}

.cat-card--wide {
  width: var(--wide);
  height: 82px;
}

.cat-card--narrow {
  width: var(--narrow);
  height: 82px;
}

.cat-card--pasta {
  width: var(--pasta-w);
  height: 82px;
  background: linear-gradient(
    90deg,
    rgba(246, 132, 51, 1) 0%,
    rgba(208, 25, 1) 100%
  );
}

.cat-card--burgers {
  background: linear-gradient(
    270deg,
    rgba(152, 25, 10, 1) 0%,
    rgba(201, 7, 5, 1) 100%
  );
}

.cat-card--twisters {
  background: linear-gradient(
    90deg,
    rgba(110, 123, 17, 1) 0%,
    rgba(190, 194, 78, 1) 100%
  );
}

.cat-card--salads {
  background: linear-gradient(
    90deg,
    rgba(139, 169, 6, 1) 0%,
    rgba(180, 209, 41, 1) 100%
  );
}

.cat-card--snacks {
  background: linear-gradient(
    90deg,
    rgba(238, 160, 31, 1) 0%,
    rgba(190, 95, 18, 1) 100%
  );
}

.cat-card--skillet {
  width: var(--skillet-w);
  height: 82px;
  background: linear-gradient(
    270deg,
    rgba(74, 76, 71, 1) 0%,
    rgba(11, 9, 2, 1) 100%
  );
}

.cat-card--hotdog {
  background: linear-gradient(
    270deg,
    rgba(218, 132, 83, 1) 0%,
    rgba(166, 66, 4, 1) 100%
  );
}

.cat-card--drinks {
  background: linear-gradient(
    90deg,
    rgba(71, 134, 192, 1) 0%,
    rgba(36, 154, 239, 1) 100%
  );
}

.cat-card--bakery {
  background: linear-gradient(
    270deg,
    rgba(253, 185, 41, 1) 0%,
    rgba(218, 162, 76, 1) 100%
  );
}

/* Каталог «Бургеры» — фрейм Figma 154:2 */
.burgers-catalog {
  width: 100%;
  max-width: 100%;
}

.burgers-catalog__head {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: stretch;
  gap: var(--gap);
  width: 100%;
  isolation: isolate;
  filter: drop-shadow(0 8px 20px rgba(24, 24, 36, 0.08));
}

/* Верх админ-бара WP при предпросмотре под авторизованным пользователем */
body.admin-bar .burgers-catalog__head {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .burgers-catalog__head {
    top: 46px;
  }
}

.burgers-catalog__banner {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  height: 96px;
  border-radius: 19px;
  overflow: hidden;
  background: linear-gradient(270deg, #98190a 0%, #c90705 100%);
}

.burgers-catalog__banner-title {
  position: relative;
  z-index: 2;
  margin: 0;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 0 0 32px;
  box-sizing: border-box;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.238;
  color: var(--text-hero);
}

.burgers-catalog__banner-img {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: -50px;
  transform: translateY(-50%);
  height: auto;
  width: 250px;
  object-fit: contain;
  object-position: right center;
  pointer-events: none;
}

/*
 * SVG: ширина растёт с соотношением viewBox W/H (у узких артов меньше px).
 * PNG бургера — только базовый класс.
 */

.burgers-catalog__banner-img--twisters {
  width: 250px;
}

.burgers-catalog__banner-img--salads {
  width: 50%;
}

.burgers-catalog__banner-img--snacks {
  width: 50%;
}

.burgers-catalog__banner-img--hotdog {
  width: 250px;
}

.burgers-catalog__banner-img--skillet {
  width: 50%;
}

.burgers-catalog__banner-img--drinks {
  width: 50%;
}

.burgers-catalog__banner-img--pizza {
  width: 60%;
}

.burgers-catalog__banner-img--bakery {
  width: 60%;
}

.burgers-catalog__banner-img--pasta {
  width: 80%;
}

.burgers-catalog__promo {
  position: relative;
  flex: 0 0 220px;
  width: 220px;
  max-width: 100%;
  height: 96px;
  border-radius: 19px;
  overflow: hidden;
}

.burgers-catalog__promo-img {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  height: 100%;
  width: auto;
  object-fit: contain;
  object-position: right center;
  pointer-events: none;
}

.burgers-catalog__toolbar {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 248px;
  max-width: 100%;
  height: 96px;
  padding: 0 16px;
  box-sizing: border-box;
  border-radius: 19px;
  background: linear-gradient(
    0deg,
    rgba(229, 109, 47, 1) 0%,
    rgba(229, 109, 47, 1) 100%
  );
}

.burgers-catalog__tool {
  width: 64px;
  height: 64px;
  border: none;
  border-radius: 12px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
  position: relative;
  padding: 0;
  font: inherit;
  color: inherit;
}

.burgers-catalog__tool img {
  display: block;
}

.burgers-catalog__tool-badge {
  position: absolute;
  top: 13px;
  right: 12px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(
    90deg,
    rgba(229, 109, 47, 1) 0%,
    rgba(229, 109, 47, 1) 100%
  );
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: var(--fz-badge);
  line-height: var(--lh-badge);
  color: var(--text-hero);
  display: flex;
  align-items: center;
  justify-content: center;
}

.burgers-catalog__grid {
  list-style: none;
  margin: var(--gap) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
}

.burgers-catalog__grid > li {
  min-width: 0;
}

.burger-card {
  height: 100%;
  cursor: pointer;
  background: #fff;
  border-radius: 19px;
  box-shadow: 0 4px 28px rgba(24, 24, 36, 0.06);
  padding: 32px 16px 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.burger-card__media {
  position: relative;
  width: 221px;
  max-width: 100%;
  height: 221px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Опора под фото — как тарелка / пол под продуктом в референсных блоках Figma */
.burger-card__media::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6%;
  transform: translateX(-50%);
  width: 94%;
  height: 46%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse 58% 42% at 50% 58%,
    rgba(24, 24, 36, 0.13) 0%,
    rgba(24, 24, 36, 0.045) 48%,
    transparent 72%
  );
}

.burger-card__media img {
  display: block;
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.burger-card__ribbon {
  position: absolute;
  right: 0px;
  bottom: 8px;
  z-index: 2;
  padding: 16px;
  border-radius: 13px;
  background: linear-gradient(
    90deg,
    rgba(182, 54, 189, 1) 0%,
    rgba(36, 154, 239, 1) 100%
  );
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.238;
  color: #fff;
  white-space: nowrap;
}

.burger-card__title {
  margin: 0;
  text-align: center;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.238;
  color: #242424;
}

.burger-card__price {
  margin: 12px 0 26px;
  text-align: center;
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.238;
  color: #242424;
}

.burger-card__add {
  margin-top: auto;
  width: 100%;
  height: 44px;
  border: none;
  border-radius: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  box-sizing: border-box;
  background: linear-gradient(
    0deg,
    rgba(229, 109, 47, 1) 0%,
    rgba(229, 109, 47, 1) 100%
  );
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 10px;
  line-height: 1.238;
  color: #fff;
}

.burger-card__add-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
  position: relative;
}

.burger-card__add-icon::before,
.burger-card__add-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #242424;
  border-radius: 1px;
}

.burger-card__add-icon::before {
  width: 8px;
  height: 2px;
}

.burger-card__add-icon::after {
  width: 2px;
  height: 8px;
}

.burger-card:focus {
  outline: none;
}

.burger-card:focus-visible {
  outline: 2px solid #e56d2f;
  outline-offset: 3px;
}

.burger-card__add:focus-visible {
  outline: 2px solid #242424;
  outline-offset: 2px;
}

/* Каталоги меню — фоны плашек из макета (порядок: твистер → паста → … → выпечка) */
.burgers-catalog--theme-twisters .burgers-catalog__banner {
  background: linear-gradient(90deg, #6e7b11 0%, #bec24e 100%);
}

.burgers-catalog--theme-pasta .burgers-catalog__banner {
  background: linear-gradient(90deg, #f68433 0%, #d01901 100%);
}

.burgers-catalog--theme-pizza .burgers-catalog__banner {
  background: linear-gradient(270deg, #e5992f 0%, #bb1606 100%);
}

.burgers-catalog--theme-salads .burgers-catalog__banner {
  background: linear-gradient(90deg, #8ba906 0%, #b4d129 100%);
}

.burgers-catalog--theme-snacks .burgers-catalog__banner {
  background: linear-gradient(90deg, #eea01f 0%, #be5f12 100%);
}

.burgers-catalog--theme-skillet .burgers-catalog__banner {
  background:
    linear-gradient(90deg, #eea01f 0%, #be5f12 100%),
    linear-gradient(270deg, #4a4c47 0%, #0b0902 100%);
}

.burgers-catalog--theme-hotdog .burgers-catalog__banner {
  background:
    linear-gradient(90deg, #eea01f 0%, #be5f12 100%),
    linear-gradient(270deg, #4a4c47 0%, #0b0902 100%),
    linear-gradient(270deg, #da8453 0%, #a64204 100%);
}

.burgers-catalog--theme-drinks .burgers-catalog__banner {
  background: linear-gradient(90deg, #4786c0 0%, #249aef 100%);
}

.burgers-catalog--theme-bakery .burgers-catalog__banner {
  background: linear-gradient(270deg, #fdb929 0%, #daa24c 100%);
}

/* Промо-плитка справа — те же градиенты, что у плашки с названием */
.burgers-catalog--theme-burgers .burgers-catalog__promo {
  background: linear-gradient(270deg, #98190a 0%, #c90705 100%);
}

.burgers-catalog--theme-twisters .burgers-catalog__promo {
  background: linear-gradient(90deg, #6e7b11 0%, #bec24e 100%);
}

.burgers-catalog--theme-pasta .burgers-catalog__promo {
  background: linear-gradient(90deg, #f68433 0%, #d01901 100%);
}

.burgers-catalog--theme-pizza .burgers-catalog__promo {
  background: linear-gradient(270deg, #e5992f 0%, #bb1606 100%);
}

.burgers-catalog--theme-salads .burgers-catalog__promo {
  background: linear-gradient(90deg, #8ba906 0%, #b4d129 100%);
}

.burgers-catalog--theme-snacks .burgers-catalog__promo {
  background: linear-gradient(90deg, #eea01f 0%, #be5f12 100%);
}

.burgers-catalog--theme-skillet .burgers-catalog__promo {
  background:
    linear-gradient(90deg, #eea01f 0%, #be5f12 100%),
    linear-gradient(270deg, #4a4c47 0%, #0b0902 100%);
}

.burgers-catalog--theme-hotdog .burgers-catalog__promo {
  background:
    linear-gradient(90deg, #eea01f 0%, #be5f12 100%),
    linear-gradient(270deg, #4a4c47 0%, #0b0902 100%),
    linear-gradient(270deg, #da8453 0%, #a64204 100%);
}

.burgers-catalog--theme-drinks .burgers-catalog__promo {
  background: linear-gradient(90deg, #4786c0 0%, #249aef 100%);
}

.burgers-catalog--theme-bakery .burgers-catalog__promo {
  background: linear-gradient(270deg, #fdb929 0%, #daa24c 100%);
}

.burger-card--stub {
  cursor: default;
}

.burger-card--stub:focus-visible {
  outline: none;
}

.burger-card__media--placeholder::before {
  display: none;
}

.burger-card__media--placeholder {
  background: linear-gradient(180deg, #fafafa 0%, #ececec 100%);
  border-radius: 14px;
  box-sizing: border-box;
}

/* Попап карточки бургера — Figma 188:6010 */
.burger-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 32px;
  width: min(996px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  background: #f5f5f5;
  color: #242424;
  box-shadow: 0 24px 80px rgba(24, 24, 36, 0.35);
}

.burger-modal::backdrop {
  background: rgba(36, 36, 36, 0.52);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.burger-modal__shell {
  position: relative;
  padding: 40px 40px 36px;
  box-sizing: border-box;
}

.burger-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  color: #242424;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.burger-modal__close:hover {
  background: #fff;
}

.burger-modal__grid {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 28px 40px;
  align-items: start;
}

.burger-modal__visual {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
}

.burger-modal__img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 240px;
  height: 240px;
  flex-shrink: 0;
  margin: 0 auto;
}

.burger-modal__img-wrap::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6%;
  transform: translateX(-50%);
  width: 94%;
  height: 46%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse 58% 42% at 50% 58%,
    rgba(24, 24, 36, 0.13) 0%,
    rgba(24, 24, 36, 0.045) 48%,
    transparent 72%
  );
}

.burger-modal__img {
  display: block;
  position: relative;
  z-index: 1;
  width: 240px;
  height: 240px;
  object-fit: contain;
}

.burger-modal__badge {
  align-self: flex-end;
  padding: 14px 18px;
  border-radius: 13px;
  background: linear-gradient(
    90deg,
    rgba(182, 54, 189, 1) 0%,
    rgba(36, 154, 239, 1) 100%
  );
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.238;
  color: #fff;
}

.burger-modal__main {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding-top: 4px;
}

.burger-modal__title {
  margin: 0;
  padding-right: 48px;
  font-family: var(--font-als-sirius);
  font-weight: 700;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0;
  color: #242424;
}

.burger-modal__desc {
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  color: #454545;
}

.burger-modal__desc p {
  margin: 0 0 12px;
}

.burger-modal__desc p:last-child {
  margin-bottom: 0;
}

.burger-modal__actions {
  margin-top: auto;
  padding-top: 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
}

.burger-modal__price {
  justify-self: start;
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: 26px;
  line-height: 1;
  color: #242424;
  white-space: nowrap;
}

.burger-modal__qty {
  justify-self: center;
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  background: #fff;
  border-radius: 13px;
  padding: 4px 6px;
  box-shadow: 0 2px 14px rgba(24, 24, 36, 0.08);
  box-sizing: border-box;
}

.burger-modal__qty-btn {
  width: 38px;
  height: 38px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  font-family: var(--font-ui);
  color: #242424;
  border-radius: 10px;
}

.burger-modal__qty-btn:hover {
  background: #f0f0f0;
}

.burger-modal__qty-val {
  min-width: 40px;
  text-align: center;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 17px;
}

.burger-modal__cart {
  justify-self: end;
  grid-column: 3;
  flex: none;
  width: 250px;
  max-width: 100%;
  min-height: 48px;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: linear-gradient(
    0deg,
    rgba(229, 109, 47, 1) 0%,
    rgba(229, 109, 47, 1) 100%
  );
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 14px;
  color: #fff;
}

.burger-modal__cart:hover {
  filter: brightness(1.03);
}

.burger-modal__cart-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.burger-modal__cart-icon img {
  display: block;
  width: 12px;
  height: 12px;
}

@media (max-width: 767px) {
  .burger-modal__shell {
    padding: 26px 18px 22px;
  }

  .burger-modal__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .burger-modal__visual {
    gap: 10px;
  }

  .burger-modal__img-wrap {
    width: 156px;
    height: 156px;
  }

  .burger-modal__img-wrap::before {
    bottom: 4%;
    height: 52%;
    background: radial-gradient(
      ellipse 54% 44% at 50% 56%,
      rgba(24, 24, 36, 0.11) 0%,
      rgba(24, 24, 36, 0.035) 46%,
      transparent 70%
    );
  }

  .burger-modal__img {
    width: 156px;
    height: 156px;
  }

  .burger-modal__badge {
    padding: 10px 14px;
    font-size: 12px;
    align-self: flex-end;
  }

  .burger-modal__main {
    gap: 10px;
    padding-top: 0;
  }

  .burger-modal__title {
    padding-right: 40px;
    font-size: 22px;
  }

  .burger-modal__desc {
    font-size: 13px;
    line-height: 1.42;
  }

  .burger-modal__desc p {
    margin-bottom: 8px;
  }

  .burger-modal__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 14px 12px;
    padding-top: 16px;
  }

  .burger-modal__price {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    font-size: 22px;
  }

  .burger-modal__qty {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .burger-modal__cart {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    width: 100%;
    min-width: 0;
    padding: 0 14px;
    gap: 10px;
    font-size: 12px;
    min-height: 44px;
  }

  .burger-modal__cart-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    flex: 1;
    max-width: none;
  }

  .burger-modal__cart-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
  }

  .burger-modal__cart-icon img {
    width: 14px;
    height: 14px;
  }
}

/* Доставка / о бренде — Figma 186:1376 */
.delivery-info {
  width: 100%;
  max-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: stretch;
}

.delivery-info__brand {
  border-radius: 19px;
  padding: 36px 40px;
  box-sizing: border-box;
  background: linear-gradient(
    0deg,
    rgba(229, 109, 47, 1) 0%,
    rgba(229, 109, 47, 1) 100%
  );
}

.delivery-info__brand-heading {
  margin: 0 0 20px;
  line-height: 0;
}

.delivery-info__brand-heading-img {
  display: block;
  width: 100%;
  max-width: 542px;
  height: auto;
}

.delivery-info__brand-body {
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 12px;
  line-height: var(--lh-body);
  color: var(--text-hero);
}

.delivery-info__brand-body p {
  margin: 0 0 1em;
}

.delivery-info__brand-body p:last-child {
  margin-bottom: 0;
}

.delivery-info__stats {
  border-radius: 19px;
  padding: 32px 36px;
  box-sizing: border-box;
  background: #fff;
  box-shadow: 0 4px 28px rgba(24, 24, 36, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}

.delivery-info__stat {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 24px;
  align-items: center;
  width: 100%;
}

.delivery-info__stat-value {
  flex: unset;
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-family: var(--font-buyan);
  font-weight: 700;
  font-size: 86px;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  color: #242424;
}

.delivery-info__stat-value--time {
  display: inline-flex;
  align-items: center;
  gap: 0.14em;
}

.delivery-info__stat-value-num {
  font-size: inherit;
  line-height: inherit;
}

.delivery-info__stat-value-unit {
  font-family: inherit;
  font-weight: inherit;
  font-size: 36px;
  line-height: 1;
  letter-spacing: 0;
  text-transform: inherit;
}

.delivery-info__stat-desc {
  flex: unset;
  width: 100%;
  min-width: 0;
  margin: 0;
  display: flex;
  align-items: center;
  font-family: var(--font-als-sirius);
  font-weight: 400;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0;
  color: #242424;
}

/* Подвал — Figma 186:1330 */
.site-footer {
  margin-top: 56px;
  padding: 56px 0 40px;
  box-sizing: border-box;
  background: #242424;
  color: #fff;
}

.site-footer__inner {
  width: calc(var(--sidebar-w) + var(--gap) + var(--main-w));
  max-width: 100%;
  margin: 0 auto;
  padding-inline: 0;
  box-sizing: border-box;
}

.site-footer__main {
  display: grid;
  grid-template-columns: minmax(220px, auto) minmax(0, 1fr) minmax(200px, 260px);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.site-footer__hours {
  text-align: left;
}

.site-footer__time {
  margin: 0;
  font-family: var(--font-buyan);
  font-weight: 700;
  font-size: 86px;
  line-height: 1;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

.site-footer__time-sep {
  margin: 0 0.06em;
  opacity: 0.85;
}

.site-footer__hours-label {
  margin: 14px 0 0;
  font-family: var(--font-buyan);
  font-weight: 700;
  font-size: 36px;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #fff;
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(2, 193px);
  gap: 0;
  justify-self: center;
  width: 100%;
  max-width: 420px;
}

.site-footer__col {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__col li + li {
  margin-top: 16px;
}

.site-footer__col a {
  font-family: var(--font-als-sirius);
  font-weight: 400;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0;
  color: #EFE9E9;
  text-decoration: none;
}

.site-footer__col a:hover {
  color: #fff;
}

.site-footer__brand {
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.site-footer__logo {
  display: block;
  width: 183px;
  height: 183px;
  object-fit: contain;
}

.site-footer__brand-name {
  display: none;
  margin: 0;
}

.site-footer__address-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 14px 0 18px;
  border-radius: 13px;
  background: #fff;
  box-sizing: border-box;
  width: 159px;
  text-decoration: none;
  color: inherit;
}

.site-footer__address-icon {
  display: block;
  flex-shrink: 0;
}

.site-footer__address-text {
  font-family: var(--font-als-sirius);
  font-weight: 400;
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0;
  color: #242424;
}

.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  justify-content: center;
  width: 159px;
}

.site-footer__social-btn {
  width: 50px;
  height: 44px;
  border-radius: 13px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
  box-sizing: border-box;
}

.site-footer__social-btn img {
  display: block;
}

.site-footer__social-btn--narrow {
  width: 49px;
}

.site-footer__legal {
  margin-top: 44px;
  padding-top: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}

.site-footer__legal-link {
  font-family: var(--font-als-sirius);
  font-weight: 400;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0;
  color: #FFFFFF;
  text-decoration: none;
}

.site-footer__legal-link:hover {
  color: #cfcfcf;
}

.page-legal {
  padding: 28px 0 64px;
}

.page-legal__inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 16px;
}

.page-legal__content {
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.page-legal__title {
  font-family: var(--font-als-sirius);
  font-weight: 800;
  font-size: 32px;
  line-height: 1.15;
  margin: 0 0 18px;
  color: #fff;
}

.page-legal__content {
  color: #242424;
  font-family: var(--font-ui, Manrope, sans-serif);
  font-size: 15px;
  line-height: 1.6;
}

.page-legal__content h2,
.page-legal__content h3 {
  font-family: var(--font-als-sirius);
  color: #0f0f0f;
  margin: 22px 0 10px;
}

.page-legal__content h2 {
  font-size: 22px;
  font-weight: 800;
}

.page-legal__content h3 {
  font-size: 18px;
  font-weight: 800;
}

.page-legal__content p {
  margin: 10px 0;
}

.page-legal__content ul {
  margin: 10px 0 10px 18px;
  padding: 0;
}

.page-legal__content li {
  margin: 6px 0;
}

.page-legal__content a {
  color: #b24a00;
}

.page-legal__content a:hover {
  color: #d45b00;
}

/* ——— Mobile: hero как Frame 48 / Hero в Figma (188:2431) ——— */
@media (max-width: 767px) {
  body {
    overflow-x: hidden;
  }

  :root {
    --fz-body: 12px;
    --lh-body: 1.2380000750223796em;
  }
  .hero {
    margin-bottom: 200px;
  }

  .layout-root {
    width: 100%;
    max-width: none;
    margin-top: 0;
    padding: 0 15px;
    margin-top: 20px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    gap: 0;
    box-sizing: border-box;
    min-height: 100svh;
    min-height: 100dvh;
  }

  .hero__layout {
    grid-template-columns: 1fr;
    gap: 0;
    width: 100%;
  }

  .hero__main {
    gap: 0;
  }

  .sidebar,
  .categories {
    display: none;
  }

  .burgers-catalog {
    display: block;
    width: 100%;
    margin-top: 20px;
  }

  .burgers-catalog__promo,
  .burgers-catalog__toolbar {
    display: none;
  }

  .burgers-catalog__head {
    display: block;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 30;
    isolation: isolate;
    filter: drop-shadow(0 6px 16px rgba(24, 24, 36, 0.07));
  }

  .burgers-catalog__banner {
    width: 100%;
    height: auto;
    min-height: 76px;
    border-radius: 16px;
    overflow: hidden;
  }

  .burgers-catalog--theme-burgers .burgers-catalog__banner {
    background: linear-gradient(270deg, #98190a 0%, #c90705 100%);
  }

  .burgers-catalog--theme-twisters .burgers-catalog__banner {
    background: linear-gradient(90deg, #6e7b11 0%, #bec24e 100%);
  }

  .burgers-catalog--theme-pasta .burgers-catalog__banner {
    background: linear-gradient(90deg, #f68433 0%, #d01901 100%);
  }

  .burgers-catalog--theme-pizza .burgers-catalog__banner {
    background: linear-gradient(270deg, #e5992f 0%, #bb1606 100%);
  }

  .burgers-catalog--theme-salads .burgers-catalog__banner {
    background: linear-gradient(90deg, #8ba906 0%, #b4d129 100%);
  }

  .burgers-catalog--theme-snacks .burgers-catalog__banner {
    background: linear-gradient(90deg, #eea01f 0%, #be5f12 100%);
  }

  .burgers-catalog--theme-skillet .burgers-catalog__banner {
    background:
      linear-gradient(90deg, #eea01f 0%, #be5f12 100%),
      linear-gradient(270deg, #4a4c47 0%, #0b0902 100%);
  }

  .burgers-catalog--theme-hotdog .burgers-catalog__banner {
    background:
      linear-gradient(90deg, #eea01f 0%, #be5f12 100%),
      linear-gradient(270deg, #4a4c47 0%, #0b0902 100%),
      linear-gradient(270deg, #da8453 0%, #a64204 100%);
  }

  .burgers-catalog--theme-drinks .burgers-catalog__banner {
    background: linear-gradient(90deg, #4786c0 0%, #249aef 100%);
  }

  .burgers-catalog--theme-bakery .burgers-catalog__banner {
    background: linear-gradient(270deg, #fdb929 0%, #daa24c 100%);
  }

  .burgers-catalog__banner-img {
    display: block;
    height: auto;
    width: 200px;
    right: -40px;
    object-fit: contain;
    object-position: right center;
    transform: translateY(-50%);
  }

  .burgers-catalog__banner-img--twisters {
    width: 150px;
    right: 0px;
  }

  .burgers-catalog__banner-img--salads {
    width: 70%;
    right: -32px;
  }

  .burgers-catalog__banner-img--snacks {
    width: 80%;
    right: -30px;
  }

  .burgers-catalog__banner-img--hotdog {
    width: min(193px, 52%);
    right: -30px;
  }

  .burgers-catalog__banner-img--skillet {
    width: 80%;
    right: -30px;
  }

  .burgers-catalog__banner-img--drinks {
    width: 80%;
    right: -31px;
  }

  .burgers-catalog__banner-img--pizza {
    width: 65%;
    height: 100%;
    object-fit: fill;
    right: -28px;
  }

  .burgers-catalog__banner-img--bakery {
    width: 70%;
    height: 100%;
    object-fit: fill;
    right: -27px;
  }

  .burgers-catalog__banner-img--pasta {
    width: 100%;
    right: -26px;
  }

  .burgers-catalog__banner-title {
    height: auto;
    min-height: 76px;
    padding: 18px 22px;
    font-size: 20px;
    line-height: 1.2;
    align-items: center;
  }

  .burgers-catalog__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
  }

  .burger-card {
    padding: 14px 10px 12px;
    border-radius: 16px;
    box-shadow: 0 3px 18px rgba(24, 24, 36, 0.07);
  }

  .burger-card__media {
    width: 100%;
    max-width: none;
    height: 128px;
    margin: 0 auto 10px;
  }

  .burger-card__media::before {
    bottom: 4%;
    width: 96%;
    height: 52%;
    background: radial-gradient(
      ellipse 54% 44% at 50% 56%,
      rgba(24, 24, 36, 0.11) 0%,
      rgba(24, 24, 36, 0.035) 46%,
      transparent 70%
    );
  }

  .burger-card__media img {
    max-height: 128px;
  }

  .burger-card__ribbon {
    padding: 8px 12px;
    bottom: 4px;
    font-size: 11px;
    border-radius: 10px;
  }

  .burger-card__title {
    font-size: 14px;
    line-height: 1.2;
  }

  .burger-card__price {
    margin: 6px 0 14px;
    font-size: 13px;
  }

  .burger-card__add {
    margin-top: auto;
    justify-content: center;
    height: 44px;
    padding: 0 12px;
    border-radius: 12px;
  }

  .burger-card__add > span:first-child {
    display: none;
  }

  .burger-card__add-icon {
    width: 28px;
    height: 28px;
    background: #fff url("./assets/figma/section-burgers/icon-cart-inline.svg") center /
      15px 15px no-repeat;
  }

  .burger-card__add-icon::before,
  .burger-card__add-icon::after {
    display: none;
  }

  .layout-main {
    width: 100%;
    max-width: none;
    margin-left: 0;
    align-items: stretch;
    padding: 0 12px;
    margin-top: 16px;
  }

  /* Hero: тот же градиент фона, что на десктопе (без ::before) */
  .hero-panel {
    position: unset;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    min-height: 520px;
    margin-inline: 0;
    padding: 24px;
    border-radius: 19px;
    overflow: visible;
    background: linear-gradient(
      270deg,
      rgb(36, 36, 36) 0%,
      rgb(0, 0, 0) 100%
    );
    isolation: isolate;
  }

  .hero__plate {
    position: absolute;
    inset: 0;
    overflow: visible;
    pointer-events: none;
    z-index: 0;
    border-radius: inherit;
  }

  .hero__charcoal-wrap {
    display: none;
  }

  /* Бургер целиком в блоке, без обрезки по бокам */
  .hero__burger {
    left: 12px;
    right: 12px;
    top: 80vw;
    bottom: 16px;
    transform: none;
    max-width: none;
    overflow: hidden;
    border-radius: 19px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    width: auto;
  }

  .hero__burger picture {
    display: contents;
  }

  .hero__burger-img {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    max-width: 100%;
    max-height: 100%;
    margin: 0;
    display: block;
    object-fit: contain;
    object-position: center bottom;
  }

  .hero__toolbar {
    display: none;
  }

  /* Текст: те же отступы от краёв экрана (12 + 24), ширина по содержимому до краёв плашки */
  .hero__copy {
    width: auto;
    max-width: none;
    align-items: stretch;
    margin-top: 0;
    padding-right: 0;
    gap: 18px;
    z-index: 2;
  }

  .hero__lead {
    width: 100%;
    align-items: stretch;
    gap: 18px;
  }

  .hero-heading {
    text-align: left;
  }

  .hero-heading__img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    margin-inline: 0;
    object-fit: contain;
    object-position: left top;
  }

  .hero-body {
    max-width: none;
    text-align: left;
    font-size: 12px;
    line-height: var(--lh-body);
  }

  .hero-body p {
    margin: 0 0 18px;
  }

  .hero-body p:last-child {
    margin-bottom: 0;
  }

  .delivery-info {
    grid-template-columns: 1fr;
  }

  .delivery-info__stats {
    order: -1;
  }

  .delivery-info__brand,
  .delivery-info__stats {
    padding: 24px 20px;
  }

  .delivery-info__stat {
    grid-template-columns: 1fr;
    align-items: center;
    justify-items: stretch;
    row-gap: 12px;
  }

  .delivery-info__stat-value {
    justify-content: flex-start;
    font-size: clamp(44px, 14vw, 86px);
  }

  .delivery-info__stat-value-unit {
    font-size: clamp(18px, 5vw, 36px);
  }

  .delivery-info__stat-desc {
    font-size: clamp(14px, 4.2vw, 20px);
    line-height: 1.15;
  }

  .site-footer {
    margin-top: 36px;
    padding: 40px 12px 32px;
  }

  .site-footer__inner {
    width: 100%;
    padding-inline: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .site-footer__main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    text-align: center;
    width: 100%;
  }

  .site-footer__brand {
    order: 1;
    justify-self: center;
    width: 100%;
    max-width: 360px;
    gap: 16px;
  }

  .site-footer__brand-name {
    display: block;
    font-family: var(--font-buyan);
    font-weight: 700;
    font-size: clamp(22px, 6vw, 28px);
    line-height: 1.1;
    letter-spacing: 0;
    color: #fff;
  }

  .site-footer__logo {
    width: min(183px, 52vw);
    height: auto;
    aspect-ratio: 1;
  }

  .site-footer__address-chip {
    max-width: none;
    justify-content: center;
    padding: 0 18px;
    min-height: 44px;
  }

  .site-footer__hours {
    order: 2;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .site-footer__time {
    font-size: 36px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 0 0.06em;
  }

  .site-footer__hours-label {
    font-size: 20px;
    margin-top: 10px;
    text-align: center;
  }

  .site-footer__nav {
    order: 3;
    grid-template-columns: auto auto;
    justify-content: flex-end;
    justify-items: flex-end;
    column-gap: 70px;
    width: 100%;
    margin-right: 30px;
    box-sizing: border-box;
  }

  .site-footer__col {
    text-align: center;
  }

  .site-footer__col a {
    font-size: clamp(16px, 4vw, 20px);
    display: inline-block;
  }

  .site-footer__legal {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 36px;
    width: 100%;
    text-align: center;
  }

  .combo-btn {
    align-self: flex-start;
  }
}

/* ——— Страница корзины ——— */
.cart-body {
  margin: 0;
  min-height: 100vh;
  background: var(--gray-screen);
}

.cart-page {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 20px 0 56px;
  box-sizing: border-box;
}

.cart-page__head {
  display: flex;
  align-items: stretch;
  gap: var(--gap);
  width: 100%;
}

.cart-page__title-block {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 96px;
  border-radius: 19px;
  overflow: hidden;
  background: linear-gradient(270deg, #98190a 0%, #c90705 100%);
  display: flex;
  align-items: center;
  padding: 0 32px;
  box-sizing: border-box;
}

.cart-page__title {
  margin: 0;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  color: var(--text-hero);
}

.cart-page__sum-block {
  flex: 0 0 clamp(240px, 32vw, 320px);
  max-width: 100%;
  min-height: 96px;
  border-radius: 19px;
  padding: 14px 22px;
  box-sizing: border-box;
  background: linear-gradient(
    180deg,
    rgba(240, 132, 74, 1) 0%,
    rgba(229, 109, 47, 1) 100%
  );
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cart-page__sum-meta {
  min-width: 0;
}

.cart-page__sum-label {
  margin: 0;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.2;
  color: var(--text-hero);
}

.cart-page__sum-count {
  margin: 6px 0 0;
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 11px;
  line-height: 1.2;
  color: rgba(239, 233, 233, 0.92);
}

.cart-page__sum-total {
  margin: 0;
  flex-shrink: 0;
  font-family: var(--font-buyan);
  font-weight: 700;
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
}

.cart-page__list {
  list-style: none;
  margin: var(--gap) 0 0;
  padding: 0;
}

.cart-page__row {
  display: grid;
  grid-template-columns: 92px minmax(100px, 1fr) 72px auto 88px 44px;
  gap: 16px 20px;
  align-items: center;
  padding: 18px 22px;
  box-sizing: border-box;
  background: #fff;
  border-radius: 19px;
  box-shadow: 0 4px 28px rgba(24, 24, 36, 0.06);
}

.cart-page__row + .cart-page__row {
  margin-top: var(--gap);
}

.cart-page__thumb {
  width: 92px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-page__thumb img {
  display: block;
  max-width: 100%;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.cart-page__name {
  font-family: var(--font-als-sirius);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  color: #242424;
  min-width: 0;
}

.cart-page__unit {
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 15px;
  color: #242424;
}

.cart-page__qty {
  display: inline-flex;
  align-items: center;
  background: #ececef;
  border-radius: 13px;
  padding: 4px 6px;
  box-sizing: border-box;
}

.cart-page__qty-btn {
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  font-family: var(--font-ui);
  color: #242424;
  border-radius: 10px;
}

.cart-page__qty-btn:hover {
  background: rgba(0, 0, 0, 0.06);
}

.cart-page__qty-val {
  min-width: 36px;
  text-align: center;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 16px;
}

.cart-page__line-total {
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: 17px;
  color: #242424;
  justify-self: end;
  white-space: nowrap;
}

.cart-page__remove {
  width: 38px;
  height: 38px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #242424;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-page__remove:hover {
  background: #000;
}

.cart-page__form {
  margin: 0;
}

.cart-page__checkout-panel {
  margin-top: var(--gap);
  padding: 28px 28px 32px;
  box-sizing: border-box;
  background: #fff;
  border-radius: 19px;
  box-shadow: 0 4px 28px rgba(24, 24, 36, 0.06);
}

.cart-page__checkout-title {
  margin: 0 0 22px;
  font-family: var(--font-als-sirius);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.25;
  color: #242424;
}

.cart-page__fields-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.cart-page__input,
.cart-page__textarea {
  font-family: var(--font-ui);
  font-size: 14px;
  border: none;
  border-radius: 13px;
  background: #ececef;
  padding: 14px 16px;
  color: #242424;
  box-sizing: border-box;
  width: 100%;
}

.cart-page__input::placeholder,
.cart-page__textarea::placeholder {
  color: #6b6b6b;
}

.cart-page__textarea {
  margin-top: 14px;
  min-height: 88px;
  resize: vertical;
  line-height: 1.45;
}

.cart-page__select {
  cursor: pointer;
  appearance: none;
  background-color: #ececef;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath stroke='%23242424' stroke-linecap='round' stroke-width='1.5' d='m1 1 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.cart-page__pay {
  margin: 24px 0 0;
  padding: 0;
  border: none;
  min-width: 0;
}

.cart-page__pay-title {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  color: #242424;
  padding: 0;
  margin: 0 0 14px;
}

.cart-page__pay-options {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px 28px;
  min-width: 0;
}

.cart-page__radio-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 14px;
  color: #242424;
  flex-shrink: 0;
}

.cart-page__radio {
  width: 20px;
  height: 20px;
  margin: 0;
  flex-shrink: 0;
  accent-color: #e56d2f;
  cursor: pointer;
}

.cart-page__input--change {
  flex: 1 1 auto;
  min-width: 160px;
  max-width: none;
  width: auto;
}

.cart-page__input--change:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.cart-page__checkout-trigger {
  margin-top: var(--gap);
  width: 100%;
  min-height: 52px;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  background: linear-gradient(
    0deg,
    rgba(229, 109, 47, 1) 0%,
    rgba(229, 109, 47, 1) 100%
  );
}

.cart-page__checkout-trigger:hover {
  filter: brightness(1.03);
}

.cart-page__form .cart-page__checkout {
  margin-top: 28px;
}

.cart-page__success {
  margin-top: var(--gap);
  padding: 22px 26px;
  box-sizing: border-box;
  background: #fff;
  border-radius: 19px;
  box-shadow: 0 4px 28px rgba(24, 24, 36, 0.06);
}

.cart-page__success-text {
  margin: 0;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: clamp(14px, 2.2vw, 17px);
  line-height: 1.45;
  color: #242424;
  text-align: center;
}

.cart-page__checkout {
  margin-top: 0;
  width: 100%;
  min-height: 52px;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  background: linear-gradient(
    0deg,
    rgba(229, 109, 47, 1) 0%,
    rgba(229, 109, 47, 1) 100%
  );
}

.cart-page__checkout:hover {
  filter: brightness(1.03);
}

@media (max-width: 767px) {
  .cart-page {
    padding: 12px 0 40px;
  }

  .cart-page__head {
    flex-direction: column;
    gap: 12px;
  }

  .cart-page__title-block {
    min-height: 76px;
    padding: 0 22px;
    border-radius: 16px;
  }

  .cart-page__title {
    font-size: 20px;
  }

  .cart-page__sum-block {
    flex: none;
    width: 100%;
    min-height: auto;
    border-radius: 16px;
    padding: 14px 18px;
  }

  .cart-page__row {
    grid-template-columns: 68px 1fr auto;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "thumb name remove"
      "thumb unit qty"
      "sum sum sum";
    gap: 10px 12px;
    padding: 14px 14px;
    border-radius: 16px;
    align-items: center;
  }

  .cart-page__thumb {
    grid-area: thumb;
    width: 68px;
    height: 56px;
  }

  .cart-page__thumb img {
    max-height: 56px;
  }

  .cart-page__name {
    grid-area: name;
    justify-self: start;
    font-size: 16px;
  }

  .cart-page__unit {
    grid-area: unit;
    justify-self: start;
    font-size: 14px;
  }

  .cart-page__qty {
    grid-area: qty;
    justify-self: end;
  }

  .cart-page__line-total {
    grid-area: sum;
    justify-self: start;
    padding-top: 10px;
    margin-top: 2px;
    border-top: 1px solid #ececef;
    width: 100%;
    font-size: 16px;
  }

  .cart-page__remove {
    grid-area: remove;
    justify-self: end;
    align-self: start;
    width: 34px;
    height: 34px;
    font-size: 18px;
  }

  .cart-page__checkout-trigger,
  .cart-page__checkout {
    min-height: 48px;
    font-size: 15px;
  }

  .cart-page__checkout-panel {
    padding: 20px 16px 22px;
    border-radius: 16px;
  }

  .cart-page__checkout-title {
    font-size: 16px;
    margin-bottom: 16px;
  }

  .cart-page__fields-row {
    grid-template-columns: 1fr;
  }

  .cart-page__pay-options {
    flex-wrap: nowrap;
    gap: 10px 14px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .cart-page__radio-label {
    font-size: 13px;
    gap: 8px;
  }

  .cart-page__input--change {
    min-width: 140px;
    flex: 1 1 0;
  }

  .cart-page__success {
    padding: 18px 16px;
    border-radius: 16px;
  }

  .cart-page__success-text {
    font-size: 14px;
    text-align: left;
  }

  .cart-page__form .cart-page__checkout {
    margin-top: 22px;
  }
	
}
}
/* Десерты */
.burgers-catalog--theme-desserts .burgers-catalog__banner,
.burgers-catalog--theme-dessert .burgers-catalog__banner {
    background: linear-gradient(90deg, #ff4fa3 0%, #ff85c2 100%) !important;
}

/* Кофе */
.burgers-catalog--theme-coffee .burgers-catalog__banner,
.burgers-catalog--theme-kofe .burgers-catalog__banner {
    background: linear-gradient(90deg, #4b2d1f 0%, #9b5e34 100%) !important;
}
/* Десерты */
.burgers-catalog__section--desserts .burgers-catalog__banner{
    background: linear-gradient(90deg,#ff4fa3,#ff8fc7)!important;
}

/* Кофе */
.burgers-catalog__section--coffee .burgers-catalog__banner{
    background: linear-gradient(90deg,#4b2d1f,#9b5e34)!important;
}