:root {
  color-scheme: light;
  --ink: #111111;
  --ink-soft: #3b3733;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --line: #ded9d0;
  --line-strong: #1d1d1d;
  --red: #c62226;
  --red-dark: #8f181c;
  --gold: #c5963b;
  --green: #1f6f53;
  --shadow: 0 18px 60px rgba(17, 17, 17, 0.14);
  --radius: 8px;
  --max: 1180px;
  --motion-fast: 90ms;
  --motion-enter: 180ms;
  --motion-snap: cubic-bezier(0.2, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 17, 17, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 44px 44px;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
  letter-spacing: 0;
}

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

img,
svg {
  display: block;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

:where(a[href], button, summary, input, textarea, select) {
  transition-property: background-color, border-color, box-shadow, color, filter, opacity, transform;
  transition-duration: var(--motion-fast);
  transition-timing-function: var(--motion-snap);
}

:where(a[href], button, summary) {
  -webkit-tap-highlight-color: rgba(198, 34, 38, 0.14);
}

[hidden] {
  display: none !important;
}

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

:where(a[href], button, summary):not(.skip-link):not(:disabled):hover {
  transform: translateY(-1px);
}

:where(a[href], button, summary):not(.skip-link):not(:disabled):active {
  filter: brightness(0.98);
  transform: translateY(0);
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--ink);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
}

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

.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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  min-height: 74px;
  padding: 0.75rem max(1rem, calc((100vw - var(--max)) / 2));
  background: rgba(251, 250, 247, 0.9);
  border-bottom: 1px solid rgba(17, 17, 17, 0.1);
  backdrop-filter: blur(18px);
}

.site-header[data-elevated="true"] {
  box-shadow: 0 10px 32px rgba(17, 17, 17, 0.12);
}

.brand-mark {
  display: inline-grid;
  grid-template-columns: 42px auto;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  min-height: 48px;
}

.brand-stamp {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--red);
  color: white;
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
}

.brand-mark strong {
  display: block;
  font-size: 1.1rem;
  line-height: 1;
  text-transform: uppercase;
}

.brand-mark small {
  display: block;
  margin-top: 0.25rem;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.top-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  min-width: 0;
  max-width: 100%;
  padding: 0.25rem;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  border-radius: 999px;
  scrollbar-width: none;
}

.top-nav::-webkit-scrollbar {
  display: none;
}

.top-nav a {
  display: grid;
  place-items: center;
  min-height: 40px;
  padding: 0 0.9rem;
  border-radius: 999px;
  color: var(--ink-soft);
  font-weight: 800;
  text-decoration: none;
}

.top-nav a:hover {
  background: var(--ink);
  color: white;
}

.header-actions,
.visit-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.language-picker {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  position: relative;
  color: var(--ink);
}

.language-picker-icon {
  position: absolute;
  left: 0.8rem;
  z-index: 1;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.language-picker select {
  min-height: 44px;
  width: 9.8rem;
  max-width: 28vw;
  padding: 0 2rem 0 2.45rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, currentColor 50%) right 0.85rem center / 0.45rem 0.45rem no-repeat,
    linear-gradient(135deg, currentColor 50%, transparent 50%) right 0.55rem center / 0.45rem 0.45rem no-repeat,
    white;
  color: var(--ink);
  font-weight: 900;
}

.icon-button,
.action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0 0.95rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: white;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.icon-button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.icon-button.primary,
.action-button.primary {
  background: var(--ink);
  color: white;
}

.action-button.light {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.92);
}

:where(.icon-button, .action-button, .sheet-open, .dialog-close, .sheet-tabs button, .language-picker select):not(:disabled):hover {
  border-color: var(--ink);
  box-shadow: 0 7px 18px rgba(17, 17, 17, 0.14);
}

:where(.icon-button.primary, .action-button.primary, .sheet-open, .dialog-close):not(:disabled):hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: white;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 58svh;
  max-height: 720px;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.86), rgba(17, 17, 17, 0.44) 52%, rgba(17, 17, 17, 0.06)),
    linear-gradient(180deg, rgba(17, 17, 17, 0.08), rgba(17, 17, 17, 0.58));
}

.hero-content {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 6rem 0 3.25rem;
  color: white;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffdd9e;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.6rem;
  line-height: 0.95;
  font-weight: 900;
  text-wrap: balance;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.hero-facts span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.48);
  color: #fff8ea;
  font-weight: 800;
}

