/* Rab's Kitchen — premium dark/light theme, glassmorphism, gold accents */
:root {
  --bg: #0b0b0f;
  --bg-2: #111118;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.1);
  --text: #f3f1ea;
  --muted: #a3a097;
  --gold: #f5c451;
  --gold-2: #ffd97a;
  --green: #3ddc97;
  --gold-glow:
    0 0 24px rgba(245, 196, 81, 0.45), 0 0 60px rgba(245, 196, 81, 0.25);
  --radius: 18px;
  --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
}
.light-mode {
  --bg: #f7f5ef;
  --bg-2: #ffffff;
  --surface: rgba(0, 0, 0, 0.04);
  --surface-2: rgba(0, 0, 0, 0.06);
  --border: rgba(0, 0, 0, 0.12);
  --text: #181818;
  --muted: #5a5a5a;
  --gold: #b8860b;
  --gold-2: #d4a017;
}
* {
  box-sizing: border-box;
}
html,
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
body {
  background:
    radial-gradient(
      1200px 600px at 80% -10%,
      rgba(245, 196, 81, 0.12),
      transparent 60%
    ),
    radial-gradient(
      900px 500px at -10% 30%,
      rgba(245, 196, 81, 0.06),
      transparent 60%
    ),
    var(--bg);
  min-height: 100vh;
}
a {
  color: inherit;
  text-decoration: none;
}
.font-display {
  font-family: var(--font-display);
  letter-spacing: 0.5px;
}
.text-gold {
  color: var(--gold);
}
.text-muted-2 {
  color: var(--muted);
}
.divider-gold {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 1rem auto;
}

/* ===== Loader (global page loader) ===== */
#page-loader {
  position: fixed;
  inset: 0;
  background: #06060a;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
  gap: 1.5rem;
}
#page-loader.hide {
  opacity: 0;
  visibility: hidden;
}
.loader-ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid rgba(245, 196, 81, 0.15);
  border-top-color: #f5c451;
  animation: spin 1s linear infinite;
  box-shadow: var(--gold-glow);
}
.loader-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #f5c451;
  letter-spacing: 4px;
  text-align: center;
}
.loader-sub {
  color: #a3a097;
  font-size: 0.85rem;
  letter-spacing: 1px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ===== Navbar ===== */
.nav-glass {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 15, 0.55);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.light-mode .nav-glass {
  background: rgba(255, 255, 255, 0.7);
}
.nav-glass .navbar-brand {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold);
  text-shadow: 0 0 18px rgba(245, 196, 81, 0.4);
}
.nav-glass .nav-link {
  color: var(--text);
  opacity: 0.85;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  transition: 0.25s;
  cursor: pointer;
}
.nav-glass .nav-link:hover,
.nav-glass .nav-link.active {
  color: var(--gold);
  background: var(--surface);
}
.pickup-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.85rem;
  cursor: pointer;
  transition: 0.25s;
  font-weight: 500;
}
.pickup-trigger:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.theme-toggle {
  width: 48px;
  height: 26px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  position: relative;
  cursor: pointer;
  transition: 0.3s;
}
.theme-toggle::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  transition: 0.3s;
  box-shadow: var(--gold-glow);
}
.light-mode .theme-toggle::after {
  left: 24px;
}

/* Halal banner */
.halal-banner {
  background: linear-gradient(
    90deg,
    rgba(61, 220, 151, 0.18),
    rgba(245, 196, 81, 0.18),
    rgba(61, 220, 151, 0.18)
  );
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 1rem;
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 1px;
  font-weight: 600;
}
.halal-banner .badge-halal {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--green);
}
.halal-banner .badge-halal::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  background: var(--green);
  color: #04241a;
  border-radius: 50%;
  font-weight: 900;
  font-size: 0.7rem;
}

/* ===== Buttons ===== */
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #1a1405;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  padding: 0.7rem 1.6rem;
  box-shadow: 0 10px 30px -8px rgba(245, 196, 81, 0.55);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -10px rgba(245, 196, 81, 0.7);
  color: #1a1405;
}
.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.7rem 1.6rem;
  font-weight: 600;
  transition: 0.25s;
}
.btn-ghost:hover {
  background: var(--surface-2);
  color: var(--gold);
  border-color: var(--gold);
}

/* ===== Glass cards ===== */
.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: var(--shadow-lg);
}
.glass-strong {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(20px);
}

