/* ==================================================================
   খিদা লাগছে (Khida Lagche) — Main Stylesheet
   --------------------------------------------------------------
   🎨 থিম কালার এখানেই বদলাবেন — শুধু নিচের ৬টা লাইন! পুরো সাইট বদলে যাবে।
   ================================================================== */
:root {
  --primary:      #1BA672;   /* ← মূল সবুজ */
  --primary-dark: #0E7A55;   /* ← গাঢ় সবুজ (hover) */
  --primary-light:#E8F7F0;   /* ← হালকা সবুজ (background) */
  --accent:       #FFB800;   /* ← অফার/CTA হলুদ */
  --text:         #1C1C1C;   /* ← লেখার রং */
  --muted:        #6B7280;   /* ← হালকা লেখা */
  --border:       #E5E7EB;
  --white:        #FFFFFF;
  --danger:       #EF4444;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 32px rgba(0,0,0,.12);
  --maxw: 1200px;
  --font: 'Hind Siliguri', 'Segoe UI', Tahoma, sans-serif;
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}
a { text-decoration:none; color:inherit; }
img { max-width:100%; display:block; }
ul { list-style:none; }
button { font-family:inherit; cursor:pointer; border:none; background:none; }

.container { max-width: var(--maxw); margin:0 auto; padding:0 20px; }

/* ---------- Buttons ---------- */
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:12px 24px; border-radius:50px; font-weight:600; font-size:15px;
  transition:all .2s ease;
}
.btn-primary { background:var(--primary); color:#fff; }
.btn-primary:hover { background:var(--primary-dark); transform:translateY(-2px); box-shadow:var(--shadow); }
.btn-accent { background:var(--accent); color:#1C1C1C; }
.btn-accent:hover { filter:brightness(.95); transform:translateY(-2px); }
.btn-outline { border:2px solid var(--primary); color:var(--primary); }
.btn-outline:hover { background:var(--primary); color:#fff; }
.btn-block { width:100%; }

/* ---------- Header ---------- */
.header {
  position:sticky; top:0; z-index:100; background:#fff;
  box-shadow:0 2px 12px rgba(0,0,0,.06);
}
.nav { display:flex; align-items:center; gap:24px; height:72px; }
.logo { display:flex; align-items:center; gap:8px; font-size:22px; font-weight:800; color:var(--primary); text-decoration:none; }
.logo .logo-icon {
  width:38px; height:38px; border-radius:50%; background:var(--primary);
  color:#fff; display:grid; place-items:center; font-size:20px;
}
.logo-img {
  height: 44px;
  max-width: 190px;
  object-fit: contain;
  vertical-align: middle;
  display: inline-block;
  transition: transform .2s ease;
}
.logo:hover .logo-img {
  transform: scale(1.03);
}
.logo-img-dark {
  height: 44px;
  max-width: 190px;
}
.nav-links { display:flex; gap:20px; margin-left:8px; }
.nav-links a { font-weight:500; color:var(--text); padding:6px 2px; border-bottom:2px solid transparent; }
.nav-links a:hover, .nav-links a.active { color:var(--primary); border-bottom-color:var(--primary); }

.nav-search {
  flex:1; max-width:420px; display:flex; align-items:center;
  background:var(--primary-light); border-radius:50px; padding:8px 16px; gap:10px;
}
.nav-search input { border:none; background:none; outline:none; flex:1; font-size:15px; font-family:inherit; }
.nav-search svg { color:var(--primary); }

.nav-actions { display:flex; align-items:center; gap:14px; margin-left:auto; }
.cart-btn { position:relative; font-size:22px; color:var(--text); }
.cart-count {
  position:absolute; top:-8px; right:-10px; background:var(--danger); color:#fff;
  font-size:11px; font-weight:700; min-width:18px; height:18px; border-radius:50%;
  display:grid; place-items:center; padding:0 4px;
}
.hamburger { display:none; font-size:24px; }

/* ---------- Hero & Cover Photo with Glassmorphism ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: #0c1c14;
  color: #fff;
  padding: 76px 0 92px;
  min-height: 480px;
  display: flex;
  align-items: center;
  border-bottom: 4px solid rgba(27, 166, 114, 0.45);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/header-cover.jpg');
  background-position: center 30%;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.35; /* subtle / halka vabe background */
  filter: saturate(1.15) brightness(0.95);
  transform: scale(1.02);
  transition: transform 8s ease, opacity 0.5s ease;
  z-index: 1;
  pointer-events: none;
}
.hero:hover .hero-bg {
  transform: scale(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(14, 122, 85, 0.85) 0%,
    rgba(27, 166, 114, 0.65) 45%,
    rgba(12, 28, 20, 0.88) 100%
  );
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  z-index: 2;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 3;
  max-width: 720px;
}

/* Glassmorphism Hero Card */
.hero-glass-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  border-radius: 26px;
  padding: 38px 42px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3),
              inset 0 1px 2px rgba(255, 255, 255, 0.35);
  transition: all 0.3s ease;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.32);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 18px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(8px);
}

.hero-pill-badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero h1 {
  font-size: 42px;
  line-height: 1.22;
  margin-bottom: 14px;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.hero p {
  font-size: 17.5px;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 26px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
  line-height: 1.55;
}

/* Glass Search Bar: Ultra Clear & Crisp */
.hero-search {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 50px;
  padding: 8px 10px 8px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 580px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22),
              0 2px 8px rgba(0, 0, 0, 0.08),
              inset 0 1px 2px rgba(255, 255, 255, 0.95);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-search:focus-within {
  background: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28),
              0 0 0 4px rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
}

.hero-search-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.hero-search input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 10px 4px;
  font-size: 16px;
  font-family: inherit;
  font-weight: 500;
  color: #0f172a;
}

.hero-search input::placeholder {
  color: #64748b;
  font-weight: 400;
}

.hero-search .btn {
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: 0 4px 14px rgba(27, 166, 114, 0.4);
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.hero-search .btn:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 6px 18px rgba(27, 166, 114, 0.55);
}

/* Quick tags inside hero */
.hero-quick-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  font-size: 13px;
}

.hqt-label {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.hqt-tag {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 500;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.hqt-tag:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: #ffffff;
  transform: translateY(-1px);
  color: #ffffff;
}

/* ---------- Section ---------- */
.section { padding:56px 0; }
.section-head { display:flex; justify-content:space-between; align-items:flex-end; margin-bottom:28px; }
.section-head h2 { font-size:28px; font-weight:800; }
.section-head p { color:var(--muted); margin-top:4px; }
.section-head a { color:var(--primary); font-weight:600; }

/* ---------- Categories ---------- */
.cat-grid { display:grid; grid-template-columns:repeat(6,1fr); gap:16px; }
.cat-card {
  background:#fff; border:1px solid var(--border); border-radius:var(--radius);
  padding:20px 12px; text-align:center; transition:all .2s;
}
.cat-card:hover { border-color:var(--primary); box-shadow:var(--shadow); transform:translateY(-4px); }
.cat-icon {
  width:56px; height:56px; margin:0 auto 10px; border-radius:50%;
  background:var(--primary-light); display:grid; place-items:center; font-size:26px;
}
.cat-card span { font-weight:600; font-size:14px; }

/* ---------- Restaurant cards ---------- */
.rest-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.rest-card {
  background:#fff; border:1px solid var(--border); border-radius:var(--radius);
  overflow:hidden; transition:all .25s; cursor:pointer;
}
.rest-card:hover { box-shadow:var(--shadow-lg); transform:translateY(-6px); }
.rest-img {
  height:160px; background:linear-gradient(135deg,var(--primary-light),#d1f0e3);
  display:grid; place-items:center; font-size:48px; position:relative;
}
.rest-badge {
  position:absolute; top:10px; left:10px; background:var(--accent); color:#1C1C1C;
  font-size:12px; font-weight:700; padding:4px 10px; border-radius:50px;
}
.rest-body { padding:14px; }
.rest-top { display:flex; justify-content:space-between; align-items:start; gap:8px; }
.rest-body h3 { font-size:16px; font-weight:700; }
.rating { background:var(--primary-light); color:var(--primary-dark); font-weight:700; font-size:13px; padding:3px 8px; border-radius:6px; white-space:nowrap; }
.rest-meta { display:flex; gap:14px; color:var(--muted); font-size:13px; margin-top:8px; }
.rest-tags { display:flex; gap:6px; flex-wrap:wrap; margin-top:10px; }
.tag { background:#f3f4f6; color:var(--muted); font-size:12px; padding:3px 10px; border-radius:50px; }

/* ---------- Steps ---------- */
.steps { background:var(--primary-light); }
.steps-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.step { text-align:center; padding:24px; }
.step-num {
  width:64px; height:64px; margin:0 auto 16px; border-radius:50%;
  background:var(--primary); color:#fff; font-size:26px; font-weight:800;
  display:grid; place-items:center;
}
.step h3 { font-size:18px; margin-bottom:8px; }
.step p { color:var(--muted); }

/* ---------- Features ---------- */
.feat-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.feat {
  background:#fff; border:1px solid var(--border); border-radius:var(--radius);
  padding:28px; text-align:center;
}
.feat-icon { font-size:36px; margin-bottom:12px; }
.feat h3 { font-size:18px; margin-bottom:8px; }
.feat p { color:var(--muted); font-size:15px; }

/* ---------- Promo banner Glassmorphism ---------- */
.promo {
  position: relative;
  overflow: hidden;
  background: #0c1c14;
  border-radius: 28px;
  padding: 44px 52px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promo:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
}

.promo-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/header-cover.jpg');
  background-position: center 70%;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.32; /* soft subtle cover photo */
  filter: saturate(1.2) brightness(0.95);
  transform: scale(1.02);
  transition: transform 8s ease;
  z-index: 1;
  pointer-events: none;
}
.promo:hover .promo-bg {
  transform: scale(1.05);
}

.promo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(14, 122, 85, 0.88) 0%,
    rgba(27, 166, 114, 0.72) 48%,
    rgba(12, 28, 20, 0.90) 100%
  );
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  z-index: 2;
  pointer-events: none;
}

