@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-300.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Denistina";
  src: url("assets/fonts/ofont.ru_Denistina.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f8f6f2;
  --paper: #ffffff;
  --ink: #262522;
  --muted: #74716b;
  --line: rgba(38, 37, 34, .12);
  --soft: rgba(255, 255, 255, .76);
  --orange: #ef4e18;
  --shadow: 0 22px 70px rgba(20, 19, 17, .12);
  --app-bottom-space: 92px;
}

* {
  box-sizing: border-box;
}

html {
  background: #e9e7e2;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  max-width: 1235px;
  margin-inline: auto;
  background: var(--bg);
  color: var(--ink);
  font-family: Manrope, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.anchor-target {
  display: block;
  height: 1px;
  scroll-margin-top: 90px;
}

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

button,
.button,
.header-action {
  font: inherit;
  touch-action: manipulation;
}

a,
.delivery-app button,
.delivery-product button {
  touch-action: manipulation;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 230px 1fr 180px;
  align-items: center;
  gap: 24px;
  width: 100vw;
  height: 72px;
  margin-left: calc(50% - 50vw);
  padding: 0 32px;
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

@media (min-width: 1236px) {
  .site-header {
    padding-inline: calc((100vw - 1235px) / 2 + 32px);
  }
}

.logo {
  display: inline-flex;
  align-items: flex-end;
  gap: 9px;
  width: max-content;
  color: #171717;
}

.logo span {
  font-size: 30px;
  font-weight: 300;
  line-height: .9;
}

.logo em,
.script,
.brand-script {
  font-family: "Denistina", "Brush Script MT", "Segoe Script", cursive;
  font-style: normal;
}

.brand-script {
  display: inline-block;
  font-weight: 400;
  line-height: .8;
  transform: rotate(-4deg);
}

.logo em {
  margin-bottom: -5px;
  font-size: 22px;
  color: #27231f;
  transform: rotate(0deg);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 4.4vw, 54px);
  color: #292824;
  font-size: 14px;
}

.main-nav a {
  padding: 12px 0;
}

.header-action {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  width: 176px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #4d4d4d 0%, #171615 90%);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.header-action:hover {
  box-shadow: 0 16px 32px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255, 255, 255, .18);
  filter: brightness(1.06);
}

.header-action:active {
  transform: translateY(1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .12);
}

.header-action strong {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #fff;
  color: #171615;
  font-size: 12px;
  font-weight: 600;
}

.header-action strong.is-bumping {
  animation: cartCountBump .34s ease;
}

.header-action.is-bumping {
  animation: cartCountBump .34s ease;
}

.header-action.is-cart-filled {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
}

.mobile-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  place-items: center;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 3px auto;
  border-radius: 999px;
  background: var(--ink);
}

.hero {
  position: relative;
  width: 100vw;
  min-height: 560px;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  isolation: isolate;
  background: #fff;
}

.hero-bg {
  position: absolute;
  display: block;
  top: 24px;
  bottom: 24px;
  left: 50%;
  width: min(1235px, calc(100% - 48px));
  transform: translateX(-50%);
  z-index: -2;
  overflow: hidden;
  border-radius: 20px;
  background: #f2f0ed;
}

.hero-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 50%;
  width: min(1235px, calc(100% - 48px));
  transform: translateX(-50%);
  z-index: -1;
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .44), rgba(0, 0, 0, .18) 36%, rgba(0, 0, 0, .03) 66%, rgba(0, 0, 0, 0)),
    linear-gradient(180deg, rgba(0, 0, 0, .03), rgba(0, 0, 0, .12));
}

.hero-content {
  width: min(620px, calc(100% - 80px));
  padding: 158px 0 0 39px;
  color: white;
}

.hero h1 {
  margin: 0;
  font-size: clamp(43px, 5vw, 65px);
  font-weight: 400;
  line-height: 1.04;
}

.hero p {
  width: min(380px, 100%);
  margin: 26px 0 0;
  font-size: 16px;
  line-height: 1.45;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 144px;
  padding: 0 28px;
  border: 1px solid rgba(255, 255, 255, .68);
  border-radius: 8px;
  font-size: 14px;
  white-space: nowrap;
}

.button-primary {
  border-color: white;
  background: white;
  color: var(--ink);
}

.button-ghost {
  background: rgba(0, 0, 0, .28);
  color: white;
  backdrop-filter: blur(10px);
}

.hero-card {
  position: absolute;
  right: 38px;
  bottom: 45px;
  width: min(360px, calc(100% - 76px));
  padding: 24px 25px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow);
}

@media (min-width: 1236px) {
  .hero-content {
    margin-left: calc((100vw - 1235px) / 2);
  }

  .hero-card {
    right: calc((100vw - 1235px) / 2 + 38px);
  }
}

.info-row {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 15px;
  align-items: start;
  color: #292824;
}

.info-row + .info-row {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.info-row strong,
.info-row span,
.info-row a {
  display: block;
}

.info-row strong {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

.info-row span,
.info-row a {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}

.info-row a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.section {
  padding: 58px 39px;
}

.about {
  display: grid;
  grid-template-columns: minmax(250px, 310px) 1fr;
  gap: clamp(44px, 7vw, 92px);
  align-items: stretch;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: #fffdf9;
}

.about h2,
.menu h2,
.promo h2 {
  margin: 0;
  font-size: clamp(31px, 3.4vw, 39px);
  font-weight: 400;
  line-height: 1.35;
}

.script {
  margin: 42px 0 4px;
  font-size: 31px;
  color: #302c28;
}

.script-brand {
  font-family: Manrope, "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
}

.lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

.muted {
  margin: 44px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.about-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  height: 100%;
}

.about-gallery figure {
  position: relative;
  min-height: 398px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #ddd;
}

.about-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-gallery figcaption {
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 15px;
  color: white;
  font-size: 13px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .45);
}

.menu {
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background:
    radial-gradient(circle at 27% 16%, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0) 28%),
    linear-gradient(135deg, rgba(255, 255, 255, .85), rgba(235, 233, 228, .45)),
    #f5f3ef;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #2d2c29;
  font-size: 14px;
  font-weight: 500;
}

.categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin-top: 25px;
}

@media (min-width: 821px) {
  .categories {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

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

  .categories > a {
    flex: 0 0 auto;
    min-width: max-content;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    background: #fff;
    box-shadow: none;
    white-space: nowrap;
  }

  .categories > a .category-icon {
    display: none;
  }
}

.categories button,
.categories a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 54px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
  color: #373430;
  cursor: pointer;
}

.categories .category-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  opacity: .86;
  flex: 0 0 auto;
}

.menu-showcase {
  display: grid;
  grid-template-columns: 250px repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 38px;
  justify-content: end;
}

.menu-intro {
  padding-top: 34px;
}

.menu-intro h3 {
  margin: 0 0 33px;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.42;
}

.button-small {
  min-width: 204px;
  min-height: 55px;
  gap: 12px;
  border-color: rgba(38, 37, 34, .09);
  background: rgba(255, 255, 255, .58);
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(32, 31, 28, .06);
  font-size: 14px;
  font-weight: 500;
}

.dish-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .78);
}

.dish-card img {
  width: 100%;
  aspect-ratio: 203 / 193;
  object-fit: cover;
}

.dish-card div {
  min-height: 94px;
  padding: 14px 15px 15px;
}

.dish-card h4 {
  margin: 0 0 9px;
  font-size: 16px;
  font-weight: 500;
}

.dish-card p {
  min-height: 38px;
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.26;
}

.dish-card strong {
  font-size: 18px;
  font-weight: 500;
}

.promo {
  position: relative;
  width: 100vw;
  min-height: 245px;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  background: #efede9;
}

.promo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 54%;
}

.promo div {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: inherit;
  flex-direction: column;
  justify-content: center;
  padding: 34px 0 34px 53px;
  font-family: Manrope, "Helvetica Neue", Arial, sans-serif;
}

.promo h2 {
  font-size: 40px;
  font-weight: 400;
  line-height: 1.1;
}

.promo p {
  margin: 22px 0 23px;
  font-size: 23px;
  font-weight: 400;
  line-height: 1.2;
}

.promo span {
  color: #686560;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
}

.promo strong {
  color: var(--orange);
  font-weight: 600;
}

.footer {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  align-items: center;
  gap: 25px;
  width: 100vw;
  min-height: 68px;
  margin-left: calc(50% - 50vw);
  padding: 26px 42px;
  background: #fffdf9;
  color: #2b2926;
  font-size: 14px;
}

@media (min-width: 1236px) {
  .about,
  .menu {
    padding-inline: calc((100vw - 1235px) / 2 + 39px);
  }

  .promo div {
    padding-left: calc((100vw - 1235px) / 2 + 53px);
  }

  .footer {
    padding-inline: calc((100vw - 1235px) / 2 + 42px);
  }
}

.footer a,
.footer span {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.footer svg {
  color: #6c6862;
}

.socials {
  display: flex;
  align-items: center;
  gap: 17px;
  font-size: 26px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  font-weight: 700;
  line-height: 1;
}

.socials a:last-child {
  border-radius: 5px;
  background: #111;
  color: white;
  font-size: 13px;
}

.delivery-page {
  background: #fff;
}

.delivery-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: end;
  padding: 70px 39px 44px;
}

.delivery-eyebrow,
.delivery-summary-card span,
.cart-heading span,
.delivery-product span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.delivery-hero h1 {
  max-width: 760px;
  margin: 14px 0 18px;
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 400;
  line-height: 1.05;
}

.delivery-hero p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.delivery-summary-card,
.cart-panel,
.delivery-product,
.delivery-details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .78);
}

.delivery-summary-card {
  padding: 24px;
}

.delivery-summary-card strong {
  display: block;
  margin-top: 10px;
  font-size: 34px;
  font-weight: 400;
}

.delivery-summary-card p {
  margin-top: 12px;
  font-size: 14px;
}

.delivery-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  padding: 0 39px 68px;
}

.delivery-main {
  min-width: 0;
}

.delivery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.delivery-toolbar h2,
.delivery-details h2,
.cart-heading h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 400;
}

.delivery-modes {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f6f4f0;
}

.mode-button {
  display: grid;
  gap: 2px;
  min-height: 44px;
  padding: 6px 18px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.mode-button span,
.mode-button strong {
  display: block;
}

.mode-button strong {
  font-size: 12px;
  font-weight: 600;
}

.mode-button.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(20, 19, 17, .08);
}

.delivery-menu-strip {
  display: grid;
  grid-auto-columns: minmax(150px, 1fr);
  grid-auto-flow: column;
  gap: 14px;
  max-width: 100%;
  margin: 0 0 20px;
  padding: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

.delivery-menu-strip::-webkit-scrollbar {
  display: none;
}

.delivery-menu-strip button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .78);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
}

.delivery-menu-strip .last-order-button {
  min-width: 230px;
  border: 0;
  background: linear-gradient(135deg, #ffc24c 0%, #ff9600 88%);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 14px 26px rgba(255, 157, 0, .24);
}

.delivery-menu-strip .last-order-button::after {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .22);
  font-size: 20px;
  line-height: 1;
}

.delivery-menu-strip .last-order-button:hover,
.delivery-menu-strip .last-order-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 32px rgba(255, 157, 0, .3);
}

.delivery-menu-strip img {
  width: 24px;
  height: 24px;
  justify-self: center;
  opacity: .86;
}

.delivery-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.delivery-product {
  overflow: hidden;
  transition: border-color .2s ease, transform .2s ease;
}

.delivery-product img {
  width: 100%;
  aspect-ratio: 1 / .78;
  object-fit: cover;
}

.delivery-product div {
  min-height: 118px;
  padding: 16px 16px 4px;
}

.delivery-product h3 {
  margin: 8px 0;
  font-size: 20px;
  font-weight: 500;
}

.delivery-product p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.delivery-product footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 16px;
}

.delivery-product strong {
  font-size: 20px;
  font-weight: 500;
}

.delivery-product button,
.checkout-button {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  background: #22211f;
  color: #fff;
  cursor: pointer;
}

.checkout-button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.delivery-product button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  min-width: 132px;
  overflow: hidden;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.delivery-product button.is-in-cart {
  display: grid;
  grid-template-columns: 32px minmax(78px, 1fr) 32px;
  align-items: center;
  justify-items: center;
  gap: 2px;
  min-width: 154px;
  padding: 0 8px;
  background: #f1eee8;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(34, 33, 31, .12);
}

.product-count-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  min-height: 40px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
}

.delivery-product .product-count-label {
  display: block;
  min-width: 0;
  overflow: hidden;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.delivery-product button.is-just-added {
  animation: addButtonPop .5s ease;
}

.delivery-product[data-product-card] {
  cursor: pointer;
}

.delivery-product[data-product-card]:hover {
  transform: translateY(-2px);
}

.is-dish-modal-open {
  overflow: hidden;
}

.dish-modal[hidden] {
  display: none;
}

.dish-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 22px;
}

.dish-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 17, 16, .42);
  backdrop-filter: blur(5px);
}

.dish-modal__panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, .95fr) minmax(320px, 1fr);
  width: min(900px, 100%);
  max-height: min(760px, calc(100vh - 44px));
  overflow: hidden;
  border: 1px solid rgba(34, 33, 31, .1);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(34, 33, 31, .22);
}

.dish-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  box-shadow: 0 8px 24px rgba(34, 33, 31, .12);
}

.dish-modal__media {
  min-height: 100%;
  background: #f4f1ec;
}

.dish-modal__media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.dish-modal__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 14px;
  max-height: min(760px, calc(100vh - 44px));
  overflow-y: auto;
  padding: 34px 34px 28px;
}

.dish-modal__category {
  color: var(--muted);
  font-size: 13px;
}

.dish-modal h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 500;
  line-height: 1.05;
}

.dish-modal p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.dish-modal__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dish-modal__meta span {
  display: inline-grid;
  gap: 2px;
  min-width: 86px;
  padding: 9px 11px;
  border: 1px solid rgba(34, 33, 31, .1);
  border-radius: 10px;
  background: #f8f6f2;
}

.dish-modal__meta small,
.dish-modal__nutrition small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.1;
}

.dish-modal__meta strong,
.dish-modal__nutrition strong {
  font-size: 15px;
  font-weight: 700;
}

.dish-modal__composition,
.dish-modal__nutrition {
  display: grid;
  gap: 10px;
  padding-top: 4px;
}

.dish-modal__modifiers {
  display: grid;
  gap: 10px;
  padding-top: 8px;
}

.dish-modal__composition h3,
.dish-modal__nutrition h3,
.dish-modal__modifiers h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
}

