/* ==========================================================================
   Youtap POS Interactive Tablet Prototype (Section 03: From catalogue to checkout)
   Authentic Youtap POS design language using official Google Drive UI assets
   ========================================================================== */

.youtap-pos-section {
  max-width: 1240px;
  gap: clamp(14px, 2svh, 22px);
  padding: clamp(68px, 9svh, 96px) clamp(20px, 3.6vw, 56px) clamp(78px, 9.5svh, 102px);
}

.youtap-pos-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 20px;
}

.youtap-pos-header h2 {
  margin: 0;
  font-size: clamp(1.75rem, min(3.2vw, 4.8svh), 2.95rem);
  line-height: 1.02;
}

.youtap-pos-hint {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--case-border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--case-paper) 88%, #fff);
  color: var(--case-ink);
  font: 550 clamp(11.5px, 0.9vw, 13px)/1.2 var(--case-type, Satoshi-Variable, sans-serif);
}

.youtap-pos-hint__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #18a8d1;
  box-shadow: 0 0 0 3px rgba(24, 168, 209, 0.22);
  animation: ytDotPulse 2.4s ease-in-out infinite;
}

/* Dual-Device Synced Ecosystem Stage (Realistic 4:3 Tablet + 9:19.5 Smartphone) */
.youtap-ecosystem {
  --yt-cyan: #18a8d1;
  --yt-cyan-dark: #108fb4;
  --yt-teal: #1c3d4c;
  --yt-red: #e55353;
  --yt-orange: #f58220;
  --yt-green: #16a364;
  --yt-ice: #e8f7fb;
  --yt-surface: #ffffff;
  --yt-muted: #7c8b94;
  --yt-line: #e4edf1;
  --yt-ink: #16242c;
  --yt-ease: cubic-bezier(0.22, 1, 0.36, 1);

  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(18px, 2.6vw, 34px);
  width: 100%;
  font-family: var(--case-type, Satoshi-Variable, -apple-system, BlinkMacSystemFont, sans-serif);
  color: var(--yt-ink);
  box-sizing: border-box;
  user-select: none;
}

.youtap-ecosystem * {
  box-sizing: border-box;
}

/* Realistic 4:3 Landscape Tablet Hardware Frame */
.youtap-tablet {
  position: relative;
  flex: 0 1 auto;
  height: clamp(470px, 64svh, 580px);
  aspect-ratio: 4 / 3;
  width: auto;
  max-width: min(100%, 774px);
  padding: 12px 22px 12px 14px;
  border-radius: 26px;
  background: linear-gradient(155deg, #2b3339 0%, #14191d 48%, #20272d 100%);
  border: 1.5px solid rgba(155, 210, 224, 0.45);
  box-shadow:
    0 28px 64px -20px rgba(10, 44, 56, 0.36),
    0 6px 18px rgba(10, 44, 56, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 0.45s var(--yt-ease), box-shadow 0.45s var(--yt-ease);
}

.youtap-tablet:hover {
  transform: translateY(-2px);
  box-shadow:
    0 34px 70px -20px rgba(10, 44, 56, 0.4),
    0 8px 22px rgba(10, 44, 56, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

/* Subtle top volume/power hardware accents */
.youtap-tablet::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 52px;
  width: 34px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: #2f383f;
  box-shadow: 42px 0 0 #2f383f;
  pointer-events: none;
}

.youtap-tablet::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle at 35% 35%, #4a7c96, #0a1014 68%);
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.youtap-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  background: #f8fbfc;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(232px, 34.5%) minmax(0, 1fr);
}

.youtap-screen * {
  box-sizing: border-box;
}

/* ---------------- Left Column: Keranjang (Live Cart) ---------------- */
.yt-cart {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--yt-surface);
  border-right: 1px solid var(--yt-line);
}

.yt-cart__head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 12px 8px;
}

.yt-cart__title {
  margin: 0 auto 0 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--yt-ink);
  white-space: nowrap;
}

.yt-openbill-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 30px;
  padding: 0 9px;
  border: 0;
  border-radius: 7px;
  background: var(--yt-teal);
  color: #fff;
  font: 600 11px/1 inherit;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.16s ease, transform 0.14s ease;
}

.yt-openbill-btn:hover { background: #142f3b; }
.yt-openbill-btn:active { transform: scale(0.97); }

.yt-openbill-btn__badge {
  display: inline-grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--yt-orange);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}

.yt-trash-btn {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border: 0;
  border-radius: 7px;
  background: var(--yt-red);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.16s ease, transform 0.14s ease, opacity 0.16s ease;
}

