:root {
  --bg: #061526;
  --bg-elev: #0a1f38;
  --bg-card: #0c2a42;
  --line: rgba(45, 212, 191, 0.18);
  --text: #eef8ff;
  --muted: #9bb8c9;
  --teal: #2dd4bf;
  --teal-deep: #0d9488;
  --turquoise: #22d3ee;
  --gold: #e4b84a;
  --gold-bright: #f5e6a6;
  --crimson: #e11d48;
  --coral: #fb7185;
  --violet: #a78bfa;
  --rose: #fb7185;
  --danger: #f43f5e;
  --glow-teal: 0 0 28px rgba(45, 212, 191, 0.28);
  --glow-gold: 0 0 24px rgba(228, 184, 74, 0.22);
  --glow-violet: 0 0 22px rgba(167, 139, 250, 0.2);
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 14px 44px rgba(2, 12, 28, 0.55);
  --header-h: 104px;
  --strip-h: 36px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --font: "DM Sans", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --logo-navy: #0b1a2e;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(900px 420px at 12% -8%, rgba(34, 211, 238, 0.14), transparent 55%),
    radial-gradient(700px 380px at 92% 8%, rgba(167, 139, 250, 0.12), transparent 50%),
    radial-gradient(600px 360px at 50% 100%, rgba(225, 29, 72, 0.07), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.45;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); }
button, input, select, textarea { font: inherit; }

/* Unified RK demo strip (matches Premium Auto / tires) */
.demo-strip {
  position: static;
  top: auto;
  z-index: auto;
  background: #000;
  color: rgba(244, 239, 230, 0.85);
  font-size: 0.78rem;
  padding: 0.55rem 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-bottom: 1px solid rgba(198, 167, 94, 0.32);
  max-width: none;
  box-sizing: border-box;
  overflow-wrap: anywhere;
  letter-spacing: normal;
}
.demo-strip strong { color: #C6A75E; }
.demo-strip a { color: inherit; }
.demo-strip-back {
  color: rgba(244, 239, 230, 0.55);
  text-decoration: none;
  white-space: nowrap;
  font-weight: 500;
  opacity: 1;
  border: 0;
  padding: 0;
  border-radius: 0;
  font-size: inherit;
}
.demo-strip-back:hover { color: #F4EFE6; text-decoration: none; }
.rk-builtby { margin: 0.75rem 0 0; font-size: 0.82rem; opacity: 0.85; }
.rk-builtby a { color: inherit; text-decoration: underline; }

.store-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(6, 21, 38, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: var(--header-h);
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.logo-mark {
  position: relative;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  background: var(--logo-navy);
  box-shadow: 0 0 0 2px rgba(228, 184, 74, 0.45), var(--glow-gold);
}
.logo-mark-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}
.footer-brand {
  width: 160px;
  height: 160px;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  overflow: hidden;
  background: var(--logo-navy);
  box-shadow: 0 0 0 2px rgba(228, 184, 74, 0.45), var(--glow-gold);
}
.footer-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.logo-text { display: flex; flex-direction: column; min-width: 0; }
.logo-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.logo-tag {
  font-size: 0.72rem;
  color: var(--muted);
  white-space: normal;
}
.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, var(--turquoise), var(--teal));
  color: #042f2e;
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: var(--glow-teal);
}
.cart-btn:active { transform: scale(0.98); }
.cart-count {
  background: #042f2e;
  color: #ecfdf5;
  min-width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}
@media (max-width: 380px) {
  .cart-label { display: none; }
}

#app { max-width: 1120px; margin: 0 auto; padding: 0 0 calc(6rem + var(--safe-b)); width: 100%; }

.hero {
  position: relative;
  margin: 0 1rem 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0a2a3a;
  border: 1px solid rgba(45, 212, 191, 0.22);
  box-shadow: 0 0 0 1px rgba(167, 139, 250, 0.08), var(--glow-teal);
}
.hero img, .hero-photo {
  width: 100%;
  height: 220px;
  object-fit: cover;
  /* fishbowl sits on the right of the 1024×572 art */
  object-position: 88% 45%;
}
.hero-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.1rem 1rem 1rem;
  /* soft left-weighted veil so headline stays readable over empty left of art */
  background:
    linear-gradient(90deg, rgba(6, 21, 38, 0.72) 0%, rgba(6, 21, 38, 0.35) 48%, rgba(6, 21, 38, 0.12) 72%, transparent 100%),
    linear-gradient(transparent 0%, rgba(6, 21, 38, 0.55) 55%, rgba(6, 21, 38, 0.82) 100%);
}
.hero-overlay h1 {
  text-shadow: 0 1px 12px rgba(0,0,0,0.45);
}
.hero-overlay p {
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
.hero-overlay h1 {
  margin: 0 0 0.25rem;
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 400;
  text-shadow: 0 1px 12px rgba(0,0,0,0.45);
}
.hero-overlay p { margin: 0 0 0.65rem; color: #e2eef8; font-size: 0.9rem; text-shadow: 0 1px 8px rgba(0,0,0,0.4); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.16);
  color: #a5f3fc;
  border: 1px solid rgba(45, 212, 191, 0.4);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.15);
}
.badge:nth-child(2) {
  background: rgba(167, 139, 250, 0.16);
  color: #ddd6fe;
  border-color: rgba(167, 139, 250, 0.4);
  box-shadow: var(--glow-violet);
}
.badge:nth-child(3) {
  background: rgba(228, 184, 74, 0.14);
  color: #fde68a;
  border-color: rgba(228, 184, 74, 0.4);
}

