/* 21-inch portrait kiosk geometry activates only through the runtime token. */
html[data-layout="kiosk21"] {
  --kiosk21-content-max: 960px;
  --kiosk21-page-padding: 32px;
  --kiosk21-header-height: 108px;
  --kiosk21-progress-height: 76px;
  --kiosk21-stage-top-offset: calc(
    var(--kiosk21-header-height) + var(--kiosk21-progress-height) + var(--safe-top)
  );
  --kiosk21-navigation-target: 64px;
  --kiosk21-navigation-gap: 16px;
  --kiosk21-bottom-reserve: 48px;
  --kiosk21-cta-height: 128px;
  --kiosk21-cta-button-height: 96px;
  --kiosk21-summary-height: 112px;
  --kiosk21-active-summary-height: 0px;
  --kiosk21-bottom-gap: 24px;
  --kiosk21-bottom-stack-height: calc(
    var(--kiosk21-cta-height) + var(--kiosk21-active-summary-height) +
      var(--kiosk21-bottom-gap) + var(--safe-bottom)
  );
  --kiosk21-modal-width: 840px;
  overflow-x: hidden;
  overflow-y: hidden;
  overscroll-behavior-x: none;
}

html[data-layout="kiosk21"] body:not([data-step="home"]):not([data-step="done"]) {
  --kiosk21-active-summary-height: var(--kiosk21-summary-height);
  --kiosk21-bottom-stack-height: calc(
    var(--kiosk21-cta-height) + var(--kiosk21-summary-height) +
      var(--kiosk21-bottom-gap) + var(--safe-bottom)
  );
}

html[data-layout="kiosk21"] body {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow-x: hidden;
  overflow-y: hidden;
}

html[data-layout="kiosk21"] #main.app {
  width: 100%;
  height: 100dvh;
  min-width: 0;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-padding-top: var(--kiosk21-stage-top-offset);
  scroll-padding-bottom: var(--kiosk21-bottom-stack-height);
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

html[data-layout="kiosk21"] #main.app::-webkit-scrollbar {
  width: 0;
  height: 0;
}

html[data-layout="kiosk21"] .kiosk-scroll-indicator {
  position: fixed;
  z-index: 80;
  top: calc(var(--kiosk21-stage-top-offset) + 8px);
  right: max(8px, var(--safe-right));
  bottom: calc(var(--kiosk21-bottom-stack-height) + 8px);
  box-sizing: border-box;
  width: 20px;
  min-width: 18px;
  max-width: 24px;
  overflow: hidden;
  border: 1px solid #9ca3af;
  border-radius: 12px;
  background: #e5e7eb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
  pointer-events: none;
  user-select: none;
}

html[data-layout="kiosk21"] .kiosk-scroll-indicator[hidden],
html[data-layout="kiosk21"] body:has(#modal :where(.backdrop, .c-popup-backdrop))
  .kiosk-scroll-indicator {
  display: none;
}

html[data-layout="kiosk21"] .kiosk-scroll-indicator-thumb {
  position: absolute;
  inset: 0 1px auto;
  min-width: 16px;
  min-height: 96px;
  border-radius: 11px;
  background: #d71920;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .4);
  opacity: 1;
  will-change: transform;
}

html[data-layout="kiosk21"] :where(
  .stage,
  .mainContent,
  .sectionWrapper,
  .summaryContainer
) {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--kiosk21-content-max) !important;
  min-width: 0;
  margin-right: auto;
  margin-left: auto;
}

html[data-layout="kiosk21"] :where(.head, .c-header) {
  position: fixed;
  inset: 0 0 auto;
  width: 100%;
  max-width: none !important;
  margin-inline: 0;
  box-sizing: border-box;
  height: calc(var(--kiosk21-header-height) + var(--safe-top)) !important;
  min-height: calc(var(--kiosk21-header-height) + var(--safe-top)) !important;
  padding-top: var(--safe-top) !important;
  padding-right: calc(var(--kiosk21-page-padding) + var(--safe-right)) !important;
  padding-left: calc(var(--kiosk21-page-padding) + var(--safe-left)) !important;
  gap: var(--kiosk21-navigation-gap);
  align-items: center;
  z-index: var(--z-header);
}

html[data-layout="kiosk21"] :where(.head, .c-header) :where(
  .brand,
  .brandName,
  .storeName
) {
  min-width: 0;
}

html[data-layout="kiosk21"] :where(.head, .c-header) .brand {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  overflow: hidden;
}

html[data-layout="kiosk21"] :where(.head, .c-header) :where(.brandName, .storeName) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[data-layout="kiosk21"] :where(.head, .c-header) :where(
  .headerActions,
  .homeBtn,
  .backBtn,
  .langBtn,
  .langTopBtn
) {
  flex: 0 0 auto;
}

html[data-layout="kiosk21"] :where(.head, .c-header) .headerActions {
  display: flex;
  align-items: center;
  gap: var(--kiosk21-navigation-gap);
  min-width: 0;
  max-width: 50%;
}

