:root {
  --bg:       #ffffff;
  --bg2:      #ffffff;
  --bg3:      #ececec;
  --card:     #ffffff;
  --border:   #e0e0e0;
  --text:     #1a1a1a;
  --text2:    #666666;
  --text3:    #999999;
  --sheet-bg: #ffffff;
  --inp-bg:   #f5f5f0;
  --inp-bdr:  #dddddd;
  --shadow:   0 2px 16px rgba(0,0,0,0.08);
  --accent:   #c9a84c;
  --hookah-body: #d4a853;
  --hookah-metal: #b8975a;
  --hookah-dark:  #8b6914;
  --hookah-glass: rgba(160,210,255,0.25);
  --hookah-glass-stroke: rgba(100,180,255,0.4);
  --smoke-color: rgba(80,80,80,0.18);
  --bowl-main:  #c9a84c;
  --bowl-dark:  #8b6914;
  --bowl-inner: #5a3d0a;
  --coal-color: #ff6b00;
  --glow-color: #c9a84c;
}
[data-theme="dark"] {
  --bg:       #ffffff;
  --bg2:      #ffffff;
  --bg3:      #ececec;
  --card:     #ffffff;
  --border:   #e0e0e0;
  --text:     #1a1a1a;
  --text2:    #666666;
  --text3:    #999999;
  --sheet-bg: #ffffff;
  --inp-bg:   #f5f5f0;
  --inp-bdr:  #dddddd;
  --shadow:   0 2px 16px rgba(0,0,0,0.08);
  --hookah-body: #d4a853;
  --hookah-metal: #b8975a;
  --hookah-dark:  #8b6914;
  --hookah-glass: rgba(160,210,255,0.25);
  --hookah-glass-stroke: rgba(100,180,255,0.4);
  --smoke-color: rgba(80,80,80,0.18);
}

* { margin:0; padding:0; box-sizing:border-box; -webkit-tap-highlight-color:transparent; }

.empire-icon {
  width: 1.18em;
  height: 1.18em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: -0.18em;
  flex-shrink: 0;
}
.empire-icon svg { width: 100%; height: 100%; display: block; }
.empire-icon path,
.empire-icon circle,
.empire-icon line {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.empire-icon.success {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  color: #2f2104;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 31% 23%, rgba(255,255,255,.95) 0 13%, rgba(255,255,255,.30) 14% 30%, transparent 31%),
    linear-gradient(145deg, #fff2bd 0%, #e8c964 38%, #c9a84c 66%, #8b6914 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.86),
    inset 0 -2px 4px rgba(74,44,0,.18),
    0 7px 18px rgba(201,168,76,.34),
    0 0 0 1px rgba(255,245,190,.36);
}
.empire-icon.success::after {
  content: '';
  position: absolute;
  inset: 3px 4px auto 4px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.66), transparent);
  pointer-events: none;
}
.empire-icon.success .check-glow {
  stroke: rgba(255,255,255,.62);
  stroke-width: 6.2;
}
.empire-icon.success .check-main {
  stroke: currentColor;
  stroke-width: 3.1;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,.45));
}
.empire-icon.success.light { color: #fff; background: rgba(255,255,255,.18); box-shadow: inset 0 0 0 1px rgba(255,255,255,.38); }
.empire-icon.edit {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  color: #b86a00;
  background: linear-gradient(135deg, #fff7dd, #ffd87a);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72), 0 6px 16px rgba(245,158,11,.18);
}
.empire-icon.pin { width: 17px; height: 21px; }
.empire-icon.loading { animation: iconSpin 1s linear infinite; }
@keyframes iconSpin { to { transform: rotate(360deg); } }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Tajawal', 'Segoe UI', Tahoma, Arial, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background 0.3s, color 0.3s;
}

/* ── HEADER ── */
.header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 112px 10px;
  background: color-mix(in srgb, var(--bg2) 92%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
  min-height: 70px;
}
.header-brand { display:flex; align-items:center; justify-content:center; gap:0; min-width:0; width:100%; text-align:center; }
.brand-copy { min-width:0; }
.header-brand h1 { font-size: 23px; font-weight: 900; letter-spacing: 0.2px; line-height:1.05; white-space:nowrap; }
.header-brand h1 span { color: var(--accent); text-shadow: 0 1px 0 rgba(255,255,255,.2); }
.header-brand p { font-size: 12.5px; color: var(--text3); margin-top: 5px; font-weight: 700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width: 230px; }
.brand-mini-icon { color: var(--accent); margin-left: 2px; }
.header-actions {
  position:absolute;
  left:16px;
  top:50%;
  transform:translateY(-50%);
  display:flex;
  align-items:center;
  gap:7px;
  flex-shrink:0;
}
/* Header account buttons — hidden, menu handles auth */
#headerAccountBtns,
.header-acc-btn,
.header-acc-signup,
#headerGoogleBtn { display: none !important; }
.mute-btn { display: none !important; }

.theme-btn,
.notif-btn,
.delivery-header-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--border) 82%, var(--accent));
  background: linear-gradient(145deg, var(--bg2), var(--bg3));
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s, color 0.2s;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.42), 0 4px 12px rgba(0,0,0,.06);
}
.theme-btn:active, .notif-btn:active, .delivery-header-btn:active { transform: scale(0.9); border-color: var(--accent); color: var(--accent); }
.delivery-header-btn { color: var(--accent); }
.notif-btn { position: relative; }
.notif-badge, .menu-notif-pill {
  min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px;
  background: #ef4444; color: #fff; font-size: 10px; font-weight: 900;
  display: inline-flex; align-items: center; justify-content: center;
}
.notif-badge { position: absolute; top: -4px; left: -4px; box-shadow: 0 2px 8px rgba(239,68,68,.35); }
.menu-notif-pill { margin-right: 6px; vertical-align: middle; }

