:root {
  --bg: #0a0c08;
  --bg-glow-lime: #c6ff5e;
  --bg-glow-violet: #9b5cf6;

  --surface: rgba(255, 255, 255, 0.055);
  --surface-strong: rgba(255, 255, 255, 0.095);
  --border-glass: rgba(255, 255, 255, 0.14);
  --border-glass-strong: rgba(255, 255, 255, 0.22);

  --lime: #c6ff5e;
  --lime-dim: #8fbf3a;
  --violet: #a855f7;
  --violet-dim: #7c3ed1;

  --text: #f4f6ef;
  --text-dim: rgba(244, 246, 239, 0.6);
  --red: #ff6f7a;

  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --blur: 18px;

  --font-display: "Space Grotesk", sans-serif;
  --font-heavy: "Archivo Black", sans-serif;
  --font-body: "IBM Plex Sans", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); line-height: 1.5; min-height: 100vh; position: relative; }
a { color: inherit; }

/* ---------- background glow ---------- */
.bg-glow { position: fixed; border-radius: 50%; filter: blur(110px); pointer-events: none; z-index: 0; opacity: 0.55; }
.bg-glow.lime { width: 560px; height: 560px; top: -180px; left: -160px; background: var(--bg-glow-lime); }
.bg-glow.violet { width: 620px; height: 620px; bottom: -220px; right: -200px; background: var(--bg-glow-violet); opacity: 0.45; }
.bg-glow.violet-2 { width: 380px; height: 380px; top: 40%; right: 10%; background: var(--bg-glow-violet); opacity: 0.22; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

.glass { background: var(--surface); backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur)); border: 1px solid var(--border-glass); border-radius: var(--radius-lg); }

/* ---------- header updates ---------- */
header.site { position: sticky; top: 0; z-index: 50; background: rgba(10, 12, 8, 0.55); backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur)); border-bottom: 1px solid var(--border-glass); }
.header-grid { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; gap: 20px; }
.brand { display: block; } /* Fixed stretch issue */
.logo-img { height: 34px; width: auto; object-fit: contain; display: block; }

/* ---------- Glass Search Bar ---------- */
.header-search { flex-grow: 1; max-width: 360px; }
.search-input { width: 100%; background: var(--surface); backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur)); border: 1px solid var(--border-glass); border-radius: 999px; padding: 10px 18px; color: var(--text); font-family: var(--font-body); font-size: 0.9rem; transition: all 0.2s ease; }
.search-input:focus { outline: none; border-color: var(--lime); background: var(--surface-strong); box-shadow: 0 0 15px rgba(198, 255, 94, 0.15); }
.search-input::placeholder { color: var(--text-dim); }

/* ---------- Glass Nav Links ---------- */
.header-right { display: flex; align-items: center; }
.header-nav { display: flex; gap: 10px; align-items: center; }
.nav-link { background: var(--surface); backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur)); border: 1px solid var(--border-glass); color: var(--text-dim); font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; padding: 8px 14px; border-radius: 999px; cursor: pointer; transition: all 0.15s ease; }
.nav-link:hover { color: var(--text); border-color: var(--lime-dim); background: var(--surface-strong); }

/* ---------- catalog status (moved up top of Popular picks) ---------- */
.catalog-status { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-dim); margin: 28px 0 0; }
.catalog-status .status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); display: inline-block; box-shadow: 0 0 6px rgba(198, 255, 94, 0.7); }
.catalog-status b, .catalog-status #itemCount { color: var(--lime); font-weight: 500; }

/* ---------- hero ---------- */
.hero { padding: 60px 0 44px; position: relative; }
.hero .eyebrow { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--violet); display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.hero .eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.2); }
.hero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.1rem, 4.8vw, 3.6rem); line-height: 1.04; margin: 0 0 18px; max-width: 17ch; letter-spacing: -0.01em; }
.hero p.sub { color: var(--text-dim); max-width: 52ch; font-size: 1.02rem; margin: 0 0 28px; }
.hero-log { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-dim); padding: 12px 16px; display: inline-flex; gap: 20px; flex-wrap: wrap; }
.hero-log b { color: var(--lime); font-weight: 500; }

/* ---------- section headers ---------- */
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin: 56px 0 20px; gap: 16px; flex-wrap: wrap; }
.section-head h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.55rem; margin: 0; }
.section-head .count { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-dim); }

/* ---------- popular shelf ---------- */
.shelf { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 16px; overflow-x: auto; padding: 4px 4px 12px; scroll-snap-type: x proximity; }
.shelf .card { scroll-snap-align: start; }