.dish-modal__composition p {
  color: #4c4944;
}

.dish-modal__nutrition > div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.dish-modal__nutrition span {
  display: grid;
  gap: 4px;
  min-height: 58px;
  padding: 10px;
  border: 1px solid rgba(34, 33, 31, .1);
  border-radius: 10px;
  background: #f8f6f2;
}

.dish-modal__modifiers > div {
  display: grid;
  gap: 8px;
}

.dish-modal__modifiers label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(34, 33, 31, .1);
  border-radius: 10px;
  background: #f8f6f2;
}

.dish-modal__modifiers span {
  display: grid;
  gap: 2px;
  font-size: 15px;
}

.dish-modal__modifiers small {
  color: var(--muted);
  font-size: 12px;
}

.dish-modal__modifiers strong {
  font-size: 14px;
  font-weight: 600;
}

.dish-modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 18px;
}

.dish-modal__footer strong {
  font-size: 26px;
  font-weight: 600;
}

.dish-modal__footer button {
  min-width: 190px;
  min-height: 50px;
  border: 0;
  border-radius: 10px;
  background: #111;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
}

.product-quantity-control {
  display: grid;
  grid-template-columns: 30px minmax(68px, 1fr) 30px;
  align-items: center;
  gap: 2px;
  width: 100%;
  min-width: 0;
  margin: 0;
  white-space: nowrap;
}

.product-quantity-control span {
  display: inline-flex;
  width: 30px;
  place-items: center;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  font-size: 18px;
  font-weight: 600;
}

.product-quantity-control strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.delivery-details {
  margin-top: 16px;
  padding: 24px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.detail-grid label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.detail-wide {
  grid-column: 1 / -1;
}

.detail-grid input,
.detail-grid textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.detail-grid input {
  height: 44px;
  padding: 0 14px;
}

.detail-grid textarea {
  resize: vertical;
  padding: 12px 14px;
}

.cart-panel {
  position: sticky;
  top: 92px;
  align-self: start;
  padding: 22px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.cart-panel.is-attention {
  animation: cartPanelAttention .7s ease;
}

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

.cart-heading strong {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f1eee8;
  font-weight: 500;
}

.cart-items {
  display: grid;
  gap: 10px;
  min-height: 90px;
  margin: 20px 0;
}

.empty-cart,
.cart-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.order-message {
  margin: 14px 0 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f6f4f0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
}

.order-message[data-type="success"] {
  border-color: rgba(45, 132, 85, .28);
  background: rgba(45, 132, 85, .09);
}

.order-message[data-type="error"] {
  border-color: rgba(210, 82, 48, .32);
  background: rgba(210, 82, 48, .09);
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item h3 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 500;
}

.cart-item span {
  color: var(--muted);
  font-size: 13px;
}

.cart-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-controls button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.cart-flyer {
  position: fixed;
  z-index: 1000;
  pointer-events: none;
  overflow: hidden;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 16px 40px rgba(20, 19, 17, .22);
  transition: transform .58s cubic-bezier(.2, .8, .2, 1), opacity .58s ease;
  will-change: transform, opacity;
}

@keyframes cartCountBump {
  0% { transform: scale(1); }
  45% { transform: scale(1.22); }
  100% { transform: scale(1); }
}

@keyframes addButtonPop {
  0% { transform: scale(1); }
  45% { transform: scale(.96); }
  100% { transform: scale(1); }
}

@keyframes mobileAddPulse {
  0% { transform: scale(1); box-shadow: inset 0 0 0 1px rgba(34, 33, 31, .12), 0 0 0 rgba(34, 33, 31, 0); }
  35% { transform: scale(1.04); box-shadow: inset 0 0 0 1px rgba(34, 33, 31, .22), 0 0 0 5px rgba(34, 33, 31, .08); }
  100% { transform: scale(1); box-shadow: inset 0 0 0 1px rgba(34, 33, 31, .12), 0 0 0 rgba(34, 33, 31, 0); }
}

@keyframes cartPanelAttention {
  0% { box-shadow: 0 0 0 rgba(20, 19, 17, 0); border-color: var(--line); }
  35% { box-shadow: 0 0 0 4px rgba(34, 33, 31, .08); border-color: rgba(34, 33, 31, .28); }
  100% { box-shadow: 0 0 0 rgba(20, 19, 17, 0); border-color: var(--line); }
}

@property --delivery-border-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@keyframes deliveryBorderRun {
  to { --delivery-border-angle: 360deg; }
}

.readiness {
  padding: 16px;
  border-radius: 8px;
  background: #f6f4f0;
}

.readiness h3 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 500;
}

.readiness ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
}

.readiness li {
  position: relative;
  padding-left: 22px;
}

.readiness li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .42em;
  width: 9px;
  height: 9px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: #fff;
}

.readiness li.is-done {
  color: var(--ink);
}

.readiness li.is-done::before {
  background: var(--orange);
  border-color: var(--orange);
}

.cart-totals {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}

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

.cart-totals dt {
  color: var(--muted);
}

.cart-totals dd {
  margin: 0;
  font-weight: 500;
}

.delivery-zone-card {
  display: grid;
  gap: 5px;
  margin: -6px 0 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.delivery-zone-card[hidden] {
  display: none;
}

.delivery-zone-card span {
  color: var(--muted);
  font-size: 12px;
}

.delivery-zone-card strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.delivery-zone-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.delivery-zone-free {
  display: grid;
  gap: 8px;
  margin: 12px 0 14px;
  padding: 12px;
  border-radius: 14px;
  background: #f6f3ef;
}

.delivery-zone-free[hidden] {
  display: none;
}

.delivery-zone-free div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.delivery-zone-free span,
.delivery-zone-free strong {
  font-size: 11px;
  line-height: 1.25;
}

.delivery-zone-free strong {
  color: var(--ink);
  white-space: nowrap;
}

.delivery-zone-free i {
  display: block;
  overflow: hidden;
  height: 7px;
  border-radius: 999px;
  background: rgba(34, 33, 31, .09);
}

.delivery-zone-free b {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, #ffc24c 0%, #ff9600 88%);
  transition: width .25s ease;
}

.delivery-zone-free[data-status="done"] strong {
  color: #ff9600;
}

.cart-free-progress {
  box-shadow: inset 0 0 0 1px rgba(34, 33, 31, .04);
}

.delivery-zone-card[data-status="ok"] {
  border-color: rgba(35, 97, 63, .22);
  background: rgba(35, 97, 63, .05);
}

.delivery-zone-card[data-status="warning"] {
  border-color: rgba(159, 45, 24, .22);
  background: rgba(159, 45, 24, .05);
}

.delivery-zone-card[data-status="warning"] strong,
.delivery-zone-card[data-status="warning"] p {
  color: #b42318;
}

.checkout-button.is-disabled-by-delivery {
  background: #b42318;
  color: #fff;
  opacity: .85;
}

.promo-code {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin: -4px 0 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.promo-code label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
}

.promo-code input {
  width: 100%;
  min-width: 0;
  height: 40px;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 11px;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  text-transform: uppercase;
}

.promo-code button {
  align-self: end;
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: #111;
  color: #fff;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.promo-code p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.promo-code p[data-type="success"] {
  color: #23613f;
}

.promo-code p[data-type="error"] {
  color: #9f2d18;
}

.total-row {
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 20px;
}

.checkout-address {
  display: grid;
  gap: 12px;
  margin: -4px 0 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.checkout-options {
  display: grid;
  gap: 12px;
  margin: -4px 0 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.checkout-options__head span,
.checkout-time > span,
.checkout-cutlery > span {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 12px;
}

.checkout-options__head h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
}

.checkout-cutlery {
  display: grid;
  gap: 6px;
}

.checkout-time__scheduled input {
  width: 100%;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.checkout-cutlery__choices {
  display: grid;
  grid-template-columns: minmax(118px, 2.3fr) repeat(5, minmax(36px, 1fr));
  gap: 6px;
}

.checkout-cutlery__choice {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 42px;
  padding: 8px 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8f6f2;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
}

.checkout-cutlery__choice:first-child {
  font-size: 12px;
}

.checkout-cutlery__choice:first-child {
  grid-column: auto;
}

.checkout-cutlery__choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checkout-cutlery__choice.is-selected {
  border-color: #111;
  background: #111;
  color: #fff;
}

.checkout-time {
  display: grid;
  gap: 8px;
  min-width: 0;
}

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

.checkout-time__choice {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8f6f2;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
}

.checkout-time__choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checkout-time__choice.is-selected {
  border-color: #111;
  background: #111;
  color: #fff;
}

.checkout-time__scheduled {
  display: grid;
  grid-template-columns: auto minmax(86px, 118px);
  gap: 8px;
  align-items: start;
  justify-content: start;
  width: max-content;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
  margin-top: -2px;
  padding: 8px;
  border: 1px solid rgba(38, 37, 34, .1);
  border-radius: 8px;
  background: #f8f6f2;
}

.checkout-time__scheduled[hidden] {
  display: none;
}

.checkout-time__scheduled span {
  color: var(--muted);
  font-size: 12px;
}

.checkout-time__scheduled input {
  display: block;
  inline-size: 100%;
  max-inline-size: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 0 11px;
  appearance: none;
  -webkit-appearance: none;
  text-align: left;
}

.checkout-address[hidden],
.checkout-address__form[hidden] {
  display: none;
}

.checkout-address__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.checkout-address__head span {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 12px;
}

.checkout-address__head h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
}

.checkout-address__head button,
.checkout-address__actions button {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 13px;
}

.checkout-address__list {
  display: grid;
  gap: 8px;
}

.checkout-address__empty {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.address-choice-list,
.checkout-address__list {
  display: grid;
  gap: 8px;
}

.address-choice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 6px;
  align-items: center;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8f6f2;
}

.address-choice.is-selected {
  border-color: #111;
  background: #fff;
  box-shadow: 0 8px 22px rgba(20, 19, 17, .06);
}

.address-choice label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  min-width: 0;
  color: var(--ink);
  cursor: pointer;
}

.address-choice input {
  margin-top: 3px;
  accent-color: #111;
}

.address-choice span {
  min-width: 0;
  font-size: 13px;
  line-height: 1.35;
}

.address-choice button {
  min-height: 28px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #9f2d18;
  font-size: 11px;
  cursor: pointer;
}

.account-addresses {
  display: grid;
  gap: 8px;
  margin: 2px 0 12px;
}

.account-addresses > span {
  color: var(--muted);
  font-size: 12px;
}

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

.checkout-address__form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
}

.checkout-address__form input,
.checkout-address__form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.checkout-address__form input {
  height: 40px;
  padding: 0 11px;
}

.checkout-address__form textarea {
  resize: vertical;
  padding: 10px 11px;
}

.checkout-address__wide,
.checkout-address__actions {
  grid-column: 1 / -1;
}

.checkout-address__actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.checkout-button {
  width: 100%;
  min-height: 48px;
  margin-bottom: 12px;
  font-weight: 500;
}

.checkout-upsells {
  display: grid;
  gap: 10px;
  margin: -2px 0 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.checkout-upsells[hidden] {
  display: none;
}

.checkout-upsells__head {
  display: grid;
  gap: 8px;
}

.checkout-upsells__indicator {
  display: block;
  width: 72px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffc24c 0%, #ff9600 88%);
  box-shadow: 0 8px 18px rgba(255, 157, 0, .24);
}

.checkout-upsells__head span {
  color: var(--muted);
  font-size: 12px;
}

.checkout-upsells__head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}

.checkout-upsells__list {
  display: grid;
  gap: 8px;
}

.checkout-upsell {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 38px;
  gap: 9px;
  align-items: center;
  padding: 8px;
  border: 1px solid rgba(34, 33, 31, .08);
  border-radius: 8px;
  background: #f8f6f2;
}

.checkout-upsell img {
  width: 52px;
  height: 52px;
  border-radius: 7px;
  object-fit: cover;
  background: #fff;
}

.checkout-upsell div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.checkout-upsell span,
.checkout-upsell small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
}

.checkout-upsell strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout-upsell button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: #111;
  color: #fff;
  font: inherit;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
    height: auto;
    padding: 18px 20px;
  }

  .home-header {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 10px;
    width: 100%;
    margin-left: 0;
    box-sizing: border-box;
    padding: 10px 14px;
    background: rgba(255, 255, 255, .96);
  }

  .home-header .mobile-menu-toggle {
    display: grid;
  }

  .home-header .logo {
    justify-self: center;
    min-width: 0;
  }

  .home-header .logo span {
    font-size: 25px;
  }

  .home-header .logo em {
    font-size: 18px;
  }

  .main-nav {
    grid-column: 1 / -1;
    order: 3;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .home-header .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 12px;
    right: 12px;
    display: none;
    grid-column: auto;
    order: initial;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    width: auto;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(20, 19, 17, .12);
  }

  body.is-mobile-menu-open .home-header .main-nav {
    display: flex;
  }

  .home-header .main-nav a {
    padding: 12px 10px;
    border-radius: 8px;
    white-space: nowrap;
  }

  .home-header .header-actions {
    gap: 6px;
  }

  .home-header .account-action {
    display: grid;
    place-items: center;
    min-width: 42px;
    min-height: 42px;
    padding: 0 9px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: #111;
    font-family: Manrope, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
  }

  .home-header .nav-delivery-action {
    width: auto;
    min-width: 96px;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 8px;
    background: #111;
    color: #fff;
    font-family: Manrope, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
  }

  .hero {
    min-height: 666px;
  }

  .hero-bg,
  .hero::after {
    top: 16px;
    bottom: 16px;
    width: calc(100% - 32px);
    border-radius: 16px;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, .64), rgba(0, 0, 0, .38) 48%, rgba(0, 0, 0, .12) 100%),
      linear-gradient(180deg, rgba(0, 0, 0, .12), rgba(0, 0, 0, .28));
  }

  .hero-content {
    width: auto;
    padding: 88px 32px 0;
  }

  .hero h1,
  .hero p {
    text-shadow: 0 2px 14px rgba(0, 0, 0, .4);
  }

  .hero p {
    margin-top: 18px;
    color: rgba(255, 255, 255, .96);
  }

  .hero-actions {
    gap: 10px;
    margin-top: 18px;
  }

  .hero-actions .button-ghost {
    border-color: rgba(255, 255, 255, .82);
    background: rgba(0, 0, 0, .42);
    color: #fff;
  }

  .hero-card {
    right: 38px;
    bottom: 45px;
    width: min(360px, calc(100% - 76px));
    padding: 24px 25px;
    border-radius: 14px;
  }

  .section {
    padding: 48px 20px;
  }

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

  .menu-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 26px;
    justify-content: stretch;
  }

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

  .about-gallery figure {
    min-height: 220px;
  }

  .about-gallery figure:nth-child(3) {
    grid-column: 1 / -1;
  }

  .categories {
    display: grid;
    grid-auto-columns: max-content;
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: 8px;
    margin: 20px -20px 0;
    padding: 0 20px 2px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

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

  .menu-intro {
    grid-column: 1 / -1;
    padding-top: 0;
  }

  .dish-card {
    display: flex;
    min-width: 0;
    min-height: 0;
    flex-direction: column;
  }

  .dish-card img {
    height: auto;
    aspect-ratio: 1 / .82;
  }

  .promo div {
    padding: 36px 20px;
  }

  .footer {
    grid-template-columns: 1fr;
    align-items: start;
    padding: 24px 20px;
  }

  .delivery-hero,
  .delivery-layout {
    grid-template-columns: 1fr;
    padding-inline: 20px;
  }

  .delivery-hero {
    padding-top: 46px;
  }

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

  .cart-panel {
    position: static;
  }
}