/* ── HAMBURGER MENU ──────────────────────────────────────────────── */
.menu-btn {
  display: flex;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--border) 82%, var(--accent));
  background: linear-gradient(145deg, var(--bg2), var(--bg3));
  color: var(--text);
  cursor: pointer;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 4px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s, color 0.2s;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.42), 0 4px 12px rgba(0,0,0,.06);
}
/* always shown */
.menu-btn:active { transform: scale(0.9); background: var(--accent); color: #fff; border-color: var(--accent); }
.menu-bar { width: 16px; height: 2px; background: currentColor; border-radius: 2px; transition: all 0.2s; }
.menu-btn-avatar { width:38px;height:38px;border-radius:50%;object-fit:cover;display:none; }
.menu-bars { display:flex;flex-direction:column;gap:4px;align-items:center;justify-content:center; }
.menu-account-icon { font-size:20px; line-height:1; flex-direction:row; }
.header-icon { width:20px; height:20px; display:block; }
.header-icon path,
.header-icon circle,
.header-icon line {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.header-icon path:first-child { fill: color-mix(in srgb, currentColor 14%, transparent); }
.menu-btn.has-avatar .menu-bars { display:none; }
.menu-btn.has-avatar .menu-btn-avatar { display:block; }
.menu-btn.has-avatar { padding:0;overflow:hidden; }
.menu-panel-avatar img { width:100%;height:100%;border-radius:50%;object-fit:cover; }

@media (max-width: 520px) {
  .header {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px 11px;
    min-height: 96px;
  }
  .header-brand {
    width: 100%;
    padding: 0 4px;
  }
  .brand-copy { width: 100%; }
  .header-brand h1 {
    font-size: 21px;
    text-align: center;
  }
  .header-brand p {
    max-width: none;
    width: 100%;
    font-size: 11.5px;
    text-align: center;
  }
  .header-actions {
    position: static;
    transform: none;
    width: 100%;
    justify-content: center;
    gap: 8px;
  }
  .theme-btn, .notif-btn, .delivery-header-btn, .menu-btn {
    width: 38px;
    height: 38px;
  }
  .menu-btn-avatar { width:36px;height:36px; }
  .header-icon { width:18px; height:18px; }
}

@media (max-width: 360px) {
  .header { padding-inline: 10px; min-height: 94px; }
  .header-brand h1 { font-size: 20px; }
  .header-brand p { font-size: 10.8px; }
  .header-actions { gap: 7px; }
  .theme-btn, .notif-btn, .delivery-header-btn, .menu-btn { width: 36px; height: 36px; }
  .menu-btn-avatar { width:34px;height:34px; }
}
/* Menu slide panel */
.menu-panel-overlay {
  position: fixed; inset: 0; z-index: 800;
  background: rgba(0,0,0,0.5);
  display: none; opacity: 0;
  transition: opacity 0.25s;
}
.menu-panel-overlay.open { display: block; opacity: 1; }
.menu-panel {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(280px, 80vw);
  background: var(--bg2);
  border-left: 1px solid var(--border);
  box-shadow: -4px 0 30px rgba(0,0,0,0.2);
  z-index: 801;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.menu-panel-overlay.open .menu-panel { transform: translateX(0); }
.menu-panel-head {
  padding: 24px 18px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg3);
}
.menu-panel-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #8b6914);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 10px;
}
.menu-panel-name { font-size: 16px; font-weight: 800; color: var(--text); }
.menu-panel-phone { font-size: 12px; color: var(--text3); margin-top: 3px; direction: ltr; text-align: right; }
.menu-items { flex: 1; padding: 10px 0; overflow-y: auto; }
.menu-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; cursor: pointer;
  transition: background 0.15s; text-decoration: none;
  color: var(--text); font-family: inherit;
  border: none; background: transparent; width: 100%;
  text-align: right;
}
.menu-item:active { background: var(--bg3); }
.menu-item-icon {
  width: 38px; height: 38px;
  border-radius: 10px; background: var(--bg3);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.menu-item-info { flex: 1; text-align: right; }
.menu-item-label { font-size: 14px; font-weight: 700; }
.menu-item-sub   { font-size: 11px; color: var(--text3); margin-top: 2px; }
.menu-item-arrow { font-size: 12px; color: var(--text3); }
.menu-panel-footer {
  padding: 14px 18px;
  border-top: 1px solid var(--border);
}
.menu-logout-btn {
  width: 100%; padding: 11px;
  background: transparent; border: 1.5px solid #ef4444;
  border-radius: 10px; color: #ef4444;
  font-family: inherit; font-size: 14px; font-weight: 700;
  cursor: pointer; transition: background 0.15s;
}
.menu-logout-btn:active { background: rgba(239,68,68,0.1); }

/* ── HOOKAH STAGE ── */
.hookah-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 0 10px;
  background: var(--bg);
}

.hookah-glow {
  position: absolute;
  width: 240px; height: 240px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.22;
  top: 30px;
  background: var(--glow-color);
  transition: background 0.6s ease;
  pointer-events: none;
}
[data-theme="dark"] .hookah-glow { opacity: 0.18; }

/* ── HOOKAH DISPLAY ─────────────────────────────────────────────── */
.stage-row {
  position: relative;
  width: 100%;
  height: 450px;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}
.hookah-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.15));
}
[data-theme="dark"] .hookah-wrap { filter: drop-shadow(0 8px 24px rgba(0,0,0,0.15)); }
.hookah-wrap:active > svg { transform: scale(0.97); transition: transform 0.15s; }
.hookah-wrap svg { display: block; }

