  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  :root {
    --brand: #BB0F24;
    --brand-dark: #8a0a1a;
    --brand-light: #fff0f2;
    --bg: #f7f5f1;
    --surface: #ffffff;
    --border: rgba(0,0,0,0.08);
    --border-med: rgba(0,0,0,0.14);
    --text-primary: #1a1a1a;
    --text-secondary: #6b6b6b;
    --text-hint: #b0b0b0;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
  }
  html, body {
    width: 100vw; height: 100vh; overflow: hidden;
    font-family: 'DM Sans', sans-serif;
    background: var(--bg); color: var(--text-primary);
  }
  html.online-mode {
    height: auto;
    overflow: visible;
  }
  body.online-mode {
    height: auto;
    overflow: visible;
  }
  #kiosk { width: 100vw; height: 100vh; display: flex; flex-direction: column; }

  /* TOP BAR */
  #top-bar {
    height: 60px; background: var(--surface);
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center; flex-shrink: 0; z-index: 10;
  }
  #logo-area {
    width: 210px; flex-shrink: 0; padding: 0 24px;
    border-right: 1px solid var(--border); height: 100%;
    display: flex; flex-direction: column; justify-content: center;
  }
  #logo-name { font-family: 'DM Serif Display', serif; font-size: 17px; color: var(--brand); letter-spacing: 0.2px; }
  #logo-sub { font-size: 10px; color: var(--text-hint); letter-spacing: 1.2px; text-transform: uppercase; margin-top: 2px; }
  #cat-tabs { display: flex; align-items: center; gap: 4px; padding: 0 18px; flex: 1; height: 100%; overflow-x: auto; }
  #cat-tabs::-webkit-scrollbar { display: none; }
  .cat-tab {
    padding: 7px 18px; border-radius: 30px; font-size: 14px; font-weight: 400;
    cursor: pointer; color: var(--text-secondary); background: transparent;
    border: 1px solid transparent; white-space: nowrap; transition: all 0.15s;
    font-family: 'DM Sans', sans-serif; flex-shrink: 0;
  }
  .cat-tab:hover { background: var(--bg); color: var(--text-primary); }
  .cat-tab.active { background: var(--text-primary); color: #fff; font-weight: 500; }
  #time-area {
    padding: 0 22px; border-left: 1px solid var(--border); height: 100%;
    display: flex; align-items: center; font-size: 14px; font-weight: 500;
    color: var(--text-secondary); font-variant-numeric: tabular-nums; flex-shrink: 0;
  }

  /* MAIN */
  #main-area { display: flex; flex: 1; overflow: hidden; min-height: 0; }

  /* MENU PANEL */
  #menu-panel { flex: 1; overflow-y: auto; min-height: 0; }
  #menu-panel::-webkit-scrollbar { width: 4px; }
  #menu-panel::-webkit-scrollbar-thumb { background: var(--border-med); border-radius: 4px; }
  .cat-section { padding: 28px 28px 0; }
  .cat-section-title { font-family: 'DM Serif Display', serif; font-size: 22px; color: var(--text-primary); margin-bottom: 18px; }
  .cat-section-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
    padding-bottom: 28px; border-bottom: 1px solid var(--border);
  }
  .cat-section:last-child .cat-section-grid { border-bottom: none; }
  .menu-card {
    background: var(--surface); border-radius: var(--radius-lg);
    border: 1px solid var(--border); overflow: hidden;
    cursor: pointer; transition: border-color 0.15s, transform 0.12s;
    display: flex; flex-direction: column;
  }
  .menu-card:hover { border-color: var(--brand); transform: translateY(-2px); }
  .menu-card:active { transform: scale(0.98); }
  .menu-card-img {
    width: 100%; aspect-ratio: 1/1; background: var(--bg);
    display: flex; align-items: center; justify-content: center; font-size: 52px;
    border-bottom: 1px solid var(--border);
  }
  .menu-card-body { padding: 13px 14px 15px; flex: 1; display: flex; flex-direction: column; gap: 4px; }
  .menu-card-name { font-size: 15px; font-weight: 600; color: var(--text-primary); line-height: 1.3; }
  .menu-card-desc { font-size: 12px; color: var(--text-hint); line-height: 1.5; flex: 1; }
  .menu-card-price { font-size: 14px; font-weight: 500; color: var(--text-secondary); margin-top: 6px; }

  /* CART PANEL */
  #cart-panel {
    width: 290px; flex-shrink: 0; background: var(--surface);
    border-left: 1px solid var(--border); display: flex; flex-direction: column; min-height: 0;
  }
  #cart-header {
    padding: 18px 20px 14px; border-bottom: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between; flex-shrink: 0;
  }
  #cart-title { font-size: 15px; font-weight: 600; color: var(--text-primary); }
  #cart-badge {
    background: var(--brand); color: #fff; font-size: 11px; font-weight: 600;
    border-radius: 20px; padding: 3px 9px; min-width: 22px; text-align: center;
  }
  #cart-items { flex: 1; overflow-y: auto; padding: 12px 16px; min-height: 0; }
  #cart-items::-webkit-scrollbar { width: 3px; }
  #cart-items::-webkit-scrollbar-thumb { background: var(--border-med); border-radius: 3px; }
  #cart-empty { text-align: center; padding: 44px 20px; color: var(--text-hint); font-size: 13px; line-height: 1.9; }
  #cart-empty-icon { font-size: 30px; margin-bottom: 8px; }
  .cart-item { margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
  .cart-item:last-child { border-bottom: none; margin-bottom: 0; }
  .cart-item-name { font-size: 13px; font-weight: 500; color: var(--text-primary); margin-bottom: 2px; }
  .cart-item-opts { font-size: 11px; color: var(--text-hint); margin-bottom: 3px; line-height: 1.5; }
  .cart-item-note { font-size: 11px; color: var(--brand); margin-bottom: 7px; line-height: 1.4; font-style: italic; }
  .cart-item-row { display: flex; align-items: center; justify-content: space-between; }
  .cart-item-price { font-size: 13px; font-weight: 600; color: var(--text-primary); }
  .qty-ctrl { display: flex; align-items: center; gap: 7px; }
  .qty-btn {
    width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--border-med);
    background: transparent; font-size: 15px; cursor: pointer; display: flex;
    align-items: center; justify-content: center; color: var(--text-primary);
    transition: background 0.1s; line-height: 1; font-family: 'DM Sans', sans-serif;
  }
  .qty-btn:hover { background: var(--bg); }
  .qty-num { font-size: 13px; font-weight: 600; min-width: 16px; text-align: center; }
  #cart-footer { padding: 14px 16px; border-top: 1px solid var(--border); flex-shrink: 0; }
  #subtotal-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
  #subtotal-label { font-size: 13px; color: var(--text-secondary); }
  #subtotal-val { font-size: 20px; font-weight: 600; color: var(--text-primary); }
  #pay-btn {
    width: 100%; padding: 15px; background: var(--brand); color: #fff; border: none;
    border-radius: var(--radius-md); font-size: 15px; font-weight: 600; cursor: pointer;
    transition: background 0.15s; font-family: 'DM Sans', sans-serif;
  }
  #pay-btn:hover { background: var(--brand-dark); }
  #pay-btn:disabled { background: #ddd; color: #aaa; cursor: not-allowed; }

  /* MODAL */
  #modal-overlay {
    display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.52);
    z-index: 200; align-items: center; justify-content: center; padding: 24px;
  }
  #modal-overlay.open { display: flex; }
  #modal {
    background: var(--surface); border-radius: var(--radius-xl);
    width: 820px; max-width: 100%; height: 580px;
    display: flex; overflow: hidden; position: relative;
    box-shadow: 0 24px 60px rgba(0,0,0,0.18);
  }

  /* modal left */
  #modal-left { width: 400px; flex-shrink: 0; display: flex; flex-direction: column; overflow: hidden; }
  #modal-scroll { flex: 1; overflow-y: auto; padding: 28px 28px 0; }
  #modal-scroll::-webkit-scrollbar { width: 4px; }
  #modal-scroll::-webkit-scrollbar-thumb { background: var(--border-med); border-radius: 4px; }

  /* item header in modal */
  #modal-item-name {
    font-family: 'DM Serif Display', serif; font-size: 22px;
    color: var(--text-primary); line-height: 1.2; margin-bottom: 8px;
  }

  /* item badges (vegan / GF / spicy level / peanut) — modal detail view */
  .badge-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
  .badge-chip {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 600;
    letter-spacing: 0.2px;
  }
  .badge-chip.vegan           { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
  .badge-chip.gluten_friendly { background: #e3f2fd; color: #1565c0; border: 1px solid #90caf9; }
  .badge-chip.peanut          { background: #fff3cd; color: #7a4f00; border: 1px solid #f5c842; }
  .badge-chip.spicy           { background: #ffe0e0; color: #b71c1c; border: 1px solid #ef9a9a; }
  .badge-chip.mild_spicy      { background: #fff3e0; color: #e65100; border: 1px solid #ffcc80; }
  .badge-chip.not_spicy       { background: #e0f2f1; color: #00695c; border: 1px solid #80cbc4; }

  /* item description */
  #modal-item-desc {
    font-size: 13px; color: var(--text-secondary); line-height: 1.65;
    margin-bottom: 22px; padding-bottom: 20px; border-bottom: 1px solid var(--border);
  }
  /* sauce sub-descriptions */
  .sauce-desc-list { margin-top: 10px; display: flex; flex-direction: column; gap: 4px; }
  .sauce-desc-item { font-size: 12px; color: var(--text-hint); line-height: 1.5; }
  .sauce-desc-item strong { color: var(--text-secondary); font-weight: 600; }

  .modal-section-title {
    font-size: 10px; font-weight: 600; color: var(--text-hint);
    text-transform: uppercase; letter-spacing: 1.1px; margin-bottom: 10px;
  }
  .opt-list { display: flex; flex-direction: column; gap: 7px; margin-bottom: 20px; }
  .opt-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 11px 14px; border-radius: var(--radius-sm);
    border: 1.5px solid var(--border); cursor: pointer; transition: all 0.12s;
  }
  .opt-item:hover { background: var(--bg); border-color: var(--border-med); }
  .opt-item.selected { border-color: var(--brand); background: var(--brand-light); }
  .opt-item-left { display: flex; align-items: center; gap: 10px; }
  .opt-radio {
    width: 17px; height: 17px; border-radius: 50%; border: 2px solid var(--border-med);
    flex-shrink: 0; display: flex; align-items: center; justify-content: center; transition: all 0.12s;
  }
  .opt-item.selected .opt-radio { border-color: var(--brand); background: var(--brand); }
  .opt-radio-dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; opacity: 0; transition: opacity 0.12s; }
  .opt-item.selected .opt-radio-dot { opacity: 1; }
  .opt-item-label { font-size: 14px; color: var(--text-primary); }
  .opt-item-price { font-size: 12px; color: var(--text-secondary); font-weight: 500; }
  .opt-item.selected .opt-item-price { color: var(--brand); }

  /* topping grid */
  .topping-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 20px; }
  .topping-card {
    border: 1.5px solid var(--border); border-radius: var(--radius-md);
    padding: 10px 8px; display: flex; flex-direction: column; align-items: center;
    gap: 6px; cursor: pointer; transition: all 0.12s; background: var(--surface);
  }
  .topping-card:hover { border-color: var(--border-med); background: var(--bg); }
  .topping-card.selected { border-color: var(--brand); background: var(--brand-light); }
  .topping-emoji { font-size: 22px; line-height: 1; }
  .topping-name { font-size: 11px; font-weight: 500; color: var(--text-primary); text-align: center; line-height: 1.3; }
  .topping-price { font-size: 11px; color: var(--text-secondary); }
  .topping-card.selected .topping-price { color: var(--brand); }

  /* special request */
  .note-section { margin-bottom: 24px; }
  .note-textarea {
    width: 100%; padding: 10px 12px; border-radius: var(--radius-sm);
    border: 1.5px solid var(--border); background: var(--surface);
    font-family: 'DM Sans', sans-serif; font-size: 13px; color: var(--text-primary);
    resize: none; height: 64px; line-height: 1.5; outline: none; transition: border-color 0.12s;
  }
  .note-textarea::placeholder { color: var(--text-hint); }
  .note-textarea:focus { border-color: var(--border-med); }

  /* modal bottom */
  #modal-bottom {
    padding: 16px 28px; border-top: 1px solid var(--border);
    display: flex; align-items: center; gap: 12px; flex-shrink: 0;
  }
  .modal-qty { display: flex; align-items: center; gap: 10px; }
  .modal-qty-btn {
    width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--border-med);
    background: transparent; font-size: 20px; cursor: pointer; display: flex;
    align-items: center; justify-content: center; color: var(--text-primary);
    font-family: 'DM Sans', sans-serif; transition: background 0.1s;
  }
  .modal-qty-btn:hover { background: var(--bg); }
  .modal-qty-num { font-size: 16px; font-weight: 600; min-width: 24px; text-align: center; }
  #modal-add-btn {
    flex: 1; padding: 13px 16px; background: var(--brand); color: #fff; border: none;
    border-radius: var(--radius-md); font-size: 14px; font-weight: 600; cursor: pointer;
    transition: background 0.15s; font-family: 'DM Sans', sans-serif;
    display: flex; align-items: center; justify-content: space-between;
  }
  #modal-add-btn:hover { background: var(--brand-dark); }
  #modal-add-btn:disabled { background: #ddd; color: #aaa; cursor: not-allowed; }
  #modal-add-price { font-size: 13px; opacity: 0.85; font-weight: 500; }

  /* modal right — image */
  #modal-right {
    flex: 1; background: var(--bg); display: flex; align-items: center;
    justify-content: center; font-size: 110px; position: relative;
  }
  #modal-close {
    position: absolute; top: 14px; right: 14px; width: 34px; height: 34px;
    border-radius: 50%; background: rgba(0,0,0,0.32); border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 17px; font-family: 'DM Sans', sans-serif;
    transition: background 0.12s; z-index: 2;
  }
  #modal-close:hover { background: rgba(0,0,0,0.52); }

  /* item tag badges on cards */
  .tag-row { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }
  .tag-badge {
    display: inline-flex; align-items: center; gap: 3px;
    padding: 2px 7px; border-radius: 20px; font-size: 10px; font-weight: 600; letter-spacing: 0.2px;
  }
  .tag-badge.best             { background: #BB0F24; color: #fff; }
  .tag-badge.vegan            { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
  .tag-badge.gluten_friendly  { background: #e3f2fd; color: #1565c0; border: 1px solid #90caf9; }
  .tag-badge.peanut           { background: #fff3cd; color: #7a4f00; border: 1px solid #f5c842; }
  .tag-badge.spicy            { background: #ffe0e0; color: #b71c1c; border: 1px solid #ef9a9a; }
  .tag-badge.mild_spicy       { background: #fff3e0; color: #e65100; border: 1px solid #ffcc80; }
  .tag-badge.not_spicy        { background: #e0f2f1; color: #00695c; border: 1px solid #80cbc4; }

  /* SET MENU MODAL — slot selection */
  #set-modal-overlay {
    display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.52);
    z-index: 200; align-items: center; justify-content: center; padding: 24px;
  }
  #set-modal-overlay.open { display: flex; }
  #set-modal {
    background: var(--surface); border-radius: var(--radius-xl);
    width: 860px; max-width: 100%; max-height: 94vh;
    display: flex; flex-direction: column; overflow: hidden; position: relative;
    box-shadow: 0 24px 60px rgba(0,0,0,0.18);
  }
  #set-modal-header {
    padding: 24px 28px 18px; border-bottom: 1px solid var(--border); flex-shrink: 0;
    display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  }
  #set-modal-title { font-family: 'DM Serif Display', serif; font-size: 24px; color: var(--text-primary); }
  #set-modal-subtitle { font-size: 13px; color: var(--text-secondary); margin-top: 4px; }
  #set-modal-close {
    width: 34px; height: 34px; border-radius: 50%; background: var(--bg); border: 1px solid var(--border);
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    color: var(--text-primary); font-size: 17px; font-family: 'DM Sans', sans-serif;
    transition: background 0.12s; flex-shrink: 0;
  }
  #set-modal-close:hover { background: var(--border); }
  #set-modal-body { flex: 1; overflow-y: auto; padding: 20px 28px; }
  #set-modal-body::-webkit-scrollbar { width: 4px; }
  #set-modal-body::-webkit-scrollbar-thumb { background: var(--border-med); border-radius: 4px; }
  .set-slot { margin-bottom: 24px; }
  .set-slot-label {
    font-size: 10px; font-weight: 600; color: var(--text-hint);
    text-transform: uppercase; letter-spacing: 1.1px; margin-bottom: 10px;
  }
  .set-slot-qty { color: var(--brand); margin-left: 6px; }
  .set-slot-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .set-slot-option {
    border: 1.5px solid var(--border); border-radius: var(--radius-md);
    padding: 12px 10px; cursor: pointer; transition: all 0.12s;
    display: flex; flex-direction: column; gap: 3px; background: var(--surface);
  }
  .set-slot-option:hover { border-color: var(--border-med); background: var(--bg); }
  .set-slot-option.selected { border-color: var(--brand); background: var(--brand-light); }
  .set-slot-fixed {
    border: 1.5px solid var(--border); border-radius: var(--radius-md);
    padding: 12px 14px; background: var(--bg); color: var(--text-secondary);
    font-size: 14px; font-style: italic;
  }
  .set-option-name { font-size: 13px; font-weight: 500; color: var(--text-primary); line-height: 1.3; }
  .set-option-check { font-size: 16px; margin-top: 2px; }
  .set-slot-option.selected .set-option-name { color: var(--brand); }
  #set-modal-footer {
    padding: 16px 28px; border-top: 1px solid var(--border); flex-shrink: 0;
    display: flex; align-items: center; gap: 12px;
  }
  #set-modal-summary { flex: 1; font-size: 12px; color: var(--text-secondary); line-height: 1.5; }
  #set-modal-add-btn {
    padding: 13px 28px; background: var(--brand); color: #fff; border: none;
    border-radius: var(--radius-md); font-size: 14px; font-weight: 600; cursor: pointer;
    transition: background 0.15s; font-family: 'DM Sans', sans-serif; white-space: nowrap;
    display: flex; align-items: center; gap: 10px;
  }
  #set-modal-add-btn:hover { background: var(--brand-dark); }
  #set-modal-add-btn:disabled { background: #ddd; color: #aaa; cursor: not-allowed; }
  /* Online mode: compact set modal for mobile viewport */
  html.online-mode #set-modal {
    width: 100%; max-width: 420px; max-height: 88vh;
  }
  html.online-mode #set-modal-body { padding: 14px 16px; }
  html.online-mode #set-modal-header { padding: 16px 16px 12px; }
  html.online-mode #set-modal-footer { padding: 12px 16px; }
  .set-qty-ctrl { display: flex; align-items: center; gap: 10px; }
  .set-qty-btn {
    width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--border-med);
    background: transparent; font-size: 20px; cursor: pointer; display: flex;
    align-items: center; justify-content: center; color: var(--text-primary);
    font-family: 'DM Sans', sans-serif; transition: background 0.1s;
  }
  .set-qty-btn:hover { background: var(--bg); }
  .set-qty-num { font-size: 16px; font-weight: 600; min-width: 24px; text-align: center; }

  /* ═══════════════════════════════════════════════
     KIOSK OVERLAY SCREENS
  ═══════════════════════════════════════════════ */
  .kiosk-overlay {
    display: none; position: fixed; inset: 0;
    background: var(--bg); z-index: 300;
    flex-direction: column; align-items: center; justify-content: flex-start;
    overflow-y: auto;
  }
  .kiosk-overlay.open { display: flex; }

  /* ── 식사 유형 선택 화면 ── */
  #k-dining-screen {
    justify-content: center;
    gap: 40px;
    background: #BB0F24;
  }
  #k-dining-title {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-align: center;
    margin-bottom: 8px;
  }
  #k-dining-subtitle {
    color: rgba(255,255,255,0.75);
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
    margin-top: -28px;
  }
  .k-dining-btn {
    width: 320px;
    padding: 44px 0;
    border: 3px solid rgba(255,255,255,0.7);
    border-radius: 20px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
  }
  .k-dining-btn:hover { background: rgba(255,255,255,0.2); border-color: #fff; }
  .k-dining-btn:active { background: #fff; color: #BB0F24; }

  /* ── 이름 입력 화면 ── */
  #k-name-screen {
    gap: 0;
  }
  #k-name-header {
    position: absolute; top: 0; left: 0; right: 0;
    height: 60px; background: var(--surface);
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center; padding: 0 24px;
    justify-content: space-between;
  }
  #k-name-header-title { font-family: 'DM Serif Display', serif; font-size: 17px; color: var(--brand); }
  #k-name-back-btn {
    padding: 8px 18px; background: transparent; border: 1.5px solid var(--border-med);
    border-radius: var(--radius-md); font-size: 13px; font-weight: 600;
    color: var(--text-secondary); cursor: pointer; font-family: 'DM Sans', sans-serif;
    transition: background 0.15s;
  }
  #k-name-back-btn:hover { background: var(--bg); }
  #k-name-body {
    display: flex; flex-direction: column; align-items: center;
    width: 100%; max-width: 560px; padding: 24px 32px 60px;
    margin-top: 60px; box-sizing: border-box;
  }
  #k-name-order-summary {
    width: 100%; background: var(--surface); border-radius: var(--radius-lg);
    border: 1px solid var(--border); padding: 16px 20px; margin-bottom: 28px;
    font-size: 13px; color: var(--text-secondary);
  }
  #k-name-order-summary .k-summary-total {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 10px; border-top: 1px solid var(--border); margin-top: 10px;
    font-size: 16px; font-weight: 700; color: var(--text-primary);
  }
  #k-name-order-summary .k-summary-total span:last-child { color: var(--brand); font-size: 20px; }
  #k-name-prompt {
    font-family: 'DM Serif Display', serif; font-size: 28px;
    color: var(--text-primary); margin-bottom: 8px; text-align: center;
  }
  #k-name-sub {
    font-size: 14px; color: var(--text-secondary); margin-bottom: 24px; text-align: center;
  }
  #k-name-input {
    width: 100%; min-height: 64px; background: var(--surface);
    border: 2.5px solid var(--brand); border-radius: var(--radius-lg);
    padding: 0 22px; box-sizing: border-box;
    font-family: 'DM Serif Display', serif; font-size: 32px;
    color: var(--text-primary); margin-bottom: 16px; letter-spacing: 1px;
    outline: none;
  }
  #k-name-input::placeholder {
    color: var(--text-hint); font-family: 'DM Sans', sans-serif;
    font-size: 18px; font-style: italic; font-weight: 400;
  }
  #k-name-proceed-btn {
    margin-top: 20px; width: 100%; padding: 18px;
    background: var(--brand); color: #fff; border: none;
    border-radius: var(--radius-lg); font-size: 17px; font-weight: 700;
    cursor: pointer; font-family: 'DM Sans', sans-serif;
    transition: background 0.15s, opacity 0.15s;
  }
  #k-name-proceed-btn:disabled { background: #ddd; color: #aaa; cursor: not-allowed; }
  #k-name-proceed-btn:not(:disabled):hover { background: var(--brand-dark); }

  /* ── 결제 대기 화면 ── */
  #k-payment-screen {
    gap: 24px; text-align: center; padding: 32px;
    justify-content: center;
  }
  #k-payment-screen .k-pay-icon {
    width: 120px; height: 120px; background: var(--surface);
    border-radius: 28px; display: flex; align-items: center; justify-content: center;
    font-size: 56px; box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    border: 2px solid var(--border);
  }
  #k-payment-screen .k-pay-title {
    font-family: 'DM Serif Display', serif; font-size: 34px;
    color: var(--text-primary); line-height: 1.2;
  }
  #k-payment-screen .k-pay-sub {
    font-size: 15px; color: var(--text-secondary); max-width: 340px; line-height: 1.6;
  }
  #k-payment-amount-box {
    background: var(--surface); border-radius: var(--radius-xl);
    border: 2px solid var(--border); padding: 18px 48px;
    font-size: 13px; color: var(--text-secondary); letter-spacing: 0.3px;
  }
  #k-payment-amount-box .k-pay-amount {
    font-family: 'DM Serif Display', serif; font-size: 48px;
    color: var(--brand); font-weight: 400; display: block; margin-top: 4px;
  }
  .k-pay-reader-anim {
    width: 220px; height: 8px; background: var(--border);
    border-radius: 4px; overflow: hidden; position: relative;
  }
  .k-pay-reader-anim::after {
    content: ''; position: absolute; top: 0; left: -40%;
    width: 40%; height: 100%;
    background: linear-gradient(90deg, transparent, var(--brand), transparent);
    animation: reader-pulse 1.6s ease-in-out infinite;
  }
  @keyframes reader-pulse {
    0% { left: -40%; }
    100% { left: 100%; }
  }
  .k-pay-reader-label {
    font-size: 12px; color: var(--text-hint); letter-spacing: 0.8px;
    text-transform: uppercase; margin-top: 8px;
  }
  #k-payment-cancel-btn {
    padding: 12px 32px; background: transparent;
    border: 1.5px solid var(--border-med);
    border-radius: var(--radius-md); font-size: 14px; font-weight: 600;
    color: var(--text-secondary); cursor: pointer;
    font-family: 'DM Sans', sans-serif; transition: background 0.15s;
  }
  #k-payment-cancel-btn:hover { background: var(--surface); }

  /* ── 완료 화면 ── */
  #k-complete-screen {
    gap: 20px; text-align: center; padding: 32px;
    background: var(--surface);
    justify-content: center;}
  .k-complete-check {
    width: 100px; height: 100px; background: #e8f7ee;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 52px; border: 3px solid #4caf7d;
  }
  .k-complete-title {
    font-family: 'DM Serif Display', serif; font-size: 36px;
    color: var(--text-primary); line-height: 1.2;
  }
  .k-complete-sub { font-size: 15px; color: var(--text-secondary); line-height: 1.6; }
  #k-complete-order-box {
    background: var(--bg); border-radius: var(--radius-xl);
    padding: 20px 32px; min-width: 280px; max-width: 400px;
    border: 1px solid var(--border);
  }
  #k-complete-order-name {
    font-family: 'DM Serif Display', serif; font-size: 28px;
    color: var(--brand); margin-bottom: 4px;
  }
  #k-complete-order-number {
    font-size: 13px; color: var(--text-secondary); letter-spacing: 0.3px;
  }
  /* 카운트다운 링 */
  #k-countdown-ring {
    position: relative; width: 64px; height: 64px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  }
  #k-countdown-ring svg { position: absolute; top: 0; left: 0; transform: rotate(-90deg); }
  #k-countdown-ring circle.track {
    fill: none; stroke: var(--border); stroke-width: 4;
  }
  #k-countdown-ring circle.progress {
    fill: none; stroke: var(--brand); stroke-width: 4;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s linear;
  }
  #k-countdown-num {
    font-size: 20px; font-weight: 700; color: var(--brand);
    font-family: 'DM Sans', sans-serif; position: relative; z-index: 1;
  }
  #k-complete-restart-btn {
    padding: 14px 40px; background: var(--brand); color: #fff;
    border: none; border-radius: var(--radius-lg);
    font-size: 15px; font-weight: 700; cursor: pointer;
    font-family: 'DM Sans', sans-serif; transition: background 0.15s;
  }
  #k-complete-restart-btn:hover { background: var(--brand-dark); }

  /* ═══════════════════════════════════════════════
     ONLINE MODE
  ═══════════════════════════════════════════════ */
  #online {
    display: none; width: 100vw; min-height: 100vh;
    background: var(--bg); flex-direction: column; align-items: center;
  }

  /* Online header — fixed so always visible */
  #ol-header {
    position: fixed; top: 0; left: 50%; transform: translateX(-50%);
    z-index: 100;
    width: 100%; max-width: 520px; background: var(--surface);
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 20px; height: 56px; flex-shrink: 0;
  }
  #ol-logo { font-family: 'DM Serif Display', serif; font-size: 18px; color: var(--brand); }
  #ol-logo-sub { font-size: 10px; color: var(--text-hint); letter-spacing: 1.1px; text-transform: uppercase; }
  #ol-cart-btn {
    display: flex; align-items: center; gap: 8px;
    background: var(--brand); color: #fff; border: none; border-radius: 999px;
    padding: 8px 16px; font-size: 13px; font-weight: 600; cursor: pointer;
    font-family: 'DM Sans', sans-serif; transition: background 0.15s;
  }
  #ol-cart-btn:hover { background: var(--brand-dark); }
  #ol-cart-btn.empty { background: var(--bg); color: var(--text-hint); border: 1.5px solid var(--border); }
  #ol-cart-count { background: #fff; color: var(--brand); border-radius: 50%; width: 18px; height: 18px; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
  #ol-cart-btn.empty #ol-cart-count { background: var(--border); color: var(--text-hint); }

  /* Online screens */
  .ol-screen { display: none; width: 100%; max-width: 520px; margin: 0 auto; flex: 1; padding-top: 56px; }
  .ol-screen.active { display: block; }
  #online.active { display: flex; }
  #ol-menu-screen { padding-top: 104px; }

  /* Screen 1: Menu */
  #ol-cats {
    position: fixed; top: 56px; left: 50%; transform: translateX(-50%);
    z-index: 90; width: 100%; max-width: 520px;
    background: var(--surface); border-bottom: 1px solid var(--border);
    display: flex; gap: 4px; padding: 10px 16px; overflow-x: auto;
  }
  #ol-cats::-webkit-scrollbar { display: none; }
  .ol-cat-tab {
    padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 500;
    cursor: pointer; white-space: nowrap; border: 1.5px solid var(--border);
    background: var(--surface); color: var(--text-secondary); transition: all 0.12s;
  }
  .ol-cat-tab.active { background: var(--brand); color: #fff; border-color: var(--brand); }
  #ol-menu-body { padding: 16px; }
  .ol-cat-section { margin-bottom: 28px; }
  .ol-cat-title {
    font-family: 'DM Serif Display', serif; font-size: 20px;
    color: var(--text-primary); margin-bottom: 12px; padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
  }
  .ol-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .ol-card {
    background: var(--surface); border-radius: var(--radius-lg);
    border: 1px solid var(--border); overflow: hidden; cursor: pointer;
    transition: transform 0.12s, box-shadow 0.12s; active-state: scale(0.97);
  }
  .ol-card:active { transform: scale(0.97); }
  .ol-card-img {
    width: 100%; aspect-ratio: 1; background: var(--bg);
    display: flex; align-items: center; justify-content: center;
    font-size: 42px; overflow: hidden;
  }
  .ol-card-img img { width: 100%; height: 100%; object-fit: cover; }
  .ol-card-body { padding: 10px 10px 12px; }
  .ol-card-name { font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--text-primary); }
  .ol-card-desc { font-size: 11px; color: var(--text-secondary); margin-top: 3px; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .ol-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
  .ol-card-price { font-size: 13px; font-weight: 600; color: var(--text-primary); }
  .ol-card-add {
    width: 26px; height: 26px; border-radius: 50%; background: var(--brand);
    color: #fff; border: none; font-size: 18px; cursor: pointer; display: flex;
    align-items: center; justify-content: center; line-height: 1;
    font-family: 'DM Sans', sans-serif; transition: background 0.12s;
  }
  .ol-card-add:hover { background: var(--brand-dark); }
  .ol-card-tags { display: flex; gap: 3px; flex-wrap: wrap; margin-top: 5px; }

  /* Online item detail — bottom sheet */
  #ol-item-sheet-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.45); z-index: 200; align-items: flex-end; justify-content: center;
  }
  #ol-item-sheet-overlay.open { display: flex; }
  #ol-item-sheet {
    background: var(--surface); border-radius: 20px 20px 0 0;
    width: 100%; max-width: 520px; max-height: 92vh;
    display: flex; flex-direction: column; overflow: hidden;
    animation: sheetUp 0.22s ease;
  }
  @keyframes sheetUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
  #ol-sheet-img { width: 100%; aspect-ratio: 4/3; max-height: 220px; background: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 72px; flex-shrink: 0; overflow: hidden; }
  #ol-sheet-img img { width: 100%; height: 100%; object-fit: cover; }
  #ol-sheet-close {
    position: absolute; top: 12px; right: 12px; width: 32px; height: 32px;
    border-radius: 50%; background: rgba(0,0,0,0.45); border: none; color: #fff;
    font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center;
    font-family: 'DM Sans', sans-serif;
  }
  #ol-sheet-body { flex: 1; overflow-y: auto; padding: 18px 20px 0; }
  #ol-sheet-body::-webkit-scrollbar { display: none; }
  #ol-sheet-name { font-family: 'DM Serif Display', serif; font-size: 20px; line-height: 1.2; }
  #ol-sheet-desc { font-size: 13px; color: var(--text-secondary); margin-top: 6px; line-height: 1.5; }
  #ol-sheet-footer {
    padding: 14px 20px; border-top: 1px solid var(--border); flex-shrink: 0;
    display: flex; align-items: center; gap: 12px;
  }
  .ol-sheet-qty-ctrl { display: flex; align-items: center; gap: 8px; }
  .ol-sheet-qty-btn {
    width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--border-med);
    background: transparent; font-size: 20px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-primary); font-family: 'DM Sans', sans-serif;
  }
  .ol-sheet-qty-num { font-size: 16px; font-weight: 600; min-width: 20px; text-align: center; }
  #ol-sheet-add-btn {
    flex: 1; padding: 13px; background: var(--brand); color: #fff; border: none;
    border-radius: var(--radius-md); font-size: 14px; font-weight: 600; cursor: pointer;
    font-family: 'DM Sans', sans-serif; display: flex; align-items: center; justify-content: center; gap: 8px;
  }
  #ol-sheet-add-btn:hover { background: var(--brand-dark); }

  /* Screen 2: Cart */
  #ol-cart-screen { padding: 0; }
  .ol-screen-header {
    padding: 18px 20px 14px; border-bottom: 1px solid var(--border);
    font-family: 'DM Serif Display', serif; font-size: 22px;
    display: flex; align-items: center; gap: 12px;
  }
  .ol-back-btn {
    background: none; border: none; cursor: pointer; font-size: 20px;
    color: var(--text-secondary); padding: 0; display: flex; align-items: center;
  }
  .ol-cart-list { padding: 12px 20px; }
  .ol-cart-item {
    display: flex; gap: 12px; padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }
  .ol-cart-item:last-child { border-bottom: none; }
  .ol-cart-item-info { flex: 1; min-width: 0; }
  .ol-cart-item-name { font-size: 13px; font-weight: 600; }
  .ol-cart-item-opts { font-size: 11px; color: var(--text-secondary); margin-top: 2px; }
  .ol-cart-item-discount { font-size: 11px; color: var(--brand); margin-top: 2px; }
  .ol-cart-item-row { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
  .ol-cart-qty-ctrl { display: flex; align-items: center; gap: 6px; }
  .ol-cart-qty-btn {
    width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--border-med);
    background: transparent; font-size: 16px; cursor: pointer; display: flex;
    align-items: center; justify-content: center; font-family: 'DM Sans', sans-serif;
    color: var(--text-primary);
  }
  .ol-cart-qty-num { font-size: 13px; font-weight: 600; min-width: 18px; text-align: center; }
  .ol-cart-item-price { font-size: 14px; font-weight: 600; }

  /* AI Upsell in cart */
  #ol-upsell-section { padding: 16px 20px; }
  .ol-upsell-title { font-size: 11px; font-weight: 600; color: var(--text-hint); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
  .ol-upsell-cards { display: flex; flex-direction: column; gap: 8px; }
  .ol-upsell-card {
    background: var(--surface); border: 1.5px solid var(--border);
    border-radius: var(--radius-md); padding: 12px 14px;
    display: flex; align-items: center; gap: 12px; cursor: pointer;
    transition: border-color 0.12s;
  }
  .ol-upsell-card:hover { border-color: var(--brand); }
  .ol-upsell-card.set-upsell { border-color: #f59e0b; background: #fffbeb; }
  .ol-upsell-card-emoji { font-size: 26px; flex-shrink: 0; }
  .ol-upsell-card-info { flex: 1; min-width: 0; }
  .ol-upsell-card-msg { font-size: 12px; font-weight: 600; color: var(--text-primary); line-height: 1.3; }
  .ol-upsell-card.set-upsell .ol-upsell-card-msg { color: #92400e; }
  .ol-upsell-card-sub { font-size: 11px; color: var(--text-secondary); margin-top: 2px; }
  .ol-upsell-add-btn {
    padding: 6px 12px; background: var(--brand); color: #fff; border: none;
    border-radius: var(--radius-sm); font-size: 12px; font-weight: 600; cursor: pointer;
    font-family: 'DM Sans', sans-serif; white-space: nowrap; flex-shrink: 0;
  }
  .ol-upsell-card.set-upsell .ol-upsell-add-btn { background: #f59e0b; }

  /* Cart footer */
  #ol-cart-footer {
    position: sticky; bottom: 0; background: var(--surface);
    border-top: 1px solid var(--border); padding: 14px 20px;
  }
  .ol-total-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
  .ol-total-label { font-size: 14px; font-weight: 600; }
  .ol-total-val { font-size: 18px; font-weight: 700; }
  .ol-proceed-btn {
    width: 100%; padding: 15px; background: var(--brand); color: #fff; border: none;
    border-radius: var(--radius-md); font-size: 15px; font-weight: 600; cursor: pointer;
    font-family: 'DM Sans', sans-serif; transition: background 0.15s;
  }
  .ol-proceed-btn:hover { background: var(--brand-dark); }
  .ol-proceed-btn:disabled { background: #ddd; color: #aaa; cursor: not-allowed; }

  /* Screen 3: Checkout (name + pickup) */
  #ol-checkout-screen { padding-bottom: 100px; }
  .ol-section { padding: 20px 20px 0; }
  .ol-section-title { font-size: 11px; font-weight: 600; color: var(--text-hint); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
  .ol-input {
    width: 100%; padding: 13px 16px; border: 1.5px solid var(--border-med);
    border-radius: var(--radius-md); font-size: 16px; font-family: 'DM Sans', sans-serif;
    color: var(--text-primary); background: var(--surface); outline: none; transition: border-color 0.12s;
  }
  .ol-input:focus { border-color: var(--brand); }
  .ol-input::placeholder { color: var(--text-hint); }
  .ol-pickup-slots-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
  .ol-pickup-slot {
    padding: 11px 4px; border: 1.5px solid var(--border-med);
    border-radius: var(--radius-md); cursor: pointer; transition: all 0.12s;
    display: flex; align-items: center; justify-content: center;
    background: var(--surface); text-align: center;
  }
  .ol-pickup-slot:hover { border-color: var(--brand); }
  .ol-pickup-slot.selected { border-color: var(--brand); background: var(--brand-light); }
  .ol-pickup-slot.selected .ol-slot-time { color: var(--brand); font-weight: 700; }
  .ol-slot-time { font-size: 14px; font-weight: 500; }
  .ol-hours-notice {
    margin-top: 10px; padding: 11px 14px;
    background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--radius-md); font-size: 12px; color: var(--text-secondary);
    line-height: 1.5; display: flex; gap: 8px; align-items: flex-start;
  }
  .ol-hours-notice-icon { flex-shrink: 0; }
  .ol-now-option {
    padding: 13px 16px; border: 1.5px solid var(--border-med);
    border-radius: var(--radius-md); cursor: pointer; transition: all 0.12s;
    background: var(--surface); margin-bottom: 8px;
    display: flex; align-items: center; justify-content: space-between;
  }
  .ol-now-option:hover { border-color: var(--brand); }
  .ol-now-option.selected { border-color: var(--brand); background: var(--brand-light); }
  .ol-now-option.selected span { color: var(--brand); font-weight: 600; }
  #ol-checkout-footer {
    position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 100%; max-width: 520px; background: var(--surface);
    border-top: 1px solid var(--border); padding: 14px 20px;
    z-index: 50;
  }

  /* Screen 4: Payment */
  #ol-payment-screen { padding-bottom: 120px; }
  .ol-surcharge-banner {
    margin: 16px 20px 0; padding: 12px 16px;
    background: #fff8ec; border: 1.5px solid #f59e0b;
    border-radius: var(--radius-md); display: flex; gap: 10px; align-items: flex-start;
  }
  .ol-surcharge-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
  .ol-surcharge-text { font-size: 12px; color: #92400e; line-height: 1.5; }
  .ol-surcharge-text strong { font-weight: 700; }
  .ol-order-summary { padding: 16px 20px 0; }
  .ol-summary-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 0; border-bottom: 1px solid var(--border);
    font-size: 13px;
  }
  .ol-summary-row:last-child { border-bottom: none; }
  .ol-summary-row.total { font-size: 15px; font-weight: 700; padding-top: 12px; border-top: 2px solid var(--text-primary); border-bottom: none; }
  .ol-summary-label { color: var(--text-secondary); }
  .ol-summary-val { font-weight: 500; }
  .ol-summary-discount { color: var(--brand); }
  .ol-summary-surcharge { color: #d97706; }
  #ol-payment-footer {
    position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 100%; max-width: 520px; background: var(--surface);
    border-top: 1px solid var(--border); padding: 14px 20px;
    z-index: 50;
  }
  .ol-name-display { font-size: 13px; color: var(--text-secondary); margin-bottom: 4px; }
  .ol-name-display strong { color: var(--text-primary); }

  /* Screen 5: Complete */
  #ol-complete-screen.active {
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; min-height: calc(100vh - 56px);
    padding: 40px 24px; text-align: center;
  }
  .ol-complete-icon { font-size: 64px; margin-bottom: 20px; }
  .ol-complete-title { font-family: 'DM Serif Display', serif; font-size: 28px; margin-bottom: 8px; }
  .ol-complete-sub { font-size: 15px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 6px; }
  .ol-complete-name { font-size: 22px; font-weight: 700; color: var(--brand); margin: 12px 0; }
  .ol-complete-pickup {
    margin: 16px 0; padding: 14px 20px; background: var(--brand-light);
    border-radius: var(--radius-md); border: 1.5px solid var(--brand);
  }
  .ol-complete-pickup-label { font-size: 11px; color: var(--brand); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
  .ol-complete-pickup-time { font-size: 24px; font-weight: 700; color: var(--brand); margin-top: 4px; }
  .ol-complete-new-btn {
    margin-top: 24px; padding: 14px 32px; background: var(--brand); color: #fff;
    border: none; border-radius: var(--radius-md); font-size: 14px; font-weight: 600;
    cursor: pointer; font-family: 'DM Sans', sans-serif;
  }
}

/* Desktop layout via JS-added class */
  #online.active.online-desktop-layout {
    display: grid !important;
    grid-template-columns: 1fr 340px;
    gap: 0;
    align-items: start;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 56px;
    width: 100%;
  }
  #online.active.online-desktop-layout .ol-screen.active {
    display: block !important;
    max-width: none;
    padding-top: 0;
  }
  #online.active.online-desktop-layout #ol-menu-screen {
    grid-column: 1;
    padding-top: 104px;
  }
  #online.active.online-desktop-layout #ol-cart-screen {
    grid-column: 2;
    position: sticky;
    top: 56px;
    height: calc(100vh - 56px);
    overflow-y: auto;
    border-left: 1px solid var(--border);
  }