/* ===== Hero w/ parallax layers ===== */
.hero {
  position: relative;
  padding: 6rem 0 5rem;
  overflow: hidden;
}
.hero-bg-layer {
  position: absolute;
  inset: -10% -5%;
  pointer-events: none;
  z-index: 0;
}
.hero-bg-layer .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
}
.hero-bg-layer .blob.b1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, #f5c451, transparent 65%);
  top: 5%;
  left: -5%;
}
.hero-bg-layer .blob.b2 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, #7a4a1f, transparent 65%);
  bottom: -10%;
  right: -5%;
}
.hero-bg-layer .blob.b3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #3ddc97, transparent 65%);
  top: 35%;
  right: 25%;
  opacity: 0.18;
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  color: var(--gold);
  letter-spacing: 6px;
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 600;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1;
  margin: 1rem 0;
}
.hero-title .gold {
  background: linear-gradient(120deg, var(--gold), var(--gold-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 60px rgba(245, 196, 81, 0.35);
}
.hero-sub {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 520px;
}
.hero-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-weight: 600;
}
.hero-contact .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: var(--gold-glow);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  50% {
    opacity: 0.4;
  }
}
.hero-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(61, 220, 151, 0.12);
  border: 1px solid rgba(61, 220, 151, 0.3);
  color: var(--green);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 1px;
  margin-bottom: 1.2rem;
}

.plate-3d {
  position: relative;
  width: min(520px, 90%);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  background: radial-gradient(
    circle at 35% 30%,
    #3a2a1a 0%,
    #1a120a 60%,
    #0a0604 100%
  );
  box-shadow:
    inset 0 0 60px rgba(0, 0, 0, 0.6),
    0 60px 120px -20px rgba(0, 0, 0, 0.7),
    0 0 0 12px rgba(255, 255, 255, 0.04),
    0 0 0 14px rgba(245, 196, 81, 0.18);
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out;
}
.plate-3d::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 40% 35%,
      rgba(255, 255, 255, 0.12),
      transparent 50%
    ),
    conic-gradient(from 220deg, #5a3a1a, #8b5a2b, #c08040, #8b5a2b, #5a3a1a);
  filter: blur(0.5px);
}
.plate-3d::after {
  content: "🍽";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7rem;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  transform: translateZ(40px);
}

/* ===== Sections ===== */
.section {
  padding: 5rem 0;
  position: relative;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}
.section-eyebrow {
  color: var(--gold);
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
}
.section-sub {
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== 3D food gallery ===== */
.food-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.4rem;
}
.food-tile {
  position: relative;
  aspect-ratio: 1;
  border-radius: 24px;
  background: linear-gradient(160deg, #1d1308, #0a0604);
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  perspective: 800px;
  transition: 0.4s;
}
.light-mode .food-tile {
  background: linear-gradient(160deg, #fff7e3, #f4ead0);
}
.food-tile .emoji {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
  z-index: 1;
}
.food-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.food-tile .lbl {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.75));
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.5px;
  transform: translateY(20%);
  opacity: 0;
  transition: 0.35s;
  z-index: 3;
}
.light-mode .food-tile .lbl {
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.65));
}
.food-tile:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 30px 60px -20px rgba(245, 196, 81, 0.35);
}
.food-tile:hover img {
  transform: scale(1.12);
}
.food-tile:hover .emoji {
  transform: scale(1.18) rotate3d(1, 1, 0, 8deg);
}
.food-tile:hover .lbl {
  transform: translateY(0);
  opacity: 1;
}

/* ===== Signature carousel ===== */
.sig-track {
  display: flex;
  gap: 1.5rem;
  animation: scrollx 26s linear infinite;
  width: max-content;
}
.sig-wrap {
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}
.sig-wrap:hover .sig-track {
  animation-play-state: paused;
}
.sig-card {
  width: 280px;
  flex: none;
  padding: 1.4rem;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: 0.4s;
  perspective: 600px;
}
.sig-card .ph {
  position: relative;
  height: 140px;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  background: linear-gradient(135deg, #2a1d10, #0d0905);
  margin-bottom: 0.8rem;
}
.sig-card .ph img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.sig-card:hover .ph img {
  transform: scale(1.1);
}
.light-mode .sig-card .ph {
  background: linear-gradient(135deg, #fff0c8, #f6d985);
}
.sig-card:hover {
  transform: rotateY(-6deg) translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}
@keyframes scrollx {
  to {
    transform: translateX(-50%);
  }
}

/* ===== How it works isometric ===== */
.iso-card {
  padding: 2rem;
  text-align: center;
  height: 100%;
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}
.iso-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
}
.iso-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  font-size: 2.4rem;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #1a1405;
  transform: rotateX(20deg) rotateY(-20deg);
  box-shadow:
    0 20px 40px -10px rgba(245, 196, 81, 0.5),
    inset 0 -6px 0 rgba(0, 0, 0, 0.18);
}
.iso-num {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--gold);
  opacity: 0.18;
  line-height: 1;
}

/* Ingredients grid */
.ing-tile {
  padding: 1.4rem;
  text-align: center;
  height: 100%;
  transition: 0.3s;
}
.ing-tile:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}
.ing-tile .ic {
  font-size: 2.4rem;
  margin-bottom: 0.6rem;
}
.ing-tile h6 {
  font-weight: 700;
  letter-spacing: 0.5px;
}
.ing-tile p {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0;
}

