:root {
  --kiosk-red: #b94e3d;
  --kiosk-red-dark: #8f352a;
  --kiosk-red-soft: #f5d7cf;
  --kiosk-bg: #f6f2eb;
  --kiosk-surface: #fffdf8;
  --kiosk-ink: #151619;
  --kiosk-muted: #6d6a64;
  --kiosk-line: #ded7cc;
  --kiosk-shadow: 0 2px 8px rgba(55, 40, 29, 0.08);
}

body.kiosk-mode {
  margin: 0;
  min-height: 100dvh;
  overflow: hidden;
  background: var(--kiosk-bg);
  color: var(--kiosk-ink);
  font-family: "Outfit", "Geist", system-ui, sans-serif;
}

.kiosk-shell {
  min-height: 100dvh;
}

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

.start-screen {
  display: grid;
  place-items: center;
  min-height: 100dvh;
  width: 100%;
  background: var(--kiosk-red);
  color: #fffdf8;
  text-decoration: none;
  touch-action: manipulation;
}

.start-screen__content {
  display: grid;
  justify-items: center;
  gap: clamp(32px, 6vw, 64px);
  padding: 28px;
  text-align: center;
}

.start-screen__text {
  color: #fffdf8;
  font-size: clamp(3rem, 10vw, 8.8rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.92;
}

.start-screen__pulse {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(168px, 28vw, 292px);
  aspect-ratio: 1;
  border: 6px solid rgba(255, 253, 248, 0.92);
  border-radius: 999px;
}

.start-screen__pulse::before,
.start-screen__pulse::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 3px solid rgba(255, 253, 248, 0.58);
  border-radius: inherit;
  animation: start-pulse-ring 1.8s ease-out infinite;
}

.start-screen__pulse::after {
  animation-delay: 0.62s;
}

.start-screen__hand {
  width: 46%;
  height: 46%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.tablet-order {
  position: relative;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  height: 100dvh;
  overflow: hidden;
  background: var(--kiosk-bg);
}

.order-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: max(16px, env(safe-area-inset-top)) clamp(16px, 3vw, 34px) 12px;
  background: rgba(246, 242, 235, 0.96);
  border-bottom: 1px solid rgba(222, 215, 204, 0.74);
  box-shadow: none;
}

.topbar-pill,
.category-button,
.view-cart-pill,
.variant-option,
.size-option,
.quantity-stepper button,
.add-cart-button,
.cart-line-meta button,
.cart-action,
.confirm-button {
  border: 0;
  font: inherit;
  font-weight: 850;
  touch-action: manipulation;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.topbar-pill:active,
.category-button:active,
.view-cart-pill:active,
.variant-option:active,
.size-option:active,
.modifier-option:active,
.quantity-stepper button:active,
.add-cart-button:active,
.cart-line-meta button:active,
.cart-action:active,
.confirm-button:active,
.item-card:active {
  filter: brightness(0.98);
}

.topbar-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 58px;
  padding: 0 22px 0 18px;
  border: 1px solid var(--kiosk-line);
  border-radius: 10px;
  background: var(--kiosk-surface);
  color: var(--kiosk-ink);
  box-shadow: none;
  text-decoration: none;
  white-space: nowrap;
}

.topbar-pill svg,
.view-cart-pill svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.category-strip {
  overflow: hidden;
  padding: 10px clamp(16px, 3vw, 34px) 12px;
  background: rgba(246, 242, 235, 0.96);
  border-bottom: 1px solid rgba(222, 215, 204, 0.74);
}

.category-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 2px;
  scroll-snap-type: x proximity;
  white-space: nowrap;
}

.category-track::-webkit-scrollbar {
  height: 0;
}

.category-button {
  flex: 0 0 auto;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid var(--kiosk-line);
  border-radius: 9px;
  background: var(--kiosk-surface);
  color: var(--kiosk-muted);
  scroll-snap-align: start;
  white-space: nowrap;
}

