/* Home page critical stylesheet. Generated from styles.css, delivery rules intentionally excluded. */
@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 {
  grid-row: 1 / span 2;
  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-media {
  position: relative;
  min-height: 0;
  padding: 0;
}

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

.dish-card > div:not(.dish-card-media) {
  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;
}

.dish-card-price,
.dish-card-weight {
  position: absolute;
  top: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.dish-card-price {
  top: 10px;
  left: 10px;
}

.dish-card-weight {
  right: 10px;
  bottom: 10px;
  top: auto;
}

.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-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-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 img {
  width: 24px;
  height: 24px;
  justify-self: center;
  opacity: .86;
}

.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;
}

.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;
}

@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);
}

.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-top: 5px;
  padding-top: 9px;
  border-top: 1px solid rgba(34, 33, 31, .08);
}

.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: 5px;
  border-radius: 999px;
  background: rgba(34, 33, 31, .09);
}

.delivery-zone-free b {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #23613f;
  transition: width .25s ease;
}

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

.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;
}

.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;
}

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

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

@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;
    }
}

@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;
    }

  .mode-button {
      flex: 1;
    }

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

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

.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:not(.dish-card-media) {
      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;
    }

  .dish-card-price,
  .dish-card-weight {
      min-height: 24px;
      padding: 5px 8px;
      font-size: 11px;
    }
}

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

@media (max-width: 820px) {
  .delivery-app-header .mobile-menu-toggle {
      display: grid;
    }

  .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;
    }
}

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

@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);
}

.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,
.cookie-banner 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 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-links {
    gap: 8px 12px;
    padding-top: 12px;
  }

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

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

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

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

.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 (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-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) {
  .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-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-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-step.is-active {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.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;
}

@media (max-width: 820px) {
  .header-actions {
      gap: 6px;
    }

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

@media (max-width: 820px) {
  .delivery-section {
      scroll-margin-top: 132px;
    }
}

/* legal-links separators */
.legal-links{gap:8px 0}
.legal-links a{white-space:nowrap}
.legal-links a:not(:last-child)::after{content:"·";margin:0 11px;color:rgba(38,37,34,.4)}

/* legal-links clean row */
.legal-links a:not(:last-child)::after{content:none}
.legal-links{grid-column:1 / -1;width:100%;display:flex;flex-wrap:wrap;gap:6px 18px;align-items:center}
.legal-links a{white-space:nowrap}

/* legal-links — внешний вид как на доставке (на десктопе правила лежали в моб. media) */
.legal-links{font-size:12px;color:var(--muted);line-height:1.35}
.legal-links a{text-decoration:underline;text-underline-offset:3px}


/* Отзывы (Яндекс-виджет) */
.reviews{text-align:center;width:100vw;margin-left:calc(50% - 50vw);background:#fff}
.reviews-head h2{margin:0 0 8px}
.reviews-head p{margin:0 0 26px;color:var(--muted);font-size:16px}
.reviews-cols{display:grid;grid-template-columns:1fr 1fr;gap:20px;max-width:1200px;margin:0 auto}
.reviews-widget,.reviews-map{min-width:0}
.reviews-widget iframe,.reviews-map iframe{width:100%;height:680px;border:1px solid var(--line);border-radius:16px;background:#fff;box-sizing:border-box;display:block}
@media(max-width:820px){.reviews-cols{grid-template-columns:1fr}.reviews-widget iframe,.reviews-map iframe{height:480px}}

.reviews-cta{margin-top:24px}


/* Меню-индекс (ссылки на разделы) */
.menu-index{width:100vw;margin-left:calc(50% - 50vw);background:#fff;padding:48px 42px;text-align:center}
.menu-index h2{margin:0 0 8px;font-size:28px}
.menu-index p{margin:0 0 24px;color:var(--muted);font-size:16px}
.menu-index-links{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}
.menu-index-links a{display:inline-block;padding:11px 20px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--ink,#171717);text-decoration:none;font-size:15px;transition:background .15s ease,transform .15s ease}
.menu-index-links a:hover{background:#faf7f2;transform:translateY(-2px)}
@media(max-width:860px){.menu-index{padding:36px 18px}.menu-index h2{font-size:23px}.menu-index-links a{padding:9px 16px;font-size:14px}}

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

[data-cart-count]{display:inline-block;min-width:18px;padding:0 5px;margin-left:4px;border-radius:999px;background:#ef4e18;color:#fff;font-size:12px;line-height:18px;text-align:center;font-weight:700}
.product-actions{display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.product-order.is-added{background:#1f9d55}
.product-tocart{font-size:14px}