.yt-trash-btn:hover { background: #d03e3e; }
.yt-trash-btn:active { transform: scale(0.95); }
.yt-trash-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.yt-cart__hint {
  margin: 0 14px 8px;
  font-size: 11.5px;
  color: var(--yt-muted);
}

.yt-cart__list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 2px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  scrollbar-width: thin;
  scrollbar-color: #cbd8df transparent;
}

.yt-cart__empty {
  margin: auto 12px;
  padding: 20px 14px;
  border: 1.5px dashed #d3e1e8;
  border-radius: 10px;
  text-align: center;
  color: var(--yt-muted);
  font-size: 12.5px;
  line-height: 1.45;
}

.yt-cart-item {
  width: 100%;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: start;
  gap: 9px;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.yt-cart-item:hover {
  background: #f2fafd;
  border-color: #cbeaf4;
}

.yt-cart-item__thumb {
  width: 44px;
  height: 36px;
  border-radius: 7px;
  object-fit: cover;
  background: var(--yt-ice);
  display: block;
}

.yt-cart-item__thumb--manual {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #18a8d1, #0d7ea1);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.yt-cart-item__info {
  min-width: 0;
}

.yt-cart-item__name {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--yt-ink);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yt-cart-item__meta {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--yt-muted);
  font-variant-numeric: tabular-nums;
}

.yt-cart-item__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 5px;
}

.yt-cart-item__pill {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--yt-orange);
  color: #fff;
  font-size: 9.5px;
  font-weight: 600;
  line-height: 1.2;
}

.yt-cart-item__price {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--yt-cyan);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
}

/* Member ID row */
.yt-member {
  padding: 6px 12px 8px;
}

.yt-member__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 7px;
  background: #c2ccd1;
  color: #fff;
  font: 600 11px/1 inherit;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.16s ease;
}

.yt-member__btn:hover { background: #9db0ba; }

.yt-member__btn.is-active {
  background: #e6f6ee;
  color: #0e6f48;
  border: 1px solid #a9e0c6;
  justify-content: space-between;
}

.yt-member__form {
  display: flex;
  gap: 6px;
}

.yt-member__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 34px;
  padding: 0 10px;
  border: 1px solid #b8d8e3;
  border-radius: 7px;
  font: 500 12px/1 inherit;
  color: var(--yt-ink);
  background: #fff;
}

.yt-member__apply {
  height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 7px;
  background: var(--yt-cyan);
  color: #fff;
  font: 650 12px/1 inherit;
  cursor: pointer;
}

/* Cart Checkout Footer */
.yt-cart__foot {
  padding: 9px 11px 11px;
  background: var(--yt-ice);
  border-top: 1px solid #d5edf5;
  border-radius: 14px 14px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.yt-cart__summary {
  min-width: 0;
}

.yt-charge-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 7px;
  border: 0;
  border-radius: 5px;
  background: #dff2c4;
  color: #1c3d4c;
  font: 650 10px/1.2 inherit;
  white-space: nowrap;
  cursor: pointer;
  font-variant-numeric: tabular-nums;
  margin-bottom: 4px;
  transition: background-color 0.15s ease;
}

.yt-charge-chip:hover { background: #cde8a8; }

.yt-charge-chip.is-off {
  background: rgba(28, 61, 76, 0.1);
  color: var(--yt-teal);
}

.yt-cart__total-row {
  display: flex;
  align-items: baseline;
  gap: 5px;
  white-space: nowrap;
}

.yt-cart__total-label {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--yt-cyan-dark);
}

.yt-cart__total-val {
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--yt-teal);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.yt-pay-btn {
  flex: none;
  height: 40px;
  min-width: 86px;
  padding: 0 14px;
  border: 0;
  border-radius: 9px;
  background: var(--yt-cyan);
  color: #fff;
  font: 800 13px/1 inherit;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 6px 14px -4px rgba(24, 168, 209, 0.55);
  transition: background-color 0.16s ease, transform 0.14s ease, opacity 0.16s ease;
}

.yt-pay-btn:hover:not(:disabled) { background: var(--yt-cyan-dark); }
.yt-pay-btn:active:not(:disabled) { transform: scale(0.97); }
.yt-pay-btn:disabled { opacity: 0.42; cursor: not-allowed; box-shadow: none; }

/* ---------------- Right Column: Daftar Produk & Input Manual ---------------- */
.yt-main {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #f9fbfc;
}

.yt-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px 8px;
}

