
:root {
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
  --color-ink: #11100f;
  --color-ink-soft: #2f302d;
  --color-paper: #f4efe5;
  --color-paper-strong: #fbf7ee;
  --color-coral: #9a8357;
  --color-coral-dark: #6f6042;
  --color-olive: #4f5a49;
  --color-amber: #b49a62;
  --color-honey: #d5c48f;
  --color-clay: #6f6a5f;
  --color-line: rgba(21, 19, 19, 0.14);
  --color-white: #ffffff;
  --shadow: 0 18px 48px rgba(21, 19, 19, 0.18);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-ink);
  background: var(--color-paper);
  font-family: var(--font-sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

* {
  scrollbar-color: var(--color-coral) rgba(17, 16, 15, 0.12);
  scrollbar-width: thin;
}

*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(17, 16, 15, 0.1);
}

*::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(var(--color-coral), var(--color-coral-dark)) content-box;
}

*::-webkit-scrollbar-thumb:hover {
  background:
    linear-gradient(var(--color-coral-dark), var(--color-coral)) content-box;
}

body.is-overlay-open {
  overflow: hidden;
}

#contacts,
#menu {
  scroll-margin-top: 96px;
}

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

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

a:hover {
  color: var(--color-coral);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: rgba(8, 8, 7, 0.94);
  color: var(--color-white);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

.site-header__inner {
  position: relative;
  width: min(100% - 32px, var(--max-width));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-header__brand,
.site-footer__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 700;
}

.site-header__link {
  opacity: 0.82;
}

.site-header__link:hover,
.site-header__link:focus-visible,
.site-header__link[aria-current="page"] {
  color: var(--color-honey);
  opacity: 1;
}

.site-header__menu {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header__menu li {
  position: relative;
  margin: 0;
}

.site-header__menu > .menu-item-has-children {
  padding-bottom: 12px;
  margin-bottom: -12px;
}

.site-header__menu a {
  align-items: center;
  display: inline-flex;
  gap: 6px;
  min-height: 40px;
  opacity: 0.82;
}

.site-header__menu a:hover,
.site-header__menu a:focus-visible,
.site-header__menu .current-menu-item > a,
.site-header__menu .current-menu-ancestor > a,
.site-header__menu a[aria-current="page"] {
  color: var(--color-honey);
  opacity: 1;
}

.site-header__menu .menu-item-has-children > a::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.76;
}

.site-header__menu .sub-menu {
  position: absolute;
  top: 100%;
  left: -14px;
  z-index: 30;
  min-width: 230px;
  list-style: none;
  margin: 0;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(21, 19, 19, 0.98);
  box-shadow: 0 18px 44px rgba(8, 8, 7, 0.34);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.site-header__menu .sub-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}

.site-header__menu .menu-item-has-children:hover > .sub-menu,
.site-header__menu .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-header__menu .sub-menu a {
  display: flex;
  min-height: 38px;
  padding: 0 10px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.82);
  white-space: nowrap;
}

.site-header__menu .sub-menu a:hover,
.site-header__menu .sub-menu a:focus-visible,
.site-header__menu .sub-menu .current-menu-item > a {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-honey);
}

.site-header__toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--color-white);
  padding: 10px;
  cursor: pointer;
}

.site-header__toggle-line {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: opacity 0.18s ease, transform 0.22s ease;
}

.site-header__toggle--open .site-header__toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header__toggle--open .site-header__toggle-line:nth-child(2) {
  opacity: 0;
}

.site-header__toggle--open .site-header__toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-header__socials,
.site-footer__socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-header__social,
.site-footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  color: var(--color-white);
}

.site-header__social {
  width: 38px;
  height: 38px;
}

.site-footer__social {
  width: 42px;
  height: 42px;
}

.site-header__social:hover,
.site-footer__social:hover {
  border-color: var(--color-honey);
  color: var(--color-honey);
}

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

.hero {
  position: relative;
  min-height: 82svh;
  display: grid;
  align-items: center;
  color: var(--color-white);
  background-color: #110f0c;
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
}

.hero--home,
.hero--restaurant {
  min-height: 100svh;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 8, 7, 0.82), rgba(8, 8, 7, 0.52) 52%, rgba(8, 8, 7, 0.4)),
    linear-gradient(0deg, rgba(8, 8, 7, 0.18), rgba(8, 8, 7, 0.18));
}