/* ---------- filters ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.filter-btn { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; background: var(--surface); backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur)); border: 1px solid var(--border-glass); color: var(--text-dim); padding: 8px 14px; border-radius: 999px; cursor: pointer; transition: all 0.15s ease; }
.filter-btn:hover { border-color: var(--border-glass-strong); color: var(--text); }
.filter-btn.active { background: var(--lime); border-color: var(--lime); color: #0a0c08; font-weight: 600; }

/* ---------- catalog grid ---------- */
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-bottom: 60px; }

/* ---------- product card (glass with image) ---------- */
.card {
  background: var(--surface);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  cursor: pointer;
  position: relative;
  transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  padding: 0;
  overflow: hidden;
}
.card:hover { border-color: var(--border-glass-strong); transform: translateY(-3px); background: var(--surface-strong); }
.card:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }

.card-img { width: 100%; height: 200px; object-fit: cover; display: block; border-bottom: 1px solid var(--border-glass); background: rgba(0,0,0,0.3); }
.card-content { padding: 18px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }

.card-top { display: flex; justify-content: space-between; align-items: center; }
.card-index { font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.05em; display: flex; align-items: center; gap: 6px; }
.avail-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); display: inline-block; box-shadow: 0 0 6px rgba(198, 255, 94, 0.7); }
.card-icon { width: 34px; height: 34px; border-radius: 50%; background: rgba(168, 85, 247, 0.18); border: 1px solid rgba(168, 85, 247, 0.35); display: flex; align-items: center; justify-content: center; font-size: 1.05rem; flex-shrink: 0; }
.card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; margin: 0; }
.card .desc { font-size: 0.84rem; color: var(--text-dim); margin: 0; flex-grow: 1; }
.card-foot { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--border-glass); padding-top: 12px; font-family: var(--font-mono); }
.card-foot .price { color: var(--lime); font-size: 1.05rem; font-weight: 600; }
.card-foot .price small { color: var(--text-dim); font-size: 0.68rem; font-weight: 400; }
.card-foot .arrow { color: var(--text-dim); font-size: 0.85rem; }

/* ---------- modal ---------- */
.modal-backdrop { position: fixed; inset: 0; background: rgba(5, 6, 4, 0.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: none; align-items: flex-start; justify-content: center; padding: 24px 16px; overflow-y: auto; z-index: 100; }
.modal-backdrop.open { display: flex; }
.modal { background: rgba(20, 22, 17, 0.75); backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px); border: 1px solid var(--border-glass-strong); border-radius: var(--radius-lg); max-width: 640px; width: 100%; margin: auto; animation: modalIn 0.18s ease; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); }
@keyframes modalIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; padding: 22px 24px; border-bottom: 1px solid var(--border-glass); }
.modal-head .tag { font-family: var(--font-mono); font-size: 0.68rem; color: var(--violet); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; font-weight: 600; }
.modal-head h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; margin: 0; }
.modal-close { background: var(--surface); border: 1px solid var(--border-glass); color: var(--text-dim); width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 1rem; line-height: 1; flex-shrink: 0; }
.modal-close:hover { color: var(--text); border-color: var(--border-glass-strong); }
.modal-body { padding: 22px 24px; }
.modal-body .desc { color: var(--text-dim); font-size: 0.9rem; margin: 0 0 20px; }
.field-label { font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-dim); margin: 0 0 8px; display: block; }

/* ---------- info modal content: How it Works / Rules ---------- */
.info-steps { display: flex; flex-direction: column; gap: 12px; }
.step-item { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border-glass); border-radius: var(--radius-md); padding: 14px 16px; }
.step-num { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: rgba(198, 255, 94, 0.14); border: 1px solid rgba(198, 255, 94, 0.35); display: flex; align-items: center; justify-content: center; font-size: 1.05rem; }
.step-item h4 { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; margin: 0 0 4px; }
.step-item p { color: var(--text-dim); font-size: 0.85rem; margin: 0; line-height: 1.5; }

