:root {
  --cream: #f3ead6;
  --paper: #fff9ec;
  --paper-strong: #fffdf6;
  --ink: #1d211d;
  --muted: #696b63;
  --line: rgba(29, 33, 29, 0.17);
  --tomato: #ee4b2b;
  --tomato-dark: #b92d1c;
  --green: #153d30;
  --green-soft: #d7dfba;
  --yellow: #f4c63d;
  --earth: #8c6048;
  --white: #fff;
  --shadow: 0 24px 70px rgba(56, 37, 19, 0.14);
  --container: 1240px;
  --display: "Russo One", "Arial Black", sans-serif;
  --body: "Manrope", system-ui, sans-serif;
  --mono: "PT Mono", monospace;
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 38px;
  color-scheme: light;
}

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

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

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(244, 198, 61, 0.12), transparent 25rem),
    var(--cream);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: 0.19;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.24'/%3E%3C/svg%3E");
}

body:has(dialog[open]) {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

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

button {
  color: inherit;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible,
dialog:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  border-radius: 8px;
  color: var(--white);
  background: var(--green);
  transform: translateY(-150%);
}

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

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

.section {
  padding-block: 120px;
}

.service-line {
  overflow: hidden;
  color: var(--paper);
  background: var(--tomato);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-line__track {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: max-content;
  min-height: 34px;
  gap: 38px;
  padding-inline: 24px;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(243, 234, 214, 0.9);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  line-height: 0.95;
}

.brand__mark {
  width: 44px;
  height: 44px;
  fill: var(--tomato);
}

.brand__mark path:nth-child(2),
.brand__mark path:nth-child(3) {
  fill: var(--cream);
}

.brand__text {
  display: grid;
  text-transform: uppercase;
}

.brand__text strong {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.brand__text span {
  color: var(--tomato);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 32px);
  font-size: 13px;
  font-weight: 700;
}

.desktop-nav a {
  position: relative;
  padding-block: 10px;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--tomato);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

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

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-phone {
  display: grid;
  text-align: right;
  line-height: 1.2;
}

.header-phone span {
  font-size: 13px;
  font-weight: 800;
}

.header-phone small {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.cart-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  padding: 6px 7px 6px 15px;
  border: 0;
  border-radius: 999px;
  color: var(--paper);
  background: var(--green);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.cart-button:hover {
  color: var(--ink);
  background: var(--yellow);
  transform: translateY(-2px);
}

.cart-button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.cart-button__count {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
}

.cart-button.is-bumping .cart-button__count {
  animation: count-bump 320ms ease;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-content: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 180ms ease;
}

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

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

.mobile-menu {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  padding: 20px 24px 30px;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
  box-shadow: 0 20px 50px rgba(29, 33, 29, 0.12);
}

.mobile-menu a {
  display: block;
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 400;
  text-transform: uppercase;
}

.hero {
  position: relative;
  overflow: clip;
  padding-block: 84px 0;
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: -130px;
  right: -220px;
  width: 740px;
  height: 740px;
  border: 1px solid rgba(238, 75, 43, 0.12);
  border-radius: 50%;
  content: "";
}

.hero__grid {
  display: grid;
  min-height: 620px;
  align-items: center;
  grid-template-columns: minmax(0, 0.95fr) minmax(460px, 1.05fr);
  gap: clamp(48px, 7vw, 100px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 20px;
  color: var(--tomato-dark);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 26px;
  height: 1px;
  background: currentColor;
}

.eyebrow--light {
  color: var(--cream);
}

.hero h1,
.section-heading h2,
.about h2,
.reviews h2,
.delivery h2,
.faq h2,
.contact h2,
.checkout-dialog h2,
.checkout-success h2,
.privacy-dialog h2 {
  margin-bottom: 0;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.94;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(58px, 7.1vw, 104px);
}

.hero__title-accent {
  display: block;
  color: transparent;
  -webkit-text-stroke: 2px var(--tomato);
  transform: translateX(clamp(20px, 5vw, 74px));
}

.hero__lead {
  max-width: 590px;
  margin-block: 32px 0;
  color: #44463f;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 13px 22px;
  border: 0;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.button:hover {
  transform: translateY(-3px);
}

.button--primary {
  color: var(--paper);
  background: var(--tomato);
  box-shadow: 0 12px 30px rgba(238, 75, 43, 0.24);
}

.button--primary:hover {
  background: var(--tomato-dark);
  box-shadow: 0 16px 36px rgba(185, 45, 28, 0.28);
}

.button--text {
  min-height: 44px;
  padding-inline: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
}

.button--cream {
  color: var(--ink);
  background: var(--cream);
}

.button--cream:hover {
  background: var(--yellow);
}

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

.hero__proof {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 48px;
}

.hero__proof p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 10px;
}

.hero__proof strong {
  font-size: 13px;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}

.rating-row span {
  color: var(--tomato);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.avatar-stack {
  display: flex;
  padding-left: 8px;
}

.avatar-stack span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-left: -8px;
  border: 2px solid var(--cream);
  border-radius: 50%;
  color: var(--paper);
  background: var(--green);
  font-family: var(--mono);
  font-size: 9px;
}

.avatar-stack span:nth-child(2) {
  color: var(--ink);
  background: var(--yellow);
}

.avatar-stack span:nth-child(3) {
  background: var(--tomato);
}

.hero__proof-divider {
  width: 1px;
  height: 36px;
  margin-inline: 4px;
  background: var(--line);
}

.hero-visual {
  position: relative;
  min-height: 610px;
  isolation: isolate;
}

.oven-dial {
  position: absolute;
  z-index: -2;
  top: 50%;
  left: 50%;
  width: min(590px, 46vw);
  aspect-ratio: 1;
  border: 1px dashed rgba(29, 33, 29, 0.42);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: oven-spin 42s linear infinite;
}

.oven-dial::before,
.oven-dial::after {
  position: absolute;
  border: 1px solid rgba(29, 33, 29, 0.11);
  border-radius: inherit;
  content: "";
  inset: 36px;
}

.oven-dial::after {
  inset: 80px;
}

.oven-dial__tick {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--tomato);
}

.oven-dial__tick--one { transform: rotate(20deg) translateY(-293px); }
.oven-dial__tick--two { transform: rotate(120deg) translateY(-293px); }
.oven-dial__tick--three { transform: rotate(220deg) translateY(-293px); }
.oven-dial__tick--four { transform: rotate(300deg) translateY(-293px); }

.oven-dial__label {
  position: absolute;
  left: 50%;
  padding: 5px 10px;
  background: var(--cream);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.oven-dial__label--top {
  top: -14px;
  transform: translateX(-50%);
}

.oven-dial__label--bottom {
  bottom: -14px;
  transform: translateX(-50%) rotate(180deg);
}

.hero-pizza-wrap {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: min(470px, 38vw);
  aspect-ratio: 1;
  overflow: hidden;
  border: 12px solid rgba(255, 249, 236, 0.5);
  border-radius: 50%;
  box-shadow: 0 40px 70px rgba(45, 27, 13, 0.26);
  transform: translate(-50%, -50%) rotate(7deg);
  animation: pizza-float 6s ease-in-out infinite;
}

.hero-pizza {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
}

.temperature-stamp {
  position: absolute;
  top: 46px;
  right: -10px;
  display: grid;
  width: 132px;
  height: 132px;
  place-content: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--yellow);
  text-align: center;
  transform: rotate(9deg);
  box-shadow: 0 16px 40px rgba(72, 48, 5, 0.18);
}

.temperature-stamp span {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.temperature-stamp strong {
  font-family: var(--display);
  font-size: 46px;
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 1;
}

.temperature-stamp sup {
  position: absolute;
  top: 42px;
  right: 15px;
  font-family: var(--mono);
  font-size: 13px;
}

.order-ticket {
  position: absolute;
  right: 6%;
  bottom: 42px;
  display: grid;
  width: 180px;
  gap: 8px;
  padding: 28px 22px 24px;
  background: var(--paper-strong);
  font-family: var(--mono);
  transform: rotate(-6deg);
  filter: drop-shadow(0 18px 24px rgba(32, 24, 15, 0.18));
  clip-path: polygon(0 0, 100% 0, 100% 95%, 95% 100%, 90% 95%, 85% 100%, 80% 95%, 75% 100%, 70% 95%, 65% 100%, 60% 95%, 55% 100%, 50% 95%, 45% 100%, 40% 95%, 35% 100%, 30% 95%, 25% 100%, 20% 95%, 15% 100%, 10% 95%, 5% 100%, 0 95%);
}

.order-ticket__pin {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tomato);
  transform: translateX(-50%);
}

.order-ticket small,
.order-ticket span {
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
}

.order-ticket strong {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.05;
  text-transform: uppercase;
}

.order-ticket i {
  height: 1px;
  margin-block: 4px;
  border-top: 1px dashed var(--line);
}

.order-ticket b {
  color: var(--tomato);
  font-size: 10px;
}

.promise-grid {
  display: grid;
  margin-top: 64px;
  border: 1px solid var(--line);
  background: rgba(255, 249, 236, 0.42);
  grid-template-columns: repeat(4, 1fr);
}

.promise-card {
  display: flex;
  min-height: 132px;
  align-items: center;
  gap: 16px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.promise-card:last-child {
  border-right: 0;
}

.promise-card__number {
  align-self: flex-start;
  color: var(--tomato);
  font-family: var(--mono);
  font-size: 9px;
}

.promise-card strong {
  display: block;
  margin-bottom: 5px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 400;
  text-transform: uppercase;
}

.promise-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.promise-card--accent {
  color: var(--paper);
  background: var(--green);
}

.promise-card--accent p {
  color: rgba(255, 249, 236, 0.65);
}

.promise-card__icon {
  align-self: flex-start;
  color: var(--yellow);
  font-size: 20px;
}

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

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

.section-heading h2,
.about h2,
.reviews h2,
.delivery h2,
.faq h2 {
  font-size: clamp(44px, 5vw, 72px);
}

.section-heading__copy {
  max-width: 430px;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 14px;
}

.menu-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
  padding-block: 16px;
  border-block: 1px solid var(--line);
}

.filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-button {
  min-height: 40px;
  padding: 8px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.filter-button:hover,
.filter-button.is-active {
  border-color: var(--green);
  color: var(--paper);
  background: var(--green);
}

.menu-toolbar > p {
  margin-bottom: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  white-space: nowrap;
}

.pizza-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.pizza-card {
  position: relative;
  display: flex;
  overflow: hidden;
  min-width: 0;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--paper-strong);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.pizza-card:hover {
  z-index: 1;
  box-shadow: var(--shadow);
  transform: translateY(-7px) rotate(-0.3deg);
}

.pizza-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.22;
  background: var(--green-soft);
}

.pizza-card__media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to top, rgba(29, 33, 29, 0.18), transparent 45%);
  pointer-events: none;
}

.pizza-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pizza-card:hover .pizza-card__media img {
  transform: scale(1.055);
}

.pizza-card__media.is-fallback img {
  opacity: 0;
}

.pizza-card__media.is-fallback::before {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--green);
  content: "Пицца из печи";
  font-family: var(--display);
  text-transform: uppercase;
}

