:root {
  --bg: #f6efe5;
  --bg-soft: #efe4d5;
  --surface: #fffdf9;
  --surface-2: #f3e8d9;
  --text: #2a1a10;
  --text-soft: #5c4635;
  --muted: #a8a8a8;
  --accent: #b4551f;
  --accent-strong: #8f3f13;
  --accent-soft: #f3d9c2;
  --line: #e7d9c7;
  --header-bg: rgba(246, 239, 229, 0.88);
  --shadow: 0 22px 50px rgba(88, 52, 28, 0.14);
  --shadow-soft: 0 10px 30px rgba(88, 52, 28, 0.08);
  --radius: 22px;
  --header-h: 76px;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

[data-theme="dark"] {
  --bg: #17110d;
  --bg-soft: #1e1510;
  --surface: #221913;
  --surface-2: #2c2119;
  --text: #f4e9dc;
  --text-soft: #cbb9a6;
  --accent: #d97c43;
  --accent-strong: #e9965f;
  --accent-soft: #3d291c;
  --line: #3a2b20;
  --header-bg: rgba(23, 17, 13, 0.9);
  --shadow: 0 24px 55px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(1100px 620px at 88% -12%, rgba(201, 138, 75, 0.16), transparent 62%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

button {
  cursor: pointer;
}

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

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.02;
}

h2 {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 12px;
}

h3 {
  font-family: var(--font-display);
  font-weight: 600;
}

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

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
  text-decoration: none;
  transform: translateY(-80px);
  transition: transform 0.2s ease;
}

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

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

.muted {
  color: var(--muted);
}

#menu,
#about {
  scroll-margin-top: calc(var(--header-h) + 8px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex: none;
}

.logo__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: var(--text);
  color: var(--bg);
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
}