.yt-mode-tabs {
  margin: 0 auto;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 2px;
  border-radius: 9px;
  background: #d7dce0;
}

.yt-mode-tab {
  min-width: 126px;
  height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #364751;
  font: 650 12.5px/1 inherit;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.yt-mode-tab.is-active {
  background: var(--yt-cyan);
  color: #fff;
  box-shadow: 0 3px 8px rgba(24, 168, 209, 0.3);
}

.yt-menu-btn {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: var(--yt-cyan);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.16s ease;
}

.yt-menu-btn:hover { background: var(--yt-cyan-dark); }

/* Category & Search Strip */
.yt-filters {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 16px 10px;
}

.yt-cats {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1 1 auto;
}

.yt-cats::-webkit-scrollbar { display: none; }

.yt-cat {
  flex: none;
  height: 29px;
  padding: 0 13px;
  border: 0;
  border-radius: 999px;
  background: #c5ced3;
  color: #fff;
  font: 600 11.5px/1 inherit;
  cursor: pointer;
  transition: background-color 0.16s ease, transform 0.12s ease;
}

.yt-cat:hover { background: #a8b7bf; }
.yt-cat.is-active { background: var(--yt-cyan); }

.yt-search-wrap {
  flex: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.yt-search-input {
  width: 140px;
  height: 30px;
  padding: 0 10px;
  border: 1.5px solid #c3dce5;
  border-radius: 999px;
  background: #fff;
  color: var(--yt-ink);
  font: 500 12px/1 inherit;
  outline: none;
  transition: border-color 0.15s ease, width 0.2s ease;
}

.yt-search-input:focus {
  border-color: var(--yt-cyan);
  width: 168px;
}

.yt-search-btn {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1.5px solid #2c4755;
  border-radius: 50%;
  background: #fff;
  color: #2c4755;
  cursor: pointer;
}

/* Product Grid — 3 balanced columns inside realistic 4:3 tablet */
.yt-grid {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 6px 14px 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  gap: 10px;
  scrollbar-width: thin;
  scrollbar-color: #cbd8df transparent;
}

.yt-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid #e7eff2;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(20, 55, 65, 0.06);
  text-align: left;
  cursor: pointer;
  overflow: visible;
  transition: transform 0.24s var(--yt-ease), box-shadow 0.24s var(--yt-ease), border-color 0.2s ease;
}

.yt-card:hover {
  transform: translateY(-3px);
  border-color: #82d4eb;
  box-shadow: 0 10px 20px -6px rgba(16, 143, 180, 0.26);
}

.yt-card:active { transform: scale(0.96); }

.yt-card__img-wrap {
  width: 100%;
  aspect-ratio: 244 / 180;
  border-radius: 9px 9px 0 0;
  overflow: hidden;
  background: #f4f7f8;
}

.yt-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yt-card__body {
  padding: 7px 8px 9px;
}

.yt-card__price {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--yt-cyan);
  font-variant-numeric: tabular-nums;
}

.yt-card__name {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 600;
  color: #24333b;
  line-height: 1.24;
}

.yt-card__badge {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--yt-orange);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 3px 8px rgba(245, 130, 32, 0.45);
  border: 2px solid #fff;
}

.yt-card__promo {
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(229, 83, 83, 0.92);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* Input Manual Keypad (matches mobile_manual.png) */
.yt-manual {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 4px 16px 14px;
  gap: 10px;
}

.yt-manual__display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--yt-line);
}

.yt-manual__note {
  width: 44%;
  border: 0;
  outline: none;
  font: 600 13px/1.2 inherit;
  color: var(--yt-ink);
  background: transparent;
}

.yt-manual__val {
  font-size: 24px;
  font-weight: 800;
  color: var(--yt-teal);
  font-variant-numeric: tabular-nums;
}