.hero__content {
  position: relative;
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
  padding: 72px 0;
}

.hero__kicker,
.section__kicker,
.menu-hero__kicker {
  margin: 0 0 14px;
  color: var(--color-coral);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 13px;
}

.hero__title {
  max-width: 820px;
  margin: 0;
  font-family: var(--font-display);
  font-size: 88px;
  line-height: 0.94;
  letter-spacing: 0;
}

.hero--restaurant .hero__title {
  font-size: 64px;
}

.hero__lead {
  max-width: 690px;
  margin: 24px 0 0;
  font-size: 22px;
  line-height: 1.45;
}

.hero__notice {
  position: relative;
  display: block;
  width: min(100%, 720px);
  margin-top: 26px;
  padding: 15px 18px 15px 20px;
  border: 1px solid rgba(242, 233, 216, 0.14);
  border-left: 4px solid var(--color-amber);
  border-radius: 8px;
  background: rgba(10, 10, 9, 0.76);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
  color: #f2e9d8;
  backdrop-filter: blur(10px);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.hero__notice--accent,
.hero__notice--alert {
  border-color: rgba(255, 226, 226, 0.18);
  border-left-color: #e07078;
  background:
    linear-gradient(135deg, rgba(112, 29, 38, 0.96), rgba(162, 48, 61, 0.92) 48%, rgba(96, 25, 35, 0.96));
  box-shadow: 0 16px 42px rgba(96, 25, 35, 0.28);
}

.hero__notice--dark {
  border-color: rgba(242, 233, 216, 0.14);
  border-left-color: var(--color-amber);
  background: rgba(10, 10, 9, 0.76);
}

.hero__notice--light {
  border-color: rgba(255, 255, 255, 0.7);
  border-left-color: #f2c46d;
  background: rgba(255, 255, 255, 0.88);
  color: #1f1b16;
}

.hero__notice--outline {
  border-color: rgba(242, 233, 216, 0.36);
  border-left-color: rgba(242, 233, 216, 0.9);
  background: rgba(10, 10, 9, 0.22);
  box-shadow: none;
}

.hero__notice-line {
  display: block;
}

.hero__notice-line + .hero__notice-line {
  margin-top: 8px;
  color: rgba(242, 233, 216, 0.82);
}

.hero__notice--light .hero__notice-line + .hero__notice-line {
  color: rgba(31, 27, 22, 0.72);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--color-coral);
  border-radius: 8px;
  background: var(--color-coral);
  color: var(--color-white);
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(86, 76, 52, 0.22);
}

.button:hover {
  background: var(--color-coral-dark);
  color: var(--color-white);
}

.button--light,
.button--ghost {
  background: transparent;
  box-shadow: none;
}

.button--ghost {
  color: var(--color-coral);
}

.button--ghost:hover {
  color: var(--color-white);
}

.section {
  scroll-margin-top: 84px;
  padding: 88px 0;
  background: var(--color-paper-strong);
}

.section--warm {
  background: var(--color-paper);
}

.section--dark {
  background: var(--color-ink);
  color: var(--color-white);
}

.section--contact {
  background: #efe4d3;
}

.section__inner {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

.section--404 .section__inner,
.section--page .section__inner {
  min-height: 70vh;
}

.section__inner--split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
}

.section__head {
  max-width: 780px;
  margin-bottom: 36px;
}

.section__title,
.menu-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 1.04;
  letter-spacing: 0;
  white-space: pre-line;
}

.section__text {
  max-width: 720px;
  margin: 18px 0 0;
  color: inherit;
  opacity: 0.86;
  font-size: 18px;
}

.section--corkage {
  padding-bottom: 48px;
}

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

.corkage-list {
  width: 100%;
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 30px rgba(21, 19, 19, 0.08);
}

.corkage-list__item {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 13px 15px;
  border: 1px solid rgba(21, 19, 19, 0.1);
  border-radius: 8px;
  background: var(--color-paper-strong);
}

.corkage-list__name {
  min-width: 0;
  color: var(--color-ink);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.28;
}

.corkage-list__name span {
  color: rgba(21, 19, 19, 0.64);
  font-size: 15px;
  font-weight: 650;
}

.corkage-list__price {
  flex: 0 0 auto;
  min-width: 74px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #eadbc2;
  color: var(--color-coral-dark);
  font-size: 18px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  text-align: center;
}