/* mode eta background */
.delivery-app .mode-button {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  text-align: center;
}

.delivery-app .mode-button::before {
  content: attr(data-eta);
  position: absolute;
  right: -38px;
  bottom: 40px;
  z-index: 0;
  color: currentColor;
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  opacity: .12;
  transform: rotate(-13deg);
  transform-origin: right bottom;
  pointer-events: none;
}

.delivery-app .mode-button span {
  position: relative;
  z-index: 1;
}

.delivery-app .mode-button strong {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.delivery-app .mode-button.is-active::before {
  opacity: .18;
}

@media (max-width: 520px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .home-header {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 8px;
  }

  .logo span {
    font-size: 28px;
  }

  .header-action {
    justify-self: stretch;
  }

  .home-header .header-actions {
    justify-self: end;
  }

  .home-header .account-action {
    min-width: 38px;
    min-height: 40px;
    font-size: 14px;
  }

  .home-header .nav-delivery-action {
    min-width: 88px;
    min-height: 40px;
    padding: 0 10px;
    font-size: 14px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-actions,
  .section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-actions .button {
    width: auto;
    min-width: 0;
    padding: 0 18px;
  }

  .dish-card img {
    aspect-ratio: 1 / .82;
  }

  .delivery-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .delivery-modes {
    width: 100%;
  }

  .mode-button {
    flex: 1;
  }

  .delivery-products,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .delivery-menu-strip {
    grid-auto-columns: 148px;
  }
}


.menu-title-link,
.dish-card,
.categories a {
  color: inherit;
  text-decoration: none;
}

.delivery-product.is-highlighted {
  outline: 2px solid rgba(219, 88, 40, 0.55);
  outline-offset: 4px;
}


.categories > a {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 13px;
  min-height: 54px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
  color: #373430;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(28, 28, 25, .05);
}

.categories > a:hover {
  border-color: rgba(219, 88, 40, .32);
  background: #fff;
}

.categories > a .category-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  object-fit: contain;
}

@media (max-width: 820px) {
  .categories > a {
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: #fff;
    font-size: 13px;
    white-space: nowrap;
  }

  .categories > a .category-icon {
    display: none;
  }

  .dish-card div {
    display: grid;
    min-height: 128px;
    padding: 12px 12px 13px;
  }

  .dish-card h4 {
    margin-bottom: 7px;
    font-size: 14px;
  }

  .dish-card p {
    min-height: 0;
    margin-bottom: 10px;
    font-size: 12px;
  }

  .dish-card strong {
    align-self: end;
    font-size: 16px;
  }
}


.delivery-menu-strip button {
  white-space: nowrap;
}


.delivery-app-toolbar h1 {
  margin: 0;
  font-size: 30px;
  font-weight: 500;
}

.address-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.address-card.is-open {
  display: block;
}

@media (max-width: 820px) {
  body:has(.delivery-app) {
    max-width: none;
    background: #fff;
  }

  .delivery-app-header {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 10px;
    width: 100%;
    margin-left: 0;
    padding: 10px 14px;
    background: rgba(255, 255, 255, .96);
  }

  .delivery-app-header .mobile-menu-toggle {
    display: grid;
  }

  .delivery-app-header .logo {
    justify-self: center;
  }

  .delivery-app-header .logo span {
    font-size: 25px;
  }

  .delivery-app-header .logo em {
    font-size: 18px;
  }

  .delivery-app-header .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 12px;
    right: 12px;
    display: none;
    grid-column: auto;
    order: initial;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(20, 19, 17, .12);
  }

  body.is-mobile-menu-open .delivery-app-header .main-nav {
    display: flex;
  }

  .delivery-app-header .main-nav a {
    padding: 12px 10px;
    border-radius: 8px;
  }

  .delivery-app-header .header-action {
    width: auto;
    min-width: 96px;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 8px;
    background: #111;
    color: #fff;
    font-size: 13px;
  }

  .delivery-app {
    padding-bottom: var(--app-bottom-space);
  }

  .delivery-app .delivery-layout {
    display: block;
    padding: 12px 12px 24px;
  }

  .delivery-app .delivery-toolbar {
    position: sticky;
    top: 63px;
    z-index: 15;
    display: grid;
    gap: 10px;
    margin: 0 -12px 12px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(18px);
  }

  .delivery-app-toolbar h1 {
    font-size: 22px;
  }

  .delivery-app .delivery-modes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    padding: 4px;
    border-radius: 10px;
    background: #f2f0ec;
  }

  .delivery-app .mode-button {
    position: relative;
    display: grid;
    place-items: center;
    isolation: isolate;
    overflow: hidden;
    text-align: center;
    min-height: 50px;
    border-radius: 8px;
    font-size: 14px;
  }

  .delivery-app .mode-button::before {
    content: attr(data-eta);
    position: absolute;
    right: -38px;
    bottom: 40px;
    z-index: 0;
    color: currentColor;
    font-size: 38px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    opacity: .12;
    transform: rotate(-13deg);
    transform-origin: right bottom;
    pointer-events: none;
  }

  .delivery-app .mode-button span {
    position: relative;
    z-index: 1;
  }

  .delivery-app .mode-button strong {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    border: 0;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .delivery-app .mode-button.is-active {
    background: #111;
    color: #fff;
    box-shadow: none;
  }

  .delivery-app .mode-button.is-active::before {
    opacity: .18;
  }

  .delivery-menu-strip {
    grid-auto-columns: max-content;
    gap: 8px;
    margin: 0 -12px 12px;
    padding: 0 12px 2px;
  }

  .delivery-menu-strip button {
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: #fff;
    font-size: 13px;
  }

  .delivery-menu-strip button.is-active {
    border-color: #111;
    background: #111;
    color: #fff;
  }

  .delivery-menu-strip img {
    display: none;
  }

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

  .delivery-app .delivery-product {
    display: flex;
    min-width: 0;
    flex-direction: column;
    border-radius: 10px;
    background: #fff;
  }

  .delivery-app .delivery-product img {
    aspect-ratio: 1 / .82;
  }

  .delivery-app .delivery-product div {
    min-height: 108px;
    padding: 10px 10px 2px;
  }

  .delivery-app .delivery-product > div span {
    display: none;
  }

  .delivery-app .delivery-product h3 {
    margin: 0 0 6px;
    font-size: 15px;
    line-height: 1.2;
  }

  .delivery-app .delivery-product p {
    display: -webkit-box;
    min-height: 50px;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    font-size: 12px;
    line-height: 1.35;
  }

  .delivery-app .delivery-product footer {
    margin-top: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 10px;
  }

  .delivery-app .delivery-product strong {
    font-size: 16px;
  }

  .delivery-app .delivery-product button {
    display: flex;
    width: 100%;
    min-width: 0;
    min-height: 38px;
    border-radius: 8px;
    background: #111;
    color: #fff;
    font-size: 13px;
  }

  .delivery-app .delivery-product button.is-in-cart {
    display: grid;
    grid-template-columns: 28px minmax(62px, 1fr) 28px;
    gap: 4px;
    min-width: 0;
    padding: 0 8px;
    background: #f1eee8;
    color: var(--ink);
  }

  .delivery-app .product-count-action {
    width: 28px;
    min-height: 38px;
    font-size: 17px;
  }

  .delivery-app .delivery-product .product-count-label {
    font-size: 11px;
    line-height: 1;
  }

  .delivery-app .delivery-product button.is-just-added {
    animation: mobileAddPulse .58s ease;
  }

  .delivery-app .product-quantity-control {
    display: grid;
    grid-template-columns: 28px minmax(60px, 1fr) 28px;
    gap: 4px;
    margin: 0;
  }

  .delivery-app .product-quantity-control span {
    display: inline-flex;
    width: 28px;
    min-height: 38px;
  }

  .delivery-app .product-quantity-control strong {
    font-size: 11px;
    line-height: 1;
    white-space: nowrap;
  }

  .delivery-app .address-card {
    margin-top: 12px;
    padding: 16px;
    border-radius: 10px;
  }

  .delivery-app .address-card[hidden] {
    display: none;
  }

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

  .delivery-app .cart-panel {
    position: static;
    margin-top: 12px;
    padding: 16px;
    border-radius: 10px;
  }
}

@media (max-width: 520px) {
  .delivery-app-header.site-header {
    grid-template-columns: 42px minmax(0, 1fr) auto;
  }

  .delivery-app-header .header-action {
    justify-self: end;
  }

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


@media (max-width: 820px) {
  .delivery-app-header .mobile-menu-toggle,
  .home-header .mobile-menu-toggle {
    width: 44px;
    height: 44px;
    border-color: rgba(17, 17, 17, .1);
    border-radius: 12px;
    background: #f8f7f4;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .85);
  }

  .home-header .mobile-menu-toggle {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
  }

  .delivery-app-header .mobile-menu-toggle span,
  .home-header .mobile-menu-toggle span {
    width: 18px;
    height: 2px;
    margin: 2px auto;
    transition: transform .18s ease, opacity .18s ease;
  }

  body.is-mobile-menu-open .mobile-menu-toggle span:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
  }

  body.is-mobile-menu-open .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.is-mobile-menu-open .mobile-menu-toggle span:nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
  }

  .delivery-app .delivery-toolbar {
    left: 0;
    right: 0;
    width: calc(100% + 24px);
    align-items: stretch;
  }

  .delivery-app .delivery-modes {
    width: 100%;
    min-width: 0;
    justify-self: stretch;
  }

  .delivery-app .mode-button {
    width: 100%;
  }

  .delivery-app .delivery-product div {
    min-height: 0;
    padding-bottom: 0;
  }

  .delivery-app .delivery-product p {
    min-height: 0;
  }

  .delivery-app .delivery-product footer {
    padding-top: 8px;
  }

  .checkout-address {
    padding: 12px;
  }

  .checkout-options {
    padding: 12px;
  }

  .checkout-cutlery__choices {
    grid-template-columns: minmax(88px, 1.55fr) repeat(5, minmax(34px, 1fr));
    gap: 5px;
  }

  .checkout-cutlery__choice {
    min-width: 0;
    padding-inline: 4px;
    font-size: 13px;
  }

  .checkout-cutlery__choice:first-child {
    font-size: 11px;
  }

  .promo-code {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .promo-code button {
    width: 100%;
  }

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

  .checkout-time__choice {
    min-width: 0;
    padding-inline: 7px;
    font-size: 12px;
    line-height: 1.15;
  }

  .checkout-time__scheduled {
    grid-template-columns: auto minmax(86px, 118px);
    width: max-content;
    max-width: none;
    min-width: 0;
    overflow: hidden;
  }

  .checkout-time__scheduled input {
    width: 100%;
    max-width: 118px;
  }

  .checkout-address__form,
  .checkout-address__actions {
    grid-template-columns: 1fr;
  }

  .address-choice {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .address-choice button {
    justify-self: end;
  }
}

.address-field {
  position: relative;
}

.address-suggestions {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(20, 19, 17, .14);
}

.address-suggestions button {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-bottom: 1px solid rgba(38, 37, 34, .08);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}

.address-suggestions button:last-child {
  border-bottom: 0;
}

.address-suggestions button:hover,
.address-suggestions button:focus {
  background: #f6f4f0;
  outline: none;
}


@media (max-width: 820px) {
  .delivery-app .delivery-toolbar {
    grid-template-columns: 1fr;
  }

  .delivery-app .delivery-modes {
    grid-column: 1 / -1;
  }
}


.delivery-sections {
  display: grid;
  gap: 28px;
}

.delivery-section {
  scroll-margin-top: 150px;
}

.delivery-section-title {
  margin: 0 0 14px;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.15;
}

@media (min-width: 821px) {
  .delivery-app .delivery-menu-strip {
    position: sticky;
    top: 72px;
    z-index: 16;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    width: calc(100% + 39px);
    max-width: none;
    margin: 0 0 22px -39px;
    padding: 10px 1px 10px 39px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: auto;
    overscroll-behavior-y: auto;
    border-bottom: 1px solid rgba(38, 37, 34, .1);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 10px 22px rgba(20, 19, 17, .06);
    backdrop-filter: blur(18px);
  }

  .delivery-app .delivery-menu-strip button {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0 15px;
    border-radius: 999px;
    background: #fff;
  }

  .delivery-app .delivery-menu-strip button.is-active {
    border-color: #111;
    background: #111;
    color: #fff;
  }

  .delivery-app .delivery-menu-strip img {
    display: none;
  }

  .delivery-app .delivery-section {
    scroll-margin-top: 142px;
  }

  .delivery-app .cart-panel {
    max-height: calc(100vh - 104px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(38, 37, 34, .28) transparent;
  }

  .delivery-app .cart-panel::-webkit-scrollbar {
    width: 6px;
  }

  .delivery-app .cart-panel::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(38, 37, 34, .28);
  }

  .delivery-app .cart-panel .checkout-options {
    overflow: hidden;
    padding: 12px;
  }

  .delivery-app .cart-panel .checkout-cutlery__choices {
    grid-template-columns: minmax(96px, 1.6fr) repeat(5, minmax(30px, 1fr));
    gap: 5px;
  }

  .delivery-app .cart-panel .checkout-cutlery__choice {
    min-width: 0;
    min-height: 40px;
    padding: 6px 4px;
    font-size: 12px;
    line-height: 1.1;
  }

  .delivery-app .cart-panel .checkout-cutlery__choice:first-child {
    font-size: 11px;
  }

  .delivery-app .cart-panel .checkout-fulfillment .delivery-modes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    padding: 3px;
  }

  .delivery-app .cart-panel .checkout-fulfillment .mode-button {
    width: 100%;
    min-width: 0;
    padding: 6px 8px;
  }

  .delivery-app .cart-panel .checkout-time__choices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .delivery-app .cart-panel .checkout-time__choice {
    min-width: 0;
    min-height: 40px;
    padding: 7px 6px;
    font-size: 12px;
    line-height: 1.18;
    overflow-wrap: anywhere;
  }

  .delivery-app .cart-panel .checkout-time__scheduled {
    max-width: 100%;
  }
}