.policy-banner {
  margin: 0 1rem 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(212, 168, 75, 0.1);
  border: 1px solid rgba(212, 168, 75, 0.35);
  font-size: 0.85rem;
  color: #fde68a;
}
.policy-banner a { color: var(--gold); font-weight: 600; }

.cat-bar {
  position: sticky;
  top: calc(var(--strip-h) + var(--header-h));
  z-index: 30;
  background: rgba(6, 21, 38, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.75rem;
}
.cat-scroll {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  padding: 0.65rem 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cat-scroll::-webkit-scrollbar { display: none; }
.cat-chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 44px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  color: var(--text);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.chip-count {
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0.75;
}
.cat-chip[aria-pressed="true"] {
  background: linear-gradient(135deg, var(--turquoise), var(--teal));
  color: #042f2e;
  border-color: transparent;
  box-shadow: var(--glow-teal);
}
.cat-chip:hover {
  border-color: rgba(45, 212, 191, 0.45);
  box-shadow: 0 0 14px rgba(45, 212, 191, 0.12);
}

.menu-section { padding: 0 1rem 1.25rem; }
.menu-section h2 {
  margin: 0 0 0.65rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
}
.menu-list { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
.menu-item {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: stretch;
  text-align: left;
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  cursor: pointer;
  color: inherit;
  min-width: 0;
  overflow: hidden;
}
.menu-item:hover {
  border-color: rgba(45, 212, 191, 0.35);
  box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.12), 0 8px 28px rgba(2, 20, 40, 0.35);
}
.menu-item:active { transform: scale(0.995); }
.menu-item-body { flex: 1; min-width: 0; padding: 0.75rem 0.85rem 0.9rem; }
.menu-item-body h3 {
  margin: 0.2rem 0 0.25rem;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.demo-tag {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #042f2e;
  background: var(--gold);
  display: inline-block;
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
}
.price-note {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
}
.menu-item-body p {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.menu-item .price { font-weight: 700; color: var(--gold); font-size: 0.95rem; }
.live-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff5f7;
  background: linear-gradient(135deg, var(--crimson), #fb7185);
  box-shadow: 0 0 12px rgba(225, 29, 72, 0.35);
  padding: 0.12rem 0.4rem;
  border-radius: 6px;
  margin-left: 0.35rem;
  vertical-align: middle;
}
.menu-item-img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  border-radius: 0;
  flex-shrink: 0;
  background: #061820;
}
.shop-tools {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin: 0 1rem 0.35rem;
}
.shop-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 0.3rem;
}
.shop-field input,
.shop-field select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.55rem 0.75rem;
  background: var(--bg-card);
  color: var(--text);
}
.result-count {
  margin: 0.35rem 1rem 0.15rem;
  color: var(--muted);
  font-size: 0.82rem;
}
.shop-empty {
  margin: 0.5rem 1rem 1rem;
  padding: 1.25rem 1rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(100%, 400px);
  height: 100dvh;
  background: var(--bg-elev);
  z-index: 80;
  transform: translateX(105%);
  transition: transform 0.28s ease;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line);
  box-shadow: var(--shadow);
  pointer-events: none;
}
.cart-drawer.open { transform: translateX(0); pointer-events: auto; }
.cart-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1rem 0.75rem;
  border-bottom: 1px solid var(--line);
}
.cart-drawer-head h2 { margin: 0; font-size: 1.1rem; }
.demo-pill {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(20, 184, 166, 0.2);
  color: var(--teal);
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
  margin-left: 0.35rem;
}
.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem 1rem;
}
.cart-drawer-foot {
  padding: 0.75rem 1rem calc(1rem + var(--safe-b));
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.cart-scrim, .modal-scrim {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 70;
}
.modal-scrim { z-index: 90; }
.cart-empty { color: var(--muted); text-align: center; padding: 2rem 1rem; font-size: 0.95rem; }
.cart-line {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
}
.cart-line-name { font-weight: 650; font-size: 0.92rem; }
.cart-line-meta { font-size: 0.75rem; color: var(--muted); margin-top: 0.15rem; }
.qty-ctrl {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.4rem;
}
.qty-ctrl button {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  color: var(--text);
  cursor: pointer;
}
.line-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.25rem 0;
  font-size: 0.92rem;
}
.line-row.total { font-weight: 700; font-size: 1.05rem; margin-top: 0.35rem; }
.muted { color: var(--muted); }
.btn-row { margin-top: 0.75rem; }
.primary-btn, a.primary-btn {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  background: var(--teal);
  color: #042f2e;
  border: 0;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-weight: 700;
  cursor: pointer;
  box-sizing: border-box;
}
.primary-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.ghost-btn, a.ghost-btn {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.5rem;
  box-sizing: border-box;
}
.icon-btn {
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
}