.pizza-card__tag {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--paper);
  background: var(--tomato);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pizza-card[data-accent="green"] .pizza-card__tag { background: var(--green); }
.pizza-card[data-accent="sun"] .pizza-card__tag { color: var(--ink); background: var(--yellow); }
.pizza-card[data-accent="earth"] .pizza-card__tag { background: var(--earth); }

.pizza-card__meta {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 12px;
  display: flex;
  gap: 5px;
}

.pizza-card__meta span {
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--paper);
  background: rgba(29, 33, 29, 0.75);
  font-family: var(--mono);
  font-size: 8px;
  backdrop-filter: blur(8px);
}

.pizza-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.pizza-card__body h3 {
  margin-bottom: 10px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.pizza-card__body p {
  flex: 1;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

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

.pizza-card__price {
  font-family: var(--display);
  font-size: 21px;
}

.add-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 0;
  border-radius: 999px;
  color: var(--paper);
  background: var(--green);
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.add-button:hover,
.add-button.is-added {
  color: var(--ink);
  background: var(--yellow);
  transform: translateY(-2px);
}

.add-button span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 16px;
  line-height: 1;
}

.promo {
  padding-block: 92px;
  background: var(--paper);
}

.promo-card {
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: 540px;
  color: var(--paper);
  background: var(--tomato);
  grid-template-columns: 0.9fr 1.1fr;
}

.promo-card::before {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 249, 236, 0.32);
  content: "";
  pointer-events: none;
}

