/* =====================================================
   YDC PWA — Design System v2
   Matching: Paradigm PS Screens 4-30-26.pptx
   ===================================================== */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: #f0f0f0; }
body { display: flex; justify-content: center; align-items: flex-start; min-height: 100vh; }

/* ---------- Tokens ---------- */
:root {
  --gold:       #FDB913;
  --gold-light: #FEE9A0;
  --gold-bg:    #FFF8E1;
  --black:      #111111;
  --white:      #FFFFFF;
  --gray-bg:    #F5F5F5;
  --gray-line:  #E0E0E0;
  --gray-text:  #757575;
  --gray-ph:    #BDBDBD;
  --red:        #E53935;
  --green:      #43A047;
  --r:          12px;
  --r-sm:       8px;
  --r-pill:     50px;
}

/* ---------- App Shell ---------- */
#app {
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  background: var(--white);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0,0,0,0.15);
}

/* ---------- Screens ---------- */
.screen {
  display: none;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  background: var(--white);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}
.screen.active { display: flex; }

/* ══════════════════════════════════════════════════════
   HOME SCREEN
   ══════════════════════════════════════════════════════ */
.home-hero {
  background: var(--gold);
  position: relative;
  padding: 52px 24px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}
/* Decorative circles */
.home-hero::before {
  content: '';
  position: absolute;
  width: 280px; height: 280px;
  background: rgba(255,255,255,0.18);
  border-radius: 50%;
  top: -100px; right: -80px;
}
.home-hero::after {
  content: '';
  position: absolute;
  width: 180px; height: 180px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  bottom: 20px; left: -50px;
}
/* Wave bottom edge */
.hero-wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 48px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
/* Logo box */
.logo-box {
  width: 130px; height: 130px;
  background: var(--black);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  padding: 10px;
  position: relative; z-index: 1;
  box-shadow: 0 8px 28px rgba(0,0,0,0.35);
  margin-bottom: 16px;
}
.logo-box img { width: 100%; height: 100%; object-fit: contain; }
.logo-box-sm {
  width: 50px; height: 50px;
  background: var(--black);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  padding: 4px;
  flex-shrink: 0;
}
.logo-box-sm img { width: 100%; height: 100%; object-fit: contain; }

.home-content { padding: 12px 20px 100px; display: flex; flex-direction: column; gap: 10px; }
.home-title { font-size: 22px; font-weight: 900; color: var(--black); text-align: center; margin-bottom: 4px; }
.home-tagline { font-size: 14px; color: var(--gray-text); text-align: center; line-height: 1.5; margin-bottom: 8px; }

/* ══════════════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════════════ */
.navbar {
  display: flex; align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid var(--gray-line);
  background: var(--white);
  position: sticky; top: 0; z-index: 20;
  gap: 10px; min-height: 56px;
}
.navbar-title { font-size: 16px; font-weight: 800; color: var(--black); flex: 1; }
.logo-sm { height: 34px; width: auto; }

/* Back button — gold circle */
.btn-back {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gold); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700; color: var(--black);
  flex-shrink: 0; line-height: 1; transition: opacity 0.15s;
  padding-right: 2px; /* optical centre */
}
.btn-back:active { opacity: 0.8; }

/* Navbar with two-line title (category + name) */
.navbar-2line {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-line);
  position: sticky; top: 0; z-index: 20; min-height: 62px;
}
.navbar-2line-text { display: flex; flex-direction: column; }
.navbar-2line-cat  { font-size: 11px; color: var(--gray-text); font-weight: 600; }
.navbar-2line-name { font-size: 17px; font-weight: 900; color: var(--black); line-height: 1.2; }

/* ══════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════ */
.btn {
  display: block; width: 100%;
  padding: 16px 20px;
  border: none; border-radius: var(--r-pill);
  font-size: 15px; font-weight: 700;
  cursor: pointer; text-align: center;
  transition: opacity 0.15s, transform 0.1s;
  text-decoration: none; line-height: 1.3;
}
.btn:active { transform: scale(0.98); opacity: 0.9; }
.btn-gold    { background: var(--gold);  color: var(--black); }
.btn-black   { background: var(--black); color: var(--white); }
.btn-outline { background: var(--white); color: var(--black); border: 2px solid var(--gray-line); }
.btn-outline-gold { background: var(--white); color: var(--black); border: 2px solid var(--gold); }
.btn-red     { background: var(--red);   color: var(--white); }
.btn-link    { background: none; color: var(--red); font-size: 14px; font-weight: 700; padding: 10px; border: none; cursor: pointer; width: 100%; text-align: center; }