.logo__text {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.main-nav {
  display: flex;
  gap: 26px;
  margin-left: 18px;
}

.main-nav a {
  position: relative;
  padding: 6px 0;
  color: var(--text-soft);
  font-size: 15px;
  text-decoration: none;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transition: width 0.2s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--text);
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  font-size: 18px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.icon-btn:hover {
  background: var(--surface-2);
  border-color: var(--text-soft);
}

.cart-button {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 8px 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.cart-button:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.cart-count {
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 25px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn--ghost:hover {
  background: var(--surface-2);
  border-color: var(--text-soft);
}

.btn--light {
  background: #fff7ec;
  color: #2a1a10;
}

.btn--light:hover {
  background: #ffffff;
}

.btn--small {
  min-height: 38px;
  padding: 0 16px;
  font-size: 14px;
}

.btn--full {
  width: 100%;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-top: clamp(48px, 7vw, 92px);
  padding-bottom: clamp(48px, 6vw, 84px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(48px, 6vw, 82px);
  letter-spacing: -0.04em;
}

.hero h1 em {
  color: var(--accent);
  font-style: italic;
}

.hero__lead {
  max-width: 490px;
  margin-bottom: 30px;
  font-size: 17px;
}

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

.hero__stats {
  display: flex;
  gap: clamp(24px, 4vw, 48px);
  margin: 40px 0 0;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.hero__stats div {
  margin: 0;
}

.hero__stats dt {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.1;
}

.hero__stats dd {
  margin: 4px 0 0;
  color: var(--text-soft);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__copy {
  min-width: 0;
}

.hero__media {
  position: relative;
  min-width: 0;
}

.hero__media img {
  width: 100%;
  height: auto;
  min-height: 380px;
  border-radius: 34px;
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  box-shadow: var(--shadow);
  object-fit: cover;
}

.hero__note {
  position: absolute;
  left: -18px;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.hero__note-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--accent-soft);
  font-size: 18px;
}

.hero__note strong,
.hero__note span span {
  display: block;
}

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

.hero__note .muted {
  font-size: 12px;
}

.section {
  padding: 72px 0;
}

.section--tight {
  padding-top: 36px;
}

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

.section-head h2 {
  margin-bottom: 0;
}

.section-head__note {
  max-width: 330px;
  margin: 0 0 8px;
  font-size: 14px;
  text-align: right;
}

.filters {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.search {
  position: relative;
  flex: 1 1 240px;
  min-width: 200px;
}

.search__icon {
  position: absolute;
  top: 50%;
  left: 15px;
  width: 19px;
  height: 19px;
  transform: translateY(-50%);
  fill: none;
  stroke: var(--text-soft);
  stroke-width: 1.8;
  stroke-linecap: round;
  pointer-events: none;
}

.search input {
  width: 100%;
  height: 46px;
  padding: 0 16px 0 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
}

.search input::placeholder {
  color: var(--text-soft);
  opacity: 0.75;
}

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

.chip {
  height: 38px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.chip:hover {
  border-color: var(--text-soft);
  color: var(--text);
}

.chip.is-active {
  border-color: var(--text);
  background: var(--text);
  color: var(--bg);
}

.sort {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: none;
  color: var(--text-soft);
  font-size: 13px;
}

.sort select {
  height: 40px;
  padding: 0 32px 0 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(254px, 1fr));
  gap: 22px;
}

.menu-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.menu-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-2);
}

.menu-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.menu-card:hover .menu-card__media img {
  transform: scale(1.03);
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(42, 26, 16, 0.82);
  color: #fff7ec;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.menu-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 20px 20px;
}

.menu-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.menu-card__meta span:last-child {
  color: var(--text-soft);
  font-weight: 500;
}

.menu-card h3 {
  margin: 0 0 7px;
  font-size: 23px;
  line-height: 1.15;
}

.menu-card__description {
  flex: 1;
  margin-bottom: 18px;
  font-size: 13px;
  line-height: 1.5;
}

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

.price {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  white-space: nowrap;
}

.menu-empty {
  padding: 52px 0;
  color: var(--text-soft);
  text-align: center;
}

.section--about {
  background: #24160e;
  color: #f6efe5;
}

.section--about .eyebrow {
  color: #e3a26a;
}

.section--about h2 {
  color: #fff8ef;
}

.section--about .section-head__note {
  color: rgba(246, 239, 229, 0.66);
}

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

.about-card {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.about-card__num {
  display: block;
  margin-bottom: 26px;
  color: #c98a4b;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.1em;
}

.about-card h3 {
  margin: 0 0 10px;
  color: #fff8ef;
  font-size: 25px;
}

.about-card p {
  margin: 0;
  color: rgba(246, 239, 229, 0.68);
  font-size: 14px;
}

.cta {
  padding: 24px 0 88px;
}

.cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 46px 52px;
  border-radius: 30px;
  background:
    radial-gradient(600px 280px at 92% 10%, rgba(255, 228, 198, 0.28), transparent 60%),
    linear-gradient(120deg, #b4551f, #8f3f13);
  color: #fff;
  box-shadow: var(--shadow);
}

.cta h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(30px, 3.4vw, 42px);
}

.cta p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.cta strong {
  color: #fff;
  white-space: nowrap;
}

.eyebrow--light {
  color: #ffd8b8;
}

.site-footer {
  padding: 56px 0 28px;
  background: #1d120b;
  color: #f3e8da;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 40px;
}

.footer-brand p {
  max-width: 340px;
  margin: 18px 0 0;
  color: rgba(243, 232, 218, 0.64);
  font-size: 14px;
}

.logo--footer .logo__mark {
  background: #f6efe5;
  color: #2a1a10;
}

.footer-col h3 {
  margin: 4px 0 16px;
  color: #c9976c;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-col a,
.footer-col p {
  display: block;
  margin: 0 0 10px;
  color: rgba(243, 232, 218, 0.78);
  font-size: 14px;
  text-decoration: none;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(243, 232, 218, 0.5);
  font-size: 12px;
}

.page-hero {
  padding-top: 64px;
  padding-bottom: 16px;
}

.page-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(44px, 6vw, 70px);
}

.page-hero__lead {
  max-width: 620px;
  margin: 0;
  font-size: 17px;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.8fr);
  gap: 24px;
  align-items: start;
}

.order-form {
  padding: 32px;
}

.order-form h2 {
  margin-bottom: 4px;
  font-size: 30px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 24px 0 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.field label {
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface-2);
  color: var(--text);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-soft);
  opacity: 0.7;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  background: var(--surface);
  outline: none;
}

.field textarea {
  resize: vertical;
  min-height: 104px;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 2px 0 18px;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.45;
}

.checkbox input {
  width: 17px;
  height: 17px;
  margin-top: 1px;
  accent-color: var(--accent);
  flex: none;
}

.form-error {
  margin: 0 0 16px;
  padding: 11px 14px;
  border-radius: 11px;
  background: #fbe5df;
  color: #8a2a1c;
  font-size: 13px;
}

.form-note {
  margin: 12px 0 0;
  font-size: 12px;
  text-align: center;
}

.order-summary {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  padding: 28px;
}

.order-summary__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.order-summary h2 {
  margin: 0;
  font-size: 28px;
}

.link-arrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.link-arrow:hover {
  text-decoration: underline;
}

.order-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 300px;
  margin: 22px 0;
  overflow-y: auto;
}

.order-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}