@media (max-width: 820px) {
  .delivery-app-header .mobile-menu-toggle {
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .delivery-sections {
    gap: 22px;
  }

  .delivery-section {
    scroll-margin-top: 156px;
  }

  .delivery-section-title {
    margin-bottom: 10px;
    font-size: 22px;
  }
}


@media (max-width: 820px) {
  .delivery-app .delivery-toolbar {
    padding-bottom: 8px;
  }

  .delivery-app .delivery-menu-strip {
    position: sticky;
    top: 132px;
    z-index: 14;
    margin-top: -2px;
    margin-bottom: 14px;
    padding-top: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(18px);
  }

  .delivery-app-header .mobile-menu-toggle span {
    margin: 1px auto;
  }

  body.is-mobile-menu-open .mobile-menu-toggle span:nth-child(1) {
    transform: translateY(3px) rotate(45deg);
  }

  body.is-mobile-menu-open .mobile-menu-toggle span:nth-child(3) {
    transform: translateY(-3px) rotate(-45deg);
  }

  .delivery-section {
    scroll-margin-top: 188px;
  }
}


@media (max-width: 820px) {
  .delivery-app-header .mobile-menu-toggle,
  .home-header .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
  }

  .delivery-app-header .mobile-menu-toggle span,
  .home-header .mobile-menu-toggle span {
    margin: 0;
  }

  body.is-mobile-menu-open .mobile-menu-toggle span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }

  body.is-mobile-menu-open .mobile-menu-toggle span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }
}


@media (max-width: 820px) {
  .delivery-app .delivery-menu-strip {
    top: 136px;
    z-index: 18;
    margin-left: -12px;
    margin-right: -12px;
    margin-bottom: 20px;
    padding: 10px 12px 12px;
    background: #fff;
    border-top: 1px solid rgba(38, 37, 34, .06);
    border-bottom: 1px solid rgba(38, 37, 34, .1);
    box-shadow: 0 10px 22px rgba(20, 19, 17, .08);
  }

  .delivery-app .delivery-sections {
    padding-top: 2px;
  }

  .delivery-app .delivery-section {
    scroll-margin-top: 200px;
  }
}


@media (max-width: 820px) {
  .delivery-app .delivery-menu-strip {
    margin-bottom: 26px;
    box-shadow:
      0 10px 22px rgba(20, 19, 17, .08),
      0 18px 0 #fff;
  }

  .delivery-app .delivery-section-title {
    padding-top: 4px;
  }
}


@media (max-width: 820px) {
  .delivery-app .delivery-menu-strip {
    width: auto;
    max-width: none;
    margin-left: -12px;
    margin-right: -12px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .footer {
    width: 100%;
    margin-left: 0;
  }
}


.header-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.account-action {
  position: relative;
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.account-status-badge {
  position: absolute;
  right: -5px;
  bottom: -5px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #8b8880;
  box-shadow: 0 5px 14px rgba(20, 19, 17, .18);
}

.account-status-badge img {
  width: 12px;
  height: 12px;
  filter: brightness(0) invert(1);
}

.account-status-badge.is-idle {
  background: #d8d5cd;
}

.account-status-badge.is-idle img {
  filter: none;
  opacity: .72;
}

.account-status-badge.is-accepted {
  background: #4d6f96;
}

.account-status-badge.is-cooking {
  background: #ef7b2d;
}

.account-status-badge.is-ready {
  background: #2f9b62;
}

.account-status-badge.is-delivering {
  background: #2f7fd3;
}

.account-action svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.account-page-main {
  max-width: 1235px;
  margin: 0 auto;
  padding: 44px 38px 72px;
}

.account-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.account-page-hero span,
.account-page-panel > span,
.account-page-section-head span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
}

.account-page-hero h1,
.account-page-panel h2 {
  margin: 0;
  font-weight: 500;
  line-height: 1.12;
}

.account-page-hero h1 {
  font-size: clamp(34px, 5vw, 58px);
}

.account-page-hero p,
.account-page-panel p,
.account-page-address small,
.account-order-card small {
  color: var(--muted);
  line-height: 1.45;
}

.account-page-button,
.account-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: #111;
  color: #fff;
  font: inherit;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
}

.account-page-link {
  margin-top: 16px;
}

.account-page-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.account-page-actions .account-page-link {
  width: 100%;
  margin-top: 0;
}

.account-page-actions--address {
  margin-top: 18px;
}

.account-logout-inline {
  border: 1px solid rgba(17, 17, 17, .12);
  background: #f4f2ee;
  color: #3a3732;
}

.account-page-link-secondary {
  border: 1px solid rgba(17, 17, 17, .12);
  background: #f4f2ee;
  color: #3a3732;
}

.account-page-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 18px;
  margin-bottom: 18px;
}

.account-current-order {
  display: grid;
  gap: 20px;
  margin-bottom: 18px;
  padding: 24px;
  border: 1px solid rgba(17, 17, 17, .08);
  border-radius: 14px;
  background: #111;
  color: #fff;
  overflow: hidden;
  scroll-margin-top: 92px;
}

.account-current-order.is-empty {
  background: #fff;
  color: var(--ink);
}

.account-current-order__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
}

.account-current-order__top span,
.account-current-order__details span {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, .62);
  font-size: 13px;
}

.account-current-order.is-empty p,
.account-current-order.is-empty span {
  color: var(--muted);
}

.account-current-order__top h2,
.account-current-order h2 {
  margin: 0;
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 500;
  line-height: 1.05;
}

.account-current-order__top > strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  font-size: 15px;
  white-space: nowrap;
}

.account-readiness {
  --active-step: 1;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.account-readiness::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 18px;
  height: 2px;
  background: rgba(255, 255, 255, .18);
}

.account-readiness::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 18px;
  width: calc((100% - 36px) * max(0, calc(var(--active-step) - 1)) / 3);
  height: 2px;
  background: #fff;
  transition: width .25s ease;
}

.account-readiness li {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 0;
  color: rgba(255, 255, 255, .48);
  text-align: center;
}

.account-readiness li span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #34322f;
  color: rgba(255, 255, 255, .62);
  font-size: 13px;
  font-weight: 700;
}

.account-readiness li strong {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
}

.account-readiness li.is-done {
  color: #fff;
}

.account-readiness li.is-done span {
  background: #fff;
  color: #111;
}

.account-current-order__details {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) .5fr minmax(0, 1fr);
  gap: 12px;
  padding-top: 2px;
}

.account-current-order__details div {
  min-width: 0;
  padding: 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
}

.account-current-order__details p {
  margin: 0;
  line-height: 1.35;
}

.account-page-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  scroll-margin-top: 92px;
}

.account-page-address {
  display: grid;
  gap: 5px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.account-page-address:first-of-type {
  border-top: 0;
}

.account-page-section-head,
.account-order-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.account-page-section-head {
  margin-bottom: 14px;
}

.account-page-section-head a {
  color: var(--ink);
  font-size: 14px;
  text-decoration: none;
}

.account-pagination {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.account-pagination a,
.account-pagination span,
.account-pagination strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-size: 13px;
  text-decoration: none;
}

.account-pagination span {
  color: var(--muted);
  background: #f8f7f4;
}

.account-pagination strong {
  border-color: transparent;
  font-weight: 500;
}

.account-order-card {
  grid-template-columns: 1fr .8fr 1fr;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.account-order-card strong,
.account-order-card span,
.account-order-card small {
  display: block;
}

.account-empty-panel {
  max-width: 620px;
}

.account-profile-main {
  max-width: 920px;
}

.account-profile-layout {
  display: grid;
  gap: 18px;
}

.account-profile-form.account-step.is-active,
.account-profile-address-form.account-step.is-active {
  margin-top: 12px;
}

.account-profile-message {
  margin-top: 12px;
}

.account-profile-actions-panel {
  display: grid;
  gap: 14px;
}

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

.account-profile-secondary {
  width: 100%;
  margin-top: 0;
}

.account-add-address {
  width: 100%;
  min-height: 42px;
  border: 1px dashed rgba(17, 17, 17, .28);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.account-address-fields {
  display: grid;
  gap: 12px;
}

.account-address-fields[hidden] {
  display: none;
}

.account-modal[hidden],
.account-step {
  display: none;
}

.account-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 18px;
  overflow-x: hidden;
}

.account-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 14, 12, .42);
}

.account-modal__panel {
  position: relative;
  z-index: 1;
  width: min(460px, calc(100vw - 36px));
  max-height: min(720px, calc(100vh - 36px));
  overflow: auto;
  box-sizing: border-box;
  padding: 24px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(20, 19, 17, .2);
}

.account-modal__close {
  position: sticky;
  top: 0;
  right: 0;
  z-index: 3;
  float: right;
  width: 34px;
  height: 34px;
  margin: -10px -8px 0 10px;
  border: 0;
  border-radius: 50%;
  background: #f3f1ed;
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.account-modal__eyebrow,
.account-modal__text,
.account-modal__message {
  color: var(--muted);
  font-size: 14px;
}

.account-modal__text a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 8px 0 2px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.account-call-instruction,
.account-call-hint {
  display: block;
}

.account-call-instruction {
  margin: 12px 0 10px;
}

.account-modal__text .account-call-number {
  width: 100%;
  min-height: 64px;
  margin: 12px 0;
  padding: 0 22px;
  border-radius: 22px;
  box-shadow: 0 16px 32px rgba(17, 17, 17, .18);
  font-size: 26px;
  letter-spacing: .02em;
}

.account-call-hint {
  max-width: 520px;
}

.account-modal h2 {
  margin: 8px 40px 8px 0;
  font-size: 30px;
  font-weight: 500;
}

.account-step.is-active {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.account-step.is-wait-call {
  margin-top: 0;
}

.account-step.is-wait-call label,
.account-step.is-wait-call button[type="submit"] {
  display: none !important;
}

.account-step label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
}

.account-step input,
.account-step textarea {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.2;
}

.account-step input {
  height: 44px;
  padding: 0 14px;
}

.account-step textarea {
  resize: vertical;
  padding: 12px 14px;
}

.account-step button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: #111;
  color: #fff;
  font: inherit;
  cursor: pointer;
}

.account-step .account-logout {
  background: #f3f1ed;
  color: var(--ink);
}

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

.account-modal__message {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f6f4f0;
}

.account-modal__message[data-type="error"] {
  background: rgba(210, 82, 48, .1);
  color: #9f2d18;
}

.account-modal__message[data-type="success"] {
  background: rgba(45, 132, 85, .11);
  color: #23613f;
}

@media (max-width: 820px) {
  .account-page-main {
    padding: 22px 12px 52px;
  }

  .account-page-hero,
  .account-page-grid,
  .account-current-order__top,
  .account-current-order__details,
  .account-order-card {
    grid-template-columns: 1fr;
  }

  .account-page-hero,
  .account-page-panel,
  .account-current-order {
    padding: 18px;
    border-radius: 10px;
  }

  .account-page-hero {
    margin-bottom: 12px;
  }

  .account-current-order {
    gap: 18px;
  }

  .account-current-order__top > strong {
    width: 100%;
    box-sizing: border-box;
  }

  .account-readiness {
    gap: 4px;
  }

  .account-readiness li strong {
    font-size: 11px;
  }

  .account-page-button,
  .account-page-link {
    width: 100%;
  }

  .account-page-actions {
    grid-template-columns: 1fr;
  }

  .account-profile-actions {
    grid-template-columns: 1fr;
  }

  .delivery-app-header {
    grid-template-columns: 42px minmax(0, 1fr) auto;
  }

  .header-actions {
    gap: 6px;
  }

  .account-action {
    min-width: 42px;
    min-height: 42px;
    padding: 0;
    border-radius: 8px;
    font-size: 13px;
  }

  .delivery-app-header .header-action {
    min-width: 88px;
  }

  .account-modal {
    align-items: end;
    padding: 0;
  }

  .account-modal__panel {
    width: calc(100vw - 16px);
    max-width: calc(100vw - 16px);
    max-height: calc(100vh - 18px);
    border-radius: 18px 18px 0 0;
    padding: 22px 18px 24px;
  }
}

.delivery-app .delivery-modes {
  width: min(100%, 330px);
  margin-inline: auto;
}

.delivery-app .mode-button {
  min-height: 40px;
  padding: 0 16px;
}

.delivery-app .mode-button::before,
.delivery-app .mode-button.is-active::before {
  content: none;
  display: none;
}

.delivery-app .mode-button span {
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 820px) {
  .delivery-app .delivery-modes {
    width: min(100%, 320px);
  }

  .delivery-app .mode-button {
    min-height: 40px;
    padding: 0 14px;
  }
}

@media (max-width: 820px) {
  .delivery-app .delivery-toolbar {
    gap: 6px;
    margin-bottom: 4px;
    padding-top: 6px;
    padding-bottom: 4px;
  }

  .delivery-app .delivery-modes {
    width: min(100%, 300px);
    padding: 3px;
    border-radius: 9px;
  }

  .delivery-app .mode-button {
    min-height: 36px;
    padding: 0 12px;
    border-radius: 7px;
    font-size: 13px;
  }

  .delivery-app .mode-button span {
    font-size: 13px;
    line-height: 1;
  }

  .delivery-app .delivery-menu-strip {
    margin-top: 0;
    margin-bottom: 8px;
    padding-top: 4px;
    padding-bottom: 6px;
  }
}

@media (max-width: 380px) {
  .delivery-app .delivery-modes {
    width: min(100%, 286px);
  }
}