.restaurant-grid,
.category-grid,
.product-grid,
.review-grid,
.contact-grid {
  display: grid;
  gap: 11px;
}

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

.restaurant-card,
.category-card,
.product-card,
.review-card,
.contact-card {
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: var(--color-white);
  box-shadow: 0 10px 30px rgba(21, 19, 19, 0.08);
}

.restaurant-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.restaurant-card__media,
.category-card__media,
.product-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ddd1c4;
}

.category-card__media {
  position: relative;
}

.restaurant-card__image,
.category-card__image,
.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.restaurant-card:hover .restaurant-card__image,
.category-card:hover .category-card__image,
.product-card:hover .product-card__image {
  transform: scale(1.04);
}

.category-card__badge {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 1;
  min-width: 34px;
  height: 32px;
  padding: 0 8px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(216, 196, 139, 0.58);
  border-radius: 8px;
  background: rgba(17, 16, 15, 0.78);
  color: var(--color-honey);
  box-shadow: 0 14px 30px rgba(17, 16, 15, 0.22);
  backdrop-filter: blur(8px);
}

.category-card__badge-number {
  display: block;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
}

.restaurant-card__body,
.category-card__body,
.product-card__body,
.review-card,
.contact-card {
  padding: 22px;
}

.restaurant-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.restaurant-card__eyebrow,
.restaurant-card__count,
.review-card__meta,
.contact-card__status {
  margin: 0;
  color: var(--color-coral);
  font-size: 13px;
  font-weight: 800;
}

.contact-card__phone {
  margin: 8px 0 0;
  color: var(--color-coral);
  font-size: 28px;
  font-weight: 900;
  line-height: 1.1;
}

.contact-card__phone a,
.contact-panel__phone a,
.site-footer__phone,
.site-footer__restaurant {
  color: inherit;
}

.contact-card__phone a:hover,
.contact-card__title a:hover,
.contact-panel__phone a:hover,
.site-footer__phone:hover,
.site-footer__restaurant:hover {
  color: var(--color-honey);
}

.restaurant-card__title,
.category-card__title,
.contact-card__title,
.review-card__name {
  margin: 10px 0 0;
  font-family: var(--font-sans);
  font-size: 23px;
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: 0;
  white-space: pre-line;
}

.restaurant-card__text,
.contact-card__text,
.review-card__text {
  margin: 14px 0 0;
}

.restaurant-card__text {
  margin-bottom: 24px;
}

.restaurant-card__body .button {
  align-self: flex-start;
  margin-top: auto;
}

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

.about-gallery__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
}

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

.review-card__person {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}

.review-card__avatar {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 50%;
}

.review-card__link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--color-coral-dark);
  font-weight: 800;
}

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

.contact-panel {
  max-width: 560px;
}

.contact-panel__line,
.contact-panel__phone,
.contact-panel__address {
  margin: 12px 0;
  font-size: 18px;
}

.contact-panel__phone {
  font-size: 28px;
  font-weight: 800;
}

.map-embed {
  min-height: 360px;
  border-radius: 8px;
  overflow: hidden;
  background: #d9cec0;
}

.map-embed__frame {
  width: 100%;
  height: 420px;
  border: 0;
}

.menu-hero {
  padding: 128px 0 42px;
  background: var(--color-ink);
  color: var(--color-white);
}

.menu-hero__inner {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

.menu-hero__text {
  max-width: 680px;
  margin: 18px 0 0;
  opacity: 0.82;
  font-size: 18px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.breadcrumbs__link::after {
  content: "/";
  margin-left: 10px;
  opacity: 0.5;
}

.menu-return {
  margin-bottom: 30px;
}

.menu-return__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid var(--color-coral);
  border-radius: 8px;
  background: var(--color-coral);
  color: var(--color-white);
  font-weight: 800;
  line-height: 1.2;
  box-shadow: 0 10px 26px rgba(86, 76, 52, 0.22);
}

.menu-return__button:hover {
  background: var(--color-coral-dark);
  color: var(--color-white);
}

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

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  padding-bottom: 86px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.product-card:hover,
.product-card:focus-visible {
  border-color: rgba(154, 131, 87, 0.48);
  box-shadow: 0 18px 42px rgba(21, 19, 19, 0.14);
  transform: translateY(-2px);
  outline: 0;
}

.product-card--closed {
  cursor: default;
}

.product-card--closed:hover,
.product-card--closed:focus-visible {
  border-color: var(--color-line);
  box-shadow: 0 10px 30px rgba(21, 19, 19, 0.08);
  transform: none;
}

.product-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 172px;
  padding-bottom: 68px;
}

