/* НЯМням — автономные стили. Все основные правила ограничены корнем .nyam-site. */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: #0d1012;
}

.nyam-site {
  --bg: #0d1012;
  --bg-soft: #121517;
  --surface: #171a1c;
  --surface-2: #1c2023;
  --surface-3: #252a2e;
  --line: rgba(255, 255, 255, 0.12);
  --line-hot: rgba(242, 58, 36, 0.62);
  --text: #f7f4ee;
  --muted: #a9a9ab;
  --muted-2: #777a7f;
  --accent: #ed2f26;
  --accent-2: #ff651e;
  --accent-soft: #ff9f1a;
  --green: #8be354;
  --green-hover: #c7f451;
  --blue: #315efb;
  --container: 1150px;
  --header-height: 78px;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  min-width: 320px;
  overflow: clip;
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 20% 100%,
    radial-gradient(circle at 10% 18%, rgba(237, 47, 38, 0.11), transparent 28%),
    radial-gradient(circle at 90% 62%, rgba(255, 135, 48, 0.08), transparent 25%),
    linear-gradient(180deg, #111518 0%, #0b0e10 34%, #14110f 68%, #0c1012 100%);
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

.nyam-site button,
.nyam-site input,
.nyam-site textarea {
  font-family: inherit;
}

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

.nyam-site a {
  color: inherit;
  text-decoration: none;
}

.nyam-site button {
  color: inherit;
}

.nyam-site [hidden] {
  display: none !important;
}

.nyam-site ::selection {
  color: #fff;
  background: var(--accent);
}

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

.skip-link {
  position: fixed;
  z-index: 5000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 8px;
  color: #0a0c0e;
  background: #fff;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.ui-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  background-color: transparent;
  background-image: var(--icon);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  filter: var(--icon-filter, brightness(0) invert(1));
}

.brand-mark .ui-icon,
.offer-pill .ui-icon,
.hero-benefit > .ui-icon,
.menu-note .ui-icon,
.promo-flame .ui-icon,
.promo-points .ui-icon,
.top-badge .ui-icon,
.about-features .ui-icon,
.contact-icon .ui-icon,
.map-pin > .ui-icon,
.cart-delivery-note .ui-icon,
.empty-cart-icon .ui-icon {
  --icon-filter: brightness(0) saturate(100%) invert(51%) sepia(99%) saturate(3118%) hue-rotate(347deg) brightness(103%) contrast(102%);
}

.menu-tab:not(.is-active) .ui-icon {
  --icon-filter: brightness(0) invert(64%);
}

.menu-tab.is-active .ui-icon,
.button .ui-icon,
.icon-button .ui-icon {
  --icon-filter: brightness(0) invert(1);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.major-section {
  padding-top: 150px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 44px;
}

.section-heading h2,
.about-content h2,
.contacts-copy h2 {
  margin: 0;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 60px;
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.section-heading h2 span,
.about-content h2 span,
.contacts-copy h2 span {
  color: var(--accent-2);
}

.section-heading > p {
  width: min(100%, 410px);
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 16px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms var(--ease),
    transform 700ms var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Кнопки */

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.15;
  transition:
    color 220ms var(--ease),
    background-color 220ms var(--ease),
    border-color 220ms var(--ease),
    box-shadow 220ms var(--ease),
    transform 220ms var(--ease);
}

.button .ui-icon {
  width: 22px;
  height: 22px;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 14px 34px rgba(237, 47, 38, 0.26);
}

.button-outline {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(8, 9, 10, 0.38);
  backdrop-filter: blur(10px);
}

.button-outline .arrow-icon {
  width: 24px;
  transition: transform 220ms var(--ease);
}

.text-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 800;
  transition: transform 220ms var(--ease);
}

.text-link .ui-icon {
  width: 22px;
  color: var(--accent-2);
  transition: transform 220ms var(--ease);
}

@media (hover: hover) {
  .button:hover,
  .text-link:hover {
    transform: translateY(-5px);
  }

  .button-primary:hover {
    background: linear-gradient(135deg, #ff4733, #ff7928);
    box-shadow: 0 18px 42px rgba(237, 47, 38, 0.34);
  }

  .button-outline:hover {
    border-color: var(--accent-2);
    background: rgba(255, 101, 30, 0.1);
  }

  .button-outline:hover .arrow-icon,
  .text-link:hover .ui-icon {
    transform: translateX(5px);
  }
}

.button:focus-visible,
.text-link:focus-visible,
.nav-link:focus-visible,
.menu-tab:focus-visible,
.option-button:focus-visible,
.icon-button:focus-visible,
.portfolio-return:focus-visible,
.scroll-top:focus-visible {
  outline: 3px solid rgba(255, 159, 26, 0.92);
  outline-offset: 3px;
}

/* Кнопка возврата в портфолио */

.portfolio-return {
  --portfolio-return-text: #101d10;
  position: fixed;
  z-index: 1450;
  top: 50%;
  left: 0;
  width: 46px;
  height: 198px;
  padding: 14px 9px;
  overflow: hidden;
  border: 1px solid rgba(16, 55, 9, 0.22);
  border-left: 0;
  border-radius: 0 9px 9px 0;
  color: var(--portfolio-return-text) !important;
  background: var(--green);
  box-shadow: 12px 16px 34px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    width 240ms var(--ease),
    background-color 240ms var(--ease),
    box-shadow 240ms var(--ease);
}

.nyam-site .portfolio-return > span {
  display: inline-block;
  color: var(--portfolio-return-text) !important;
  -webkit-text-fill-color: var(--portfolio-return-text) !important;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

@media (hover: hover) {
  .portfolio-return:hover {
    width: 53px;
    background: var(--green-hover);
    box-shadow: 16px 18px 40px rgba(0, 0, 0, 0.35);
  }
}

/* Шапка */

.site-header {
  position: sticky;
  z-index: 1200;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 9, 10, 0.86);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px) saturate(130%);
}

.header-shell {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 101, 30, 0.45);
  border-radius: 50%;
  color: var(--accent-2);
  background: rgba(255, 101, 30, 0.09);
  box-shadow: inset 0 0 20px rgba(255, 101, 30, 0.08);
}

.brand-mark .ui-icon {
  width: 22px;
  height: 26px;
}

.brand-name {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -1px;
}

.brand-name strong {
  color: #fff;
  font-weight: 700;
}

.brand-name span {
  color: var(--accent-2);
}

.brand-word {
  white-space: nowrap;
  text-transform: none;
}

.brand-word b {
  color: #fff;
}

.brand-word i {
  color: var(--accent-2);
  font-style: normal;
}

.desktop-nav {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 0;
}

.nav-link {
  position: relative;
  display: inline-flex;
  height: 100%;
  align-items: center;
  color: #dad8d3;
  font-size: 15px;
  font-weight: 700;
  transition: color 200ms ease;
}

.desktop-nav .nav-link {
  padding-inline: 20px;
}

.desktop-nav .nav-link + .nav-link::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.11);
  content: "";
  transform: translateY(-50%);
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms var(--ease);
}