@media (min-width: 768px) {
  #ol-cats {
    position: sticky;
    top: 56px;
    left: auto;
    transform: none;
    max-width: none;
    width: 100%;
  }
  #online {
    align-items: center;
  }
  #ol-header {
    max-width: 900px;
    left: 50%;
    transform: translateX(-50%);
  }
  #online.active {
    display: grid !important;
    grid-template-columns: 1fr 340px;
    grid-template-rows: auto;
    align-items: start;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 56px;
  }
  #ol-header {
    grid-column: 1 / -1;
  }
  #ol-menu-screen {
    display: block !important;
    max-width: none;
    padding-top: 0;
  }
  #ol-cart-screen {
    display: block !important;
    max-width: none;
    position: sticky;
    top: 56px;
    height: calc(100vh - 56px);
    overflow-y: auto;
    border-left: 1px solid var(--border);
    padding-top: 0;
  }
  /* Checkout / Payment / Complete: occupy right column, hide cart */
  #ol-checkout-screen.active,
  #ol-payment-screen.active,
  #ol-complete-screen.active {
    display: block !important;
    max-width: none;
    padding-top: 0;
    grid-column: 2;
    grid-row: 1;
    position: sticky;
    top: 56px;
    height: calc(100vh - 56px);
    overflow-y: auto;
    border-left: 1px solid var(--border);
  }
  #online:has(#ol-checkout-screen.active) #ol-cart-screen,
  #online:has(#ol-payment-screen.active) #ol-cart-screen,
  #online:has(#ol-complete-screen.active) #ol-cart-screen {
    display: none !important;
  }
}