:root {
  color-scheme: dark;
  --font-heading: "Montserrat", sans-serif;
  --font-body: "Manrope", sans-serif;

  --color-bg: #232527;
  --color-surface: #2b2d2f;
  --color-surface-soft: #34373a;
  --color-accent: #fed944;
  --color-accent-hover: #f0cd42;
  --color-accent-strong: #debb3d;
  --color-text: #f5f2ea;
  --color-text-muted: #b3b3b3;
  --color-border: rgba(254, 217, 68, 0.28);
  --color-overlay: rgba(10, 10, 10, 0.48);
  --color-white-panel: #f8f5ef;
  --color-dark-text: #242627;
  --color-error: #ef7d7d;

  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --space-48: 48px;
  --space-64: 64px;
  --space-96: 96px;

  --radius-field: 12px;
  --radius-card: 20px;
  --radius-panel: 24px;
  --radius-round: 999px;

  --container-desktop: 1120px;
  --container-laptop: 960px;
  --container-tablet: 720px;

  --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.28);
  --shadow-accent: 0 14px 36px rgba(254, 217, 68, 0.18);

  --image-pizza-1: url("https://images.unsplash.com/photo-1564249484723-8303f8ee99e4?auto=format&fit=crop&w=1200&q=80");
  --image-pizza-2: url("https://images.unsplash.com/photo-1660561973160-27dbd9963ed3?auto=format&fit=crop&w=1200&q=80");
  --image-pizza-3: url("https://images.unsplash.com/photo-1528137871618-79d2761e3fd5?auto=format&fit=crop&w=1200&q=80");
  --image-pizza-4: url("https://images.unsplash.com/photo-1571207133905-e63101f15248?auto=format&fit=crop&w=1200&q=80");
  --image-pizza-5: url("https://images.unsplash.com/photo-1571407843718-a5878b564b22?auto=format&fit=crop&w=1200&q=80");
  --image-pizza-6: url("https://images.unsplash.com/photo-1559978137-8c560d91e9e1?auto=format&fit=crop&w=1200&q=80");
  --image-pizza-7: url("https://images.unsplash.com/photo-1613224658636-e4b381252a40?auto=format&fit=crop&w=1200&q=80");
  --image-pizza-8: url("https://images.unsplash.com/photo-1650645120607-7d07d4abcde6?auto=format&fit=crop&w=1200&q=80");
  --image-onion-rings: url("https://images.unsplash.com/photo-1630825533949-74f62f54553a?auto=format&fit=crop&w=1200&q=80");
  --image-shawarma: url("https://images.unsplash.com/photo-1529006557810-274b9b2fc783?auto=format&fit=crop&w=1200&q=80");
  --image-flour: url("https://images.unsplash.com/photo-1595801105145-795f1927c0fc?auto=format&fit=crop&w=1600&q=80");
  --image-promo-burger: url("https://images.unsplash.com/photo-1581966626689-b63d790b3d49?auto=format&fit=crop&w=1400&q=80");
  --image-review: url("https://images.unsplash.com/photo-1579065413090-3ce766e7deca?auto=format&fit=crop&w=1600&q=80");
  --image-map: url("https://images.unsplash.com/photo-1659975673948-54ce9dfefe26?auto=format&fit=crop&w=1400&q=80");
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-bg);
  background-image:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.05), transparent 28%),
    radial-gradient(circle at 100% 12%, rgba(254, 217, 68, 0.05), transparent 18%);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  color: var(--color-bg);
  background: var(--color-accent);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.section {
  position: relative;
  padding: 72px 0;
  scroll-margin-top: 24px;
}

.section-head {
  margin-bottom: var(--space-32);
}

.section-head--center {
  text-align: center;
}

.section-kicker {
  margin: 0 0 var(--space-16);
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--color-accent);
}

.section-title,
.hero-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 40px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-title {
  font-size: 48px;
  line-height: 1.16;
}

.section-text,
.hero-text {
  margin: 0;
  max-width: 60ch;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.panel {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-panel);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.site-header {
  position: relative;
  z-index: 20;
  padding: 24px 0 0;
}

.header-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  flex-shrink: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  color: var(--color-accent);
  background: rgba(254, 217, 68, 0.06);
  box-shadow: inset 0 0 0 1px rgba(254, 217, 68, 0.14);
}