.desktop-nav .nav-link::after {
  right: 20px;
  left: 20px;
}

.nav-link:hover,
.nav-link.is-active {
  color: #fff;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-socials {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 3px;
  padding-right: 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.11);
}

.header-socials a,
.mobile-socials a {
  display: block;
  width: 30px;
  height: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9px;
  background: #181b1e;
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.2);
  transition:
    border-color 200ms ease,
    box-shadow 200ms ease,
    transform 200ms var(--ease);
}

.header-socials img,
.mobile-socials img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (hover: hover) {
  .header-socials a:hover,
  .mobile-socials a:hover {
    border-color: rgba(255, 101, 30, 0.58);
    box-shadow: 0 10px 24px rgba(255, 72, 31, 0.18);
    transform: translateY(-3px);
  }
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-phone > .ui-icon {
  width: 25px;
  height: 25px;
  color: var(--accent-2);
}

.header-phone span:last-child {
  display: flex;
  flex-direction: column;
}

.header-phone strong {
  font-size: 14px;
  line-height: 1.2;
}

.header-phone small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.icon-button {
  position: relative;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition:
    color 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease,
    transform 220ms var(--ease);
}

.icon-button > .ui-icon {
  width: 22px;
  height: 22px;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  display: grid;
  min-width: 20px;
  height: 20px;
  padding-inline: 5px;
  place-items: center;
  border: 2px solid var(--bg);
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
  font-size: 10px;
  font-weight: 900;
}

.menu-toggle {
  display: none;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 220ms ease, opacity 220ms ease;
}

.menu-toggle span + span {
  margin-top: 4px;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  max-height: 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: rgba(8, 9, 10, 0.97);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(-8px);
  transition:
    max-height 240ms var(--ease),
    opacity 200ms ease,
    transform 240ms var(--ease);
}

.mobile-menu.is-open {
  max-height: 390px;
  opacity: 1;
  transform: none;
}

.mobile-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
}

.mobile-menu nav {
  display: grid;
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
  padding: 18px 0 24px;
}

.mobile-menu .nav-link {
  height: auto;
  padding: 12px 0;
}

.mobile-menu .nav-link::after {
  bottom: 7px;
  width: 54px;
}

.mobile-phone {
  margin-top: 8px;
  color: var(--accent-2);
  font-weight: 800;
}

@media (hover: hover) {
  .icon-button:hover {
    color: var(--accent-2);
    border-color: rgba(255, 101, 30, 0.5);
    background: rgba(255, 101, 30, 0.1);
    transform: translateY(-3px);
  }
}

/* Главный экран */

.hero {
  position: relative;
  min-height: 740px;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #090a0b;
}

.hero-slider,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  visibility: hidden;
  opacity: 0;
  transition: opacity 750ms ease, visibility 750ms ease;
}

.hero-slide.is-active {
  visibility: visible;
  opacity: 1;
}

.hero-slide::before {
  position: absolute;
  inset: 0;
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
  content: "";
  transform: scale(1.025);
  transition: transform 7s linear;
}

.hero-slide.is-active::before {
  transform: scale(1);
}

.hero-slide::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 6, 7, 0.98) 0%, rgba(5, 6, 7, 0.84) 35%, rgba(5, 6, 7, 0.2) 63%, rgba(5, 6, 7, 0.08) 100%),
    linear-gradient(0deg, rgba(5, 6, 7, 0.72) 0%, transparent 38%);
  content: "";
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 740px;
  align-items: flex-start;
  padding-top: 52px;
  padding-bottom: 128px;
}

.hero-copy {
  width: min(100%, 680px);
}

.offer-line {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  color: #dedbd5;
  font-size: 13px;
  font-weight: 700;
}

.offer-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(237, 47, 38, 0.8);
  border-radius: 999px;
  color: #ff5b48;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.offer-pill .ui-icon {
  width: 16px;
  height: 18px;
}

.hero-copy h1,
.hero-copy h2 {
  margin: 0;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 80px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -2px;
  text-transform: uppercase;
  text-shadow: 0 6px 28px rgba(0, 0, 0, 0.35);
}

.hero-title-line {
  display: block;
  width: fit-content;
  color: #f7f4ee;
  white-space: nowrap;
}

.hero-copy .hero-title-accent {
  color: var(--accent);
}

.hero-title-stroke {
  position: relative;
}

