﻿/* =============================================================    Brick & Oak Pizza Co. — Kiosk stylesheet (Direction A: Quick Counter)    Cream canvas + terracotta accent, Playfair Display for headings,    Inter for body. Touch-target focused, full-bleed, no zoom.    Tablet-first; assumes landscape with a touchscreen.     Spacing rules (the user is sensitive to overlap/clipping):    - .kiosk-main is the only flex container; everything inside      participates in a strict grid or column with explicit gaps.    - The right cart column is fixed 360px and the items grid has      `padding-right: 0` (the cart is in a sibling column, not      overlay), so the two never touch.    - All text containers use `min-width: 0` and      `overflow-wrap: anywhere` to prevent long names pushing the      layout.    - Headings use tight `line-height: 1.1`; body uses      `line-height: 1.4`; descriptions use `line-height: 1.35`.    ============================================================= */  :root {     --bg:           #FBF7F0;   /* warm cream canvas */     --bg-tint:      #F3ECDF;   /* slightly darker tint */     --surface:      #FFFFFF;     --ink:          #1a1a1a;     --ink-mid:      #555;     --ink-faint:    #888;     --line:         #E8DFD0;     --accent:       #B45309;   /* Brick & Oak terracotta */     --accent-soft:  #D97706;     --accent-dark:  #92400E;     --accent-cream: #FEF3C7;   /* highlighted name field */     --popular:      #C87434;   /* warm amber "Popular" badge */     --success:      #2d7a2d;     --danger:       #b00020;      --tap:          64px;     --tap-lg:       88px;     --r-sm:         8px;     --r-md:         14px;     --r-lg:         18px;      --cart-w:       360px;     /* always-visible right column */     --sheet-w:      460px;     /* modifier sheet width */     --checkout-r:   420px;     /* right column on checkout */      --header-h:     64px;      /* fixed header height */ }  /* -- Base -- */ *, *::before, *::after { box-sizing: border-box; }  html, body {     margin: 0;     padding: 0;     height: 100%;     overflow: hidden;     background: var(--bg);     color: var(--ink);     font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;     font-size: 16px;     line-height: 1.4;     -webkit-font-smoothing: antialiased;     -moz-osx-font-smoothing: grayscale;     touch-action: manipulation;     -webkit-text-size-adjust: 100%;     user-select: none;     -webkit-user-select: none; }  h1, h2, h3, h4 {     font-family: 'Playfair Display', 'Georgia', serif;     font-weight: 700;     line-height: 1.1;     letter-spacing: -0.01em;     margin: 0; }  a { color: inherit; text-decoration: none; } button { font-family: inherit; }  .kiosk-body-app { background: var(--bg); } .kiosk-body-auth { background: var(--accent); }  /* Some user-agent stylesheets paint <main> white, which would cover    the body's warm cream on the auth screen. Force transparent so the    body color shows through. */ .kiosk-main { background: transparent; }  /* -- Shell -- */ .kiosk-shell {     display: flex;     flex-direction: column;     height: 100vh;     width: 100vw; }  /* -- Header -- */ .kiosk-header {     flex-shrink: 0;     height: var(--header-h);     display: flex;     align-items: center;     justify-content: space-between;     padding: 0 28px;     background: var(--surface);     border-bottom: 1px solid var(--line);     gap: 16px;     z-index: 30; } .kiosk-header-brand {     display: flex;     align-items: baseline;     gap: 14px;     min-width: 0; } .kiosk-brand-name {     font-family: 'Playfair Display', Georgia, serif;     font-size: 24px;     font-weight: 800;     color: var(--accent);     letter-spacing: -0.01em;     line-height: 1; } .kiosk-brand-tag {     font-size: 11px;     font-weight: 700;     letter-spacing: 0.12em;     text-transform: uppercase;     color: var(--ink-faint);     padding: 4px 10px;     border: 1px solid var(--line);     border-radius: 999px;     line-height: 1; } .kiosk-header-actions {     display: flex;     align-items: center;     gap: 10px;     flex-shrink: 0; } .kiosk-header-link {     display: inline-flex;     align-items: center;     gap: 6px;     min-height: 44px;     padding: 0 16px;     border-radius: 10px;     background: transparent;     color: var(--ink-mid);     font-size: 15px;     font-weight: 600;     -webkit-tap-highlight-color: transparent;     transition: background 0.12s, color 0.12s; } .kiosk-header-link:hover { background: var(--bg-tint); color: var(--ink); } .kiosk-header-link:active { background: var(--line); }  .kiosk-exit-btn {     min-height: 44px;     padding: 0 18px;     border: 1.5px solid var(--line);     border-radius: 10px;     background: var(--surface);     color: var(--ink-mid);     font-size: 15px;     font-weight: 600;     cursor: pointer;     -webkit-tap-highlight-color: transparent; } .kiosk-exit-btn:hover { border-color: var(--accent-soft); color: var(--accent); }  /* -- Main scroll area (only the .kiosk-main scrolls) -- */ .kiosk-main {     flex: 1;     min-height: 0;     overflow: hidden;     display: flex;     flex-direction: column; } .kiosk-main-root { /* landing + detail + checkout fill the area */ }  /* =============================================================    1. Login / PIN    ============================================================= */ .kiosk-login-wrap {     flex: 1;     display: flex;     align-items: center;     justify-content: center;     padding: 24px;     overflow: auto; } .kiosk-login-card {     background: var(--surface);     border-radius: var(--r-lg);     padding: 36px 36px 32px;     width: 100%;     max-width: 480px;     margin: 0 auto;     box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);     text-align: center;     display: flex;     flex-direction: column;     gap: 18px; } .kiosk-login-card h1 {     color: var(--accent);     font-size: 36px;     margin: 0; } .kiosk-login-card p {     color: var(--ink-mid);     margin: 0;     font-size: 15px; } .kiosk-pin-display {     min-height: 64px;     padding: 0 16px;     font-size: 28px;     letter-spacing: 0.4em;     text-align: center;     background: var(--bg-tint);     border: 2px solid var(--line);     border-radius: 12px;     font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;     display: flex;     align-items: center;     justify-content: center; } .kiosk-pin-grid {     display: grid;     grid-template-columns: repeat(3, 1fr);     gap: 10px; } .kiosk-pin-key {     min-height: 72px;     font-size: 26px;     font-weight: 700;     background: var(--bg-tint);     border: 2px solid var(--line);     border-radius: 12px;     cursor: pointer;     color: var(--ink);     -webkit-tap-highlight-color: transparent;     transition: background 0.08s; } .kiosk-pin-key:hover { background: #ece4d3; } .kiosk-pin-key:active { background: var(--accent); color: #fff; border-color: var(--accent); } .kiosk-pin-key-wide { grid-column: span 2; } .kiosk-pin-key-wide.kiosk-pin-key-submit { background: var(--accent); color: #fff; border-color: var(--accent); } .kiosk-pin-key-wide.kiosk-pin-key-submit:hover { background: var(--accent-dark); }  /* =============================================================    2. Category landing — 4-up photo grid    ============================================================= */ .kiosk-landing {     flex: 1;     min-height: 0;     overflow: auto;     padding: 32px 40px 40px;     display: flex;     flex-direction: column;     gap: 24px; } .kiosk-landing-head {     display: flex;     align-items: flex-end;     justify-content: space-between;     gap: 16px;     flex-wrap: wrap; } .kiosk-landing-head h1 {     font-size: 40px;     color: var(--ink);     margin: 0; } .kiosk-landing-sub {     color: var(--ink-mid);     font-size: 16px;     margin: 6px 0 0 0; } .kiosk-landing-exit {     min-height: 44px;     padding: 0 18px;     border-radius: 10px;     color: var(--ink-mid);     font-size: 15px;     font-weight: 600;     -webkit-tap-highlight-color: transparent;     flex-shrink: 0; } .kiosk-landing-exit:hover { background: var(--bg-tint); }  /* Category tiles are a FIXED 320px wide — they don't stretch    to fill the viewport. The grid uses auto-fill so the number    of columns adapts to the viewport width, and the grid is    sized to its columns (width: fit-content) and centered.    The grid is its natural height (no flex: 1), so on iPad    sizes the 3-4 rows of tiles overflow the viewport and    .kiosk-landing scrolls — the user sees the content extend    off-screen, not a tan "empty bar" at the bottom. */ .kiosk-cat-grid {     display: grid;     grid-template-columns: repeat(auto-fill, 320px);     gap: 18px;     width: fit-content;     max-width: 100%;     margin: 0 auto; }  .kiosk-cat-tile {     position: relative;     aspect-ratio: 4 / 3;     border-radius: var(--r-lg);     overflow: hidden;     background: var(--accent);     cursor: pointer;     -webkit-tap-highlight-color: transparent;     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);     transition: transform 0.15s ease, box-shadow 0.2s ease;     display: block; } .kiosk-cat-tile:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12); } .kiosk-cat-tile:active { transform: translateY(0); } .kiosk-cat-tile img {     position: absolute;     inset: 0;     width: 100%;     height: 100%;     object-fit: cover;     display: block;     transition: transform 0.3s ease; } .kiosk-cat-tile:hover img { transform: scale(1.05); } .kiosk-cat-tile::after {     content: '';     position: absolute;     inset: 0;     background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.05) 60%, transparent 100%);     pointer-events: none; } .kiosk-cat-tile-label {     position: absolute;     left: 0; right: 0; bottom: 0;     padding: 18px 22px;     color: #fff;     z-index: 1; } .kiosk-cat-tile-label h2 {     font-size: 24px;     margin: 0;     line-height: 1.1;     color: #fff; } .kiosk-cat-tile-label .kiosk-cat-from {     font-size: 13px;     font-weight: 500;     opacity: 0.88;     margin-top: 4px;     line-height: 1; }  /* =============================================================    3. Category detail — items grid (left) + always-visible cart (right)    ============================================================= */ .kiosk-detail {     flex: 1;     min-height: 0;     display: grid;     grid-template-columns: minmax(0, 1fr) var(--cart-w);     overflow: hidden; }  .kiosk-detail-main {     min-width: 0;     min-height: 0;     display: flex;     flex-direction: column;     overflow: hidden; } .kiosk-detail-head {     flex-shrink: 0;     display: flex;     align-items: center;     gap: 14px;     padding: 18px 28px 16px;     border-bottom: 1px solid var(--line);     background: var(--bg); } .kiosk-detail-back {     display: inline-flex;     align-items: center;     gap: 6px;     min-height: 44px;     padding: 0 14px;     border-radius: 10px;     color: var(--ink-mid);     font-size: 15px;     font-weight: 600;     -webkit-tap-highlight-color: transparent;     flex-shrink: 0; } .kiosk-detail-back:hover { background: var(--bg-tint); color: var(--ink); } .kiosk-detail-head h1 {     font-size: 28px;     margin: 0;     color: var(--ink);     min-width: 0;     overflow: hidden;     text-overflow: ellipsis;     white-space: nowrap; }  /* Item cards are a FIXED 320px wide — they don't stretch to    fill the viewport. auto-fill adapts the column count to    the available width (after the 360px right cart column).    The grid is sized to its columns and centered. The grid    scrolls vertically when there are more rows than fit. */ .kiosk-detail-grid {     flex: 1;     min-height: 0;     overflow-y: auto;     padding: 20px 28px 28px;     display: grid;     grid-template-columns: repeat(auto-fill, 320px);     grid-auto-rows: 360px;     gap: 16px;     width: fit-content;     max-width: 100%;     margin: 0 auto;     align-items: start; }  .kiosk-item {     position: relative;     display: flex;     flex-direction: column;     background: var(--surface);     border: 1px solid var(--line);     border-radius: var(--r-md);     overflow: hidden;     cursor: pointer;     -webkit-tap-highlight-color: transparent;     transition: transform 0.12s ease, box-shadow 0.18s ease, border-color 0.18s ease;     min-width: 0;     height: 360px; } .kiosk-item:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08); border-color: #d4c8b0; } .kiosk-item:active { transform: translateY(0); }  /* -- Image + name overlay --    The image fills the top of the card (16:10). The item name is    painted on a dark gradient at the bottom of the photo so the    name is visually attached to the picture (like McDonald's /    CAVA / Panera kiosks do) and can't be missed. The gradient is    transparent at the top so it doesn't cover the food. */ .kiosk-item-img-wrap {     position: relative;     width: 100%;     aspect-ratio: 16 / 10;     overflow: hidden;     background: var(--bg-tint); } .kiosk-item-img {     position: absolute;     inset: 0;     width: 100%;     height: 100%;     object-fit: cover;     display: block; } .kiosk-item-name-overlay {     position: absolute;     left: 0;     right: 0;     bottom: 0;     padding: 16px 16px 14px;     background: linear-gradient(to top,         rgba(0, 0, 0, 0.82) 0%,         rgba(0, 0, 0, 0.55) 45%,         rgba(0, 0, 0, 0) 100%);     pointer-events: none; } .kiosk-item-name {     font-size: 17px;     font-weight: 800;     color: #fff;     line-height: 1.15;     margin: 0;     letter-spacing: -0.005em;     text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);     display: -webkit-box;     -webkit-line-clamp: 2;     line-clamp: 2;     -webkit-box-orient: vertical;     overflow: hidden; }  .kiosk-item-body {     padding: 12px 16px 16px;     display: flex;     flex-direction: column;     gap: 8px;     flex: 1;     min-width: 0; } .kiosk-item-desc {     font-size: 13px;     color: var(--ink-mid);     line-height: 1.4;     margin: 0;     display: -webkit-box;     -webkit-line-clamp: 3;     line-clamp: 3;     -webkit-box-orient: vertical;     overflow: hidden; } .kiosk-item-foot {     display: flex;     align-items: center;     justify-content: space-between;     gap: 12px;     margin-top: auto;     padding-top: 10px;     border-top: 1px solid var(--line);     min-width: 0; } .kiosk-item-price {     font-size: 20px;     font-weight: 800;     color: var(--accent);     line-height: 1; } .kiosk-item-add {     flex-shrink: 0;     width: 44px;     height: 44px;     border-radius: 50%;     background: var(--accent);     color: #fff;     border: none;     font-size: 26px;     font-weight: 800;     cursor: pointer;     line-height: 1;     display: flex;     align-items: center;     justify-content: center;     box-shadow: 0 4px 10px rgba(92, 0, 17, 0.28);     -webkit-tap-highlight-color: transparent;     transition: background 0.12s; } .kiosk-item-add:hover { background: var(--accent-dark); } .kiosk-item-add:active { transform: scale(0.92); }

/* -- Special requests note (in the modifier drawer) --
   Lives between .kiosk-mod-body and .kiosk-mod-foot, so it
   scrolls with the modifier groups but stays visible just
   above the "Add to order" button. */
.kiosk-mod-note-row {
    flex-shrink: 0;
    padding: 14px 20px 8px;
    border-top: 1px solid var(--line);
    background: var(--bg);
}
.kiosk-mod-note-label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-mid);
    margin: 0 0 6px 0;
    font-family: 'Inter', sans-serif;
    line-height: 1.2;
}
.kiosk-mod-note {
    width: 100%;
    min-height: 44px;
    padding: 8px 12px;
    font-size: 15px;
    font-weight: 500;
    font-family: inherit;
    line-height: 1.3;
    color: var(--ink);
    background: var(--surface);
    border: 2px solid var(--line);
    border-radius: 10px;
    box-sizing: border-box;
    margin: 0;
    -webkit-tap-highlight-color: transparent;
    user-select: text;
    -webkit-user-select: text;
}
.kiosk-mod-note:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.12);
}
.kiosk-mod-note::placeholder {
    color: var(--ink-faint);
    font-weight: 500;
    font-style: italic;
}  .kiosk-item-popular {     position: absolute;     top: 12px;     left: 12px;     background: var(--popular);     color: #fff;     font-size: 10px;     font-weight: 800;     letter-spacing: 0.1em;     text-transform: uppercase;     padding: 6px 11px;     border-radius: 6px;     z-index: 3;     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);     line-height: 1; }  /* -- Right cart column -- */ .kiosk-cart {     min-width: 0;     background: var(--surface);     border-left: 1px solid var(--line);     display: flex;     flex-direction: column;     overflow: hidden; } .kiosk-cart-head {     flex-shrink: 0;     padding: 18px 22px 14px;     border-bottom: 1px solid var(--line);     display: flex;     align-items: center;     justify-content: space-between;     gap: 10px;     background: var(--surface); } .kiosk-cart-head h2 {     font-size: 22px;     margin: 0;     color: var(--ink); } .kiosk-cart-count {     background: var(--accent-cream);     color: var(--accent);     font-size: 12px;     font-weight: 800;     padding: 5px 11px;     border-radius: 999px;     line-height: 1;     flex-shrink: 0; } .kiosk-cart-body {     flex: 1;     min-height: 0;     overflow-y: auto;     padding: 8px 18px 8px; } .kiosk-cart-empty {     text-align: center;     color: var(--ink-faint);     padding: 40px 16px;     font-size: 15px;     line-height: 1.4; }  .kiosk-cart-line {     display: grid;     grid-template-columns: 56px minmax(0, 1fr) auto;     gap: 12px;     align-items: flex-start;     padding: 12px 0;     border-bottom: 1px dashed var(--line); } .kiosk-cart-line:last-child { border-bottom: none; } .kiosk-cart-line-img {     width: 56px;     height: 56px;     border-radius: 8px;     object-fit: cover;     background: var(--bg-tint);     display: block; } .kiosk-cart-line-info { min-width: 0; } .kiosk-cart-line-name {     font-size: 14px;     font-weight: 700;     color: var(--ink);     line-height: 1.2;     margin: 0 0 4px 0;     overflow: hidden;     text-overflow: ellipsis;     display: -webkit-box;     -webkit-line-clamp: 2;     line-clamp: 2;     -webkit-box-orient: vertical; } .kiosk-cart-line-mods {     font-size: 11px;     color: var(--ink-faint);     line-height: 1.3;     margin: 0 0 6px 0;     overflow: hidden;     text-overflow: ellipsis;     display: -webkit-box;     -webkit-line-clamp: 2;     line-clamp: 2;     -webkit-box-orient: vertical; }

/* Special-request note shown under the modifiers in the cart.
   Styled like a small tag so the kitchen knows it's a
   customer note, not a modifier. */
.kiosk-cart-line-note {
    font-size: 11px;
    color: var(--accent-dark);
    background: var(--accent-cream);
    border-left: 3px solid var(--accent);
    padding: 4px 8px;
    margin: 0 0 6px 0;
    line-height: 1.35;
    border-radius: 0 4px 4px 0;
    overflow-wrap: anywhere;
    font-weight: 500;
} .kiosk-cart-line-mods:empty { display: none; } .kiosk-cart-line-qty {     display: inline-flex;     align-items: center;     gap: 4px;     margin-top: 2px; } .kiosk-cart-line-qty button {     width: 28px;     height: 28px;     border-radius: 6px;     border: 1.5px solid var(--line);     background: var(--surface);     font-size: 16px;     font-weight: 700;     color: var(--ink);     cursor: pointer;     -webkit-tap-highlight-color: transparent;     line-height: 1;     padding: 0; } .kiosk-cart-line-qty button:hover { background: var(--bg-tint); } .kiosk-cart-line-qty span {     min-width: 22px;     text-align: center;     font-size: 13px;     font-weight: 700;     line-height: 1; } .kiosk-cart-line-price {     font-size: 15px;     font-weight: 800;     color: var(--ink);     line-height: 1.2;     white-space: nowrap;     align-self: flex-start; }  .kiosk-cart-foot {     flex-shrink: 0;     padding: 16px 22px 22px;     border-top: 1px solid var(--line);     background: var(--bg);     display: flex;     flex-direction: column;     gap: 12px; } .kiosk-cart-totals {     display: flex;     flex-direction: column;     gap: 6px; } .kiosk-cart-totals .row {     display: flex;     justify-content: space-between;     font-size: 14px;     color: var(--ink-mid);     line-height: 1.2; } .kiosk-cart-totals .row.total {     font-size: 22px;     font-weight: 800;     color: var(--ink);     margin-top: 4px; } .kiosk-cart-pay {     width: 100%;     min-height: var(--tap-lg);     background: var(--accent);     color: #fff;     border: none;     border-radius: var(--r-md);     font-size: 17px;     font-weight: 800;     cursor: pointer;     box-shadow: 0 6px 16px rgba(92, 0, 17, 0.25);     -webkit-tap-highlight-color: transparent;     line-height: 1;     display: flex;     align-items: center;     justify-content: center;     gap: 8px; } .kiosk-cart-pay:hover { background: var(--accent-dark); } .kiosk-cart-pay:disabled {     background: #d4c8b0;     color: #fff;     cursor: not-allowed;     box-shadow: none; }  /* =============================================================    4. Modifier sheet — slides in from the right, overlays the cart    ============================================================= */ .kiosk-mod-backdrop {     position: fixed;     inset: 0;     background: rgba(0, 0, 0, 0.45);     z-index: 60;     opacity: 0;     pointer-events: none;     transition: opacity 0.18s ease; } .kiosk-mod-backdrop.open {     opacity: 1;     pointer-events: auto; } .kiosk-mod-sheet {     position: fixed;     top: 0;     right: 0;     bottom: 0;     width: var(--sheet-w);     max-width: 100vw;     background: var(--surface);     box-shadow: -12px 0 36px rgba(0, 0, 0, 0.22);     z-index: 61;     transform: translateX(100%);     transition: transform 0.22s ease;     display: flex;     flex-direction: column;     overflow: hidden; } .kiosk-mod-sheet.open { transform: translateX(0); }  .kiosk-mod-head {     flex-shrink: 0;     padding: 22px 26px 18px;     border-bottom: 1px solid var(--line);     display: flex;     align-items: center;     gap: 14px;     background: var(--surface); } .kiosk-mod-thumb {     width: 64px;     height: 64px;     border-radius: 10px;     object-fit: cover;     background: var(--bg-tint);     display: block;     flex-shrink: 0; } .kiosk-mod-title { min-width: 0; flex: 1; } .kiosk-mod-name {     font-family: 'Playfair Display', Georgia, serif;     font-size: 22px;     font-weight: 700;     color: var(--ink);     line-height: 1.1;     margin: 0;     overflow: hidden;     text-overflow: ellipsis;     display: -webkit-box;     -webkit-line-clamp: 2;     line-clamp: 2;     -webkit-box-orient: vertical; } .kiosk-mod-base {     font-size: 13px;     color: var(--ink-mid);     margin-top: 4px;     line-height: 1.2; } .kiosk-mod-close {     flex-shrink: 0;     width: 40px;     height: 40px;     border-radius: 50%;     background: var(--bg-tint);     border: none;     color: var(--ink-mid);     font-size: 22px;     line-height: 1;     cursor: pointer;     -webkit-tap-highlight-color: transparent; } .kiosk-mod-close:hover { background: var(--line); color: var(--ink); }  .kiosk-mod-body {     flex: 1;     min-height: 0;     overflow-y: auto;     padding: 18px 26px 22px;     display: flex;     flex-direction: column;     gap: 24px; } .kiosk-mod-group { display: flex; flex-direction: column; gap: 10px; } .kiosk-mod-group-head {     display: flex;     align-items: baseline;     gap: 10px;     flex-wrap: wrap; } .kiosk-mod-group-name {     font-weight: 700;     font-size: 15px;     color: var(--ink);     line-height: 1.2; } .kiosk-mod-group-hint {     font-size: 11px;     color: var(--ink-faint);     text-transform: uppercase;     letter-spacing: 0.06em;     font-weight: 700;     line-height: 1.2; } .kiosk-mod-group-hint.required { color: var(--accent); } .kiosk-mod-opts {     display: flex;     flex-wrap: wrap;     gap: 8px; } .kiosk-mod-opt {     display: inline-flex;     align-items: center;     gap: 8px;     min-height: 48px;     padding: 0 18px;     border-radius: 999px;     background: var(--bg);     border: 2px solid var(--line);     font-size: 15px;     font-weight: 600;     color: var(--ink);     cursor: pointer;     -webkit-tap-highlight-color: transparent;     line-height: 1;     transition: background 0.1s, border-color 0.1s, color 0.1s; } .kiosk-mod-opt:hover { border-color: var(--accent-soft); } .kiosk-mod-opt:active { transform: scale(0.96); } .kiosk-mod-opt.selected {     background: var(--accent);     color: #fff;     border-color: var(--accent); } .kiosk-mod-opt-price {     font-size: 12px;     font-weight: 600;     opacity: 0.85;     line-height: 1; } .kiosk-mod-opt.selected .kiosk-mod-opt-price { color: #ffd9c2; }  .kiosk-mod-qty-row {     display: inline-flex;     align-items: center;     gap: 12px;     background: var(--bg);     border: 2px solid var(--line);     border-radius: 999px;     padding: 6px 10px; } .kiosk-mod-qty-row button {     width: 36px;     height: 36px;     border-radius: 50%;     border: none;     background: var(--accent);     color: #fff;     font-size: 18px;     font-weight: 800;     cursor: pointer;     -webkit-tap-highlight-color: transparent;     line-height: 1; } .kiosk-mod-qty-row button:disabled {     background: var(--line);     color: var(--ink-faint);     cursor: not-allowed; } .kiosk-mod-qty-row span {     min-width: 28px;     text-align: center;     font-size: 16px;     font-weight: 700;     line-height: 1; } .kiosk-mod-qty-meta {     font-size: 13px;     color: var(--ink-faint);     margin-left: 4px; }  .kiosk-mod-foot {     flex-shrink: 0;     padding: 18px 26px 22px;     border-top: 1px solid var(--line);     background: var(--bg);     display: flex;     align-items: center;     justify-content: space-between;     gap: 16px; } .kiosk-mod-total-block { line-height: 1.1; } .kiosk-mod-total-label {     font-size: 11px;     color: var(--ink-mid);     text-transform: uppercase;     letter-spacing: 0.08em;     font-weight: 700;     margin-bottom: 2px; } .kiosk-mod-total {     font-size: 26px;     font-weight: 800;     color: var(--ink); } .kiosk-mod-add {     flex: 1;     min-height: var(--tap-lg);     background: var(--accent);     color: #fff;     border: none;     border-radius: var(--r-md);     font-size: 17px;     font-weight: 800;     cursor: pointer;     box-shadow: 0 6px 16px rgba(92, 0, 17, 0.25);     -webkit-tap-highlight-color: transparent;     line-height: 1; } .kiosk-mod-add:hover { background: var(--accent-dark); } .kiosk-mod-add:active { transform: scale(0.98); }  /* =============================================================    5. Checkout — full-page takeover    ============================================================= */ .kiosk-checkout {     flex: 1;     min-height: 0;     overflow-y: auto;     padding: 32px 40px 40px;     display: grid;     grid-template-columns: minmax(0, 1fr) var(--checkout-r);     gap: 32px;     align-content: start; } @media (max-width: 1100px) {     .kiosk-checkout { grid-template-columns: 1fr; gap: 24px; } }  .kiosk-checkout-head { margin-bottom: 4px; } .kiosk-checkout-head h1 {     font-size: 34px;     color: var(--ink);     margin: 0; } .kiosk-checkout-head p {     color: var(--ink-mid);     font-size: 15px;     margin: 6px 0 0 0;     line-height: 1.4; }  .kiosk-checkout-left {     display: flex;     flex-direction: column;     gap: 20px;     min-width: 0; } .kiosk-checkout-card {     background: var(--surface);     border: 1px solid var(--line);     border-radius: var(--r-md);     padding: 20px 22px;     min-width: 0; } .kiosk-checkout-card h3 {     font-size: 12px;     font-weight: 800;     text-transform: uppercase;     letter-spacing: 0.1em;     color: var(--ink-mid);     margin: 0 0 12px 0;     font-family: 'Inter', sans-serif;     line-height: 1.2; }  .kiosk-name-card {     background: var(--accent-cream);     border: 2px solid var(--accent);     border-radius: var(--r-md);     padding: 20px 22px; } .kiosk-name-card h3 {     font-size: 12px;     font-weight: 800;     text-transform: uppercase;     letter-spacing: 0.1em;     color: var(--accent);     margin: 0 0 8px 0;     font-family: 'Inter', sans-serif;     line-height: 1.2; } .kiosk-name-required {     color: var(--accent);     font-weight: 800; } .kiosk-name-input {     width: 100%;     min-height: 72px;     padding: 0 20px;     font-size: 24px;     font-weight: 700;     background: var(--surface);     color: var(--ink);     border: 2px solid var(--line);     border-radius: 12px;     box-sizing: border-box;     -webkit-tap-highlight-color: transparent;     user-select: text;     -webkit-user-select: text;     line-height: 1.2;     margin: 0;     font-family: inherit; } .kiosk-name-input:focus {     outline: none;     border-color: var(--accent);     box-shadow: 0 0 0 4px rgba(92, 0, 17, 0.12); } .kiosk-name-input::placeholder {     color: var(--ink-faint);     font-weight: 500; }  .kiosk-tip-card { padding: 20px 22px; } .kiosk-tip-card > p {     color: var(--ink-mid);     font-size: 13px;     margin: 0 0 14px 0;     line-height: 1.4; } .kiosk-tip-row {     display: flex;     gap: 8px;     flex-wrap: wrap; } .kiosk-tip-chip {     flex: 1 1 90px;     min-width: 90px;     min-height: 64px;     background: var(--bg);     border: 2px solid var(--line);     border-radius: 12px;     font-size: 15px;     font-weight: 700;     cursor: pointer;     color: var(--ink);     -webkit-tap-highlight-color: transparent;     line-height: 1.1;     padding: 6px 8px;     display: flex;     flex-direction: column;     align-items: center;     justify-content: center;     gap: 4px;     transition: background 0.1s, border-color 0.1s, color 0.1s; } .kiosk-tip-chip:hover { border-color: var(--accent-soft); } .kiosk-tip-chip.active {     background: var(--accent);     color: #fff;     border-color: var(--accent); } .kiosk-tip-amt {     font-size: 12px;     opacity: 0.85;     font-weight: 500;     line-height: 1; } .kiosk-tip-custom {     width: 100%;     margin-top: 12px;     padding: 12px 16px;     border: 2px solid var(--line);     border-radius: 10px;     font-size: 16px;     background: var(--surface);     color: var(--ink);     font-family: inherit;     box-sizing: border-box; } .kiosk-tip-custom:focus {     outline: none;     border-color: var(--accent); }  .kiosk-checkout-line {     display: grid;     grid-template-columns: minmax(0, 1fr) auto;     gap: 8px 16px;     padding: 12px 0;     border-bottom: 1px dashed var(--line);     align-items: center; } .kiosk-checkout-line:last-child { border-bottom: none; } .kiosk-checkout-line .name {     font-weight: 700;     font-size: 15px;     color: var(--ink);     line-height: 1.2;     min-width: 0;     overflow-wrap: anywhere; } .kiosk-checkout-line .qty {     grid-column: 1;     color: var(--ink-faint);     font-size: 13px;     line-height: 1.3;     min-width: 0;     overflow-wrap: anywhere; } .kiosk-checkout-line .price {     grid-column: 2;     grid-row: 1 / span 2;     font-weight: 800;     font-size: 16px;     color: var(--ink);     line-height: 1.2;     align-self: center;     white-space: nowrap; }  .kiosk-checkout-right {     background: var(--surface);     border: 1px solid var(--line);     border-radius: var(--r-md);     padding: 22px 24px 24px;     display: flex;     flex-direction: column;     min-width: 0;     align-self: start;     position: sticky;     top: 0; } .kiosk-checkout-right h3 {     font-size: 12px;     font-weight: 800;     text-transform: uppercase;     letter-spacing: 0.1em;     color: var(--ink-mid);     margin: 0 0 14px 0;     font-family: 'Inter', sans-serif;     line-height: 1.2; } .kiosk-checkout-totals {     display: flex;     flex-direction: column;     gap: 8px;     padding-bottom: 16px;     border-bottom: 1px solid var(--line);     margin-bottom: 16px; } .kiosk-checkout-totals .row {     display: flex;     justify-content: space-between;     font-size: 15px;     line-height: 1.3; } .kiosk-checkout-totals .row.muted { color: var(--ink-mid); } .kiosk-checkout-totals .row.total {     font-size: 28px;     font-weight: 800;     color: var(--ink);     margin-top: 6px; } .kiosk-pay-btn {     width: 100%;     min-height: 92px;     background: var(--accent);     color: #fff;     border: none;     border-radius: var(--r-md);     font-size: 19px;     font-weight: 800;     cursor: pointer;     box-shadow: 0 8px 20px rgba(92, 0, 17, 0.3);     -webkit-tap-highlight-color: transparent;     line-height: 1.1;     margin-top: auto; } .kiosk-pay-btn:hover { background: var(--accent-dark); } .kiosk-pay-btn:disabled {     background: #d4c8b0;     color: #fff;     cursor: not-allowed;     box-shadow: none;     opacity: 1; } .kiosk-pay-hint {     text-align: center;     font-size: 12px;     color: var(--ink-faint);     margin: 10px 0 0 0;     line-height: 1.4; } .kiosk-back-link {     display: block;     width: 100%;     text-align: center;     margin-top: 10px;     min-height: 48px;     padding: 0 16px;     border-radius: 12px;     background: var(--bg-tint);     color: var(--ink);     font-size: 15px;     font-weight: 600;     line-height: 48px;     -webkit-tap-highlight-color: transparent; } .kiosk-back-link:hover { background: var(--line); } .kiosk-dejavoo-warn {     color: #8a5a00;     background: #fff8e1;     border: 1px solid #f0c860;     border-radius: 8px;     padding: 8px 12px;     font-size: 13px;     margin: 12px 0 0 0;     line-height: 1.4; }  /* =============================================================    6. Confirmation    ============================================================= */ .kiosk-confirm {     flex: 1;     display: flex;     flex-direction: column;     align-items: center;     justify-content: center;     text-align: center;     padding: 32px 24px;     gap: 14px;     overflow: auto; } .kiosk-confirm-icon {     width: 96px;     height: 96px;     border-radius: 50%;     background: var(--success);     color: #fff;     display: flex;     align-items: center;     justify-content: center;     font-size: 56px;     line-height: 1;     margin-bottom: 4px; } .kiosk-confirm h1 {     font-size: 38px;     color: var(--ink);     margin: 0; } .kiosk-confirm-name {     margin: 4px 0 0 0;     font-size: 26px;     color: var(--accent);     font-weight: 800;     font-family: 'Playfair Display', Georgia, serif;     line-height: 1.2; } .kiosk-confirm-subline {     color: var(--ink-mid);     font-size: 16px;     max-width: 560px;     margin: 0;     line-height: 1.45; } .kiosk-confirm-order {     margin: 16px 0 4px 0;     padding: 12px 22px;     background: var(--surface);     border: 1px solid var(--line);     border-radius: var(--r-md);     font-size: 17px;     font-weight: 700;     color: var(--ink); } .kiosk-confirm-actions { margin-top: 16px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; } .kiosk-confirm-pay-method {     color: var(--ink-mid);     font-size: 14px;     margin: 0; }  /* =============================================================    7. Decline banner    ============================================================= */ .kiosk-decline-banner {     flex-shrink: 0;     margin: 12px 40px 0 40px;     display: flex;     gap: 16px;     align-items: flex-start;     padding: 16px 20px;     background: #fff4f4;     border: 2px solid var(--danger);     border-radius: var(--r-md);     color: #4a0008;     box-shadow: 0 4px 12px rgba(176, 0, 32, 0.08); } .kiosk-decline-banner-icon {     flex-shrink: 0;     width: 44px;     height: 44px;     border-radius: 50%;     background: var(--danger);     color: #fff;     display: flex;     align-items: center;     justify-content: center;     font-size: 24px;     font-weight: 800;     line-height: 1; } .kiosk-decline-banner-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; } .kiosk-decline-banner-title { font-size: 16px; font-weight: 800; color: var(--danger); line-height: 1.2; } .kiosk-decline-banner-msg { font-size: 14px; color: #4a0008; word-break: break-word; line-height: 1.4; margin: 0; } .kiosk-decline-banner-cta { font-size: 13px; color: #4a0008; margin-top: 4px; line-height: 1.4; }  /* =============================================================    8. Waiting overlay (Dejavoo processing)    ============================================================= */ .kiosk-waiting-overlay {     position: fixed;     inset: 0;     background: rgba(15, 5, 8, 0.78);     display: flex;     align-items: center;     justify-content: center;     z-index: 200;     opacity: 0;     pointer-events: none;     transition: opacity 0.18s ease; } .kiosk-waiting-overlay.open {     opacity: 1;     pointer-events: auto; } .kiosk-waiting-overlay[hidden] { display: none; } .kiosk-waiting-card {     background: #fff;     border-radius: var(--r-lg);     padding: 32px 36px;     max-width: 480px;     width: calc(100% - 48px);     text-align: center;     box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);     display: flex;     flex-direction: column;     align-items: center;     gap: 14px; } .kiosk-waiting-spinner {     width: 72px;     height: 72px;     border-radius: 50%;     border: 6px solid #f0e0e0;     border-top-color: var(--accent);     animation: kiosk-waiting-spin 0.9s linear infinite; } @keyframes kiosk-waiting-spin {     from { transform: rotate(0deg); }     to   { transform: rotate(360deg); } } .kiosk-waiting-title { font-size: 22px; font-weight: 800; color: var(--accent); margin: 0; } .kiosk-waiting-msg { color: var(--ink-mid); font-size: 14px; line-height: 1.45; margin: 0; max-width: 380px; }  /* =============================================================    9. Fullscreen splash ("Tap to start")    ============================================================= */ .kiosk-fs-splash {     position: fixed;     inset: 0;     z-index: 9999;     background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);     color: #fff;     display: flex;     align-items: center;     justify-content: center;     padding: 24px;     text-align: center; } .kiosk-fs-splash[hidden] { display: none; } .kiosk-fs-card {     max-width: 720px;     width: 100%;     display: flex;     flex-direction: column;     align-items: center;     gap: 22px; } .kiosk-fs-tag {     font-size: 14px;     font-weight: 700;     letter-spacing: 0.14em;     text-transform: uppercase;     padding: 8px 18px;     border-radius: 999px;     background: rgba(255, 255, 255, 0.16);     line-height: 1; } .kiosk-fs-brand {     font-family: 'Playfair Display', Georgia, serif;     font-size: clamp(56px, 9vw, 96px);     font-weight: 800;     color: #fff;     letter-spacing: -0.02em;     line-height: 1;     margin: 0; } .kiosk-fs-start {     display: inline-flex;     align-items: center;     gap: 18px;     min-height: 96px;     padding: 0 40px;     background: #fff;     color: var(--accent);     border: none;     border-radius: 16px;     font-size: 22px;     font-weight: 800;     cursor: pointer;     box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);     -webkit-tap-highlight-color: transparent;     margin-top: 4px;     font-family: inherit;     line-height: 1; } .kiosk-fs-start:hover { box-shadow: 0 18px 50px rgba(0, 0, 0, 0.36); } .kiosk-fs-start:active { transform: scale(0.98); } .kiosk-fs-start-icon {     display: inline-flex;     align-items: center;     justify-content: center;     width: 56px;     height: 56px;     border-radius: 50%;     background: var(--accent);     color: #fff;     font-size: 32px;     font-weight: 800;     line-height: 1; } .kiosk-fs-hint {     font-size: 14px;     color: rgba(255, 255, 255, 0.78);     max-width: 480px;     line-height: 1.45;     margin-top: 4px; }  /* =============================================================    10. Inline flash (login error etc)    ============================================================= */ .kiosk-flash {     margin: 16px 0 0 0;     padding: 12px 18px;     border-radius: var(--r-md);     background: #e6ffe6;     color: #2d6a2d;     border: 1px solid #88c988;     font-size: 14px;     line-height: 1.4; } .kiosk-flash-error { background: #ffe6e6; color: #b00020; border-color: #d9534f; }  /* =============================================================    11. Empty cart on checkout (when cart is empty)    ============================================================= */ .kiosk-checkout-empty {     flex: 1;     display: flex;     flex-direction: column;     align-items: center;     justify-content: center;     padding: 32px 24px;     text-align: center;     gap: 14px; } .kiosk-checkout-empty h1 {     font-size: 32px;     color: var(--ink);     margin: 0; } .kiosk-checkout-empty p {     color: var(--ink-mid);     font-size: 16px;     margin: 0;     line-height: 1.4; }