.info-rules { display: flex; flex-direction: column; gap: 22px; }
.rule-group h4 { font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--violet); margin: 0 0 12px; }
.rule-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.rule-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.87rem; color: var(--text-dim); line-height: 1.5; background: var(--surface); border: 1px solid var(--border-glass); border-radius: var(--radius-md); padding: 11px 14px; }
.rule-list.requirements li::before { content: "🪪"; flex-shrink: 0; }
.rule-list.general li::before { content: "✓"; flex-shrink: 0; color: var(--lime); font-weight: 700; }
.rule-note { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-dim); margin: 4px 0 0; }
.cal-wrap { margin-bottom: 22px; background: var(--surface); border: 1px solid var(--border-glass); border-radius: var(--radius-md); padding: 14px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-head .month-label { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; }
.cal-nav { background: var(--surface-strong); border: 1px solid var(--border-glass); color: var(--text); width: 28px; height: 28px; border-radius: 50%; cursor: pointer; }
.cal-nav:hover { border-color: var(--lime); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; font-family: var(--font-mono); }
.cal-dow { font-size: 0.62rem; color: var(--text-dim); text-align: center; padding-bottom: 4px; text-transform: uppercase; }
.cal-day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: 0.78rem; border-radius: var(--radius-sm); border: 1px solid transparent; cursor: pointer; color: var(--text); background: rgba(255, 255, 255, 0.04); touch-action: manipulation; user-select: none; }
.cal-day.empty { background: transparent; cursor: default; }
.cal-day.past { color: var(--text-dim); opacity: 0.35; cursor: not-allowed; }
.cal-day.blocked { color: var(--red); background: rgba(255, 111, 122, 0.12); text-decoration: line-through; cursor: not-allowed; }
.cal-day.blocked:hover { border-color: var(--red); }
.cal-day:not(.empty):not(.past):not(.blocked):hover { border-color: var(--lime); }
.cal-day.selected { background: var(--lime); color: #0a0c08; font-weight: 700; }
.cal-day.in-range { background: rgba(198, 255, 94, 0.18); }
.cal-legend { display: flex; gap: 14px; margin-top: 12px; font-family: var(--font-mono); font-size: 0.66rem; color: var(--text-dim); }
.cal-legend span { display: inline-flex; align-items: center; gap: 5px; }
.legend-swatch { width: 9px; height: 9px; border-radius: 2px; display: inline-block; }
.date-readout { font-family: var(--font-mono); font-size: 0.82rem; background: var(--surface); border: 1px solid var(--border-glass); border-radius: var(--radius-md); padding: 12px 14px; margin-bottom: 8px; color: var(--text-dim); }
.date-readout b { color: var(--lime); font-weight: 600; }
.cal-hint { font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-dim); opacity: 0.75; margin: 0 0 20px; }

/* ---------- pickup / drop-off time ---------- */
.time-row { display: flex; gap: 12px; margin-bottom: 20px; }
.time-field { flex: 1; background: var(--surface); border: 1px solid var(--border-glass); border-radius: var(--radius-md); padding: 10px 14px; display: flex; flex-direction: column; gap: 4px; }
.time-field label { font-family: var(--font-mono); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-dim); }
.time-field input[type="time"] { background: transparent; border: none; color: var(--text); font-family: var(--font-mono); font-size: 0.95rem; padding: 2px 0; }
.time-field input[type="time"]:focus { outline: none; }
.time-field input[type="time"]::-webkit-calendar-picker-indicator { filter: invert(1) brightness(1.6); cursor: pointer; }
.addons { margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.addon-row { display: flex; align-items: center; justify-content: space-between; background: var(--surface); border: 1px solid var(--border-glass); border-radius: var(--radius-md); padding: 11px 14px; font-size: 0.88rem; }
.addon-row label { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.addon-row .a-price { font-family: var(--font-mono); color: var(--text-dim); font-size: 0.8rem; }
.addon-row input[type="checkbox"] { accent-color: var(--violet); width: 15px; height: 15px; }
.totals { background: var(--surface); border: 1px solid var(--border-glass); border-radius: var(--radius-md); padding: 16px; font-family: var(--font-mono); font-size: 0.85rem; }
.totals .row { display: flex; justify-content: space-between; padding: 5px 0; color: var(--text-dim); }
.totals .row.item-row { border-bottom: 1px solid var(--border-glass); padding-bottom: 10px; margin-bottom: 6px; }
.totals .row.item-row span:last-child { color: var(--text); font-weight: 600; font-family: var(--font-display); text-align: right; }
.totals .row.grand { color: var(--text); font-size: 1.3rem; font-family: var(--font-heavy); border-top: 1px solid var(--border-glass); margin-top: 10px; padding-top: 14px; }
.totals .row.grand .amt { color: var(--lime); text-shadow: 0 0 24px rgba(198, 255, 94, 0.35); }
.modal-foot { padding: 20px 24px 24px; }
.btn-primary { width: 100%; background: var(--lime); color: #0a0c08; border: none; border-radius: 999px; padding: 15px 18px; font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; cursor: pointer; transition: filter 0.15s ease, transform 0.15s ease; box-shadow: 0 8px 30px rgba(198, 255, 94, 0.25); }
.btn-primary:hover:not(:disabled) { filter: brightness(1.06); transform: translateY(-1px); }
.btn-primary:disabled { opacity: 0.35; cursor: not-allowed; box-shadow: none; }
.btn-note { font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-dim); text-align: center; margin-top: 12px; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px); background: rgba(20, 22, 17, 0.85); backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur)); border: 1px solid var(--border-glass-strong); color: var(--text); font-family: var(--font-mono); font-size: 0.8rem; padding: 12px 18px; border-radius: 999px; opacity: 0; pointer-events: none; transition: all 0.25s ease; z-index: 200; max-width: 90vw; text-align: center; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- reviews carousel ---------- */
.review-carousel { display: flex; align-items: center; gap: 10px; }
.carousel-nav { background: var(--surface-strong); border: 1px solid var(--border-glass); color: var(--text); width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; flex-shrink: 0; transition: all 0.15s ease; }
.carousel-nav:hover { border-color: var(--lime); color: var(--lime); }
.review-viewport { flex-grow: 1; overflow: hidden; }
.review-track { display: flex; transition: transform 0.35s ease; }
.review-card { flex: 0 0 100%; box-sizing: border-box; padding: 6px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.review-stars { color: var(--lime); font-size: 1rem; letter-spacing: 3px; margin-bottom: 12px; text-shadow: 0 0 16px rgba(198, 255, 94, 0.3); }
.review-text { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.5; margin: 0 0 20px; max-width: 42ch; }
.review-author { display: flex; align-items: center; gap: 10px; }
.review-avatar { width: 38px; height: 38px; border-radius: 50%; background: rgba(168, 85, 247, 0.18); border: 1px solid rgba(168, 85, 247, 0.35); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 0.75rem; font-weight: 600; color: var(--violet); flex-shrink: 0; }
.review-name { font-weight: 600; font-size: 0.88rem; text-align: left; }
.review-item { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-dim); text-align: left; }
.review-dots { display: flex; justify-content: center; gap: 7px; margin-top: 18px; }
.review-dot { width: 7px; height: 7px; border-radius: 50%; border: none; background: var(--border-glass-strong); cursor: pointer; padding: 0; transition: all 0.15s ease; }
.review-dot.active { background: var(--lime); width: 18px; border-radius: 4px; }