.hero-title-stroke::after {
  position: absolute;
  right: 2px;
  bottom: 2px;
  left: 2px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(90deg, #ffb11f, #ff8a14);
  box-shadow: 0 2px 14px rgba(255, 159, 26, 0.22);
  clip-path: polygon(0 38%, 9% 22%, 23% 30%, 38% 12%, 54% 28%, 68% 16%, 84% 31%, 100% 20%, 99% 76%, 83% 68%, 65% 82%, 49% 70%, 31% 88%, 14% 73%, 1% 82%);
  content: "";
  transform: rotate(-1deg);
}

.hero-lead {
  width: min(100%, 520px);
  margin: 26px 0 0;
  color: #d0ccc5;
  font-size: 18px;
}

.hero-seal {
  position: absolute;
  z-index: 4;
  top: 52px;
  right: max(24px, calc((100vw - var(--container)) / 2));
  display: flex;
  width: 170px;
  height: 142px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  color: rgba(255, 181, 80, 0.64);
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.1;
  pointer-events: none;
  text-align: center;
  text-transform: uppercase;
  transform-origin: center;
  animation-name: hero-seal-swing;
  animation-duration: 0.9s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

.hero-seal .ui-icon {
  width: 42px;
  height: 46px;
  --icon-filter: brightness(0) saturate(100%) invert(62%) sepia(96%) saturate(1518%) hue-rotate(349deg) brightness(105%) contrast(102%);
  opacity: 0.72;
}

@keyframes hero-seal-swing {
  from {
    transform: rotate(-15deg);
  }

  to {
    transform: rotate(15deg);
  }
}

.promo-trust-grid {
  display: grid;
  width: min(100%, 760px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.promo-trust-card {
  display: grid;
  min-height: 70px;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 159, 26, 0.26);
  border-radius: 14px;
  background: rgba(10, 12, 13, 0.76);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
}

.promo-trust-card > .ui-icon {
  width: 30px;
  height: 30px;
  --icon-filter: brightness(0) saturate(100%) invert(62%) sepia(96%) saturate(1518%) hue-rotate(349deg) brightness(105%) contrast(102%);
}

.promo-trust-card-natural > .ui-icon {
  --icon-filter: brightness(0) saturate(100%) invert(68%) sepia(58%) saturate(809%) hue-rotate(41deg) brightness(93%) contrast(93%);
}

.promo-trust-card > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.promo-trust-card strong {
  color: #fff;
  font-size: 16px;
  line-height: 1.1;
  text-transform: uppercase;
}

.promo-trust-card small {
  margin-top: 4px;
  color: #b7b4ae;
  font-size: 9px;
  line-height: 1.35;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-bottom {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 26px;
  left: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.hero-benefits {
  display: grid;
  width: min(100%, 800px);
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(10, 11, 12, 0.72);
  backdrop-filter: blur(14px);
}

.hero-benefit {
  display: flex;
  min-height: 80px;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
}

.hero-benefit + .hero-benefit {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-benefit > .ui-icon {
  width: 30px;
  height: 30px;
  color: var(--accent-2);
}

.hero-benefit > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.hero-benefit strong {
  font-size: 12px;
  line-height: 1.25;
  text-transform: uppercase;
}

.hero-benefit small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
}

.hero-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.slider-arrow {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text);
  background: rgba(8, 9, 10, 0.55);
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.slider-dots {
  display: flex;
  gap: 6px;
}

.slider-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.36);
  cursor: pointer;
  transition: width 220ms var(--ease), background-color 220ms ease;
}

.slider-dot.is-active {
  width: 24px;
  background: var(--accent-2);
}

/* Меню */

.menu-section {
  position: relative;
}

.menu-section::before {
  position: absolute;
  z-index: -1;
  top: 80px;
  right: -180px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(237, 47, 38, 0.08);
  content: "";
  filter: blur(110px);
}

.menu-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 30px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
}

.menu-tab {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 11px;
  color: #999b9e;
  background: transparent;
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
  transition:
    color 230ms ease,
    background-color 230ms ease,
    box-shadow 230ms ease,
    transform 230ms var(--ease);
}

.menu-tab + .menu-tab {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.menu-tab .ui-icon {
  width: 30px;
  height: 30px;
}

.menu-tab.is-active {
  border-radius: 11px;
  border-left-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, rgba(202, 31, 22, 0.96), rgba(255, 88, 25, 0.94));
  box-shadow: 0 12px 35px rgba(237, 47, 38, 0.25), inset 0 0 0 1px rgba(255, 146, 86, 0.4);
}

@media (hover: hover) {
  .menu-tab:not(.is-active):hover {
    color: #fff;
    background: rgba(255, 101, 30, 0.08);
    transform: translateY(-4px);
  }
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  transition: opacity 180ms ease, transform 180ms ease;
}

.product-grid.is-switching {
  opacity: 0;
  transform: translateY(10px);
}

.product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(28, 31, 34, 0.98), rgba(17, 20, 22, 0.98));
  box-shadow: 0 15px 44px rgba(0, 0, 0, 0.24);
  transition:
    border-color 260ms ease,
    box-shadow 260ms ease,
    transform 260ms var(--ease);
}

.product-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #08090a;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 450ms var(--ease), opacity 180ms ease;
}

.product-card-body {
  padding: 14px;
}

.product-card h3 {
  min-height: 41px;
  margin: 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.28;
}

.product-description {
  display: -webkit-box;
  min-height: 47px;
  margin: 7px 0 12px;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.option-stack {
  display: grid;
  gap: 7px;
}

.option-group {
  display: grid;
  grid-template-columns: repeat(var(--columns, 3), minmax(0, 1fr));
  gap: 5px;
}

.option-button {
  min-width: 0;
  min-height: 32px;
  padding: 6px 4px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  color: #c7c7c8;
  background: rgba(255, 255, 255, 0.025);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms var(--ease);
}

.option-button.is-selected {
  color: #fff;
  border-color: rgba(255, 101, 30, 0.9);
  background: linear-gradient(180deg, #c9321b, #a92318);
  box-shadow: inset 0 0 0 1px rgba(255, 139, 76, 0.24);
}

.product-card-footer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin-top: 14px;
}

.product-price {
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  white-space: nowrap;
}

.product-card-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-width: 0;
  align-items: center;
  gap: 7px;
}