.hero-facts strong {
  margin-left: 0.22rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.section {
  padding: 4rem max(1rem, calc((100vw - var(--max)) / 2));
}

main section[id] {
  scroll-margin-top: 150px;
}

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

.section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
  line-height: 1;
}

.price-section {
  padding-top: 3rem;
  background: var(--paper);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.price-card {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 1rem;
  min-height: 248px;
  padding: 1.15rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(17, 17, 17, 0.06);
  overflow: hidden;
}

.price-card.featured {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.price-card.featured::after {
  content: "";
  position: absolute;
  inset: auto -15% -40% auto;
  z-index: 0;
  width: 180px;
  height: 180px;
  border: 26px solid rgba(197, 150, 59, 0.38);
  border-radius: 50%;
  pointer-events: none;
}

.price-card.featured > * {
  position: relative;
  z-index: 1;
}

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

.price-card h3 {
  font-size: 1.12rem;
  line-height: 1.15;
}

.price-card .service-time {
  color: var(--ink-soft);
  font-weight: 800;
}

.price-card.featured .service-time {
  color: #f6d691;
}

.price-lines {
  display: grid;
  gap: 0.65rem;
  align-content: start;
}

.price-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(17, 17, 17, 0.12);
}

.featured .price-line {
  border-top-color: rgba(255, 255, 255, 0.22);
}

.price-label {
  color: inherit;
  font-weight: 850;
}

.price-value {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1;
  font-weight: 900;
}

.price-footnote {
  align-self: end;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 750;
}

.featured .price-footnote {
  color: rgba(255, 255, 255, 0.72);
}

.menu-section {
  background: white;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.menu-heading {
  align-items: center;
}

.search-box {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 0.65rem;
  width: min(100%, 360px);
  min-height: 50px;
  padding: 0 0.9rem;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  transition: border-color var(--motion-fast) var(--motion-snap), box-shadow var(--motion-fast) var(--motion-snap), background-color var(--motion-fast) var(--motion-snap);
}

.search-box:hover,
.search-box:focus-within {
  border-color: var(--red-dark);
  box-shadow: 0 0 0 3px rgba(198, 34, 38, 0.12);
}

.search-box svg {
  width: 20px;
  height: 20px;
  fill: var(--ink);
}

.search-box input {
  width: 100%;
  min-height: 44px;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  outline: 0;
}

.filter-bar {
  position: sticky;
  top: 74px;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  max-width: 100%;
  gap: 0.75rem;
  padding: 0.85rem 0;
  background: rgba(255, 255, 255, 0.94);
  border-block: 1px solid rgba(17, 17, 17, 0.1);
  backdrop-filter: blur(16px);
}

.filter-controls {
  display: flex;
  flex-wrap: wrap;
  min-width: 0;
  gap: 0.75rem;
}

.segmented-control {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.25rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.segmented-control button {
  min-width: 52px;
  min-height: 42px;
  padding: 0 0.9rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font-weight: 900;
}

.segmented-control button[aria-pressed="true"] {
  background: var(--ink);
  color: white;
}

.segmented-control button:not([aria-pressed="true"]):not(:disabled):hover {
  background: rgba(17, 17, 17, 0.08);
  color: var(--ink);
}

.cart-summary {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: end;
  column-gap: 0.65rem;
  row-gap: 0.05rem;
  width: fit-content;
  min-width: 0;
  min-height: 48px;
  margin-left: auto;
  padding: 0.45rem 0.7rem;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  color: white;
  text-align: right;
  text-decoration: none;
}

.cart-summary[data-empty="true"] {
  background: var(--paper);
  color: var(--ink);
}

.cart-summary svg {
  grid-row: 1;
  align-self: center;
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.cart-summary[data-has-total="true"] svg {
  grid-row: 1 / 3;
}

.cart-summary strong {
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.cart-summary[data-empty="false"] strong::after {
  content: "\2192";
  display: inline-block;
  margin-left: 0.45rem;
}

.cart-summary small {
  grid-column: 2;
  color: #f6d691;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.cart-summary[data-empty="true"] small {
  color: var(--ink-soft);
}

.empty-cart-error {
  animation: empty-cart-error-flash 520ms var(--motion-snap);
}

.cart-summary--added {
  animation: cart-summary-added-flash 520ms var(--motion-snap);
}

@keyframes empty-cart-error-flash {
  0%,
  100% {
    border-color: currentColor;
    box-shadow: none;
  }

  35% {
    background: #fff4f1;
    border-color: var(--red);
    color: var(--red-dark);
    box-shadow: 0 0 0 4px rgba(198, 34, 38, 0.18);
  }
}

@keyframes cart-summary-added-flash {
  0%,
  100% {
    box-shadow: none;
    transform: none;
  }

  36% {
    border-color: #f6d691;
    box-shadow: 0 0 0 5px rgba(246, 214, 145, 0.24);
    transform: translateY(-1px);
  }
}

.menu-result-count {
  min-height: 24px;
  margin: 1.15rem 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 850;
}

.menu-list {
  display: grid;
  gap: 2.5rem;
}

.menu-group {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding-top: 1rem;
  border-top: 2px solid var(--ink);
}

.menu-group-header {
  position: sticky;
  top: 150px;
}

.menu-group-header h3 {
  margin: 0 0 0.4rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
}

.menu-group-header p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 750;
}

.item-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.menu-item {
  display: grid;
  gap: 0.65rem;
  align-content: start;
  padding: 0.75rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  animation: menu-item-enter var(--motion-enter) var(--motion-snap) backwards;
  animation-delay: calc(var(--item-index, 0) * 12ms);
}

@keyframes menu-item-enter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.item-copy {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
}

.item-code {
  display: grid;
  place-items: center;
  min-height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-weight: 950;
}

.item-main {
  min-width: 0;
}

.item-name {
  margin: 0;
  font-weight: 900;
  line-height: 1.15;
}

.item-unit {
  margin-top: 0.25rem;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 750;
}

.item-tags {
  display: flex;
  gap: 0.25rem;
  flex-wrap: nowrap;
  justify-content: end;
}

.item-media {
  position: relative;
  margin-bottom: 22px;
}

.item-image {
  width: 100%;
  height: clamp(132px, 15vw, 180px);
  object-fit: cover;
  border-radius: calc(var(--radius) - 2px);
  background: white;
}

.item-actions {
  position: absolute;
  right: 12px;
  bottom: -22px;
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 0.35rem;
  min-height: 44px;
}

.item-order-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-weight: 950;
  box-shadow: 0 8px 18px rgba(17, 17, 17, 0.18);
}

.item-order-button svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.item-order-button--add {
  border-color: var(--line);
}

.item-order-button:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.item-order-button--add:hover {
  border-color: var(--line);
}

.item-order-button:active {
  transform: scale(0.9);
}

.item-order-button--remove {
  background: white;
  color: var(--ink);
}

.menu-item[data-in-cart="false"] .item-order-button--remove,
.menu-item[data-in-cart="false"] .item-quantity-badge {
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
}

.item-quantity-badge {
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--red);
  color: white;
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1;
  text-align: center;
  box-shadow: 0 5px 14px rgba(198, 34, 38, 0.24);
  transition: opacity var(--motion-fast) var(--motion-snap), transform var(--motion-fast) var(--motion-snap);
}

.menu-item[data-in-cart="true"] {
  border-color: rgba(198, 34, 38, 0.45);
  box-shadow: 0 0 0 3px rgba(198, 34, 38, 0.08);
}

.menu-item.cart-updated {
  animation: cart-card-flash 260ms var(--motion-snap);
}

@keyframes cart-card-flash {
  0% {
    border-color: rgba(198, 34, 38, 0.45);
  }

  45% {
    border-color: rgba(198, 34, 38, 0.72);
    box-shadow: 0 0 0 5px rgba(198, 34, 38, 0.12);
  }

  100% {
    border-color: rgba(198, 34, 38, 0.45);
  }
}

.tag {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 28px;
  padding: 0 0.45rem;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 950;
  white-space: nowrap;
}

.tag.a {
  background: var(--red);
  border-color: var(--red);
  color: white;
}

.tag.b {
  background: #d8aa3d;
  border-color: #d8aa3d;
  color: var(--ink);
}

.tag.c {
  background: #d8d8d8;
  border-color: #b8b8b8;
  color: var(--ink);
}

.empty-state {
  padding: 2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-weight: 850;
}

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

.checkout-page {
  min-height: calc(100vh - 74px);
  padding: 2rem var(--page-pad) 3rem;
  background: var(--paper);
}

.checkout-page-shell {
  display: grid;
  gap: 1rem;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.checkout-page-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 1.25rem;
  border-bottom: 2px solid var(--ink);
}

.checkout-page-header h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 2.6vw, 2.7rem);
  line-height: 1.05;
}