/* Testimonials */
.t-card {
  padding: 1.8rem;
  height: 100%;
  transition:
    transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.4s;
  transform-style: preserve-3d;
  backdrop-filter: blur(20px) saturate(140%);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.light-mode .t-card {
  border: 1px solid rgba(0, 0, 0, 0.1);
}
.t-card:hover {
  transform: perspective(900px) rotateX(4deg) rotateY(-6deg) translateY(-6px);
  box-shadow: 0 50px 80px -30px rgba(0, 0, 0, 0.7);
}
.t-card .stars {
  color: var(--gold);
  letter-spacing: 3px;
  margin-bottom: 0.6rem;
}
.t-card .who {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1rem;
}
.t-card .av {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #1a1405;
  display: grid;
  place-items: center;
  font-weight: 700;
}

/* Premium footer */
.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.92rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.25));
}
.light-mode .footer {
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.04));
}
.footer h6 {
  color: var(--text);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}
.footer a {
  color: var(--muted);
  display: block;
  padding: 0.25rem 0;
  transition: 0.2s;
}
.footer a:hover {
  color: var(--gold);
}
.footer .brand {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.6rem;
}
.footer .news-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.8rem;
}
.footer .news-form input {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 999px;
  padding: 0.6rem 1rem;
  outline: none;
}
.footer .news-form input:focus {
  border-color: var(--gold);
}
.footer .socials {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}
.footer .socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--text);
}
.footer .socials a:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #1a1405;
  border-color: transparent;
}
.footer .meta {
  border-top: 1px solid var(--border);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
}

/* ===== Menu tabs ===== */
.tab-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 0.5rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  width: fit-content;
  margin: 0 auto;
}
.tab-pill {
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: 0.3s;
  position: relative;
}
.tab-pill.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #1a1405;
  box-shadow: var(--gold-glow);
}
.tab-pill .live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  margin-left: 0.4rem;
  animation: pulse 1.6s infinite;
  box-shadow: 0 0 10px var(--green);
}

.week-active-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  background: rgba(61, 220, 151, 0.15);
  border: 1px solid rgba(61, 220, 151, 0.4);
  color: var(--green);
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 0.8rem;
  margin-bottom: 1.2rem;
}
.week-active-badge .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 1.4s infinite;
  box-shadow: 0 0 8px var(--green);
}

.day-card {
  padding: 1.5rem;
  height: 100%;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
}
.day-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}
.day-card h5 {
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.day-card h5 .today {
  font-size: 0.65rem;
  background: var(--green);
  color: #04241a;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  letter-spacing: 1px;
}
.day-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  flex: 1;
}
.day-card li {
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.day-card li:last-child {
  border: none;
}
.dish-thumb {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  background: linear-gradient(135deg, #2a1d10, #0d0905);
  border: 1px solid var(--border);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  position: relative;
}
.dish-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.light-mode .dish-thumb {
  background: linear-gradient(135deg, #fff0c8, #f6d985);
}
.day-card .add-day {
  margin-top: auto;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #1a1405;
  border: none;
  border-radius: 12px;
  padding: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: 0.2s;
}
.day-card .add-day:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -8px rgba(245, 196, 81, 0.6);
}

.plan-card {
  padding: 2.5rem;
  text-align: center;
  position: relative;
  height: 100%;
  transition: 0.3s;
}
.plan-card.featured {
  border-color: var(--gold);
  box-shadow: var(--gold-glow), var(--shadow-lg);
}
.plan-card .price {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--gold);
  margin: 1rem 0;
}
.plan-card .price small {
  font-size: 1rem;
  color: var(--muted);
}
.plan-card ul {
  list-style: none;
  padding: 0;
  text-align: left;
  margin: 1.5rem 0;
}
.plan-card li {
  padding: 0.5rem 0;
  color: var(--muted);
}
.plan-card li::before {
  content: "✓ ";
  color: var(--gold);
  font-weight: 700;
}
.badge-featured {
  position: absolute;
  top: -12px;
  right: 24px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #1a1405;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
}

/* ===== Forms ===== */
.form-control,
.form-select {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 12px;
  padding: 0.8rem 1rem;
}
.form-control:focus,
.form-select:focus {
  background: var(--surface);
  color: var(--text);
  border-color: var(--gold);
  box-shadow: 0 0 0 0.25rem rgba(245, 196, 81, 0.15);
}
.form-control::placeholder {
  color: var(--muted);
}
.form-label {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ===== Checkout ===== */
.cart-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px dashed var(--border);
  gap: 1rem;
}
.cart-row:last-child {
  border: none;
}
.pay-option {
  padding: 1.2rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  cursor: pointer;
  transition: 0.25s;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.pay-option:hover {
  border-color: var(--gold);
}
.pay-option.active {
  border-color: var(--gold);
  background: var(--surface-2);
  box-shadow: 0 0 0 1px var(--gold) inset;
}
.pay-option input {
  accent-color: var(--gold);
}
.card-fields {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    margin 0.4s;
}
.card-fields.open {
  max-height: 400px;
  margin-top: 1rem;
}

/* ===== Sign-in modal-style auth page (admin.html) ===== */
.auth-shell {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}
.auth-modal {
  width: 100%;
  max-width: 560px;
  background: rgba(8, 8, 12, 0.9);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.6rem 2.4rem 2rem;
  backdrop-filter: blur(24px) saturate(140%);
  box-shadow: 0 60px 120px -20px rgba(0, 0, 0, 0.8);
  position: relative;
}
.light-mode .auth-modal {
  background: rgba(255, 255, 255, 0.92);
}
.auth-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: 0.2s;
}
.auth-close:hover {
  background: var(--gold);
  color: #1a1405;
}
.auth-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 1.2rem;
}
.auth-logo .badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  color: #0b0b0f;
  padding: 0.5rem 1.2rem;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
}
.auth-logo .badge::after {
  content: "";
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  border: 10px solid transparent;
  border-left-color: #fff;
}
.auth-logo .badge .sub {
  background: var(--gold);
  color: #1a1405;
  padding: 2px 12px;
  border-radius: 4px;
  font-size: 0.7rem;
  letter-spacing: 3px;
  margin-top: 4px;
}
.auth-modal h2 {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 2px;
  font-size: 1.9rem;
  margin: 0.5rem 0 0.5rem;
}
.auth-modal .sub-copy {
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1.6rem;
  line-height: 1.5;
}
.auth-modal .field {
  margin-bottom: 1.1rem;
}
.auth-modal .field label {
  display: block;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 0.75rem;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}