.product-add {
  min-height: 34px;
  padding: 7px 9px;
  border-radius: 8px;
  font-size: 12px;
}

.product-details {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 2px;
  border: 0;
  border-radius: 0;
  color: #c1c0bd;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  transition: transform 200ms var(--ease);
}

.product-details .ui-icon {
  width: 14px;
  height: 14px;
}

@media (hover: hover) {
  .product-card:hover {
    border-color: rgba(255, 87, 47, 0.72);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34), 0 0 26px rgba(237, 47, 38, 0.1);
    transform: translateY(-6px);
  }

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

  .option-button:not(.is-selected):hover {
    color: #fff;
    border-color: rgba(255, 101, 30, 0.5);
    transform: translateY(-2px);
  }

  .product-details:hover {
    transform: translateY(-4px);
  }
}

.menu-note {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  margin: 24px auto 0;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  font-size: 12px;
}

.menu-note .ui-icon {
  width: 17px;
  height: 19px;
  color: var(--accent-2);
}

/* CTA */

.promo-section {
  position: relative;
}

.promo-shell {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 470px;
  margin-inline: 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 101, 30, 0.28);
  border-bottom: 1px solid rgba(255, 101, 30, 0.28);
  background-image:
    linear-gradient(90deg, rgba(4, 5, 6, 0.99) 0%, rgba(4, 5, 6, 0.9) 42%, rgba(4, 5, 6, 0.15) 70%),
    url("img/53506917_1920.webp");
  background-position: center;
  background-size: cover;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
}

.promo-copy {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(calc(100% - 40px), var(--container));
  min-height: 470px;
  margin-inline: auto;
  flex-direction: column;
  justify-content: center;
  padding: 42px 0;
}

.promo-flame {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 18px;
  color: var(--accent-2);
  background: rgba(255, 101, 30, 0.1);
}

.promo-flame .ui-icon {
  width: 26px;
  height: 30px;
}

.promo-copy h2 {
  margin: 0;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 64px;
  line-height: 1.1;
  letter-spacing: -2px;
  text-transform: uppercase;
}

.promo-copy h2 span {
  color: var(--accent-2);
}

.promo-lead {
  width: min(100%, 600px);
  margin: 18px 0 0;
  color: #d9d5cf;
  font-size: 18px;
}

.promo-points {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 22px;
}

.promo-points > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.promo-points .ui-icon {
  width: 30px;
  height: 30px;
  color: var(--accent-2);
}

.promo-points span:last-child {
  display: flex;
  flex-direction: column;
}

.promo-points strong,
.promo-points small {
  line-height: 1.3;
}

.promo-points small {
  color: var(--muted);
}

.promo-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
}

.promo-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 38px;
  padding: 17px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(17, 19, 20, 0.72);
  backdrop-filter: blur(12px);
}

.promo-stats > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 0 15px;
}

.promo-stats > div + div {
  border-left: 1px solid var(--line);
}

.promo-stats strong {
  color: var(--accent-2);
  font-size: 18px;
}

.promo-stats span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

/* Хиты */

.top-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  padding: 9px 16px;
  border: 1px solid rgba(255, 101, 30, 0.46);
  border-radius: 999px;
  color: #ff7141;
  background: rgba(255, 101, 30, 0.07);
  font-weight: 900;
  text-transform: uppercase;
}

.top-badge .ui-icon {
  width: 20px;
  height: 20px;
}

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

.hit-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background:
    radial-gradient(circle at 10% 50%, rgba(255, 101, 30, 0.08), transparent 45%),
    linear-gradient(135deg, #15181b, #0e1113);
  transition:
    border-color 260ms ease,
    box-shadow 260ms ease,
    transform 260ms var(--ease);
}

.hit-card-image {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #090a0b;
}

.hit-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms var(--ease);
}

.hit-card-content {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;
  padding: 16px;
}

.hit-number {
  display: inline-grid;
  width: 34px;
  height: 30px;
  margin-bottom: 9px;
  place-items: center;
  border: 1px solid rgba(255, 77, 56, 0.7);
  border-radius: 8px;
  color: #ff6848;
  font-weight: 900;
}

.hit-card h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.12;
}

.hit-card p {
  flex: 1 1 auto;
  margin: 7px 0 10px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.hit-weight {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
  color: #d7d6d2;
  font-size: 10px;
}

.hit-card-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  margin-top: 10px;
}

.hit-price {
  font-size: 17px;
  font-weight: 900;
}

.hit-actions {
  display: flex;
  width: 100%;
  gap: 7px;
}

.hit-actions .button {
  flex: 1;
  min-height: 34px;
  justify-content: center;
  padding: 7px 8px;
  font-size: 12px;
}

.hit-actions .product-details {
  flex: 1;
  min-height: 34px;
  padding-inline: 2px;
  border: 0;
  border-radius: 0;
  font-size: 12px;
}

.hits-note {
  max-width: min(100%, 720px);
  border-radius: 14px;
  line-height: 1.4;
  text-align: left;
}

.hits-note-mark {
  display: inline-grid;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

@media (hover: hover) {
  .hit-card:hover {
    border-color: rgba(255, 101, 30, 0.55);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.32), 0 0 30px rgba(237, 47, 38, 0.08);
    transform: translateY(-6px);
  }

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

/* О ресторане */

.about-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
  gap: 40px;
}

.about-main-image {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  margin: 0;
}

.about-main-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  object-fit: initial;
  background: transparent;
  box-shadow: 0 26px 65px rgba(0, 0, 0, 0.3);
}

.about-main-image figcaption {
  margin-top: 18px;
  color: var(--accent-soft);
  font-size: 18px;
  font-style: italic;
  text-align: center;
}

.about-content h2 {
  margin-bottom: 28px;
  font-size: 58px;
  line-height: 1.16;
}