/* ══════════════════════════════════════════════════════
   AUTH SCREENS
   ══════════════════════════════════════════════════════ */
.auth-top {
  display: flex; flex-direction: column; align-items: center;
  padding: 36px 20px 20px;
}
.auth-title    { font-size: 26px; font-weight: 900; color: var(--black); text-align: center; margin-top: 14px; }
.auth-subtitle { font-size: 14px; color: var(--gray-text); text-align: center; margin-top: 4px; line-height: 1.5; font-weight: 500; }
.auth-body  { padding: 0 20px; flex: 1; }
.auth-footer { padding: 12px 20px 36px; display: flex; flex-direction: column; gap: 10px; }

.forgot-row { display: flex; justify-content: flex-end; gap: 16px; margin: -4px 0 8px; }
.forgot-link { font-size: 13px; font-weight: 700; color: var(--black); text-decoration: underline; cursor: pointer; background: none; border: none; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--gray-text); font-size: 13px; font-weight: 500; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--gray-line); }
.signup-text { text-align: center; font-size: 14px; color: var(--gray-text); }
.signup-text b { color: var(--black); cursor: pointer; text-decoration: underline; font-weight: 800; }

/* ══════════════════════════════════════════════════════
   FORMS
   ══════════════════════════════════════════════════════ */
.form-body { padding: 0 20px 100px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 700; color: var(--black); margin-bottom: 6px; }
.input {
  width: 100%; padding: 14px 16px;
  border: 1.5px solid var(--gray-line); border-radius: var(--r-sm);
  font-size: 15px; color: var(--black); background: var(--white);
  outline: none; transition: border-color 0.2s;
  -webkit-appearance: none; appearance: none;
}
.input:focus { border-color: var(--gold); }
.input::placeholder { color: var(--gray-ph); }
.input-wrap { position: relative; }
.input-wrap .input { padding-right: 48px; }
.eye-btn { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; font-size: 18px; color: var(--gray-text); }
.field-row { display: flex; gap: 10px; }
.field-row .field { flex: 1; }
select.input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23757575' stroke-width='2.5' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px;
}

/* Step dots */
.step-dots { display: flex; gap: 8px; justify-content: center; margin: 10px 0 20px; }
.step-dot  { width: 10px; height: 10px; border-radius: 50%; background: var(--gray-line); }
.step-dot.active { background: var(--gold); }
.step-dot.done   { background: var(--black); }

/* ══════════════════════════════════════════════════════
   OTP
   ══════════════════════════════════════════════════════ */
.otp-row { display: flex; gap: 8px; justify-content: center; margin: 28px 0 12px; }
.otp-box {
  width: 52px; height: 58px;
  border: 1.5px solid var(--gray-line); border-radius: var(--r-sm);
  font-size: 26px; font-weight: 800; text-align: center; color: var(--black);
  outline: none; transition: border-color 0.2s; -webkit-appearance: none;
}
.otp-box:focus { border-color: var(--gold); border-width: 2px; }
.otp-footer { display: flex; justify-content: space-between; align-items: center; font-size: 13px; padding: 0 4px; margin-bottom: 24px; }
.otp-resend { font-weight: 700; color: var(--black); cursor: pointer; }
.otp-timer  { color: var(--gray-text); }

/* ══════════════════════════════════════════════════════
   HOW DID YOU HEAR
   ══════════════════════════════════════════════════════ */