.promo-card__copy {
  position: relative;
  z-index: 3;
  align-self: center;
  padding: clamp(50px, 6vw, 82px);
}

.promo-card h2 {
  margin-bottom: 26px;
  font-family: var(--display);
  font-size: clamp(42px, 4.6vw, 68px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.96;
  text-transform: uppercase;
}

.promo-card__copy > p:not(.eyebrow) {
  max-width: 500px;
  margin-bottom: 26px;
  color: rgba(255, 249, 236, 0.76);
  font-size: 14px;
}

.promo-card__price {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 28px;
}

.promo-card__price strong {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 400;
}

.promo-card__price s {
  color: rgba(255, 249, 236, 0.6);
  font-family: var(--mono);
  font-size: 12px;
}

.promo-card__art {
  position: relative;
  min-height: 540px;
}

.promo-card__art img {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: min(500px, 41vw);
  aspect-ratio: 1;
  border: 9px solid rgba(255, 249, 236, 0.55);
  border-radius: 50%;
  object-fit: cover;
  transform: translate(-50%, -50%) rotate(8deg);
  box-shadow: 0 35px 60px rgba(90, 19, 9, 0.34);
}

.promo-card__sun {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 560px;
  height: 560px;
  border: 1px dashed rgba(255, 249, 236, 0.55);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.promo-card__sun::before,
.promo-card__sun::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  inset: 36px;
  background: var(--yellow);
}

.promo-card__sun::after {
  inset: 118px;
  background: var(--tomato-dark);
}

.promo-card__scribble {
  position: absolute;
  z-index: 3;
  top: 30px;
  right: 36px;
  color: var(--yellow);
  font-family: cursive;
  font-size: 62px;
  font-style: italic;
  transform: rotate(9deg);
}

.promo-card__note {
  position: absolute;
  z-index: 3;
  right: 32px;
  bottom: 28px;
  display: grid;
  width: 128px;
  height: 128px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-8deg);
}

.about {
  position: relative;
  overflow: hidden;
}

.about__grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(70px, 10vw, 150px);
}

.about__visual {
  position: relative;
}

.about__image-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 0.86;
  background: var(--green-soft);
  transform: rotate(-2deg);
}

.about__image-frame::after {
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 249, 236, 0.7);
  content: "";
}

.about__image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__seal {
  position: absolute;
  right: -54px;
  bottom: 45px;
  display: grid;
  width: 160px;
  height: 160px;
  place-items: center;
  align-content: center;
  gap: 5px;
  border-radius: 50%;
  color: var(--paper);
  background: var(--green);
  text-align: center;
  transform: rotate(7deg);
  box-shadow: var(--shadow);
}