.about-content > p:not(.eyebrow) {
  margin: 0 0 16px;
  color: #c4c2bd;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 32px;
}

.about-features > div {
  display: flex;
  min-width: 0;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.about-features .ui-icon {
  width: 30px;
  height: 30px;
  color: var(--accent-2);
}

.about-features span:last-child {
  display: flex;
  flex-direction: column;
}

.about-features strong {
  font-size: 12px;
}

.about-features small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.about-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 26px;
}

.about-gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: #171a1c;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
}

.about-gallery-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.about-gallery-open:disabled {
  cursor: default;
}

.about-gallery img {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
  transition: transform 420ms var(--ease);
}

.about-gallery figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 20px 10px 9px;
  border-radius: 0;
  color: #fff;
  background: linear-gradient(0deg, rgba(6, 7, 8, 0.9), transparent);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  backdrop-filter: none;
}

@media (hover: hover) {
  .about-gallery figure:hover img {
    transform: scale(1.035);
  }
}

/* Контакты */

.contacts-section {
  padding-bottom: 150px;
}

.contacts-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 60px;
}

.contacts-copy h2 {
  margin-bottom: 24px;
}

.contacts-copy > p:not(.eyebrow) {
  max-width: 520px;
  color: var(--muted);
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.contact-list > * {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 200ms ease, transform 200ms var(--ease);
}

.contact-icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  color: var(--accent-2);
  background: rgba(255, 101, 30, 0.1);
}

.contact-icon .ui-icon {
  width: 23px;
  height: 23px;
}

.contact-list span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.contact-list small {
  color: var(--muted);
  font-size: 11px;
}

.contact-list strong {
  margin-top: 3px;
  font-size: 14px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

@media (hover: hover) {
  .contact-list > a:hover {
    border-color: rgba(255, 101, 30, 0.5);
    transform: translateX(5px);
  }
}

.map-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background:
    radial-gradient(circle at 60% 45%, rgba(255, 101, 30, 0.13), transparent 18%),
    linear-gradient(135deg, #171a1c, #0f1113);
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.35), 0 24px 70px rgba(0, 0, 0, 0.26);
}

.map-grid {
  position: absolute;
  inset: 0;
  opacity: 0.75;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
}

.road {
  position: absolute;
  display: block;
  height: 18px;
  border: 5px solid rgba(255, 255, 255, 0.11);
  border-right: 0;
  border-left: 0;
  background: #131619;
}

.road-one {
  top: 22%;
  left: -12%;
  width: 125%;
  transform: rotate(18deg);
}

.road-two {
  top: 62%;
  left: -10%;
  width: 120%;
  transform: rotate(-14deg);
}

.road-three {
  top: 45%;
  left: -30%;
  width: 150%;
  transform: rotate(70deg);
}

.road-four {
  top: 52%;
  left: -16%;
  width: 140%;
  transform: rotate(36deg);
}

.map-pin {
  position: absolute;
  top: 48%;
  left: 55%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border: 1px solid rgba(255, 101, 30, 0.5);
  border-radius: 14px;
  background: rgba(8, 9, 10, 0.9);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(10px);
}

.map-pin > .ui-icon {
  width: 31px;
  height: 31px;
  color: var(--accent-2);
}

.map-pin span:last-child {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.map-pin strong {
  font-family: "Oswald", sans-serif;
  font-size: 17px;
}

.map-pin small {
  color: var(--muted);
  font-size: 10px;
}

/* Подвал */

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(13, 16, 18, 0.94);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.35fr 0.7fr 1fr 0.8fr;
  gap: 44px;
  padding-top: 58px;
  padding-bottom: 52px;
}

.footer-main > div:first-child p {
  max-width: 270px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-legal {
  display: grid;
  gap: 4px;
  margin-top: 16px;
  color: var(--muted-2);
}

.footer-legal span {
  font-size: 11px;
}

.footer-main nav,
.footer-contacts,
.footer-socials {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-main nav > strong,
.footer-contacts > strong,
.footer-socials > strong {
  margin-bottom: 5px;
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
}

.footer-main nav a,
.footer-contacts a,
.footer-contacts span {
  color: var(--muted);
  font-size: 12px;
  transition: color 180ms ease;
}

.footer-main nav a:hover,
.footer-contacts a:hover {
  color: var(--accent-2);
}

.footer-socials > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-socials a {
  display: grid;
  width: 42px;
  height: 42px;
  overflow: hidden;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #171a1d;
  box-shadow: 0 9px 22px rgba(0, 0, 0, 0.24);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms var(--ease);
}

.footer-socials img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--muted-2);
  font-size: 11px;
}

/* Кнопка наверх */