.promo-content {
  position: relative;
  z-index: 3;
  max-width: 620px;
}

.promo-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.promo h2 {
  font-size: 32px;
  line-height: 1.25;
  margin-bottom: 8px;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}

.promo-sub-text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 16px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.promo-code-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px dashed rgba(255, 255, 255, 0.65);
  padding: 7px 14px;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.pc-label {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}

.pc-badge {
  background: #ffffff;
  color: var(--primary-dark, #0e7a55);
  padding: 4px 12px;
  border-radius: 30px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.pc-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pc-copy-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  border-color: #ffffff;
  transform: scale(1.04);
}

.promo-action {
  position: relative;
  z-index: 3;
}

.btn-promo-glass {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.95);
  color: #0e7a55;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 2px solid rgba(255, 255, 255, 0.95);
  padding: 14px 34px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.3px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.22),
              inset 0 1px 2px rgba(255, 255, 255, 0.9);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-promo-glass:hover {
  background: #ffffff;
  color: #085a3e;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.3),
              0 0 0 4px rgba(255, 255, 255, 0.35);
}

/* ---------- Footer ---------- */
.footer { background:#0d1b16; color:#cbd5d1; padding:48px 0 24px; margin-top:56px; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:32px; }
.footer h4 { color:#fff; font-size:16px; margin-bottom:14px; }
.footer p, .footer li { font-size:14px; line-height:2; }
.footer a:hover { color:var(--primary); }
.footer-bottom { border-top:1px solid #1f2f29; margin-top:32px; padding-top:20px; text-align:center; font-size:13px; }
.social { display:flex; gap:12px; margin-top:12px; }
.social a {
  width:38px; height:38px; border-radius:50%; background:#1f2f29;
  display:grid; place-items:center; font-size:18px;
}
.social a:hover { background:var(--primary); }

/* ---------- Floating WhatsApp contact ---------- */
.fab-whatsapp {
  position:fixed; right:20px; bottom:22px; z-index:900;
  display:flex; align-items:center; gap:10px;
  background:#25D366; color:#fff; text-decoration:none;
  padding:12px 18px 12px 14px; border-radius:99px;
  box-shadow:0 8px 24px rgba(37,211,102,.42);
  font-family:inherit; font-size:15px; font-weight:600;
  transition:transform .18s ease, box-shadow .18s ease;
}
.fab-whatsapp:hover { transform:translateY(-2px); box-shadow:0 12px 30px rgba(37,211,102,.55); color:#fff; }
.fab-whatsapp svg { width:24px; height:24px; flex:0 0 auto; fill:#fff; }
.fab-whatsapp .fab-txt { white-space:nowrap; }
@media (max-width:640px) {
  .fab-whatsapp { right:14px; bottom:14px; padding:11px 14px; }
  .fab-whatsapp .fab-txt { font-size:13px; }
}

/* ---------- Login Modal ---------- */
.modal-overlay {
  position:fixed; inset:0; background:rgba(0,0,0,.55); z-index:1000;
  display:none; align-items:center; justify-content:center; padding:20px;
}
.modal-overlay.open, .modal-overlay.active { display:flex; }
.modal {
  background:#fff; border-radius:var(--radius); width:100%; max-width:420px;
  padding:32px; position:relative; animation:pop .25s ease; max-height:92vh; overflow:auto;
}
@keyframes pop { from{transform:scale(.94); opacity:0;} to{transform:scale(1); opacity:1;} }
.modal-close { position:absolute; top:14px; right:16px; font-size:24px; color:var(--muted); }
.modal h2 { font-size:24px; margin-bottom:6px; }
.modal .sub { color:var(--muted); font-size:14px; margin-bottom:22px; }
.tabs { display:flex; gap:8px; background:#f3f4f6; padding:4px; border-radius:50px; margin-bottom:22px; }
.tab { flex:1; padding:9px; border-radius:50px; font-weight:600; font-size:14px; color:var(--muted); text-align:center; }
.tab.active { background:#fff; color:var(--primary); box-shadow:0 1px 4px rgba(0,0,0,.1); }
.tab-pane { display:none; }
.tab-pane.active { display:block; }

.social-login { display:flex; flex-direction:column; gap:12px; }
.social-btn {
  display:flex; align-items:center; justify-content:center; gap:10px;
  padding:12px; border:1px solid var(--border); border-radius:var(--radius-sm);
  font-weight:600; font-size:15px; transition:all .2s; background:#fff;
}
.social-btn:hover { background:#f9fafb; border-color:#d1d5db; }
.social-btn img, .social-btn svg { width:20px; height:20px; }
.divider { display:flex; align-items:center; gap:12px; color:var(--muted); font-size:13px; margin:20px 0; }
.divider::before, .divider::after { content:''; flex:1; height:1px; background:var(--border); }

.field { margin-bottom:16px; }
.field label { display:block; font-size:14px; font-weight:600; margin-bottom:6px; }
.field input {
  width:100%; padding:12px 14px; border:1px solid var(--border); border-radius:var(--radius-sm);
  font-size:15px; font-family:inherit; outline:none; transition:border .2s;
}
.field input:focus { border-color:var(--primary); box-shadow:0 0 0 3px var(--primary-light); }
.phone-row { display:flex; gap:8px; }
.phone-row select { padding:12px; border:1px solid var(--border); border-radius:var(--radius-sm); font-family:inherit; }
.modal .note { font-size:12.5px; color:var(--muted); text-align:center; margin-top:16px; }
.modal .switch { text-align:center; font-size:14px; margin-top:16px; }
.modal .switch a { color:var(--primary); font-weight:600; }

/* ---------- Cart drawer ---------- */
.cart-drawer {
  position:fixed; top:0; right:-420px; width:400px; max-width:92vw; height:100%;
  background:#fff; z-index:1001; box-shadow:-8px 0 30px rgba(0,0,0,.15);
  transition:right .3s ease; display:flex; flex-direction:column;
}
.cart-drawer.open { right:0; }
.cart-head { padding:20px; display:flex; justify-content:space-between; align-items:center; border-bottom:1px solid var(--border); }
.cart-head h3 { font-size:20px; }
.cart-items { flex:1; overflow:auto; padding:16px 20px; }
.cart-item { display:flex; gap:12px; padding:12px 0; border-bottom:1px solid var(--border); }
.cart-item .ci-img { width:52px; height:52px; border-radius:var(--radius-sm); background:var(--primary-light); display:grid; place-items:center; font-size:24px; }
.cart-item .ci-info { flex:1; }
.cart-item h4 { font-size:15px; }
.cart-item .ci-price { color:var(--primary); font-weight:700; font-size:14px; }
.qty { display:flex; align-items:center; gap:10px; margin-top:6px; }
.qty button { width:26px; height:26px; border-radius:6px; background:var(--primary-light); color:var(--primary-dark); font-weight:700; }
.cart-foot { padding:20px; border-top:1px solid var(--border); }
.cart-total { display:flex; justify-content:space-between; font-weight:800; font-size:18px; margin-bottom:14px; }
.empty-cart { text-align:center; color:var(--muted); padding:40px 0; }
.empty-cart .emoji { font-size:48px; margin-bottom:12px; }

/* ---------- Toast ---------- */
.toast {
  position:fixed; bottom:28px; left:50%; transform:translateX(-50%) translateY(120px);
  background:var(--text); color:#fff; padding:14px 24px; border-radius:50px;
  font-size:15px; z-index:2000; opacity:0; transition:all .3s ease; box-shadow:var(--shadow-lg);
}
.toast.show { transform:translateX(-50%) translateY(0); opacity:1; }

/* ---------- Page header (inner pages) ---------- */
.page-head { background:var(--primary-light); padding:36px 0; }
.page-head h1 { font-size:30px; }
.page-head p { color:var(--muted); }

/* ---------- Filters ---------- */
.filters { display:flex; gap:10px; flex-wrap:wrap; margin:24px 0; }
.chip {
  padding:8px 16px; border:1px solid var(--border); border-radius:50px;
  font-size:14px; font-weight:600; background:#fff; color:var(--muted);
}
.chip.active, .chip:hover { background:var(--primary); color:#fff; border-color:var(--primary); }

/* ---------- Checkout Payment Row & Formats ---------- */
.pay-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.pay-row .chip {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  border-width: 1.5px;
}
.pay-row .chip:active { transform: scale(0.96); }
.co-pay-box {
  animation: fadeInPay 0.25s ease-out;
  border-radius: 14px;
}
@keyframes fadeInPay {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Menu page ---------- */
.menu-layout { display:grid; grid-template-columns:2fr 1fr; gap:32px; align-items:start; }
.menu-item {
  display:flex; gap:16px; padding:18px; border:1px solid var(--border);
  border-radius:var(--radius); margin-bottom:16px; background:#fff;
}
.menu-item .mi-img { width:88px; height:88px; border-radius:var(--radius-sm); background:var(--primary-light); display:grid; place-items:center; font-size:38px; flex-shrink:0; }
.menu-item .mi-info { flex:1; }
.menu-item h3 { font-size:17px; }
.menu-item p { color:var(--muted); font-size:14px; margin:6px 0 10px; }
.menu-item .mi-price { color:var(--primary); font-weight:800; font-size:18px; }
.menu-item .mi-action { align-self:center; display:flex; align-items:center; }
.qty-picker-wrap { display:flex; align-items:center; gap:8px; }
.qty-stepper {
  display:inline-flex; align-items:center; background:var(--primary-light);
  border:1px solid rgba(232,89,12,.2); border-radius:50px; padding:2px 4px;
}
.qs-btn {
  width:30px; height:30px; border-radius:50%; border:none; background:transparent;
  color:var(--primary-dark); font-size:16px; font-weight:700; cursor:pointer;
  display:grid; place-items:center; transition:background .15s, transform .1s;
}
.qs-btn:hover { background:#fff; transform:scale(1.08); }
.qs-val { min-width:24px; text-align:center; font-weight:700; font-size:15px; color:var(--text); }

.qty-pill.in-cart {
  display:inline-flex; align-items:center; background:linear-gradient(135deg, var(--primary), var(--primary-dark));
  color:#fff; border-radius:50px; padding:3px 6px; box-shadow:0 3px 12px rgba(232,89,12,.3);
  transition:all .2s ease;
}
.qp-btn {
  width:32px; height:32px; border-radius:50%; border:none; background:rgba(255,255,255,.2);
  color:#fff; font-size:17px; font-weight:700; cursor:pointer; display:grid; place-items:center;
  transition:background .15s, transform .1s;
}
.qp-btn:hover { background:#fff; color:var(--primary); transform:scale(1.08); }
.qp-count { padding:0 10px; font-weight:700; font-size:14px; white-space:nowrap; }
.qp-count small { font-size:12px; opacity:.92; margin-left:2px; font-weight:500; }

.sidebar-card { background:#fff; border:1px solid var(--border); border-radius:var(--radius); padding:20px; position:sticky; top:92px; }
.sidebar-card h3 { margin-bottom:12px; display:flex; align-items:center; gap:6px; font-size:18px; }

.sidebar-cart-list { border-bottom:1px solid var(--border); padding-bottom:10px; margin-bottom:12px; max-height:260px; overflow-y:auto; }
.sidebar-cart-row { display:flex; align-items:center; gap:8px; padding:8px 0; border-bottom:1px dashed #efe8df; font-size:14px; }
.sidebar-cart-row:last-child { border-bottom:none; }
.scr-title { flex:1; min-width:0; }
.scr-name { display:block; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; color:var(--text); }
.scr-rate { font-size:12px; color:var(--muted); }
.scr-qty { display:flex; align-items:center; background:var(--primary-light); border-radius:20px; padding:1px; }
.scr-btn {
  width:22px; height:22px; border-radius:50%; border:none; background:transparent;
  color:var(--primary-dark); font-weight:700; cursor:pointer; display:grid; place-items:center; font-size:13px;
}
.scr-btn:hover { background:#fff; }
.scr-num { font-size:12px; font-weight:700; min-width:18px; text-align:center; }
.scr-total { font-weight:700; color:var(--primary); min-width:44px; text-align:right; font-size:13.5px; }
.scr-del { border:none; background:none; color:var(--muted); font-size:12px; cursor:pointer; padding:2px 4px; border-radius:4px; }
.scr-del:hover { color:var(--danger); }
.sidebar-empty { text-align:center; padding:18px 0; }

.bill-row { display:flex; justify-content:space-between; padding:7px 0; font-size:14.5px; }
.bill-row.discount-row { color:#16a34a; font-weight:600; }
.bill-row.total { border-top:1px solid var(--border); margin-top:8px; padding-top:12px; font-weight:800; font-size:18px; }

/* ---------- Sidebar Coupon & Voucher Box ---------- */
.sidebar-coupon-box {
  margin:12px 0 10px;
  padding:10px 0;
  border-top:1px dashed #e8e2d8;
  border-bottom:1px dashed #e8e2d8;
}
.coupon-box-inner { display:flex; flex-direction:column; gap:6px; }
.coupon-input-group {
  display:flex; align-items:center; gap:6px;
  background:#fbf9f6; border:1.5px dashed #d1c7b7; border-radius:10px;
  padding:3px 5px; transition:all .2s ease;
}
.coupon-input-group:focus-within {
  border-color:var(--primary); background:#fff;
  box-shadow:0 0 0 3px rgba(230,81,0,0.1);
}
.cig-icon { font-size:15px; margin-left:4px; }
.coupon-input {
  flex:1; border:none; background:transparent;
  padding:7px 4px; font-size:13.5px; font-weight:600;
  text-transform:uppercase; color:var(--text); outline:none; min-width:0;
}
.coupon-input::placeholder { text-transform:none; font-weight:400; color:var(--muted); font-size:12.5px; }
.coupon-apply-btn {
  background:var(--primary); color:#fff; border:none;
  padding:6px 14px; border-radius:8px; font-size:12.5px;
  font-weight:700; cursor:pointer; transition:background .15s ease, transform .1s;
  white-space:nowrap;
}
.coupon-apply-btn:hover { background:var(--primary-dark); }
.coupon-apply-btn:active { transform:scale(0.97); }

/* Coupon quick pills */
.coupon-pills { display:flex; flex-wrap:wrap; align-items:center; gap:5px; margin-top:4px; }
.coupon-pills .cp-label { font-size:11px; font-weight:700; color:var(--muted); text-transform:uppercase; letter-spacing:0.4px; }
.coupon-pill {
  display:inline-flex; align-items:center; gap:4px;
  background:#fff; border:1px dashed var(--primary); color:var(--primary-dark);
  padding:2px 8px; border-radius:12px; font-size:11.5px; cursor:pointer;
  transition:all .15s ease;
}
.coupon-pill:hover { background:var(--primary-light); transform:translateY(-1px); }
.coupon-pill strong { font-weight:700; }
.coupon-pill span { font-size:10.5px; opacity:0.85; }

/* Applied coupon card */
.coupon-applied-card {
  background:linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border:1px solid #86efac; border-radius:10px;
  padding:9px 12px; display:flex; flex-direction:column; gap:4px;
}
.cac-header { display:flex; align-items:center; justify-content:space-between; }
.cac-tag { display:flex; align-items:center; gap:5px; font-size:13.5px; color:#15803d; }
.cac-remove {
  background:none; border:none; color:#ef4444; font-size:11.5px;
  font-weight:600; cursor:pointer; padding:2px 6px; border-radius:4px;
}
.cac-remove:hover { background:#fee2e2; }
.cac-body { display:flex; align-items:center; justify-content:space-between; font-size:12.5px; }
.cac-badge { background:#22c55e; color:#fff; padding:2px 7px; border-radius:10px; font-size:11px; font-weight:700; }
.cac-saving { font-weight:700; color:#16a34a; font-size:13.5px; }
.cac-warn { font-size:11.5px; color:#b45309; background:#fef3c7; padding:3px 6px; border-radius:6px; margin-top:2px; }
.cac-notice { font-size:11px; color:#15803d; background:rgba(22,163,74,0.08); padding:3px 6px; border-radius:4px; margin-top:2px; line-height:1.3; }

/* Threshold offer banner */
.threshold-offer-banner {
  background:linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border:1.5px dashed #f97316; border-radius:10px;
  padding:8px 10px; display:flex; align-items:center; justify-content:space-between;
  gap:8px; margin-bottom:8px;
}
.tob-left { display:flex; align-items:center; gap:8px; min-width:0; }
.tob-icon { font-size:18px; line-height:1; }
.tob-left strong { display:block; font-size:12.5px; color:#c2410c; line-height:1.2; }
.tob-left small { display:block; font-size:11px; color:#9a3412; }
.tob-btn {
  background:#ea580c; color:#fff; border:none; padding:5px 11px; border-radius:7px;
  font-size:11.5px; font-weight:700; cursor:pointer; white-space:nowrap;
  transition:all .15s ease;
}
.tob-btn:hover { background:#c2410c; }
.tob-btn:active { transform:scale(0.97); }

.threshold-teaser {
  background:#f8fafc; border:1px dashed #cbd5e1; border-radius:8px;
  padding:6px 9px; font-size:11.5px; color:#475569; margin-bottom:8px; line-height:1.35;
}
.threshold-teaser b { color:#ea580c; }

.single-offer-notice {
  background:#fefce8; border:1px dashed #eab308; border-radius:8px;
  padding:7px 9px; font-size:11.5px; color:#854d0e; margin-top:6px;
  display:flex; flex-direction:column; gap:4px;
}
.single-offer-notice .link-btn {
  background:none; border:none; color:#ea580c; font-weight:700;
  cursor:pointer; text-decoration:underline; padding:0; font-size:11.5px; text-align:left;
}



/* ---------- Auth state & Dropdown Menus ---------- */
.auth-bar-logged, .auth-bar-guest { display:flex; align-items:center; gap:10px; }

/* Language Dropdown */
.lang-dropdown-wrap { position:relative; }
.lang-btn {
  display:inline-flex; align-items:center; gap:6px;
  background:#fff; border:1px solid var(--border); border-radius:30px;
  padding:6px 12px; font-size:13.5px; font-weight:600; color:var(--text);
  cursor:pointer; transition:all .2s ease;
}
.lang-btn:hover { border-color:var(--primary); background:#fffaf5; }
.lang-globe-svg { color:var(--muted); }
.lang-current-label { font-weight:700; letter-spacing:0.5px; }

.lang-menu {
  position:absolute; right:0; top:calc(100% + 8px);
  background:#fff; border:1px solid #ebebeb; border-radius:14px;
  box-shadow:0 12px 32px rgba(0,0,0,0.12);
  min-width:160px; padding:6px; z-index:1000;
  display:none; flex-direction:column; gap:2px;
  animation:fadeDown .15s ease-out;
}
.lang-menu.open { display:flex; }
.lang-item {
  display:flex; align-items:center; gap:10px;
  background:none; border:none; padding:9px 12px; border-radius:8px;
  font-size:14px; font-weight:500; color:var(--text); text-align:left;
  cursor:pointer; transition:background .15s, color .15s; width:100%;
}
.lang-item:hover { background:#f7f7f8; }
.lang-item.active { background:var(--primary-light); color:var(--primary-dark); font-weight:700; }
.lang-flag { font-size:16px; }
.lang-code { font-size:12px; color:var(--muted); margin-left:auto; }

/* Foodpanda-style User Dropdown Menu */
.user-dropdown-wrap { position:relative; }
.user-trigger-btn {
  display:inline-flex; align-items:center; gap:7px;
  background:#fff; border:1px solid var(--border); border-radius:30px;
  padding:6px 14px; font-size:14.5px; font-weight:600; color:var(--text);
  cursor:pointer; transition:all .2s ease;
}
.user-trigger-btn:hover { border-color:var(--primary); }
.user-trigger-icon { color:var(--primary); }
.user-trigger-name { max-width:130px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.chevron-icon { color:var(--muted); transition:transform .2s ease; }
.user-dropdown-menu.open ~ .user-trigger-btn .chevron-icon,
.user-dropdown-wrap:has(.user-dropdown-menu.open) .chevron-icon { transform:rotate(180deg); }

.user-dropdown-menu {
  position:absolute; right:0; top:calc(100% + 8px);
  width:275px; background:#ffffff; border-radius:18px;
  box-shadow:0 14px 40px rgba(0,0,0,0.15); border:1px solid #ebebeb;
  padding:10px 8px; z-index:1000; display:none; flex-direction:column;
  animation:fadeDown .18s ease-out;
}
.user-dropdown-menu.open { display:flex; }

.udm-item {
  display:flex; align-items:center; gap:12px;
  padding:10px 14px; font-size:14.5px; font-weight:500; color:#222;
  border-radius:10px; cursor:pointer; transition:all .15s ease;
}
.udm-item:hover { background:#f7f7f8; }
.udm-svg { color:#333; flex-shrink:0; }

/* Mockup specific styles */
.udm-wallet-box {
  border:2px solid #0070ba; border-radius:12px; margin-bottom:4px;
}
.udm-wallet-box:hover { background:#f0f7ff; }
.udm-crown-icon { font-size:17px; filter:drop-shadow(0 2px 4px rgba(124,58,237,.3)); }
.udm-pro { color:#6d28d9; font-weight:600; }
.active-profile-item {
  background:#fff0f3 !important; color:#d70f64 !important; font-weight:600; border-radius:12px;
}
.active-profile-item .udm-svg { color:#d70f64; }
.udm-divider { height:1px; background:#f0f0f0; margin:6px 4px; }
.udm-logout { color:#c53030; }
.udm-logout .udm-svg { color:#c53030; }
.udm-logout:hover { background:#fff1f0; }

@keyframes fadeDown {
  from { opacity:0; transform:translateY(-8px); }
  to { opacity:1; transform:translateY(0); }
}

/* ==================================================================
   Customer Profile Modal Styles
   ================================================================== */
.customer-profile-modal-overlay {
  position:fixed; inset:0; background:rgba(0,0,0,0.6);
  backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px); z-index:2000;
  display:none; align-items:center; justify-content:center;
  padding:16px;
}
.customer-profile-modal-overlay.open { display:flex; }

.prof-modal-container {
  background:#fff; border-radius:22px; width:100%; max-width:620px;
  box-shadow:0 25px 60px rgba(0,0,0,0.28); overflow:hidden;
  position:relative; animation:modalPop .22s cubic-bezier(0.16,1,0.3,1);
  max-height:90vh; display:flex; flex-direction:column;
  padding:0 !important; /* Never inherit outer padding */
  border:1px solid rgba(0,0,0,0.06);
}

@keyframes modalPop {
  from { opacity:0; transform:scale(0.94) translateY(12px); }
  to { opacity:1; transform:scale(1) translateY(0); }
}

.prof-modal-close {
  position:absolute; top:14px; right:16px;
  width:34px; height:34px; border-radius:50%;
  border:none; background:rgba(0,0,0,0.06);
  color:#475569; font-size:18px; font-weight:700;
  display:grid; place-items:center; cursor:pointer;
  transition:all .16s ease; z-index:10;
}
.prof-modal-close:hover {
  background:rgba(0,0,0,0.12); color:#0f172a;
  transform:scale(1.08);
}

.prof-header {
  background:linear-gradient(135deg, #fff2e8 0%, #ffe0cc 100%);
  padding:20px 24px 18px; display:flex; align-items:center; gap:16px;
  border-bottom:1px solid #ffd1b3; position:relative;
}
.prof-avatar-circle {
  width:54px; height:54px; border-radius:50%; background:var(--primary);
  color:#fff; font-size:23px; font-weight:800; display:grid; place-items:center;
  box-shadow:0 4px 14px rgba(232,89,12,0.35); flex-shrink:0;
}
.prof-header-info h2 { font-size:19px; margin:0 0 3px; color:var(--text); font-weight:700; }
.prof-header-sub { font-size:13px; color:#c2410c; font-weight:600; margin:0; }

/* Clean Modern Tabs Navigation — NO UGLY SCROLLBAR */
.prof-tabs-nav {
  display:flex; background:#f8fafc; border-bottom:1.5px solid #e2e8f0;
  padding:0 8px; gap:4px; overflow-x:auto; overflow-y:hidden;
  scrollbar-width:none; /* Firefox */
  -ms-overflow-style:none; /* IE/Edge */
  flex-shrink:0;
}
.prof-tabs-nav::-webkit-scrollbar {
  display:none; /* Chrome, Safari, Opera */
}

.prof-tab {
  background:none; border:none; padding:12px 14px; font-size:14px;
  font-weight:600; color:#64748b; cursor:pointer;
  border-bottom:3px solid transparent; display:inline-flex; align-items:center; justify-content:center; gap:7px;
  transition:all .16s ease; white-space:nowrap;
  flex:1 1 0; min-width:max-content; border-radius:8px 8px 0 0;
  line-height:1.2;
}
.prof-tab:hover { color:#1e293b; background:rgba(0,0,0,0.03); }
.prof-tab.active {
  color:var(--primary); border-bottom-color:var(--primary);
  background:#fff; font-weight:700;
}
.pt-icon { font-size:16px; line-height:1; display:inline-block; }

.prof-content-body {
  padding:22px 24px; overflow-y:auto; flex:1;
  overscroll-behavior:contain;
}
.prof-pane { display:none; }
.prof-pane.active { display:block; animation:fadeDown .15s ease-out; }

/* Stats in Profile */
.prof-stats-row { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:18px; }
.prof-stat-box {
  background:#f9f9fa; border:1px solid #ededf0; border-radius:14px;
  padding:14px 16px; display:flex; flex-direction:column; gap:4px;
}
.stat-l { font-size:12.5px; color:var(--muted); font-weight:500; }
.stat-v { font-size:22px; font-weight:800; color:var(--primary); }

.prof-form .field { margin-bottom:14px; }
.prof-form label { display:block; font-size:13.5px; font-weight:600; margin-bottom:5px; color:var(--text); }
.prof-form .inp {
  width:100%; padding:10px 14px; border:1px solid var(--border); border-radius:10px;
  font-size:14.5px; font-family:inherit; transition:border-color .15s;
}
.prof-form .inp:focus { outline:none; border-color:var(--primary); box-shadow:0 0 0 3px rgba(232,89,12,.12); }

/* Orders List in Profile */
.prof-orders-container { display:flex; flex-direction:column; gap:14px; }
.prof-order-card {
  background:#fff; border:1px solid var(--border); border-radius:14px;
  padding:14px 16px; box-shadow:0 3px 12px rgba(0,0,0,0.04);
}
.poc-head { display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:10px; }
.poc-title { font-weight:700; font-size:15px; color:var(--text); }
.poc-date { font-size:12px; color:var(--muted); margin-top:2px; }
.poc-status {
  padding:4px 10px; border-radius:20px; font-size:12px; font-weight:700; text-transform:capitalize;
}
.poc-status.st-pending    { background:#fff7ed; color:#c2410c; }
.poc-status.st-confirmed  { background:#eff6ff; color:#1d4ed8; }
.poc-status.st-cooking    { background:#fef3c7; color:#b45309; }
.poc-status.st-delivering { background:#f5f3ff; color:#6d28d9; }
.poc-status.st-delivered  { background:#ecfdf5; color:#047857; }
.poc-status.st-cancelled  { background:#fef2f2; color:#b91c1c; }

.poc-items {
  border-top:1px dashed #eee; border-bottom:1px dashed #eee;
  padding:8px 0; margin-bottom:10px; font-size:13.5px; display:flex; flex-direction:column; gap:4px;
}
.prof-order-item { display:flex; justify-content:space-between; }
.poc-foot { display:flex; justify-content:space-between; align-items:center; }
.poc-total { font-size:14px; }
.poc-actions { display:flex; gap:8px; }

/* Vouchers tab */
.prof-sec-desc { font-size:13.5px; color:var(--muted); margin-bottom:14px; }
.vouchers-grid { display:grid; grid-template-columns:1fr; gap:12px; }
.voucher-card {
  background:linear-gradient(135deg, #fff9f5 0%, #fff 100%);
  border:1px dashed var(--primary); border-radius:14px; padding:14px 16px;
}
.vc-top { display:flex; justify-content:space-between; align-items:center; margin-bottom:6px; }
.vc-badge { background:var(--primary); color:#fff; font-size:12px; font-weight:700; padding:3px 8px; border-radius:6px; }
.vc-code { font-family:monospace; font-size:15px; font-weight:800; color:var(--text); letter-spacing:1px; }
.vc-desc { font-size:13px; color:var(--muted); margin:0 0 10px; }
.vc-copy { width:100%; justify-content:center; }
.vc-copy.copied { background:#ecfdf5; color:#047857; border-color:#047857; }

/* Help Center tab */
.help-links-box { display:flex; flex-direction:column; gap:12px; margin-top:12px; }
.help-btn {
  display:flex; align-items:center; gap:14px; padding:14px 16px;
  background:#f9f9fa; border:1px solid var(--border); border-radius:14px;
  text-decoration:none; color:var(--text); transition:all .18s ease;
}
.help-btn:hover { transform:translateY(-2px); box-shadow:0 6px 18px rgba(0,0,0,0.06); }
.help-btn.wa:hover { border-color:#25d366; background:#f0fdf4; }
.help-btn.phone:hover { border-color:var(--primary); background:#fffaf5; }
.hb-icon { font-size:26px; }
.help-btn b { display:block; font-size:14.5px; margin-bottom:2px; }
.help-btn small { font-size:12.5px; color:var(--muted); }

@media (max-width:900px){
  .cat-grid { grid-template-columns:repeat(3,1fr); }
  .rest-grid { grid-template-columns:repeat(2,1fr); }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .menu-layout { grid-template-columns:1fr; }
}

/* Button disabled state */
.btn:disabled, button:disabled {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
  filter: grayscale(25%);
}

/* ==================================================================
   ONLINE PAYMENT GATEWAYS & CHECKOUT STYLING
   ================================================================== */
.pay-chips-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 6px;
}
@media (max-width: 480px) {
  .pay-chips-grid { grid-template-columns: 1fr; }
}
.pay-chip-card {
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
  cursor: pointer;
  transition: all .18s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}
.pay-chip-card:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
  transform: translateY(-1px);
}
.pay-chip-card.active {
  border-color: var(--primary, #ea580c) !important;
  background: #fff7ed !important;
  box-shadow: 0 0 0 1.5px var(--primary, #ea580c);
}
.pcc-icon { font-size: 22px; flex-shrink: 0; }
.pcc-info { flex: 1; min-width: 0; }
.pcc-title { font-size: 13.5px; font-weight: 700; color: #1e293b; line-height: 1.25; }
.pcc-sub { font-size: 11px; color: #64748b; margin-top: 2px; }

/* Gateway Overlay & Box */
.gateway-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(6px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.gateway-overlay.open { display: flex; }

.gateway-box {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 430px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
  animation: pop .25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.gw-header-bkash {
  background: linear-gradient(135deg, #e2136e 0%, #be125a 100%);
  color: #fff;
  padding: 18px 20px;
}
.gw-header-nagad {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  color: #fff;
  padding: 18px 20px;
}
.gw-header-card {
  background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
  color: #fff;
  padding: 18px 20px;
}

.gw-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.gw-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.gw-close {
  background: rgba(255,255,255,0.22);
  border: none;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.gw-close:hover { background: rgba(255,255,255,0.38); }

.gw-meta-bar {
  background: rgba(0,0,0,0.18);
  border-radius: 10px;
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.gw-meta-bar b { font-size: 16px; color: #fff; font-weight: 800; }

.gw-body { padding: 22px 20px; }
.gw-step-title { font-size: 15.5px; font-weight: 700; color: #1e293b; margin-bottom: 4px; }
.gw-step-sub { font-size: 13px; color: #64748b; margin-bottom: 16px; line-height: 1.45; }

.gw-inp {
  width: 100%;
  padding: 13px 14px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 16.5px;
  font-family: inherit;
  font-weight: 600;
  text-align: center;
  outline: none;
  transition: all .15s;
  margin-bottom: 10px;
}
.gw-inp:focus {
  border-color: #e2136e;
  box-shadow: 0 0 0 3px rgba(226,19,110,0.18);
}
.gw-inp.mono {
  font-family: monospace;
  letter-spacing: 5px;
  font-size: 22px;
  font-weight: 700;
}

.gw-demo-helper {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 12.5px;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  cursor: pointer;
  transition: all .15s;
}
.gw-demo-helper:hover { background: #f1f5f9; border-color: #94a3b8; }
.gw-demo-helper b { font-weight: 800; }

.gw-actions { display: flex; gap: 10px; margin-top: 10px; }
.gw-btn {
  flex: 1;
  padding: 13px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  border: none;
  transition: all .15s;
  text-align: center;
}
.gw-btn-cancel { background: #f1f5f9; color: #475569; }
.gw-btn-cancel:hover { background: #e2e8f0; }
.gw-btn-submit {
  background: #e2136e;
  color: #fff;
  box-shadow: 0 4px 14px rgba(226,19,110,0.3);
}
.gw-btn-submit:hover { opacity: 0.94; transform: translateY(-1px); }

.gw-secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11.5px;
  color: #64748b;
  margin-top: 16px;
  text-align: center;
}

/* ==================================================================
   OUR TEAM & LEADERSHIP STYLES
   ================================================================== */
.team-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
  padding: 80px 0 90px;
  position: relative;
  overflow: hidden;
}

.team-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(27, 166, 114, 0.08);
  border: 1px solid rgba(27, 166, 114, 0.22);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 50px;
  letter-spacing: 0.5px;
}

/* Founder Spotlight Card (VIP Hero Card) */
.founder-card-wrap {
  margin: 45px auto 55px;
  max-width: 1040px;
}

.founder-spotlight-card {
  position: relative;
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(27, 166, 114, 0.18);
  box-shadow: 0 20px 45px -12px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(27, 166, 114, 0.06);
  padding: 38px 42px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.founder-spotlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 55px -15px rgba(27, 166, 114, 0.22), 0 0 0 1px rgba(27, 166, 114, 0.18);
}

.founder-glow-bg {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27, 166, 114, 0.12) 0%, rgba(255, 184, 0, 0.08) 50%, transparent 70%);
  pointer-events: none;
}

.founder-grid {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.founder-media {
  display: flex;
  justify-content: center;
}

.founder-img-frame {
  position: relative;
  width: 270px;
  height: 310px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14);
  border: 4px solid #ffffff;
}

.founder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.founder-spotlight-card:hover .founder-img {
  transform: scale(1.03);
}

.founder-vip-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #f8fafc;
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.founder-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
}

.founder-role-tag {
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 12px;
  border-radius: 20px;
}

.founder-loc-tag, .founder-exp-tag {
  background: #f1f5f9;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}

.founder-name {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 12px;
}

.founder-bio {
  font-size: 15.5px;
  line-height: 1.7;
  color: #334155;
  margin-bottom: 22px;
  font-style: italic;
  border-left: 3px solid var(--primary);
  padding-left: 14px;
}

.founder-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
  padding: 14px 16px;
  background: #f8fafc;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
}

.f-stat-item {
  text-align: center;
}

.f-stat-num {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  font-family: inherit;
}

.f-stat-label {
  font-size: 11.5px;
  color: #64748b;
  font-weight: 600;
  margin-top: 2px;
}

.founder-socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.fs-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #1e293b;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.fs-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* Core Team Section */
.team-subhead {
  text-align: center;
  margin: 20px auto 35px;
}

.team-subhead h3 {
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
}

.team-subhead p {
  color: var(--muted);
  font-size: 14.5px;
  margin-top: 4px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1060px;
  margin: 0 auto 50px;
}

.team-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
  border-color: rgba(27, 166, 114, 0.4);
}

.team-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.team-img-wrap {
  position: relative;
  width: 100%;
  height: 250px;
  background: #f1f5f9;
  overflow: hidden;
}

.team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.team-card:hover .team-img {
  transform: scale(1.05);
}

.team-dept-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.team-card-content {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.team-role {
  color: var(--primary);
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.team-name {
  font-size: 19px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

.team-desc {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
}

.team-social-links {
  display: flex;
  gap: 8px;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
}

.ts-link {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #475569;
  transition: all 0.2s;
  text-decoration: none;
}

.ts-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* Join Our Team Callout Banner */
.team-join-banner {
  max-width: 1060px;
  margin: 0 auto;
  background: linear-gradient(135deg, #0e7a55 0%, #1ba672 100%);
  color: #fff;
  border-radius: 20px;
  padding: 30px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  box-shadow: 0 16px 36px rgba(27, 166, 114, 0.25);
  flex-wrap: wrap;
}

.tjb-pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.tjb-content h4 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 4px;
}

.tjb-content p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

/* Responsive Team Adjustments */
@media (max-width: 900px) {
  .founder-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }
  .founder-img-frame {
    width: 200px;
    height: 240px;
  }
  .founder-tag-row {
    justify-content: center;
  }
  .founder-bio {
    border-left: none;
    border-top: 2px solid var(--primary);
    padding-left: 0;
    padding-top: 10px;
  }
  .founder-socials {
    justify-content: center;
  }
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
  .team-join-banner {
    text-align: center;
    justify-content: center;
    padding: 26px 20px;
  }
}

/* ==================================================================
   INTERACTIVE TEAM SHOWCASE (REFERENCE IMAGE DESIGN - HIGH DEF)
   ================================================================== */
.team-hero-stage {
  position: relative;
  min-height: 1080px;
  background: radial-gradient(ellipse at 50% 20%, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
  overflow: hidden;
  padding: 40px 20px 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Background Giant Ghost Typography Watermark */
.team-ghost-name {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Hind Siliguri', 'Outfit', sans-serif;
  font-size: clamp(55px, 11vw, 160px);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.045);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Background Giant Artistic Member Portrait (Towering, Crisp & High-Definition) */
.team-bg-portrait-wrap {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: min(920px, 95vw);
  height: 960px;
  pointer-events: none;
  user-select: none;
  z-index: 2;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 75%, rgba(0,0,0,0) 98%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 75%, rgba(0,0,0,0) 98%);
}

.team-bg-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(100%) contrast(112%) brightness(102%);
  opacity: 0.90;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Eyebrow Label on Upper Left & Counter */
.team-stage-head {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.team-eyebrow-tag {
  font-size: 20px;
  font-weight: 500;
  color: #64748b;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.team-eyebrow-tag .badge-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #0ea5e9;
  box-shadow: 0 0 12px rgba(14, 165, 233, 0.8);
}

.team-counter-tag {
  font-size: 14.5px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.5px;
}

/* Horizontal Axis Line across the stage */
.team-axis-line {
  position: absolute;
  left: 2%;
  right: 2%;
  top: 50%;
  height: 1px;
  border-bottom: 2px dotted #cbd5e1;
  z-index: 1;
  pointer-events: none;
}

/* Main Interactive Row: Left Circles + Center Card + Right Circles */
.team-showcase-row {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1260px;
  margin: 490px auto 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

/* Flanking Circles (Left and Right) */
.team-circles-flank {
  display: flex;
  gap: 34px;
  align-items: center;
  z-index: 5;
}

.team-circle-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 5;
}

.team-circle-btn {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  padding: 0;
  border: 4px solid #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
  background: #ffffff;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
  position: relative;
  filter: grayscale(100%) contrast(105%);
  opacity: 0.85;
}

.team-circle-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  transition: transform 0.4s ease;
}

.team-circle-btn:hover {
  filter: grayscale(0%) contrast(100%);
  opacity: 1;
  transform: scale(1.12);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.2);
  border-color: #ffffff;
}

.team-circle-btn.active {
  filter: grayscale(0%) contrast(100%);
  opacity: 1;
  transform: scale(1.18);
  border-color: #ffffff;
  box-shadow: 0 0 0 4px #0ea5e9, 0 18px 40px rgba(14, 165, 233, 0.42);
}

.team-circle-label {
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  margin-top: 10px;
  text-align: center;
  transition: color 0.2s;
  white-space: nowrap;
}

.team-circle-item.active .team-circle-label {
  color: #0284c7;
  font-weight: 800;
}

/* Central Floating Spotlight Card */
.team-card-center-stage {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 480px;
  flex-shrink: 0;
}

.team-spotlight-box {
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 32px 75px -15px rgba(15, 23, 42, 0.16), 0 8px 24px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(226, 232, 240, 0.95);
  padding: 34px 32px 28px;
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.team-spotlight-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 38px 85px -16px rgba(15, 23, 42, 0.22), 0 10px 28px rgba(0, 0, 0, 0.07);
}

/* Card Top Row: Big Clear Photo + Name/Role/Socials */
.tsb-top-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.tsb-avatar-wrap {
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
  border: 3px solid #ffffff;
  background: #f1f5f9;
}

.tsb-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.tsb-info-wrap {
  flex-grow: 1;
  min-width: 0;
}

.tsb-name {
  font-size: 21px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 4px;
}

.tsb-role-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.tsb-role {
  font-size: 13.5px;
  font-weight: 700;
  color: #64748b;
}

.tsb-dept-pill {
  font-size: 11.5px;
  font-weight: 700;
  background: rgba(14, 165, 233, 0.1);
  color: #0284c7;
  padding: 2px 8px;
  border-radius: 6px;
}

.tsb-social-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.tsb-soc-btn {
  width: 29px;
  height: 29px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 12px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.tsb-soc-btn:hover {
  background: #0ea5e9;
  color: #ffffff;
  border-color: #0ea5e9;
  transform: translateY(-2px);
}

/* Card Description/Bio */
.tsb-bio-text {
  font-size: 14px;
  line-height: 1.72;
  color: #475569;
  margin: 18px 0 24px;
  min-height: 75px;
}

/* Card Bottom Navigation Pill (Hanging blue dual-arrow button from ref image) */
.tsb-nav-pill-wrap {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
}

.tsb-arrow-pill {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  border-radius: 99px;
  box-shadow: 0 10px 24px rgba(14, 165, 233, 0.45);
  padding: 2px 4px;
}

.tsb-arrow-btn {
  background: transparent;
  border: 0;
  color: #ffffff;
  cursor: pointer;
  padding: 7px 22px;
  font-size: 18px;
  font-weight: bold;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 99px;
  transition: background 0.18s ease, transform 0.18s ease;
}

.tsb-arrow-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.tsb-arrow-btn:active {
  transform: scale(0.92);
}

.tsb-arrow-divider {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.35);
}

@keyframes teamCardFadeIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.team-animate-fade {
  animation: teamCardFadeIn 0.32s ease forwards;
}

/* Responsive adjustments */
@media (max-width: 1100px) {
  .team-hero-stage {
    min-height: 980px;
  }
  .team-bg-portrait-wrap {
    height: 860px;
  }
  .team-showcase-row {
    gap: 24px;
    margin-top: 410px;
  }
  .team-circle-btn {
    width: 82px;
    height: 82px;
  }
  .team-circles-flank {
    gap: 20px;
  }
  .team-spotlight-box {
    padding: 28px 24px 26px;
  }
}

@media (max-width: 900px) {
  .team-axis-line {
    display: none;
  }
  .team-bg-portrait-wrap {
    height: 740px;
  }
  .team-showcase-row {
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    margin-top: 330px;
  }
  .team-card-center-stage {
    order: 1;
    width: 100%;
    max-width: 440px;
  }
  .team-circles-left {
    order: 2;
    display: flex;
    gap: 16px;
    justify-content: center;
  }
  .team-circles-right {
    order: 3;
    display: flex;
    gap: 16px;
    justify-content: center;
  }
  .team-circle-btn {
    width: 76px;
    height: 76px;
  }
}

@media (max-width: 640px) {
  .team-hero-stage {
    min-height: auto;
    padding: 30px 14px 60px;
  }
  .team-bg-portrait-wrap {
    height: 580px;
    width: 100vw;
  }
  .team-ghost-name {
    top: 60px;
    font-size: clamp(34px, 10vw, 60px);
  }
  .team-showcase-row {
    margin-top: 220px;
    gap: 24px;
  }
  .team-spotlight-box {
    padding: 24px 18px 24px;
  }
  .tsb-top-row {
    gap: 14px;
  }
  .tsb-avatar-wrap {
    width: 88px;
    height: 88px;
  }
  .tsb-name {
    font-size: 18px;
  }
  .tsb-bio-text {
    font-size: 13px;
    margin: 14px 0 20px;
    min-height: auto;
  }
  .team-circle-btn {
    width: 64px;
    height: 64px;
  }
  .team-circle-label {
    font-size: 11.5px;
  }
}

/* ==================================================================
   PHASE 1: SINGLE-RESTAURANT CART, SAVED ADDRESSES & REORDER
   ================================================================== */

/* 1. Single Restaurant Cart Conflict Modal */
.single-rest-conflict-overlay {
  z-index: 99999;
}
.single-rest-conflict-box {
  max-width: 440px;
  text-align: center;
  padding: 26px 20px 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
  border: 1.5px solid var(--line, #e2e8f0);
  animation: modalPop .25s ease-out;
}
.single-rest-conflict-box .src-icon {
  font-size: 42px;
  margin-bottom: 10px;
  display: inline-block;
}
.single-rest-conflict-box h3 {
  font-size: 19px;
  color: var(--txt, #1e293b);
  margin: 0 0 10px;
}
.single-rest-conflict-box .src-msg {
  font-size: 14px;
  color: var(--muted, #64748b);
  line-height: 1.55;
  margin-bottom: 20px;
}
.single-rest-conflict-box .src-msg strong {
  color: var(--primary, #ea580c);
}
.single-rest-conflict-box .src-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.btn-danger {
  background: #ef4444;
  color: #fff;
  border: none;
  font-weight: 700;
  border-radius: 12px;
  padding: 12px 18px;
  cursor: pointer;
  transition: all .2s;
}
.btn-danger:hover {
  background: #dc2626;
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--muted, #64748b);
  border: 1px solid var(--line, #e2e8f0);
  font-weight: 600;
  border-radius: 12px;
  padding: 11px 18px;
  cursor: pointer;
}
.btn-ghost:hover {
  background: #f8fafc;
  color: var(--txt, #1e293b);
}

/* Cart Active Restaurant Header Banner */
.cart-active-rest-banner {
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  border-bottom: 1.5px solid #fed7aa;
  padding: 10px 16px;
  font-size: 13px;
}
.cart-active-rest-banner .carb-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3px;
}
.cart-active-rest-banner .carb-name {
  font-weight: 800;
  color: #9a3412;
  font-size: 14px;
}
.cart-active-rest-banner .carb-count {
  font-size: 11px;
  background: #ea580c;
  color: #fff;
  padding: 2px 7px;
  border-radius: 99px;
  font-weight: 700;
}
.cart-active-rest-banner .carb-meta {
  display: flex;
  gap: 8px;
  color: #c2410c;
  font-size: 12px;
  font-weight: 600;
}
.cart-active-rest-banner .carb-warning {
  margin-top: 6px;
  padding: 5px 9px;
  background: #fff;
  border: 1px dashed #f97316;
  border-radius: 8px;
  color: #c2410c;
  font-size: 12px;
  line-height: 1.4;
}

/* 2. Multiple Saved Addresses & Map Pin Picker */
.co-address-empty-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 12px;
}
.co-address-empty-bar .cae-text {
  font-size: 13px;
  color: var(--muted, #64748b);
  font-weight: 500;
}
.co-saved-addresses-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.co-addr-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.co-addr-card {
  border: 1.5px solid var(--line, #e2e8f0);
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
  cursor: pointer;
  transition: all .2s ease;
  position: relative;
}
.co-addr-card:hover {
  border-color: var(--primary, #ea580c);
  transform: translateY(-1px);
}
.co-addr-card.active {
  border-color: var(--primary, #ea580c);
  background: #fffaf5;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.12);
}
.co-addr-card .cac-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}
.co-addr-card .cac-label {
  font-weight: 700;
  font-size: 13px;
  color: #9a3412;
}
.cac-def-badge {
  font-size: 10.5px;
  font-weight: 700;
  background: #dcfce7;
  color: #15803d;
  padding: 2px 6px;
  border-radius: 99px;
}
.co-addr-card .cac-line {
  font-weight: 600;
  font-size: 13px;
  color: var(--txt, #1e293b);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.co-addr-card .cac-area {
  font-size: 12px;
  color: var(--muted, #64748b);
  margin-top: 2px;
}
.co-addr-card .cac-phone {
  font-size: 11.5px;
  color: #64748b;
  margin-top: 2px;
}

/* Map Picker Modal */
.map-picker-modal-overlay {
  z-index: 99999;
}
.map-picker-modal-container {
  max-width: 620px;
  width: 95%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 20px;
  padding: 20px;
}
.mpm-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line, #e2e8f0);
}
.mpm-title-box {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mpm-icon {
  font-size: 28px;
}
.mpm-title-box h3 {
  margin: 0;
  font-size: 17.5px;
}
.mpm-title-box small {
  color: var(--muted, #64748b);
  font-size: 12px;
}
.mpm-quick-areas {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.mqa-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted, #64748b);
  white-space: nowrap;
}
.mqa-chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.mqa-chip {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 99px;
  padding: 4px 10px;
  font-size: 12px;
  white-space: nowrap;
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
  transition: all .15s;
}
.mqa-chip:hover {
  background: #ffedd5;
  border-color: #f97316;
  color: #c2410c;
}
.mpm-map-wrapper {
  position: relative;
  margin-bottom: 14px;
}
.mpm-locate-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1000;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.mpm-locate-btn:hover {
  background: #f8fafc;
}
.mpm-status-bar {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  z-index: 1000;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12.5px;
  display: flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(8px);
}
.mpm-status-bar.valid {
  background: rgba(240, 253, 244, 0.94);
  border: 1px solid #86efac;
  color: #166534;
}
.mpm-status-bar.invalid {
  background: rgba(254, 242, 242, 0.94);
  border: 1px solid #fca5a5;
  color: #991b1b;
}
.mpm-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mpm-label-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}
.mpm-chips-group {
  display: flex;
  gap: 8px;
}
.mpm-chip-opt {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}
.mpm-chip-opt input {
  margin: 0;
}
.mpm-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 580px) {
  .mpm-grid2 {
    grid-template-columns: 1fr;
  }
}
.mpm-foot-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 10px;
}

/* Profile Address Book */
.prof-addresses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.prof-addr-card {
  background: #fff;
  border: 1.5px solid var(--line, #e2e8f0);
  border-radius: 14px;
  padding: 14px;
  position: relative;
}
.prof-addr-card.default-border {
  border-color: var(--primary, #ea580c);
  background: #fffbf7;
}
.prof-addr-card .pac-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.prof-addr-card .pac-line {
  font-weight: 700;
  font-size: 14px;
  color: var(--txt, #1e293b);
}
.prof-addr-card .pac-area {
  font-size: 12.5px;
  color: var(--muted, #64748b);
  margin-top: 3px;
}
.prof-addr-card .pac-phone {
  font-size: 12px;
  color: #64748b;
  margin-top: 3px;
}
.prof-addr-card .pac-foot {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--line, #e2e8f0);
}

/* 3. One-Click Reorder Components */
.order-again-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.order-again-card {
  background: #fff;
  border: 1.5px solid var(--line, #e2e8f0);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: all .2s ease;
  display: flex;
  flex-direction: column;
}
.order-again-card:hover {
  transform: translateY(-2px);
  border-color: #fed7aa;
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.1);
}
.order-again-card .oac-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.order-again-card .oac-rest {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 14.5px;
}
.order-again-card .oac-total {
  font-weight: 800;
  color: var(--primary, #ea580c);
  font-size: 15px;
}
.order-again-card .oac-items {
  font-size: 13px;
  color: var(--muted, #64748b);
  line-height: 1.45;
  margin-bottom: 12px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.order-again-card .oac-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px dashed var(--line, #e2e8f0);
}
.order-again-card .oac-date {
  font-size: 11.5px;
  color: #94a3b8;
}
.order-again-card .oac-btn {
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 10px;
  font-size: 13px;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.25);
}

/* Reorder Summary Modal */
.reorder-summary-overlay {
  z-index: 99999;
}
.reorder-summary-box {
  max-width: 480px;
  width: 95%;
  border-radius: 20px;
  padding: 22px;
  animation: modalPop .25s ease-out;
}
.rsb-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.rsb-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.rsb-icon {
  font-size: 26px;
}
.rsb-title h3 {
  margin: 0;
  font-size: 18px;
}
.rsb-rest {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--muted, #64748b);
  font-weight: 600;
}
.rsb-warn-box.closed {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 12px;
}
.rsb-section {
  background: #f8fafc;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
}
.rsb-section.warn {
  background: #fffbeb;
  border: 1px solid #fef3c7;
}
.rsb-section.err {
  background: #fff1f2;
  border: 1px solid #ffe4e6;
}
.rsb-sec-head {
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 8px;
  color: var(--txt, #1e293b);
}
.rsb-items-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rsb-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
}
.rsb-item-row.price-diff {
  color: #92400e;
}
.rsb-item-row.skipped {
  color: #be123c;
  text-decoration: line-through;
}
.badge-out {
  font-size: 11px;
  background: #ffe4e6;
  color: #e11d48;
  padding: 2px 6px;
  border-radius: 6px;
  font-weight: 700;
}
.rsb-actions {
  margin-top: 16px;
}

/* ==================================================================
   PHASE 4: ADVANCED FILTERS, REVIEWS & RATINGS, OPENING HOURS
   ================================================================== */

/* Filter Bar & Horizontal Chips */
.filter-bar-container {
  margin: 18px 0 24px;
}
.filter-chips-scroll {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.filter-chips-scroll::-webkit-scrollbar {
  height: 4px;
}
.filter-chips-scroll::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
.filter-chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 99px;
  font-size: 13.5px;
  font-weight: 600;
  border: 1.5px solid var(--border, #e2e8f0);
  background: #ffffff;
  color: var(--txt, #1e293b);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.16s ease;
  user-select: none;
}
.filter-chip-btn:hover {
  border-color: var(--primary, #ea580c);
  background: #fff7ed;
  color: var(--primary, #ea580c);
}
.filter-chip-btn.active {
  background: var(--primary, #ea580c);
  color: #ffffff;
  border-color: var(--primary, #ea580c);
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.28);
}
.filter-more-btn {
  border-color: #94a3b8;
  font-weight: 700;
}
.filter-badge-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: var(--primary, #ea580c);
  font-size: 11px;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  margin-left: 2px;
}
.filter-chip-btn.active .filter-badge-count {
  background: #ffffff;
  color: var(--primary, #ea580c);
}
.filter-result-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: var(--muted, #64748b);
}
.filter-reset-link {
  color: var(--primary, #ea580c);
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

/* Mobile Filter Bottom Sheet / Modal */
.filter-sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9999;
  display: none;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.filter-sheet-overlay.open {
  display: flex;
  opacity: 1;
}
.filter-sheet-modal {
  background: #ffffff;
  width: 100%;
  max-width: 520px;
  max-height: 85vh;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  overflow-y: auto;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  animation: slideUpSheet 0.25s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@media (min-width: 640px) {
  .filter-sheet-overlay {
    align-items: center;
  }
  .filter-sheet-modal {
    border-radius: 20px;
    max-height: 80vh;
  }
}
@keyframes slideUpSheet {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.filter-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 14px;
  border-bottom: 1px solid #f1f5f9;
}
.filter-sheet-head h3 {
  margin: 0;
  font-size: 18px;
}
.filter-sheet-close {
  background: #f1f5f9;
  border: none;
  font-size: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.filter-sheet-body {
  padding: 16px 20px;
  overflow-y: auto;
  flex: 1;
}
.filter-group {
  margin-bottom: 20px;
}
.filter-group-title {
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.filter-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-pill-opt {
  padding: 6px 14px;
  border-radius: 99px;
  border: 1.5px solid #e2e8f0;
  font-size: 13.5px;
  font-weight: 600;
  background: #fff;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
}
.filter-pill-opt:hover {
  border-color: var(--primary, #ea580c);
  background: #fff7ed;
}
.filter-pill-opt.active {
  background: var(--primary, #ea580c);
  color: #fff;
  border-color: var(--primary, #ea580c);
}
.filter-sheet-actions {
  display: flex;
  gap: 12px;
  padding: 14px 20px 18px;
  border-top: 1px solid #f1f5f9;
  background: #ffffff;
}

/* Skeleton Loading Cards */
.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.skeleton-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #f1f5f9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.skeleton-img {
  height: 140px;
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: skelShimmer 1.5s infinite;
}
.skeleton-body {
  padding: 14px;
}
.skeleton-line {
  height: 14px;
  border-radius: 6px;
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: skelShimmer 1.5s infinite;
  margin-bottom: 8px;
}
.skeleton-line.short { width: 50%; }
.skeleton-line.medium { width: 75%; }
@keyframes skelShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Star Rating Touch Picker */
.star-rating-box {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 14px;
}
.star-rating-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
}
.star-btn {
  background: none;
  border: none;
  font-size: 32px;
  color: #cbd5e1;
  cursor: pointer;
  padding: 2px 4px;
  line-height: 1;
  transition: transform 0.15s ease, color 0.15s ease;
  user-select: none;
}
.star-btn:hover, .star-btn.active {
  color: #f59e0b;
  transform: scale(1.15);
}
.star-label-text {
  font-size: 13px;
  font-weight: 700;
  color: #ea580c;
  margin-left: 8px;
}
.char-counter {
  font-size: 11.5px;
  color: #94a3b8;
  text-align: right;
  margin-top: 4px;
}
.char-counter.limit-near {
  color: #f59e0b;
  font-weight: 700;
}
.char-counter.limit-exceeded {
  color: #e11d48;
  font-weight: 800;
}

/* Rating Breakdown Bars */
.rating-breakdown-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
  margin: 16px 0;
}
.rating-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 13px;
}
.rating-bar-label {
  width: 44px;
  font-weight: 600;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 3px;
}
.rating-bar-track {
  flex: 1;
  height: 8px;
  background: #f1f5f9;
  border-radius: 99px;
  overflow: hidden;
}
.rating-bar-fill {
  height: 100%;
  background: #f59e0b;
  border-radius: 99px;
  transition: width 0.3s ease;
}
.rating-bar-count {
  width: 32px;
  text-align: right;
  color: #64748b;
  font-size: 12px;
}

/* Reviews List & Cards */
.reviews-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 14px;
}
.review-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
  transition: box-shadow 0.18s ease;
}
.review-card:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}
.review-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 6px;
}
.review-author-name {
  font-weight: 700;
  font-size: 14.5px;
  color: #1e293b;
}
.review-date-str {
  font-size: 12px;
  color: #94a3b8;
}
.review-stars-display {
  color: #f59e0b;
  font-size: 14px;
  letter-spacing: 1px;
}
.review-comment-text {
  font-size: 14px;
  color: #334155;
  line-height: 1.5;
  margin-top: 6px;
  word-break: break-word;
}
.review-rider-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  background: #f1f5f9;
  color: #475569;
  padding: 2px 8px;
  border-radius: 6px;
  margin-top: 6px;
}
.review-dispute-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
  padding: 2px 6px;
  border-radius: 4px;
}
.review-owner-reply-box {
  background: #f8fafc;
  border-left: 3px solid var(--primary, #ea580c);
  padding: 10px 14px;
  border-radius: 0 10px 10px 0;
  margin-top: 10px;
  font-size: 13.5px;
}
.review-owner-reply-box b {
  color: var(--primary, #ea580c);
  display: block;
  margin-bottom: 3px;
  font-size: 12.5px;
}

/* Opening Hours Schedule Table */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 13.5px;
}
.hours-table th, .hours-table td {
  padding: 10px 8px;
  border-bottom: 1px solid #f1f5f9;
  text-align: left;
}
.hours-table th {
  font-weight: 700;
  color: #475569;
}
.hours-time-inp {
  padding: 6px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 13px;
  background: #fff;
}
.hours-closed-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 13px;
}

/* ==================================================================
   SEARCH AUTOCOMPLETE & SUGGESTIONS DROPDOWN (Feature)
   ================================================================== */
.search-suggest-wrap {
  position: relative;
  width: 100%;
}
.search-suggest-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.16), 0 4px 12px rgba(0, 0, 0, 0.06);
  z-index: 1000;
  max-height: 440px;
  overflow-y: auto;
  display: none;
  animation: sugFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 8px;
  text-align: left;
}
.search-suggest-dropdown.open {
  display: block;
}
@keyframes sugFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.sug-section {
  margin-bottom: 6px;
}
.sug-section:last-child {
  margin-bottom: 0;
}
.sug-header {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #64748b;
  padding: 6px 10px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sug-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sug-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  color: #1e293b;
}
.sug-item:hover, .sug-item.selected {
  background: #f8fafc;
  transform: translateX(2px);
}
.sug-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.sug-info {
  flex: 1;
  min-width: 0;
}
.sug-title {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sug-sub {
  font-size: 12px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sug-price {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary, #ea580c);
  margin-inline-start: auto;
  flex-shrink: 0;
}
.sug-badge {
  font-size: 10.5px;
  padding: 2px 7px;
  border-radius: 6px;
  font-weight: 700;
}
.sug-badge.open {
  background: #dcfce7;
  color: #15803d;
}
.sug-badge.closed {
  background: #fee2e2;
  color: #b91c1c;
}
.sug-match {
  color: var(--primary, #ea580c);
  font-weight: 700;
  background: rgba(234, 88, 12, 0.08);
  border-radius: 2px;
  padding: 0 1px;
}
.sug-empty {
  padding: 22px 14px;
  text-align: center;
  color: #64748b;
  font-size: 13.5px;
}

/* ==================================================================
   LOCATION PERMISSION & NEAREST RESTAURANT STYLES
   ================================================================== */
.location-prompt-bar {
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.08) 0%, rgba(249, 115, 22, 0.04) 100%);
  border: 1px solid rgba(234, 88, 12, 0.22);
  border-radius: 16px;
  padding: 12px 18px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  animation: sugFadeIn 0.3s ease;
}
.lpb-content {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #334155;
}
.lpb-icon {
  font-size: 24px;
  line-height: 1;
}
.lpb-title {
  font-weight: 700;
  color: #0f172a;
}
.lpb-desc {
  font-size: 12.5px;
  color: #64748b;
}
.lpb-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lpb-btn-allow {
  background: var(--primary, #ea580c);
  color: #ffffff;
  border: none;
  border-radius: 99px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.25);
}
.lpb-btn-allow:hover {
  background: #c2410c;
  transform: translateY(-1px);
}
.lpb-btn-dismiss {
  background: transparent;
  border: 1px solid #cbd5e1;
  color: #64748b;
  border-radius: 99px;
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.lpb-btn-dismiss:hover {
  background: #f1f5f9;
  color: #1e293b;
}

/* Card Distance & Famous Badges */
.dist-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11.5px;
  font-weight: 700;
  color: #0369a1;
  background: #e0f2fe;
  padding: 2px 7px;
  border-radius: 6px;
}
.famous-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 700;
  color: #b45309;
  background: #fef3c7;
  border: 1px solid #fde68a;
  padding: 2px 7px;
  border-radius: 6px;
}
.rest-sort-tabs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 12px;
  margin-top: 8px;
}
.rst-btn {
  border: none;
  background: transparent;
  color: #64748b;
  font-weight: 600;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.18s ease;
}
.rst-btn.active {
  background: #ffffff;
  color: var(--primary, #ea580c);
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