.brand-mark i {
  font-size: 30px;
}

.brand-text {
  display: grid;
  gap: 2px;
  font-family: var(--font-heading);
  font-size: 22px;
  line-height: 1;
  font-weight: 800;
  color: var(--color-accent);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 40px);
  margin-left: auto;
}

.site-nav__link {
  position: relative;
  padding: 8px 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.25s ease;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
  color: var(--color-text);
}

.site-nav__link:hover::after,
.site-nav__link:focus-visible::after {
  transform: scaleX(1);
}

.header-phone {
  margin-left: 20px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-family: var(--font-heading);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 500;
  color: var(--color-text);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.04);
}

.hero {
  padding-top: 40px;
  padding-bottom: 20px;
}

.hero-grid,
.about-grid,
.reviews__inner,
.system-hero__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
}

.hero-copy {
  grid-column: 1 / span 5;
  display: grid;
  gap: 24px;
  max-width: 520px;
}

.hero-media {
  grid-column: 7 / -1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.hero-glow {
  position: absolute;
  width: min(80%, 540px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(254, 217, 68, 0.24), rgba(254, 217, 68, 0) 68%);
  filter: blur(12px);
}

.hero-media__image {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  object-fit: contain;
  filter: drop-shadow(0 28px 60px rgba(0, 0, 0, 0.4));
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: var(--radius-field);
  font-family: var(--font-heading);
  font-size: 16px;
  line-height: 1.25;
  font-weight: 600;
  text-align: center;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active,
.btn.is-active {
  transform: translateY(0);
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  box-shadow: none;
}

.btn--primary {
  color: var(--color-bg);
  background: var(--color-accent);
  box-shadow: var(--shadow-accent);
}

.btn--primary:hover,
.btn--primary:focus-visible,
.btn--primary.is-active {
  background: var(--color-accent-hover);
}

.btn--secondary {
  color: var(--color-text);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.btn--small {
  min-height: 48px;
  padding-inline: 24px;
  font-size: 15px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-size: 15px;
  line-height: 1.33;
  color: var(--color-accent);
  transition: color 0.25s ease;
}

.link-arrow i {
  transition: transform 0.25s ease;
}

.link-arrow:hover i,
.link-arrow:focus-visible i {
  transform: translateX(4px);
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.about {
  padding-top: 36px;
}

.about-visual {
  grid-column: 1 / span 5;
  position: relative;
  min-height: 420px;
}

.about-visual::before {
  content: "";
  position: absolute;
  inset: 12% 12% 10% 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(254, 217, 68, 0.12), rgba(254, 217, 68, 0) 70%);
  filter: blur(18px);
}

.about-visual img {
  position: relative;
  z-index: 1;
  width: min(100%, 500px);
  margin-inline: auto;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.about-copy {
  grid-column: 7 / -1;
  display: grid;
  gap: 24px;
  max-width: 520px;
}

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

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

.category-grid {
  margin-bottom: 24px;
}

.category-card,
.product-card,
.promo-card {
  --card-image: linear-gradient(135deg, rgba(58, 60, 62, 0.88), rgba(27, 28, 29, 0.96));
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.6)),
    var(--card-image) center / cover no-repeat;
}

.lazy-bg {
  background-color: rgba(255, 255, 255, 0.03);
}

.category-card {
  min-height: 220px;
}

.category-card::before,
.product-card::before,
.promo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.68)),
    linear-gradient(0deg, rgba(35, 37, 39, 0.12), rgba(35, 37, 39, 0.12));
}

.category-card--active {
  box-shadow: inset 0 0 0 1px rgba(254, 217, 68, 0.8);
}

.category-card__content,
.promo-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: 28px;
}

.category-card h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 36px;
  line-height: 1;
  font-weight: 600;
}

.product-grid,
.swatch-grid,
.component-grid,
.system-card-grid {
  display: grid;
  gap: 24px;
}

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

.product-card {
  min-height: 336px;
}

.product-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  min-height: 100%;
  padding: 24px;
}

.product-card h3,
.promo-card h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 28px;
  line-height: 1.28;
  font-weight: 700;
}

.product-card p,
.promo-card p {
  margin: 0;
  max-width: 30ch;
  color: rgba(245, 242, 234, 0.9);
}

.product-card__footer {
  display: grid;
  gap: 16px;
}

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