.yt-keypad {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.yt-key {
  border: 1px solid #e3ecef;
  border-radius: 9px;
  background: #fff;
  color: var(--yt-ink);
  font: 700 19px/1 inherit;
  cursor: pointer;
  transition: background-color 0.12s ease, transform 0.1s ease;
}

.yt-key:hover { background: #eff8fb; }
.yt-key:active { transform: scale(0.97); }

.yt-key--dark {
  background: var(--yt-teal);
  border-color: var(--yt-teal);
  color: #fff;
  font-size: 14px;
}

.yt-key--dark:hover { background: #142f3b; }

.yt-key--add {
  grid-row: span 2;
  background: var(--yt-cyan);
  border-color: var(--yt-cyan);
  color: #fff;
  font-size: 28px;
}

.yt-key--add:hover { background: var(--yt-cyan-dark); }

/* ---------------- Overlays inside Tablet Screen ---------------- */
.yt-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  background: rgba(33, 38, 42, 0.78);
  backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 24px;
  gap: 10px;
}

.yt-overlay[hidden] { display: none; }

/* Add-On / Customization Modal (matches tablet_addon.png) */
.yt-addon-card {
  width: min(100%, 730px);
  max-height: calc(100% - 54px);
  display: grid;
  grid-template-columns: 44% 56%;
  gap: 16px;
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.yt-addon-left {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.yt-addon-img {
  width: 100%;
  aspect-ratio: 244 / 172;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}

.yt-addon-title {
  margin: 12px 0 3px;
  font-size: 19px;
  font-weight: 700;
  color: var(--yt-ink);
  letter-spacing: -0.02em;
}

.yt-addon-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--yt-cyan);
  font-variant-numeric: tabular-nums;
}

.yt-addon-desc {
  margin: 8px 0 12px;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--yt-muted);
}

.yt-stepper {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 76px 1fr;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--yt-cyan);
  box-shadow: 0 4px 12px rgba(24, 168, 209, 0.32);
}

.yt-stepper button {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
}

.yt-stepper button:hover { background: rgba(0, 0, 0, 0.08); }

.yt-stepper__val {
  display: grid;
  place-items: center;
  background: #fff;
  margin: 3px 0;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 800;
  color: var(--yt-ink);
  font-variant-numeric: tabular-nums;
}

.yt-addon-right {
  min-height: 0;
  overflow-y: auto;
  padding: 12px 14px;
  border-radius: 12px;
  background: #edf9fc;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scrollbar-width: thin;
}

.yt-opt-group__head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}

.yt-opt-group__title {
  font-size: 13px;
  font-weight: 700;
  color: var(--yt-ink);
}

.yt-opt-group__sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--yt-cyan-dark);
}

.yt-opt-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.yt-opt-row {
  width: 100%;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px 11px;
  border: 1px solid #dfeef3;
  border-radius: 8px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(20, 55, 65, 0.04);
  transition: border-color 0.14s ease, background-color 0.14s ease;
}

.yt-opt-row:hover { border-color: var(--yt-cyan); }
.yt-opt-row.is-selected { border-color: var(--yt-cyan); background: #f3fbfe; }
.yt-opt-row.is-disabled { opacity: 0.48; cursor: not-allowed; }

.yt-opt-dot {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 2px solid #b8c6ce;
  display: grid;
  place-items: center;
}

.yt-opt-dot--check { border-radius: 4px; }

.yt-opt-row.is-selected .yt-opt-dot {
  border-color: var(--yt-cyan);
  background: var(--yt-cyan);
}

.yt-opt-row.is-selected .yt-opt-dot::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}

.yt-opt-row.is-selected .yt-opt-dot--check::after {
  width: 8px;
  height: 5px;
  border-radius: 0;
  background: transparent;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px);
}

.yt-opt-name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--yt-ink);
}

.yt-opt-price {
  font-size: 12px;
  font-weight: 700;
  color: var(--yt-cyan);
  font-variant-numeric: tabular-nums;
}