html[data-layout="kiosk21"] :where(.head, .c-header) :where(
  button,
  .homeBtn,
  .backBtn,
  .langBtn,
  .langTopBtn
) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--kiosk21-navigation-target);
  min-height: var(--kiosk21-navigation-target) !important;
  max-width: min(42vw, 320px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Fixed header alignment at the 1080 × 1920 kiosk target. */
html[data-layout="kiosk21"] :where(.head, .c-header) .brandLogo {
  width: 141.6px !important;
  height: 69.6px !important;
  max-width: 141.6px !important;
  max-height: 69.6px !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  filter: brightness(0) invert(1) !important;
  object-fit: contain !important;
  object-position: center !important;
}

html[data-layout="kiosk21"] :where(.head, .c-header) .langTopBtn {
  min-height: 70.4px !important;
  padding: 9.9px 15.4px !important;
  gap: 5.5px;
  font-size: 17.6px;
}

html[data-layout="kiosk21"] :where(.head, .c-header) .langTopBtn span {
  font-size: 14.08px !important;
}

html[data-layout="kiosk21"] :where(.progress, .c-progress) {
  position: fixed;
  right: 0;
  left: 0;
  width: 100%;
  max-width: none !important;
  margin-inline: 0;
  box-sizing: border-box;
  top: calc(var(--kiosk21-header-height) + var(--safe-top)) !important;
  height: var(--kiosk21-progress-height);
  min-height: var(--kiosk21-progress-height);
  padding-right: calc(var(--kiosk21-page-padding) + var(--safe-right)) !important;
  padding-left: calc(var(--kiosk21-page-padding) + var(--safe-left)) !important;
  align-items: center;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  z-index: var(--z-progress);
}

html[data-layout="kiosk21"] :where(.progress, .c-progress)::-webkit-scrollbar {
  display: none;
}

html[data-layout="kiosk21"] :where(.progress, .c-progress) .progressStep {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 56px;
  padding: 12px 22px;
  align-items: center;
  gap: 10px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 20px;
  font-weight: 900;
  max-width: none;
  white-space: nowrap;
}

html[data-layout="kiosk21"] :where(.progress, .c-progress) .progressStep.current {
  border-color: #d71920;
  background: #d71920;
  color: #fff;
}

html[data-layout="kiosk21"] :where(.progress, .c-progress) .progressStep.completed {
  border-color: #006b3c;
  background: #eef6f0;
  color: #006b3c;
}

html[data-layout="kiosk21"] :where(.progress, .c-progress) .progressStep.locked {
  opacity: .46;
  cursor: not-allowed;
}

html[data-layout="kiosk21"] :where(.progress, .c-progress) .progressStep span {
  flex: 0 0 auto;
  max-width: none;
  white-space: nowrap;
}

html[data-layout="kiosk21"] :where(.progress, .c-progress) :where(
  .progressStep,
  .step,
  .stepLabel,
  span
) {
  flex: 0 0 auto;
  max-width: none;
  white-space: nowrap;
}

html[data-layout="kiosk21"] :where(.stage, .mainContent, .sectionWrapper) {
  scroll-margin-top: var(--kiosk21-stage-top-offset);
  padding-top: var(--kiosk21-page-padding) !important;
  padding-right: calc(var(--kiosk21-page-padding) + var(--safe-right)) !important;
  padding-bottom: calc(
    var(--kiosk21-bottom-stack-height) + var(--kiosk21-bottom-reserve)
  ) !important;
  padding-left: calc(var(--kiosk21-page-padding) + var(--safe-left)) !important;
}

html[data-layout="kiosk21"] body:not([data-step="home"]):not(
  [data-step="language"]
):not([data-step="done"]) .stage {
  margin-top: var(--kiosk21-stage-top-offset);
}

html[data-layout="kiosk21"] body[data-step="done"] .stage {
  margin-top: calc(var(--kiosk21-header-height) + var(--safe-top));
}

html[data-layout="kiosk21"] :where(.summaryContainer) {
  padding-right: calc(var(--kiosk21-page-padding) + var(--safe-right));
  padding-left: calc(var(--kiosk21-page-padding) + var(--safe-left));
}

html[data-layout="kiosk21"] :where(
  .c-grid,
  .grid:not(.adaptiveCards):not(.two):not(.four):not(.crustGrid):not(.sizeGuideGrid):not(.paymentGrid):not(.seatGrid):not(.areaGrid):not(.tableGrid):not(.modalGrid)
) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
}