.about__seal span {
  max-width: 100px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about__seal strong {
  color: var(--yellow);
  font-family: var(--display);
  font-size: 34px;
  font-weight: 400;
}

.about__caption {
  max-width: 350px;
  margin: 22px 0 0 20px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
}

.about__lead {
  max-width: 620px;
  margin-block: 30px;
  color: #454840;
  font-size: 17px;
  line-height: 1.75;
}

.about__facts {
  display: grid;
  margin-block: 42px;
  border-block: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
}

.about__facts article {
  padding: 26px 20px 26px 0;
  border-right: 1px solid var(--line);
}

.about__facts article:not(:first-child) {
  padding-left: 20px;
}

.about__facts article:last-child {
  border-right: 0;
}

.about__facts strong {
  display: block;
  color: var(--tomato);
  font-family: var(--display);
  font-size: 33px;
  font-weight: 400;
}

.about__facts p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

.about blockquote {
  margin: 0;
  padding-left: 22px;
  border-left: 3px solid var(--tomato);
}

.about blockquote p {
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 700;
}

.about blockquote footer {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
}

.process {
  position: relative;
  overflow: hidden;
  color: var(--paper);
  background: var(--green);
}

.process::before {
  position: absolute;
  top: -320px;
  right: -220px;
  width: 700px;
  height: 700px;
  border: 1px dashed rgba(255, 249, 236, 0.17);
  border-radius: 50%;
  content: "";
}

.section-heading--compact {
  margin-bottom: 58px;
}

.process-list {
  display: grid;
  border-top: 1px solid rgba(255, 249, 236, 0.19);
  grid-template-columns: repeat(3, 1fr);
}

.process-step {
  position: relative;
  min-height: 390px;
  padding: 38px 38px 30px;
  border-right: 1px solid rgba(255, 249, 236, 0.19);
}

.process-step:last-child {
  border-right: 0;
}

.process-step__number {
  position: absolute;
  top: 20px;
  right: 20px;
  color: rgba(255, 249, 236, 0.35);
  font-family: var(--mono);
  font-size: 10px;
}

.process-step__icon {
  display: grid;
  width: 80px;
  height: 80px;
  place-items: center;
  margin-bottom: 60px;
  border: 1px solid rgba(255, 249, 236, 0.24);
  border-radius: 50%;
  color: var(--yellow);
  font-size: 30px;
}

.process-step h3 {
  margin-bottom: 18px;
  font-family: var(--display);
  font-size: 25px;
  font-weight: 400;
  text-transform: uppercase;
}

.process-step p {
  max-width: 310px;
  margin-bottom: 28px;
  color: rgba(255, 249, 236, 0.68);
  font-size: 12px;
}

.process-step small {
  color: var(--yellow);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.reviews {
  overflow: hidden;
  background: var(--paper);
}

.reviews__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 56px;
}

.slider-controls {
  display: flex;
  align-items: center;
  gap: 15px;
}

.slider-controls button {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease;
}

.slider-controls button:hover {
  color: var(--paper);
  background: var(--green);
}

.slider-controls > span {
  font-family: var(--mono);
  font-size: 10px;
}

.slider-controls b {
  color: var(--tomato);
}

.reviews-slider {
  display: flex;
  transition: transform 500ms cubic-bezier(0.65, 0, 0.35, 1);
  touch-action: pan-y;
}

.review-card {
  display: grid;
  min-width: 100%;
  padding: clamp(42px, 6vw, 76px);
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, transparent 49.9%, var(--line) 50%, transparent 50.1%),
    var(--cream);
  grid-template-columns: 0.36fr 1fr;
  gap: clamp(40px, 8vw, 120px);
}

.review-card__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.review-card__avatar {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  color: var(--paper);
  background: var(--tomato);
  font-family: var(--display);
  font-size: 20px;
}

.review-card__meta strong {
  font-size: 14px;
}

.review-card__meta small {
  margin-top: 5px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
}

.review-card__stars {
  margin-top: auto;
  color: var(--tomato);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.review-card blockquote {
  align-self: center;
  margin: 0;
}

.review-card blockquote::before {
  display: block;
  margin-bottom: 10px;
  color: var(--tomato);
  content: "“";
  font-family: Georgia, serif;
  font-size: 70px;
  line-height: 0.5;
}

.review-card blockquote p {
  max-width: 760px;
  margin-bottom: 0;
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 40px);
  letter-spacing: -0.03em;
  line-height: 1.24;
  text-transform: uppercase;
}

.delivery__grid {
  display: grid;
  align-items: center;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(65px, 9vw, 130px);
}

.delivery__lead {
  max-width: 520px;
  margin-block: 30px 38px;
  color: var(--muted);
  font-size: 16px;
}

.delivery__details {
  max-width: 570px;
  margin: 0 0 36px;
  border-top: 1px solid var(--line);
}

.delivery__details div {
  display: grid;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 0.8fr 1.2fr;
  gap: 20px;
}