.yt-addon-actions {
  width: min(100%, 730px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.yt-addon-save {
  height: 40px;
  min-width: 170px;
  padding: 0 22px;
  border: 0;
  border-radius: 9px;
  background: var(--yt-cyan);
  color: #fff;
  font: 700 13.5px/1 inherit;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(24, 168, 209, 0.35);
  transition: background-color 0.16s ease, transform 0.14s ease;
}

.yt-addon-save:hover { background: var(--yt-cyan-dark); }
.yt-addon-save:active { transform: scale(0.98); }

/* Payment, Receipt & Open Bill Sheet inside Tablet */
.yt-sheet {
  width: min(100%, 520px);
  max-height: 100%;
  overflow-y: auto;
  padding: 18px 20px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.yt-sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.yt-sheet__back {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 7px;
  background: #c5ced3;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.yt-sheet__title {
  margin: 0 auto;
  font-size: 16px;
  font-weight: 700;
  color: var(--yt-ink);
}

.yt-pay-total {
  text-align: center;
  padding: 6px 0 2px;
}

.yt-pay-total small {
  display: block;
  font-size: 12px;
  color: var(--yt-muted);
}

.yt-pay-total strong {
  display: block;
  margin: 2px 0 6px;
  font-size: 28px;
  font-weight: 800;
  color: var(--yt-teal);
  font-variant-numeric: tabular-nums;
}

.yt-pay-total span {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  background: #e1e6e9;
  font-size: 11.5px;
  font-weight: 600;
  color: #364751;
}

.yt-pay-methods {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--yt-line);
  border-radius: 12px;
  overflow: hidden;
}

.yt-pay-method {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 0;
  border-bottom: 1px solid var(--yt-line);
  background: #fff;
  color: var(--yt-ink);
  font: 650 13px/1.2 inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.14s ease;
}

.yt-pay-method:last-child { border-bottom: 0; }
.yt-pay-method:hover { background: #f0f9fc; }

.yt-pay-method__icon {
  color: var(--yt-cyan);
  display: grid;
  place-items: center;
}

/* QRIS & Cash Subviews */
.yt-qris-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  background: #f5fbfd;
  border: 1px solid #d5edf5;
  text-align: center;
}

.yt-qris-svg {
  width: 152px;
  height: 152px;
  padding: 8px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #d5edf5;
}

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

.yt-cash-chip {
  height: 36px;
  border: 1px solid #cde5ee;
  border-radius: 8px;
  background: #f3fbfe;
  color: var(--yt-teal);
  font: 700 12px/1 inherit;
  cursor: pointer;
  font-variant-numeric: tabular-nums;
}

.yt-cash-chip.is-active,
.yt-cash-chip:hover {
  background: var(--yt-cyan);
  border-color: var(--yt-cyan);
  color: #fff;
}

.yt-cash-change {
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 9px;
  background: var(--yt-ice);
  font-size: 13px;
  font-weight: 700;
  color: var(--yt-teal);
}

/* Receipt */
.yt-receipt__check {
  width: 46px;
  height: 46px;
  margin: 0 auto;
  border-radius: 50%;
  border: 3px solid var(--yt-cyan);
  color: var(--yt-cyan);
  display: grid;
  place-items: center;
}

.yt-receipt__heading {
  margin: 0;
  text-align: center;
  font-size: 19px;
  font-weight: 800;
  color: var(--yt-teal);
}

.yt-receipt__lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f8fbfc;
  border: 1px solid var(--yt-line);
  font-size: 12px;
}

.yt-receipt__row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-variant-numeric: tabular-nums;
}

.yt-receipt__row--sep {
  padding-top: 6px;
  border-top: 1px solid var(--yt-line);
}

.yt-receipt__row--total {
  padding-top: 7px;
  border-top: 1.5px solid var(--yt-teal);
  font-size: 14px;
  font-weight: 800;
  color: var(--yt-teal);
}

.yt-receipt__disc { color: var(--yt-red); font-weight: 700; }

.yt-sheet__cta {
  width: 100%;
  height: 42px;
  border: 0;
  border-radius: 9px;
  background: var(--yt-cyan);
  color: #fff;
  font: 700 13.5px/1 inherit;
  cursor: pointer;
}

.yt-sheet__cta--dark { background: var(--yt-teal); }
.yt-sheet__cta:hover { filter: brightness(0.95); }