.auth-modal .input-wrap {
  position: relative;
}
.auth-modal .input-wrap .ic {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 1.05rem;
  pointer-events: none;
}
.auth-modal .input-wrap .ic.right {
  left: auto;
  right: 14px;
}
.auth-modal .input-wrap input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 14px;
  padding: 0.95rem 2.6rem;
  font-size: 0.95rem;
  outline: none;
  transition: 0.2s;
}
.auth-modal .input-wrap input:focus {
  border-color: var(--gold);
  background: var(--surface-2);
}
.auth-modal .submit {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 800;
  letter-spacing: 2px;
  padding: 1rem;
  border-radius: 14px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: 0.25s;
  margin-top: 0.4rem;
}
.auth-modal .submit:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #1a1405;
  border-color: transparent;
  box-shadow: 0 16px 40px -10px rgba(245, 196, 81, 0.6);
}
.auth-modal .secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 2px;
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
}
.auth-modal .secure-note .sh {
  color: var(--green);
}

/* ===== Pickup popup modal ===== */
.rk-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
  z-index: 9000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn 0.35s ease;
}
.rk-overlay.show {
  display: flex;
}
.rk-overlay .rk-modal {
  width: 100%;
  max-width: 540px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2rem;
  animation: dropIn 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 60px 120px -20px rgba(0, 0, 0, 0.8);
}
.light-mode .rk-overlay {
  background: rgba(40, 30, 10, 0.55);
}
.rk-modal .rk-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 1.2rem;
  gap: 1rem;
}
.rk-modal .rk-head h4 {
  font-family: var(--font-display);
  color: var(--gold);
  letter-spacing: 2px;
  margin: 0;
  font-size: 1.4rem;
}
.rk-modal .rk-head .x {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}
.rk-modal .pickup-locked {
  background: var(--surface);
  border: 1px dashed var(--gold);
  border-radius: 14px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}