.product-card--closed .product-card__body {
  padding-bottom: 22px;
}

.product-card__media {
  position: static;
  aspect-ratio: 1 / 1;
}

.product-card__add {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  width: 42px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-coral);
  border-radius: 8px;
  background: var(--color-coral);
  color: var(--color-white);
  box-shadow: 0 10px 26px rgba(86, 76, 52, 0.22);
  cursor: pointer;
  font-size: 23px;
  font-weight: 800;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.product-card__add:hover,
.product-card__add:focus-visible {
  background: var(--color-coral-dark);
  transform: scale(1.05);
  outline: 0;
}

.product-card__title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 850;
  line-height: 1.18;
  letter-spacing: 0;
  white-space: pre-line;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.product-card__price {
  display: inline-flex;
  align-self: flex-start;
  margin: 14px 0 0;
  padding: 5px 9px;
  border-radius: 6px;
  background: #eadbc2;
  color: var(--color-coral-dark);
  font-weight: 900;
}

.product-card__closed {
  display: inline-flex;
  align-self: flex-start;
  margin: 12px 0 0;
  padding: 5px 9px;
  border: 1px solid rgba(200, 59, 72, 0.22);
  border-radius: 8px;
  background: rgba(200, 59, 72, 0.08);
  color: #9f2f39;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
}

.restaurant-is-closed .cart-fab,
.restaurant-is-closed .cart-drawer {
  display: none !important;
}

.product-card__description {
  display: none;
}

.product-modal,
.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
}

.product-modal[hidden],
.cart-drawer[hidden] {
  display: none;
}

.product-modal__backdrop,
.cart-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 7, 0.72);
  backdrop-filter: blur(8px);
}

.product-modal {
  display: grid;
  place-items: center;
  padding: 18px;
}

.product-modal__dialog {
  position: relative;
  width: min(calc(100vw - 36px), 980px);
  height: min(720px, calc(100svh - 36px));
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: var(--color-paper-strong);
  box-shadow: var(--shadow);
}

.product-modal__close,
.cart-drawer__close {
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: var(--color-ink);
  color: var(--color-white);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.product-modal__close {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 3;
  width: 42px;
  height: 42px;
}

.product-modal__media {
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 35%, rgba(213, 196, 143, 0.12), transparent 46%),
    #11100f;
}

.product-modal__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.product-modal__content {
  min-height: 0;
  overflow-y: auto;
  padding: 34px;
}

.product-modal__kicker,
.product-modal__legend,
.cart-drawer__kicker {
  margin: 0;
  color: var(--color-coral);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.product-modal__title,
.cart-drawer__title {
  margin: 8px 0 0;
  font-family: var(--font-sans);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0;
}

.product-modal__title {
  max-width: 92%;
  font-size: 30px;
  white-space: pre-line;
}

.product-modal__description {
  margin: 18px 0 0;
  color: rgba(21, 19, 19, 0.78);
  font-size: 16px;
  white-space: pre-line;
}

.product-modal__fieldset {
  margin: 24px 0 0;
  padding: 0;
  border: 0;
}

.product-modal__legend {
  margin-bottom: 10px;
}

.product-modal__variant-list,
.product-modal__addon-list {
  display: grid;
  gap: 9px;
}

.product-modal__variant,
.product-modal__addon {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid rgba(21, 19, 19, 0.13);
  border-radius: 8px;
  background: var(--color-white);
  cursor: pointer;
}

.product-modal__variant:has(.product-modal__radio:checked),
.product-modal__addon:has(.product-modal__checkbox:checked) {
  border-color: var(--color-coral);
  box-shadow: 0 10px 24px rgba(86, 76, 52, 0.12);
}

.product-modal__radio,
.product-modal__checkbox {
  accent-color: var(--color-coral);
}

.product-modal__variant-name,
.product-modal__addon-name {
  min-width: 0;
  font-weight: 800;
}

.product-modal__variant-price,
.product-modal__addon-price {
  color: var(--color-coral-dark);
  white-space: nowrap;
}

.product-modal__footer {
  position: sticky;
  bottom: -34px;
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 28px -34px -34px;
  padding: 18px 34px;
  border-top: 1px solid var(--color-line);
  background: rgba(251, 247, 238, 0.94);
  backdrop-filter: blur(10px);
}

.product-modal__submit {
  flex: 1;
}

.quantity-control {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  overflow: hidden;
  border: 1px solid rgba(21, 19, 19, 0.14);
  border-radius: 8px;
  background: var(--color-white);
}

.quantity-control__button {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--color-ink);
  cursor: pointer;
  font-size: 22px;
  font-weight: 900;
}