.delivery__details dt {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.delivery__details dd {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
}

.delivery-map {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e6ddc7;
}

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

.map-road {
  position: absolute;
  display: block;
  height: 12px;
  border-block: 1px solid rgba(29, 33, 29, 0.14);
  background: rgba(255, 249, 236, 0.62);
  transform-origin: center;
}

.map-road--one { top: 27%; left: -10%; width: 130%; transform: rotate(14deg); }
.map-road--two { top: 58%; left: -10%; width: 130%; transform: rotate(-18deg); }
.map-road--three { top: 10%; left: 52%; width: 105%; transform: rotate(82deg); }
.map-road--four { top: 70%; left: -10%; width: 90%; transform: rotate(48deg); }

.map-label {
  position: absolute;
  color: rgba(29, 33, 29, 0.45);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.map-label--one { top: 16%; left: 15%; transform: rotate(14deg); }
.map-label--two { right: 12%; bottom: 20%; transform: rotate(-18deg); }
.map-label--three { top: 44%; right: 2%; transform: rotate(82deg); }

.delivery-zone {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.delivery-zone--outer {
  width: 76%;
  aspect-ratio: 1;
  border: 1px dashed var(--tomato);
  background: rgba(238, 75, 43, 0.08);
}

.delivery-zone--inner {
  width: 43%;
  aspect-ratio: 1;
  border: 1px solid var(--tomato);
  background: rgba(238, 75, 43, 0.15);
}

.map-pin {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  display: grid;
  justify-items: center;
  transform: translate(-50%, -50%);
}

.map-pin svg {
  width: 58px;
  height: 58px;
  fill: var(--tomato);
  filter: drop-shadow(0 8px 14px rgba(71, 28, 16, 0.22));
}

.map-pin svg path:last-child {
  fill: var(--paper);
}

.map-pin span {
  margin-top: 5px;
  padding: 5px 9px;
  color: var(--paper);
  background: var(--green);
  font-family: var(--mono);
  font-size: 8px;
  text-transform: uppercase;
  white-space: nowrap;
}

.map-legend {
  position: absolute;
  z-index: 5;
  right: 22px;
  bottom: 22px;
  display: grid;
  gap: 7px;
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 249, 236, 0.87);
  font-family: var(--mono);
  font-size: 8px;
  backdrop-filter: blur(10px);
}

.map-legend span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.map-legend i {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.map-legend__inner { background: rgba(238, 75, 43, 0.25); border: 1px solid var(--tomato); }
.map-legend__outer { background: rgba(238, 75, 43, 0.1); border: 1px dashed var(--tomato); }

.faq {
  background: var(--paper);
}

.faq__grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(60px, 10vw, 150px);
}

.faq__intro {
  position: sticky;
  top: 120px;
  align-self: start;
}

.faq__intro > p:not(.eyebrow) {
  max-width: 390px;
  margin-block: 28px 20px;
  color: var(--muted);
  font-size: 14px;
}

.faq__intro > a {
  color: var(--tomato);
  font-family: var(--display);
  font-size: 20px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 20px;
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.2;
  list-style: none;
  text-transform: uppercase;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  position: relative;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.faq-list summary span::before,
.faq-list summary span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1px;
  content: "";
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
}

.faq-list summary span::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-list details[open] summary span {
  color: var(--paper);
  background: var(--tomato);
}

.faq-list details[open] summary span::before,
.faq-list details[open] summary span::after {
  background: var(--paper);
}

.faq-list details[open] summary span::after {
  transform: translate(-50%, -50%) rotate(0);
}

.faq-list details p {
  max-width: 650px;
  margin: -6px 50px 28px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.contact {
  padding-block: 80px;
  background: var(--paper);
}

.contact-card {
  display: grid;
  min-height: 320px;
  align-items: center;
  padding: clamp(45px, 6vw, 75px);
  color: var(--paper);
  background:
    radial-gradient(circle at 85% 50%, rgba(244, 198, 61, 0.16), transparent 22rem),
    var(--tomato-dark);
  grid-template-columns: 1fr 0.8fr auto;
  gap: 50px;
}

.contact h2 {
  font-size: clamp(35px, 4vw, 58px);
}

.contact-card > div:first-child > p:not(.eyebrow) {
  max-width: 500px;
  margin: 20px 0 0;
  color: rgba(255, 249, 236, 0.72);
  font-size: 13px;
}

.contact-card__info {
  display: grid;
  gap: 18px;
}

.contact-card__info p {
  display: grid;
  margin-bottom: 0;
}

.contact-card__info small {
  color: rgba(255, 249, 236, 0.55);
  font-family: var(--mono);
  font-size: 8px;
  text-transform: uppercase;
}

.contact-card__info strong,
.contact-card__info a {
  margin-top: 3px;
  font-size: 13px;
}

.site-footer {
  color: var(--paper);
  background: var(--ink);
}

.site-footer__top {
  display: grid;
  min-height: 300px;
  align-items: start;
  padding-block: 70px;
  grid-template-columns: 1fr 1.4fr 0.7fr 0.5fr;
  gap: 50px;
}

.brand--footer .brand__mark {
  fill: var(--yellow);
}

.brand--footer .brand__mark path:nth-child(2) {
  fill: var(--ink);
}

.brand--footer .brand__text span {
  color: var(--yellow);
}

.site-footer__manifesto {
  margin-bottom: 0;
  color: rgba(255, 249, 236, 0.84);
  font-family: var(--display);
  font-size: clamp(22px, 2.5vw, 34px);
  line-height: 1.2;
  text-transform: uppercase;
}

.site-footer__nav,
.site-footer__socials {
  display: grid;
  align-content: start;
  gap: 12px;
  color: rgba(255, 249, 236, 0.62);
  font-size: 11px;
}

.site-footer__nav a:hover,
.site-footer__socials a:hover {
  color: var(--yellow);
}

.site-footer__bottom {
  display: flex;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 14px;
  border-top: 1px solid rgba(255, 249, 236, 0.14);
  color: rgba(255, 249, 236, 0.38);
  font-family: var(--mono);
  font-size: 8px;
}

.site-footer__bottom p {
  margin-bottom: 0;
}

.site-footer__bottom button {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.site-footer__bottom button:hover {
  color: var(--paper);
}

dialog {
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
}

dialog::backdrop {
  background: rgba(20, 24, 20, 0.72);
  backdrop-filter: blur(5px);
}

.drawer-dialog {
  width: min(520px, 100%);
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0 0 0 auto;
}

.drawer-dialog[open] {
  animation: drawer-in 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.drawer-dialog__panel {
  display: flex;
  width: 100%;
  min-height: 100%;
  flex-direction: column;
  background: var(--paper);
}

.drawer-dialog__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 32px 34px 22px;
  border-bottom: 1px solid var(--line);
}

.drawer-dialog__header .eyebrow {
  margin-bottom: 8px;
}

.drawer-dialog__header h2 {
  margin-bottom: 0;
  font-family: var(--display);
  font-size: 38px;
  font-weight: 400;
  text-transform: uppercase;
}

.icon-button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease;
}

.icon-button:hover {
  color: var(--paper);
  background: var(--green);
}

.cart-progress {
  padding: 14px 34px;
  border-bottom: 1px solid var(--line);
  background: #f5efdb;
}

.cart-progress p {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 10px;
}

.cart-progress > div {
  overflow: hidden;
  height: 5px;
  border-radius: 99px;
  background: rgba(29, 33, 29, 0.1);
}

.cart-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--tomato);
  transition: width 300ms ease;
}

.cart-items {
  display: grid;
  max-height: calc(100vh - 430px);
  overflow: auto;
  padding-inline: 34px;
}

.cart-item {
  display: grid;
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 82px 1fr auto;
  gap: 16px;
}

.cart-item img {
  width: 82px;
  height: 82px;
  object-fit: cover;
}

.cart-item__content {
  display: grid;
  align-content: space-between;
}

.cart-item__content h3 {
  margin-bottom: 3px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
}

.cart-item__content small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
}