.rk-modal .pickup-locked .pin {
  font-size: 1.8rem;
}
.rk-modal .pickup-locked strong {
  color: var(--gold);
  letter-spacing: 1px;
  font-size: 0.75rem;
  display: block;
  margin-bottom: 0.2rem;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes dropIn {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ===== Admin Dashboard (dashboard.html) ===== */
.adm-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.5rem;
  min-height: calc(100vh - 70px);
  padding: 1.5rem 0;
}
@media (max-width: 992px) {
  .adm-shell {
    grid-template-columns: 1fr;
  }
}
.adm-side {
  padding: 1.5rem;
  height: fit-content;
  position: sticky;
  top: 90px;
}
.adm-side .brand-mini {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.adm-side .side-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  color: var(--text);
  cursor: pointer;
  transition: 0.2s;
  font-weight: 500;
  font-size: 0.92rem;
  margin-bottom: 0.2rem;
}
.adm-side .side-link:hover {
  background: var(--surface-2);
}
.adm-side .side-link.active {
  background: linear-gradient(
    135deg,
    rgba(245, 196, 81, 0.18),
    rgba(245, 196, 81, 0.05)
  );
  color: var(--gold);
  border-left: 3px solid var(--gold);
  padding-left: 0.75rem;
}
.adm-side .side-link .ic {
  font-size: 1.05rem;
  width: 22px;
  text-align: center;
}
.adm-main {
  padding: 0 0.5rem 2rem;
}
.adm-pane {
  display: none;
}
.adm-pane.active {
  display: block;
  animation: fadeIn 0.3s ease;
}
.pane-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.pane-head h3 {
  font-family: var(--font-display);
  margin: 0;
  font-size: 1.8rem;
}
.pane-head .crumb {
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.kpi-card {
  padding: 1.3rem;
  position: relative;
  overflow: hidden;
}
.kpi-card .lbl {
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.kpi-card .val {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  margin-top: 0.4rem;
}
.kpi-card .trend {
  color: var(--green);
  font-size: 0.8rem;
  margin-top: 0.3rem;
}

.live-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 0.6rem;
  transition: 0.3s;
}
.live-row.new {
  border-color: var(--gold);
  box-shadow:
    0 0 0 1px var(--gold) inset,
    0 0 20px rgba(245, 196, 81, 0.3);
  animation: blink 1.6s ease-in-out 3;
}
@keyframes blink {
  0%,
  100% {
    box-shadow:
      0 0 0 1px var(--gold) inset,
      0 0 30px rgba(245, 196, 81, 0.5);
  }
  50% {
    box-shadow:
      0 0 0 1px var(--gold) inset,
      0 0 6px rgba(245, 196, 81, 0.1);
  }
}
.live-row .blip {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 1.4s infinite;
  box-shadow: 0 0 10px var(--green);
  flex: none;
}
.live-row.new .blip {
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
}

.status-pill {
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: inline-block;
}
.status-pending {
  background: rgba(245, 196, 81, 0.15);
  color: var(--gold);
}
.status-ready {
  background: rgba(61, 220, 151, 0.15);
  color: var(--green);
}
.status-done {
  background: rgba(120, 160, 255, 0.15);
  color: #8aa9ff;
}
.status-cancelled {
  background: rgba(255, 100, 100, 0.15);
  color: #ff6b6b;
}

.adm-tabs {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
  padding: 0.35rem;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--border);
  width: fit-content;
}
.adm-tabs button {
  padding: 0.55rem 1.1rem;
  border: none;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;
}
.adm-tabs button.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #1a1405;
}

.adm-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 0.4rem;
  font-size: 0.9rem;
}
.adm-table th {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  font-weight: 700;
  padding: 0.5rem 1rem;
  text-align: left;
}
.adm-table td {
  padding: 0.9rem 1rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.adm-table tr td:first-child {
  border-left: 1px solid var(--border);
  border-radius: 10px 0 0 10px;
}
.adm-table tr td:last-child {
  border-right: 1px solid var(--border);
  border-radius: 0 10px 10px 0;
}

/* Receipt modal */
.receipt {
  font-family: "Courier New", monospace;
  background: #fff;
  color: #111;
  padding: 2rem;
  max-width: 380px;
  margin: 0 auto;
  border-radius: 8px;
}
.receipt h4 {
  text-align: center;
  font-family: var(--font-display);
  margin: 0 0 0.3rem;
}
.receipt .r-sub {
  text-align: center;
  font-size: 0.78rem;
  margin-bottom: 1rem;
  color: #555;
}
.receipt .r-row {
  display: flex;
  justify-content: space-between;
  padding: 0.2rem 0;
  font-size: 0.85rem;
}
.receipt .r-div {
  border-top: 1px dashed #999;
  margin: 0.6rem 0;
}
.receipt .r-total {
  font-weight: 700;
  font-size: 1rem;
}

/* Charts */
.bar-chart {
  display: flex;
  gap: 0.7rem;
  align-items: flex-end;
  height: 200px;
  padding: 1rem 0;
}
.bar-chart .bar {
  flex: 1;
  background: linear-gradient(180deg, var(--gold), rgba(245, 196, 81, 0.3));
  border-radius: 8px 8px 0 0;
  position: relative;
  transition: 0.3s;
}
.bar-chart .bar:hover {
  filter: brightness(1.2);
}
.bar-chart .bar span {
  position: absolute;
  bottom: -22px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
}

.progress-bar-wrap {
  background: var(--surface);
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
  margin-top: 0.5rem;
}
.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  border-radius: 999px;
}

/* Stars */
.star-row {
  color: var(--gold);
  letter-spacing: 3px;
}

/* Fade in */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: 0.8s ease;
}
.fade-up.in {
  opacity: 1;
  transform: none;
}

/* Print */
@media print {
  body * {
    visibility: hidden;
  }
  .receipt,
  .receipt * {
    visibility: visible;
  }
  .receipt {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
  }
}

/* =====================================================================
   PRODUCTION OVERHAUL — Responsive nav, glass toggle, validation, OTP
   ===================================================================== */

/* Prevent any horizontal overflow site-wide */
html,
body {
  overflow-x: hidden;
  max-width: 100vw;
}
img {
  max-width: 100%;
  height: auto;
}