.quantity-control__button:hover {
  background: rgba(154, 131, 87, 0.14);
}

.quantity-control__value {
  min-width: 34px;
  text-align: center;
  font-weight: 900;
}

.quantity-control--small {
  min-height: 36px;
}

.quantity-control--small .quantity-control__button {
  width: 34px;
  height: 34px;
  font-size: 18px;
}

.cart-fab {
  position: fixed;
  right: max(32px, calc((100vw - var(--max-width)) / 2 + 16px));
  bottom: 18px;
  z-index: 60;
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 14px;
  min-height: 62px;
  padding: 10px 18px 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(18, 17, 15, 0.96), rgba(43, 39, 32, 0.94));
  color: var(--color-white);
  box-shadow: 0 18px 44px rgba(8, 8, 7, 0.28);
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.cart-fab:hover,
.cart-fab:focus-visible {
  border-color: rgba(213, 196, 143, 0.5);
  box-shadow: 0 22px 54px rgba(8, 8, 7, 0.34);
  transform: translateY(-2px);
  outline: 0;
}

.cart-fab__icon {
  position: relative;
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-honey);
}

.cart-fab__svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-fab__count {
  position: absolute;
  top: -9px;
  right: -9px;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  border: 2px solid rgba(18, 17, 15, 0.96);
  background: #c83b48;
  color: var(--color-white);
  box-shadow: 0 8px 18px rgba(8, 8, 7, 0.32);
  font-size: 13px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.cart-fab__total {
  min-width: 62px;
  color: var(--color-white);
  font-size: 15px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  white-space: nowrap;
}

.cart-fab--filled .cart-fab__icon {
  background: rgba(154, 131, 87, 0.28);
}

.cart-fab:not(.cart-fab--filled) .cart-fab__count {
  background: #71644a;
}

.cart-drawer {
  display: grid;
  justify-items: end;
}

.cart-drawer__panel {
  position: relative;
  width: min(100%, 440px);
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--color-paper-strong);
  box-shadow: var(--shadow);
}

.cart-drawer__head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.cart-drawer__title {
  font-size: 32px;
}

.cart-drawer__close {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
}

.cart-drawer__items {
  flex: 1;
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 0;
  max-height: 100%;
  margin: 22px -8px 0;
  padding: 0 8px 18px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.cart-drawer__empty {
  margin: 0;
  padding: 18px;
  border: 1px dashed rgba(21, 19, 19, 0.22);
  border-radius: 8px;
  color: rgba(21, 19, 19, 0.7);
  text-align: center;
}

.cart-item {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: var(--color-white);
}

.cart-item__image {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: 6px;
  background: #ddd1c4;
}

.cart-item__title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 850;
  line-height: 1.16;
}

.cart-item__variant,
.cart-item__addons,
.cart-item__price {
  margin: 5px 0 0;
  color: rgba(21, 19, 19, 0.72);
  font-size: 13px;
  line-height: 1.35;
}

.cart-item__addons {
  color: rgba(21, 19, 19, 0.58);
}

.cart-item__price {
  color: var(--color-coral-dark);
  font-weight: 900;
}

.cart-item__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.cart-item__remove,
.cart-drawer__clear {
  border: 0;
  background: transparent;
  color: var(--color-coral-dark);
  cursor: pointer;
  font-weight: 900;
}

.cart-item__remove {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(21, 19, 19, 0.12);
  border-radius: 8px;
  background: rgba(154, 131, 87, 0.1);
  color: var(--color-ink);
  font-size: 22px;
  line-height: 1;
}

.cart-item__remove:hover,
.cart-item__remove:focus-visible {
  background: #b6353e;
  color: var(--color-white);
  outline: 0;
}

.cart-drawer__summary {
  margin: 0 -24px -24px;
  padding: 18px 24px 24px;
  border-top: 1px solid var(--color-line);
  background: #efe4d3;
}

.cart-drawer__total {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  font-size: 18px;
  font-weight: 900;
}