.price {
  font-family: var(--font-heading);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 600;
}

.cta-band {
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.38), rgba(5, 5, 5, 0.58)),
    var(--image-flour) center / cover no-repeat;
}

.cta-band__inner {
  display: grid;
  justify-items: center;
  gap: 18px;
  min-height: 360px;
  padding: 80px 0;
  text-align: center;
}

.cta-band__inner .section-text {
  max-width: 56ch;
}

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

.promo-card {
  min-height: 290px;
}

.promo-card__badge {
  display: inline-block;
  margin-bottom: 18px;
  font-family: var(--font-heading);
  font-size: 48px;
  line-height: 1;
  font-weight: 800;
  color: var(--color-accent);
}

.promo-card__content p {
  margin-bottom: 24px;
}

.reviews {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.42)),
    var(--image-review) center / cover no-repeat;
}

.reviews__inner {
  min-height: 500px;
}

.reviews__copy {
  grid-column: 1 / span 6;
  display: grid;
  gap: 20px;
  align-self: end;
}

.review-slider {
  grid-column: 8 / -1;
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 240px;
}

.review-card {
  width: min(100%, 420px);
  padding: 30px 30px 28px;
  border-radius: var(--radius-panel);
  color: var(--color-dark-text);
  background: var(--color-white-panel);
  box-shadow: var(--shadow-soft);
}

.review-card__stars {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
  color: var(--color-accent-strong);
}

.review-card__name {
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 1.35;
  font-weight: 700;
}

.review-card__text {
  margin: 0 0 20px;
  color: rgba(36, 38, 39, 0.82);
}

.review-card__link {
  color: var(--color-dark-text);
}

.review-slider__next {
  position: absolute;
  right: -38px;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border: 0;
  border-radius: 50%;
  color: var(--color-bg);
  background: var(--color-accent);
  box-shadow: var(--shadow-accent);
  transform: translateY(-50%);
}

.review-slider__next:hover,
.review-slider__next:focus-visible {
  transform: translateY(calc(-50% - 1px));
}

.contacts {
  padding-bottom: 112px;
}

.contacts-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: stretch;
}

.map-panel {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  border-radius: var(--radius-panel);
  background: #d6dcdf;
}

.map-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--image-map) center / cover no-repeat;
  filter: grayscale(1) saturate(0.15) brightness(1.25) contrast(0.78);
  transform: scale(1.04);
}

.map-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.18)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
  opacity: 0.42;
}

.contacts-card {
  display: grid;
  align-content: center;
  gap: 20px;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list__item {
  display: grid;
  gap: 6px;
}

.contact-list__term {
  font-family: var(--font-heading);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 700;
  color: var(--color-accent);
}

.contact-list__value {
  color: var(--color-text);
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.socials__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: var(--color-bg);
  background: var(--color-accent);
  transition:
    transform 0.25s ease,
    background-color 0.25s ease;
}

.socials__link:hover,
.socials__link:focus-visible {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
}

.scroll-top {
  position: absolute;
  right: max(24px, calc((100vw - min(var(--container-desktop), calc(100% - 80px))) / 2));
  bottom: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border: 0;
  border-radius: 50%;
  color: var(--color-bg);
  background: var(--color-accent);
  box-shadow: var(--shadow-accent);
}

.scroll-top:hover,
.scroll-top:focus-visible {
  transform: translateY(-1px);
}

.site-footer {
  padding: 28px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.site-footer p {
  margin: 0;
  color: var(--color-text-muted);
}

.system-page .section {
  padding: 64px 0;
}

.site-header--system .header-bar {
  gap: 24px;
}

.site-nav--system {
  flex-wrap: wrap;
}

.system-main {
  padding-bottom: 24px;
}

.system-hero {
  padding-top: 48px;
}

.system-hero__copy {
  grid-column: 1 / span 7;
  display: grid;
  gap: 24px;
}

.system-hero__summary {
  grid-column: 9 / -1;
  padding: 32px;
}

.system-hero__summary h2,
.panel h3 {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 1.35;
  font-weight: 700;
}

.system-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--color-text-muted);
}

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

.swatch-card {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.03);
}

.swatch-card__sample {
  height: 104px;
  margin-bottom: 16px;
  border-radius: 14px;
}

.swatch-card h3,
.swatch-card p {
  margin: 0;
}