.yt-bill-card {
  border: 1px solid var(--yt-line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.yt-bill-card__top {
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.yt-bill-card__name { font-size: 14px; font-weight: 700; color: var(--yt-ink); }
.yt-bill-card__meta { font-size: 11px; color: var(--yt-muted); }

.yt-bill-card__cta {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border: 0;
  background: var(--yt-cyan);
  color: #fff;
  font: 700 12.5px/1 inherit;
  cursor: pointer;
}

.yt-bill-card__cta span {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(16, 100, 128, 0.35);
  font-variant-numeric: tabular-nums;
}

/* Toast notification inside screen */
.yt-toast {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 30;
  transform: translate(-50%, 10px);
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--yt-teal);
  color: #fff;
  font: 600 12px/1 inherit;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

/* ==========================================================================
   Companion Smartphone Frame (Realistic 9:19.5 Youtap Mobile & QRIS App)
   ========================================================================== */
.youtap-phone {
  position: relative;
  flex: 0 0 auto;
  height: clamp(445px, 60svh, 548px);
  aspect-ratio: 9 / 19.5;
  width: auto;
  padding: 9px;
  border-radius: 38px;
  background: linear-gradient(160deg, #2d363d 0%, #11161a 46%, #1f272d 100%);
  border: 1.5px solid rgba(155, 210, 224, 0.44);
  box-shadow:
    0 28px 58px -18px rgba(10, 44, 56, 0.4),
    0 6px 18px rgba(10, 44, 56, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  transition: transform 0.45s var(--yt-ease), box-shadow 0.45s var(--yt-ease);
}

.youtap-phone:hover {
  transform: translateY(-3px);
  box-shadow:
    0 34px 66px -18px rgba(10, 44, 56, 0.46),
    0 8px 24px rgba(10, 44, 56, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

/* Machined side buttons */
.youtap-phone::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 96px;
  width: 3px;
  height: 28px;
  border-radius: 3px 0 0 3px;
  background: #2f3840;
  box-shadow: 0 36px 0 #2f3840;
  pointer-events: none;
}

.youtap-phone::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 118px;
  width: 3px;
  height: 44px;
  border-radius: 0 3px 3px 0;
  background: #2f3840;
  pointer-events: none;
}

.yt-phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  background: #f5fafc;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Status bar + Dynamic Island */
.yt-phone-status {
  position: relative;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 16px 6px;
  background: var(--yt-teal);
  color: #fff;
  font: 700 10.5px/1 inherit;
  font-variant-numeric: tabular-nums;
}

.yt-phone-island {
  position: absolute;
  left: 50%;
  top: 7px;
  transform: translateX(-50%);
  width: 64px;
  height: 17px;
  border-radius: 999px;
  background: #0a0f12;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.yt-phone-icons {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  opacity: 0.9;
}

/* Phone App Header */
.yt-phone-head {
  flex: none;
  padding: 6px 13px 10px;
  background: linear-gradient(180deg, var(--yt-teal) 0%, #154e63 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.yt-phone-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.yt-phone-brand__kicker {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7ee3f8;
}

.yt-phone-sync-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3be898;
  box-shadow: 0 0 8px #3be898;
  animation: ytDotPulse 2s ease-in-out infinite;
}

.yt-phone-brand__name {
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yt-phone-cartpill {
  flex: none;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 10px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  animation: ytBadgePop 0.34s var(--yt-ease);
}

/* Phone Body */
.yt-phone-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 10px 11px 12px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  scrollbar-width: none;
  animation: ytPhoneViewIn 0.28s var(--yt-ease);
}

.yt-phone-body::-webkit-scrollbar { display: none; }

/* QRIS Tab */
.yt-phone-qris-card {
  background: #fff;
  border: 1px solid #d9ebf2;
  border-radius: 15px;
  padding: 11px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  box-shadow: 0 8px 20px -10px rgba(16, 84, 108, 0.2);
}

.yt-phone-qris-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 700;
  color: var(--yt-teal);
}

.yt-phone-qris-tag {
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--yt-ice);
  color: var(--yt-cyan-dark);
  font-size: 9px;
}

.yt-phone-qrframe {
  position: relative;
  width: 132px;
  height: 132px;
  padding: 8px;
  border-radius: 12px;
  border: 1.5px solid #cbe6f0;
  background: #fff;
  overflow: hidden;
}

.yt-phone-qrframe .yt-qris-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.yt-phone-scanline {
  position: absolute;
  left: 6px;
  right: 6px;
  height: 2.5px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #18a8d1, #5cf0ff, #18a8d1, transparent);
  box-shadow: 0 0 10px rgba(24, 168, 209, 0.75);
  animation: ytScanline 2.4s ease-in-out infinite;
  pointer-events: none;
}

.yt-phone-amount {
  text-align: center;
}

.yt-phone-amount small {
  display: block;
  font-size: 9.5px;
  color: var(--yt-muted);
}

.yt-phone-amount strong {
  display: block;
  margin-top: 2px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--yt-teal);
  font-variant-numeric: tabular-nums;
}

.yt-phone-lines {
  width: 100%;
  border-radius: 11px;
  background: #fff;
  border: 1px solid #e4eff4;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.yt-phone-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  font-size: 10.5px;
  color: #344752;
}

.yt-phone-line__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}

.yt-phone-line__val {
  flex: none;
  font-weight: 700;
  color: var(--yt-cyan-dark);
  font-variant-numeric: tabular-nums;
}

.yt-phone-cta {
  width: 100%;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #18a8d1, #0f88ad);
  color: #fff;
  font: 700 11.5px/1 inherit;
  cursor: pointer;
  box-shadow: 0 8px 16px -6px rgba(24, 168, 209, 0.55);
  transition: transform 0.18s var(--yt-ease), filter 0.18s ease, opacity 0.18s ease;
}

.yt-phone-cta:hover:not(:disabled) { filter: brightness(1.05); transform: translateY(-1px); }
.yt-phone-cta:active:not(:disabled) { transform: scale(0.97); }
.yt-phone-cta:disabled { opacity: 0.45; cursor: not-allowed; box-shadow: none; }

/* Phone Paid Success State */
.yt-phone-paid {
  margin: auto 0;
  padding: 16px 12px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #bcead4;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  animation: ytCheckPop 0.38s var(--yt-ease);
}

.yt-phone-paid__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1ec97d, #129c5e);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 22px -6px rgba(22, 163, 100, 0.55);
}