/* ---------- Glassmorphic icon theme toggle (sun/moon) ---------- */
.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  color: var(--gold);
  font-size: 1.05rem;
  position: relative;
  backdrop-filter: blur(14px) saturate(160%);
  transition:
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.35s,
    background 0.35s;
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.theme-toggle::after {
  display: none !important;
} /* kill old knob */
.theme-toggle::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(245, 196, 81, 0.55),
    transparent 65%
  );
  filter: blur(10px);
  opacity: 0.45;
  z-index: -1;
  transition: opacity 0.35s;
}
.theme-toggle:hover {
  transform: rotate(-12deg) scale(1.08);
  box-shadow: var(--gold-glow);
}
.theme-toggle:hover::before {
  opacity: 0.9;
}
.theme-toggle i {
  transition: transform 0.4s;
}
.light-mode .theme-toggle {
  color: #b8860b;
}
.light-mode .theme-toggle::before {
  background: radial-gradient(
    circle,
    rgba(184, 134, 11, 0.45),
    transparent 65%
  );
}

/* ---------- Mobile hamburger + drawer ---------- */
.nav-burger {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 1.4rem;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: 0.25s;
}
.nav-burger:hover {
  color: var(--gold);
  border-color: var(--gold);
}
.nav-drawer {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  z-index: 9500;
  opacity: 0;
  visibility: hidden;
  transition: 0.35s;
  display: flex;
  justify-content: flex-end;
}
.nav-drawer.open {
  opacity: 1;
  visibility: visible;
}
.nav-drawer-inner {
  width: min(320px, 82vw);
  height: 100%;
  padding: 5rem 1.4rem 2rem;
  background: rgba(11, 11, 15, 0.92);
  border-left: 1px solid var(--border);
  border-radius: 0;
  transform: translateX(40px);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.light-mode .nav-drawer-inner {
  background: rgba(255, 255, 255, 0.96);
}
.nav-drawer.open .nav-drawer-inner {
  transform: none;
}
.nav-drawer .nav-link {
  font-size: 1.05rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  color: var(--text);
  display: block;
  border: 1px solid transparent;
  transition: 0.2s;
}
.nav-drawer .nav-link:hover,
.nav-drawer .nav-link.active {
  color: var(--gold);
  background: var(--surface);
  border-color: var(--border);
}
.nav-drawer-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.nav-drawer-close:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* ---------- Strict validation: locked/ready submit buttons ---------- */
.btn.is-locked,
button.is-locked {
  pointer-events: none;
  background: rgba(245, 196, 81, 0.22) !important;
  color: rgba(160, 120, 30, 0.85) !important;
  border: 1px dashed rgba(245, 196, 81, 0.55) !important;
  box-shadow: none !important;
  text-shadow: none;
  opacity: 0.9;
}
.light-mode .btn.is-locked,
.light-mode button.is-locked {
  background: rgba(184, 134, 11, 0.14) !important;
  color: rgba(80, 55, 5, 0.75) !important;
  border: 1px dashed rgba(184, 134, 11, 0.55) !important;
}
[data-validate-submit] {
  cursor: not-allowed;
}
[data-validate-submit].is-ready {
  cursor: pointer;
  pointer-events: auto;
  opacity: 1;
  filter: none;
  background: linear-gradient(135deg, var(--gold), var(--gold-2)) !important;
  color: #1a1405 !important;
  border: 1px solid transparent !important;
  animation: goldPulse 2.2s ease-in-out infinite;
}
@keyframes goldPulse {
  0%,
  100% {
    box-shadow: 0 10px 30px -8px rgba(245, 196, 81, 0.55);
  }
  50% {
    box-shadow:
      0 14px 44px -6px rgba(245, 196, 81, 0.9),
      0 0 0 4px rgba(245, 196, 81, 0.18);
  }
}

/* ---------- Light-mode form fixes ---------- */
.light-mode .auth-modal {
  background: #fff;
  color: #181818;
}
.light-mode .auth-modal .input-wrap input,
.light-mode .form-control,
.light-mode .form-select {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.14);
  color: #181818;
}
.light-mode .auth-modal .input-wrap input:focus,
.light-mode .form-control:focus,
.light-mode .form-select:focus {
  border-color: var(--gold);
  background: #fffdf6;
}
.light-mode .auth-modal .submit {
  background: #f4ead0;
  color: #5a4310;
  border-color: rgba(0, 0, 0, 0.1);
}
.light-mode .otp-row input {
  background: #fff;
  color: #5a4310;
  border-color: rgba(0, 0, 0, 0.14);
}
.light-mode .rk-overlay .rk-modal {
  background: #fff;
  color: #181818;
}

/* ---------- Sign-in stepped screens (no flip) ---------- */
.auth-steps {
  position: relative;
  width: 100%;
  max-width: 560px;
}
.auth-step {
  display: none;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}
.auth-step.active {
  display: block;
  opacity: 1;
  transform: none;
}