.swatch-card h3 {
  margin-bottom: 6px;
  font-family: var(--font-heading);
  font-size: 18px;
  line-height: 1.55;
}

.swatch-card p {
  color: var(--color-text-muted);
}

.typography-panel {
  display: grid;
  gap: 18px;
  padding: 32px;
}

.type-row {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.type-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.type-row span {
  font-family: var(--font-heading);
  color: var(--color-accent);
}

.type-row p {
  margin: 0;
}

.type-display {
  font-family: var(--font-heading);
  font-size: 64px;
  line-height: 1;
  font-weight: 800;
}

.type-h1 {
  font-family: var(--font-heading);
  font-size: 48px;
  line-height: 1.16;
  font-weight: 700;
}

.type-h2 {
  font-family: var(--font-heading);
  font-size: 40px;
  line-height: 1.2;
  font-weight: 700;
}

.type-kicker {
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--color-accent);
}

.type-body {
  font-size: 16px;
  line-height: 1.5;
}

.type-caption {
  font-size: 14px;
  line-height: 1.43;
  color: var(--color-text-muted);
}

.grid-showcase,
.button-showcase,
.link-showcase {
  display: grid;
  gap: 24px;
}

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

.grid-showcase .panel,
.component-grid .panel,
.form-demo {
  padding: 32px;
}

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

.grid-demo span {
  height: 84px;
  border-radius: 10px;
  background: rgba(254, 217, 68, 0.14);
  box-shadow: inset 0 0 0 1px rgba(254, 217, 68, 0.28);
}

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

.button-showcase,
.link-showcase {
  justify-items: start;
}

.button-showcase {
  grid-template-columns: repeat(2, max-content);
}

.link-showcase {
  align-content: start;
}

.site-nav__link--demo {
  padding: 0;
}

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

.field {
  display: grid;
  gap: 10px;
}

.field--full {
  grid-column: 1 / -1;
}

.field__label {
  font-family: var(--font-heading);
  font-size: 14px;
  line-height: 1.43;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-field);
  color: var(--color-text);
  background: #1d1f20;
}

.field input,
.field select {
  min-height: 56px;
  padding: 0 18px;
}

.field textarea {
  min-height: 120px;
  padding: 16px 18px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(179, 179, 179, 0.74);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--color-border);
  box-shadow: 0 0 0 3px rgba(254, 217, 68, 0.12);
  outline: none;
}

.field--error input {
  border-color: rgba(239, 125, 125, 0.6);
  box-shadow: 0 0 0 1px rgba(239, 125, 125, 0.2);
}

.field--choice {
  align-content: start;
}

.choice {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-text-muted);
}

.choice input {
  width: 18px;
  height: 18px;
  accent-color: var(--color-accent);
}

.system-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.review-card--static {
  width: auto;
}

.cta-band--preview {
  border-radius: var(--radius-panel);
  overflow: hidden;
}

@media (max-width: 1280px) {
  .container {
    width: min(var(--container-laptop), calc(100% - 64px));
  }

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

  .section-title,
  .type-h2 {
    font-size: 36px;
  }

  .type-display {
    font-size: 56px;
  }
}

@media (max-width: 1024px) {
  .container {
    width: min(var(--container-tablet), calc(100% - 48px));
  }

  .header-bar {
    gap: 20px;
  }

  .site-nav {
    gap: 18px;
  }

  .hero-copy {
    grid-column: 1 / span 6;
  }

  .hero-media {
    grid-column: 7 / -1;
    min-height: 360px;
  }

  .about-visual {
    grid-column: 1 / span 6;
  }

  .about-copy {
    grid-column: 7 / -1;
  }

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

  .category-grid .category-card:last-child {
    grid-column: 1 / -1;
  }

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

  .reviews__copy {
    grid-column: 1 / span 7;
  }

  .review-slider {
    grid-column: 8 / -1;
  }

  .contacts-grid,
  .system-hero__grid,
  .grid-showcase,
  .component-grid,
  .system-card-grid {
    grid-template-columns: 1fr;
  }

  .system-hero__copy,
  .system-hero__summary {
    grid-column: auto;
  }

  .scroll-top {
    right: 24px;
  }
}