.hear-option {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 18px;
  border: 1.5px solid var(--gray-line); border-radius: var(--r-pill);
  margin-bottom: 10px; cursor: pointer;
  font-size: 14px; font-weight: 600; color: var(--black);
  background: var(--white); transition: all 0.15s;
}
.hear-option.selected { border-color: var(--gold); background: var(--gold-bg); }
.hear-radio {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--gray-line);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: all 0.15s;
}
.hear-option.selected .hear-radio { border-color: var(--gold); background: var(--gold); }
.hear-option.selected .hear-radio::after { content: ''; width: 9px; height: 9px; background: var(--black); border-radius: 50%; }
.code-boxes { display: none; flex-wrap: nowrap; gap: 6px; padding: 8px 4px 4px; overflow-x: auto; }
.code-boxes.open { display: flex; }
.code-box { width: 44px; height: 48px; border: 1.5px solid var(--gray-line); border-radius: var(--r-sm); text-align: center; font-size: 16px; font-weight: 700; color: var(--black); outline: none; flex-shrink: 0; }
.code-box:focus { border-color: var(--gold); }

/* ══════════════════════════════════════════════════════
   PAYMENT — CARD TYPE
   ══════════════════════════════════════════════════════ */
.card-type-list { border: 1.5px solid var(--gray-line); border-radius: var(--r-sm); overflow: hidden; }
.card-type-opt {
  display: flex; align-items: center; padding: 12px 14px;
  cursor: pointer; border-bottom: 1px solid var(--gray-line);
  gap: 12px; transition: background 0.15s;
}
.card-type-opt:last-child { border-bottom: none; }
.card-type-opt.selected { background: var(--gold-bg); }
.card-logo-img { height: 26px; width: auto; max-width: 56px; object-fit: contain; }
.card-logo-text { font-size: 15px; font-weight: 800; color: var(--black); }
.card-type-name { flex: 1; font-size: 14px; font-weight: 600; color: var(--black); }
.card-saved { font-size: 12px; color: var(--gray-text); margin-left: auto; }
.card-radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--gray-line); flex-shrink: 0; transition: all 0.2s; }
.card-type-opt.selected .card-radio { border-color: var(--gold); background: var(--gold); box-shadow: inset 0 0 0 3px var(--white); }
.card-num-row { display: flex; gap: 8px; }
.card-num-box { flex: 1; }
.check-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.check-row input[type=checkbox] { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; accent-color: var(--gold); cursor: pointer; }
.check-label { font-size: 13px; line-height: 1.5; color: var(--black); cursor: pointer; }

/* ══════════════════════════════════════════════════════
   MODALS & OVERLAYS
   ══════════════════════════════════════════════════════ */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.55); z-index: 200;
  align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-card {
  background: var(--white); border-radius: 20px;
  padding: 28px 24px; width: 100%; max-width: 390px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.modal-card.gold-bg { background: var(--gold-bg); border: 2px solid var(--gold); }
.modal-title { font-size: 18px; font-weight: 900; text-align: center; margin-bottom: 10px; }
.modal-text  { font-size: 14px; color: var(--gray-text); text-align: center; line-height: 1.6; margin-bottom: 20px; }
.modal-btns  { display: flex; flex-direction: column; gap: 10px; }

/* Bottom sheet */
.sheet-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 200; align-items: flex-end; }
.sheet-overlay.open { display: flex; }
.sheet {
  background: var(--white); border-radius: 20px 20px 0 0;
  padding: 16px 20px 40px; width: 100%; max-height: 80vh; overflow-y: auto;
}
.sheet-handle { width: 40px; height: 4px; background: var(--gray-line); border-radius: 2px; margin: 0 auto 16px; }
.sheet-title  { font-size: 17px; font-weight: 800; margin-bottom: 16px; }

/* ══════════════════════════════════════════════════════
   OFFER BOX
   ══════════════════════════════════════════════════════ */
.offer-box {
  background: var(--white); border: 1.5px solid var(--gold);
  border-radius: var(--r); padding: 12px 14px;
  font-size: 13px; line-height: 1.6; color: var(--black);
  margin-bottom: 14px;
}
.offer-box-hd {
  font-size: 13px; font-weight: 800;
  background: var(--black); color: var(--gold);
  display: inline-block; padding: 3px 12px;
  border-radius: var(--r-pill); margin-bottom: 6px;
}

/* ══════════════════════════════════════════════════════
   SEARCH
   ══════════════════════════════════════════════════════ */