.order-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.order-item__qty {
  min-width: 24px;
  color: var(--accent);
  font-weight: 700;
}

.order-item__name {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.order-item__name .muted {
  font-size: 12px;
}

.order-item__sum {
  font-weight: 600;
  white-space: nowrap;
}

.summary-lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-soft);
}

.summary-line--total {
  margin-top: 2px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
}

.summary-note {
  margin: 18px 0 0;
  font-size: 11px;
  line-height: 1.5;
}

.empty-state {
  max-width: 560px;
  margin: 0 auto;
  padding: 56px 40px;
  text-align: center;
}

.empty-state__icon {
  display: block;
  margin-bottom: 12px;
  font-size: 38px;
}

.empty-state h2 {
  margin-bottom: 8px;
  font-size: 32px;
}

.empty-state p {
  margin-bottom: 24px;
}

.success-card {
  max-width: 640px;
  margin: 0 auto;
  padding: 48px;
  text-align: center;
}

.success-card__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #e8f0dd;
  color: #4d6b34;
  font-size: 27px;
}

.success-title {
  margin: 0 0 12px;
  font-size: clamp(34px, 4.5vw, 48px);
}

.success-card__number {
  color: var(--text-soft);
  font-size: 14px;
}

.success-card__number strong {
  color: var(--text);
  letter-spacing: 0.04em;
}

.success-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 28px 0;
  text-align: left;
}

.success-meta div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 16px;
  border-radius: 15px;
  background: var(--surface-2);
}