.category-button.is-active {
  border-color: rgba(143, 53, 42, 0.48);
  background: #fffaf1;
  color: var(--kiosk-red-dark);
}

.items-viewport {
  min-height: 0;
  overflow-y: auto;
  padding: clamp(14px, 2.2vw, 28px) clamp(16px, 3vw, 34px) 104px;
  -webkit-overflow-scrolling: touch;
}

.items-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}

.items-grid[hidden] {
  display: none;
}

.item-card {
  display: grid;
  grid-template-rows: minmax(168px, 1fr) minmax(150px, auto);
  min-height: clamp(330px, 36vh, 430px);
  overflow: hidden;
  border: 1px solid var(--kiosk-line);
  border-radius: 10px;
  background: var(--kiosk-surface);
  color: var(--kiosk-ink);
  box-shadow: var(--kiosk-shadow);
  text-align: left;
}

.item-card__image {
  position: relative;
  min-height: 168px;
  overflow: hidden;
  background: #e8e1d5;
}

.item-card__image img {
  width: 100%;
  height: 100%;
  min-height: 168px;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(0.98);
}

.item-card__image--placeholder {
  display: grid;
  place-items: center;
  background: #eee8dd;
}

.item-card__image--placeholder > span {
  display: grid;
  place-items: center;
  width: 78px;
  aspect-ratio: 1;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--kiosk-muted);
  font-size: 2.1rem;
  font-weight: 900;
}

.item-card__body {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px;
}

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

.item-card__alias {
  color: var(--kiosk-red-dark);
  font-family: "Geist Mono", "Cascadia Mono", Consolas, monospace;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
}

.item-card__price {
  color: var(--kiosk-ink);
  font-family: "Geist Mono", "Cascadia Mono", Consolas, monospace;
  font-size: 1.08rem;
  font-weight: 900;
  white-space: nowrap;
}