.scroll-top {
  position: fixed;
  z-index: 1350;
  right: max(25px, env(safe-area-inset-right));
  bottom: max(100px, calc(env(safe-area-inset-bottom) + 24px));
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(255, 101, 30, 0.45);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 14px 34px rgba(237, 47, 38, 0.3);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition:
    opacity 220ms ease,
    transform 220ms var(--ease),
    box-shadow 220ms ease;
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.scroll-top span {
  font-size: 23px;
  line-height: 1;
}

@media (hover: hover) {
  .scroll-top:hover {
    box-shadow: 0 18px 40px rgba(237, 47, 38, 0.42);
    transform: translateY(-5px);
  }

  .footer-socials a:hover {
    border-color: rgba(255, 101, 30, 0.6);
    box-shadow: 0 12px 28px rgba(255, 80, 31, 0.16);
    transform: translateY(-5px);
  }
}

/* Правые панели */

.drawer-backdrop {
  position: fixed;
  z-index: 2100;
  inset: 0;
  background: rgba(3, 4, 5, 0.74);
  opacity: 0;
  backdrop-filter: blur(5px);
  transition: opacity 320ms ease;
}

.drawer-backdrop.is-visible {
  opacity: 1;
}

.side-drawer {
  position: fixed;
  z-index: 2200;
  top: 0;
  right: 0;
  display: flex;
  width: min(500px, 100vw);
  height: 100dvh;
  flex-direction: column;
  overflow: hidden;
  border-left: 1px solid rgba(255, 255, 255, 0.13);
  background: #111315;
  box-shadow: -30px 0 80px rgba(0, 0, 0, 0.46);
  visibility: hidden;
  transform: translateX(102%);
  transition:
    transform 420ms var(--ease),
    visibility 420ms;
}

.side-drawer.is-open {
  visibility: visible;
  transform: translateX(0);
}

.drawer-close,
.modal-close {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.product-drawer > .drawer-close {
  position: absolute;
  z-index: 3;
  top: 16px;
  right: 16px;
  background: rgba(8, 9, 10, 0.76);
  backdrop-filter: blur(8px);
}

@media (hover: hover) {
  .drawer-close:hover,
  .modal-close:hover {
    color: var(--accent-2);
    border-color: rgba(255, 101, 30, 0.55);
    transform: rotate(6deg);
  }
}

.drawer-scroll {
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.drawer-product-image {
  aspect-ratio: 1;
  border-bottom: 1px solid var(--line);
  background: #08090a;
}

.drawer-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.drawer-product-content {
  padding: 28px 28px 40px;
}

.drawer-product-content h2 {
  margin: 0;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 48px;
  line-height: 1.12;
  text-transform: uppercase;
}

.drawer-description {
  margin: 18px 0 0;
  color: #c3c1bc;
}

.ingredients-box {
  margin-top: 24px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.ingredients-box span {
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.ingredients-box p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.product-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.product-metrics > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 13px 10px;
  text-align: center;
}

.product-metrics > div + div {
  border-left: 1px solid var(--line);
}

.product-metrics strong {
  font-size: 13px;
}

.product-metrics span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.drawer-options {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.drawer-option-group > span {
  display: block;
  margin-bottom: 9px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.drawer-option-group .option-group {
  gap: 8px;
}

.drawer-option-group .option-button {
  min-height: 42px;
  font-size: 12px;
}

.drawer-sticky-action {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(17, 19, 21, 0.96);
  box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(14px);
}

.drawer-sticky-action > div {
  display: flex;
  min-width: 88px;
  flex-direction: column;
}

.drawer-sticky-action span {
  color: var(--muted);
  font-size: 10px;
}

.drawer-sticky-action strong {
  color: #fff;
  font-size: 22px;
  white-space: nowrap;
}

.drawer-sticky-action .button {
  width: 100%;
}

/* Корзина */

.cart-header {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.cart-header .eyebrow {
  margin-bottom: 4px;
}

.cart-header h2 {
  margin: 0;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 36px;
  line-height: 1;
  text-transform: uppercase;
}

.cart-scroll {
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.cart-empty {
  display: flex;
  min-height: 100%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 40px 28px;
  text-align: center;
}

.empty-cart-icon {
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  border: 1px solid rgba(255, 101, 30, 0.28);
  border-radius: 50%;
  color: var(--accent-2);
  background: rgba(255, 101, 30, 0.08);
}

.empty-cart-icon .ui-icon {
  width: 42px;
  height: 42px;
}

.cart-empty h3 {
  margin: 22px 0 8px;
  font-size: 20px;
}

.cart-empty p {
  max-width: 330px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 13px;
}

.cart-filled {
  padding: 8px 20px 30px;
}

.cart-items {
  display: grid;
}

.cart-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item-image {
  width: 88px;
  height: 88px;
  border-radius: 12px;
  background: #08090a;
  object-fit: contain;
}

.cart-item-main {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.cart-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.cart-item h3 {
  margin: 0;
  font-size: 14px;
  line-height: 1.25;
}

.cart-remove {
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 18px;
}

.cart-variant {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 10px;
}

.quantity-control {
  display: grid;
  grid-template-columns: 30px 32px 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.quantity-control button,
.quantity-control span {
  display: grid;
  height: 30px;
  place-items: center;
}

.quantity-control button {
  padding: 0;
  border: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease;
}

.quantity-control button:hover {
  color: var(--accent-2);
  background: rgba(255, 101, 30, 0.09);
}

.quantity-control span {
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  font-size: 12px;
  font-weight: 800;
}

.cart-line-price {
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.cart-delivery-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 13px;
  border: 1px solid rgba(255, 159, 26, 0.22);
  border-radius: 12px;
  color: #d4d0c9;
  background: rgba(255, 159, 26, 0.06);
  font-size: 11px;
}

.cart-delivery-note .ui-icon {
  width: 24px;
  height: 24px;
  color: var(--accent-soft);
}

.checkout-form {
  display: grid;
  gap: 14px;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.checkout-form h3 {
  margin: 0 0 3px;
}

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

.checkout-form label > span {
  color: #d1cfca;
  font-size: 11px;
  font-weight: 700;
}

.checkout-form input,
.checkout-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.checkout-form input {
  height: 46px;
  padding: 0 13px;
}

.checkout-form textarea {
  resize: vertical;
  padding: 12px 13px;
}

.checkout-form input:focus,
.checkout-form textarea:focus {
  border-color: rgba(255, 101, 30, 0.72);
  box-shadow: 0 0 0 3px rgba(255, 101, 30, 0.1);
}

.checkout-form .privacy-consent {
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
}

.checkout-form .privacy-consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--accent-2);
}

.checkout-form .privacy-consent > span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.45;
}

.privacy-consent a {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cart-summary {
  padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(17, 19, 21, 0.97);
  box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
}

.cart-summary > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
}

.cart-summary > div strong {
  color: #e7e4de;
}

.cart-summary .cart-total {
  margin: 13px 0 15px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.cart-summary .cart-total strong {
  color: #fff;
  font-size: 22px;
}

.cart-summary .button {
  width: 100%;
}

/* Модальное окно портфолио */

.modal-layer {
  position: fixed;
  z-index: 3200;
  inset: 0;
  display: grid;
  padding: 16px;
  place-items: center;
  background: rgba(13, 18, 26, 0.82);
  opacity: 0;
  backdrop-filter: blur(8px);
  transition: opacity 300ms ease;
}

.modal-layer.is-visible {
  opacity: 1;
}

.gallery-lightbox-dialog {
  position: relative;
  width: min(1120px, calc(100vw - 80px));
  max-height: calc(100dvh - 80px);
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: #0d0f11;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.62);
  transform: translateY(20px) scale(0.98);
  transition: transform 320ms var(--ease);
}

.modal-layer.is-visible .gallery-lightbox-dialog {
  transform: none;
}

.gallery-lightbox-dialog img {
  display: block;
  width: 100%;
  max-height: calc(100dvh - 150px);
  border-radius: 12px;
  object-fit: contain;
}

.gallery-lightbox-dialog p {
  margin: 12px 48px 0;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.gallery-lightbox-close {
  position: absolute;
  z-index: 2;
  top: 24px;
  right: 24px;
  background: rgba(5, 6, 7, 0.78);
  backdrop-filter: blur(10px);
}

.portfolio-modal {
  position: relative;
  width: min(470px, 100%);
  min-height: 470px;
  padding: 54px 48px 42px;
  border: 1px solid rgba(25, 35, 28, 0.12);
  border-radius: 12px;
  color: #0c1420;
  background:
    radial-gradient(circle at 90% 12%, rgba(199, 244, 81, 0.16), transparent 26%),
    #fbfdf0;
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.38);
  transform: translateY(24px) scale(0.98);
  transition: transform 380ms var(--ease);
}

.modal-layer.is-visible .portfolio-modal {
  transform: none;
}

.portfolio-modal .modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 37px;
  height: 37px;
  color: #26323c;
  border-color: rgba(22, 38, 35, 0.14);
  background: rgba(255, 255, 255, 0.65);
  font-size: 16px;
}

.portfolio-arrow {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  color: #172214;
  background: #bcf63f;
  font-size: 26px;
  font-weight: 900;
}

.portfolio-kicker {
  margin: 31px 0 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.portfolio-modal h2 {
  margin: 0;
  font-size: 44px;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -2px;
}

.portfolio-modal > p:not(.portfolio-kicker) {
  margin: 22px 0 27px;
  color: #8390a2;
  font-size: 15px;
  line-height: 1.45;
}

.portfolio-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 14px 24px;
  border: 1px solid rgba(31, 72, 14, 0.18);
  border-radius: 6px;
  color: #0a1508;
  background: var(--green);
  box-shadow: 0 18px 34px rgba(101, 174, 56, 0.18);
  font-size: 14px;
  font-weight: 900;
  transition:
    background-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms var(--ease);
}

.portfolio-button span {
  font-size: 16px;
}

@media (hover: hover) {
  .portfolio-button:hover {
    background: var(--green-hover);
    box-shadow: 0 24px 44px rgba(101, 174, 56, 0.25);
    transform: translateY(-7px);
  }
}

body.has-overlay {
  overflow: hidden;
}

.toast {
  position: fixed;
  z-index: 4000;
  right: 22px;
  bottom: 22px;
  max-width: min(360px, calc(100vw - 44px));
  padding: 13px 16px;
  border: 1px solid rgba(139, 227, 84, 0.35);
  border-radius: 12px;
  color: #efffe7;
  background: rgba(24, 44, 18, 0.96);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 220ms ease, transform 220ms var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: none;
}

/* Планшет */

@media (max-width: 1080px) {
  .desktop-nav {
    gap: 0;
  }

  .desktop-nav .nav-link {
    padding-inline: 13px;
  }

  .desktop-nav .nav-link::after {
    right: 13px;
    left: 13px;
  }

  .header-socials {
    gap: 6px;
    padding-right: 11px;
  }

  .header-socials a {
    width: 27px;
    height: 27px;
  }

  .header-phone small {
    display: none;
  }

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

  .about-shell,
  .contacts-shell {
    gap: 34px;
  }

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

  .about-features > div {
    flex-direction: row;
  }

  .footer-main {
    grid-template-columns: 1.2fr 0.8fr 1fr;
  }

  .footer-socials {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .nyam-site {
    --header-height: 66px;
  }

  .desktop-nav,
  .header-phone,
  .header-socials {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

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

  .hero {
    min-height: 720px;
  }

  .hero-content {
    min-height: 720px;
  }

  .hero-benefits {
    grid-template-columns: 1fr;
    width: min(100%, 360px);
  }

  .hero-seal {
    display: none;
  }

  .hero-benefit {
    min-height: 58px;
    padding: 9px 13px;
  }

  .hero-benefit + .hero-benefit {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 0;
  }

  .hero-bottom {
    bottom: 20px;
  }

  .promo-shell {
    background-position: 62% center;
  }

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

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

  .about-main-image {
    position: relative;
    top: auto;
    width: min(100%, 620px);
    margin-inline: auto;
  }

  .map-card {
    min-height: 430px;
  }
}

/* Мобильный */

@media (max-width: 640px) {
  html {
    scroll-padding-top: 76px;
  }

  .nyam-site {
    font-size: 15px;
  }

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

  .major-section {
    padding-top: 150px;
  }

  .portfolio-return {
    width: 42px;
    height: 176px;
  }

  .portfolio-return span {
    font-size: 10px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 37px;
    height: 37px;
  }

  .brand-name {
    font-size: 23px;
  }

  .header-actions {
    gap: 7px;
  }

  .icon-button {
    width: 40px;
    height: 40px;
  }

  .header-cart > .ui-icon {
    width: 19px;
    height: 19px;
  }

  .hero {
    min-height: 0;
  }

  .hero-slider {
    position: relative;
    inset: auto;
  }

  .hero-slide {
    position: absolute;
    inset: 0;
  }

  .hero-slide.is-active {
    position: relative;
    inset: auto;
  }

  .hero-slide::before {
    background-position: 65% center;
  }

  .hero-slide::after {
    background:
      linear-gradient(90deg, rgba(5, 6, 7, 0.95) 0%, rgba(5, 6, 7, 0.68) 70%, rgba(5, 6, 7, 0.35) 100%),
      linear-gradient(0deg, rgba(5, 6, 7, 0.96) 0%, rgba(5, 6, 7, 0.24) 70%);
  }

  .hero-content {
    min-height: 0;
    align-items: flex-start;
    padding-top: 54px;
    padding-bottom: 35px;
  }

  .hero-copy {
    width: 100%;
  }

  .offer-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 40px;
  }

  .offer-pill {
    padding: 7px 11px;
    font-size: 11px;
  }

  .hero-copy h1,
  .hero-copy h2 {
    font-size: 46px;
    line-height: 1.14;
  }

  .hero-lead {
    max-width: 390px;
    margin-top: 35px;
    font-size: 15px;
  }

  .hero-buttons {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .hero-buttons .button {
    width: 100%;
  }

  .hero-bottom {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    align-items: stretch;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 24px;
  }

  .hero-benefits {
    width: 100%;
  }

  .hero-controls {
    display: flex;
    align-self: center;
  }

  .hero-benefit {
    min-height: 54px;
    padding: 8px 12px;
  }

  .hero-benefit > .ui-icon {
    width: 26px;
    height: 26px;
  }

  .hero-benefit:nth-child(3) {
    display: flex;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 30px;
  }

  .section-heading h2,
  .about-content h2,
  .contacts-copy h2 {
    font-size: 44px;
    line-height: 1.16;
  }

  .section-heading > p {
    margin: 0;
  }

  .menu-tabs {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    padding: 6px;
  }

  .menu-tab {
    min-height: 58px;
    padding: 9px 8px;
    font-size: 12px;
  }

  .menu-tab + .menu-tab {
    border-left: 0;
    border-radius: 11px;
  }

  .menu-tab .ui-icon {
    width: 25px;
    height: 25px;
  }

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

  .product-card-body {
    padding: 16px;
  }

  .product-card h3 {
    min-height: auto;
    font-size: 16px;
  }

  .product-description {
    min-height: auto;
    font-size: 12px;
  }

  .option-button {
    min-height: 38px;
    font-size: 12px;
  }

  .product-card-footer {
    flex-direction: column;
  }

  .product-price {
    font-size: 19px;
  }

  .product-add {
    min-height: 42px;
    font-size: 12px;
  }

  .product-details {
    min-height: 42px;
    font-size: 12px;
  }

  .menu-note {
    border-radius: 14px;
    text-align: center;
  }

  .promo-shell {
    min-height: 560px;
    border-radius: 0;
    background-image:
      linear-gradient(0deg, rgba(4, 5, 6, 0.99) 0%, rgba(4, 5, 6, 0.88) 58%, rgba(4, 5, 6, 0.26) 100%),
      url("img/53506917_1920.webp");
    background-position: 65% center;
  }

  .promo-copy {
    width: calc(100% - 28px);
    min-height: 560px;
    justify-content: flex-end;
    padding: 34px 0;
  }

  .promo-copy h2 {
    font-size: 46px;
    line-height: 1.1;
  }

  .promo-lead {
    font-size: 15px;
  }

  .promo-points {
    gap: 14px;
  }

  .promo-points > div {
    width: calc(50% - 7px);
  }

  .promo-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

  .promo-actions .text-link {
    justify-content: center;
  }

  .promo-stats {
    grid-template-columns: 1fr;
    gap: 11px;
    margin-top: 26px;
  }

  .promo-stats > div {
    padding: 0;
  }

  .promo-stats > div + div {
    padding-top: 10px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .promo-trust-grid {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 26px;
  }

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

  .hit-card-image {
    border-bottom: 1px solid var(--line);
  }

  .hit-card-content {
    padding: 18px;
  }

  .hit-card-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hit-actions {
    width: 100%;
  }

  .hit-actions .button,
  .hit-actions .product-details {
    flex: 1 1 auto;
    justify-content: center;
  }

  .about-shell {
    gap: 36px;
  }

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

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

  .about-gallery figure:last-child {
    grid-column: 1 / -1;
  }

  .about-gallery figure:last-child img {
    height: 190px;
  }

  .gallery-lightbox {
    display: none !important;
  }

  .contacts-shell {
    gap: 36px;
  }

  .contact-list strong {
    font-size: 12px;
  }

  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .map-card {
    min-height: 380px;
  }

  .map-pin {
    left: 50%;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 34px 22px;
  }

  .footer-main > div:first-child,
  .footer-socials {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .scroll-top {
    right: max(16px, env(safe-area-inset-right));
    bottom: max(88px, calc(env(safe-area-inset-bottom) + 20px));
    width: 46px;
    height: 46px;
  }

  .drawer-product-content {
    padding: 24px 20px 36px;
  }

  .drawer-sticky-action {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .drawer-sticky-action > div {
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
  }

  .cart-filled {
    padding-inline: 14px;
  }

  .cart-summary {
    padding-inline: 14px;
  }

  .portfolio-modal {
    min-height: 0;
    padding: 48px 28px 34px;
  }

  .portfolio-modal h2 {
    font-size: 39px;
  }

  .portfolio-button {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .brand-name {
    font-size: 20px;
  }

  .hero-copy h1,
  .hero-copy h2 {
    font-size: 36px;
  }

  .header-shell {
    gap: 8px;
  }

  .product-card-actions {
    gap: 5px;
  }

  .product-add {
    padding-inline: 10px;
  }

  .portfolio-modal h2 {
    font-size: 34px;
  }
}

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

  .nyam-site *,
  .nyam-site *::before,
  .nyam-site *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