.success-meta span {
  color: var(--text-soft);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.success-meta strong {
  font-size: 17px;
}

.success-card .btn {
  margin-top: 8px;
}

.reviews-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.reviews-aside {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.rating-card {
  padding: 28px;
  text-align: center;
}

.rating-card__value {
  display: block;
  font-family: var(--font-display);
  font-size: 66px;
  font-weight: 600;
  line-height: 1;
}

.stars {
  margin-top: 6px;
  color: #c9862f;
  font-size: 21px;
  letter-spacing: 0.14em;
}

.rating-card__count {
  margin: 8px 0 3px;
  font-size: 15px;
  font-weight: 600;
}

.rating-card__note {
  margin: 0;
  color: var(--text-soft);
  font-size: 11px;
}

.review-form {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 24px;
}

.review-form h2 {
  margin: 0 0 4px;
  font-size: 25px;
}

.reviews-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.reviews-toolbar h2 {
  margin: 0;
  font-size: 32px;
}

.sort--inline {
  flex: none;
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.review-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 13px;
}

.review-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  flex: none;
}

.review-author {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

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

.review-author time {
  color: var(--text-soft);
  font-size: 11px;
}

.stars--small {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.review-text {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  justify-content: flex-end;
  background: rgba(26, 15, 8, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.cart-drawer {
  display: flex;
  flex-direction: column;
  width: min(440px, 100%);
  height: 100%;
  background: var(--surface);
  box-shadow: -30px 0 60px rgba(0, 0, 0, 0.25);
  animation: drawer-in 0.25s ease both;
}

@keyframes drawer-in {
  from {
    opacity: 0.6;
    transform: translateX(28px);
  }
}

.cart-drawer__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 24px 18px;
  border-bottom: 1px solid var(--line);
}

.cart-drawer__head h2 {
  margin: 0;
  font-size: 30px;
}

.cart-drawer__head .eyebrow {
  margin-bottom: 6px;
}

.cart-drawer__body {
  flex: 1;
  padding: 8px 24px;
  overflow-y: auto;
}

.cart-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item:last-child {
  border-bottom: 0;
}

.cart-item__image {
  width: 64px;
  height: 64px;
  border-radius: 13px;
  background: var(--surface-2);
  object-fit: cover;
  flex: none;
}

.cart-item__body {
  flex: 1;
  min-width: 0;
}

.cart-item__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.cart-item__top h3 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.cart-item__sum {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.cart-item__meta {
  margin: 2px 0 10px;
  color: var(--text-soft);
  font-size: 11px;
}

.qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty__btn {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface-2);
  color: var(--text);
  font-size: 15px;
  line-height: 1;
}

.qty__btn:hover {
  border-color: var(--text-soft);
}

.qty__value {
  min-width: 18px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.cart-item__remove {
  margin-left: auto;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text-soft);
  font-size: 11px;
  text-decoration: underline;
}

.cart-item__remove:hover {
  color: var(--accent);
}

.cart-empty {
  padding: 48px 10px;
  text-align: center;
}

.cart-empty__icon {
  display: block;
  margin-bottom: 10px;
  font-size: 38px;
}

.cart-empty h3 {
  margin: 0 0 6px;
  font-size: 26px;
}

.cart-empty p {
  margin-bottom: 20px;
  font-size: 13px;
}

.cart-drawer__foot {
  padding: 18px 24px 24px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.promo {
  display: flex;
  gap: 8px;
}

.promo input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-2);
  color: var(--text);
  font-size: 13px;
}

.promo input:focus {
  border-color: var(--accent);
  outline: none;
}

.promo .btn {
  flex: none;
  min-height: 40px;
}

.promo-hint {
  margin: 8px 0 16px;
  font-size: 11px;
}

.cart-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
  color: var(--text-soft);
  font-size: 13px;
}

.cart-line--total {
  margin-top: 10px;
  margin-bottom: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
}

.mini-cart {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(680px, calc(100% - 32px));
  padding: 12px 18px;
  border: 0;
  border-radius: 17px;
  background: #2a1a10;
  color: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  text-align: left;
  transform: translateX(-50%);
  transition: background 0.2s ease;
}

.mini-cart:hover {
  background: #372216;
}

.mini-cart__count {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 12px;
  white-space: nowrap;
}

.mini-cart__total {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.mini-cart__action {
  margin-left: auto;
  color: #e8b98f;
  font-size: 12px;
  white-space: nowrap;
}

.toast {
  position: fixed;
  top: calc(var(--header-h) + 16px);
  left: 50%;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 12px;
  background: #2a1a10;
  color: #fff;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 1020px) {
  .hero {
    gap: 40px;
  }

  .filters {
    flex-wrap: wrap;
  }

  .search {
    flex-basis: 100%;
  }

  .sort {
    margin-left: auto;
  }

  .order-layout {
    grid-template-columns: minmax(0, 1fr) 330px;
  }

  .reviews-layout {
    grid-template-columns: 300px minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 68px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 44px;
  }

  .hero__copy {
    max-width: 640px;
  }

  .hero__media {
    max-width: 660px;
  }

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

  .about-card {
    display: grid;
    grid-template-columns: 60px 1fr;
    column-gap: 18px;
    align-items: start;
  }

  .about-card__num {
    grid-row: span 2;
    margin: 2px 0 0;
  }

  .about-card h3,
  .about-card p {
    grid-column: 2;
  }

  .order-layout {
    grid-template-columns: 1fr;
  }

  .order-summary {
    position: static;
  }

  .reviews-layout {
    grid-template-columns: 1fr;
  }

  .reviews-aside {
    position: static;
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1.2fr;
    gap: 28px;
  }
}

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

  .header-inner {
    gap: 16px;
  }

  .section {
    padding: 54px 0;
  }

  .section--tight {
    padding-top: 24px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .section-head__note {
    max-width: none;
    margin: 0;
    text-align: left;
  }

  .hero h1 {
    font-size: clamp(43px, 10vw, 64px);
  }

  .hero__stats {
    gap: 26px;
  }

  .hero__stats dt {
    font-size: 25px;
  }

  .hero__note {
    left: 12px;
    bottom: 12px;
  }

  .filters {
    align-items: stretch;
  }

  .chips {
    width: 100%;
  }

  .sort {
    margin-left: 0;
  }

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

  .field--wide {
    grid-column: auto;
  }

  .cta__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 34px;
  }

  .reviews-aside {
    grid-template-columns: 1fr;
  }

  .reviews-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

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

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

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

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

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

  .cart-button__label {
    display: none;
  }

  .logo__text {
    font-size: 18px;
  }

  .hero__actions .btn {
    flex: 1 1 100%;
  }

  .hero__note {
    position: static;
    margin-top: 14px;
  }

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

  .order-form {
    padding: 22px;
  }

  .order-summary {
    padding: 22px;
  }

  .success-meta {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 4px;
  }

  .mini-cart {
    gap: 10px;
    padding: 11px 14px;
  }

  .mini-cart__action {
    font-size: 0;
  }

  .mini-cart__action::after {
    content: "→";
    font-size: 15px;
  }

  .review-card {
    padding: 18px;
  }

  .review-card__head {
    flex-wrap: wrap;
  }

  .stars--small {
    width: 100%;
    padding-left: 54px;
  }
}