.search-bar {
  display: flex; align-items: center;
  background: var(--gray-bg); border-radius: var(--r-pill);
  padding: 10px 14px; gap: 10px; margin-bottom: 12px;
}
.search-input {
  flex: 1; border: none; background: transparent;
  font-size: 15px; color: var(--black); outline: none;
}
.search-input::placeholder { color: var(--gray-ph); }
.filter-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gold); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}

/* Filter panel */
.filter-panel {
  background: var(--white); border: 1.5px solid var(--gray-line);
  border-radius: var(--r); padding: 14px; margin-bottom: 14px;
}
.filter-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.filter-title { font-size: 15px; font-weight: 800; }
.nearby-row { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.toggle { position: relative; display: inline-block; width: 46px; height: 26px; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-track {
  position: absolute; inset: 0; background: var(--gray-line);
  border-radius: 26px; cursor: pointer; transition: background 0.2s;
}
.toggle-track::before {
  content: ''; position: absolute;
  height: 20px; width: 20px; left: 3px; bottom: 3px;
  background: var(--white); border-radius: 50%; transition: transform 0.2s;
}
.toggle input:checked + .toggle-track { background: var(--green); }
.toggle input:checked + .toggle-track::before { transform: translateX(20px); }
.filter-pills { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.filter-pill {
  padding: 10px 16px; border-radius: var(--r-sm); font-size: 13px; font-weight: 600;
  cursor: pointer; border: 1.5px solid var(--gray-line);
  background: var(--white); color: var(--black); text-align: left; transition: all 0.15s;
}
.filter-pill.active { background: var(--gold); border-color: var(--gold); }

/* Results */
.results-line { font-size: 14px; color: var(--gray-text); margin-bottom: 12px; font-weight: 500; }
.results-line strong { color: var(--black); }
.sponsored-hd { font-size: 12px; font-weight: 700; color: var(--gray-text); margin-bottom: 8px; }
.section-sep  { border: none; border-top: 1px solid var(--gray-line); margin: 10px 0; }

/* No results */
.no-results {
  font-size: 14px; color: var(--gray-text); text-align: center;
  padding: 40px 20px; line-height: 1.6;
}
.no-results a { color: var(--black); font-weight: 800; cursor: pointer; }

/* ══════════════════════════════════════════════════════
   RESTAURANT CARD
   ══════════════════════════════════════════════════════ */
.rest-card {
  background: var(--white); border: 1.5px solid var(--gray-line);
  border-radius: var(--r); padding: 12px; margin-bottom: 12px;
  cursor: pointer; transition: box-shadow 0.15s;
}
.rest-card:active { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.rest-card-top { display: flex; gap: 12px; margin-bottom: 8px; }
.rest-thumb {
  width: 82px; height: 82px; border-radius: var(--r-sm);
  object-fit: cover; flex-shrink: 0;
  background: var(--gray-bg); display: flex;
  align-items: center; justify-content: center;
  font-size: 30px; overflow: hidden;
}
.rest-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-sm); }
.rest-info { flex: 1; min-width: 0; }
.rest-name { font-size: 15px; font-weight: 900; color: var(--black); margin-bottom: 4px; line-height: 1.2; }
.rest-addr { display: flex; align-items: flex-start; gap: 4px; font-size: 12px; color: var(--gray-text); line-height: 1.4; margin-bottom: 5px; }
.pin-icon { color: var(--gold); flex-shrink: 0; font-size: 13px; margin-top: 1px; }
.google-row { display: flex; align-items: center; gap: 4px; }
.g-logo { font-size: 11px; font-weight: 900; color: #4285F4; border: 1px solid var(--gray-line); width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.g-stars  { color: #FBBC04; font-size: 11px; letter-spacing: 1px; }
.g-rating { font-size: 11px; color: var(--gray-text); }
.tag-row  { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 6px; }
.tag { padding: 3px 10px; border-radius: var(--r-pill); font-size: 11px; font-weight: 600; }
.tag-gray { background: var(--gray-bg); color: var(--black); border: 1px solid var(--gray-line); }
.tag-gold { background: var(--gold); color: var(--black); }
.rest-icon-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.miles-chip { display: flex; align-items: center; gap: 5px; background: var(--gold); padding: 5px 12px; border-radius: var(--r-pill); font-size: 13px; font-weight: 800; }
.ico-group { display: flex; gap: 6px; }
.ico-btn { width: 34px; height: 34px; border-radius: 50%; background: var(--gray-bg); border: none; cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; transition: background 0.15s; }
.ico-btn.fav-on { background: var(--gold); }
.ico-btn:active { background: var(--gold-light); }
.rest-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 8px; border-top: 1px solid var(--gray-bg); }
.phone-btn { background: none; border: none; font-size: 13px; font-weight: 700; color: var(--black); cursor: pointer; display: flex; align-items: center; gap: 5px; }
.ydc-row { display: flex; align-items: center; gap: 4px; }
.ydc-mini { width: 28px; height: 28px; background: var(--black); border-radius: 6px; padding: 2px; object-fit: contain; }
.ydc-stars { color: var(--gold); font-size: 13px; letter-spacing: 1px; }

/* ══════════════════════════════════════════════════════
   RESTAURANT DETAIL
   ══════════════════════════════════════════════════════ */
.tabs-bar { display: flex; gap: 8px; overflow-x: auto; padding: 12px 14px 10px; border-bottom: 1px solid var(--gray-line); -ms-overflow-style:none; scrollbar-width:none; }
.tabs-bar::-webkit-scrollbar { display: none; }
.tab-btn { padding: 8px 18px; border-radius: var(--r-pill); border: 1.5px solid var(--gray-line); background: var(--white); font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap; color: var(--black); transition: all 0.15s; }
.tab-btn.active { background: var(--gold); border-color: var(--gold); }
.tab-pane { display: none; padding: 14px; padding-bottom: 80px; }
.tab-pane.active { display: block; }

/* Sub-tabs */
.sub-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.sub-tab { padding: 7px 14px; border-radius: var(--r-pill); border: 1.5px solid var(--gray-line); background: var(--white); font-size: 12px; font-weight: 700; cursor: pointer; color: var(--black); transition: all 0.15s; }
.sub-tab.active { background: var(--gold); border-color: var(--gold); }

/* Offer choose cards */
.offer-choose-text {
  background: var(--gold-bg); border: 1.5px solid var(--gold);
  border-radius: var(--r); padding: 12px 14px;
  font-size: 13px; color: var(--black); line-height: 1.5;
  font-weight: 500; margin-bottom: 14px;
}
.offer-choice {
  background: var(--gold); border-radius: var(--r);
  margin-bottom: 12px; cursor: pointer; overflow: hidden;
  display: flex; align-items: stretch; transition: transform 0.1s;
}
.offer-choice:active { transform: scale(0.98); }
.offer-choice-img { width: 80px; background: rgba(0,0,0,0.18); display: flex; align-items: center; justify-content: center; font-size: 32px; flex-shrink: 0; }
.offer-choice-body { flex: 1; padding: 12px 14px; }
.offer-choice-title { background: var(--black); color: var(--gold); font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 4px; display: inline-block; margin-bottom: 6px; }
.offer-choice-desc  { font-size: 12px; color: var(--black); font-weight: 600; line-height: 1.4; }
.offer-choice-logo  { width: 36px; height: 36px; background: var(--black); border-radius: 8px; padding: 3px; margin: auto 12px auto 0; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.offer-choice-logo img { width: 100%; height: 100%; object-fit: contain; }

/* Server select */
.server-pane { display: none; }
.server-pane.open { display: block; }
.server-rest-mini { display: flex; gap: 12px; border: 1.5px solid var(--gray-line); border-radius: var(--r); padding: 12px; margin-bottom: 14px; }
.server-logo { width: 54px; height: 54px; background: var(--gold-bg); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; font-size: 26px; flex-shrink: 0; }
.server-terms { font-size: 13px; font-weight: 700; color: var(--black); line-height: 1.6; text-align: center; margin: 12px 0 14px; }

/* ══════════════════════════════════════════════════════
   TRANSACTION RECEIPT
   ══════════════════════════════════════════════════════ */
.trans-banner { background: var(--gold); border-radius: var(--r); overflow: hidden; margin-bottom: 16px; display: flex; }
.trans-banner-img { width: 72px; background: rgba(0,0,0,0.15); display: flex; align-items: center; justify-content: center; font-size: 30px; padding: 12px; }
.trans-banner-body { flex: 1; padding: 12px 10px 12px 0; }
.trans-banner-title { background: var(--black); color: var(--gold); font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 4px; display: inline-block; margin-bottom: 6px; }
.trans-num { font-weight: 900; color: var(--black); line-height: 1.3; margin-bottom: 4px; }
.trans-num-part { display: block; font-family: 'Courier New', monospace; letter-spacing: 2px; }
.trans-num-rest { font-size: 13px; color: #555; }
.trans-num-mem  { font-size: 22px; color: var(--black); border-top: 1px dashed rgba(0,0,0,0.25); margin-top: 5px; padding-top: 5px; }
.trans-show { font-size: 11px; color: var(--black); font-weight: 600; opacity: 0.75; }
.receipt-box { border: 1.5px solid var(--gray-line); border-radius: var(--r); overflow: hidden; margin-bottom: 14px; }
.receipt-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--gray-bg); font-size: 14px; }
.receipt-row:last-child { border-bottom: none; }
.receipt-lbl { color: var(--gray-text); font-weight: 500; }
.receipt-val { font-weight: 700; color: var(--black); }
.trans-confirm { background: var(--gold-bg); border: 1.5px solid var(--gold); border-radius: var(--r); padding: 14px; font-size: 13px; line-height: 1.6; color: var(--black); font-weight: 500; text-align: center; margin-bottom: 16px; }

/* ══════════════════════════════════════════════════════
   MENUS
   ══════════════════════════════════════════════════════ */
.menu-hdr { display: flex; justify-content: space-between; font-size: 11px; font-weight: 800; color: var(--gray-text); padding: 6px 0; border-bottom: 1px solid var(--gray-line); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.menu-cat-row { display: flex; align-items: center; justify-content: space-between; background: var(--gold-bg); border: 1px solid var(--gold); border-radius: var(--r-sm); padding: 10px 14px; cursor: pointer; margin-bottom: 6px; font-size: 14px; font-weight: 700; }
.menu-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--gray-bg); align-items: flex-start; }
.menu-item:last-child { border-bottom: none; }
.menu-thumb { width: 72px; height: 72px; border-radius: var(--r-sm); object-fit: cover; background: var(--gray-bg); display: flex; align-items: center; justify-content: center; font-size: 28px; flex-shrink: 0; overflow: hidden; }
.menu-thumb img { width: 100%; height: 100%; object-fit: cover; }
.menu-info { flex: 1; min-width: 0; }
.menu-name-row { display: flex; justify-content: space-between; margin-bottom: 4px; }
.menu-name  { font-size: 14px; font-weight: 700; color: var(--black); }
.menu-price { font-size: 14px; font-weight: 800; color: var(--black); flex-shrink: 0; }
.menu-desc  { font-size: 12px; color: var(--gray-text); line-height: 1.4; }

/* ══════════════════════════════════════════════════════
   GALLERY
   ══════════════════════════════════════════════════════ */
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 3px; }
.gallery-cell { cursor: pointer; }
.gallery-thumb { aspect-ratio: 1; background: var(--gray-bg); border-radius: 3px; display: flex; align-items: center; justify-content: center; font-size: 26px; overflow: hidden; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-cap { font-size: 10px; color: var(--gray-text); text-align: center; padding: 3px 2px 0; }
.gallery-full-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r); background: var(--gray-bg); display: flex; align-items: center; justify-content: center; font-size: 60px; margin-bottom: 10px; overflow: hidden; }
.gallery-full-img img { width: 100%; height: 100%; object-fit: cover; }
.gallery-full-cap { text-align: center; font-size: 14px; color: var(--gray-text); margin-bottom: 16px; }
.gallery-nav { display: flex; justify-content: space-between; font-size: 13px; color: var(--gray-text); }