@media (max-width: 768px) {
  .container {
    width: calc(100% - 32px);
  }

  .section {
    padding: 56px 0;
  }

  .site-header {
    padding-top: 16px;
  }

  .header-bar {
    gap: 12px;
  }

  .brand {
    gap: 12px;
  }

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

  .brand-text {
    font-size: 19px;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .header-phone {
    display: none;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    display: grid;
    gap: 10px;
    padding: 18px;
    margin-left: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    background: rgba(28, 29, 30, 0.98);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 0.25s ease,
      transform 0.25s ease;
  }

  .site-header.is-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav--system {
    position: static;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .site-nav__link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

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

  .hero-copy,
  .hero-media,
  .about-visual,
  .about-copy,
  .reviews__copy,
  .review-slider {
    grid-column: auto;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-copy {
    gap: 20px;
  }

  .hero-title,
  .type-h1 {
    font-size: 36px;
    line-height: 1.2;
  }

  .section-title,
  .type-h2 {
    font-size: 32px;
    line-height: 1.22;
  }

  .category-grid,
  .product-grid,
  .promo-grid,
  .swatch-grid,
  .component-grid,
  .system-card-grid,
  .button-showcase,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .category-grid .category-card:last-child {
    grid-column: auto;
  }

  .review-slider {
    justify-content: stretch;
    padding-right: 56px;
    padding-bottom: 64px;
  }

  .review-card {
    width: 100%;
  }

  .review-slider__next {
    right: 0;
    top: auto;
    bottom: 0;
    transform: none;
    width: 64px;
    height: 64px;
  }

  .contacts-grid {
    gap: 32px;
  }

  .map-panel {
    min-height: 360px;
  }

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

@media (max-width: 540px) {
  .hero-title,
  .type-h1 {
    font-size: 32px;
  }

  .section-title,
  .type-h2 {
    font-size: 28px;
  }

  .type-display {
    font-size: 40px;
  }

  .type-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .product-card__actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-list dt {
    font-size: 16px;
  }

  .scroll-top {
    width: 64px;
    height: 64px;
  }
}

.header-actions,
.hero-actions,
.footer-nav,
.builder-actions,
.builder-footer,
.cart-summary__row,
.cart-item__head,
.cart-item__footer {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-actions {
  flex-shrink: 0;
}

.hero-actions {
  flex-wrap: wrap;
}

.footer-nav {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-footer__copy {
  flex: 1 1 auto;
}

.cart-trigger {
  min-width: 122px;
}

.cart-counter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  color: var(--color-bg);
  background: var(--color-accent);
}

.card-eyebrow,
.breadcrumbs,
.product-card__old-price,
.product-card__meta,
.cart-item__meta,
.status-message {
  color: var(--color-text-muted);
}

.card-eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.category-card__link {
  position: relative;
  z-index: 1;
  display: block;
  min-height: inherit;
  height: 100%;
}

.product-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-bg);
  background: var(--color-accent);
}

.product-card__price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.product-card__price-stack {
  display: grid;
  gap: 4px;
}

.product-card__old-price {
  font-size: 14px;
  text-decoration: line-through;
}

.product-card__meta {
  font-size: 14px;
}

.page-shell {
  min-height: 60vh;
}

.page-hero {
  padding-top: 40px;
}

.page-hero--compact {
  padding-bottom: 0;
}

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

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
}

.content-panel,
.builder-panel,
.cart-summary,
.cart-empty,
.cart-success,
.empty-state {
  padding: 32px;
}

.policy-content,
.content-panel {
  line-height: 1.7;
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.7fr);
  gap: 24px;
  align-items: start;
}

.single-menu {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: start;
}

.single-menu__media {
  overflow: hidden;
}

.single-menu__hero {
  aspect-ratio: 1 / 0.82;
  overflow: hidden;
  border-radius: 20px;
}

.single-menu__hero img,
.single-menu__thumb img,
.cart-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-menu__gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.single-menu__thumb {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 16px;
}

.single-menu__content,
.single-menu__head,
.builder-panel,
.builder-panel__head,
.builder-group,
.choice-card,
.cart-drawer__content,
.cart-item__content,
.cart-empty,
.empty-state {
  display: grid;
  gap: 20px;
}

.single-menu__meta {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.builder-group {
  margin: 0;
  padding: 0;
  border: 0;
}

.builder-group legend {
  margin-bottom: 14px;
  font-family: var(--font-heading);
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
}

.builder-choices {
  display: grid;
  gap: 12px;
}

.choice-card {
  position: relative;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.choice-card input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.choice-card__body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
}

.choice-card input:checked + .choice-card__body {
  color: var(--color-accent);
}

.choice-card input:checked + .choice-card__body strong {
  color: var(--color-accent);
}

.builder-footer {
  justify-content: space-between;
}

.quantity-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.quantity-box--small {
  min-height: 44px;
  padding: 6px;
}

.quantity-box__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.06);
}