.checkout-fulfillment {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.checkout-fulfillment > span {
  color: var(--muted);
  font-size: 12px;
}

.checkout-fulfillment .delivery-modes {
  width: 100%;
  margin-inline: 0;
}

.checkout-fulfillment .mode-button {
  min-height: 42px;
  gap: 0;
  padding: 6px 12px;
}

.checkout-fulfillment .mode-button strong {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  clip: auto;
  color: currentColor;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  opacity: .72;
}

.checkout-fulfillment .mode-button.is-active strong {
  opacity: .9;
}

@media (max-width: 820px) {
  .delivery-app .delivery-toolbar {
    display: none;
  }

  .delivery-app .delivery-menu-strip {
    position: sticky;
    top: 63px;
    z-index: 15;
    margin: 0 -12px 12px;
    padding: 8px 12px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(18px);
  }

  .delivery-section {
    scroll-margin-top: 132px;
  }

  .checkout-fulfillment {
    margin-top: 10px;
  }

  .checkout-fulfillment .mode-button {
    min-height: 40px;
    padding: 6px 10px;
  }
}

.delivery-app .delivery-product button[data-add].is-in-cart {
  display: grid !important;
  grid-template-columns: 30px minmax(76px, 1fr) 30px;
  align-items: center;
  justify-items: center;
  gap: 3px;
  width: 154px;
  min-width: 154px;
  min-height: 40px;
  padding: 0 8px;
  white-space: nowrap;
}

.delivery-app .delivery-product button[data-add].is-in-cart .product-count-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  min-height: 40px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
}

.delivery-app .delivery-product button[data-add].is-in-cart .product-count-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 40px;
  overflow: hidden;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 820px) {
  .delivery-app .delivery-product button[data-add].is-in-cart {
    grid-template-columns: 28px minmax(62px, 1fr) 28px;
    width: 100%;
    min-width: 0;
    gap: 4px;
    padding: 0 8px;
  }

  .delivery-app .delivery-product button[data-add].is-in-cart .product-count-action {
    width: 28px;
    min-height: 38px;
    font-size: 17px;
  }

  .delivery-app .delivery-product button[data-add].is-in-cart .product-count-label {
    min-height: 38px;
    font-size: 11px;
  }
}

.legal-links {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.legal-links a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-main {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  width: 100vw;
  min-height: calc(100vh - 140px);
  margin-left: calc(50% - 50vw);
  padding: 34px 39px 70px;
  background: #f8f6f2;
}

@media (min-width: 1236px) {
  .legal-main {
    padding-inline: calc((100vw - 1235px) / 2 + 39px);
  }
}

.legal-sidebar,
.legal-document {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.legal-sidebar {
  position: sticky;
  top: 92px;
  align-self: start;
  display: grid;
  gap: 6px;
  padding: 16px;
}

.legal-sidebar span,
.legal-eyebrow {
  color: var(--muted);
  font-size: 13px;
}

.legal-sidebar a {
  padding: 11px 12px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 14px;
}

.legal-sidebar a.is-active {
  background: #111;
  color: #fff;
}

.legal-document {
  padding: clamp(22px, 4vw, 42px);
}

.legal-document h1 {
  max-width: 780px;
  margin: 10px 0 14px;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 500;
  line-height: 1.08;
}

.legal-lead {
  max-width: 760px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.legal-document section {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.legal-document h2 {
  margin: 0 0 12px;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 500;
  line-height: 1.2;
}

.legal-document p,
.legal-document li,
.legal-document dd {
  color: #4c4944;
  font-size: 15px;
  line-height: 1.62;
}

.legal-document ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.legal-document a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.legal-requisites div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #faf9f6;
}

.legal-requisites dt {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
}

.legal-requisites dd {
  margin: 0;
}

.legal-note,
.account-consent,
.checkout-legal-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.account-consent {
  margin: -2px 0 0;
}

.checkout-legal-note {
  margin: 12px 0 10px;
}

.account-consent a,
.checkout-legal-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 100;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  width: min(720px, calc(100vw - 24px));
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 18px 50px rgba(20, 19, 17, .16);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 0;
  color: #4c4944;
  font-size: 13px;
  line-height: 1.45;
}

.cookie-banner a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner button {
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: #111;
  color: #fff;
  font: inherit;
  cursor: pointer;
}

@media (max-width: 820px) {
  .legal-main {
    grid-template-columns: 1fr;
    padding: 18px 12px 54px;
  }

  .legal-sidebar {
    position: static;
    display: flex;
    overflow-x: auto;
    border-radius: 10px;
  }

  .legal-sidebar a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .legal-document {
    padding: 20px 16px;
  }

  .legal-requisites {
    grid-template-columns: 1fr;
  }

  .legal-links {
    gap: 8px 12px;
    padding-top: 12px;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
    bottom: 10px;
    border-radius: 10px;
  }

  .cookie-banner button {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .dish-modal {
    align-items: end;
    padding: 10px;
  }

  .dish-modal__panel {
    grid-template-columns: 1fr;
    width: 100%;
    max-height: calc(100dvh - 20px);
    border-radius: 18px 18px 0 0;
  }

  .dish-modal__media img {
    min-height: 0;
    max-height: 42dvh;
    aspect-ratio: 1 / .76;
  }

  .dish-modal__body {
    max-height: 58dvh;
    padding: 18px 16px 16px;
  }

  .dish-modal h2 {
    font-size: 28px;
  }

  .dish-modal p {
    font-size: 15px;
  }

  .dish-modal__nutrition > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dish-modal__footer {
    position: sticky;
    bottom: -16px;
    margin-inline: -16px;
    padding: 12px 16px 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .86), #fff 28%);
  }

  .dish-modal__footer button {
    flex: 1;
    min-width: 0;
    font-size: 16px;
  }
}

.delivery-app .delivery-product {
  position: relative;
  border: 0;
  box-shadow: none;
}

.delivery-app .delivery-product .product-media {
  position: relative;
  overflow: hidden;
  min-height: 0;
  padding: 0;
}

.delivery-app .delivery-product .product-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgb(255 255 255 / 62%));
  pointer-events: none;
}

.delivery-app .delivery-product .product-media img {
  display: block;
  width: 100%;
}

.delivery-app .delivery-product .product-category {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  max-width: calc(100% - 108px);
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  color: rgba(0, 0, 0, .72);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.delivery-app .delivery-product .product-weight {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  max-width: 84px;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(34, 33, 31, .86);
  color: #090909;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.delivery-app .delivery-product h3 {
  position: absolute;
  right: 12px;
  bottom: 10px;
  left: 12px;
  z-index: 3;
  display: block;
  margin: 0;
  overflow: hidden;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: none;
  white-space: nowrap;
}

.delivery-app .delivery-product .product-media .product-weight {
  color: #fff;
}

.delivery-app .delivery-product h3 span {
  display: inline-block;
  min-width: 100%;
  color: #090909;
  will-change: transform;
}

.delivery-app .delivery-product .product-media h3,
.delivery-app .delivery-product .product-media h3 span {
  color: #090909;
}

.delivery-app .delivery-product.has-title-marquee h3 span {
  min-width: max-content;
  padding-right: 44px;
  animation: productTitleMarquee 7s linear infinite;
}

.delivery-app .delivery-product.has-title-marquee h3 span::after {
  content: attr(data-title);
  padding-left: 44px;
}

.delivery-app .delivery-product p {
  display: none;
}

.delivery-app .delivery-product .product-body {
  min-height: 0;
  padding: 0;
}

.delivery-app .delivery-product footer {
  display: block;
  padding: 8px 0px 14px;
}

@keyframes productTitleMarquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.delivery-app .delivery-product button[data-add] {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid #e8e7e7;
  border-radius: 4px;
  background: transparent;
  color: #000;
  cursor: pointer;
  font-family: system-ui, -apple-system, system-ui, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  touch-action: manipulation;
  transition: all .2s ease-in;
  user-select: none;
  -webkit-user-select: none;
  vertical-align: baseline;
  z-index: 1;
}

.delivery-app .delivery-product button[data-add] strong {
  position: relative;
  z-index: 2;
  font-size: inherit;
  font-weight: 700;
}

.delivery-app .delivery-product button[data-add] > span {
  position: relative;
  z-index: 2;
}

.delivery-app .delivery-product button[data-add]::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  z-index: -1;
  display: block;
  width: 140%;
  height: 180%;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, .05);
  transform: translateX(-50%) scaleY(1) scaleX(1.25);
  transition: all .5s .1s cubic-bezier(.55, 0, .1, 1);
}

.delivery-app .delivery-product button[data-add]::after {
  content: "";
  position: absolute;
  left: 55%;
  top: 180%;
  z-index: -1;
  display: block;
  width: 160%;
  height: 190%;
  border-radius: 50%;
  background-color: #111;
  transform: translateX(-50%) scaleY(1) scaleX(1.45);
  transition: all .5s .1s cubic-bezier(.55, 0, .1, 1);
}

.delivery-app .delivery-product button[data-add]:hover,
.delivery-app .delivery-product button[data-add]:focus-visible {
  border-color: #111;
  color: #fff;
}

.delivery-app .delivery-product button[data-add]:hover::before,
.delivery-app .delivery-product button[data-add]:focus-visible::before {
  top: -35%;
  background-color: #111;
  transform: translateX(-50%) scaleY(1.3) scaleX(.8);
}

.delivery-app .delivery-product button[data-add]:hover::after,
.delivery-app .delivery-product button[data-add]:focus-visible::after {
  top: -45%;
  background-color: #111;
  transform: translateX(-50%) scaleY(1.3) scaleX(.8);
}

.delivery-app .delivery-product button[data-add].is-in-cart {
  width: 100%;
  min-width: 0;
  border-color: #4f4f4f;
  background: transparent;
  color: #000;
}

@media (max-width: 820px) {
  .delivery-app .delivery-product .product-category {
    display: inline-flex;
    top: 8px;
    left: 8px;
    max-width: calc(100% - 88px);
    min-height: 24px;
    padding: 4px 8px;
    font-size: 11px;
  }

  .delivery-app .delivery-product .product-weight {
    top: 8px;
    right: 8px;
    min-height: 24px;
    max-width: 72px;
    padding: 4px 8px;
    font-size: 11px;
  }

  .delivery-app .delivery-product h3 {
    right: 8px;
    bottom: 8px;
    left: 8px;
    font-size: 14px;
  }

  .delivery-app .delivery-product h3 span,
  .delivery-app .delivery-product.has-title-marquee h3 span {
    font-size: inherit;
  }

  .delivery-app .delivery-product footer {
    padding: 8px 0px 14px;
  }

  .delivery-app .delivery-product button[data-add] {
    min-height: 44px;
    padding: 10px 12px;
    font-size: 14px;
  }
}

.delivery-app .delivery-products {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 1180px) {
  .delivery-app .delivery-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.delivery-app .delivery-product {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 0;
  border-radius: 36px;
  background: #fff;
  box-shadow: 0 22px 54px rgba(31, 31, 31, .14);
  padding: clamp(24px, 3.2vw, 44px);
  transition: transform .2s ease, box-shadow .2s ease;
}

.delivery-app .delivery-product[data-product-card]:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 68px rgba(31, 31, 31, .18);
}

.delivery-app .delivery-product .product-media {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  overflow: visible;
  padding: 0;
}

.delivery-app .delivery-product .product-media::after {
  display: none;
}

.delivery-app .delivery-product .product-media img {
  display: block;
  width: min(82%, 430px);
  max-width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 50%;
  margin: clamp(64px, 8vw, 88px) auto clamp(30px, 4vw, 46px);
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, .12));
}