.order-more-button {
  width: 10.5rem;
  min-height: 46px;
  padding-inline: 1.1rem;
  white-space: nowrap;
  transition: width 180ms var(--motion-snap), inset 180ms var(--motion-snap), box-shadow 180ms var(--motion-snap), border-radius 180ms var(--motion-snap), transform 180ms var(--motion-snap);
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 1rem;
  align-items: start;
}

.checkout-panel {
  display: grid;
  gap: 1rem;
  padding: 1.15rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.checkout-panel h3 {
  margin: 0;
  font-size: 1.2rem;
}

.checkout-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.checkout-panel-actions,
.checkout-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.checkout-panel-actions span {
  color: var(--ink-soft);
  font-weight: 900;
}

.order-list {
  display: grid;
  gap: 0.65rem;
}

.order-empty {
  display: grid;
  place-items: center;
  gap: 0.55rem;
  min-height: 86px;
  padding: 1rem;
  background: var(--paper);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-weight: 900;
}

.order-empty a {
  min-height: 38px;
  padding: 0.55rem 0.9rem;
  background: var(--ink);
  border-radius: var(--radius);
  color: white;
  font-weight: 950;
  text-decoration: none;
}

.order-empty a:hover {
  background: var(--red-dark);
}

.order-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  padding: 0.65rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  animation: order-line-enter 180ms var(--motion-snap) both;
  transition: border-color var(--motion-fast) var(--motion-snap), box-shadow var(--motion-fast) var(--motion-snap), opacity var(--motion-fast) var(--motion-snap), transform var(--motion-fast) var(--motion-snap);
}