/* ══════════════════════════════════════════════════════
   HOURS MODAL
   ══════════════════════════════════════════════════════ */
.hours-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--gray-bg); font-size: 14px; }
.hours-row:last-child { border-bottom: none; }
.hours-day { font-weight: 700; }

/* ══════════════════════════════════════════════════════
   BENEFITS
   ══════════════════════════════════════════════════════ */
.benefit-card { border: 1.5px solid var(--gold); border-radius: var(--r); overflow: hidden; margin-bottom: 10px; }
.benefit-hd   { background: var(--black); color: var(--gold); font-size: 13px; font-weight: 800; padding: 8px 14px; }
.benefit-body { padding: 10px 14px; font-size: 13px; color: var(--black); line-height: 1.5; }
.biz-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.biz-table td { padding: 8px 6px; border-bottom: 1px solid var(--gray-line); vertical-align: top; }
.biz-table td:first-child { font-weight: 700; width: 38%; }
.biz-table td:last-child  { color: var(--gray-text); }
.biz-table tr:last-child td { border-bottom: none; }

/* ══════════════════════════════════════════════════════
   FAQ
   ══════════════════════════════════════════════════════ */
.faq-item { border-bottom: 1px solid var(--gray-line); }
.faq-q { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-size: 14px; font-weight: 700; cursor: pointer; color: var(--black); }
.faq-arrow { color: var(--gray-text); font-size: 12px; transition: transform 0.2s; flex-shrink: 0; margin-left: 8px; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 0 14px; font-size: 13px; color: var(--gray-text); line-height: 1.6; }
.faq-item.open .faq-a { display: block; }