.otp-row {
  display: flex;
  gap: 0.55rem;
  justify-content: center;
  margin: 1.2rem 0 1.4rem;
  flex-wrap: wrap;
}
.otp-row input {
  width: 46px;
  height: 56px;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--gold);
  border-radius: 12px;
  outline: none;
  transition: 0.2s;
}
.otp-row input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 0.25rem rgba(245, 196, 81, 0.18);
  background: var(--surface-2);
}

/* ---------- Menu day card sizing (wider, balanced) ---------- */
.day-card {
  padding: 1.2rem 1.15rem;
}
.day-card li {
  padding: 0.45rem 0;
  font-size: 0.9rem;
}
.dish-thumb {
  width: 42px;
  height: 42px;
  font-size: 1.05rem;
}
.dish-thumb img {
  border-radius: 50%;
}

/* ---------- Checkout success overlay ---------- */
.success-overlay {
  text-align: center;
  padding: 3rem 2rem;
}
.success-overlay .ic {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), #1fb47b);
  color: #04241a;
  display: grid;
  place-items: center;
  margin: 0 auto 1.4rem;
  font-size: 3rem;
  box-shadow: 0 20px 50px -10px rgba(61, 220, 151, 0.6);
  animation: pop 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes pop {
  from {
    transform: scale(0.4);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
.success-overlay h3 {
  font-family: var(--font-display);
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.success-overlay p {
  color: var(--text);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto 1.4rem;
  line-height: 1.55;
}

/* ---------- Universal responsive polish ---------- */
@media (max-width: 1199px) {
  .pickup-trigger {
    font-size: 0.76rem;
    padding: 0.4rem 0.7rem;
    max-width: 36vw;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
@media (max-width: 991px) {
  .nav-glass .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    gap: 0.5rem !important;
  }
  .nav-glass .navbar-brand {
    font-size: 1.2rem;
  }
  .pickup-trigger {
    font-size: 0.68rem;
    padding: 0.32rem 0.6rem;
    max-width: 42vw;
  }
  .section {
    padding: 3rem 0;
  }
  .hero {
    padding: 2.8rem 0 2rem;
  }
  .hero-title {
    font-size: clamp(2.2rem, 8vw, 3.4rem);
  }
  .auth-modal {
    padding: 1.8rem 1.4rem;
  }
  .tab-pills {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .tab-pills::-webkit-scrollbar {
    display: none;
  }
  .tab-pill {
    flex: 0 0 auto;
    padding: 0.55rem 1.1rem;
    font-size: 0.85rem;
    white-space: nowrap;
  }
}
@media (max-width: 575px) {
  .container,
  .container-fluid {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
  .halal-banner {
    font-size: 0.7rem;
    padding: 0.4rem 0.5rem;
    letter-spacing: 0.3px;
    line-height: 1.3;
  }
  .nav-glass .container {
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
  }
  .pickup-trigger {
    max-width: 54vw;
    font-size: 0.65rem;
    padding: 0.3rem 0.55rem;
  }
  .hero-sub {
    font-size: 0.95rem;
  }
  .btn-gold,
  .btn-ghost {
    padding: 0.6rem 1.1rem;
    font-size: 0.9rem;
  }
  .section-title {
    font-size: 1.55rem;
  }
  .food-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.8rem;
  }
  .food-tile .emoji {
    font-size: 3.2rem;
  }
  .sig-card {
    width: 210px;
    padding: 0.9rem;
  }
  .plan-card {
    padding: 1.6rem 1.3rem;
  }
  .plan-card .price {
    font-size: 2.4rem;
  }
  .rk-modal {
    padding: 1.3rem;
    border-radius: 18px;
  }
  .otp-row {
    gap: 0.4rem;
  }
  .otp-row input {
    width: 36px;
    height: 46px;
    font-size: 1.05rem;
  }
  .day-card {
    padding: 1rem;
  }
  .day-card h5 {
    font-size: 0.72rem;
  }
  .pane-head h3 {
    font-size: 1.4rem;
  }
  .footer {
    padding: 2.4rem 0 1.4rem;
  }
}
@media (min-width: 1600px) {
  .container {
    max-width: 1480px;
  }
}

/* ---------- Smooth lazy-image fade ---------- */
img {
  transition: opacity 0.3s ease;
}

/* =====================================================================
   UPDATES: Pickup compact btn, button animations, form feedback,
   cancel order, image fast-load, smooth UI improvements
   ===================================================================== */

/* ---- Compact pickup point button (responsive) ---- */
.pickup-btn-compact {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.25s,
    border-color 0.25s,
    transform 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.pickup-btn-compact:hover {
  background: var(--surface-2);
  border-color: var(--gold);
  transform: translateY(-1px);
}
.pickup-btn-compact i {
  font-size: 1rem;
  flex-shrink: 0;
}
/* On small screens: icon only, no label */
@media (max-width: 575px) {
  .pickup-btn-label {
    display: none;
  }
  .pickup-btn-compact {
    padding: 0.4rem 0.55rem;
    font-size: 0.9rem;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    justify-content: center;
  }
}
@media (min-width: 576px) and (max-width: 767px) {
  .pickup-btn-label {
    display: none;
  }
  .pickup-btn-compact {
    padding: 0.4rem 0.6rem;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    justify-content: center;
  }
}

/* ---- Button click animation ---- */
@keyframes btnClick {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(0.93);
  }
  70% {
    transform: scale(1.04);
  }
  100% {
    transform: scale(1);
  }
}
.btn-click-anim {
  animation: btnClick 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) forwards !important;
}

/* ---- Locked button: still clickable animation, shows message ---- */
[data-validate-submit].is-locked {
  pointer-events: auto !important; /* allow clicks for animation+message */
  cursor: pointer !important;
}

/* ---- Field shake on empty submit ---- */
@keyframes fieldShake {
  0%,
  100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-5px);
  }
  40% {
    transform: translateX(5px);
  }
  60% {
    transform: translateX(-4px);
  }
  80% {
    transform: translateX(4px);
  }
}
.field-error-shake {
  animation: fieldShake 0.5s ease;
  border-color: #ff6b6b !important;
  box-shadow: 0 0 0 0.2rem rgba(255, 107, 107, 0.2) !important;
}

/* ---- Form feedback message ---- */
.form-feedback {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.88rem;
  margin-bottom: 1rem;
  animation: fadeIn 0.3s ease;
}
.form-feedback.error {
  background: rgba(255, 100, 100, 0.12);
  border: 1px solid rgba(255, 100, 100, 0.35);
  color: #ff8080;
}
.form-feedback.success {
  background: rgba(61, 220, 151, 0.12);
  border: 1px solid rgba(61, 220, 151, 0.35);
  color: var(--green);
}

/* ---- Submit button: light gold when empty, dark gold when filled ---- */
.auth-modal .submit,
.btn[data-validate-submit],
button[data-validate-submit] {
  background: rgba(245, 196, 81, 0.18);
  color: rgba(180, 140, 40, 0.9);
  border: 1px dashed rgba(245, 196, 81, 0.5);
  transition:
    background 0.3s,
    color 0.3s,
    border-color 0.3s,
    box-shadow 0.3s,
    transform 0.2s;
}
.auth-modal .submit.is-ready,
.btn[data-validate-submit].is-ready,
button[data-validate-submit].is-ready {
  background: linear-gradient(135deg, var(--gold), var(--gold-2)) !important;
  color: #1a1405 !important;
  border: 1px solid transparent !important;
  animation: goldPulse 2.2s ease-in-out infinite;
}
.light-mode .auth-modal .submit,
.light-mode .btn[data-validate-submit].is-locked,
.light-mode button[data-validate-submit].is-locked {
  background: rgba(184, 134, 11, 0.12);
  color: rgba(100, 75, 10, 0.8);
  border: 1px dashed rgba(184, 134, 11, 0.4);
}

/* ---- Image fast loading: fade in properly ---- */
img {
  opacity: 1;
  transition: opacity 0.4s ease;
  max-width: 100%;
  height: auto;
}

/* ---- Cancel order box (checkout success) ---- */
.cancel-order-box {
  background: var(--surface);
  border: 1px solid rgba(245, 196, 81, 0.3);
  border-radius: 14px;
  padding: 1.2rem 1.4rem;
  margin: 1.4rem 0;
  text-align: left;
}
.cancel-order-header {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.4;
}
.cancel-timer-display {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.88rem;
  margin-top: 0.6rem;
  letter-spacing: 0.5px;
  font-family: "Courier New", monospace;
}
.btn-cancel-order {
  background: rgba(255, 100, 100, 0.12);
  border: 1px solid rgba(255, 100, 100, 0.4);
  color: #ff8080;
  border-radius: 10px;
  padding: 0.6rem 1.4rem;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: 0.25s;
}
.btn-cancel-order:hover {
  background: rgba(255, 100, 100, 0.22);
  border-color: #ff6b6b;
  color: #ff6b6b;
}
.cancelled-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.4rem;
  background: rgba(255, 100, 100, 0.08);
  border: 1px solid rgba(255, 100, 100, 0.25);
  border-radius: 12px;
  color: #ff8080;
  font-size: 0.92rem;
  margin: 1.2rem 0;
}

/* ---- Smoother glass cards ---- */
.glass {
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

/* ---- Admin login page specific ---- */
.admin-login-bg .auth-modal {
  animation: dropIn 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ---- Pickup maps link ---- */
.rk-modal .pickup-locked a {
  text-decoration: none;
}
.rk-modal .pickup-locked a:hover {
  text-decoration: underline;
}

/* ---- Nav: hide Admin link from main nav (shown only in drawer for admin pages) ---- */