@keyframes order-line-enter {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.99);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.order-line-main {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  min-width: 0;
}

.order-line-main strong,
.order-line-main small {
  display: block;
}

.order-line-main strong {
  line-height: 1.15;
}

.order-line-main small {
  margin-top: 0.2rem;
  color: var(--ink-soft);
  font-weight: 800;
}

.order-line-actions {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 0.6rem;
  min-width: 0;
}

.quantity-control {
  box-sizing: content-box;
  display: inline-grid;
  flex: 0 0 auto;
  grid-template-columns: 40px 34px 40px;
  align-items: center;
  width: 114px;
  height: 40px;
  background: white;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
}

.quantity-control button {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  appearance: none;
  background: transparent;
  color: var(--ink);
  font-weight: 950;
  line-height: 1;
}

.quantity-control button:hover {
  background: var(--ink);
  color: white;
}

.quantity-control span {
  display: grid;
  place-items: center;
  height: 100%;
  text-align: center;
  font-weight: 950;
}

.order-remove-button {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--red-dark);
}

.order-remove-button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.order-remove-button:hover {
  background: rgba(198, 34, 38, 0.1);
  border-color: rgba(198, 34, 38, 0.25);
}

.text-button {
  min-height: 40px;
  padding: 0 0.55rem;
  border: 0;
  background: transparent;
  color: var(--red-dark);
  font-weight: 950;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.field em {
  color: var(--ink-soft);
  font-style: italic;
  font-weight: 750;
}

.phone-input-row {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.5rem;
}

.country-combobox {
  position: relative;
}

.country-combobox-button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 48px;
  min-width: 96px;
  padding: 0 0.65rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: white;
  color: var(--ink);
  font-weight: 950;
}

.country-combobox-button:hover,
.country-combobox-button[aria-expanded="true"] {
  border-color: var(--red-dark);
  box-shadow: 0 0 0 3px rgba(198, 34, 38, 0.12);
}

.country-combobox-popover {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  z-index: 50;
  display: grid;
  gap: 0.45rem;
  width: min(320px, calc(100vw - 2rem));
  padding: 0.5rem;
  background: white;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(17, 17, 17, 0.18);
}

.country-combobox-popover input {
  min-height: 42px;
}

.country-code-options {
  display: grid;
  gap: 0.2rem;
  max-height: 260px;
  overflow: auto;
}