@media (min-width: 1200px) {
  html[data-layout="kiosk21"] :where(
    .c-grid,
    .grid:not(.adaptiveCards):not(.two):not(.four):not(.crustGrid):not(.sizeGuideGrid):not(.paymentGrid):not(.seatGrid):not(.areaGrid):not(.tableGrid):not(.modalGrid)
  ) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Phase 4-3: touch-first product card and selection geometry. Visual state
 * meaning and all behavior remain owned by the existing application layer. */
html[data-layout="kiosk21"] :where(
  .grid,
  .c-grid,
  .adaptiveCards,
  .pizzaGrid,
  .sideGrid,
  .drinkGrid,
  .drinkTextGrid,
  .accompanimentGrid,
  .optionGrid,
  .sizeGrid,
  .doughGrid,
  .crustGrid,
  .crustTextGrid,
  .setCrustGrid
) {
  min-width: 0;
  max-width: 100%;
  gap: 24px;
}

html[data-layout="kiosk21"] :where(
  .grid,
  .c-grid,
  .adaptiveCards,
  .pizzaGrid,
  .sideGrid,
  .drinkGrid,
  .drinkTextGrid,
  .accompanimentGrid
) {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

html[data-layout="kiosk21"] body:is(
  [data-step="pizza"],
  [data-step="topping"],
  [data-step="side"],
  [data-step="drink"],
  [data-step="accompaniment"]
) .grid.adaptiveCards {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
}

html[data-layout="kiosk21"] body:is(
  [data-step="pizza"],
  [data-step="topping"],
  [data-step="side"],
  [data-step="drink"],
  [data-step="accompaniment"]
) .grid.adaptiveCards > * {
  min-height: 280px;
}

html[data-layout="kiosk21"] :where(
  .optionGrid,
  .sizeGrid,
  .doughGrid,
  .crustGrid,
  .crustTextGrid,
  .setCrustGrid,
  .optionButtons
) {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

html[data-layout="kiosk21"] :where(
  .card,
  .c-card,
  .productCard,
  .pizzaCard,
  .sideCard,
  .drinkCard,
  .menuCard,
  .textQtyCard,
  .v3DrinkCard
) {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 280px;
  padding: 24px;
  overflow: hidden;
}

html[data-layout="kiosk21"] :where(
  .card,
  .c-card,
  .productCard,
  .pizzaCard,
  .sideCard,
  .drinkCard,
  .menuCard
) :where(h2, h3, .productName, .menuName) {
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: keep-all;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

html[data-layout="kiosk21"] :where(
  .card,
  .c-card,
  .productCard,
  .pizzaCard,
  .sideCard,
  .drinkCard,
  .menuCard
) :where(p, small, .muted, .description, .productDescription) {
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: keep-all;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

html[data-layout="kiosk21"] :where(
  .card,
  .c-card,
  .productCard,
  .pizzaCard,
  .sideCard,
  .drinkCard,
  .menuCard,
  .crustTextCard,
  .setCrustCard
) :where(.price, .crustPrice, .darkSetPrice, .originalPrice, .discountPrice) {
  min-width: max-content;
  white-space: nowrap;
}

html[data-layout="kiosk21"] :where(
  .card,
  .c-card,
  .productCard,
  .pizzaCard,
  .sideCard,
  .drinkCard,
  .menuCard
):is(.active, .selected),
html[data-layout="kiosk21"] :where(
  .card,
  .c-card,
  .productCard,
  .pizzaCard,
  .sideCard,
  .drinkCard,
  .menuCard
):disabled {
  box-sizing: border-box;
  width: 100%;
  min-height: 280px;
}

html[data-layout="kiosk21"] :where(
  .optionBtn,
  .c-selection-control,
  .sizeGuideCard,
  .c-size-card,
  .doughCard,
  .crustCard,
  .crustTextCard,
  .setCrustCard
) {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 120px;
  padding: 20px 24px;
  overflow: hidden;
  touch-action: manipulation;
}

html[data-layout="kiosk21"] :where(.qty, .quantityControl, .c-quantity-control) {
  display: grid;
  min-width: 0;
  grid-template-columns: 64px minmax(64px, 1fr) 64px !important;
  gap: 12px !important;
  align-items: center;
}

html[data-layout="kiosk21"] :where(.qty, .quantityControl, .c-quantity-control) :where(
  button,
  .qtyBtn,
  .quantityButton,
  .minus,
  .plus
) {
  width: 64px !important;
  min-width: 64px;
  height: 64px !important;
  min-height: 64px !important;
  padding: 0 !important;
  touch-action: manipulation;
}

html[data-layout="kiosk21"] :where(.qty, .quantityControl, .c-quantity-control) :where(
  b,
  strong,
  .quantity,
  .drinkQuantityReadout
) {
  display: grid;
  min-width: 64px;
  min-height: 64px;
  place-items: center;
  text-align: center;
}

html[data-layout="kiosk21"] :where(
  .pic,
  .imagePic,
  .productImage,
  .cardImage,
  .crustPic,
  .darkSetPhoto,
  .setCrustImage,
  .c-card-media
) {
  min-width: 0;
  min-height: 180px;
  overflow: hidden;
}

html[data-layout="kiosk21"] :where(
  .pic,
  .imagePic,
  .productImage,
  .cardImage,
  .crustPic,
  .darkSetPhoto,
  .setCrustImage,
  .c-card-media
) img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  object-fit: contain !important;
  object-position: center !important;
}

@media (hover: none) {
  html[data-layout="kiosk21"] :where(
    .card,
    .c-card,
    .productCard,
    .pizzaCard,
    .sideCard,
    .drinkCard,
    .menuCard,
    .optionBtn,
    .crustTextCard,
    .setCrustCard
  ):hover:not(:disabled) {
    transform: none;
  }
}

/* Phase 4-4: fixed ordering stack and popup geometry. Presence of the existing
 * order summary controls its reserved height; application display conditions
 * and interaction state remain unchanged. */
html[data-layout="kiosk21"] :where(.selectionFooter, .c-selection-footer) {
  right: 0;
  bottom: calc(var(--kiosk21-active-summary-height) + var(--safe-bottom));
  left: 0;
  z-index: var(--z-selection-footer);
  width: min(100%, var(--kiosk21-content-max));
  height: var(--kiosk21-cta-height);
  margin-inline: auto;
  padding: 16px calc(var(--kiosk21-page-padding) + var(--safe-right)) 16px
    calc(var(--kiosk21-page-padding) + var(--safe-left));
  transform: none !important;
}

html[data-layout="kiosk21"] :where(.selectionFooter, .c-selection-footer) :where(
  button,
  .selectionFooterCard,
  .next,
  .confirmBtn,
  .primaryBtn
) {
  min-width: 0;
  min-height: var(--kiosk21-cta-button-height) !important;
  max-width: 100%;
  overflow: hidden;
  overflow-wrap: anywhere;
  white-space: normal;
}

html[data-layout="kiosk21"] :where(.cartbar, .c-order-summary) {
  right: 0;
  bottom: 0;
  left: 0;
  z-index: var(--z-order-summary);
  width: 100% !important;
  max-width: none;
  height: calc(var(--kiosk21-summary-height) + var(--safe-bottom)) !important;
  margin-inline: 0;
  padding: 12px 0 calc(12px + var(--safe-bottom)) !important;
  overflow: hidden;
}

html[data-layout="kiosk21"] body .cartbar {
  padding: 12px 10px calc(12px + var(--safe-bottom)) 0 !important;
}

html[data-layout="kiosk21"] body:is(
  [data-step="topping"],
  [data-step="side"],
  [data-step="drink"],
  [data-step="accompaniment"]
) :where(.cartbar, .c-order-summary) {
  height: calc(var(--kiosk21-summary-height) + var(--safe-bottom)) !important;
  padding-right: 10px !important;
  padding-bottom: calc(12px + var(--safe-bottom)) !important;
}

html[data-layout="kiosk21"] :where(.cartmain, .cartSummary, .orderSummary) {
  flex: 1 1 auto;
  min-width: 0;
  margin-left: 5px;
  overflow: hidden;
  overflow-wrap: anywhere;
}

html[data-layout="kiosk21"] :where(.carttitle, .cartdetail, .summaryText, .orderSummaryText) {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[data-layout="kiosk21"] :where(.cartprice, .cartTotal, .cartCount, .summaryPrice) {
  flex: 0 0 auto;
  white-space: nowrap;
}

html[data-layout="kiosk21"] :where(.selectionFooterSpacer, .c-selection-footer-spacer, .footerSpacer) {
  display: block;
  height: var(--kiosk21-bottom-stack-height);
}

html[data-layout="kiosk21"] :where(.stage, .mainContent, .sectionWrapper):has(
  :where(.selectionFooterSpacer, .c-selection-footer-spacer, .footerSpacer)
) {
  padding-bottom: 0 !important;
}

html[data-layout="kiosk21"] :where(.backdrop, .c-popup-backdrop) {
  inset: 0;
  z-index: var(--z-backdrop);
  place-items: center;
  width: 100%;
  max-width: 100vw;
  padding: calc(32px + var(--safe-top)) calc(32px + var(--safe-right))
    calc(32px + var(--safe-bottom)) calc(32px + var(--safe-left));
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
}

/* Keep the root position intact while a kiosk dialog owns vertical gestures. */
html[data-layout="kiosk21"] body:has(#modal :where(.backdrop, .c-popup-backdrop))
  :where(#main, .app) {
  overflow-y: hidden;
}

html[data-layout="kiosk21"] :where(
  .c-popup,
  .modal,
  .popup,
  .dialog,
  .upsellModal,
  .finalUpsellModal,
  .benefitHelperModal,
  .discountModal,
  .helperModal,
  .setUpsellModal
) {
  box-sizing: border-box;
  width: min(var(--kiosk21-modal-width), 100%);
  max-width: 880px;
  max-height: min(86vh, calc(100dvh - var(--safe-top) - var(--safe-bottom) - 64px));
  min-width: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: #d71920 rgba(0, 107, 60, .10);
  scrollbar-width: auto;
}

html[data-layout="kiosk21"] :where(
  .c-popup,
  .modal,
  .popup,
  .dialog,
  .upsellModal,
  .finalUpsellModal,
  .benefitHelperModal,
  .discountModal,
  .helperModal,
  .setUpsellModal
)::-webkit-scrollbar {
  width: 18px;
}

html[data-layout="kiosk21"] :where(
  .c-popup,
  .modal,
  .popup,
  .dialog,
  .upsellModal,
  .finalUpsellModal,
  .benefitHelperModal,
  .discountModal,
  .helperModal,
  .setUpsellModal
)::-webkit-scrollbar-track {
  background: rgba(0, 107, 60, .10);
}

html[data-layout="kiosk21"] :where(
  .c-popup,
  .modal,
  .popup,
  .dialog,
  .upsellModal,
  .finalUpsellModal,
  .benefitHelperModal,
  .discountModal,
  .helperModal,
  .setUpsellModal
)::-webkit-scrollbar-thumb {
  border: 2px solid rgba(255, 255, 255, .72);
  border-radius: 999px;
  background: #d71920;
}

html[data-layout="kiosk21"] :where(.modalBody, .modalContent, .popupBody, .dialogBody) {
  min-width: 0;
  max-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
}

html[data-layout="kiosk21"] :where(.modalClose, .closeBtn, .popupClose, .dialogClose) {
  display: inline-flex;
  width: 64px;
  min-width: 64px;
  height: 64px;
  min-height: 64px;
  align-items: center;
  justify-content: center;
}

html[data-layout="kiosk21"] :where(
  .modalBtns,
  .modalActions,
  .modalFooter,
  .upsellActions,
  .finalUpsellGrid,
  .benefitActions
) {
  position: sticky;
  bottom: 0;
  z-index: var(--z-action);
  min-width: 0;
  padding-bottom: var(--safe-bottom);
}

html[data-layout="kiosk21"] :where(
  .modalBtns,
  .modalActions,
  .modalFooter,
  .upsellActions,
  .finalUpsellGrid,
  .benefitActions
) button {
  min-width: 0;
  min-height: 72px !important;
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
}

/* Phase 4-5: checkout, payment, and completion geometry. The kiosk runtime
 * token is the only activation switch; state, copy, and component styling
 * continue to come from the existing application layers. */
html[data-layout="kiosk21"] body:is(
  [data-step="review"],
  [data-step="phone"],
  [data-step="payment"],
  [data-step="done"]
) :where(.stage, .cartPage, .phoneStep, .summary, .done) {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: var(--kiosk21-content-max);
  margin-inline: auto;
}

html[data-layout="kiosk21"] body:is(
  [data-step="review"],
  [data-step="phone"],
  [data-step="payment"]
) .stage {
  padding-bottom: calc(48px + var(--safe-bottom)) !important;
}

html[data-layout="kiosk21"] body[data-step="review"] :where(
  .cartOrderTop > :first-child,
  .cartOrderName,
  .cartOrderDesc,
  .reviewOrderHead > :first-child,
  .reviewOrderHead h3,
  .reviewMeta,
  .reviewSection li span:first-child,
  .reviewDiscountBox .line span
) {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

html[data-layout="kiosk21"] body[data-step="review"] :where(
  .cartOrderPrice,
  .reviewOrderHead > strong,
  .reviewSection li span:last-child,
  .reviewDiscountBox .line strong,
  .multiCartTotal strong
) {
  flex: 0 0 auto;
  text-align: right;
  white-space: nowrap;
}

html[data-layout="kiosk21"] body[data-step="review"] :where(.cartOrderTop, .reviewOrderHead, .reviewSection li, .reviewDiscountBox .line, .multiCartTotal) {
  min-width: 0;
  gap: 24px;
  justify-content: space-between;
}

html[data-layout="kiosk21"] body[data-step="phone"] .summary {
  padding-bottom: calc(32px + var(--safe-bottom));
}

html[data-layout="kiosk21"] body[data-step="phone"] .phoneDisplay {
  width: 100%;
  min-width: 0;
  min-height: 96px;
  padding: 24px 32px;
  overflow: hidden;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[data-layout="kiosk21"] body[data-step="phone"] .keypad {
  display: grid;
  width: min(100%, 660px);
  max-width: 660px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 24px auto;
}

html[data-layout="kiosk21"] body[data-step="phone"] .keypad button {
  width: 100%;
  min-width: 0;
  min-height: 72px;
  padding: 16px;
  touch-action: manipulation;
}

html[data-layout="kiosk21"] body[data-step="phone"] #phoneNext {
  min-height: 72px;
  touch-action: manipulation;
}

html[data-layout="kiosk21"] body[data-step="payment"] :where(
  .summary,
  .paymentGrid,
  .paymentCard,
  .paymentSubmitBtn,
  .paymentRequiredBox,
  .submitError
) {
  min-width: 0;
  max-width: 100%;
}

html[data-layout="kiosk21"] body[data-step="payment"] .summary {
  padding-bottom: calc(32px + var(--safe-bottom));
}

html[data-layout="kiosk21"] body[data-step="payment"] .paymentGrid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

html[data-layout="kiosk21"] body[data-step="payment"] :where(.paymentCard, .paymentSubmitBtn) {
  min-height: 72px;
  touch-action: manipulation;
}

html[data-layout="kiosk21"] body[data-step="payment"] .paymentSubmitBtn {
  position: relative;
  z-index: var(--z-action);
  margin-bottom: var(--safe-bottom);
}

html[data-layout="kiosk21"] body[data-step="done"] .stage {
  min-height: calc(100dvh - var(--kiosk21-stage-top-offset));
  max-height: calc(100dvh - var(--kiosk21-stage-top-offset));
  padding-bottom: 0 !important;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

html[data-layout="kiosk21"] body[data-step="done"] :where(.done) {
  min-height: 100%;
  padding: 56px 32px calc(48px + var(--safe-bottom));
}

html[data-layout="kiosk21"] body[data-step="done"] :where(.done) .num {
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: clamp(72px, 10vw, 112px);
  line-height: 1;
}

html[data-layout="kiosk21"] body[data-step="done"] :where(
  .doneGuide,
  .doneReserve,
  .paymentRequiredBox
) {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

html[data-layout="kiosk21"] body[data-step="done"] :where(.doneGuide, .doneReserve) {
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.5;
}

html[data-layout="kiosk21"] body[data-step="done"] .doneHomeBtn {
  min-width: min(420px, 100%);
  min-height: 80px;
  margin-bottom: var(--safe-bottom);
  touch-action: manipulation;
}

@media (max-width: 760px) {
  html[data-layout="kiosk21"] body[data-step="payment"] .paymentGrid {
    grid-template-columns: minmax(0, 1fr);
  }

  html[data-layout="kiosk21"] body[data-step="done"] .doneHomeBtn {
    width: 100%;
    min-width: 0;
  }
}

/* Keep kiosk touch targets immediate and stable without changing persistent
 * selected, disabled, loading, or validation states. */
html[data-layout="kiosk21"] :where(button, [role="button"], [onclick]) {
  transition: none !important;
  -webkit-tap-highlight-color: transparent;
}

html[data-layout="kiosk21"] :where(button, [role="button"], [onclick]):is(:hover, :active):not(:disabled),
html[data-layout="kiosk21"] :where(button, [role="button"], [onclick]):is(:hover, :active)::before,
html[data-layout="kiosk21"] :where(button, [role="button"], [onclick]):is(:hover, :active)::after {
  transform: none !important;
  filter: none !important;
  transition: none !important;
}

html[data-layout="kiosk21"] .ripple {
  display: none !important;
  animation: none !important;
}

/* The image-free home order-type cards use a stable, explicit selection frame. */
html[data-layout="kiosk21"] body[data-step="home"] .heroChoice,
html[data-layout="kiosk21"] body[data-step="home"] .heroChoice:hover {
  outline: 0;
  transform: none !important;
  box-shadow: 0 6px 16px rgba(61, 47, 29, 0.1) !important;
}

/* Selected option screens: full-width, single-column cards on kiosk21 only. */
html[data-layout="kiosk21"] body[data-step="promo"] .darkBenefitGrid {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 14px !important;
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
}

html[data-layout="kiosk21"] body[data-step="promo"] .darkBenefitCard {
  display: grid !important;
  grid-template-columns: 60px minmax(0, 1fr) minmax(150px, 220px) !important;
  grid-template-rows: auto auto !important;
  align-items: center !important;
  column-gap: 16px !important;
  row-gap: 3px !important;
  aspect-ratio: auto !important;
  width: 100%;
  min-height: 150px !important;
  padding: 14px 24px !important;
  overflow: visible;
}

html[data-layout="kiosk21"] body[data-step="promo"] .darkBenefitCard:hover,
html[data-layout="kiosk21"] body[data-step="promo"] .darkBenefitCard:active {
  transform: none !important;
}

html[data-layout="kiosk21"] body[data-step="promo"] .darkBenefitIcon {
  grid-column: 1 !important;
  grid-row: 1 / 3 !important;
  width: 60px;
  height: 60px;
  margin: 0;
}

html[data-layout="kiosk21"] body[data-step="promo"] .darkBenefitCard h2 {
  grid-column: 2 !important;
  grid-row: 1 !important;
  margin: 0;
  font-size: 30px !important;
  text-align: left !important;
}

html[data-layout="kiosk21"] body[data-step="promo"] .darkBenefitCard p {
  grid-column: 2 !important;
  grid-row: 2 !important;
  min-height: 0;
  margin: 0 !important;
  font-size: 18px !important;
  line-height: 1.3;
  overflow-wrap: anywhere;
  white-space: normal;
  text-align: left !important;
}

html[data-layout="kiosk21"] body[data-step="promo"] .darkBenefitPill,
html[data-layout="kiosk21"] body[data-step="promo"] .normalOrderGuide {
  margin: 0 !important;
  font-size: 20px !important;
  line-height: 1.25 !important;
  overflow-wrap: anywhere;
  white-space: normal;
}

html[data-layout="kiosk21"] body[data-step="promo"] .darkBenefitPill {
  grid-column: 3 !important;
  grid-row: 1 / 3 !important;
  text-align: center !important;
}

html[data-layout="kiosk21"] body[data-step="promo"] .normalOrderGuide {
  grid-column: 2 !important;
  grid-row: 3 !important;
  margin-top: 2px !important;
  text-align: left !important;
}

html[data-layout="kiosk21"] body[data-step="setChoice"] .darkSetGrid {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 20px !important;
  width: 100%;
  max-width: 100%;
}

html[data-layout="kiosk21"] body[data-step="setChoice"] .darkSetCard {
  display: grid !important;
  grid-template-columns: 210px minmax(0, 1fr) auto;
  grid-template-areas:
    "image badge price"
    "image title price"
    "image size action"
    "image desc action";
  gap: 8px 28px;
  align-items: center;
  aspect-ratio: auto !important;
  width: 100%;
  min-height: 220px !important;
  padding: 32px !important;
  text-align: left;
}

html[data-layout="kiosk21"] body[data-step="setChoice"] .darkSetCard:hover,
html[data-layout="kiosk21"] body[data-step="setChoice"] .darkSetCard:active {
  transform: none !important;
}

html[data-layout="kiosk21"] body[data-step="setChoice"] .darkSetComposition {
  grid-area: image;
  min-width: 0;
}

html[data-layout="kiosk21"] body[data-step="setChoice"] .darkSetComposition img {
  width: 100%;
  max-height: 170px;
  object-fit: contain;
}

html[data-layout="kiosk21"] body[data-step="setChoice"] .darkSetBadge {
  grid-area: badge;
  justify-self: start;
  font-size: 22px;
}

html[data-layout="kiosk21"] body[data-step="setChoice"] .darkSetCard h2 {
  grid-area: title;
  margin: 0;
  font-size: 38px;
}

html[data-layout="kiosk21"] body[data-step="setChoice"] .darkSetSize {
  grid-area: size;
  margin: 0;
  font-size: 25px;
}

html[data-layout="kiosk21"] body[data-step="setChoice"] .darkSetDesc {
  grid-area: desc;
  font-size: 23px;
  overflow-wrap: anywhere;
}

html[data-layout="kiosk21"] body[data-step="setChoice"] .darkSetPrice {
  grid-area: price;
  margin: 0;
  font-size: 32px;
  white-space: nowrap;
}

html[data-layout="kiosk21"] body[data-step="setChoice"] .darkSetSelect {
  grid-area: action;
  align-self: end;
  font-size: 22px;
}

html[data-layout="kiosk21"] body[data-step="size"] .grid.sizeGuideGrid.adaptiveCards {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 18px !important;
}

html[data-layout="kiosk21"] body[data-step="size"] .sizeGuideCard {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 10px 28px;
  justify-items: start;
  width: 100%;
  min-height: 190px !important;
  padding: 30px !important;
  text-align: left;
}

html[data-layout="kiosk21"] body[data-step="size"] .sizeGuideCard:hover,
html[data-layout="kiosk21"] body[data-step="size"] .sizeGuideCard:active {
  transform: none !important;
}

html[data-layout="kiosk21"] body[data-step="size"] .sizeGuideCard .sizeCode {
  grid-row: 1 / span 3;
  width: 78px;
  height: 78px;
  font-size: 44px;
}

html[data-layout="kiosk21"] body[data-step="size"] .sizeGuideCard h2 {
  margin: 0;
  font-size: 38px;
}

html[data-layout="kiosk21"] body[data-step="size"] .sizeGuideCard p {
  font-size: 24px;
  overflow-wrap: anywhere;
}

html[data-layout="kiosk21"] body[data-step="size"] .sizeGuideCard strong,
html[data-layout="kiosk21"] body[data-step="size"] .sizePromo {
  font-size: 28px;
}

html[data-layout="kiosk21"] body[data-step="mode"] .grid.two.modeChoiceGrid,
html[data-layout="kiosk21"] body[data-step="mode"] .optionButtons.two.modeOptionButtons {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 20px !important;
}

html[data-layout="kiosk21"] body[data-step="mode"] :where(.modeChoiceCard, .modeOptionButtons .optionBtn) {
  width: 100%;
  min-height: 230px !important;
  padding: 34px !important;
}

html[data-layout="kiosk21"] body[data-step="mode"] :where(.modeChoiceCard, .modeOptionButtons .optionBtn):active {
  transform: none !important;
}

html[data-layout="kiosk21"] body[data-step="mode"] :where(.modeChoiceCard h2, .modeMainLabel) {
  font-size: 40px;
}

html[data-layout="kiosk21"] body[data-step="mode"] :where(.modeChoiceCard p, .halfPrice) {
  font-size: 25px;
  overflow-wrap: anywhere;
  white-space: normal;
}

html[data-layout="kiosk21"] body[data-step="mode"] .disabledReason {
  font-size: 23px;
  overflow-wrap: anywhere;
  white-space: normal;
}

html[data-layout="kiosk21"] body[data-step="pizzaOptions"] .doughOptionSection {
  padding: 32px;
}

html[data-layout="kiosk21"] body[data-step="pizzaOptions"] .doughOptionSection .optionButtons {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 18px !important;
}

html[data-layout="kiosk21"] body[data-step="pizzaOptions"] .doughOptionSection .optionBtn {
  width: 100%;
  min-height: 200px !important;
  padding: 32px !important;
  font-size: 36px;
  overflow-wrap: anywhere;
  white-space: normal;
}

html[data-layout="kiosk21"] body[data-step="pizzaOptions"] .doughOptionSection .optionBtn:active {
  transform: none !important;
}

html[data-layout="kiosk21"] body[data-step="pizzaOptions"] .optionSetup {
  max-width: 980px;
}

html[data-layout="kiosk21"] body[data-step="pizzaOptions"] .optionSection,
html[data-layout="kiosk21"] body[data-step="pizzaOptions"] .doughOptionSection {
  padding: 18px;
  margin-bottom: 12px;
}

html[data-layout="kiosk21"] body[data-step="pizzaOptions"] .optionSection .optionButtons,
html[data-layout="kiosk21"] body[data-step="pizzaOptions"] .doughOptionSection .optionButtons {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

html[data-layout="kiosk21"] body[data-step="pizzaOptions"] .optionSection .optionBtn,
html[data-layout="kiosk21"] body[data-step="pizzaOptions"] .doughOptionSection .optionBtn {
  min-height: 104px !important;
  padding: 16px 10px !important;
  font-size: 28px;
}

html[data-layout="kiosk21"] body[data-step="accompaniment"] .grid.four.accompanimentGrid.adaptiveCards {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 18px !important;
}

html[data-layout="kiosk21"] body[data-step="accompaniment"] .textQtyCard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 24px;
  align-items: center;
  width: 100%;
  min-height: 156px !important;
  padding: 24px !important;
}

html[data-layout="kiosk21"] body[data-step="accompaniment"] .textQtyCard:active {
  transform: none !important;
}

html[data-layout="kiosk21"] body[data-step="accompaniment"] .textQtyCard h3 {
  margin: 0;
  font-size: 36px;
  overflow-wrap: anywhere;
}

html[data-layout="kiosk21"] body[data-step="accompaniment"] .textQtyCard .price {
  font-size: 29px;
}

html[data-layout="kiosk21"] body[data-step="accompaniment"] .textQtyCard .v5TapAddHint {
  font-size: 23px;
}

html[data-layout="kiosk21"] body[data-step="accompaniment"] .textQtyCard .qty {
  grid-row: 1 / span 3;
  grid-column: 2;
  grid-template-columns: 84px minmax(84px, 1fr) !important;
}

html[data-layout="kiosk21"] body[data-step="accompaniment"] .textQtyCard .qty button {
  width: 84px !important;
  min-width: 84px;
  height: 84px !important;
  min-height: 84px !important;
}

html[data-layout="kiosk21"] body[data-step="accompaniment"] .textQtyCard .qty b {
  min-width: 84px;
  min-height: 84px;
  font-size: 32px;
}

html[data-layout="kiosk21"] body[data-step="language"] .languageScreen {
  place-items: start center;
  align-content: start;
  width: 100%;
  min-width: 0;
  min-height: 100vh;
  padding: calc(30px + var(--safe-top)) 60px 72px;
}

html[data-layout="kiosk21"] body[data-step="language"] .languageScreen > .heroLogoDark {
  width: 403px !important;
  height: 281px !important;
  max-width: min(86vw, 403px) !important;
  margin: 0 auto 26px !important;
  filter: brightness(0) invert(1) !important;
}

html[data-layout="kiosk21"] body[data-step="language"] .languageScreen h1 {
  font-size: 46px;
}

html[data-layout="kiosk21"] body[data-step="language"] .languageScreen p {
  font-size: 24px;
}

html[data-layout="kiosk21"] body[data-step="language"] .languageGrid {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 16px !important;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

html[data-layout="kiosk21"] body[data-step="language"] .languageGrid button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-width: 0;
  min-height: 125px;
  padding: 22px 32px;
  font-size: 37px;
  overflow-wrap: anywhere;
  text-align: left;
  white-space: normal;
}

html[data-layout="kiosk21"] body[data-step="language"] .languageGrid button:active {
  transform: none !important;
}

html[data-layout="kiosk21"] body[data-step="language"] .languageGrid button[aria-current="true"] {
  border: 4px solid #ffd44e;
  background: rgba(255, 212, 78, 0.2);
  box-shadow: 0 0 0 6px rgba(255, 212, 78, 0.13);
}

html[data-layout="kiosk21"] body[data-step="language"] .languageSelectedMark {
  display: grid;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  margin-left: 20px;
  place-items: center;
  border-radius: 999px;
  background: #ffd44e;
  color: #17342a;
  font-size: 30px;
}

html[data-layout="kiosk21"] body[data-step="home"] .heroChoice:active {
  outline: 0 !important;
  transform: none !important;
}

html[data-layout="kiosk21"] body[data-step="home"] .heroChoice:focus-visible {
  outline: 5px solid currentColor !important;
  outline-offset: 3px;
}

html[data-layout="kiosk21"] body[data-step="home"] .app {
  min-height: 100vh;
  padding-bottom: 0 !important;
}

html[data-layout="kiosk21"] body[data-step="home"] .heroChoice.dinein h2 {
  color: #075f3d !important;
}

html[data-layout="kiosk21"] body[data-step="home"] .heroChoice.takeout h2 {
  color: #b5122b !important;
}

html[data-layout="kiosk21"] body[data-step="home"] .heroChoice .eyebrow {
  color: #111111 !important;
}

html[data-layout="kiosk21"] body[data-step="home"] .heroChoiceDescription {
  color: #3e4741 !important;
}

/* Kiosk home proportions: the merged main card height (220px/16.5vh/318px)
 * is enlarged by exactly 15%, while the existing three-column widths remain. */
html[data-layout="kiosk21"] body[data-step="home"] :where(
  .heroChoice,
  .heroChoice.dinein,
  .heroChoice.takeout
) {
  height: clamp(253px, 18.975vh, 365.7px) !important;
  min-height: clamp(253px, 18.975vh, 365.7px) !important;
}

html[data-layout="kiosk21"] body[data-step="home"] .heroPromo {
  min-height: 0 !important;
  height: auto !important;
  aspect-ratio: 4 / 3 !important;
  padding: 18px 14px !important;
}

html[data-layout="kiosk21"] body[data-step="home"] .heroPromoStrip {
  grid-auto-rows: auto !important;
  align-items: stretch !important;
}

/* Reservation picker uses the kiosk content width and two equal touch cards. */
html[data-layout="kiosk21"] body[data-step="reserve"] .reservePickerWheel {
  width: 100%;
  max-width: none;
}

html[data-layout="kiosk21"] body[data-step="reserve"] .reserveCards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

html[data-layout="kiosk21"] body[data-step="reserve"] .reserveCard {
  min-width: 0;
  padding: 24px;
  border: 3px solid #e1e5e1;
  border-radius: 24px;
  background: #fff;
}

html[data-layout="kiosk21"] body[data-step="reserve"] .reserveCard > b {
  display: block;
  margin-bottom: 18px;
  color: #d71920;
  font-size: 30px;
  font-weight: 1000;
  text-align: center;
}

html[data-layout="kiosk21"] body[data-step="reserve"] .reserveWheel {
  display: grid;
  max-height: 520px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
}

html[data-layout="kiosk21"] body[data-step="reserve"] .reserveWheel .optionBtn {
  min-height: 68px;
  font-size: 36px;
}

html[data-layout="kiosk21"] body[data-step="reserve"] .reserveSelection {
  display: grid;
  width: 100%;
  margin: 24px 0;
  padding: 22px;
  place-items: center;
  border-radius: 20px;
  background: #fff4f4;
}

html[data-layout="kiosk21"] body[data-step="reserve"] .reserveSelection span {
  font-size: 24px;
  font-weight: 900;
}

html[data-layout="kiosk21"] body[data-step="reserve"] .reserveSelection b {
  color: #d71920;
  font-size: 48px;
  font-weight: 1000;
}

html[data-layout="kiosk21"] body[data-step="reserve"] .reserveConfirm {
  width: 100%;
  min-height: 72px;
  border: 0;
  border-radius: 14px;
  font-size: 24px;
  font-weight: 900;
}

/* Cart detail view model reads existing catalog prices without changing cart. */
html[data-layout="kiosk21"] body[data-step="review"] .cartCategory {
  padding: 18px 0;
  border-bottom: 2px solid #e2e6e2;
}

html[data-layout="kiosk21"] body[data-step="review"] .cartCategory h2 {
  margin: 0 0 14px;
  color: #006b3c !important;
  font-size: 26px;
}

html[data-layout="kiosk21"] body[data-step="review"] :where(
  .cartBaseRow,
  .cartDetailRow,
  .cartOrderTotal
) {
  display: flex;
  min-width: 0;
  justify-content: space-between;
  gap: 24px;
  font-size: 24px;
}

html[data-layout="kiosk21"] body[data-step="review"] .cartItemSummary {
  display: grid;
  grid-template-columns: minmax(0, auto) auto minmax(12px, 1fr) auto;
  align-items: baseline;
  column-gap: 10px;
  width: 100%;
}

html[data-layout="kiosk21"] body[data-step="review"] .cartItemName {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

html[data-layout="kiosk21"] body[data-step="review"] :where(
  .cartItemQuantity,
  .cartItemPrice
) {
  white-space: nowrap;
}

html[data-layout="kiosk21"] body[data-step="review"] .cartItemPrice {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

html[data-layout="kiosk21"] body[data-step="review"] .cartDetailRow {
  padding: 7px 0 7px 28px;
  font-size: 20px;
}

html[data-layout="kiosk21"] body[data-step="review"] :where(
  .cartBaseRow,
  .cartDetailRow
) strong {
  flex: 0 0 auto;
  color: #d71920;
  white-space: nowrap;
}

html[data-layout="kiosk21"] body[data-step="review"] .cartOrderTotal {
  padding-top: 20px;
  font-size: 28px;
  font-weight: 1000;
}

html[data-layout="kiosk21"] body[data-step="review"] .cartBenefitRow {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0 0;
  color: #006b3c;
  font-size: 20px;
  font-weight: 900;
}

html[data-layout="kiosk21"] body[data-step="review"] .cartIncludedLabel {
  color: #006b3c !important;
}

/* Rapid phone entry must never resize, move, flash, or cast a new shadow. */
html[data-layout="kiosk21"] body[data-step="phone"] .keypad button,
html[data-layout="kiosk21"] body[data-step="phone"] .keypad button:active {
  transform: none !important;
  animation: none !important;
  filter: none !important;
  box-shadow: none !important;
  transition: none !important;
  -webkit-tap-highlight-color: transparent;
}

html[data-layout="kiosk21"] body[data-step="phone"] .keypad button:active {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  html[data-layout="kiosk21"] *,
  html[data-layout="kiosk21"] *::before,
  html[data-layout="kiosk21"] *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Use the kiosk card width without changing its established typography. */
html[data-layout="kiosk21"] body[data-step="review"] .stage {
  padding-top: 24px !important;
  padding-bottom: 24px !important;
}

html[data-layout="kiosk21"] body[data-step="review"] .reviewOrderCard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0 14px;
  margin: 10px 0;
  padding: 16px;
}

html[data-layout="kiosk21"] body[data-step="review"] .cartPizzaCategory,
html[data-layout="kiosk21"] body[data-step="review"] .cartOrderActions {
  grid-column: 1 / -1;
}

html[data-layout="kiosk21"] body[data-step="review"] .cartPizzaPriceBreakdown {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

html[data-layout="kiosk21"] body[data-step="review"] .reviewAddMore {
  margin: 10px 0;
  padding: 14px;
}

html[data-layout="kiosk21"] body[data-step="review"] .reviewDiscountBox {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
  margin-top: 10px;
  padding: 12px 15px;
}

html[data-layout="kiosk21"] body[data-step="review"] .reviewDiscountBox .final {
  grid-column: 1 / -1;
}

html[data-layout="kiosk21"] body[data-step="review"] .reviewConfirmBtn {
  margin-top: 10px;
}

html[data-layout="kiosk21"] body[data-step="review"] .cartOrderActions button {
  min-width: 56px;
  min-height: 56px;
}

html[data-layout="kiosk21"] body[data-step="review"].reviewCompact1 .reviewOrderList {
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

html[data-layout="kiosk21"] body[data-step="review"].reviewCompact1 .reviewOrderCard {
  padding: 10px 14px;
  font-size: 95%;
  line-height: 1.12;
}

html[data-layout="kiosk21"] body[data-step="review"].reviewCompact2 .reviewOrderList {
  gap: 6px;
}

html[data-layout="kiosk21"] body[data-step="review"].reviewCompact2 .reviewOrderCard {
  padding-block: 7px;
  font-size: 90%;
  line-height: 1.05;
}

html[data-layout="kiosk21"] body[data-step="pizzaOptions"] .stage {
  padding-bottom: 0 !important;
}