.item-card h2 {
  margin: 0;
  color: var(--kiosk-ink);
  font-size: clamp(1.22rem, 1.7vw, 1.62rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

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

.item-skeleton {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  border: 1px solid var(--kiosk-line);
  border-radius: 10px;
  background: var(--kiosk-surface);
  box-shadow: inset 0 190px 0 #e8e1d5;
}

.item-skeleton::before {
  content: "";
  position: absolute;
  right: 20px;
  bottom: 36px;
  left: 20px;
  height: 68px;
  border-top: 14px solid #eee8dd;
  border-bottom: 26px solid #e8e1d5;
}

.empty-menu {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 52vh;
  color: var(--kiosk-muted);
  text-align: center;
}

.empty-menu[hidden] {
  display: none;
}

.empty-menu span {
  display: none;
}

.empty-menu h2 {
  margin: 0;
  color: var(--kiosk-ink);
  font-size: 1.5rem;
  font-weight: 900;
}

.empty-menu p {
  margin: 0;
  font-size: 1rem;
}

.view-cart-pill {
  position: fixed;
  right: clamp(16px, 3vw, 34px);
  bottom: max(16px, env(safe-area-inset-bottom));
  left: clamp(16px, 3vw, 34px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 70px;
  border-radius: 10px;
  background: var(--kiosk-red);
  color: #fffdf8;
  box-shadow: 0 2px 8px rgba(85, 31, 22, 0.16);
  font-size: 1.2rem;
}

.view-cart-pill__icon {
  position: relative;
  display: inline-grid;
  place-items: center;
}

.view-cart-pill__icon span {
  position: absolute;
  top: -11px;
  right: -14px;
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border: 2px solid var(--kiosk-red);
  border-radius: 8px;
  background: #fffdf8;
  color: var(--kiosk-red-dark);
  font-family: "Geist Mono", "Cascadia Mono", Consolas, monospace;
  font-size: 0.82rem;
  font-weight: 900;
}

.fullscreen-modal {
  position: fixed;
  inset: 0;
  display: grid;
  background: var(--kiosk-bg);
}

.fullscreen-modal[hidden] {
  display: none;
}

[data-item-modal].modal,
[data-cart-modal].modal {
  background: rgba(21, 22, 25, 0.42);
  overflow-y: auto;
  padding: clamp(12px, 2.4vw, 24px);
}

[data-item-modal].modal[hidden],
[data-cart-modal].modal[hidden] {
  display: none !important;
}

.order-item-dialog {
  width: min(100%, 1480px);
  max-width: min(100%, 1480px);
  min-height: calc(100dvh - clamp(24px, 4.8vw, 48px));
  margin: 0 auto;
}

.order-cart-dialog {
  width: min(100%, 920px);
  max-width: min(100%, 920px);
  min-height: min(760px, calc(100dvh - clamp(24px, 4.8vw, 48px)));
  margin: 0 auto;
}

.order-modal-content {
  overflow: hidden;
  border: 1px solid rgba(222, 215, 204, 0.9);
  border-radius: 10px;
  background: var(--kiosk-bg);
  box-shadow: 0 2px 8px rgba(21, 22, 25, 0.12);
}

[data-item-modal] .order-modal-content {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: 100%;
  min-height: calc(100dvh - clamp(24px, 4.8vw, 48px));
  max-height: calc(100dvh - clamp(24px, 4.8vw, 48px));
}

[data-cart-modal] .order-modal-content {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: 100%;
  min-height: min(760px, calc(100dvh - clamp(24px, 4.8vw, 48px)));
  max-height: calc(100dvh - clamp(24px, 4.8vw, 48px));
  background: var(--kiosk-surface);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 86px;
  padding: max(16px, env(safe-area-inset-top)) clamp(16px, 3vw, 34px) 16px;
  border-bottom: 1px solid var(--kiosk-line);
  background: var(--kiosk-surface);
}

.modal-header h2 {
  min-width: 0;
  margin: 0;
  color: var(--kiosk-ink);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  overflow-wrap: anywhere;
}

.item-modal-body {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(18px, 3vw, 38px);
  min-height: 0;
  overflow-y: auto;
  padding: clamp(18px, 3vw, 34px);
  -webkit-overflow-scrolling: touch;
}

.item-modal-hero {
  display: grid;
  align-content: start;
  gap: 18px;
  min-width: 0;
}

.item-modal-image {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--kiosk-line);
  border-radius: 10px;
  background: #e8e1d5;
  box-shadow: none;
  aspect-ratio: 4 / 3;
}

.item-modal-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.94) contrast(0.98);
}

.item-modal-image--placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: #eee8dd;
}

.item-modal-image--placeholder img {
  display: none;
}

.item-customizer {
  display: grid;
  align-content: start;
  gap: 16px;
  min-width: 0;
}

.customizer-section {
  display: grid;
  gap: 12px;
  padding: 20px 0 0;
  border-top: 1px solid rgba(222, 215, 204, 0.88);
}

.customizer-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.section-heading h3 {
  margin: 0;
  color: var(--kiosk-ink);
  font-size: clamp(1.08rem, 1.45vw, 1.28rem);
  font-weight: 950;
  letter-spacing: 0;
}

.section-heading > span {
  color: var(--kiosk-red-dark);
  font-size: 0.86rem;
  font-weight: 900;
  white-space: nowrap;
}

.variant-options,
.size-options,
.modifier-options {
  display: grid;
  gap: 10px;
}

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

.variant-option,
.size-option {
  align-items: center;
  gap: 12px;
  min-height: 58px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--kiosk-ink);
  text-align: left;
}

.variant-option {
  display: flex;
  justify-content: space-between;
  padding: 0 2px 0 14px;
  border-left: 3px solid transparent;
}

.size-option {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  padding: 0 2px;
  border-bottom: 1px solid rgba(222, 215, 204, 0.76);
  cursor: pointer;
}

.variant-option.is-active {
  border-left-color: var(--kiosk-red);
  background: #fffaf1;
  color: var(--kiosk-red-dark);
}

