:root {
  color-scheme: dark;
  --bg: #050505;
  --surface: #121212;
  --surface-raised: #1b1b1b;
  --line: #2b2b2b;
  --text: #ffffff;
  --muted: #a6a6a6;
  --gold: #d7b46d;
  --gold-ink: #171109;
  --danger: #e36f62;
  --radius: 18px;
  --content: 1320px;
  --header-height: 76px;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  -webkit-font-smoothing: antialiased;
}

body.dialog-open {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.shell {
  width: min(calc(100% - 48px), var(--content));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgb(5 5 5 / 94%);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  display: grid;
  width: min(calc(100% - 48px), var(--content));
  height: 100%;
  margin-inline: auto;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.icon-button,
.text-button {
  display: inline-grid;
  min-width: 44px;
  min-height: 44px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.icon-button:hover,
.text-button:hover {
  background: var(--surface-raised);
}

.icon-button svg,
.group-address svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.group-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.group-wordmark__mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--gold);
  border: 1px solid rgb(215 180 109 / 45%);
  font-family: Georgia, serif;
  font-size: 24px;
}

.group-hero {
  position: relative;
  display: grid;
  min-height: 560px;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.group-hero__image,
.group-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.group-hero__image {
  z-index: -2;
  object-fit: cover;
  object-position: 50% 52%;
  filter: saturate(0.86) contrast(1.05);
  transform: scale(1.02);
}

.group-hero__shade {
  z-index: -1;
  background:
    linear-gradient(180deg, rgb(0 0 0 / 22%), rgb(0 0 0 / 58%)),
    radial-gradient(circle at center, transparent 0 20%, rgb(0 0 0 / 42%) 100%);
}

.group-hero__content {
  max-width: 900px;
  padding: 80px 24px;
  text-align: center;
  text-shadow: 0 2px 24px rgb(0 0 0 / 65%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.group-hero h1 {
  margin: 0;
  font-size: clamp(46px, 7vw, 92px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.9;
  text-transform: uppercase;
}

.group-hero__lead {
  margin: 24px 0 0;
  font-size: clamp(18px, 2vw, 28px);
}

.group-content {
  padding-block: 54px 96px;
}

.group-address {
  display: grid;
  width: 100%;
  min-height: 78px;
  padding: 14px 18px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-raised);
  cursor: pointer;
  text-align: left;
  transition: border-color 180ms ease, transform 180ms ease;
}

.group-address:hover {
  border-color: rgb(215 180 109 / 66%);
  transform: translateY(-1px);
}

.group-address__icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--gold);
  border-radius: 50%;
  background: rgb(215 180 109 / 12%);
}

.group-address small,
.group-address strong {
  display: block;
}

.group-address small {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.group-address strong {
  font-size: 17px;
}

.group-address__arrow {
  width: 24px;
}

.section-heading {
  display: grid;
  margin: 78px 0 32px;
  grid-template-columns: 1fr minmax(260px, 430px);
  align-items: end;
  gap: 28px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 58px);
  letter-spacing: -0.045em;
  line-height: 1;
}

.section-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

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

.restaurant-card {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 430px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  transition: border-color 220ms ease, transform 220ms ease;
}

.restaurant-card:hover {
  border-color: rgb(215 180 109 / 56%);
  transform: translateY(-4px);
}

.restaurant-card__visual {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(140deg, rgb(215 180 109 / 10%), transparent 42%),
    linear-gradient(180deg, #1a1815, #080808);
}

.restaurant-card--mari .restaurant-card__visual {
  background:
    radial-gradient(circle at 70% 15%, rgb(215 180 109 / 34%), transparent 34%),
    linear-gradient(135deg, #3e2418, #0c0908 70%);
}

.restaurant-card--gosti .restaurant-card__visual {
  background:
    radial-gradient(circle at 25% 25%, rgb(105 125 101 / 42%), transparent 34%),
    linear-gradient(135deg, #1b2b21, #080b09 72%);
}

.restaurant-card__visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgb(0 0 0 / 87%) 100%);
  content: '';
}

.restaurant-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.restaurant-card__content {
  position: relative;
  display: flex;
  padding: 28px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
}

.restaurant-card__meta {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.restaurant-card strong {
  font-size: clamp(34px, 4vw, 58px);
  letter-spacing: -0.045em;
  line-height: 1;
}

.restaurant-card__content > span:not(.restaurant-card__meta, .restaurant-card__arrow) {
  margin-top: 10px;
  color: #d6d6d6;
  font-size: 15px;
}

.restaurant-card__arrow {
  position: absolute;
  right: 28px;
  bottom: 30px;
  font-size: 26px;
}

.restaurant-card:first-child {
  grid-row: span 2;
  min-height: 884px;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.site-footer__inner {
  display: flex;
  min-height: 90px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.dialog-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  padding: 24px;
  place-items: center;
  background: rgb(0 0 0 / 74%);
  backdrop-filter: blur(12px);
}

.dialog-backdrop[hidden] {
  display: none;
}

.dialog-card {
  position: relative;
  width: min(100%, 520px);
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface-raised);
  box-shadow: 0 30px 100px rgb(0 0 0 / 64%);
}

.dialog-card h2 {
  margin: 0 0 16px;
  font-size: 34px;
  letter-spacing: -0.04em;
}

.dialog-card p:not(.eyebrow) {
  margin: 0 0 28px;
  color: var(--muted);
  line-height: 1.65;
}

.dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
}

.primary-button {
  display: inline-flex;
  min-height: 50px;
  padding: 0 20px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--gold);
  color: var(--gold-ink);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 760px) {
  :root {
    --header-height: 64px;
  }

  .shell,
  .site-header__inner {
    width: min(calc(100% - 28px), var(--content));
  }

  .group-wordmark {
    gap: 0;
    font-size: 0;
  }

  .group-wordmark__mark {
    width: 36px;
    height: 36px;
    font-size: 22px;
  }

  .text-button {
    display: none;
  }

  .group-hero {
    min-height: 420px;
  }

  .group-hero h1 {
    font-size: clamp(42px, 14vw, 68px);
  }

  .group-content {
    padding-block: 28px 64px;
  }

  .section-heading {
    margin-top: 56px;
    grid-template-columns: 1fr;
  }

  .restaurant-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .restaurant-card,
  .restaurant-card:first-child {
    min-height: 420px;
    grid-row: auto;
  }

  .dialog-card {
    padding: 34px 24px 24px;
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}

.storefront-header {
  position: sticky;
  z-index: 70;
  top: 0;
}

.storefront-header .site-header {
  position: relative;
  z-index: 2;
  top: auto;
  height: 82px;
}

.storefront-header__main .site-header__inner {
  grid-template-columns: minmax(250px, 320px) minmax(500px, 1fr) auto;
  gap: 16px;
}

.storefront-header__left {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.restaurant-switcher {
  display: flex;
  min-width: 0;
  min-height: 52px;
  padding: 5px 10px 5px 6px;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.restaurant-switcher:hover {
  border-color: var(--line);
  background: var(--surface);
}

.restaurant-switcher__mark,
.restaurant-dialog-item__mark {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgb(215 180 109 / 46%);
  border-radius: 10px;
  background: #fff;
  color: #9e7447;
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 700;
}

.restaurant-switcher > span:nth-child(2),
.restaurant-dialog-item > span:nth-child(2) {
  display: block;
  min-width: 0;
}

.restaurant-switcher strong,
.restaurant-switcher small,
.restaurant-dialog-item strong,
.restaurant-dialog-item small {
  display: block;
}

.restaurant-switcher strong {
  font-size: 13px;
}

.restaurant-switcher small {
  max-width: 180px;
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.restaurant-switcher > svg,
.required-action svg {
  width: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.cart-header-button {
  position: relative;
}

.cart-count {
  position: absolute;
  top: 2px;
  right: 0;
  display: grid;
  min-width: 18px;
  height: 18px;
  padding-inline: 4px;
  place-items: center;
  border: 2px solid var(--bg);
  border-radius: 999px;
  background: var(--gold);
  color: var(--gold-ink);
  font-size: 9px;
  font-weight: 800;
}

.header-fulfillment {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(220px, 0.8fr) minmax(280px, 1.2fr);
  align-items: center;
  gap: 10px;
}

.mode-switch {
  display: grid;
  min-height: 48px;
  overflow: hidden;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #363636;
  border-radius: 12px;
  background: var(--surface-raised);
}

.mode-button {
  position: relative;
  display: flex;
  padding: 0 12px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
}

.mode-button + .mode-button {
  border-left: 1px solid #363636;
}

.mode-button.is-active {
  background: var(--gold);
  color: var(--gold-ink);
}

.mode-button__check {
  display: none;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: var(--gold-ink);
  color: var(--gold);
  font-size: 10px;
}

.mode-button.is-active .mode-button__check {
  display: grid;
}

.required-action {
  display: grid;
  min-height: 48px;
  padding: 6px 12px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--gold);
  border-radius: 12px;
  background: #211e1a;
  cursor: pointer;
  text-align: left;
}

.required-action:hover {
  background: #29241d;
}

.required-action small,
.required-action strong {
  display: block;
}

.required-action small {
  margin-bottom: 2px;
  color: var(--gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.required-action strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.required-action__pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgb(215 180 109 / 13%);
}

.restaurant-hero {
  position: relative;
  display: grid;
  min-height: 460px;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.restaurant-hero > img,
.restaurant-hero__shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
}

.restaurant-hero > img {
  object-fit: cover;
  object-position: center 48%;
  transform: scale(1.03);
}

.restaurant-hero__shade {
  z-index: -1;
  background:
    linear-gradient(180deg, rgb(0 0 0 / 16%), rgb(0 0 0 / 68%)),
    radial-gradient(circle at center, transparent 0 22%, rgb(0 0 0 / 38%) 100%);
}

.restaurant-hero__content {
  padding: 64px 24px;
  text-align: center;
  text-shadow: 0 3px 30px rgb(0 0 0 / 72%);
}

.restaurant-hero h1 {
  margin: 0;
  font-size: clamp(54px, 9vw, 116px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.85;
  text-transform: uppercase;
}

.restaurant-hero__content > p:last-child {
  margin: 28px 0 0;
  font-size: clamp(18px, 2vw, 26px);
}

.storefront-content {
  padding-block: 30px 100px;
}

.promo-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: repeat(2, minmax(210px, 1fr));
  gap: 18px;
}

.promo-card {
  position: relative;
  min-width: 0;
  min-height: 210px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.promo-card--wide {
  grid-row: span 2;
}

.promo-card img,
.promo-card__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.promo-card img {
  object-fit: cover;
  transition: transform 500ms ease;
}

.promo-card:hover img {
  transform: scale(1.035);
}

.promo-card__shade {
  background: linear-gradient(180deg, transparent 28%, rgb(0 0 0 / 88%) 100%);
}

.promo-card__content {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
}

.promo-card__content span,
.promo-card__content strong {
  display: block;
}

.promo-card__content span {
  margin-bottom: 7px;
  color: var(--gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.promo-card__content strong {
  font-size: clamp(20px, 3vw, 38px);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.stories-section {
  overflow: hidden;
}

.stories-track {
  display: flex;
  padding: 2px 2px 10px;
  overflow-x: auto;
  gap: 14px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.stories-track::-webkit-scrollbar {
  display: none;
}

.story-card {
  position: relative;
  width: calc((100% - 70px) / 6);
  height: 286px;
  padding: 0;
  flex: 0 0 calc((100% - 70px) / 6);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  scroll-snap-align: start;
  text-align: left;
  transition: border-color 180ms ease, transform 180ms ease;
}

.story-card:hover,
.story-card:focus-visible {
  border-color: rgb(215 180 109 / 62%);
  transform: translateY(-2px);
}

.story-card img,
.story-card__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.story-card img {
  object-fit: cover;
}

.story-card__shade {
  background: linear-gradient(180deg, rgb(0 0 0 / 9%) 15%, rgb(0 0 0 / 86%) 100%);
}

.story-card__content {
  position: absolute;
  right: 14px;
  bottom: 15px;
  left: 14px;
}

.story-card__content strong,
.story-card__content small {
  display: block;
}

.story-card__content strong {
  font-size: 18px;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.story-card__content small {
  margin-top: 6px;
  color: rgb(255 255 255 / 72%);
  font-size: 12px;
  line-height: 1.35;
}

.menu-section {
  padding-top: 48px;
}

.menu-section__heading {
  display: flex;
  margin-bottom: 28px;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.menu-section__heading h2,
.catalog-section__heading h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 50px);
  letter-spacing: -0.045em;
  line-height: 1;
}

.menu-section__heading > p {
  max-width: 380px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-grid--featured {
  display: flex;
  padding-bottom: 8px;
  overflow-x: auto;
  gap: 14px;
  scrollbar-width: none;
}

.product-grid--featured::-webkit-scrollbar {
  display: none;
}

.product-grid--featured .product-card {
  width: 220px;
  flex: 0 0 220px;
}

.product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  cursor: pointer;
  transition: border-color 180ms ease, transform 180ms ease;
}

.product-card:hover,
.product-card:focus-visible {
  border-color: rgb(215 180 109 / 58%);
  transform: translateY(-3px);
}

.product-card__image {
  position: relative;
  aspect-ratio: 1 / 0.82;
  overflow: hidden;
  background: linear-gradient(135deg, #211d17, #0b0b0b);
}

.product-card__image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.product-card:hover .product-card__image img {
  transform: scale(1.025);
}

.image-fallback {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: none;
  padding: 24px;
  align-items: flex-end;
  color: var(--gold);
  font-weight: 700;
}

.product-card__image.is-broken .image-fallback {
  display: flex;
}

.product-card__image.is-broken img {
  display: none;
}

.product-card__content {
  padding: 14px;
}

.product-card__content h3 {
  min-height: 40px;
  margin: 0 0 4px;
  font-size: 16px;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.product-card__content p {
  display: -webkit-box;
  min-height: 32px;
  margin: 0 0 10px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

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

.product-card__bottom strong {
  font-size: 18px;
}

.product-add {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  color: var(--gold-ink);
  cursor: pointer;
  font-size: 22px;
  font-weight: 600;
}

.product-card__actions {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: flex-end;
}

.product-card-stepper,
.product-dialog-stepper {
  display: grid;
  overflow: hidden;
  grid-template-columns: 36px minmax(26px, auto) 36px;
  align-items: center;
  border: 1px solid rgb(215 180 109 / 45%);
  border-radius: 999px;
  background: #25211b;
  color: var(--text);
  text-align: center;
  box-shadow: 0 8px 22px rgb(0 0 0 / 24%);
}

.product-add[hidden],
.product-card-stepper[hidden],
.product-dialog-card__actions > .primary-button[hidden],
.product-dialog-stepper[hidden] {
  display: none;
}

.product-card-stepper button,
.product-dialog-stepper button {
  width: 36px;
  height: 38px;
  border: 0;
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  font-size: 21px;
}

.product-card-stepper span,
.product-dialog-stepper span {
  min-width: 24px;
  font-size: 14px;
  font-weight: 800;
}

.product-card-stepper button:hover,
.product-dialog-stepper button:hover {
  background: rgb(215 180 109 / 10%);
}

.category-nav {
  position: sticky;
  z-index: 35;
  top: 82px;
  display: flex;
  margin-top: 46px;
  padding: 12px 0;
  overflow-x: auto;
  gap: 10px;
  border-block: 1px solid var(--line);
  background: rgb(5 5 5 / 94%);
  backdrop-filter: blur(14px);
  scrollbar-width: none;
}

.category-nav::-webkit-scrollbar {
  display: none;
}

.category-link {
  padding: 12px 18px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--surface-raised);
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.category-link.is-active,
.category-link:hover {
  background: var(--gold);
  color: var(--gold-ink);
}

.catalog-section {
  scroll-margin-top: 220px;
}

.catalog-section__heading {
  margin-bottom: 24px;
}

.demo-form {
  display: grid;
  gap: 12px;
}

.demo-form label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-form input {
  min-height: 52px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: 0;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}

.demo-form input:focus {
  border-color: var(--gold);
}

.pickup-option,
.restaurant-dialog-item {
  display: flex;
  width: 100%;
  min-height: 66px;
  padding: 10px 12px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  text-decoration: none;
}

.pickup-option:hover,
.restaurant-dialog-item:hover {
  border-color: rgb(215 180 109 / 58%);
}

.pickup-option strong,
.pickup-option small {
  display: block;
}

.pickup-option small,
.restaurant-dialog-item small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.restaurant-dialog-list {
  display: grid;
  margin-bottom: 18px;
  gap: 10px;
}

.restaurant-dialog-item {
  justify-content: flex-start;
}

.restaurant-dialog-item.is-active {
  border-color: rgb(215 180 109 / 46%);
}

.restaurant-dialog-item--mari .restaurant-dialog-item__mark {
  background: #d2a46d;
  color: #25170e;
}

.restaurant-dialog-item--gosti .restaurant-dialog-item__mark {
  background: #617260;
  color: #fff;
}

.secondary-button {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.product-dialog-card {
  display: grid;
  width: min(100%, 860px);
  padding: 0;
  overflow: hidden;
  grid-template-columns: 1fr 1fr;
}

.product-dialog-card__image {
  min-height: 520px;
  background: var(--surface);
}

.product-dialog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-dialog-card__content {
  display: flex;
  padding: 56px 36px 36px;
  flex-direction: column;
}

.product-dialog-card__content h2 {
  margin-right: 40px;
}

.product-dialog-card__content > p:not(.eyebrow) {
  flex: 1;
}

.product-dialog-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.product-dialog-card__bottom > strong {
  font-size: 24px;
}

.product-dialog-card__actions {
  display: flex;
  min-width: 150px;
  justify-content: flex-end;
}

.product-dialog-stepper {
  grid-template-columns: 44px minmax(32px, auto) 44px;
}

.product-dialog-stepper button {
  width: 44px;
  height: 48px;
}

.story-dialog-card {
  display: grid;
  width: min(100%, 760px);
  padding: 0;
  overflow: hidden;
  grid-template-columns: 0.9fr 1.1fr;
}

.story-dialog-card > img {
  width: 100%;
  height: 540px;
  object-fit: cover;
}

.story-dialog-card__content {
  display: flex;
  padding: 58px 38px 36px;
  flex-direction: column;
}

.story-dialog-card__content > p:not(.eyebrow) {
  flex: 1;
  color: var(--muted);
  line-height: 1.6;
}

.dialog-backdrop--drawer {
  padding: 0;
  place-items: stretch end;
}

.cart-dialog-card {
  display: flex;
  width: min(100%, 600px);
  height: 100dvh;
  padding: 0;
  overflow: hidden;
  flex-direction: column;
  border-radius: 0;
  background: #090909;
}

.cart-dialog-card > .dialog-close {
  z-index: 2;
  top: 14px;
  right: 24px;
}

.cart-dialog__header {
  padding: 18px 30px 14px;
  flex: 0 0 auto;
  border-bottom: 1px solid var(--line);
}

.cart-dialog__header h2 {
  margin: 0;
  font-size: 28px;
}

.cart-dialog__body {
  padding: 14px 30px 24px;
  flex: 1 1 auto;
  overflow-y: auto;
}

.cart-order-settings {
  display: grid;
  gap: 10px;
}

.cart-mode-switch {
  display: grid;
  padding: 4px;
  grid-template-columns: 1fr 1fr;
  border-radius: 15px;
  background: var(--surface-raised);
}

.cart-mode-switch button {
  min-height: 42px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
}

.cart-mode-switch button.is-active {
  background: var(--gold);
  color: var(--gold-ink);
}

.cart-setting-row {
  display: grid;
  width: 100%;
  min-height: 56px;
  padding: 8px 12px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.cart-setting-row__icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-raised);
  color: var(--gold);
  font-size: 17px;
}

.cart-setting-row small,
.cart-setting-row strong {
  display: block;
}

.cart-setting-row small {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.cart-setting-row strong {
  overflow: hidden;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-list-heading {
  display: flex;
  margin-top: 20px;
  align-items: center;
  justify-content: space-between;
}

.cart-list-heading button {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.cart-list {
  display: grid;
  margin-top: 10px;
  gap: 8px;
}

.cart-empty {
  display: flex;
  min-height: 180px;
  padding: 24px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  border: 1px dashed #383838;
  border-radius: 16px;
  color: var(--muted);
  text-align: center;
}

.cart-empty strong {
  color: var(--text);
}

.cart-row {
  display: grid;
  min-height: 78px;
  padding: 8px;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.cart-row > img {
  width: 62px;
  height: 62px;
  border-radius: 9px;
  object-fit: cover;
}

.cart-row__info strong,
.cart-row__info span {
  display: block;
}

.cart-row__info strong {
  font-size: 13px;
  line-height: 1.35;
}

.cart-row__meta {
  display: flex;
  margin-top: 4px;
  align-items: center;
  gap: 10px;
}

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

.quantity-control {
  display: grid;
  overflow: hidden;
  grid-template-columns: 28px 26px 28px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-align: center;
}

.quantity-control button {
  width: 28px;
  height: 30px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.cart-row__remove {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cart-recommendations {
  padding-top: 24px;
}

.cart-recommendations h3 {
  margin: 0 0 14px;
  font-size: 21px;
}

.cart-recommendations__track {
  display: flex;
  padding-bottom: 6px;
  overflow-x: auto;
  gap: 10px;
  scrollbar-width: none;
}

.cart-recommendations__track::-webkit-scrollbar {
  display: none;
}

.cart-recommendation {
  position: relative;
  width: 146px;
  flex: 0 0 146px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
}

.cart-recommendation img {
  width: 100%;
  aspect-ratio: 1.15;
  object-fit: cover;
}

.cart-recommendation > div {
  padding: 10px 38px 10px 10px;
}

.cart-recommendation strong,
.cart-recommendation span {
  display: block;
}

.cart-recommendation strong {
  min-height: 34px;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.35;
}

.cart-recommendation span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
}

.cart-recommendation > button {
  position: absolute;
  right: 9px;
  bottom: 9px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  color: var(--gold-ink);
  cursor: pointer;
  font-size: 18px;
}

.cart-cutlery {
  display: grid;
  min-height: 56px;
  margin-top: 20px;
  padding: 8px 12px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
}

.quantity-control--cutlery {
  grid-template-columns: 34px 28px 34px;
}

.cart-dialog__footer {
  display: grid;
  padding: 16px 30px calc(18px + env(safe-area-inset-bottom));
  grid-template-columns: minmax(110px, auto) 1fr;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--line);
  background: #242424;
  box-shadow: 0 -16px 30px rgb(0 0 0 / 24%);
}

.cart-summary {
  display: grid;
  gap: 3px;
  font-size: 13px;
}

.cart-summary strong {
  font-size: 22px;
}

.cart-dialog__footer .primary-button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.primary-button--full {
  width: 100%;
  margin-top: 18px;
  border: 0;
  cursor: pointer;
}

.primary-button:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}

.demo-complete-card {
  text-align: center;
}

.demo-complete-card__mark {
  display: grid;
  width: 68px;
  height: 68px;
  margin: 0 auto 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--gold-ink);
  font-size: 30px;
  font-weight: 800;
}

.login-dialog-card,
.account-dialog-card {
  width: min(100%, 520px);
}

.login-dialog-card h2,
.account-dialog-card h2 {
  max-width: 390px;
}

.login-form {
  margin-top: 28px;
}

.login-form input {
  font-size: 20px;
  font-weight: 600;
}

.login-legal {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.account-profile {
  display: flex;
  margin: 28px 0 18px;
  padding: 16px;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
}

.account-profile__mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgb(215 180 109 / 46%);
  border-radius: 12px;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 26px;
}

.account-profile small,
.account-profile strong {
  display: block;
}

.account-profile small {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.account-links {
  display: grid;
  margin-bottom: 18px;
  gap: 8px;
}

.account-links button {
  display: flex;
  min-height: 54px;
  padding: 0 16px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  cursor: pointer;
  text-align: left;
}

.account-dialog-card > .secondary-button {
  width: 100%;
  background: transparent;
  cursor: pointer;
}

@media (max-width: 900px) {
  .storefront-header__main .site-header__inner {
    grid-template-columns: minmax(210px, 260px) minmax(410px, 1fr) auto;
    gap: 10px;
  }

  .header-fulfillment {
    grid-template-columns: minmax(190px, 0.9fr) minmax(210px, 1.1fr);
  }

  .restaurant-switcher small,
  .required-action small {
    display: none;
  }

  .story-card {
    width: 190px;
    flex-basis: 190px;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .storefront-header .site-header {
    height: auto;
  }

  .storefront-header__main .site-header__inner {
    min-height: 122px;
    padding-block: 8px;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "left actions"
      "fulfillment fulfillment";
    gap: 8px;
  }

  .storefront-header__left {
    grid-area: left;
  }

  .storefront-header .site-header__actions {
    grid-area: actions;
  }

  .storefront-header .text-button {
    display: inline-grid;
    min-width: auto;
    padding-inline: 8px;
    font-size: 11px;
  }

  .header-fulfillment {
    grid-area: fulfillment;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .restaurant-switcher {
    max-width: 190px;
    padding-right: 6px;
  }

  .restaurant-switcher__mark {
    width: 36px;
    height: 36px;
  }

  .restaurant-switcher small {
    display: none;
  }

  .mode-switch,
  .required-action {
    min-height: 42px;
  }

  .mode-button {
    padding-inline: 10px;
    font-size: 13px;
  }

  .required-action {
    padding-block: 6px;
  }

  .restaurant-hero {
    min-height: 360px;
  }

  .restaurant-hero h1 {
    font-size: clamp(52px, 19vw, 78px);
  }

  .storefront-content {
    padding-block: 18px 72px;
  }

  .stories-track {
    gap: 10px;
  }

  .story-card {
    width: 158px;
    height: 214px;
    flex-basis: 158px;
    border-radius: 16px;
  }

  .story-card__content {
    right: 12px;
    bottom: 13px;
    left: 12px;
  }

  .story-card__content strong {
    font-size: 16px;
  }

  .story-card__content small {
    display: none;
  }

  .promo-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 14px;
  }

  .promo-card,
  .promo-card--wide {
    min-height: 270px;
    grid-row: auto;
  }

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

  .menu-section__heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .category-nav {
    top: 122px;
    margin-top: 38px;
  }

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

  .product-grid--featured {
    gap: 10px;
  }

  .product-grid--featured .product-card {
    width: 166px;
    flex-basis: 166px;
  }

  .product-card__image {
    aspect-ratio: 1;
  }

  .product-card__content {
    padding: 10px;
  }

  .product-card__content h3 {
    min-height: 38px;
    margin-bottom: 3px;
    font-size: 14px;
  }

  .product-card__content p {
    min-height: 28px;
    margin-bottom: 8px;
    font-size: 10px;
  }

  .product-card__bottom strong {
    font-size: 14px;
  }

  .product-add {
    width: 34px;
    height: 34px;
  }

  .product-card-stepper {
    grid-template-columns: 30px 24px 30px;
  }

  .product-card-stepper button {
    width: 30px;
    height: 34px;
  }

  .catalog-section {
    scroll-margin-top: 250px;
  }

  .dialog-backdrop {
    padding: 12px;
    place-items: end center;
  }

  .dialog-card {
    width: 100%;
    max-height: 88dvh;
    overflow-y: auto;
    border-radius: 20px;
  }

  .product-dialog-card {
    display: block;
  }

  .product-dialog-card__image {
    min-height: 0;
    aspect-ratio: 1.2;
  }

  .product-dialog-card__content {
    min-height: 310px;
    padding: 28px 20px 20px;
  }

  .story-dialog-card {
    display: block;
  }

  .story-dialog-card > img {
    height: 330px;
  }

  .story-dialog-card__content {
    min-height: 250px;
    padding: 28px 20px 20px;
  }

  .dialog-backdrop--drawer {
    padding: 0;
  }

  .cart-dialog-card {
    height: 100dvh;
    max-height: 100dvh;
    padding-bottom: 0;
    border-radius: 0;
  }

  .cart-dialog__header {
    padding: 26px 18px 15px;
  }

  .cart-dialog__header h2 {
    font-size: 28px;
  }

  .cart-dialog__body {
    padding: 16px 18px 24px;
  }

  .cart-dialog__footer {
    padding-inline: 18px;
    grid-template-columns: 100px 1fr;
    gap: 12px;
  }
}
