:root {
  --pink-bg: #f5dede;
  --maroon: #9c3535;
  --maroon-dark: #7e2a2a;
  --text-dark: #2b2b2b;
  --grey-thumb: #ececec;
  --green: #2e9e44;
  --sidebar-bg: #f7f7f8;
  --border: #e8e8ec;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0; height: 100%;
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-user-select: none; user-select: none;
  overscroll-behavior: none;
}
#app, .kiosk { width: 100%; height: 100vh; overflow: hidden; position: relative; background: #fff; }
.screen { width: 100%; height: 100%; display: flex; flex-direction: column; }

.kiosk-corner-tap { position: fixed; top: 0; left: 0; width: 60px; height: 60px; z-index: 9999; }
/* Diagnostic tap zone — now inside bottom-bar above Kasa button */
.bottom-kasa-wrap { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
.kiosk-corner-tap-btn { height: 18px; cursor: default; user-select: none; -webkit-user-select: none; }

/* BUTTONS */
.btn-primary {
  background: var(--maroon); color: #fff; border: none;
  border-radius: 8px; padding: 15px 24px; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: background .15s, transform .1s;
  width: 100%;
}
.btn-primary:active { background: var(--maroon-dark); transform: scale(.97); }
.btn-primary:disabled { opacity: .4; }
.btn-secondary {
  background: #f0f0f0; color: var(--text-dark); border: none;
  border-radius: 8px; padding: 15px 24px; font-size: 15px; font-weight: 600;
  cursor: pointer;
}
.btn-danger {
  background: var(--maroon); color: #fff; border: none;
  border-radius: 8px; padding: 15px 24px; font-size: 15px; font-weight: 700;
  cursor: pointer;
}

/* LANDING */
.screen-landing {
  position: relative;
  justify-content: flex-end;
  align-items: center;
  color: #fff;
  text-align: center;
  background: #000;
  overflow: hidden;
}
.landing-slides { position: absolute; inset: 0; }
.landing-slide {
  position: absolute; inset: 0;
  background: #111 center/cover no-repeat;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.1s ease, transform 6s ease;
}
.landing-slide.active { opacity: 1; transform: scale(1); z-index: 1; }
.landing-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to bottom, rgba(0,0,0,.05) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,.65) 100%);
  pointer-events: none;
}
.landing-dots { position: relative; z-index: 3; display: flex; gap: 6px; justify-content: center; margin-bottom: 22px; }
.landing-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.4); transition: background .3s, width .3s; }
.landing-dot.active { background: #fff; width: 18px; border-radius: 4px; }
.btn-order-now {
  position: relative; z-index: 3; width: calc(100% - 32px); border: none;
  background: var(--maroon); color: #fff; font-size: 22px; font-weight: 700;
  padding: 22px 0; margin-bottom: 26px; border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
  transition: transform .15s ease, background .15s ease;
}
.btn-order-now:active { background: var(--maroon-dark); transform: scale(.97); }

/* MENU — Odoo-like layout */
.screen-menu { background: #fff; }
.cat-tabs {
  display: flex; gap: 0; padding: 0 0 0 0;
  overflow-x: auto; scrollbar-width: none;
  border-bottom: 1px solid var(--border);
  background: #fff;
}
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-pill {
  border: none; border-bottom: 2px solid transparent;
  padding: 13px 18px; font-weight: 600; font-size: 14px;
  background: transparent; color: #888; white-space: nowrap; flex-shrink: 0;
  transition: color .15s, border-color .15s;
  border-radius: 0;
}
.cat-pill.active { color: var(--maroon); border-bottom-color: var(--maroon); }
.product-list { flex: 1; overflow-y: auto; padding: 0; }

/* Product rows — Odoo POS style */
.product-row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-bottom: 1px solid var(--border);
  cursor: pointer; transition: background .12s;
  position: relative;
}
.product-row:active { background: #fdf5f5; }
.product-row.added { background: #fbeaea; }
.product-thumb {
  width: 64px; height: 64px; border-radius: 8px; background: var(--grey-thumb);
  display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0;
}
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-thumb svg { width: 26px; height: 26px; }
.product-info { flex: 1; min-width: 0; }
.product-name { font-weight: 600; font-size: 15px; color: var(--text-dark); }
.product-desc { font-size: 12px; color: #aaa; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-price { color: var(--maroon); font-weight: 700; margin-top: 4px; font-size: 15px; }
.product-add-btn {
  width: 34px; height: 34px; border-radius: 6px; background: var(--maroon);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.product-add-btn svg { width: 18px; height: 18px; stroke: #fff; }
.empty-state { text-align: center; padding: 60px 20px; color: #bbb; font-size: 15px; }

/* BOTTOM BAR */
.bottom-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-top: 1px solid var(--border); background: #fff;
}
.bottom-back {
  width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--border);
  background: #fff; color: var(--text-dark);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.bottom-back svg { width: 20px; height: 20px; }
.bottom-cart-count {
  flex: 1; display: flex; align-items: center; gap: 10px;
  background: #f8f8f8; border-radius: 8px; padding: 10px 14px;
  font-weight: 600; color: var(--text-dark);
  border: 1px solid var(--border);
  transition: background .25s ease, transform .25s ease;
}
.bottom-cart-count.cart-pulse { background: #fbe0e0; animation: cartPulse .45s ease; }
@keyframes cartPulse {
  0%   { transform: scale(1); }
  35%  { transform: scale(1.05); }
  100% { transform: scale(1); }
}
.bottom-cart-icon { position: relative; display: inline-flex; color: var(--maroon); }
.bottom-cart-icon svg { width: 22px; height: 22px; }
.cart-count-badge {
  position: absolute; top: -8px; right: -10px;
  background: var(--maroon); color: #fff; font-size: 11px; font-weight: 800;
  min-width: 18px; height: 18px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
  transform: scale(0); transition: transform .25s cubic-bezier(.34,1.56,.64,1);
}
.cart-count-badge.show { transform: scale(1); }
.bottom-cart-total { color: var(--maroon); font-size: 15px; font-weight: 700; }
.bottom-checkout {
  border: none; background: var(--maroon); color: #fff; font-weight: 700;
  border-radius: 8px; padding: 12px 24px; font-size: 15px; flex-shrink: 0;
  transition: background .15s;
}
.bottom-checkout:disabled { opacity: .35; }
.bottom-checkout:not(:disabled):active { background: var(--maroon-dark); }

/* FLY-TO-CART */
.fly-to-cart {
  position: fixed; z-index: 10000; pointer-events: none;
  border-radius: 8px; background: var(--grey-thumb);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  transition: transform .55s cubic-bezier(.3,.6,.3,1), opacity .55s ease, width .55s ease, height .55s ease;
}
.fly-to-cart img { width: 100%; height: 100%; object-fit: cover; }
.fly-to-cart svg { width: 60%; height: 60%; }
.product-row.added .product-thumb { animation: thumbPop .35s ease; }
@keyframes thumbPop {
  0%   { transform: scale(1); }
  40%  { transform: scale(.85); }
  100% { transform: scale(1); }
}

/* CART */
.screen-cart { background: #fff; }
.cart-title { font-size: 20px; font-weight: 700; padding: 18px 16px 10px; color: var(--text-dark); border-bottom: 1px solid var(--border); }
.cart-lines { flex: 1; overflow-y: auto; padding: 0 14px; }
.cart-line { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.cart-line-thumb { width: 52px; height: 52px; border-radius: 7px; background: var(--grey-thumb); display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; }
.cart-line-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-line-thumb svg { width: 24px; height: 24px; }
.cart-line-name { flex: 1; font-weight: 600; font-size: 14px; color: var(--text-dark); }
.cart-line-qty { display: flex; align-items: center; gap: 8px; background: #f5f5f5; border-radius: 8px; padding: 5px 10px; }
.qty-btn { border: none; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 6px; color: var(--maroon); font-size: 16px; font-weight: 700; }
.qty-btn:active { background: #e8e8e8; }
.qty-btn svg { width: 14px; height: 14px; }
.qty-num { font-weight: 700; font-size: 16px; color: var(--text-dark); min-width: 20px; text-align: center; }
.cart-line-price { font-weight: 700; color: var(--maroon); min-width: 75px; text-align: right; font-size: 15px; }
.cart-sum { padding: 14px 16px; font-size: 16px; color: var(--text-dark); border-top: 2px solid var(--border); font-weight: 600; }
.cart-sum b { color: var(--maroon); }
.bottom-back-alone {
  border: none; background: transparent; color: var(--maroon); font-weight: 600;
  border-radius: 10px; padding: 12px 20px; margin: 10px auto 20px; display: flex; align-items: center; gap: 6px;
  font-size: 15px;
}
.bottom-back-alone svg { width: 18px; height: 18px; }

/* PAYMENT METHODS SELECTION */
.screen-methods { background: var(--pink-bg); align-items: center; justify-content: flex-start; padding-top: 10vh; }
.payment-methods-list {
  display: flex; flex-direction: column;
  width: calc(100% - 40px); max-width: 420px; margin-bottom: 8px;
  background: #fff; border-radius: 16px; box-shadow: 0 4px 14px rgba(0,0,0,.06);
  overflow: hidden;
}
.payment-method-row {
  background: #fff; border: none; padding: 18px 20px;
  display: flex; align-items: center; gap: 16px; cursor: pointer;
  width: 100%; text-align: left; transition: background-color .15s;
}
.payment-method-row:active { background: #faf3f4; }
.payment-method-sep { height: 1px; background: var(--border); margin: 0 20px; }
.payment-method-icon { width: 28px; height: 28px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: var(--maroon); }
.payment-method-icon svg { width: 26px; height: 26px; }
.payment-method-name { font-weight: 700; font-size: 16px; color: var(--text-dark); }

/* PAYMENT */
.screen-payment { background: var(--pink-bg); align-items: center; justify-content: flex-start; padding-top: 12vh; }
.payment-title { font-size: 22px; font-weight: 800; text-align: center; color: var(--text-dark); margin-bottom: 28px; line-height: 1.4; }
.payment-qr-box { background: #fff; border-radius: 16px; padding: 24px; box-shadow: 0 4px 24px rgba(0,0,0,.1); }
.payment-status { margin-top: 22px; font-weight: 600; color: var(--maroon); font-size: 15px; }

/* CONFIRMATION */
.screen-confirmation { background: var(--pink-bg); align-items: center; justify-content: flex-start; padding-top: 8vh; }
.confirm-check {
  width: 80px; height: 80px; border-radius: 50%; background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
  box-shadow: 0 8px 24px rgba(46,158,68,.3);
  animation: popIn .4s cubic-bezier(.34,1.56,.64,1);
}
@keyframes popIn { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.confirm-check svg { width: 40px; height: 40px; }
.confirm-title { font-size: 20px; font-weight: 800; text-align: center; color: var(--text-dark); margin-bottom: 24px; line-height: 1.4; padding: 0 24px; }

/* Order number — prosty, wielki tekst */
.confirm-order-number-big {
  font-size: 140px; font-weight: 900; color: var(--maroon);
  letter-spacing: -4px; line-height: 1;
  font-variant-numeric: tabular-nums;
  margin: 6px 0 22px;
}
.confirm-countdown {
  margin-top: 16px; font-size: 13px; color: #bbb; font-weight: 500;
}
.confirm-cash-note {
  margin-top: 16px; background: #fff3cd; color: #a6770b; font-weight: 700; font-size: 15px;
  padding: 12px 22px; border-radius: 12px; text-align: center; width: calc(100% - 40px); max-width: 340px;
}
.confirm-cash-note b { font-size: 17px; }
.confirm-print-retry {
  margin-top: 16px; background: #fff; border: 2px solid var(--maroon); color: var(--maroon);
  font-weight: 700; font-size: 14px; padding: 12px 22px; border-radius: 12px; cursor: pointer;
  width: calc(100% - 40px); max-width: 340px;
}
.confirm-print-retry:active { background: #faf3f4; }
.confirm-countdown span { color: var(--maroon); font-weight: 700; }
.btn-close-confirm {
  position: fixed; bottom: 0; left: 0; width: 100%; border: none;
  background: var(--maroon); color: #fff; font-weight: 700; font-size: 17px; padding: 20px 0;
  cursor: pointer;
}
.btn-close-confirm:active { background: var(--maroon-dark); }

/* ERROR / SYSTEM SCREENS */
.screen-error { background: #fafafa; align-items: center; justify-content: center; }
.error-card {
  background: #fff; border-radius: 16px; padding: 40px 32px; max-width: 360px; width: 90%;
  text-align: center; box-shadow: 0 8px 32px rgba(0,0,0,.1);
}
.error-icon {
  width: 64px; height: 64px; border-radius: 50%; background: #fdecea;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
  color: var(--maroon);
}
.error-icon svg { width: 30px; height: 30px; }
.error-icon--ok { background: #d8f3dc; color: var(--green); }
.error-icon--wifi { background: #fff3cd; color: #b78800; }
.error-title { font-size: 20px; font-weight: 800; color: var(--text-dark); margin: 0 0 8px; }
.error-code { font-size: 12px; color: #bbb; margin: 0 0 8px; font-family: monospace; }
.error-msg { font-size: 15px; color: #777; margin: 0 0 24px; line-height: 1.5; }
.error-close-btn { margin-top: 0; }

/* SPINNER */
.spinner {
  width: 36px; height: 36px; border: 3px solid #eee; border-top-color: var(--maroon);
  border-radius: 50%; animation: spin 0.9s linear infinite; margin: 16px auto 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* DIAGNOSTIC / PANEL */
.kiosk-corner-tap { position: fixed; top: 0; left: 0; width: 60px; height: 60px; z-index: 9999; }
.kiosk-overlay { position: fixed; inset: 0; z-index: 99990; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.kiosk-overlay--unavailable { background: #fff; }
.kiosk-lock { font-size: 64px; margin-bottom: 14px; }
.kiosk-overlay-title { font-size: 20px; color: #555; font-weight: 700; }
.kiosk-overlay-sub { font-size: 14px; color: #999; margin-top: 8px; }
.kiosk-overlay--ups { background: rgba(0,0,0,.6); }
.kiosk-overlay-card { background: #fff; border-radius: 16px; padding: 40px; max-width: 80%; text-align: center; }
.kiosk-overlay-emoji { font-size: 48px; margin-bottom: 14px; }
.kiosk-overlay-msg { font-size: 18px; color: var(--text-dark); }
.kiosk-pin-prompt { position: fixed; inset: 0; background: rgba(0,0,0,.7); z-index: 99995; display: flex; align-items: center; justify-content: center; }
.kiosk-pin-prompt__card { background: #fff; border-radius: 16px; padding: 30px; width: 320px; position: relative; text-align: center; }
.kiosk-pin-prompt__close { position: absolute; top: 12px; right: 16px; cursor: pointer; color: #999; font-size: 18px; }
.kiosk-pin-prompt__title { font-weight: 800; font-size: 18px; margin-bottom: 4px; }
.kiosk-pin-prompt__subtitle { color: #888; font-size: 14px; margin-bottom: 16px; }
.kiosk-pin-prompt__dots { display: flex; justify-content: center; gap: 10px; margin-bottom: 8px; }
.pin-dot { width: 14px; height: 14px; border-radius: 50%; background: #ddd; }
.pin-dot.filled { background: var(--maroon); }
.kiosk-pin-prompt__dots.error .pin-dot { background: #c0392b; }
.kiosk-pin-prompt__error { color: #c0392b; font-size: 13px; height: 18px; margin-bottom: 6px; }
.kiosk-pin-prompt__keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kiosk-pin-prompt__keypad button { padding: 16px 0; font-size: 18px; border-radius: 10px; border: none; background: #f3f3f3; cursor: pointer; }
.kiosk-pin-prompt__keypad button.empty { background: transparent; }

/* Diagnostic panel — bottom right corner above Kasa */
.kiosk-panel {
  position: fixed;
  bottom: 70px; right: 14px;
  z-index: 99996;
  width: 340px; max-width: 94vw;
}
.kiosk-panel__card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,.18); border: 1px solid var(--border); }
.kiosk-panel__header { display: flex; justify-content: space-between; background: var(--maroon); color: #fff; padding: 13px 18px; font-weight: 700; font-size: 14px; }
.kiosk-panel__header span:last-child { cursor: pointer; opacity: .8; }
.kiosk-panel__body { padding: 14px 18px; }
.kiosk-panel__row { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid #f0f0f0; font-size: 13px; }
.kiosk-panel__actions { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.kiosk-panel__actions button, .kiosk-panel__actions a { border: none; background: #f3f3f3; padding: 10px; border-radius: 7px; text-align: center; text-decoration: none; color: var(--text-dark); font-weight: 600; font-size: 13px; cursor: pointer; }
.kiosk-panel__actions button:hover, .kiosk-panel__actions a:hover { background: #ebebeb; }
.status-badge { padding: 3px 10px; border-radius: 8px; font-size: 11px; font-weight: 700; }
.status-ok { background: #d8f3dc; color: #2e9e44; }
.status-err { background: #fbe0e0; color: #c0392b; }
.switch { position: relative; display: inline-block; width: 40px; height: 22px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; inset: 0; background: #ccc; border-radius: 22px; transition: .2s; }
.slider::before { content: ""; position: absolute; width: 18px; height: 18px; left: 2px; top: 2px; background: #fff; border-radius: 50%; transition: .2s; }
.switch input:checked + .slider { background: var(--maroon); }
.switch input:checked + .slider::before { transform: translateX(18px); }

/* ── SCREEN TRANSITIONS ─────────────────────────────────────── */
.screen-wrap { position: absolute; inset: 0; }
#app { position: relative; overflow: hidden; }

/* ── PRODUCT PAGE ───────────────────────────────────────────── */
.screen-product { background: #fff; display: flex; flex-direction: column; height: 100vh; }
.product-page-hero { position: relative; height: 240px; background: #f5f5f5; flex-shrink: 0; overflow: hidden; }
.product-page-img { width: 100%; height: 100%; object-fit: cover; }
.product-page-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.product-page-placeholder svg { width: 80px; height: 80px; }
.product-page-back {
  position: absolute; top: 14px; left: 14px;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.88); backdrop-filter: blur(6px);
  border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,.15); color: var(--text-dark);
}
.product-page-back svg { width: 18px; height: 18px; }
.product-page-body { flex: 1; overflow-y: auto; padding: 18px; }
.product-page-name { font-size: 20px; font-weight: 800; color: var(--text-dark); margin-bottom: 8px; }
.product-page-desc { color: #777; font-size: 14px; line-height: 1.6; margin-bottom: 18px; }
.product-page-section-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #bbb; margin: 14px 0 8px; }
.component-list { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.component-row { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #555; }
.component-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--maroon); flex-shrink: 0; }
.allergen-list { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.allergen-tag { background: #fff3cd; color: #7a6010; font-size: 12px; font-weight: 600; border-radius: 8px; padding: 4px 10px; }
.product-page-kcal { display: inline-flex; align-items: center; gap: 6px; background: #f0f0f0; border-radius: 8px; padding: 6px 12px; font-size: 13px; font-weight: 700; color: #555; }
.product-page-footer { padding: 12px 16px 22px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 14px; flex-shrink: 0; background: #fff; }
.product-page-price { font-size: 22px; font-weight: 800; color: var(--maroon); white-space: nowrap; }
.product-page-add { flex: 1; }

/* ── PRODUCT ROW extras ──────────────────────────────────────── */
.product-row.has-config .product-add-btn { background: var(--maroon); }
.from-label { font-size: 12px; font-weight: 600; opacity: .7; }
.product-badge {
  position: absolute; top: 10px; left: 78px; z-index: 2;
  background: var(--maroon); color: #fff; font-size: 10px; font-weight: 800;
  border-radius: 4px; padding: 2px 7px; text-transform: uppercase; letter-spacing: .04em;
}

/* ── MAINTENANCE OVERLAY ─────────────────────────────────────── */
.maintenance-overlay {
  position: fixed; inset: 0; z-index: 99997;
  background: rgba(0,0,0,.7); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
}
.maintenance-card {
  background: #fff; border-radius: 20px; padding: 40px 36px;
  text-align: center; width: 90%; max-width: 380px;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.maintenance-spinner {
  width: 52px; height: 52px; border: 4px solid #eee; border-top-color: var(--maroon);
  border-radius: 50%; animation: spin .9s linear infinite; margin: 0 auto 22px;
}
.maintenance-spinner--ok {
  border: 4px solid #d8f3dc; border-top-color: var(--green);
  animation: successPop .4s cubic-bezier(.36,.07,.19,.97) both;
  display: flex; align-items: center; justify-content: center;
  background: var(--green);
}
.maintenance-spinner--ok svg { width: 26px; height: 26px; color: #fff; stroke-dasharray: 40; stroke-dashoffset: 40; animation: drawCheck .35s .25s ease forwards; }
@keyframes successPop { 0%{transform:scale(.5);opacity:0} 70%{transform:scale(1.15)} 100%{transform:scale(1);opacity:1} }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }
.maintenance-title { font-size: 20px; font-weight: 800; color: var(--text-dark); margin-bottom: 8px; }
.maintenance-sub { font-size: 14px; color: #888; line-height: 1.6; margin-bottom: 0; }
.maintenance-sub b { color: var(--text-dark); }
.maintenance-countdown { margin-top: 20px; font-size: 13px; color: #bbb; }
.maintenance-countdown span { color: var(--maroon); font-weight: 700; font-size: 15px; }
.maintenance-error-id { margin-top: 12px; font-size: 11px; color: #ccc; font-family: monospace; }
.maintenance-login-btn {
  margin-top: 18px; font-size: 12px; color: #bbb; background: none;
  border: none; cursor: pointer; text-decoration: underline; padding: 0;
}
.maintenance-login-btn:hover { color: #888; }
.maintenance-error-details {
  margin-top: 14px; background: #f8f8f8; border-radius: 10px;
  padding: 14px; text-align: left; font-size: 12px; font-family: monospace;
  color: #555; max-height: 180px; overflow-y: auto; line-height: 1.6;
  display: none;
}
.maintenance-error-details.show { display: block; }

/* Landing order button in error/maintenance state */
.btn-order-now--error { opacity: 0.45; cursor: not-allowed; display: flex; flex-direction: column; align-items: center; gap: 4px; padding-bottom: 10px; }
.btn-order-now__error-label { font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; opacity: 0.9; }

/* Variant option and extra images in config modal */
.cg-card-img { width: 100%; height: 64px; border-radius: 7px; overflow: hidden; margin-bottom: 6px; background: #f0f0f0; }
.cg-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