.quantity-box__button:hover,
.quantity-box__button:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.quantity-box__input,
.quantity-box__value {
  min-width: 36px;
  text-align: center;
}

.quantity-box__input {
  width: 56px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-text);
}

.quantity-box__input:focus {
  outline: none;
}

.builder-total {
  display: grid;
  gap: 6px;
  text-align: right;
}

.builder-total strong {
  font-family: var(--font-heading);
  font-size: 28px;
  line-height: 1;
}

.map-panel--embed {
  padding: 0;
  background: #d6dcdf;
}

.map-panel--embed::before,
.map-panel--embed::after {
  content: none;
}

.map-panel--embed iframe {
  width: 100%;
  height: 100%;
  min-height: 480px;
  border: 0;
}

.contacts-extra {
  margin-top: 24px;
  color: var(--color-text-muted);
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
}

.cart-drawer.is-open {
  pointer-events: auto;
}

.cart-drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 7, 7, 0.72);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.cart-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(560px, 100%);
  height: 100%;
  padding: 28px 20px 24px;
  background: #1d1f20;
  box-shadow: var(--shadow-soft);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.cart-drawer.is-open .cart-drawer__overlay {
  opacity: 1;
}

.cart-drawer.is-open .cart-drawer__panel {
  transform: translateX(0);
}

.cart-open {
  overflow: hidden;
}

.cart-drawer__close {
  position: sticky;
  top: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 0;
  border-radius: 12px;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.06);
}

.cart-drawer__close:hover,
.cart-drawer__close:focus-visible,
.cart-item__remove:hover,
.cart-item__remove:focus-visible {
  color: var(--color-accent);
}

.cart-drawer__header {
  display: grid;
  gap: 16px;
}

.status-message {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.status-message[data-state="success"] {
  color: var(--color-text);
  border-color: rgba(254, 217, 68, 0.26);
  background: rgba(254, 217, 68, 0.08);
}

.status-message[data-state="error"] {
  color: #ffd6d6;
  border-color: rgba(239, 125, 125, 0.36);
  background: rgba(239, 125, 125, 0.12);
}

.cart-items {
  display: grid;
  gap: 16px;
}

.cart-item {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
}

.cart-item__media {
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 1;
}

.cart-item__head,
.cart-item__footer,
.cart-summary__row {
  justify-content: space-between;
}

.cart-item__head h3,
.cart-empty h3,
.cart-success h3,
.empty-state h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 22px;
  line-height: 1.3;
}

.cart-item__remove {
  border: 0;
  padding: 0;
  color: var(--color-text-muted);
  background: transparent;
}

.cart-item__addons {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--color-text-muted);
}

.cart-item__addons li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cart-summary__row strong,
.cart-item__price {
  font-family: var(--font-heading);
  font-size: 22px;
  line-height: 1.2;
}

.order-form__actions {
  margin-top: 4px;
}

.cart-fab {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 50;
}

@media (max-width: 1024px) {
  .page-grid,
  .single-menu {
    grid-template-columns: 1fr;
  }
}

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

  .cart-trigger {
    min-width: auto;
    padding-inline: 16px;
  }

  .footer-nav,
  .builder-actions,
  .builder-footer {
    justify-content: stretch;
    flex-direction: column;
    align-items: stretch;
  }

  .builder-total {
    text-align: left;
  }

  .cart-item {
    grid-template-columns: 1fr;
  }

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

  .map-panel--embed iframe {
    min-height: 360px;
  }
}

@media (max-width: 540px) {
  .content-panel,
  .builder-panel,
  .cart-summary,
  .cart-empty,
  .cart-success,
  .empty-state {
    padding: 24px;
  }

  .cart-fab {
    left: 16px;
    right: 16px;
    bottom: 16px;
    justify-content: space-between;
  }
}