.quantity-control {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.quantity-control button {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.quantity-control button:hover {
  background: var(--yellow);
}

.quantity-control span {
  min-width: 22px;
  text-align: center;
  font-family: var(--mono);
  font-size: 9px;
}

.cart-item__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}

.cart-item__aside strong {
  font-size: 12px;
}

.cart-item__remove {
  padding: 4px;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 9px;
  text-decoration: underline;
  cursor: pointer;
}

.cart-empty {
  display: grid;
  flex: 1;
  place-items: center;
  align-content: center;
  padding: 60px 34px;
  text-align: center;
}

.cart-empty__icon {
  display: grid;
  width: 90px;
  height: 90px;
  place-items: center;
  margin-bottom: 20px;
  border: 1px dashed var(--line);
  border-radius: 50%;
  color: var(--tomato);
  font-size: 46px;
}

.cart-empty h3 {
  margin-bottom: 9px;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 400;
  text-transform: uppercase;
}

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

.cart-summary {
  margin-top: auto;
  padding: 22px 34px 28px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.promo-form {
  margin-bottom: 18px;
}

.promo-form label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  text-transform: uppercase;
}

.promo-form > div {
  display: flex;
}

.promo-form input {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-right: 0;
  border-radius: 8px 0 0 8px;
  background: transparent;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

.promo-form button {
  padding-inline: 15px;
  border: 0;
  border-radius: 0 8px 8px 0;
  color: var(--paper);
  background: var(--green);
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
}

.promo-form > p {
  min-height: 16px;
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 9px;
}

.promo-form > p.is-success {
  color: var(--green);
}

.promo-form > p.is-error {
  color: var(--tomato-dark);
}

.cart-summary dl {
  display: grid;
  gap: 7px;
  margin: 0 0 18px;
}

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

.cart-summary dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.cart-summary .cart-summary__total {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  color: var(--ink);
  font-family: var(--display);
  font-size: 18px;
  text-transform: uppercase;
}

.cart-summary__note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 8px;
  text-align: center;
}

.checkout-dialog {
  width: min(880px, calc(100% - 32px));
  max-width: none;
  max-height: min(92vh, 900px);
}

.checkout-dialog[open],
.privacy-dialog[open] {
  animation: modal-in 250ms ease;
}

.checkout-dialog__shell {
  position: relative;
  max-height: min(92vh, 900px);
  overflow: auto;
  padding: clamp(34px, 5vw, 58px);
  background: var(--paper);
}

.checkout-dialog__close {
  position: absolute;
  z-index: 2;
  top: 20px;
  right: 20px;
}

.checkout-view > header {
  max-width: 650px;
  margin-bottom: 34px;
}

.checkout-dialog h2,
.checkout-success h2,
.privacy-dialog h2 {
  font-size: clamp(36px, 5vw, 58px);
}

.checkout-view > header > p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
}

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

.field {
  display: grid;
}

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

.field label,
.payment-methods legend {
  margin-bottom: 7px;
  font-size: 10px;
  font-weight: 800;
}

.field label span {
  color: var(--muted);
  font-size: 8px;
  font-weight: 500;
}

.field input {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf7;
  font-size: 12px;
}

.field input[aria-invalid="true"] {
  border-color: var(--tomato);
}

.field__error {
  min-height: 15px;
  margin: 4px 0 0;
  color: var(--tomato-dark);
  font-size: 8px;
}

.payment-methods {
  display: grid;
  margin: 20px 0 0;
  padding: 0;
  border: 0;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.payment-methods legend {
  grid-column: 1 / -1;
}

.payment-methods label {
  display: flex;
  min-height: 68px;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}

.payment-methods label:has(input:checked) {
  border-color: var(--green);
  box-shadow: inset 0 0 0 1px var(--green);
}

.payment-methods input {
  accent-color: var(--green);
}

.payment-methods label span {
  display: grid;
}

.payment-methods label b {
  font-size: 10px;
}

.payment-methods label small {
  color: var(--muted);
  font-size: 8px;
}

.payment-methods label i {
  margin-left: auto;
  color: var(--tomato);
  font-family: var(--mono);
  font-size: 12px;
  font-style: normal;
}

.consent-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 9px;
  cursor: pointer;
}