/* ── DELIVERY OVERLAY ───────────────────────────────────────────── */
.delivery-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(4px);
  z-index: 110;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.delivery-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.delivery-sheet {
  background: var(--bg2);
  border-radius: 22px 22px 0 0;
  width: 100%;
  max-width: 500px;
  padding: 10px 20px 36px;
  transform: translateY(100%);
  transition: transform 0.38s cubic-bezier(.25,.8,.25,1);
  max-height: min(92vh, 760px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.delivery-overlay.open .delivery-sheet {
  transform: translateY(0);
}
.delivery-sheet-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--accent);
  text-align: center;
  margin: 8px 0 14px;
  font-family: 'Tajawal', sans-serif;
}
.delivery-summary { margin-bottom: 14px; }
.dlv-summary-box {
  background: var(--bg3); border-radius: 14px;
  padding: 12px 14px; border: 1px solid var(--border);
  font-family: 'Tajawal', sans-serif;
}
.dlv-summary-title {
  font-size: 13px; font-weight: 800; color: var(--accent);
  margin-bottom: 10px; letter-spacing: 0.2px;
}
.dlv-summary-row {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 0; border-bottom: 1px solid var(--border);
}
.dlv-summary-row:last-child { border-bottom: none; }
.dlv-summary-icon { font-size: 18px; flex-shrink: 0; }
.dlv-summary-name { flex: 1; font-size: 13px; font-weight: 700; color: var(--text); }
.dlv-summary-price { font-size: 13px; font-weight: 900; color: var(--accent); white-space: nowrap; }
.dlv-summary-total {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0 2px; margin-top: 6px;
  border-top: 1.5px solid var(--accent);
  font-size: 14px; font-weight: 900; color: var(--accent);
  font-family: 'Tajawal', sans-serif;
}
.delivery-fields { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.dlv-field-group { display: flex; flex-direction: column; gap: 4px; }
#deliveryIdentityFields { display:flex; flex-direction:column; gap:8px; }
#deliveryIdentityFields.collapsed { display:none; }
.same-delivery-btn {
  width:100%; display:flex; align-items:center; gap:10px; text-align:right;
  border:1.5px solid var(--border); border-radius:14px; padding:12px 14px;
  background:var(--bg3); color:var(--text1); font-family:'Tajawal',sans-serif;
  cursor:pointer; transition:border-color .18s, transform .15s, background .18s;
}
.same-delivery-btn:active { transform:scale(.985); }
.same-delivery-btn.active { border-color:var(--accent); background:color-mix(in srgb, var(--accent) 13%, var(--bg3)); }
.same-delivery-copy { flex:1; display:flex; flex-direction:column; gap:2px; }
.same-delivery-copy span { font-size:14px; font-weight:900; color:var(--text1); }
.same-delivery-copy small { font-size:11px; color:var(--text3); line-height:1.45; }
.same-delivery-summary {
  display:none; border:1px dashed color-mix(in srgb, var(--accent) 45%, var(--border));
  border-radius:12px; padding:8px 10px; color:var(--text2); background:color-mix(in srgb, var(--accent) 8%, transparent);
  font-size:12px; line-height:1.6;
}
.same-delivery-summary.show { display:block; }
.empire-state-icon { display:inline-flex; align-items:center; justify-content:center; }
.dlv-label {
  font-size: 12px; font-weight: 700; color: var(--accent);
  padding-inline-start: 4px; letter-spacing: 0.3px;
}
.dlv-inp { margin-bottom: 0 !important; }
.dlv-inp:focus { border-color: var(--accent) !important; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent) !important; }
.location-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  background: linear-gradient(135deg, #1e88e5, #0d47a1);
  color: white; border: none; border-radius: 14px;
  padding: 13px 20px; font-size: 15px; font-weight: 700;
  cursor: pointer; font-family: 'Tajawal', sans-serif;
  transition: transform 0.15s, box-shadow 0.15s, background 0.3s;
  box-shadow: 0 3px 12px rgba(30,136,229,0.35);
}
.location-btn:active { transform: scale(0.97); }
.location-btn.success {
  background: linear-gradient(135deg, #2e7d32, #1b5e20);
  box-shadow: 0 3px 14px rgba(46,125,50,0.4);
}
.location-btn.success:hover { background: linear-gradient(135deg, #388e3c, #2e7d32); }
.loc-btn-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.loc-btn-sub {
  font-size: 11px; font-weight: 600; letter-spacing: 0.2px;
  color: rgba(255,255,255,0.65);
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}
.location-btn.success .loc-btn-sub { max-height: 20px; opacity: 1; }
.location-status {
  font-size: 12px; color: var(--text3); text-align: center;
  min-height: 16px; font-family: 'Tajawal', sans-serif;
}
.location-status .empire-icon { margin-inline-end: 4px; }
.loc-btn-row {
  display: flex; gap: 8px; align-items: stretch;
}
.loc-btn-row .location-btn { flex: 1; width: auto; }
.loc-cancel-btn {
  width: 48px; flex-shrink: 0;
  border: 1.5px solid rgba(239,68,68,0.4);
  border-radius: 14px; background: rgba(239,68,68,0.08);
  color: #ef4444; font-size: 20px;
  cursor: pointer;
  display: none; align-items: center; justify-content: center;
  transition: background 0.18s;
}
.loc-cancel-btn:active { background: rgba(239,68,68,0.22); }
.dlv-summary-edit-hint {
  float: left; font-size: 11px; font-weight: 600;
  color: var(--accent); opacity: 0.75;
}
.delivery-total-row {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--bg3); border-radius: 12px;
  padding: 12px 16px; margin-bottom: 14px;
  font-size: 15px; font-weight: 700; color: var(--text);
  border: 1px solid var(--border);
  font-family: 'Tajawal', sans-serif;
}
.delivery-total-val { color: var(--accent); font-size: 18px; }
#dlvMap { width: 100%; height: 200px; border-radius: 14px; border: 1.5px solid var(--border); overflow: hidden; margin-top: 4px; }
.dlv-map-hint { font-size: 12px; font-weight: 600; color: var(--text3); text-align: center; margin-bottom: 4px; }
.delivery-submit-btn {
  width: 100%; border: none; border-radius: 18px; margin-bottom: 8px;
  background: var(--fc, #c9a84c); color: #000;
  cursor: pointer; font-family: 'Tajawal', sans-serif;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 16px 22px;
  animation: crbGlow 2.6s ease-in-out infinite;
  transition: transform 0.12s;
  position: relative; overflow: hidden;
}
.delivery-submit-btn:active { transform: scale(0.97); }
.delivery-submit-btn:disabled { opacity: 0.55; cursor: not-allowed; animation: none; }
.dsb-icon { font-size: 22px; flex-shrink: 0; }
.dsb-main-text { flex: 1; font-size: 16px; font-weight: 800; color: #000; text-align: right; }
.dsb-total { font-size: 18px; font-weight: 900; color: #000; white-space: nowrap; flex-shrink: 0; }
.delivery-cancel-btn {
  width: 100%; padding: 11px; border: 1px solid var(--border);
  border-radius: 12px; background: transparent;
  color: var(--text3); font-size: 14px; cursor: pointer;
  font-family: 'Tajawal', sans-serif;
}

.tap-hint {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: var(--text3);
  white-space: nowrap;
  animation: fadeHint 2.5s ease 2s forwards;
  opacity: 1;
  background: var(--card);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
@keyframes fadeHint { to { opacity: 0; pointer-events:none; } }

/* ── FLAVOR LABEL ── */
.flavor-label {
  margin-top: 14px;
  text-align: center;
  z-index: 2;
}
.flavor-name {
  font-size: 26px;
  font-weight: 800;
  color: var(--bowl-main);
  transition: color 0.4s;
  letter-spacing: -0.3px;
}
.flavor-price { font-size: 16px; color: var(--text3); margin-top: 4px; font-weight: 500; }

/* tap-to-order button */
.tap-order-btn {
  margin: 14px auto 0;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bowl-main);
  color: #000;
  border: none;
  padding: 13px 28px;
  border-radius: 26px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.4s, transform 0.15s;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  letter-spacing: 0.2px;
}
.tap-order-btn:active { transform: scale(0.95); }

/* ── PICKER BOTTOM SHEET ── */
.picker-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 100;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.picker-overlay.open { opacity: 1; pointer-events: all; }
.picker-sheet {
  width: 100%;
  background: var(--sheet-bg);
  border-radius: 24px 24px 0 0;
  border-top: 1px solid var(--border);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1);
  max-height: min(92vh, 720px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.sheet-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 8px 16px 24px;
  -webkit-overflow-scrolling: touch;
}
.sheet-footer {
  padding: 12px 16px 32px;
  background: var(--sheet-bg);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
}
.picker-overlay.open .picker-sheet { transform: translateY(0); }

.sheet-handle {
  width: 40px; height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin: 4px auto 12px;
  cursor: grab;
  position: relative;
}
.sheet-handle::before {
  content: '';
  position: absolute;
  inset: -14px -30px;
}
.sheet-title {
  text-align: center;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--text);
}

.flavor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 6px;
}
.flavor-card {
  border-radius: 16px;
  padding: 16px 14px;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
  background: var(--bg3);
  display: flex;
  align-items: center;
  gap: 12px;
}
.flavor-card.active {
  border-color: var(--fc, #c9a84c);
  background: var(--card);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--fc,#c9a84c) 20%, transparent);
}
.flavor-card:active { transform: scale(0.96); }
.flavor-dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.flavor-info .fname { font-size: 15px; font-weight: 700; color: var(--text); line-height: 1.3; }
.flavor-info .fprice { font-size: 13px; color: var(--text3); margin-top: 3px; font-weight: 500; }

.extras-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text2);
  margin: 18px 0 10px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.extra-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
}
.extra-row:last-child { border-bottom: none; }
.extra-name { font-size: 16px; font-weight: 600; color: var(--text); }
.extra-price { font-size: 14px; color: var(--text3); margin-top: 2px; }
.qty-ctrl { display: flex; align-items: center; gap: 10px; }
.qty-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--bg3);
  color: var(--accent);
  font-size: 20px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.qty-val { font-size: 18px; font-weight: 800; min-width: 28px; text-align: center; color: var(--text); }

.pick-btn {
  width: 100%;
  padding: 18px;
  border-radius: 16px;
  border: none;
  background: var(--fc, #c9a84c);
  color: #000;
  font-size: 18px;
  font-weight: 800;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.2s, transform 0.15s, background 0.4s;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.pick-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
/* selected flavor summary in footer */
.sheet-footer-flavor {
  display: none;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding: 10px 14px;
  background: var(--bg3);
  border-radius: 12px;
  border: 1.5px solid var(--border);
}
.sheet-footer-flavor.visible { display: flex; }
.sff-dot { width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0; }
.sff-name { font-size: 15px; font-weight: 700; flex: 1; color: var(--text); }
.sff-price { font-size: 14px; font-weight: 700; color: var(--accent); }
.pick-btn:not(:disabled):active { transform: scale(0.97); }
.pick-btn:not(:disabled) { animation: pickPulse 2.8s ease-in-out infinite; }
@keyframes pickPulse {
  0%,100% { box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
  50%      { box-shadow: 0 4px 28px color-mix(in srgb, var(--fc,#c9a84c) 55%, transparent); }
}
/* ripple */
.pick-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  transform: scale(0);
  animation: pickRipple 0.55s linear;
  pointer-events: none;
}
@keyframes pickRipple {
  to { transform: scale(4); opacity: 0; }
}

/* ── CART REVIEW BAR ───────────────────────────────────────────────────── */
.cart-review-bar {
  position: relative;
  bottom: 0;
  left: 0; right: 0;
  padding: 10px 14px calc(18px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--sheet-bg) 60%, transparent);
  z-index: 10;
  flex-shrink: 0;
}
.crb-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: 18px;
  background: var(--card);
  color: var(--text3);
  cursor: default;
  font-family: inherit;
  transition: transform 0.15s, box-shadow 0.3s, border-color 0.3s,
              background 0.35s, color 0.3s, opacity 0.3s;
  position: relative;
  overflow: hidden;
  opacity: 0.42;
}
.crb-btn.active {
  cursor: pointer;
  background: var(--fc, #c9a84c);
  border-color: transparent;
  color: #000;
  opacity: 1;
  box-shadow: 0 4px 24px rgba(201,168,76,0.45), 0 6px 18px rgba(0,0,0,0.22);
  animation: crbGlow 2.6s ease-in-out infinite;
}
.crb-btn:active { transform: scale(0.97); }
/* count badge */
.crb-count {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(201,168,76,0.14);
  border: 1.5px solid rgba(201,168,76,0.40);
  font-size: 14px; font-weight: 900;
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.crb-btn.active .crb-count {
  background: rgba(0,0,0,0.14);
  border-color: rgba(0,0,0,0.22);
  color: #000;
}
.crb-items {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  flex: 1;
  align-items: center;
}
.crb-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(0,0,0,0.14);
  border: 1px solid rgba(0,0,0,0.18);
  font-size: 12px;
  font-weight: 800;
  color: #000;
  white-space: nowrap;
}
.crb-btn:not(.active) .crb-pill {
  background: rgba(201,168,76,0.12);
  border-color: rgba(201,168,76,0.32);
  color: var(--accent);
}
.crb-empty-hint {
  font-size: 13px;
  font-weight: 600;
  color: var(--text3);
}
.crb-right {
  text-align: left;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.crb-price {
  font-size: 16px;
  font-weight: 900;
  color: #000;
  white-space: nowrap;
}
.crb-btn:not(.active) .crb-price { color: var(--accent); }
.crb-label {
  font-size: 12px;
  font-weight: 700;
  color: rgba(0,0,0,0.70);
  white-space: nowrap;
}
.crb-btn:not(.active) .crb-label { color: var(--text3); }
@keyframes crbPop {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.04); }
  100% { transform: scale(1); }
}
@keyframes crbGlow {
  0%,100% { box-shadow: 0 4px 20px rgba(201,168,76,0.38), 0 5px 16px rgba(0,0,0,0.18); }
  50%      { box-shadow: 0 4px 38px rgba(201,168,76,0.65), 0 6px 22px rgba(0,0,0,0.26); }
}
.crb-btn.popping { animation: crbPop 0.35s ease-out forwards, crbGlow 2.6s 0.35s ease-in-out infinite !important; }

/* ── QUANTITY SELECTOR ── */
.qty-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg3);
  border-radius: 16px;
  padding: 14px 18px;
  margin-bottom: 18px;
  border: 1.5px solid var(--border);
}
.qty-section-label { font-size: 16px; font-weight: 700; color: var(--text); }
.qty-section-sub   { font-size: 13px; color: var(--text3); margin-top: 2px; }
.qty-big-ctrl { display: flex; align-items: center; gap: 14px; }
.qty-big-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: transparent;
  color: var(--accent);
  font-size: 22px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  transition: all 0.15s;
}
.qty-big-btn:active { background: var(--accent); color: #000; transform: scale(0.92); }
.qty-big-val { font-size: 28px; font-weight: 800; min-width: 36px; text-align: center; color: var(--text); }

/* ── FLAVOR CARD REDESIGN (icon style) ── */
.flavor-grid-new {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 6px;
}
.flavor-card-new {
  border-radius: 18px;
  padding: 14px 8px;
  border: 2.5px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
  background: var(--bg3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  position: relative;
}
.flavor-card-new.active {
  border-color: var(--fc, #c9a84c);
  background: var(--card);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--fc,#c9a84c) 18%, transparent);
  transform: scale(1.03);
}
.flavor-card-new:active { transform: scale(0.95); }
.flavor-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  transition: background 0.3s;
  pointer-events: none;
}
.flavor-card-new .fname { font-size: 14px; font-weight: 700; color: var(--text); line-height: 1.3; pointer-events: none; }
.flavor-card-new .fprice { font-size: 11px; color: var(--text3); pointer-events: none; }
.flavor-check { pointer-events: none; }
.flavor-check {
  position: absolute;
  top: 6px; left: 6px;
  min-width: 26px; height: 26px;
  padding: 0;
  border-radius: 999px;
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    linear-gradient(145deg, var(--fc, #c9a84c), rgba(255,255,255,.58)) border-box;
  border: 1.5px solid transparent;
  color: #000;
  font-size: 12px;
  display: none; align-items: center; justify-content: center;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--fc,#c9a84c) 30%, transparent);
}
.flavor-check .empire-icon {
  width: 20px;
  height: 20px;
  background:
    radial-gradient(circle at 31% 23%, rgba(255,255,255,.9) 0 13%, rgba(255,255,255,.25) 14% 30%, transparent 31%),
    linear-gradient(145deg, color-mix(in srgb, var(--fc,#c9a84c) 35%, #fff4bd), var(--fc,#c9a84c) 60%, color-mix(in srgb, var(--fc,#c9a84c) 70%, #4a3208));
  color: #241804;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72), 0 4px 10px color-mix(in srgb, var(--fc,#c9a84c) 22%, transparent);
}
.flavor-check .empire-icon svg { width: 13px; height: 13px; }
.flavor-card-new.active .flavor-check { display: flex; }

/* footer total */
.footer-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding: 0 2px;
}
.footer-total-label { font-size: 14px; color: var(--text2); font-weight: 600; }
.footer-total-val   { font-size: 22px; font-weight: 800; color: var(--accent); }


/* Order type selector */
.order-type-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  background: var(--bg3);
  padding: 5px;
  border-radius: 18px;
}
.ot-btn {
  flex: 1;
  padding: 10px 6px;
  border-radius: 14px;
  border: none;
  background: transparent;
  color: var(--text2);
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.22s;
  text-align: center;
  line-height: 1.3;
}
.ot-btn .ot-icon { font-size: 22px; display: block; margin-bottom: 3px; }
.ot-btn .ot-icon svg { width: 26px; height: 30px; display: block; margin: 0 auto; }
.ot-btn.active {
  background: var(--card);
  color: var(--text);
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
.ot-tab-badge {
  display: inline-block;
  background: var(--accent);
  color: #000;
  font-size: 10px;
  font-weight: 800;
  border-radius: 20px;
  padding: 1px 7px;
  margin-top: 3px;
  line-height: 1.6;
}
.ot-btn.active .ot-icon { transform: scale(1.15); }

/* ── COAL SECTION ─────────────────────────────── */
.coal-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 4px;
}
.coal-big-bounce {
  animation: coalBagFloat 2.4s ease-in-out infinite;
  filter: drop-shadow(0 10px 24px rgba(255,100,0,0.45)) drop-shadow(0 2px 6px rgba(0,0,0,0.45));
}
.coal-big-bounce.coal-pop { animation: coalBagPop 0.32s ease-out forwards !important; }
@keyframes coalBagFloat {
  0%,100% { transform: translateY(0px) rotate(-0.5deg); }
  50%      { transform: translateY(-7px) rotate(0.5deg); }
}
@keyframes coalBagPop {
  0%   { transform: scale(1) rotate(0); }
  40%  { transform: scale(1.18) rotate(-3deg); }
  100% { transform: scale(1) rotate(0); }
}
.coal-header-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  margin-top: 4px;
}
.coal-section-title {
  font-size: 14px;
  color: var(--text2);
  padding: 6px 16px 6px;
  text-align: right;
}
/* Coal kg card grid — mirrors flavor-card-new grid */
.coal-kg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 4px 12px 10px;
}
.coal-kg-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 4px 8px;
  border-radius: 14px;
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: border-color 0.18s, transform 0.15s, background 0.18s;
  -webkit-tap-highlight-color: transparent;
  position: relative;
}
.coal-kg-card:active { transform: scale(0.94); }
.coal-kg-card.active {
  border-color: var(--accent);
  background: rgba(201,168,76,0.10);
}
.coal-kg-card.active .coal-kg-icon { filter: drop-shadow(0 0 8px rgba(255,120,0,0.7)); }
.coal-kg-label {
  font-size: 13px;
  font-weight: 800;
  color: var(--text1);
  line-height: 1;
}
.coal-kg-price {
  font-size: 10px;
  color: var(--text3);
  line-height: 1;
}
.coal-kg-check {
  position: absolute;
  top: 5px;
  right: 6px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  opacity: 0;
  transition: opacity 0.15s;
}
.coal-kg-check .empire-icon {
  width: 22px;
  height: 22px;
  background:
    radial-gradient(circle at 31% 23%, rgba(255,255,255,.9) 0 13%, rgba(255,255,255,.25) 14% 30%, transparent 31%),
    linear-gradient(145deg, #fff2bd, var(--accent) 58%, #8b6914);
  color: #2f2104;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.76), 0 7px 16px rgba(201,168,76,.30);
}
.coal-kg-check .empire-icon svg { width: 13px; height: 13px; }
.coal-kg-card.active .coal-kg-check { opacity: 1; }

/* Coal slots section */
.coal-slots-wrap { padding: 2px 4px 2px; }
.coal-slots-row {
  display: flex;
  flex-direction: row;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 12px 8px;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}
.coal-slots-row::-webkit-scrollbar { display: none; }
.coal-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 6px 6px;
  border-radius: 14px;
  border: 2px solid var(--border);
  background: var(--bg3);
  min-width: 60px;
  max-width: 60px;
  flex-shrink: 0;
  scroll-snap-align: start;
}
.coal-slot svg {
  animation: coalPulse 1.8s ease-in-out infinite;
  filter: drop-shadow(0 0 5px #ff4400);
}
.coal-slot:nth-child(2n)   svg { animation-delay: 0.45s; }
.coal-slot:nth-child(3n)   svg { animation-delay: 0.9s; }
.coal-slot:nth-child(4n)   svg { animation-delay: 1.35s; }
@keyframes coalPulse {
  0%,100% { filter: drop-shadow(0 0 4px #ff3300); }
  50%      { filter: drop-shadow(0 0 14px #ff7700) drop-shadow(0 0 4px #ffcc00); }
}
.coal-num {
  font-size: 9.5px;
  font-weight: 800;
  color: var(--text3);
  text-align: center;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.slots-empty-hint {
  font-size: 13px;
  color: var(--text3);
  padding: 14px 16px;
  text-align: center;
  width: 100%;
}
.coal-info-bar {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--text2);
  padding: 4px 16px 14px;
}
.coal-info-bar span { color: var(--accent); }

/* ── ORDER SECTION ── */
.order-section {
  padding: 14px 16px;
  max-width: 480px;
  margin: 0 auto;
}
.cart-items { margin-bottom: 12px; }
.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  background: var(--card);
  border-radius: 12px;
  margin-bottom: 8px;
  border: 1px solid var(--border);
  border-right: 3px solid var(--ic, #c9a84c);
  box-shadow: var(--shadow);
}
.ci-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  margin-left: 8px;
  flex-shrink: 0;
}
.ci-name { font-size: 16px; font-weight: 600; flex: 1; color: var(--text); }
.ci-price { font-size: 15px; font-weight: 700; color: var(--text2); }
.ci-remove {
  background: none; border: none; color: var(--text3);
  font-size: 18px; cursor: pointer; padding: 0 4px;
}

.form-card {
  background: var(--card);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.form-card h3 { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 16px; }
.inp {
  width: 100%;
  background: var(--inp-bg);
  border: 1.5px solid var(--inp-bdr);
  border-radius: 12px;
  padding: 15px 16px;
  color: var(--text);
  font-size: 17px;
  font-family: inherit;
  margin-bottom: 12px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.inp:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 15%, transparent); }
.inp:focus { border-color: var(--accent); }
.inp:last-child { margin-bottom: 0; }
.inp::placeholder { color: var(--text3); }

.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: var(--card);
  border-radius: 12px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.total-label { font-size: 17px; font-weight: 600; color: var(--text2); }
.total-val { font-size: 28px; font-weight: 800; color: var(--accent); letter-spacing: -0.5px; }

.order-btn {
  width: 100%;
  padding: 20px;
  border-radius: 18px;
  border: none;
  background: linear-gradient(135deg, #c9a84c, #e8c46a);
  color: #000;
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  margin-bottom: 28px;
  box-shadow: 0 6px 24px rgba(201,168,76,0.4);
  transition: opacity 0.2s, transform 0.15s;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.order-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.order-btn:not(:disabled):active { opacity: 0.85; transform: scale(0.99); }

.empty-state {
  text-align: center;
  padding: 30px 20px;
  color: var(--text3);
  font-size: 16px;
  font-weight: 500;
}

/* ── SUCCESS ── */
.success-screen {
  display: none;
  text-align: center;
  padding: 60px 24px;
}
.success-screen.show { display: block; }
.s-icon { font-size: 80px; margin-bottom: 20px; }
.s-title { font-size: 30px; font-weight: 800; color: var(--accent); margin-bottom: 10px; }
.s-sub { color: var(--text2); margin-bottom: 28px; font-size: 17px; font-weight: 500; }
.s-id {
  background: var(--card);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 20px;
  border: 1px solid var(--border);
}
.s-id .label { font-size: 11px; color: var(--text3); margin-bottom: 4px; }
.s-id .val { font-size: 12px; color: var(--accent); word-break: break-all; }
.s-track {
  display: inline-block;
  background: var(--accent);
  color: #000;
  padding: 12px 28px;
  border-radius: 20px;
  font-weight: bold;
  text-decoration: none;
  margin-bottom: 16px;
}
.s-new {
  background: none;
  border: 1px solid var(--border);
  color: var(--text2);
  padding: 10px 24px;
  border-radius: 20px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
}
.s-register {
  display: inline-block;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff;
  padding: 13px 28px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  margin-bottom: 14px;
  margin-top: 4px;
  font-family: inherit;
}

/* ── ORDER METHOD SELECTOR ── */
.order-method-row { display:flex; gap:8px; margin-bottom:14px; }
.om-btn[hidden] { display:none !important; }
.om-btn { flex:1; padding:10px 6px; border-radius:12px; border:1.5px solid var(--border); background:var(--bg2); color:var(--text2); font-size:13px; font-weight:700; cursor:pointer; font-family:inherit; transition:all .2s; }
.om-btn.active { border-color:var(--accent); background:rgba(249,115,22,.13); color:var(--accent); }
.om-btn-icon { display:block; font-size:18px; margin-bottom:3px; }

/* ── SAVED ADDRESS CHIPS ── */
.addr-suggest-title { font-size:12px; color:var(--text3); margin:2px 4px 0; }
.saved-addr-row { display:flex; gap:6px; flex-wrap:wrap; margin-bottom:8px; }
.addr-chip { padding:6px 12px; border-radius:20px; border:1px solid var(--border); background:var(--bg2); color:var(--text2); font-size:12px; cursor:pointer; font-family:inherit; white-space:nowrap; max-width:180px; overflow:hidden; text-overflow:ellipsis; transition:border-color .2s; }
.addr-chip:active, .addr-chip.selected { border-color:var(--accent); color:var(--accent); }
.save-addr-row { display:flex; align-items:center; gap:8px; margin-top:8px; font-size:13px; color:var(--text3); }
.save-addr-row input[type=checkbox] { width:16px; height:16px; accent-color:var(--accent); }

/* ── TRACKING OVERLAY ── */
.track-overlay { position:fixed; inset:0; background:rgba(17,24,39,0.38); z-index:800; display:flex; align-items:flex-end; justify-content:center; opacity:0; pointer-events:none; transition:opacity .3s; }
.track-overlay.open { opacity:1; pointer-events:all; }
.track-sheet { background:var(--bg2); border:1px solid var(--border); border-radius:22px 22px 0 0; width:100%; max-width:540px; padding:24px 20px 44px; max-height:85vh; overflow-y:auto; transform:translateY(100%); transition:transform .35s cubic-bezier(.32,1.2,.6,1); touch-action:pan-x; user-select:none; }
.track-overlay.open .track-sheet { transform:translateY(0); }
.track-sheet.dragging { transition:none; }
.track-handle { width:40px; height:4px; background:var(--border); border-radius:2px; margin:0 auto 18px; }
.track-title { font-size:18px; font-weight:900; text-align:center; margin-bottom:4px; }
.track-id { font-size:11px; color:var(--text3); text-align:center; margin-bottom:16px; font-family:monospace; }
.track-showcase { margin:0 auto 24px; width:min(100%, 360px); border-radius:20px; overflow:hidden; border:1px solid var(--border); background:var(--bg1); box-shadow:0 18px 40px rgba(17,24,39,.16); }
.track-showcase img { display:block; width:100%; height:auto; max-height:52vh; object-fit:cover; object-position:center; }

/* Horizontal stepper */
.track-stepper { position:relative; display:flex; justify-content:space-between; align-items:flex-start; padding:0 10px; margin-bottom:32px; }
.track-stepper-bar { position:absolute; top:16px; right:10%; left:10%; height:3px; background:var(--border); border-radius:2px; overflow:hidden; }
.track-stepper-fill { height:100%; background:var(--accent); border-radius:2px; transition:width .6s cubic-bezier(.4,0,.2,1); }
.track-node { display:flex; flex-direction:column; align-items:center; gap:8px; width:60px; position:relative; z-index:1; }
.track-node-dot { width:36px; height:36px; border-radius:50%; border:2.5px solid var(--border); background:var(--bg2); display:flex; align-items:center; justify-content:center; font-size:16px; transition:all .4s; }
.track-node-dot svg { width:18px; height:18px; display:block; }
.track-node.done .track-node-dot { background:var(--accent); border-color:var(--accent); }
.track-node.active .track-node-dot { background:var(--accent); border-color:var(--accent); box-shadow:0 0 0 6px rgba(249,115,22,.18); animation:track-pulse 1.6s ease-in-out infinite; }
@keyframes track-pulse { 0%,100%{box-shadow:0 0 0 4px rgba(249,115,22,.18)} 50%{box-shadow:0 0 0 10px rgba(249,115,22,.05)} }
.track-node-label { font-size:10px; font-weight:700; color:var(--text3); text-align:center; line-height:1.3; transition:color .4s; }
.track-node.done .track-node-label, .track-node.active .track-node-label { color:var(--text1); }

/* Active step detail card */
.track-active-card { background:rgba(249,115,22,.07); border:1px solid rgba(249,115,22,.2); border-radius:14px; padding:16px 18px; text-align:center; animation:track-card-in .35s ease; }
@keyframes track-card-in { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:translateY(0)} }
.track-active-icon { font-size:36px; margin-bottom:8px; display:flex; justify-content:center; }
.track-active-icon svg { width:40px; height:40px; color:var(--accent); }
.track-active-name { font-size:16px; font-weight:900; color:var(--accent); margin-bottom:4px; }
.track-active-sub { font-size:13px; color:var(--text2); }

.track-close-btn { width:100%; margin-top:22px; padding:13px; border-radius:12px; border:1px solid var(--border); background:transparent; color:var(--text2); font-size:15px; font-weight:700; cursor:pointer; font-family:inherit; }

/* ── EDIT PROFILE NAME ── */
.pp-edit-name-row { display:flex; align-items:center; gap:8px; margin-top:10px; }
.pp-edit-name-inp { flex:1; background:var(--bg1); border:1px solid var(--border); border-radius:10px; padding:10px 14px; color:var(--text1); font-size:15px; font-family:inherit; direction:rtl; }
.pp-edit-name-inp:focus { outline:none; border-color:var(--accent); }
.pp-edit-name-btn { padding:10px 16px; border-radius:10px; border:none; background:var(--accent); color:#000; font-weight:900; font-size:13px; cursor:pointer; font-family:inherit; }
.pp-edit-toggle { background:none; border:none; color:var(--accent); font-size:12px; cursor:pointer; font-family:inherit; margin-top:4px; }

/* ── CUSTOMER ACCOUNT SECTIONS ── */
.pp-tabs { display:grid; grid-template-columns:repeat(4,1fr); gap:6px; margin:10px 0 14px; }
.pp-tab-btn { border:1px solid var(--border); background:var(--bg3); color:var(--text2); border-radius:12px; padding:9px 4px; font-family:inherit; font-weight:900; font-size:12px; cursor:pointer; }
.pp-tab-btn.active { background:var(--accent); border-color:var(--accent); color:#fff; }
.pp-section-title { font-size:15px; font-weight:900; margin:10px 0 8px; color:var(--text); }
.pp-mini-note { font-size:12px; color:var(--text3); line-height:1.6; }
.pp-form-grid { display:grid; gap:10px; }
.pp-action-row { display:flex; gap:8px; align-items:center; margin-top:10px; }
.pp-small-btn { border:0; border-radius:10px; padding:9px 12px; background:var(--accent); color:#fff; font-family:inherit; font-weight:900; cursor:pointer; }
.pp-small-btn.secondary { background:var(--bg3); color:var(--text2); border:1px solid var(--border); }
.pp-order-actions { display:flex; gap:8px; justify-content:flex-end; margin-top:8px; flex-wrap:wrap; }
.pp-offer-card, .pp-notif-row { border:1px solid var(--border); background:var(--bg3); border-radius:14px; padding:12px; margin-bottom:10px; }
.pp-offer-card strong, .pp-notif-title { color:var(--accent); font-weight:900; }
.pp-notif-row.unread { border-color:#ef4444; box-shadow:0 0 0 1px rgba(239,68,68,.14); }
.pp-notif-time { font-size:11px; color:var(--text3); margin-top:4px; direction:ltr; text-align:right; }

/* ── SITE MESSAGE MODAL ── */
.site-msg-overlay {
  position: fixed; inset: 0; z-index: 900;
  background: rgba(0,0,0,.62); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; pointer-events: none; transition: opacity .22s ease;
}
.site-msg-overlay.open { opacity: 1; pointer-events: auto; }
.site-msg-sheet {
  width: min(92vw, 430px); background: var(--bg2); border: 1px solid var(--border);
  border-radius: 24px; padding: 24px 20px 18px; text-align: center;
  box-shadow: 0 22px 70px rgba(0,0,0,.35); transform: translateY(16px) scale(.96);
  transition: transform .22s ease; color: var(--text);
}
.site-msg-overlay.open .site-msg-sheet { transform: translateY(0) scale(1); }
.site-msg-icon { font-size: 42px; margin-bottom: 10px; }
.site-msg-title { font-size: 21px; font-weight: 900; color: var(--accent); margin-bottom: 8px; }
.site-msg-text { font-size: 15px; line-height: 1.8; color: var(--text2); white-space: pre-line; }
.site-msg-actions { display: flex; gap: 10px; margin-top: 20px; }
.site-msg-btn {
  flex: 1; border: 0; border-radius: 14px; padding: 13px 14px;
  font-family: inherit; font-size: 15px; font-weight: 900; cursor: pointer;
}
.site-msg-btn.primary { background: linear-gradient(135deg, var(--accent), #ea580c); color: #fff; }
.site-msg-btn.secondary { background: var(--bg3); color: var(--text2); border: 1px solid var(--border); }
.site-msg-btn:active { transform: scale(.98); }

/* ── ACCOUNT MODAL ── */
.acct-modal-overlay {
  position: fixed; inset: 0; background: rgba(17,24,39,0.38);
  z-index: 500; display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.acct-modal-overlay.open { opacity: 1; pointer-events: all; }
.acct-modal-sheet {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 22px 22px 0 0; width: 100%; max-width: 540px;
  padding: 20px 20px 36px; max-height: 92vh; overflow-y: auto;
  transform: translateY(100%); transition: transform .3s;
}
.acct-modal-overlay.open .acct-modal-sheet { transform: translateY(0); }
.acct-modal-handle { width: 40px; height: 4px; background: var(--border); border-radius: 2px; margin: 0 auto 18px; }
.acct-modal-icon  { font-size: 44px; text-align: center; margin-bottom: 10px; }
.acct-modal-title { font-size: 22px; font-weight: 900; text-align: center; color: var(--accent); margin-bottom: 6px; }
.acct-modal-sub   { font-size: 13px; color: var(--text3); text-align: center; margin-bottom: 20px; }
.acct-tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 14px; padding: 5px; margin-bottom: 16px;
}
.acct-tab {
  border: 0; border-radius: 10px; padding: 10px 8px;
  background: transparent; color: var(--text3); font-family: inherit;
  font-weight: 900; cursor: pointer;
}
.acct-tab.active { background: var(--accent); color: #fff; box-shadow: 0 8px 18px rgba(234,88,12,.22); }
.acct-field-label { font-size: 13px; color: var(--text3); margin-bottom: 6px; font-weight: 600; }
.acct-inp {
  width: 100%; background: var(--bg3); border: 1px solid var(--border);
  border-radius: 12px; padding: 13px 14px; color: var(--text); font-size: 16px;
  font-family: inherit;
}
.acct-inp:focus { outline: none; border-color: var(--accent); }
.acct-inp[readonly] { opacity: .7; }
.acct-err { color: #dc2626; font-size: 13px; min-height: 20px; margin-top: 8px; text-align: center; }
.acct-submit-btn {
  width: 100%; background: linear-gradient(135deg, var(--accent), #ea580c);
  border: none; border-radius: 14px; padding: 16px; font-size: 17px;
  font-weight: 900; color: #fff; cursor: pointer; font-family: inherit; margin-top: 14px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.acct-submit-btn:active { opacity: .85; }
.acct-skip-btn {
  width: 100%; background: none; border: 1px solid var(--border);
  border-radius: 14px; padding: 12px; font-size: 14px; color: var(--text3);
  cursor: pointer; font-family: inherit; margin-top: 10px;
}
.acct-or-divider {
  display: flex; align-items: center; gap: 10px; margin: 14px 0;
  color: var(--text3); font-size: 12px;
}
.acct-or-divider::before, .acct-or-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.google-btn {
  width: 100%; background: #fff; border: 1.5px solid #dadce0;
  border-radius: 14px; padding: 12px 16px; font-size: 15px; font-weight: 700;
  color: #3c4043; cursor: pointer; font-family: inherit;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.google-btn:active { background: #f8f9fa; }
.google-btn svg { flex-shrink: 0; }

/* ── SMOKE ANIMATIONS ── */
@keyframes smokeRise {
  0%   { transform: translateY(0) scaleX(1) rotate(0deg); opacity: 0.7; }
  40%  { transform: translateY(-18px) scaleX(1.5) rotate(4deg); opacity: 0.4; }
  100% { transform: translateY(-38px) scaleX(0.7) rotate(-3deg); opacity: 0; }
}
.smoke  { animation: smokeRise 2.8s ease-in-out infinite; }
.smoke2 { animation: smokeRise 2.8s ease-in-out 0.9s infinite; }
.smoke3 { animation: smokeRise 2.8s ease-in-out 1.8s infinite; }

/* Bowl pulse */
@keyframes bowlPulse {
  0%   { filter: brightness(1); }
  50%  { filter: brightness(1.3); }
  100% { filter: brightness(1); }
}
.bowl-pulse { animation: bowlPulse 0.35s ease; }

/* ── SMOKING SESSION EFFECTS ── */

/* Full-page smoke overlay */
.smoke-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 80;
  overflow: hidden;
  opacity: 0;
  transition: opacity 1s ease;
}
.smoke-overlay.active { opacity: 1; }

.smoke-puff {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,210,220,0.55) 0%, rgba(180,190,210,0.2) 50%, transparent 70%);
  filter: blur(18px);
  transform: scale(0);
  opacity: 0;
  animation: puffExpand var(--dur, 5s) ease-out var(--delay, 0s) forwards;
}
[data-theme="dark"] .smoke-puff {
  background: radial-gradient(circle, rgba(240,240,255,0.18) 0%, rgba(200,200,220,0.08) 50%, transparent 70%);
}
@keyframes puffExpand {
  0%   { transform: scale(0); opacity: 0; }
  10%  { opacity: 1; }
  70%  { opacity: 0.7; }
  100% { transform: scale(var(--scale, 10)); opacity: 0; }
}

/* SVG bubbles */
@keyframes bubbleFloat {
  0%   { transform: translateY(0px) translateX(0px) scale(1); opacity: 0.85; }
  25%  { transform: translateY(-15px) translateX(3px) scale(0.95); }
  50%  { transform: translateY(-32px) translateX(-2px) scale(0.85); }
  75%  { transform: translateY(-50px) translateX(4px) scale(0.7); opacity: 0.5; }
  100% { transform: translateY(-70px) translateX(0px) scale(0.2); opacity: 0; }
}

/* Vase water bubble effect */
.vase-bubbling rect.water-anim {
  animation: waterRipple 0.4s ease infinite;
}
@keyframes waterRipple {
  0%, 100% { transform: scaleX(1); }
  50%       { transform: scaleX(1.03); }
}

/* Countdown ring — hidden */
.session-timer { display: none !important; }

/* Mute button */


/* Delivery banner */
.delivery-banner {
  background: linear-gradient(135deg, #c9a84c, #e8c46a);
  color: #000;
  text-align: center;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.delivery-badge {
  background: rgba(0,0,0,0.15);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 800;
}

/* Auto-start overlay */
.start-overlay {
  position: fixed;
  inset: 0;
  /* Keep the audio-unlock layer below real app modals. It still catches the
     first tap on the main screen, but never sits on top of account/login forms. */
  z-index: 90;
  background: transparent;
  cursor: pointer;
}

.mute-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg3);
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
  margin-right: 6px;
}
.mute-btn:active { transform: scale(0.9); }

/* ── HOOKAH SLOTS ROW ── */
.hookah-slots-wrap {
  padding: 10px 4px 4px;
}
.hookah-slots-row {
  display: flex;
  flex-direction: row;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 12px 8px;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}
.hookah-slots-row::-webkit-scrollbar { display: none; }
.hookah-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 6px 6px;
  border-radius: 14px;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: all 0.25s;
  min-width: 60px;
  max-width: 60px;
  flex-shrink: 0;
  scroll-snap-align: start;
  background: var(--bg3);
  position: relative;
}
.hookah-slot.active {
  border-color: var(--sc, var(--accent));
  background: var(--bg2);
  box-shadow: 0 0 16px var(--sc, var(--accent)), 0 2px 8px rgba(0,0,0,0.15);
  transform: scale(1.06);
}
.hookah-slot.assigned { border-color: var(--sc, var(--accent)); }
.hookah-slot:not(.assigned) .hs-svg { opacity: 0.4; }
.slot-badge {
  font-size: 17px;
  line-height: 1;
  min-height: 20px;
  text-align: center;
}
.slot-label {
  font-size: 9.5px;
  color: var(--text3);
  font-weight: 700;
  text-align: center;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.slot-active-dot {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sc, var(--accent));
  border: 2px solid var(--sheet-bg);
  display: none;
}
.hookah-slot.active .slot-active-dot { display: block; }
.slot-del-btn {
  position: absolute;
  bottom: -6px; left: -6px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #ef4444;
  border: 2px solid var(--bg, #fff);
  color: #fff; font-size: 15px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; padding: 0; margin: 0;
  z-index: 6;
  transition: transform 0.15s, background 0.15s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.35);
  font-family: sans-serif;
}
.slot-del-btn:active { transform: scale(0.78); background: #dc2626; }
.hookah-slot.edit-mode {
  border-style: dashed !important;
  border-color: #f59e0b !important;
  box-shadow: 0 0 16px rgba(245,158,11,0.6), 0 2px 8px rgba(0,0,0,0.15) !important;
}
.hookah-slot.edit-mode .slot-active-dot { background: #f59e0b; }
.slot-hint {
  text-align: center;
  font-size: 13px;
  color: var(--text2);
  padding: 6px 16px 2px;
  direction: rtl;
  min-height: 24px;
}
.slot-hint strong { color: var(--accent); }
.slot-progress-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 16px 10px;
  font-size: 12px;
  color: var(--text3);
  font-weight: 700;
}
.slot-progress-bar {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  overflow: hidden;
}
.slot-progress-fill {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), #e8c46a);
  transition: width 0.35s;
}
.slot-progress-done { display:inline-flex; align-items:center; }
.slot-progress-done .empire-icon { width:18px; height:18px; }
/* flavor card assigned badge */
.flavor-slots-badge {
  margin-top: 4px;
  font-size: 10px;
  font-weight: 800;
  color: var(--fc, var(--accent));
  letter-spacing: 0.5px;
}


/* ── PROFILE OVERLAY ─────────────────────────────────────────────── */
.pp-overlay {
  position: fixed; inset: 0; z-index: 1100;
  background: var(--bg);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
  display: flex; flex-direction: column;
  overflow: hidden;
  pointer-events: none;
}
.pp-overlay.open { transform: translateX(0); pointer-events: auto; }
.pp-topbar {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.pp-back-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--bg3);
  color: var(--text); font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pp-topbar-title { font-size: 16px; font-weight: 800; flex: 1; }
.pp-body { flex: 1; overflow-y: auto; padding: 20px 16px; }
.pp-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 16px; padding: 18px; margin-bottom: 14px;
}
.pp-field-lbl { font-size: 12px; color: var(--text3); margin-bottom: 6px; font-weight: 600; }
.pp-inp {
  width: 100%; background: var(--bg3); border: 1.5px solid var(--border);
  border-radius: 10px; padding: 12px 14px; color: var(--text);
  font-size: 16px; font-family: 'Tajawal', sans-serif;
  pointer-events: auto;
  -webkit-user-select: text;
  user-select: text;
  touch-action: manipulation;
}
.pp-inp:focus { outline: none; border-color: var(--accent); }
.pp-btn {
  width: 100%; background: linear-gradient(135deg,var(--accent),#b8860b);
  border: none; border-radius: 12px; padding: 14px;
  font-size: 16px; font-weight: 900; color: #fff;
  cursor: pointer; font-family: 'Tajawal', sans-serif; margin-top: 10px;
}
.pp-btn:active { opacity: .82; }
.pp-btn-sec {
  background: var(--bg3); border: 1.5px solid var(--border);
  color: var(--text);
}
.pp-err { color: #ef4444; font-size: 13px; margin-top: 8px; min-height: 18px; }
.pp-stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.pp-stat-box {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px; text-align: center;
}
.pp-stat-num { font-size: 22px; font-weight: 900; color: var(--accent); }
.pp-stat-lbl { font-size: 11px; color: var(--text3); margin-top: 3px; }
.pp-order-row {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 12px; padding: 12px; margin-bottom: 8px;
}
.pp-status { border-radius: 6px; padding: 3px 9px; font-size: 11px; font-weight: 700; display:inline-flex; align-items:center; gap:4px; }
.pp-status-approved::before,
.pp-status-confirmed::before,
.pp-status-done::before {
  content: ''; width: 11px; height: 11px; border-radius: 999px; flex-shrink: 0;
  background: linear-gradient(135deg, #eafff0, #22c55e);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.55);
}
.pp-status-approved::after,
.pp-status-confirmed::after,
.pp-status-done::after {
  content: ''; width: 5px; height: 2.5px; border-left: 1.6px solid #fff; border-bottom: 1.6px solid #fff;
  transform: rotate(-45deg); margin-right: -12px; margin-left: 5px; margin-top: -1px;
}
.pp-status-pending   { background: rgba(201,168,76,.15); color: #c9a84c; }
.pp-status-confirmed { background: rgba(88,166,255,.15); color: #58a6ff; }
.pp-status-delivering{ background: rgba(249,115,22,.15); color: var(--accent); }
.pp-status-done      { background: rgba(63,185,80,.15);  color: #3fb950; }
.pp-status-cancelled { background: rgba(248,81,73,.15);  color: #dc2626; }
.pp-logout-btn {
  width: 100%; background: transparent;
  border: 1.5px solid #ef4444; color: #ef4444;
  border-radius: 12px; padding: 12px;
  font-family: 'Tajawal', sans-serif; font-size: 14px; font-weight: 700;
  cursor: pointer; margin-top: 8px;
}
.pp-logout-btn:active { background: rgba(239,68,68,.1); }
.pp-or-divider {
  display: flex; align-items: center; gap: 10px;
  color: var(--text3); font-size: 12px; margin: 12px 0;
}
.pp-or-divider::before,.pp-or-divider::after {
  content:''; flex:1; height:1px; background:var(--border);
}
.pp-google-btn {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--bg3); border: 1.5px solid var(--border); border-radius: 12px;
  padding: 12px; font-size: 15px; font-weight: 700; font-family: 'Tajawal', sans-serif;
  color: var(--text); cursor: pointer;
}
.pp-google-btn:active { opacity: .8; }
.google-inline-slot {
  width: 100%;
  display: flex;
  justify-content: center;
  min-height: 44px;
  margin: 8px 0 4px;
}
.google-inline-slot > div { max-width: 100%; }
.google-embedded-frame {
  width: 330px;
  max-width: 100%;
  height: 48px;
  border: 0;
  background: transparent;
  overflow: hidden;
}
.pp-link-btn {
  border: none;
  background: transparent;
  color: var(--accent);
  font-family: 'Tajawal', sans-serif;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  margin-top: 8px;
  padding: 4px 0;
}
.pp-auth-note {
  font-size: 12px;
  color: var(--text3);
  text-align: center;
  margin: 12px 0 6px;
}
.pp-change-pw-btn {
  width: 100%; background: transparent;
  border: 1.5px solid var(--border); color: var(--text2);
  border-radius: 12px; padding: 11px;
  font-family: 'Tajawal', sans-serif; font-size: 14px; font-weight: 700;
  cursor: pointer; margin-top: 6px;
}
.pp-change-pw-btn:active { background: var(--bg3); }