.size-option.is-active,
.size-option:has(input:checked) {
  border-bottom-color: rgba(185, 78, 61, 0.38);
  background: #fffaf1;
  color: var(--kiosk-red-dark);
}

.variant-option span,
.size-option__label,
.modifier-option__label {
  min-width: 0;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.variant-option strong,
.size-option strong,
.modifier-option strong {
  flex: 0 0 auto;
  font-family: "Geist Mono", "Cascadia Mono", Consolas, monospace;
  font-weight: 950;
  white-space: nowrap;
}

.modifier-option {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 2px;
  border: 0;
  border-bottom: 1px solid rgba(222, 215, 204, 0.76);
  border-radius: 0;
  background: transparent;
  color: var(--kiosk-ink);
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.modifier-option:has(input:checked) {
  border-bottom-color: rgba(185, 78, 61, 0.38);
  background: #fffaf1;
  color: var(--kiosk-red-dark);
}

.modifier-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option-radio {
  width: 24px;
  height: 24px;
  border: 2px solid var(--kiosk-line);
  border-radius: 999px;
  background: transparent;
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.size-option input,
.modifier-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.size-option input:checked + .option-radio,
.modifier-option input:checked + .option-radio {
  border-color: var(--kiosk-red);
  background: var(--kiosk-red);
  box-shadow: inset 0 0 0 5px #fffdf8;
}

.empty-options {
  margin: 0;
  padding: 10px 2px;
  border: 0;
  color: var(--kiosk-muted);
  font-weight: 800;
}

.quantity-stepper {
  display: grid;
  grid-template-columns: 68px minmax(76px, 1fr) 68px;
  align-items: center;
  max-width: 290px;
  overflow: hidden;
  border: 1px solid var(--kiosk-line);
  border-radius: 10px;
  background: #fffaf1;
}

.quantity-stepper button {
  display: grid;
  place-items: center;
  width: 68px;
  height: 64px;
  border: 0;
  background: transparent;
  color: var(--kiosk-red-dark);
  font-size: 2rem;
  font-weight: 900;
}

.quantity-stepper button:disabled {
  color: rgba(109, 106, 100, 0.46);
}

.quantity-stepper output {
  display: grid;
  place-items: center;
  height: 64px;
  color: var(--kiosk-ink);
  font-family: "Geist Mono", "Cascadia Mono", Consolas, monospace;
  font-size: 1.34rem;
  font-weight: 950;
}

.notes-label {
  display: grid;
  gap: 4px;
  color: var(--kiosk-ink);
  font-weight: 950;
}

.notes-label small,
.field-helper {
  color: var(--kiosk-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.customizer-section textarea {
  width: 100%;
  resize: none;
  min-height: 118px;
  padding: 14px 16px;
  border: 1px solid rgba(169, 154, 132, 0.72);
  border-radius: 8px;
  background: #fffaf1;
  color: var(--kiosk-ink);
  font: inherit;
  outline: none;
}

.customizer-section textarea:focus {
  border-color: rgba(185, 78, 61, 0.58);
  background: #fffdf8;
}

.field-helper {
  margin: -4px 0 0;
  text-align: right;
}

.item-modal-footer {
  display: grid;
  grid-template-columns: minmax(220px, 290px) minmax(260px, 360px);
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 78px;
  padding: 10px 12px 10px 24px;
  border: 1px solid rgba(222, 215, 204, 0.86);
  border-width: 1px 0 0;
  border-radius: 0;
  background: var(--kiosk-surface);
  box-shadow: none;
}

.item-modal-footer .quantity-stepper {
  width: 100%;
  max-width: none;
}

.add-cart-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  width: 100%;
  min-width: 0;
  padding: 0 26px;
  border: 0;
  border-radius: 10px;
  background: var(--kiosk-red);
  color: #fffdf8;
  font-size: 1.1rem;
  font-weight: 950;
  white-space: nowrap;
}

.add-cart-button span,
.add-cart-button strong {
  color: #fffdf8;
}

.add-cart-button span {
  font-weight: 950;
}

.add-cart-button__separator {
  opacity: 0.78;
}

.add-cart-button strong {
  font-family: "Geist Mono", "Cascadia Mono", Consolas, monospace;
  font-size: 1.18rem;
  font-weight: 950;
}

.modal-placeholder {
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 32px;
  color: var(--kiosk-muted);
  text-align: center;
}

.modal-placeholder p {
  max-width: 44ch;
  margin: 0;
  font-size: clamp(1.2rem, 2.4vw, 1.8rem);
  line-height: 1.35;
}

.cart-modal-body {
  min-height: 0;
  overflow-y: auto;
  padding: 0 clamp(16px, 3vw, 34px) clamp(18px, 3vw, 30px);
  -webkit-overflow-scrolling: touch;
}

.cart-line-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cart-line-list[hidden],
.cart-empty[hidden],
.cart-summary[hidden] {
  display: none;
}

.cart-empty {
  display: grid;
  place-items: center;
  min-height: 220px;
  color: var(--kiosk-muted);
  text-align: center;
}

.cart-empty p {
  margin: 0;
  font-size: 1.06rem;
  font-weight: 800;
}

.cart-line-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 106px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(222, 215, 204, 0.86);
}

.cart-line-main {
  min-width: 0;
}

.cart-line-main h3 {
  margin: 0;
  color: var(--kiosk-ink);
  font-size: clamp(1.08rem, 1.8vw, 1.34rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.cart-line-main p {
  margin: 7px 0 0;
  color: var(--kiosk-muted);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.cart-line-meta {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 18px;
  color: var(--kiosk-muted);
  font-size: 0.98rem;
  font-weight: 800;
  white-space: nowrap;
}

.cart-line-meta strong {
  color: var(--kiosk-ink);
  font-family: "Geist Mono", "Cascadia Mono", Consolas, monospace;
  font-size: 1.06rem;
  font-weight: 950;
}

.cart-line-meta button {
  background: #fffdf8;
  color: var(--kiosk-ink);
  font-size: 0.96rem;
}

.cart-line-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-line-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 34px;
  padding: 0;
  border: 1px solid var(--kiosk-line);
  border-radius: 8px;
}

.cart-summary {
  display: grid;
  gap: 10px;
  width: min(100%, 360px);
  margin: 24px 0 0 auto;
  padding: 0;
}

.cart-summary div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  color: var(--kiosk-muted);
  font-size: 1rem;
  font-weight: 800;
}

.cart-summary strong {
  color: var(--kiosk-ink);
  font-family: "Geist Mono", "Cascadia Mono", Consolas, monospace;
  font-size: 1.02rem;
  font-weight: 950;
  white-space: nowrap;
}

.cart-summary__total {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--kiosk-line);
  color: var(--kiosk-ink);
}

.cart-summary__total span,
.cart-summary__total strong {
  color: var(--kiosk-ink);
  font-size: 1.18rem;
}

.cart-modal-footer {
  display: grid;
  grid-template-columns: minmax(220px, 320px);
  justify-content: end;
  gap: 12px;
  min-height: 78px;
  padding: 10px 12px;
  border: 1px solid rgba(222, 215, 204, 0.86);
  border-width: 1px 0 0;
  border-radius: 0;
  background: var(--kiosk-surface);
  box-shadow: none;
}

.cart-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  min-width: 0;
  padding: 0 22px;
  border-radius: 10px;
  color: var(--kiosk-ink);
  font-size: 1.02rem;
  font-weight: 950;
  white-space: nowrap;
}

.cart-action--primary {
  background: var(--kiosk-red);
  color: #fffdf8;
}

.cart-action:disabled {
  background: #d8d0c4;
  color: rgba(21, 22, 25, 0.58);
}

.confirm-modal {
  place-items: center;
  padding: clamp(18px, 4vw, 40px);
  background: rgba(21, 22, 25, 0.42);
}

.confirm-panel {
  display: grid;
  gap: 16px;
  width: min(100%, 430px);
  padding: clamp(24px, 5vw, 34px);
  border: 1px solid var(--kiosk-line);
  border-radius: 10px;
  background: var(--kiosk-surface);
  box-shadow: 0 2px 8px rgba(21, 22, 25, 0.12);
}

.confirm-panel h2 {
  margin: 0;
  color: var(--kiosk-ink);
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  font-weight: 950;
  letter-spacing: 0;
}

.confirm-panel p {
  margin: 0;
  color: var(--kiosk-muted);
  font-size: 1.05rem;
  line-height: 1.45;
}

.confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
}

.confirm-button {
  min-height: 56px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 1rem;
}

.confirm-button--secondary {
  border: 1px solid var(--kiosk-line);
  background: #fffdf8;
  color: var(--kiosk-ink);
}

.confirm-button--danger {
  background: var(--kiosk-red);
  color: #fffdf8;
}

.is-modal-open {
  overflow: hidden;
}

@keyframes start-pulse-ring {
  0% {
    opacity: 0.82;
    transform: scale(0.96);
  }
  100% {
    opacity: 0;
    transform: scale(1.34);
  }
}

@media (max-width: 980px) {
  .items-grid,
  .items-grid--loading {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .item-card {
    min-height: 350px;
  }

  .item-modal-body {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .item-modal-hero {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 620px) {
  .order-topbar {
    gap: 10px;
  }

  .topbar-pill {
    min-height: 54px;
    padding: 0 16px 0 14px;
  }

  .topbar-pill span {
    display: none;
  }

  .items-grid,
  .items-grid--loading {
    grid-template-columns: 1fr;
  }

  .item-card {
    grid-template-rows: minmax(190px, 52%) auto;
    min-height: 390px;
  }

  .modal-header {
    min-height: 78px;
  }

  .modal-header h2 {
    font-size: 1.48rem;
  }

  .item-modal-body {
    padding: 14px 16px;
  }

  .item-modal-hero {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .item-modal-image {
    border-radius: 10px;
    aspect-ratio: 16 / 10;
  }

  .customizer-section {
    padding-top: 16px;
  }

  .variant-options,
  .size-options {
    grid-template-columns: 1fr;
  }

  .modifier-option {
    grid-template-columns: 28px minmax(0, 1fr) auto;
    gap: 10px;
  }

  .quantity-stepper {
    max-width: none;
  }

  .item-modal-footer {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 10px;
    padding: 9px 10px;
  }

  .item-modal-footer .quantity-stepper {
    grid-template-columns: 48px minmax(44px, 1fr) 48px;
  }

  .item-modal-footer .quantity-stepper button {
    width: 48px;
  }

  .add-cart-button span {
    font-size: 0.96rem;
  }

  .add-cart-button {
    gap: 8px;
    padding: 0 12px;
  }

  .add-cart-button strong {
    font-size: 1rem;
  }

  [data-cart-modal].modal {
    padding: 10px;
  }

  .order-cart-dialog {
    min-height: calc(100dvh - 20px);
  }

  [data-cart-modal] .order-modal-content {
    min-height: calc(100dvh - 20px);
    max-height: calc(100dvh - 20px);
  }

  .cart-modal-body {
    padding: 0 16px 18px;
  }

  .cart-line-item {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 12px;
    min-height: 0;
    padding: 17px 0;
  }

  .cart-line-main h3 {
    font-size: 1.08rem;
  }

  .cart-line-main p,
  .cart-line-meta {
    font-size: 0.94rem;
  }

  .cart-line-meta {
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
  }

  .cart-line-meta strong {
    justify-self: start;
    font-size: 0.98rem;
  }

  .cart-summary {
    width: 100%;
    margin-top: 18px;
  }

  .cart-modal-footer {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px;
  }

  .cart-action {
    min-height: 54px;
    padding: 0 14px;
    font-size: 0.96rem;
  }
}