/* ---------- review source proof (Facebook / Google / etc) ---------- */
.review-source { border-top: 1px solid var(--border-glass); margin-top: 22px; padding-top: 18px; text-align: center; }
.review-source-note { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-dim); margin: 0 0 14px; line-height: 1.6; max-width: 46ch; margin-left: auto; margin-right: auto; }
.review-source-links { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.review-source-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--border-glass); color: var(--text); font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; padding: 9px 16px; border-radius: 999px; text-decoration: none; transition: all 0.15s ease; }
.review-source-btn:hover { border-color: var(--lime); color: var(--lime); background: var(--surface-strong); }
.review-source-btn svg { width: 15px; height: 15px; flex-shrink: 0; }

/* ---------- floating Messenger button ---------- */
.messenger-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lime), var(--violet));
  color: var(--bg);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 150;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.4), 0 0 0 0 rgba(198, 255, 94, 0.5);
  animation: fabPulse 2.6s ease-in-out infinite;
  transition: transform 0.15s ease;
}
.messenger-fab:hover { transform: translateY(-3px) scale(1.05); }
@keyframes fabPulse {
  0% { box-shadow: 0 8px 26px rgba(0, 0, 0, 0.4), 0 0 0 0 rgba(198, 255, 94, 0.45); }
  70% { box-shadow: 0 8px 26px rgba(0, 0, 0, 0.4), 0 0 0 14px rgba(198, 255, 94, 0); }
  100% { box-shadow: 0 8px 26px rgba(0, 0, 0, 0.4), 0 0 0 0 rgba(198, 255, 94, 0); }
}
footer.site { border-top: 1px solid var(--border-glass); padding: 28px 0 40px; font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-dim); text-align: center; position: relative; z-index: 1; }
footer.site a { color: var(--lime); }

/* Responsive adjustments */
@media (max-width: 860px) {
  .header-grid { flex-wrap: wrap; justify-content: center; }
  .header-search { order: 3; max-width: 100%; margin-top: 4px; }
  .header-right { order: 2; }
}
@media (max-width: 560px) {
  .hero { padding: 44px 0 32px; }
  .modal { border-radius: 0; min-height: 100vh; }
  .modal-backdrop { padding: 0; }
  .bg-glow { display: none; }
  .logo-img { height: 26px; }
  .header-right { width: 100%; justify-content: center; }
  .header-nav { flex-wrap: wrap; justify-content: center; }
  .catalog-status { justify-content: center; text-align: center; }
  .messenger-fab { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .time-row { flex-direction: column; gap: 8px; }
}