/* ══════════════════════════════════════════════════════
   DASHBOARD / STATS
   ══════════════════════════════════════════════════════ */
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.stat-card { background: var(--gold-bg); border: 1.5px solid var(--gold); border-radius: var(--r); padding: 14px; text-align: center; }
.stat-val { font-size: 26px; font-weight: 900; color: var(--black); }
.stat-lbl { font-size: 11px; color: var(--gray-text); font-weight: 600; margin-top: 2px; }
.section-hd { font-size: 15px; font-weight: 800; color: var(--black); margin-bottom: 10px; }

/* ══════════════════════════════════════════════════════
   BOTTOM NAV
   ══════════════════════════════════════════════════════ */
.bottom-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px;
  background: var(--white); border-top: 1px solid var(--gray-line);
  display: flex; z-index: 50;
}
.nav-item { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 8px 4px; cursor: pointer; color: var(--gray-text); font-size: 11px; font-weight: 600; gap: 2px; transition: color 0.15s; }
.nav-item.active { color: var(--black); }
.nav-icon { font-size: 22px; line-height: 1; }

/* ══════════════════════════════════════════════════════
   PROFILE
   ══════════════════════════════════════════════════════ */
.profile-avatar { width: 80px; height: 80px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 36px; margin: 0 auto 10px; border: 3px solid var(--black); }
.menu-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--gray-line); cursor: pointer; font-size: 14px; font-weight: 600; color: var(--black); }
.arrow-r { font-size: 20px; color: var(--gray-text); }