.delivery-app .delivery-product .product-category {
  position: absolute;
  top: 6px;
  left: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100% - 160px);
  min-height: 46px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #746f6b;
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 500;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.delivery-app .delivery-product .product-category::before {
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  width: clamp(34px, 3.2vw, 46px);
  height: clamp(34px, 3.2vw, 46px);
  background: #ad8428;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 31h34c0 13-8 21-17 21s-17-8-17-21Z'/%3E%3Cpath d='M11 52h42'/%3E%3Cpath d='M22 8c-4 5 4 7 0 12'/%3E%3Cpath d='M32 8c-4 5 4 7 0 12'/%3E%3Cpath d='M42 8c-4 5 4 7 0 12'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 31h34c0 13-8 21-17 21s-17-8-17-21Z'/%3E%3Cpath d='M11 52h42'/%3E%3Cpath d='M22 8c-4 5 4 7 0 12'/%3E%3Cpath d='M32 8c-4 5 4 7 0 12'/%3E%3Cpath d='M42 8c-4 5 4 7 0 12'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

.delivery-app .delivery-product .product-weight {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(54px, 5.3vw, 74px);
  min-width: clamp(112px, 10vw, 156px);
  padding: 12px 24px;
  border: 0;
  border-radius: 999px;
  background: #242424;
  color: #fff;
  font-size: clamp(24px, 2.5vw, 40px);
  font-weight: 800;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.delivery-app .delivery-product .product-media .product-weight {
  color: #fff;
}

.delivery-app .delivery-product h3 {
  position: static;
  z-index: 1;
  display: block;
  width: 100%;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  color: #202020;
  font-size: clamp(34px, 4.8vw, 68px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.04;
  white-space: nowrap;
}

.delivery-app .delivery-product h3 span,
.delivery-app .delivery-product .product-media h3,
.delivery-app .delivery-product .product-media h3 span {
  display: inline-block;
  min-width: 0;
  color: #202020;
  font-size: inherit;
  line-height: inherit;
  text-shadow: none;
}

.delivery-app .delivery-product.has-title-marquee h3 span {
  min-width: max-content;
  padding-right: 52px;
  animation: productTitleMarquee 7s linear infinite;
}

.delivery-app .delivery-product.has-title-marquee h3 span::after {
  content: attr(data-title);
  padding-left: 52px;
}

.delivery-app .delivery-product .product-body {
  display: none;
}

.delivery-app .delivery-product footer {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(150px, 1.25fr);
  align-items: center;
  gap: clamp(18px, 2.6vw, 36px);
  margin-top: clamp(30px, 4vw, 56px);
  padding: 0;
}

.delivery-app .delivery-product .product-price {
  display: block;
  min-width: 0;
  color: #202020;
  font-size: clamp(42px, 5.5vw, 78px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

.delivery-app .delivery-product button[data-add] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.4vw, 34px);
  width: 100%;
  min-width: 0;
  min-height: clamp(70px, 7.5vw, 112px);
  padding: 16px clamp(24px, 4vw, 52px);
  border: 0;
  border-radius: clamp(24px, 3vw, 34px);
  background: linear-gradient(135deg, #ffc24c 0%, #ff9600 88%);
  box-shadow: 0 18px 34px rgba(255, 157, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .42);
  color: #fff;
  cursor: pointer;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(26px, 3.2vw, 48px);
  font-weight: 700;
  line-height: 1;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
  user-select: none;
  -webkit-user-select: none;
  z-index: 1;
}

.delivery-app .delivery-product button[data-add]::before,
.delivery-app .delivery-product button[data-add]::after {
  display: none;
}

.delivery-app .delivery-product button[data-add] > span,
.delivery-app .delivery-product button[data-add] strong {
  position: relative;
  z-index: 2;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1;
}

.delivery-app .delivery-product button[data-add] .product-add-plus {
  font-size: 1.08em;
  font-weight: 400;
}

.delivery-app .delivery-product button[data-add]:hover,
.delivery-app .delivery-product button[data-add]:focus-visible {
  border-color: transparent;
  color: #fff;
  filter: saturate(1.05);
  transform: translateY(-1px);
  box-shadow: 0 22px 42px rgba(255, 157, 0, .34), inset 0 1px 0 rgba(255, 255, 255, .48);
}

.delivery-app .delivery-product button[data-add]:active {
  transform: translateY(0);
  box-shadow: 0 10px 24px rgba(255, 157, 0, .24), inset 0 2px 8px rgba(126, 75, 0, .18);
}

.delivery-app .delivery-product button[data-add].is-in-cart {
  display: grid !important;
  grid-template-columns: clamp(34px, 3vw, 46px) minmax(0, 1fr) clamp(34px, 3vw, 46px);
  gap: 8px;
  min-width: 0;
  border: 0;
  background: linear-gradient(135deg, #ffc24c 0%, #ff9600 88%);
  color: #fff;
}

.delivery-app .delivery-product button[data-add].is-in-cart .product-count-action,
.delivery-app .delivery-product button[data-add].is-in-cart .product-count-label {
  min-height: 0;
  color: #fff;
  font-size: clamp(18px, 2vw, 30px);
}

@media (max-width: 820px) {
  .delivery-app .delivery-products {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .delivery-app .delivery-product {
    border-radius: 28px;
    padding: 22px;
  }

  .delivery-app .delivery-product .product-media img {
    width: min(84%, 360px);
    margin: 58px auto 28px;
  }

  .delivery-app .delivery-product .product-category {
    top: 2px;
    left: 0;
    max-width: calc(100% - 118px);
    min-height: 36px;
    font-size: 22px;
  }

  .delivery-app .delivery-product .product-weight {
    top: 0;
    right: 0;
    min-width: 96px;
    min-height: 46px;
    padding: 10px 18px;
    font-size: 22px;
  }

  .delivery-app .delivery-product h3 {
    font-size: clamp(32px, 10vw, 52px);
  }

  .delivery-app .delivery-product footer {
    grid-template-columns: minmax(0, .75fr) minmax(150px, 1fr);
    gap: 16px;
    margin-top: 28px;
    padding: 0;
  }

  .delivery-app .delivery-product .product-price {
    font-size: clamp(40px, 12vw, 62px);
  }

  .delivery-app .delivery-product button[data-add] {
    min-height: 70px;
    border-radius: 24px;
    padding: 14px 22px;
    font-size: clamp(24px, 7vw, 38px);
  }
}

@media (max-width: 430px) {
  .delivery-app .delivery-product {
    border-radius: 24px;
    padding: 18px;
  }

  .delivery-app .delivery-product .product-media img {
    width: min(88%, 300px);
    margin: 52px auto 24px;
  }

  .delivery-app .delivery-product .product-category {
    gap: 8px;
    font-size: 18px;
  }

  .delivery-app .delivery-product .product-weight {
    min-width: 82px;
    min-height: 40px;
    padding: 8px 14px;
    font-size: 18px;
  }

  .delivery-app .delivery-product h3 {
    font-size: clamp(28px, 9.2vw, 40px);
  }

  .delivery-app .delivery-product footer {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .delivery-app .delivery-product .product-price {
    font-size: clamp(40px, 13vw, 56px);
  }
}

@media (min-width: 1181px) {
  .delivery-app .delivery-products {
    gap: 22px;
  }

  .delivery-app .delivery-product {
    border-radius: 24px;
    padding: 22px 20px;
  }

  .delivery-app .delivery-product .product-media img {
    width: min(78%, 230px);
    margin: 58px auto 24px;
  }

  .delivery-app .delivery-product .product-category {
    top: 4px;
    left: 0;
    max-width: calc(100% - 112px);
    min-height: 34px;
    gap: 8px;
    font-size: 18px;
  }

  .delivery-app .delivery-product .product-category::before {
    width: 28px;
    height: 28px;
  }

  .delivery-app .delivery-product .product-weight {
    min-width: 94px;
    min-height: 44px;
    padding: 9px 16px;
    font-size: 22px;
  }

  .delivery-app .delivery-product h3 {
    display: -webkit-box;
    min-height: 50px;
    overflow: hidden;
    font-size: 18px;
    line-height: 1.35;
    white-space: normal;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .delivery-app .delivery-product footer {
    grid-template-columns: minmax(76px, .55fr) minmax(122px, .85fr);
    gap: 10px;
    margin-top: 18px;
  }

  .delivery-app .delivery-product .product-price {
    font-size: clamp(28px, 2.45vw, 34px);
  }

  .delivery-app .delivery-product button[data-add] {
    min-height: 54px;
    border-radius: 18px;
    padding: 10px 14px;
    gap: 10px;
    font-size: clamp(17px, 1.55vw, 21px);
  }

  .delivery-app .delivery-product.has-title-marquee h3 span {
    min-width: 0;
    padding-right: 0;
    animation: none;
    white-space: normal;
  }

  .delivery-app .delivery-product.has-title-marquee h3 span::after {
    content: none;
  }

  .delivery-app .delivery-product button[data-add].is-in-cart {
    grid-template-columns: 28px minmax(0, 1fr) 28px;
  }

  .delivery-app .delivery-product button[data-add].is-in-cart .product-count-action,
  .delivery-app .delivery-product button[data-add].is-in-cart .product-count-label {
    font-size: 15px;
  }
}

/* Final product card proportions: scaled from the provided reference for a 3-column grid. */
.delivery-app .delivery-products {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
}

.delivery-app .delivery-product {
  display: flex;
  flex-direction: column;
  min-width: 0;
  aspect-ratio: 0.72 / 1;
  overflow: hidden;
  border: 0;
  border-radius: clamp(24px, 2.6vw, 34px);
  background: #fff;
  box-shadow: 0 20px 48px rgba(30, 30, 30, .13);
  padding: clamp(18px, 2.15vw, 34px);
}

.delivery-app .delivery-product .product-media {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  overflow: visible;
  padding: 0;
}

.delivery-app .delivery-product .product-media::after {
  display: none;
}

.delivery-app .delivery-product .product-media img {
  width: 78%;
  max-width: none;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 50%;
  margin: 18% auto 8%;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, .12));
}

.delivery-app .delivery-product .product-category {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: .45em;
  max-width: calc(100% - 37%);
  min-height: 12%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  color: #746f6b;
  font-size: clamp(16px, 2.15vw, 32px);
  font-weight: 500;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.delivery-app .delivery-product .product-category::before {
  width: 1.25em;
  height: 1.25em;
}

.delivery-app .delivery-product .product-weight {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32%;
  min-height: 12%;
  padding: .35em .7em;
  border: 0;
  border-radius: 999px;
  background: #242424;
  color: #fff;
  font-size: clamp(18px, 2.3vw, 36px);
  font-weight: 800;
  line-height: 1;
}

.delivery-app .delivery-product .product-media .product-weight {
  color: #fff;
}

.delivery-app .delivery-product h3 {
  position: static;
  display: block;
  min-height: 2.12em;
  margin: 0;
  overflow: hidden;
  color: #202020;
  font-size: clamp(24px, 4.65vw, 64px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.06;
  white-space: normal;
}

.delivery-app .delivery-product h3 span,
.delivery-app .delivery-product .product-media h3,
.delivery-app .delivery-product .product-media h3 span {
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  color: #202020;
  font-size: inherit;
  line-height: inherit;
  text-shadow: none;
  white-space: normal;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.delivery-app .delivery-product.has-title-marquee h3 span {
  min-width: 0;
  padding-right: 0;
  animation: none;
}

.delivery-app .delivery-product.has-title-marquee h3 span::after {
  content: none;
}

.delivery-app .delivery-product .product-body {
  display: none;
}

.delivery-app .delivery-product footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(8px, 1.2vw, 20px);
  margin-top: auto;
  padding: 0;
}

.delivery-app .delivery-product .product-price {
  flex: 0 1 38%;
  min-width: 0;
  color: #202020;
  font-size: clamp(31px, 5.9vw, 76px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

.delivery-app .delivery-product button[data-add] {
  flex: 0 1 56%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  width: auto;
  min-width: 0;
  min-height: clamp(54px, 7.45vw, 106px);
  padding: .42em .62em;
  border: 0;
  border-radius: clamp(18px, 2.5vw, 32px);
  background: linear-gradient(135deg, #ffc24c 0%, #ff9600 88%);
  box-shadow: 0 16px 32px rgba(255, 157, 0, .27), inset 0 1px 0 rgba(255, 255, 255, .42);
  color: #fff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(18px, 3.2vw, 46px);
  font-weight: 700;
  line-height: 1;
}

.delivery-app .delivery-product button[data-add]::before,
.delivery-app .delivery-product button[data-add]::after {
  display: none;
}

.delivery-app .delivery-product button[data-add] > span,
.delivery-app .delivery-product button[data-add] strong {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1;
}

.delivery-app .delivery-product button[data-add] .product-add-plus {
  flex: 0 0 auto;
  font-size: 1.08em;
  font-weight: 400;
}

.delivery-app .delivery-product button[data-add].is-in-cart {
  flex-basis: 56%;
  display: grid !important;
  grid-template-columns: 1.1em minmax(0, 1fr) 1.1em;
  gap: .25em;
  background: linear-gradient(135deg, #ffc24c 0%, #ff9600 88%);
  color: #fff;
}

.delivery-app .delivery-product button[data-add].is-in-cart .product-count-action,
.delivery-app .delivery-product button[data-add].is-in-cart .product-count-label {
  color: #fff;
  font-size: clamp(13px, 1.45vw, 22px);
}

@media (max-width: 1180px) {
  .delivery-app .delivery-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .delivery-app .delivery-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .delivery-app .delivery-product {
    min-height: 0;
    aspect-ratio: auto;
    border-radius: 18px;
    padding: 12px;
  }

  .delivery-app .delivery-product .product-media img {
    width: 82%;
    max-width: 140px;
    margin: 44px auto 16px;
  }

  .delivery-app .delivery-product .product-category {
    top: 0;
    left: 0;
    width: calc(100% - 72px);
    max-width: calc(100% - 72px);
    min-height: 28px;
    gap: 4px;
    font-size: 13px;
  }

  .delivery-app .delivery-product .product-category::before {
    width: 18px;
    height: 18px;
  }

  .delivery-app .delivery-product .product-weight {
    top: 0;
    right: 0;
    min-width: 62px;
    min-height: 30px;
    padding: 6px 8px;
    font-size: 14px;
  }

  .delivery-app .delivery-product h3 {
    min-height: 40px;
    font-size: 15px;
    line-height: 1.25;
  }

  .delivery-app .delivery-product footer {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 14px;
    padding: 0;
  }

  .delivery-app .delivery-product .product-price {
    font-size: 26px;
    line-height: 1;
  }

  .delivery-app .delivery-product button[data-add] {
    width: 100%;
    min-height: 42px;
    border-radius: 14px;
    padding: 9px 10px;
    gap: 8px;
    font-size: 15px;
  }

  .delivery-app .delivery-product button[data-add].is-in-cart {
    grid-template-columns: 24px minmax(0, 1fr) 24px;
  }

  .delivery-app .delivery-product button[data-add].is-in-cart .product-count-action,
  .delivery-app .delivery-product button[data-add].is-in-cart .product-count-label {
    font-size: 11px;
  }
}

.delivery-app .delivery-product .product-media img {
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: none;
}

@media (max-width: 640px) {
  .delivery-app .delivery-product .product-media img {
    width: 100%;
    max-width: 140px;
    margin: 44px auto 16px;
  }
}

@media (min-width: 641px) and (max-width: 820px) {
  .delivery-app .delivery-layout {
    padding: 14px 14px 28px;
  }

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

  .delivery-app .delivery-product {
    min-height: 500px;
    border-radius: 22px;
    padding: 18px;
  }

  .delivery-app .delivery-product .product-media img {
    width: 100%;
    max-width: 210px;
    margin: 62px auto 24px;
  }

  .delivery-app .delivery-product .product-category {
    top: 0;
    left: 0;
    width: calc(100% - 120px);
    max-width: calc(100% - 120px);
    min-height: 38px;
    gap: 6px;
    font-size: 18px;
  }

  .delivery-app .delivery-product .product-category::before {
    width: 22px;
    height: 22px;
  }

  .delivery-app .delivery-product .product-weight {
    top: 0;
    right: 0;
    min-width: 102px;
    min-height: 42px;
    padding: 8px 14px;
    font-size: 20px;
  }

  .delivery-app .delivery-product h3 {
    min-height: 52px;
    font-size: 18px;
    line-height: 1.3;
  }

  .delivery-app .delivery-product footer {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 18px;
    padding: 0;
  }

  .delivery-app .delivery-product .product-price {
    font-size: 42px;
    line-height: 1;
  }

  .delivery-app .delivery-product button[data-add] {
    width: 100%;
    min-height: 56px;
    border-radius: 18px;
    padding: 12px 16px;
    font-size: 24px;
  }
}

@media (min-width: 821px) and (max-width: 1180px) {
  .delivery-app .delivery-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 18px;
    padding: 18px 20px 40px;
  }

  .delivery-app .cart-panel {
    position: sticky;
    top: 92px;
    width: 100%;
    margin: 0;
  }

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

  .delivery-app .delivery-product {
    min-height: 378px;
    border-radius: 20px;
    padding: 18px;
  }

  .delivery-app .delivery-product .product-media img {
    width: 100%;
    max-width: 150px;
    margin: 54px auto 20px;
  }

  .delivery-app .delivery-product .product-category {
    top: 0;
    left: 0;
    width: calc(100% - 102px);
    max-width: calc(100% - 102px);
    min-height: 34px;
    gap: 6px;
    font-size: 17px;
  }

  .delivery-app .delivery-product .product-category::before {
    width: 21px;
    height: 21px;
  }

  .delivery-app .delivery-product .product-weight {
    top: 0;
    right: 0;
    min-width: 92px;
    min-height: 38px;
    padding: 7px 12px;
    font-size: 18px;
  }

  .delivery-app .delivery-product h3 {
    min-height: 46px;
    font-size: 16px;
    line-height: 1.28;
  }

  .delivery-app .delivery-product footer {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 14px;
    padding: 0;
  }

  .delivery-app .delivery-product .product-price {
    font-size: 34px;
    line-height: 1;
  }

  .delivery-app .delivery-product button[data-add] {
    width: 100%;
    min-height: 48px;
    border-radius: 16px;
    padding: 10px 12px;
    font-size: 20px;
  }
}

@media (min-width: 1181px) {
  .delivery-app .delivery-product {
    min-height: 500px;
  }

  .delivery-app .delivery-product .product-media img {
    max-width: 220px;
    margin: 58px auto 24px;
  }

  .delivery-app .delivery-product h3 {
    min-height: 54px;
    font-size: 18px;
    line-height: 1.3;
  }

  .delivery-app .delivery-product footer {
    display: grid;
    grid-template-columns: minmax(82px, .62fr) minmax(132px, 1fr);
    gap: 12px;
    align-items: center;
    margin-top: 20px;
  }

  .delivery-app .delivery-product .product-price {
    flex: initial;
    font-size: clamp(36px, 3.2vw, 46px);
  }

  .delivery-app .delivery-product button[data-add] {
    flex: initial;
    width: 100%;
    min-height: 58px;
    border-radius: 18px;
    padding: 12px 14px;
    gap: 8px;
    font-size: clamp(18px, 1.55vw, 22px);
  }
}

@media (min-width: 1181px) {
  body:has(.delivery-app) .delivery-page {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .delivery-app .delivery-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
    max-width: none;
    width: 100vw;
    margin: 0 auto;
    padding-right: clamp(24px, 3vw, 48px);
    padding-left: clamp(24px, 3vw, 48px);
  }

  .delivery-app .cart-panel {
    position: sticky;
    top: 92px;
    max-width: none;
    width: 100%;
    margin: 0;
  }

  .delivery-app .delivery-product {
    min-height: 520px;
    aspect-ratio: auto;
  }

  .delivery-app .delivery-product .product-media img {
    width: 74%;
    max-width: 300px;
    margin: 74px auto 34px;
  }

  .delivery-app .delivery-product .product-category {
    width: calc(100% - 130px);
    max-width: calc(100% - 130px);
    gap: 6px;
    font-size: 20px;
  }

  .delivery-app .delivery-product .product-category::before {
    width: 24px;
    height: 24px;
  }

  .delivery-app .delivery-product .product-weight {
    min-width: 112px;
    min-height: 58px;
    font-size: 28px;
  }

  .delivery-app .delivery-product h3 {
    min-height: 2.1em;
    font-size: clamp(36px, 3.7vw, 48px);
  }

  .delivery-app .delivery-product footer {
    gap: 18px;
  }

  .delivery-app .delivery-product .product-price {
    flex: 0 0 35%;
    font-size: clamp(46px, 4.2vw, 60px);
  }

  .delivery-app .delivery-product button[data-add] {
    flex: 1 1 auto;
    min-height: 76px;
    padding: 16px 24px;
    border-radius: 24px;
    font-size: clamp(20px, 1.75vw, 24px);
  }
}

@media (min-width: 1181px) {
  .delivery-app .delivery-product {
    min-height: 500px;
  }

  .delivery-app .delivery-product .product-media img {
    width: 100%;
    max-width: 220px;
    margin: 58px auto 24px;
  }

  .delivery-app .delivery-product h3 {
    min-height: 54px;
    font-size: 18px;
    line-height: 1.3;
  }

  .delivery-app .delivery-product footer {
    display: grid;
    grid-template-columns: minmax(82px, .62fr) minmax(132px, 1fr);
    gap: 12px;
    align-items: center;
    margin-top: 20px;
  }

  .delivery-app .delivery-product .product-price {
    flex: initial;
    font-size: clamp(36px, 3.2vw, 46px);
  }

  .delivery-app .delivery-product button[data-add] {
    flex: initial;
    width: 100%;
    min-height: 58px;
    border-radius: 18px;
    padding: 12px 14px;
    gap: 8px;
    font-size: clamp(18px, 1.55vw, 22px);
  }
}


@media (min-width: 1181px) {
  .delivery-app .delivery-product .product-media img {
    width: 350px;
    max-width: 350px;
    margin: 30px auto 8px;
  }
}

.delivery-app .cart-panel {
  border: 0;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(30, 30, 30, .13);
  padding: 26px 24px;
}

.delivery-app .cart-heading {
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 24px;
}

.delivery-app .cart-heading span {
  color: #8b8782;
  font-size: 13px;
  font-weight: 500;
}

.delivery-app .cart-heading h2 {
  margin-top: 4px;
  color: #202020;
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
}

.delivery-app .cart-heading strong {
  width: 50px;
  height: 50px;
  border-radius: 999px;
  background: #f1eee9;
  color: #202020;
  font-size: 20px;
  font-weight: 700;
}

.delivery-app .cart-items {
  min-height: 74px;
  gap: 12px;
}

.delivery-app .empty-cart {
  margin: 0;
  color: #7b7772;
  font-size: 14px;
  line-height: 1.45;
}

.delivery-app .cart-status,
.delivery-app .checkout-options,
.delivery-app .promo-code,
.delivery-app .checkout-address,
.delivery-app .delivery-zone-card,
.delivery-app .checkout-cutlery,
.delivery-app .checkout-time {
  border: 0;
  border-radius: 18px;
  background: #f6f3ef;
  box-shadow: none;
}

.delivery-app .cart-status,
.delivery-app .checkout-options,
.delivery-app .promo-code,
.delivery-app .checkout-address,
.delivery-app .delivery-zone-card {
  padding: 16px;
}

.delivery-app .cart-status h3,
.delivery-app .checkout-address__head h3,
.delivery-app .checkout-cutlery > span,
.delivery-app .checkout-time > span {
  color: #202020;
  font-weight: 600;
}

.delivery-app .cart-status ol {
  gap: 10px;
}

.delivery-app .cart-status li {
  color: #7b7772;
}

.delivery-app .cart-summary {
  margin: 18px 0;
  padding: 0;
}

.delivery-app .cart-summary div {
  color: #746f6b;
  font-size: 16px;
}

.delivery-app .cart-summary strong {
  color: #202020;
  font-size: 18px;
  font-weight: 700;
}

.delivery-app .cart-total {
  border-top: 1px solid #e5e0d8;
  margin-top: 10px;
  padding-top: 16px;
}

.delivery-app .cart-total span {
  color: #746f6b;
  font-size: 22px;
}

.delivery-app .cart-total strong {
  color: #202020;
  font-size: 28px;
  font-weight: 800;
}

.delivery-app .promo-code input,
.delivery-app .checkout-address__form input,
.delivery-app .checkout-address__form textarea {
  border: 1px solid #e4dfd8;
  border-radius: 12px;
  background: #fff;
}

.delivery-app .promo-code button,
.delivery-app .checkout-address__head button,
.delivery-app .checkout-address__actions button {
  border: 0;
  border-radius: 12px;
  background: #202020;
  color: #fff;
  font-weight: 700;
}

.delivery-app .checkout-cutlery__choice,
.delivery-app .checkout-time__choice,
.delivery-app .mode-button {
  border: 1px solid #e4dfd8;
  border-radius: 12px;
  background: #fff;
}

.delivery-app .checkout-cutlery__choice.is-selected,
.delivery-app .checkout-time__choice.is-selected,
.delivery-app .mode-button.is-active {
  border-color: #202020;
  background: #202020;
  color: #fff;
}

.delivery-app .checkout-button {
  min-height: 58px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffc24c 0%, #ff9600 88%);
  box-shadow: 0 16px 32px rgba(255, 157, 0, .27), inset 0 1px 0 rgba(255, 255, 255, .42);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.delivery-app .checkout-button:disabled {
  filter: grayscale(.4);
  opacity: .6;
}

@media (max-width: 820px) {
  .delivery-app .cart-panel {
    border-radius: 22px;
    padding: 18px;
  }
}

@media (min-width: 821px) {
  .delivery-app .cart-panel {
    max-height: calc(100vh - 224px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .delivery-app .cart-panel::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
  }
}

@media (max-width: 640px) {
  .account-modal__text .account-call-number {
    min-height: 58px;
    border-radius: 18px;
    padding: 0 16px;
    font-size: 22px;
  }
}

.delivery-app .delivery-menu-strip .last-order-button {
  min-width: 230px;
  border: 0;
  background: linear-gradient(135deg, #ffc24c 0%, #ff9600 88%);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 14px 26px rgba(255, 157, 0, .24);
}

@media (max-width: 640px) {
  .delivery-app .delivery-menu-strip .last-order-button {
    min-width: 205px;
    padding: 0 18px;
    font-size: 13px;
  }
}

@media (min-width: 821px) {
  .delivery-app-header.site-header {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: clamp(24px, 3vw, 48px);
    padding-right: clamp(24px, 3vw, 48px);
    box-sizing: border-box;
  }
}

@media (min-width: 821px) {
  .delivery-app .cart-panel {
    top: 128px;
    margin-top: 72px;
    transform: translateY(60px);
    max-height: none;
    overflow: visible;
    scrollbar-width: none;
  }

  .delivery-app .cart-panel::-webkit-scrollbar {
    display: none;
  }

  .delivery-app .delivery-menu-strip {
    width: 100vw;
    margin-left: calc(-1 * clamp(24px, 3vw, 48px));
    margin-right: 0;
    padding-left: clamp(24px, 3vw, 48px);
    padding-right: clamp(24px, 3vw, 48px);
    box-sizing: border-box;
  }
}

.delivery-app .delivery-menu-strip {
  scroll-padding-inline: clamp(16px, 3vw, 48px);
}

.delivery-app .delivery-menu-strip .last-order-button {
  box-sizing: border-box;
  flex: 0 0 auto;
  inline-size: auto;
  min-width: max-content;
  max-width: calc(100vw - 32px);
  padding-inline: 22px;
}

.delivery-app .delivery-menu-strip .last-order-button span {
  display: inline-block;
  max-width: 100%;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .delivery-app .delivery-menu-strip .last-order-button {
    min-width: max-content;
    max-width: calc(100vw - 24px);
    padding-inline: 18px;
  }
}


@media (min-width: 821px) {
  .delivery-app .cart-panel {
    max-height: calc(100vh - 224px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .delivery-app .cart-panel::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
  }
}
/* Адаптивная цена: 4-значная сумма уменьшается, чтобы не наезжать на кнопку */
.delivery-product strong.product-price.price-compact { font-size: 30px !important; }
.dish-modal__footer strong.price-compact { font-size: 21px !important; }
@media (max-width: 820px) {
  .delivery-product strong.product-price.price-compact { font-size: 14px !important; }
}
@media (max-width: 420px) {
  .dish-modal__footer strong.price-compact { font-size: 18px !important; }
}

/* ===== Иконки категорий: своя для каждой, дефолт (миска) для новых ===== */
.delivery-app .delivery-product[data-product-category="picca"] .product-category::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M32 9 L11 47 Q32 56 53 47 Z'/%3E%3Ccircle cx='27' cy='30' r='3' fill='black' stroke='none'/%3E%3Ccircle cx='39' cy='38' r='2.4' fill='black' stroke='none'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M32 9 L11 47 Q32 56 53 47 Z'/%3E%3Ccircle cx='27' cy='30' r='3' fill='black' stroke='none'/%3E%3Ccircle cx='39' cy='38' r='2.4' fill='black' stroke='none'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
.delivery-app .delivery-product[data-product-category="burgery-2"] .product-category::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 24c0-8 9-13 20-13s20 5 20 13z'/%3E%3Cpath d='M12 32h40'/%3E%3Cpath d='M12 40c0 6 6 10 20 10s20-4 20-10z'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 24c0-8 9-13 20-13s20 5 20 13z'/%3E%3Cpath d='M12 32h40'/%3E%3Cpath d='M12 40c0 6 6 10 20 10s20-4 20-10z'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
.delivery-app .delivery-product[data-product-category="rolly"] .product-category::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='4'%3E%3Ccircle cx='22' cy='36' r='11'/%3E%3Ccircle cx='22' cy='36' r='4'/%3E%3Ccircle cx='44' cy='36' r='11'/%3E%3Ccircle cx='44' cy='36' r='4'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='4'%3E%3Ccircle cx='22' cy='36' r='11'/%3E%3Ccircle cx='22' cy='36' r='4'/%3E%3Ccircle cx='44' cy='36' r='11'/%3E%3Ccircle cx='44' cy='36' r='4'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
.delivery-app .delivery-product[data-product-category="salaty"] .product-category::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 32h40c0 12-9 20-20 20s-20-8-20-20Z'/%3E%3Cpath d='M32 32c-6-2-10-8-8-16 8 0 12 6 12 12'/%3E%3Cpath d='M32 30c4-3 10-3 16 0-2 6-8 8-14 6'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 32h40c0 12-9 20-20 20s-20-8-20-20Z'/%3E%3Cpath d='M32 32c-6-2-10-8-8-16 8 0 12 6 12 12'/%3E%3Cpath d='M32 30c4-3 10-3 16 0-2 6-8 8-14 6'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
.delivery-app .delivery-product[data-product-category="sendvici"] .product-category::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='4' stroke-linejoin='round'%3E%3Cpath d='M10 46 32 14l22 32z'/%3E%3Cpath d='M18 40h28'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='4' stroke-linejoin='round'%3E%3Cpath d='M10 46 32 14l22 32z'/%3E%3Cpath d='M18 40h28'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
.delivery-app .delivery-product[data-product-category="xot-dogi"] .product-category::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='4' stroke-linecap='round'%3E%3Crect x='10' y='26' width='44' height='12' rx='6'/%3E%3Cpath d='M16 32h32' stroke-dasharray='2 5'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='4' stroke-linecap='round'%3E%3Crect x='10' y='26' width='44' height='12' rx='6'/%3E%3Cpath d='M16 32h32' stroke-dasharray='2 5'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
.delivery-app .delivery-product[data-product-category="napitki"] .product-category::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 16h28l-4 36H22z'/%3E%3Cpath d='M20 28h24'/%3E%3Cpath d='M40 10 36 22'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 16h28l-4 36H22z'/%3E%3Cpath d='M20 28h24'/%3E%3Cpath d='M40 10 36 22'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
.delivery-app .delivery-product[data-product-category="sousy"] .product-category::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='24' y='10' width='16' height='8' rx='2'/%3E%3Cpath d='M26 18h12l4 10v22a4 4 0 0 1-4 4H26a4 4 0 0 1-4-4V28z'/%3E%3Cpath d='M22 34h20'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='24' y='10' width='16' height='8' rx='2'/%3E%3Cpath d='M26 18h12l4 10v22a4 4 0 0 1-4 4H26a4 4 0 0 1-4-4V28z'/%3E%3Cpath d='M22 34h20'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
.delivery-app .delivery-product[data-product-category="kombo-delos"] .product-category::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 22h44l-4 32H14z'/%3E%3Cpath d='M10 22 20 10h24l10 12'/%3E%3Cpath d='M32 22v32'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 22h44l-4 32H14z'/%3E%3Cpath d='M10 22 20 10h24l10 12'/%3E%3Cpath d='M32 22v32'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
.delivery-app .delivery-product[data-product-category="zakuski"] .product-category::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 40c0-10 8-18 18-18s18 8 18 18z'/%3E%3Cpath d='M10 48h44'/%3E%3Cpath d='M24 30v-6M32 28v-8M40 30v-6'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 40c0-10 8-18 18-18s18 8 18 18z'/%3E%3Cpath d='M10 48h44'/%3E%3Cpath d='M24 30v-6M32 28v-8M40 30v-6'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
/* Способ получения — убрать серый бокс/обводку, разделить кнопки как в «Время доставки» */
.delivery-app .delivery-modes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

/* Кнопка «Корзина» в шапке — премиум-стиль как у «Добавить», но чёрно-серый */
.header-action[data-cart-open] {
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #4d4d4d 0%, #171615 90%);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .14);
  color: #fff;
  font-weight: 700;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.header-action[data-cart-open]:hover {
  box-shadow: 0 16px 32px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255, 255, 255, .18);
  filter: brightness(1.06);
}
.header-action[data-cart-open]:active {
  transform: translateY(1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .12);
}
.header-action[data-cart-open] strong {
  background: #fff;
  color: #171615;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
}
.header-action[data-cart-open].is-cart-filled {
  background: linear-gradient(135deg, #5a5a5a 0%, #0e0d0d 92%);
}

/* Единый премиум-стиль чёрных кнопок — как «Корзина» (градиент + мягкая тень) */
.dish-modal__footer button,
.promo-code button,
.checkout-upsell button,
.account-page-button,
.account-step button,
.account-modal__text a,
.cookie-banner button,
.delivery-app .mode-button.is-active,
.delivery-app .checkout-time__choice.is-selected,
.delivery-app .checkout-cutlery__choice.is-selected {
  border: 0;
  background: linear-gradient(135deg, #4d4d4d 0%, #171615 90%);
  box-shadow: 0 9px 20px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .14);
  color: #fff;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.dish-modal__footer button:hover,
.promo-code button:hover,
.checkout-upsell button:hover,
.account-page-button:hover,
.account-step button:hover,
.account-modal__text a:hover,
.cookie-banner button:hover {
  filter: brightness(1.08);
  box-shadow: 0 13px 26px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.dish-modal__footer button:active,
.promo-code button:active,
.checkout-upsell button:active,
.account-page-button:active,
.account-step button:active,
.account-modal__text a:active,
.cookie-banner button:active,
.delivery-app .mode-button.is-active:active,
.delivery-app .checkout-time__choice.is-selected:active {
  transform: translateY(1px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, .26), inset 0 1px 0 rgba(255, 255, 255, .12);
}

/* ===== Страницы категорий /menu/{slug} — сетка карточек ===== */
.menu-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 26px 64px;
}
.menu-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 14px;
}
.menu-breadcrumb a { color: var(--muted); text-decoration: none; }
.menu-breadcrumb a:hover { color: var(--ink); }
.menu-breadcrumb strong { color: var(--ink); font-weight: 600; }
.menu-breadcrumb span { color: #cfcabf; }

.menu-head { margin: 8px 0 28px; }
.menu-head h1 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 500;
  line-height: 1.08;
}
.menu-head p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.menu-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .8);
  color: var(--ink);
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease;
}
.menu-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(20, 19, 17, .1);
}
.menu-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #efede9;
}
.menu-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 14px 15px 16px;
}
.menu-card-body h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.2;
}
.menu-card-body p {
  flex: 1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.3;
}
.menu-card-body strong {
  font-size: 18px;
  font-weight: 600;
}

.menu-cta-row {
  display: flex;
  justify-content: center;
  margin-top: 42px;
}
.menu-cta-row .header-action {
  justify-self: auto;
  width: auto;
  min-width: 220px;
  min-height: 52px;
  justify-content: center;
}

@media (max-width: 960px) {
  .menu-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .menu-main { padding: 18px 16px 52px; }
  .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
@media (max-width: 420px) {
  .menu-card-body { padding: 11px 12px 13px; gap: 6px; }
  .menu-card-body h2 { font-size: 15px; }
  .menu-card-body strong { font-size: 16px; }
}

/* ===== Страница товара /menu/{cat}/{item} ===== */
.product-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
  margin-top: 10px;
}
.product-page .product-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
  background: #efede9;
}
.product-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 6px;
}
.product-eyebrow {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.product-info h1 {
  margin: 0;
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 500;
  line-height: 1.1;
}
.product-desc {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}
.product-page .product-price {
  margin: 4px 0 2px;
  font-size: 30px;
  font-weight: 600;
  color: var(--ink);
}
.product-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
}
.product-order {
  justify-self: auto;
  width: auto;
  min-width: 240px;
  min-height: 54px;
  justify-content: center;
}
.product-tocart { white-space: nowrap; }
.product-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.menu-related { margin-top: 58px; }
.menu-related h2 {
  margin: 0 0 20px;
  font-size: 24px;
  font-weight: 500;
}

@media (max-width: 820px) {
  .product-page { grid-template-columns: 1fr; gap: 22px; }
  .product-page .product-media img { aspect-ratio: 4 / 3; }
  .product-order { width: 100%; }
}

/* ===== Фото блюда: обёртка для зума + full-width на мобиле ===== */
/* На десктопе/планшете обёртка «прозрачна» — старая раскладка не меняется */
.delivery-app .delivery-product .product-photo { display: contents; }

@media (max-width: 640px) {
  .delivery-app .delivery-product { overflow: hidden; }

  /* фото на всю ширину карточки, прямоугольное, кадр обрезает зум */
  .delivery-app .delivery-product .product-photo {
    display: block;
    position: relative;
    margin: -12px -12px 12px;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    background: #efece7;
  }
  .delivery-app .delivery-product .product-photo img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    object-fit: cover;
    border-radius: 0 !important;
    transform: scale(var(--img-zoom, 1));
    transform-origin: center;
  }

  /* бейджи поверх фото */
  .delivery-app .delivery-product .product-photo .product-category {
    top: 8px;
    left: 8px;
    width: auto;
    max-width: calc(100% - 84px);
    min-height: 0;
    padding: 4px 10px 4px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: #2f2b28;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .16);
    backdrop-filter: blur(2px);
  }
  .delivery-app .delivery-product .product-photo .product-weight {
    top: 8px;
    right: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .22);
  }
}

/* ===== Вес рядом с ценой + убрать плашку категории и серый фон кадра ===== */
.delivery-app .delivery-product .product-price-line {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
  flex: 0 1 38%;
}
.delivery-app .delivery-product .product-price-line .product-price {
  flex: 0 1 auto;
}
.delivery-app .delivery-product footer .product-weight {
  position: static;
  inset: auto;
  margin: 0;
  min-width: 0;
  min-height: 0;
  padding: 3px 9px;
  border-radius: 999px;
  background: #f0ede8;
  color: #6b6560;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  box-shadow: none;
}

@media (max-width: 640px) {
  /* убрать серую подложку вокруг фото (просвечивала у прозрачных PNG) */
  .delivery-app .delivery-product .product-photo { background: transparent; }
  /* убрать плашку категории с фото */
  .delivery-app .delivery-product .product-photo .product-category { display: none; }
  /* вес — напротив цены */
  .delivery-app .delivery-product .product-price-line {
    flex: none;
    flex-direction: row;
    align-items: baseline;
    width: 100%;
    justify-content: space-between;
  }
}

/* ===== Нечётная последняя карточка тянется на всю ширину (моб.) ===== */
@media (max-width: 640px) {
  .delivery-app .delivery-products > .delivery-product:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

/* ===== Последний заказ — бегущая строка над меню ===== */
.delivery-app .last-order-ticker {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0 0 14px;
  padding: 11px 14px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffc24c 0%, #ff9600 88%);
  color: #fff;
  cursor: pointer;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 10px 22px rgba(255, 157, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .4);
}
.delivery-app .last-order-ticker[hidden] { display: none; }
.delivery-app .last-order-ticker__label {
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}
.delivery-app .last-order-ticker__viewport {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.delivery-app .last-order-ticker__track {
  display: inline-flex;
  white-space: nowrap;
  will-change: transform;
  animation: lastOrderMarquee 22s linear infinite;
}
.delivery-app .last-order-ticker:hover .last-order-ticker__track,
.delivery-app .last-order-ticker:focus-visible .last-order-ticker__track {
  animation-play-state: paused;
}
.delivery-app .last-order-ticker__track .loi {
  padding: 0 18px;
  font-size: 14px;
  font-weight: 600;
  opacity: .97;
}
@keyframes lastOrderMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  /* не замораживаем строку полностью (иначе текст обрезан) — просто едет медленнее */
  .delivery-app .last-order-ticker__track { animation-duration: 44s; }
}

/* Последний заказ — без оранжевого, простой тёмный текст */
.delivery-app .last-order-ticker {
  background: none;
  box-shadow: none;
  color: #171615;
  padding: 8px 2px;
  border-radius: 0;
  gap: 10px;
}
.delivery-app .last-order-ticker__label {
  color: #171615;
  font-weight: 800;
}
.delivery-app .last-order-ticker__track .loi {
  color: #201d1b;
  opacity: 1;
  font-weight: 600;
}

/* «Повторить заказ» — лёгкая светлая кнопка (без стрелки) */
.delivery-app .last-order-ticker__label {
  flex: 0 0 auto;
  padding: 7px 14px;
  border: 1px solid #e6e2db;
  border-radius: 999px;
  background: #fff;
  color: #171615;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
  transition: box-shadow .15s ease, transform .15s ease, background .15s ease;
}
.delivery-app .last-order-ticker:hover .last-order-ticker__label {
  background: #faf8f4;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
}
.delivery-app .last-order-ticker:active .last-order-ticker__label {
  transform: translateY(1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
}

/* ===== Акции (PromoBanner) на /delivery после меню ===== */
.delivery-app .delivery-promos {
  margin: 10px 0 6px;
}
.delivery-app .delivery-promos__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.delivery-app .promo-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid #efe9e0;
  background: #fff;
  color: #201d1b;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .05);
  transition: transform .15s ease, box-shadow .15s ease;
}
.delivery-app .promo-card[href]:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .1);
}
.delivery-app .promo-card__media {
  display: block;
  aspect-ratio: 16 / 9;
  background: #f0ece5;
}
.delivery-app .promo-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.delivery-app .promo-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px 14px;
}
.delivery-app .promo-card__tag {
  align-self: flex-start;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--promo-accent, #ff9600);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.delivery-app .promo-card__heading {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.15;
}
.delivery-app .promo-card__text {
  color: #6b6560;
  font-size: 13px;
  line-height: 1.3;
}
@media (min-width: 821px) {
  .delivery-app .delivery-promos__row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Акции — горизонтальная карусель по одной */
.delivery-app .delivery-promos__row {
  position: relative;
  display: grid;
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: min(86%, 440px);
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.delivery-app .delivery-promos__row::-webkit-scrollbar { display: none; }
.delivery-app .promo-card { scroll-snap-align: start; }

/* Акции — только картинка (без белого текстового низа) */
.delivery-app .promo-card {
  border: 0;
  background: transparent;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .08);
}
.delivery-app .promo-card__media {
  aspect-ratio: 16 / 9;
  border-radius: 16px;
}

/* Акции — без тени */
.delivery-app .promo-card { box-shadow: none; }

/* Акции — квадрат на мобиле */
@media (max-width: 640px) {
  .delivery-app .promo-card__media { aspect-ratio: 1 / 1; }
}

/* Шапка без гамбургера (страницы категорий, товара, акции, юр. страниц) — без резервной колонки под кнопку-бургер */
@media (max-width: 640px) {
  .delivery-app-header.no-toggle {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .delivery-app-header.no-toggle .logo {
    justify-self: start;
  }
  .delivery-app-header.no-toggle .main-nav {
    display: none;
  }
}

/* Гарантированный зазор между ценой/весом и кнопкой Добавить (перекрывает старые версии правил ниже по каскаду) */
.delivery-app .delivery-product footer {
  gap: 16px;
}
.delivery-app .delivery-product .product-price-line {
  margin-right: 4px;
}

/* ===== Единый фикс карточки для планшета+десктопа (>=821px) ===== */
@media (min-width: 821px) {
  .delivery-app .delivery-product {
    aspect-ratio: auto;
    min-height: 0;
    overflow: visible;
  }
  .delivery-app .delivery-product .product-media {
    flex: 0 0 auto;
  }
  .delivery-app .delivery-product .product-media img {
    width: 100%;
    max-width: 100%;
    margin: 16px auto 12px;
  }
  .delivery-app .delivery-product footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    grid-template-columns: none;
    margin-top: 14px;
  }
  .delivery-app .delivery-product .product-price-line {
    flex: initial;
    width: 100%;
    min-height: 0;
    flex-direction: row;
    align-items: baseline;
    justify-content: flex-start;
    gap: 10px;
    margin-right: 0;
  }
  .delivery-app .delivery-product button[data-add] {
    width: 100%;
  }
}

/* Поле email для чека в оформлении */
.delivery-app .checkout-contact { margin: 12px 0; }
.delivery-app .checkout-contact label { display: grid; gap: 6px; font-size: 13px; color: #6b6560; }
.delivery-app .checkout-contact input { min-height: 46px; padding: 0 14px; border: 1px solid #e4dfd8; border-radius: 12px; font-size: 15px; background: #fff; }
.delivery-app .checkout-contact input:focus { outline: none; border-color: #202020; }
.delivery-app .checkout-contact__hint { margin: 6px 0 0; font-size: 12px; color: #8b8782; }

/* Заметка о возврате в истории заказов ЛК */
.account-order-refund { flex-basis: 100%; width: 100%; grid-column: 1 / -1; margin: 8px 0 0; padding: 8px 12px; border-radius: 10px; background: #fdf2e3; color: #9a6a1e; font-size: 13px; line-height: 1.4; }
.account-order-refund.is-done { background: #e7f6ec; color: #2f7b52; }
