:root{
  --device-type:default;
  --device-viewport:default;
  --device-orientation:landscape;
  --device-layout:default;
  --viewport-width:0px;
  --viewport-height:0px;
}
/* Drink and topping kiosk touch layout (presentation only). */
html body[data-step="drink"] .grid.drinkTextGrid,
html[data-layout] body[data-step="drink"] .grid.drinkTextGrid,
html[data-layout] body[data-step="drink"] .grid.v3DrinkGrid,
html[data-layout] body[data-step="drink"] #main .grid.drinkTextGrid {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 20px !important;
  width: 100%;
  max-width: 100%;
}

html body[data-step="drink"] .v3DrinkCard {
  min-height: 280px !important;
  aspect-ratio: auto !important;
  padding: 30px 36px !important;
  border: 3px solid transparent;
  transform: none !important;
}

html body[data-step="drink"] .v3DrinkCard.cola {
  background-image: linear-gradient(135deg, #d71920, #8f0910) !important;
}

html body[data-step="drink"] .v3DrinkCard.sprite {
  background-image: linear-gradient(135deg, #0aa64a, #07572b) !important;
}

html body[data-step="drink"] .v3DrinkCard.zero {
  background-image: linear-gradient(135deg, #202020, #090909) !important;
}

html body[data-step="drink"] .v3DrinkName {
  position: absolute;
  top: 50%;
  left: 36px;
  width: 40%;
  color: #fff;
  font-size: clamp(34px, 3.8vw, 40px);
  line-height: 1.15;
  font-weight: 1000;
  overflow-wrap: anywhere;
  text-align: left;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
  transform: translateY(-50%);
}

html body[data-step="drink"] .v3DrinkCard.active {
  border-color: #ffd21c;
  outline: 4px solid #063f2c;
  outline-offset: 0;
  box-shadow: 0 0 0 7px rgba(255, 210, 28, 0.35), 0 12px 28px rgba(19, 38, 28, 0.2);
}

html body[data-step="drink"] .v3DrinkControls {
  top: 24px;
  right: 30px;
  bottom: 24px;
  left: auto;
  width: 50%;
  height: auto;
  gap: 14px;
}

html body[data-step="drink"] .v3DrinkRow {
  min-height: 84px;
  grid-template-columns: 84px minmax(0, 1fr) 84px !important;
  border-radius: 18px;
}

html body[data-step="drink"] .v3DrinkRow button,
html body[data-step="drink"] .buttonOnlyQty .qty button {
  width: 84px !important;
  min-width: 84px !important;
  height: 84px !important;
  min-height: 84px !important;
  align-self: center;
  border-radius: 16px;
  font-size: 44px;
  transform: none !important;
}

html body[data-step="drink"] .v3DrinkRow button:active,
html body[data-step="drink"] .buttonOnlyQty .qty button:active {
  filter: brightness(0.82);
  transform: none !important;
}

html body[data-step="drink"] .v3DrinkVolume strong {
  font-size: 26px;
}

html body[data-step="drink"] .v3DrinkVolume small {
  margin-top: 5px;
  font-size: 28px;
}

html body[data-step="drink"] .v3DrinkVolume .v3DrinkQuantity {
  min-width: 94px;
  margin-top: 7px;
  padding: 6px 10px;
}

html body[data-step="drink"] .v3DrinkQuantity span {
  font-size: 18px;
}

html body[data-step="drink"] .v3DrinkQuantity strong {
  font-size: 32px !important;
}

html body[data-step="drink"] :where(.setDrinkTextCard, .textQtyCard) {
  min-height: 160px !important;
  padding: 26px 36px !important;
}

html body[data-step="drink"] :where(.setDrinkTextCard, .textQtyCard) h3 {
  height: auto !important;
  margin: 0 0 8px !important;
  font-size: 38px !important;
  line-height: 1.18 !important;
  overflow: visible !important;
  -webkit-line-clamp: unset !important;
}

html body[data-step="drink"] :where(.setDrinkTextCard, .textQtyCard) .price {
  font-size: 30px !important;
}

html body[data-step="drink"] :where(.drinkQuantityReadout, .setDrinkQuantity) strong {
  font-size: 32px !important;
}

html body[data-step="topping"] .selectionFooterSpacer {
  height: calc(
    var(--selection-footer-height) + var(--order-summary-height) + var(--safe-bottom) +
      var(--selection-footer-margin) + 40px
  ) !important;
}

html body[data-step="topping"] .selectionFooterCard {
  min-height: 88px !important;
  padding: 16px 30px !important;
}

html body[data-step="topping"] .selectionFooterCard h2 {
  font-size: 34px !important;
}

html body[data-step="topping"] .selectionFooterCard p {
  font-size: 20px !important;
}

html body:is([data-step="drink"], [data-step="topping"]) .selectionFooterCard {
  min-width: 0 !important;
  max-width: 100%;
  overflow: hidden;
}

html body:is([data-step="drink"], [data-step="topping"]) .selectionFooterCard :where(h2, p) {
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal !important;
}

@media (max-width: 700px) {
  html body[data-step="drink"] .grid.drinkTextGrid,
  html[data-layout] body[data-step="drink"] .grid.drinkTextGrid,
  html[data-layout] body[data-step="drink"] .grid.v3DrinkGrid,
  html[data-layout] body[data-step="drink"] #main .grid.drinkTextGrid {
    gap: 16px !important;
  }

  html body[data-step="drink"] .v3DrinkCard {
    min-height: 220px !important;
    padding: 22px 16px !important;
  }

  html body[data-step="drink"] .v3DrinkName {
    left: 18px;
    width: 32%;
    font-size: 26px;
  }

  html body[data-step="drink"] .v3DrinkControls {
    top: 14px;
    right: 12px;
    bottom: 14px;
    width: 59%;
    gap: 10px;
  }

  html body[data-step="drink"] .v3DrinkRow {
    min-height: 72px;
    grid-template-columns: 72px minmax(0, 1fr) 72px !important;
    border-radius: 14px;
  }

  html body[data-step="drink"] .v3DrinkRow button,
  html body[data-step="drink"] .buttonOnlyQty .qty button {
    width: 72px !important;
    min-width: 72px !important;
    height: 72px !important;
    min-height: 72px !important;
    border-radius: 13px;
    font-size: 38px;
  }

  html body[data-step="drink"] .v3DrinkVolume strong {
    font-size: 21px;
  }

  html body[data-step="drink"] .v3DrinkVolume small {
    font-size: 22px;
  }

  html body[data-step="drink"] .v3DrinkVolume .v3DrinkQuantity {
    min-width: 70px;
    margin-top: 4px;
    padding: 4px 6px;
  }

  html body[data-step="drink"] .v3DrinkQuantity span {
    font-size: 13px;
  }

  html body[data-step="drink"] .v3DrinkQuantity strong {
    font-size: 28px !important;
  }

  html body[data-step="drink"] :where(.setDrinkTextCard, .textQtyCard) {
    min-height: 150px !important;
    padding: 22px 20px !important;
  }

  html body[data-step="drink"] :where(.setDrinkTextCard, .textQtyCard) h3 {
    font-size: 30px !important;
  }

  html body[data-step="drink"] :where(.setDrinkTextCard, .textQtyCard) .price {
    font-size: 26px !important;
  }

  html body[data-step="topping"] .selectionFooterSpacer {
    height: calc(
      var(--selection-footer-height) + var(--order-summary-height) + var(--safe-bottom) +
        var(--selection-footer-margin) + 32px
    ) !important;
  }

  html body[data-step="topping"] .selectionFooterCard {
    min-height: 80px !important;
    padding: 12px 18px !important;
  }

  html body[data-step="topping"] .selectionFooterCard h2 {
    font-size: 30px !important;
  }

  html body[data-step="topping"] .selectionFooterCard p {
    font-size: 16px !important;
  }
}