/* ══════════════════════════════════════════════════════
   DATA TABLE / BADGES
   ══════════════════════════════════════════════════════ */
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th { text-align: left; padding: 8px 6px; border-bottom: 2px solid var(--gray-line); font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--gray-text); }
.data-table td { padding: 10px 6px; border-bottom: 1px solid var(--gray-bg); vertical-align: middle; }
.badge { display: inline-block; padding: 3px 10px; border-radius: var(--r-pill); font-size: 11px; font-weight: 700; }
.badge-active  { background: #E8F5E9; color: #2E7D32; }
.badge-pending { background: #FFF8E1; color: #F57F17; }
.badge-saved   { background: #E8F5E9; color: #2E7D32; }

/* ══════════════════════════════════════════════════════
   NOTIFICATIONS
   ══════════════════════════════════════════════════════ */
.notif-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--gray-line); gap: 12px; }
.notif-info { flex: 1; }
.notif-title { font-size: 14px; font-weight: 700; color: var(--black); margin-bottom: 2px; }
.notif-desc  { font-size: 12px; color: var(--gray-text); }
.notif-toggles { display: flex; gap: 12px; flex-shrink: 0; }
.toggle-pair   { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 10px; color: var(--gray-text); font-weight: 600; }

/* ══════════════════════════════════════════════════════
   SURVEY
   ══════════════════════════════════════════════════════ */
.survey-rest-hd { padding: 0 0 12px; display: flex; justify-content: space-between; align-items: flex-start; }
.survey-rest-name { font-size: 16px; font-weight: 900; }
.survey-meta      { font-size: 12px; color: var(--gray-text); text-align: right; line-height: 1.4; }
.survey-card      { border: 1.5px solid var(--gold); border-radius: var(--r); overflow: hidden; margin-bottom: 14px; }
.survey-row       { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; border-bottom: 1px solid rgba(253,185,19,0.3); background: var(--gold-bg); }
.survey-row:last-child { border-bottom: none; }
.survey-lbl       { font-size: 13px; font-weight: 700; color: var(--black); }
.star-rating      { display: flex; gap: 2px; }
.star-btn         { font-size: 22px; background: none; border: none; cursor: pointer; color: var(--gray-line); transition: color 0.1s; line-height: 1; padding: 2px; }
.star-btn.lit     { color: var(--gold); }

/* ══════════════════════════════════════════════════════
   CARDS / GENERIC
   ══════════════════════════════════════════════════════ */
.card { border: 1.5px solid var(--gray-line); border-radius: var(--r); padding: 14px; margin-bottom: 10px; }
.card-gold { border-color: var(--gold); background: var(--gold-bg); }

/* ══════════════════════════════════════════════════════
   SUCCESS
   ══════════════════════════════════════════════════════ */
.success-icon { width: 80px; height: 80px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; font-size: 42px; color: var(--white); margin: 0 auto 20px; }

/* ══════════════════════════════════════════════════════
   INSTALL SCREEN
   ══════════════════════════════════════════════════════ */
.install-card { border: 1.5px solid var(--gold); border-radius: var(--r); overflow: hidden; margin-bottom: 16px; }
.install-card-hd { background: var(--gold-bg); padding: 14px 16px; font-size: 15px; font-weight: 800; text-align: center; border-bottom: 1px solid var(--gold); }
.install-card-body { padding: 16px; font-size: 13px; color: var(--gray-text); line-height: 1.6; }
.install-success { font-size: 13px; color: var(--gray-text); text-align: center; margin-top: 10px; line-height: 1.6; display: none; }
.install-success.show { display: block; }

/* ══════════════════════════════════════════════════════
   TOAST & LOADING
   ══════════════════════════════════════════════════════ */
.toast { position: fixed; bottom: 76px; left: 50%; transform: translateX(-50%) translateY(16px); background: rgba(17,17,17,0.92); color: var(--white); padding: 10px 20px; border-radius: var(--r-pill); font-size: 14px; font-weight: 600; opacity: 0; transition: opacity 0.3s, transform 0.3s; z-index: 500; white-space: nowrap; max-width: calc(100% - 40px); text-align: center; pointer-events: none; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.loading-overlay { display: none; position: fixed; inset: 0; background: rgba(255,255,255,0.88); z-index: 600; align-items: center; justify-content: center; flex-direction: column; gap: 14px; }
.loading-overlay.show { display: flex; }
.spinner { width: 44px; height: 44px; border: 4px solid var(--gray-line); border-top-color: var(--gold); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text { font-size: 14px; font-weight: 600; color: var(--black); }

/* ══════════════════════════════════════════════════════
   HELPERS
   ══════════════════════════════════════════════════════ */
.text-center { text-align: center; }
.text-sm     { font-size: 13px; }
.fw-700      { font-weight: 700; }
.fw-800      { font-weight: 800; }
.fw-900      { font-weight: 900; }
.text-gray   { color: var(--gray-text); }
.text-gold   { color: var(--gold); }
.text-red    { color: var(--red); }
.hidden      { display: none !important; }
.mt-4  { margin-top:  4px; } .mt-8  { margin-top:  8px; } .mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mb-4  { margin-bottom:  4px; } .mb-8  { margin-bottom:  8px; }
.mb-12 { margin-bottom: 12px; } .mb-16 { margin-bottom: 16px; }
.pad   { padding: 16px; }
.pad-b { padding: 16px 16px 90px; }