.country-code-option {
  display: grid;
  grid-template-columns: 30px 56px minmax(0, 1fr);
  align-items: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0 0.45rem;
  border: 0;
  border-radius: calc(var(--radius) - 2px);
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.country-code-option small {
  overflow: hidden;
  color: var(--ink-soft);
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.country-code-option:hover,
.country-code-option[aria-selected="true"] {
  background: rgba(198, 34, 38, 0.1);
}

.menu-combobox {
  position: relative;
}

.menu-combobox-shell {
  position: relative;
}

.menu-combobox-options {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  right: 0;
  z-index: 45;
  display: grid;
  gap: 0.25rem;
  max-height: 320px;
  overflow: auto;
  padding: 0.5rem;
  background: white;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(17, 17, 17, 0.16);
}

.menu-combobox-option {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 0.6rem;
  align-items: center;
  min-height: 48px;
  padding: 0.45rem;
  border: 0;
  border-radius: calc(var(--radius) - 2px);
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.menu-combobox-option strong,
.menu-combobox-option small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menu-combobox-option small {
  margin-top: 0.15rem;
  color: var(--ink-soft);
  font-weight: 800;
}

.menu-combobox-option:hover,
.menu-combobox-option[aria-selected="true"] {
  background: rgba(198, 34, 38, 0.1);
}

.checkbox-field {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
  padding: 0.75rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-weight: 850;
}

.checkbox-field input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--red-dark);
}

.sheet-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.sheet-controls > * {
  min-width: 0;
}

.control-label {
  margin: 0 0 0.45rem;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.sheet-tabs {
  display: flex;
  gap: 0.5rem;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  padding-bottom: 0.65rem;
  scrollbar-width: thin;
}

.sheet-tabs button {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: white;
  color: var(--ink);
  font-weight: 900;
}

.sheet-tabs button[aria-selected="true"] {
  background: var(--red);
  border-color: var(--red);
  color: white;
}

.sheet-tabs button:not([aria-selected="true"]):not(:disabled):hover {
  background: var(--paper);
  border-color: var(--red-dark);
}

.sheet-viewer {
  margin: 1rem 0 0;
  max-width: 100%;
  overflow: hidden;
}

.sheet-scroll {
  position: relative;
  width: 100%;
  contain: inline-size layout;
  max-height: 860px;
  overflow: auto;
  background: white;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.sheet-scroll img {
  width: 100%;
  min-width: 760px;
  height: auto;
}

.sheet-open {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  margin-top: 0.75rem;
  padding: 0 0.85rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: white;
  border-radius: var(--radius);
  font-weight: 900;
}

.sheet-open svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.sheet-viewer figcaption {
  margin-top: 0.75rem;
  color: var(--ink-soft);
  font-weight: 800;
}

.answers-section {
  background: white;
  border-top: 1px solid var(--line);
}

.answers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.answer-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.answer-card summary {
  min-height: 58px;
  padding: 1rem 1.1rem;
  font-weight: 950;
  cursor: pointer;
}

.answer-card summary:hover {
  background: rgba(198, 34, 38, 0.07);
  color: var(--red-dark);
}

.answer-card p {
  margin: 0;
  padding: 0 1.1rem 1.1rem;
  color: var(--ink-soft);
  font-weight: 750;
}

.visit-section {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.visit-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.visit-details,
.note-stack {
  padding: 1.15rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.visit-details p {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 850;
}

.visit-details a[data-phone-link] {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.note-stack {
  display: grid;
  gap: 0.75rem;
}

.note {
  display: grid;
  grid-template-columns: 8px 1fr;
  gap: 0.85rem;
  align-items: start;
  margin: 0;
  color: var(--ink-soft);
  font-weight: 850;
}

.note::before {
  content: "";
  width: 8px;
  height: 100%;
  min-height: 30px;
  background: var(--red);
}

.contact-section {
  background: white;
  border-top: 1px solid var(--line);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 1rem;
  align-items: start;
}

.contact-form,
.contact-card {
  padding: 1.15rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-form {
  display: grid;
  gap: 0.9rem;
}

.field {
  display: grid;
  gap: 0.35rem;
  font-weight: 900;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: white;
  color: var(--ink);
  font: inherit;
  font-weight: 750;
  transition: border-color var(--motion-fast) var(--motion-snap), box-shadow var(--motion-fast) var(--motion-snap), background-color var(--motion-fast) var(--motion-snap);
}

.field input:hover,
.field input:focus,
.field textarea:hover,
.field textarea:focus {
  border-color: var(--red-dark);
  box-shadow: 0 0 0 3px rgba(198, 34, 38, 0.12);
}

.field input {
  min-height: 48px;
  padding: 0 0.8rem;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
  padding: 0.75rem 0.8rem;
}

.honeypot {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-status {
  min-height: 1.4rem;
  margin: 0;
  color: var(--ink-soft);
  font-weight: 850;
}

.contact-status[data-status="success"] {
  color: var(--green);
}

.contact-status[data-status="error"] {
  color: var(--red-dark);
}

.contact-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.3rem;
}

.contact-card p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-weight: 850;
}

.contact-card a[data-phone-link] {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 950;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem max(1rem, calc((100vw - var(--max)) / 2));
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 800;
}

.image-dialog {
  width: min(96vw, 1260px);
  max-width: 1260px;
  height: min(92svh, 980px);
  max-height: 980px;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
  overflow: auto;
}

.image-dialog::backdrop {
  background: rgba(17, 17, 17, 0.72);
}

.image-dialog img {
  width: 100%;
  min-width: 860px;
  height: auto;
}

.dialog-close {
  position: sticky;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1;
  min-height: 44px;
  margin: 0.75rem;
  padding: 0 1rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: white;
  font-weight: 950;
}

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

  :where(a[href], button, summary, input, textarea, select),
  .search-box,
  .field input,
  .field textarea {
    transition-duration: 1ms;
  }

  .menu-item {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .language-picker select {
    width: 8.5rem;
  }

  .top-nav {
    grid-column: 1 / -1;
    justify-self: stretch;
    overflow-x: auto;
    border-radius: var(--radius);
  }

  .top-nav a {
    flex: 1 0 auto;
  }

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

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

  .menu-group-header {
    position: static;
  }

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

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

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

@media (max-width: 700px) {
  .site-header {
    min-height: 64px;
    gap: 0.65rem;
  }

  .brand-mark {
    grid-template-columns: 38px auto;
  }

  .brand-stamp {
    width: 38px;
    height: 38px;
  }

  .header-actions .icon-button {
    width: 44px;
    padding: 0;
  }

  .language-picker select {
    width: 7.1rem;
    padding-right: 1.6rem;
    padding-left: 2.1rem;
  }

  .language-picker-icon {
    left: 0.65rem;
    width: 17px;
    height: 17px;
  }

  .header-actions .icon-button span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .hero {
    min-height: 55svh;
  }

  .hero-content {
    padding-bottom: 2rem;
  }

  .hero h1 {
    font-size: 3rem;
    line-height: 1.08;
  }

  .section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .section-heading,
  .menu-heading {
    display: grid;
    gap: 1rem;
  }

  .section-heading h2 {
    font-size: 2rem;
  }

  .search-box {
    width: 100%;
  }

  .filter-bar {
    top: 128px;
    width: 100%;
    max-width: 100%;
    padding: 0.85rem 0;
    overflow-x: visible;
  }

  .filter-controls {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.1rem;
    scrollbar-width: none;
  }

  .segmented-control {
    flex: 0 0 auto;
  }

  .cart-summary {
    width: fit-content;
    margin-left: 0;
    justify-content: start;
    text-align: left;
  }

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

  .sheet-controls,
  .answers-grid,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .sheet-tabs {
    flex-wrap: wrap;
    overflow-x: visible;
    padding-bottom: 0;
  }

  .menu-item {
    gap: 0.7rem;
  }

  .item-copy {
    grid-template-columns: 52px minmax(0, 1fr) max-content;
    gap: 0.55rem;
  }

  .item-tags {
    justify-content: end;
  }

  .item-actions {
    right: 10px;
  }

  .order-line {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .order-line-actions {
    justify-content: space-between;
  }

  .checkout-page {
    padding: 1rem;
  }

  .checkout-page-header {
    display: grid;
    align-items: start;
    min-height: 138px;
  }

  .order-more-button {
    justify-self: start;
  }

  .order-more-button[data-stuck="true"] {
    position: fixed;
    top: calc(var(--site-header-height, 64px) + 0.5rem);
    left: 1rem;
    right: 1rem;
    z-index: 49;
    width: calc(100vw - 2rem);
    box-shadow: 0 12px 30px rgba(17, 17, 17, 0.22);
    transform: translateY(0);
  }

  .phone-input-row {
    grid-template-columns: 1fr;
  }

  .country-combobox-button {
    width: 100%;
    justify-content: start;
  }

  .item-image {
    height: clamp(150px, 42vw, 220px);
  }

  .sheet-scroll img {
    min-width: 0;
  }

  .image-dialog img {
    min-width: min(760px, 100vw);
  }
}

@media (max-width: 410px) {
  .brand-mark strong {
    font-size: 0.98rem;
  }

  .language-picker select {
    width: 6.8rem;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .section-heading h2 {
    font-size: 1.75rem;
  }
}