.consent-field input {
  flex: 0 0 auto;
  accent-color: var(--green);
}

.checkout-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.checkout-form__footer > div {
  display: grid;
}

.checkout-form__footer small {
  color: var(--muted);
  font-size: 8px;
}

.checkout-form__footer strong {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 400;
}

.checkout-success {
  display: grid;
  min-height: 500px;
  place-items: center;
  align-content: center;
  text-align: center;
}

.checkout-success__mark {
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  margin-bottom: 25px;
  border-radius: 50%;
  color: var(--paper);
  background: var(--green);
  font-size: 36px;
}

.checkout-success .eyebrow {
  justify-content: center;
}

.checkout-success > p:not(.eyebrow) {
  max-width: 520px;
  margin-block: 20px 28px;
  color: var(--muted);
  font-size: 13px;
}

.privacy-dialog {
  width: min(640px, calc(100% - 32px));
  max-width: none;
}

.privacy-dialog > div {
  position: relative;
  padding: clamp(36px, 6vw, 64px);
  background: var(--paper);
}

.privacy-dialog .icon-button {
  position: absolute;
  top: 18px;
  right: 18px;
}

.privacy-dialog p:not(.eyebrow) {
  margin-block: 24px;
  color: var(--muted);
  font-size: 13px;
}

.toast-region {
  position: fixed;
  z-index: 200;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: min(360px, calc(100% - 44px));
  gap: 8px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 249, 236, 0.17);
  border-radius: 10px;
  color: var(--paper);
  background: var(--green);
  box-shadow: 0 16px 40px rgba(16, 32, 25, 0.28);
  font-size: 10px;
  pointer-events: auto;
  animation: toast-in 220ms ease;
}

.toast::before {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--yellow);
  content: "✓";
  font-weight: 800;
}

.toast.is-leaving {
  animation: toast-out 180ms ease forwards;
}