.yt-phone-paid h5 {
  margin: 2px 0 0;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--yt-teal);
}

.yt-phone-paid strong {
  font-size: 18px;
  font-weight: 800;
  color: var(--yt-green);
  font-variant-numeric: tabular-nums;
}

.yt-phone-paid small {
  font-size: 10px;
  color: var(--yt-muted);
}

/* Phone Pocket Menu Tab */
.yt-phone-cats {
  display: flex;
  gap: 5px;
}

.yt-phone-cat {
  flex: 1 1 0;
  height: 24px;
  border: 0;
  border-radius: 999px;
  background: #dce8ee;
  color: #3b5360;
  font: 650 10px/1 inherit;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.yt-phone-cat.is-active {
  background: var(--yt-cyan);
  color: #fff;
}

.yt-phone-menugrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.yt-phone-dish {
  position: relative;
  padding: 0;
  border: 1px solid #e2edf2;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s var(--yt-ease), border-color 0.18s ease, box-shadow 0.2s ease;
}

.yt-phone-dish:hover {
  transform: translateY(-2px);
  border-color: #82d4eb;
  box-shadow: 0 6px 14px -6px rgba(16, 143, 180, 0.3);
}

.yt-phone-dish:active { transform: scale(0.95); }

.yt-phone-dish__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.yt-phone-dish__body {
  padding: 5px 6px 6px;
}

.yt-phone-dish__name {
  display: block;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--yt-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yt-phone-dish__price {
  display: block;
  margin-top: 2px;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--yt-cyan-dark);
  font-variant-numeric: tabular-nums;
}

.yt-phone-dish__plus {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: rgba(24, 168, 209, 0.92);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 6px rgba(10, 44, 56, 0.28);
}

/* Phone Omzet (Live Merchant Sales Tracker) Tab */
.yt-phone-revcard {
  border-radius: 14px;
  padding: 12px;
  background: linear-gradient(135deg, #133b4a 0%, #157796 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.yt-phone-revcard small {
  font-size: 9.5px;
  opacity: 0.8;
}

.yt-phone-revcard strong {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.yt-phone-revmeta {
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9.5px;
  color: #8eeeff;
}

.yt-phone-chart {
  background: #fff;
  border: 1px solid #e3eef3;
  border-radius: 12px;
  padding: 10px 10px 8px;
}

.yt-phone-chart__title {
  font-size: 10px;
  font-weight: 700;
  color: var(--yt-teal);
  margin-bottom: 8px;
}

.yt-phone-bars {
  height: 76px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 6px;
}

.yt-phone-barcol {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  height: 100%;
  justify-content: flex-end;
}

.yt-phone-bar {
  width: 100%;
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, #18a8d1, #0d7291);
  transition: height 0.5s var(--yt-ease);
}

.yt-phone-bar.is-now {
  background: linear-gradient(180deg, #ff9938, #f57214);
}

.yt-phone-barlbl {
  font-size: 8.5px;
  color: var(--yt-muted);
  font-variant-numeric: tabular-nums;
}

.yt-phone-feed {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.yt-phone-tx {
  background: #fff;
  border: 1px solid #e5f0f4;
  border-radius: 10px;
  padding: 7px 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 10px;
  animation: ytPhoneViewIn 0.3s var(--yt-ease);
}

.yt-phone-tx__meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.yt-phone-tx__meta strong { color: var(--yt-ink); font-size: 10.5px; }
.yt-phone-tx__meta span { color: var(--yt-muted); font-size: 9px; }

.yt-phone-tx__val {
  font-weight: 800;
  color: var(--yt-green);
  font-variant-numeric: tabular-nums;
}

/* Phone Bottom Navigation Bar + Home Gesture Pill */
.yt-phone-nav {
  flex: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 6px 8px 4px;
  background: #fff;
  border-top: 1px solid #e3eef2;
}

.yt-phone-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 5px 4px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #708590;
  font: 700 9.5px/1 inherit;
  cursor: pointer;
  transition: background-color 0.2s var(--yt-ease), color 0.2s ease, transform 0.16s ease;
}

.yt-phone-tab:active { transform: scale(0.94); }

.yt-phone-tab.is-active {
  background: var(--yt-ice);
  color: var(--yt-cyan-dark);
}

.yt-phone-homebar {
  flex: none;
  height: 12px;
  background: #fff;
  display: grid;
  place-items: center;
}

.yt-phone-homebar::after {
  content: "";
  width: 72px;
  height: 3.5px;
  border-radius: 999px;
  background: #cbd6dc;
}

/* Smooth Keyframe Micro-Motion */
@keyframes ytDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.65; transform: scale(0.86); }
}

@keyframes ytScanline {
  0%, 100% { top: 10px; opacity: 0.7; }
  50% { top: calc(100% - 12px); opacity: 1; }
}

@keyframes ytPhoneViewIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes ytBadgePop {
  0% { transform: scale(0.86); }
  60% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

@keyframes ytCheckPop {
  0% { opacity: 0; transform: scale(0.9); }
  65% { opacity: 1; transform: scale(1.03); }
  100% { opacity: 1; transform: scale(1); }
}

/* Mobile Responsive Layout */
.yt-mobile-bar { display: none; }
.yt-mobile-back { display: none; }

@media (max-width: 1080px) {
  .youtap-ecosystem {
    gap: 16px;
  }
  .youtap-tablet {
    height: clamp(430px, 56svh, 520px);
  }
  .youtap-phone {
    height: clamp(410px, 53svh, 496px);
  }
}

@media (max-width: 900px), (max-width: 1024px) and (max-height: 650px) {
  .yt-mobile-back {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 7px;
    background: #dbe6ec;
    color: var(--yt-teal);
    font: 700 15px/1 inherit;
    cursor: pointer;
  }
  .youtap-pos-section {
    padding: clamp(28px, 6svh, 48px) clamp(8px, 2.5vw, 18px) 84px;
    width: 100%;
    max-width: 100%;
  }
  .youtap-ecosystem {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .youtap-tablet {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: auto;
    padding: 8px;
    border-radius: 18px;
    overflow: hidden;
  }
  .youtap-tablet::before,
  .youtap-tablet::after { display: none; }
  .youtap-phone {
    width: min(100%, 290px);
    height: 520px;
    aspect-ratio: auto;
  }
  .youtap-screen {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    min-height: 540px;
    max-height: 74svh;
  }
  .yt-main,
  .yt-cart {
    min-width: 0;
    width: 100%;
  }
  .yt-cart {
    display: none;
    border-right: 0;
  }
  .youtap-screen[data-mobile-view="cart"] .yt-cart { display: flex; }
  .youtap-screen[data-mobile-view="cart"] .yt-main { display: none; }
  .yt-topbar {
    padding: 10px 10px 6px;
    gap: 8px;
  }
  .yt-mode-tabs {
    margin: 0;
    flex: 1 1 auto;
  }
  .yt-mode-tab {
    min-width: 0;
    padding: 0 8px;
    font-size: 11.5px;
  }
  .yt-filters {
    flex-wrap: wrap;
    padding: 4px 10px 8px;
  }
  .yt-cats {
    width: 100%;
  }
  .yt-search-wrap {
    width: 100%;
  }
  .yt-search-input,
  .yt-search-input:focus {
    flex: 1 1 auto;
    width: 100%;
  }
  .yt-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 6px 10px 68px;
  }
  .yt-mobile-bar {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 12;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 12px;
    background: var(--yt-teal);
    color: #fff;
    box-shadow: 0 10px 24px rgba(10, 44, 56, 0.34);
  }
  .youtap-screen[data-mobile-view="cart"] .yt-mobile-bar { display: none; }
  .yt-mobile-bar__btn {
    border: 0;
    border-radius: 8px;
    padding: 8px 14px;
    background: var(--yt-cyan);
    color: #fff;
    font: 700 12px/1 inherit;
    cursor: pointer;
  }
  .yt-addon-card {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }
  .yt-addon-img { max-height: 150px; }
}

@media (prefers-reduced-motion: reduce) {
  .youtap-pos-hint__dot,
  .yt-phone-sync-dot,
  .yt-phone-scanline,
  .yt-phone-body,
  .yt-phone-cartpill,
  .yt-phone-paid,
  .yt-phone-tx {
    animation: none;
  }
  .youtap-tablet,
  .youtap-phone,
  .yt-card,
  .yt-phone-dish,
  .yt-phone-cta,
  .yt-phone-tab,
  .yt-phone-bar {
    transition: none;
  }
}