.cart-drawer__note {
  min-height: 18px;
  margin: 8px 0 0;
  color: rgba(21, 19, 19, 0.68);
  font-size: 13px;
}

.cart-drawer__clear {
  margin-top: 10px;
  padding: 0;
}

.site-footer {
  background: #0f0e0d;
  color: var(--color-white);
  padding: 44px 0;
}

.site-footer__inner {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 32px;
  align-items: start;
}

.site-footer__text,
.site-footer__contact {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer__contacts {
  font-style: normal;
}

.site-footer__contact {
  display: block;
}

.site-footer__restaurant {
  font-weight: 900;
}

.site-footer__phone {
  font-weight: 800;
  white-space: nowrap;
}

@media (max-width: 1020px) {
  .restaurant-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .section__inner--split,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header__toggle {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 5px;
  }

  .site-header__nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 16px;
    background: rgba(21, 19, 19, 0.98);
  }

  .site-header__menu {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .site-header__link {
    width: 100%;
    padding: 12px 0;
  }

  .site-header__menu a {
    width: 100%;
    min-height: 44px;
    padding: 0;
  }

  .site-header__menu .menu-item-has-children > a::after {
    margin-left: auto;
  }

  .site-header__menu > .menu-item-has-children {
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .site-header__menu .sub-menu {
    position: static;
    min-width: 0;
    padding: 0 0 8px 14px;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .site-header__menu .sub-menu::before {
    display: none;
  }

  .site-header__menu .sub-menu a {
    min-height: 38px;
    padding: 0 10px;
    white-space: normal;
  }

  .site-header__actions {
    gap: 12px;
  }

  .site-header__nav--open {
    display: flex;
  }

  .hero {
    min-height: 76svh;
  }

  .hero--home,
  .hero--restaurant {
    min-height: 100svh;
  }

  .hero__content {
    padding: 48px 0;
  }

  .hero__title {
    font-size: 56px;
    line-height: 0.96;
  }

  .hero--restaurant .hero__title {
    font-size: 42px;
  }

  .hero__lead {
    font-size: 18px;
  }

  .hero__notice {
    padding: 14px 16px;
    font-size: 15px;
  }

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

  .section {
    padding: 60px 0;
  }

  .section__title,
  .menu-hero__title {
    font-size: 38px;
  }

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

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

  .restaurant-card__body,
  .category-card__body,
  .product-card__body,
  .review-card,
  .contact-card {
    padding: 18px;
  }

  .product-card__body {
    min-height: 150px;
    padding-bottom: 64px;
  }

  .product-card__title {
    font-size: 17px;
    -webkit-line-clamp: 3;
  }

  .category-card__title,
  .restaurant-card__title,
  .contact-card__title,
  .review-card__name {
    font-size: 21px;
  }

  .product-modal {
    padding: 10px;
    align-items: end;
  }

  .product-modal__dialog {
    width: min(100%, 420px);
    height: calc(100svh - 20px);
    max-height: none;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(220px, 34svh) minmax(0, 1fr);
  }

  .product-modal__media {
    min-height: 0;
  }

  .product-modal__image {
    height: 100%;
    min-height: 0;
    max-height: none;
  }

  .product-modal__content {
    min-height: 0;
    padding: 22px;
  }

  .product-modal__title {
    font-size: 24px;
  }

  .product-modal__footer {
    bottom: -22px;
    flex-direction: column;
    align-items: stretch;
    margin: 22px -22px -22px;
    padding: 14px 22px;
  }

  .product-modal__footer .quantity-control {
    width: fit-content;
    max-width: 100%;
    align-self: flex-start;
  }

  .product-modal__variant,
  .product-modal__addon {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .product-modal__variant-price,
  .product-modal__addon-price {
    grid-column: 2;
  }

  .cart-fab {
    right: 32px;
    bottom: 14px;
  }

  .cart-drawer__panel {
    width: 100%;
    padding: 20px;
  }

  .cart-drawer__title {
    font-size: 26px;
  }

  .cart-drawer__summary {
    margin: 0 -20px -20px;
    padding: 16px 20px 20px;
  }
}

@media (max-width: 540px) {
  .category-grid {
    grid-template-columns: 1fr;
  }

  .hero__title {
    font-size: 48px;
  }

  .hero--restaurant .hero__title {
    font-size: 36px;
  }

  .section__title,
  .menu-hero__title {
    font-size: 34px;
  }
}

@media (max-width: 350px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}