.item-modal {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(100%, 480px);
  max-height: min(92dvh, 720px);
  overflow-y: auto;
  background: var(--bg-elev);
  border-radius: 20px 20px 0 0;
  z-index: 100;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  border-bottom: 0;
}
.modal-hero {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: #061820;
}
.modal-pad { padding: 1rem 1rem calc(1.25rem + var(--safe-b)); position: relative; }
.modal-pad h2 { margin: 0 0 0.35rem; font-family: var(--serif); font-size: 1.4rem; font-weight: 400; }
.opt-group { border: 0; margin: 0.85rem 0 0; padding: 0; }
.opt-group legend { font-weight: 650; font-size: 0.85rem; margin-bottom: 0.4rem; }
.opt-choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 0.35rem;
  background: var(--bg-card);
  cursor: pointer;
}
.opt-choice input { margin-right: 0.45rem; }
.modal-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}
.modal-actions .primary-btn { flex: 1; width: auto; }

.checkout-view, .success-view, .policy-view {
  padding: 1rem 1rem 2rem;
  max-width: 100%;
}
.checkout-view h1, .success-view h1, .policy-view h1 {
  margin: 0 0 0.25rem;
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 400;
}
.checkout-sub { color: var(--muted); margin: 0 0 1rem; }
.panel {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-bottom: 0.75rem;
}
.panel h2 { margin: 0 0 0.65rem; font-size: 0.95rem; font-weight: 700; }
.field { margin-bottom: 0.65rem; }
.field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 650;
  color: var(--muted);
  margin-bottom: 0.3rem;
}
.field input, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  background: var(--bg);
  color: var(--text);
}
.ship-list { display: flex; flex-direction: column; gap: 0.4rem; }
.ship-opt {
  text-align: left;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  color: inherit;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
}
.ship-opt[aria-pressed="true"] {
  border-color: var(--teal);
  background: rgba(20, 184, 166, 0.12);
}
.ship-opt:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.ship-note {
  font-size: 0.8rem;
  color: #fde68a;
  margin: 0.55rem 0 0;
  line-height: 1.4;
}
.mock-banner {
  background: #422006;
  color: #fde68a;
  border: 1px solid #d97706;
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}
.success-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(20, 184, 166, 0.2);
  color: var(--teal);
  display: grid; place-items: center;
  font-size: 1.5rem; font-weight: 700;
  margin-bottom: 0.75rem;
}
.policy-view h2 {
  font-size: 1.05rem;
  margin: 1.25rem 0 0.4rem;
  color: var(--gold);
}
.policy-view p, .policy-view li {
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.5;
}
.policy-view ul { padding-left: 1.15rem; margin: 0.35rem 0 0.75rem; }
.fictional-note {
  font-size: 0.8rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 1rem;
}

.store-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 1rem calc(1.5rem + var(--safe-b));
  background: #041018;
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
}
.footer-inner p { margin: 0.35rem 0; }
.footer-inner a { color: var(--teal); }
@media (min-width: 720px) {
  .hero img, .hero-photo { height: 320px; object-position: 82% 42%; }
  .shop-tools { grid-template-columns: 1fr 240px; align-items: end; }
  .menu-list {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
  }
  .menu-item-img { height: 200px; }
  .item-modal {
    top: 50%;
    bottom: auto;
    transform: translate(-50%, -50%);
    border-radius: 20px;
    border: 1px solid var(--line);
    max-height: 85vh;
  }
}

.credits-ul{padding-left:1.1rem;margin:.5rem 0 0}.credits-ul li{margin:.55rem 0;font-size:.88rem;color:#cbd5e1;line-height:1.45;word-break:break-word}.menu-item-img,.modal-hero,.hero img{object-fit:cover;background:#061820}
@media (min-width: 1020px) {
  .menu-list { grid-template-columns: 1fr 1fr 1fr; }
}