.noscript-message {
  position: fixed;
  z-index: 999;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 14px;
  color: var(--paper);
  background: var(--tomato-dark);
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes oven-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes pizza-float {
  0%, 100% { transform: translate(-50%, -50%) rotate(7deg); }
  50% { transform: translate(-50%, calc(-50% - 9px)) rotate(9deg); }
}

@keyframes count-bump {
  50% { transform: scale(1.25); }
}

@keyframes drawer-in {
  from { opacity: 0; transform: translateX(100%); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes toast-out {
  to { opacity: 0; transform: translateY(8px); }
}

@media (max-width: 1120px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
    gap: 30px;
  }

  .hero-visual {
    min-height: 540px;
  }

  .order-ticket {
    right: 0;
  }

  .temperature-stamp {
    right: 0;
    width: 110px;
    height: 110px;
  }

  .temperature-stamp strong {
    font-size: 38px;
  }

  .temperature-stamp sup {
    top: 33px;
    right: 10px;
  }

  .promise-card {
    padding: 20px 16px;
  }

  .contact-card {
    grid-template-columns: 1fr 0.8fr;
  }

  .contact-card > .button {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .site-footer__top {
    grid-template-columns: 0.8fr 1.3fr 0.5fr;
  }

  .site-footer__socials {
    grid-column: 3;
  }
}

@media (max-width: 900px) {
  .section {
    padding-block: 88px;
  }

  .header-phone {
    display: none;
  }

  .hero {
    padding-top: 70px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__content {
    position: relative;
    z-index: 2;
  }

  .hero h1 {
    max-width: 700px;
  }

  .hero__lead {
    max-width: 660px;
  }

  .hero-visual {
    min-height: 610px;
  }

  .oven-dial {
    width: min(590px, 76vw);
  }

  .hero-pizza-wrap {
    width: min(470px, 62vw);
  }

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

  .promise-card:nth-child(2) {
    border-right: 0;
  }

  .promise-card:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

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

  .promo-card {
    grid-template-columns: 1fr;
  }

  .promo-card__art {
    min-height: 480px;
    order: -1;
  }

  .promo-card__art img {
    width: min(440px, 68vw);
  }

  .promo-card__sun {
    width: 510px;
    height: 510px;
  }

  .about__grid,
  .delivery__grid,
  .faq__grid {
    grid-template-columns: 1fr;
  }

  .about__visual {
    width: min(580px, 90%);
  }

  .about__image-frame {
    aspect-ratio: 1.1;
  }

  .about__image-frame img {
    object-position: center 55%;
  }

  .about__seal {
    right: -50px;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .process-step {
    display: grid;
    min-height: auto;
    align-items: center;
    padding: 30px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 249, 236, 0.19);
    grid-template-columns: 100px 0.8fr 1.2fr;
    gap: 26px;
  }

  .process-step__icon,
  .process-step h3,
  .process-step p {
    margin: 0;
  }

  .process-step small {
    grid-column: 2 / -1;
  }

  .review-card {
    background: var(--cream);
    grid-template-columns: 0.45fr 1fr;
    gap: 50px;
  }

  .delivery-map {
    min-height: 530px;
  }

  .faq__intro {
    position: static;
  }
}

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

  .service-line__track {
    justify-content: flex-start;
    animation: service-marquee 18s linear infinite;
  }

  .site-header__inner {
    min-height: 68px;
  }

  .brand__mark {
    width: 39px;
    height: 39px;
  }

  .brand__text strong {
    font-size: 15px;
  }

  .cart-button {
    padding-left: 10px;
  }

  .cart-button > span:not(.cart-button__count) {
    display: none;
  }

  .hero {
    padding-top: 54px;
  }

  .hero h1 {
    font-size: clamp(49px, 15vw, 78px);
    line-height: 0.94;
  }

  .hero__title-accent {
    transform: none;
  }

  .hero__lead {
    margin-top: 24px;
    font-size: 15px;
  }

  .hero__proof {
    flex-wrap: wrap;
    margin-top: 38px;
  }

  .hero__proof-divider {
    display: none;
  }

  .hero-visual {
    min-height: 470px;
  }

  .oven-dial {
    width: 95vw;
  }

  .hero-pizza-wrap {
    width: 76vw;
    border-width: 8px;
  }

  .temperature-stamp {
    top: 10px;
    right: -4px;
    width: 94px;
    height: 94px;
  }

  .temperature-stamp strong {
    font-size: 32px;
  }

  .temperature-stamp sup {
    top: 28px;
  }

  .order-ticket {
    right: 0;
    bottom: 10px;
    width: 152px;
    padding: 24px 16px 20px;
  }

  .order-ticket strong {
    font-size: 15px;
  }

  .promise-grid {
    margin-top: 40px;
    grid-template-columns: 1fr;
  }

  .promise-card {
    min-height: 96px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .promise-card:last-child {
    border-bottom: 0;
  }

  .section-heading,
  .reviews__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading h2,
  .about h2,
  .reviews h2,
  .delivery h2,
  .faq h2 {
    font-size: clamp(39px, 12vw, 56px);
  }

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

  .filter-list {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .filter-list::-webkit-scrollbar {
    display: none;
  }

  .filter-button {
    flex: 0 0 auto;
  }

  .pizza-grid {
    grid-template-columns: 1fr;
  }

  .pizza-card__media {
    aspect-ratio: 1.35;
  }

  .promo {
    padding-block: 40px;
  }

  .promo .container {
    width: 100%;
  }

  .promo-card__art {
    min-height: 380px;
  }

  .promo-card__art img {
    width: 78vw;
  }

  .promo-card__sun {
    width: 430px;
    height: 430px;
  }

  .promo-card__scribble {
    right: 20px;
    font-size: 48px;
  }

  .promo-card__note {
    right: 16px;
    bottom: 8px;
    width: 104px;
    height: 104px;
  }

  .promo-card__copy {
    padding: 44px 26px 56px;
  }

  .about__visual {
    width: calc(100% - 28px);
  }

  .about__image-frame {
    aspect-ratio: 0.95;
  }

  .about__seal {
    right: -42px;
    bottom: 28px;
    width: 126px;
    height: 126px;
  }

  .about__seal strong {
    font-size: 26px;
  }

  .about__facts {
    grid-template-columns: 1fr;
  }

  .about__facts article,
  .about__facts article:not(:first-child) {
    padding: 16px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .about__facts article:last-child {
    border-bottom: 0;
  }

  .process-step {
    grid-template-columns: 70px 1fr;
  }

  .process-step__icon {
    width: 62px;
    height: 62px;
  }

  .process-step p,
  .process-step small {
    grid-column: 2;
  }

  .review-card {
    min-height: 500px;
    padding: 34px 26px;
    background: var(--cream);
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .review-card__meta {
    display: grid;
    align-items: center;
    grid-template-columns: auto 1fr;
    column-gap: 15px;
  }

  .review-card__avatar {
    width: 56px;
    height: 56px;
    margin: 0;
    grid-row: span 2;
  }

  .review-card__stars {
    margin-top: 12px;
    grid-column: 1 / -1;
  }

  .review-card blockquote p {
    font-size: clamp(22px, 7vw, 32px);
  }

  .delivery-map {
    min-height: 420px;
  }

  .faq-list summary {
    font-size: 15px;
  }

  .contact .container {
    width: 100%;
  }

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

  .contact-card > .button {
    grid-column: auto;
  }

  .site-footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__manifesto {
    grid-column: 1 / -1;
    order: -1;
  }

  .site-footer__socials {
    grid-column: auto;
  }

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

  .drawer-dialog__header,
  .cart-items,
  .cart-summary {
    padding-right: 20px;
    padding-left: 20px;
  }

  .cart-progress {
    padding-inline: 20px;
  }

  .cart-items {
    max-height: calc(100vh - 450px);
  }

  .checkout-dialog {
    width: 100%;
    max-height: 100%;
    margin: auto 0 0;
  }

  .checkout-dialog__shell {
    max-height: 94vh;
    padding: 34px 20px;
  }

  .form-grid,
  .payment-methods {
    grid-template-columns: 1fr;
  }

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

  .checkout-form__footer .button {
    width: 100%;
  }

  .toast-region {
    right: 16px;
    bottom: 16px;
    width: calc(100% - 32px);
  }
}

@media (max-width: 390px) {
  .site-header__actions {
    gap: 7px;
  }

  .brand__text {
    display: none;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__actions .button--text {
    width: auto;
  }

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

  .cart-item img {
    width: 68px;
    height: 68px;
  }

  .cart-item__aside {
    grid-column: 2;
    align-items: center;
    flex-direction: row;
  }
}

@keyframes service-marquee {
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
