/* Off The Boulevard. Night over Antire Road, in the shop's own sticker
   colors: near-black ground, a neon sunset hero with sparkles, chunky retro
   headlines, hot pink and mint as the accents. One night theme by choice. */
:root {
  --sky: #0e0a14;
  --sky-2: #1a1222;
  --fg: #fbeee0;
  --muted: #c9b3b8;
  --line: #35283f;
  --coral: #ff7b61;
  --peach: #ffb98a;
  --gold: #ffd36b;
  --violet: #9b7bd6;
  --pink: #ff4fa8;
  --mint: #4fe3c1;
  --ok: #4fe3c1;
  --display: "Lilita One", "Arial Black", Impact, sans-serif;
  --body: "Nunito", "Segoe UI", Helvetica, Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--sky); color: var(--fg); font-family: var(--body); font-size: 17px; line-height: 1.6; }
a { color: var(--peach); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: .01em; line-height: 1.08; text-wrap: balance; margin: 0; }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin-bottom: .5em; color: var(--peach); }
p { margin: 0 0 1em; max-width: 62ch; }
.muted { color: var(--muted); }
.wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.inner { max-width: 1040px; margin: 0 auto; }
[hidden] { display: none !important; }

/* photo tiles: a real photo when one is posted, a gradient until then */
.ph { position: relative; overflow: hidden; border-radius: 22px; max-width: 100%; display: grid; place-items: center; text-align: center; color: rgba(255,240,220,.85); font-family: var(--display); font-weight: 500; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph::after { content: attr(data-label); position: absolute; inset: auto 12px 12px; font-size: .85rem; background: rgba(14,10,20,.65); border-radius: 999px; padding: 6px 12px; backdrop-filter: blur(4px); }
.ph[data-label=""]::after { display: none; }
.ph.has-img > span { display: none; }
.ph.a { background: linear-gradient(160deg, #ff7b61, #c25a8a 55%, #4a2a6e); }
.ph.b { background: linear-gradient(160deg, #ffb98a, #ff7b61 60%, #7a3b74); }
.ph.c { background: linear-gradient(160deg, #9b7bd6, #5b3a8c 60%, #1a1222); }
.ph.d { background: linear-gradient(160deg, #ffd36b, #ff9a6b 55%, #a44b7a); }
.ph.e { background: linear-gradient(160deg, #ff4fa8, #8c4b9e 60%, #1a1222); }
.ph.f { background: linear-gradient(160deg, #4fe3c1, #2a8fa0 55%, #1a1222); }

/* top bar */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: rgba(14,10,20,.88); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255,79,168,.18); }
.top .inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { font-family: var(--display); font-weight: 400; font-size: 1.2rem; color: var(--gold); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.brand img { height: 44px; width: auto; max-width: 44vw; border-radius: 8px; }
.brand img[hidden] { display: none; }
/* until the owner posts a storefront photo, the hero tile shows the badge */
.hero .ph.logo-tile { background: radial-gradient(circle at 50% 45%, rgba(255,79,168,.35), rgba(14,10,20,.9) 70%); }
.hero .ph.logo-tile .logo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 10%; }
.hero .ph.logo-tile > span { display: none; }
.hero .ph.logo-tile.has-img .logo-img { display: none; }
.hero .ph.logo-tile.has-img { background: none; }
.brand.has-logo span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.top nav { display: flex; gap: 6px; flex-wrap: wrap; font-size: .95rem; font-weight: 600; align-items: center; }
.top nav a { color: var(--fg); text-decoration: none; padding: 6px 12px; border-radius: 999px; transition: background .25s, color .25s; }
.top nav a:hover { color: var(--gold); }
.top nav a.on { background: rgba(255,211,107,.16); color: var(--gold); }
.cart-btn { background: var(--gold); color: #3a2410; border: 0; border-radius: 999px; padding: 8px 14px; font-weight: 700; display: inline-flex; gap: 8px; align-items: center; }
.cart-btn .n { background: #3a2410; color: var(--gold); border-radius: 999px; min-width: 22px; height: 22px; display: grid; place-items: center; font-size: .8rem; }

/* announcement */
.banner { background: linear-gradient(90deg, var(--pink), var(--coral) 55%, var(--gold)); color: #1a0a14; font-weight: 700; text-align: center; padding: 10px 16px; }

/* hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #0e0a14 0%, #2b1340 30%, #7a1f6a 52%, #d8347f 70%, #ff6a3d 88%, #ffb347 100%); }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero .inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 36px; padding-block: 48px 56px; align-items: center; }
.hero h1 { font-size: clamp(2.8rem, 7.5vw, 5.2rem); color: var(--gold); background: linear-gradient(100deg, #ffd36b 0%, #ff8a3d 45%, #ff4fa8 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 3px 0 rgba(14,10,20,.55)) drop-shadow(0 6px 28px rgba(255,79,168,.35)); }
.hero .tag { font-size: 1.2rem; max-width: 34ch; margin-top: 14px; }
.hero .ph { aspect-ratio: 4/5; font-size: 1.1rem; box-shadow: 0 30px 60px rgba(20,10,30,.45); transition: transform .5s ease; }
.hero .ph:hover { transform: perspective(900px) rotateY(-5deg) translateY(-4px); }
.sign { margin-top: 24px; background: rgba(14,10,20,.62); border: 1px solid rgba(79,227,193,.22); border-radius: 22px; padding: 20px 22px; backdrop-filter: blur(6px); }
.status { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 600; font-size: 1.4rem; }
.dot { width: 14px; height: 14px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 14px var(--mint); flex: none; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 4px var(--mint); } }
.dot.closed { background: #8b7f96; box-shadow: none; animation: none; }
.status-sub { color: var(--muted); margin: 4px 0 14px; font-variant-numeric: tabular-nums; }
.status-note { color: var(--gold); font-weight: 700; margin: -8px 0 14px; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-block; padding: 12px 20px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; font-size: 1rem; transition: transform .2s, box-shadow .2s, border-color .2s; background: none; color: var(--fg); }
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--gold); color: #3a2410; }
.btn.primary:hover { box-shadow: 0 10px 24px rgba(255,211,107,.35); }
.btn.primary:disabled { opacity: .5; transform: none; box-shadow: none; cursor: not-allowed; }
.btn.ghost { border-color: rgba(79,227,193,.55); color: var(--mint); }
.btn.ghost:hover { border-color: var(--mint); box-shadow: 0 0 0 3px rgba(79,227,193,.18); }
.btn.small { padding: 8px 14px; font-size: .9rem; }
.addr { margin-top: 14px; color: var(--muted); font-size: .95rem; }
.addr span { color: var(--fg); }

.rise { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.rise.d1 { animation-delay: .15s } .rise.d2 { animation-delay: .3s } .rise.d3 { animation-delay: .45s }
@keyframes rise { from { opacity: 0; transform: translateY(18px) } to { opacity: 1; transform: none } }

section.block { padding-block: 60px; }
section.alt { background: var(--sky-2); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery .ph { aspect-ratio: 1; font-size: 1rem; cursor: zoom-in; transition: transform .35s ease, box-shadow .35s ease; }
.gallery .ph:hover { transform: scale(1.025); box-shadow: 0 18px 40px rgba(20,10,30,.45); }
.gallery .ph.wide { grid-column: span 2; aspect-ratio: auto; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 20; background: rgba(20,12,32,.92); display: grid; place-items: center; padding: 24px; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); opacity: 0; pointer-events: none; transition: opacity .3s; }
.lb.open { opacity: 1; pointer-events: auto; }
.lb .ph { width: min(900px, 100%); aspect-ratio: 4/3; font-size: 1.6rem; transform: scale(.94); transition: transform .3s; }
.lb .ph img { object-fit: contain; background: #07050a; }
.lb.open .ph { transform: none; }
.lb .cap { margin-top: 14px; color: var(--muted); }
.lb .x, .lb .arrow { position: absolute; background: rgba(14,10,20,.75); color: var(--fg); border: 0; border-radius: 999px; width: 48px; height: 48px; font-size: 1.3rem; display: grid; place-items: center; }
.lb .x { top: calc(16px + env(safe-area-inset-top, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); }
.lb .arrow { top: 50%; transform: translateY(-50%); }
.lb .prev { left: max(10px, env(safe-area-inset-left, 0px)); } .lb .next { right: max(10px, env(safe-area-inset-right, 0px)); }
.lb .box { display: grid; justify-items: center; width: 100%; }

/* hours */
.hours { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
td { padding: 11px 0; border-bottom: 1px solid var(--line); }
td:last-child { text-align: right; color: var(--muted); white-space: nowrap; }
tr.today td { color: var(--mint); font-weight: 700; }
tr.today td:first-child::after { content: " today"; font-weight: 400; font-size: .8rem; color: var(--peach); margin-left: 4px; }
.closures { margin: 14px 0 0; padding: 0; list-style: none; color: var(--peach); font-weight: 600; }
.late { background: linear-gradient(160deg, rgba(255,79,168,.28), rgba(255,123,97,.14) 50%, rgba(79,227,193,.14)); border: 1px solid rgba(255,79,168,.25); border-radius: 22px; padding: 26px; }
.late h3 { font-size: 1.35rem; color: var(--peach); margin-bottom: 8px; }
.late .big { font-family: var(--display); font-weight: 400; font-size: clamp(2.6rem, 7vw, 4.2rem); color: var(--gold); line-height: 1; margin: 6px 0 10px; }
.late .small { color: var(--muted); font-size: .95rem; }

/* shelves */
.shelves { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.shelf { border-radius: 22px; overflow: hidden; background: var(--sky-2); min-width: 0; transition: transform .35s ease, box-shadow .35s ease; }
section.alt .shelf { background: var(--sky); }
.shelf:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(20,10,30,.4); }
.shelf .ph { border-radius: 0; aspect-ratio: 16/10; font-size: .95rem; transition: transform .6s ease; }
.shelf:hover .ph { transform: scale(1.06); }
.shelf .txt { padding: 16px 18px 18px; }
.shelf h3 { font-size: 1.1rem; margin-bottom: 6px; color: var(--peach); }
.shelf p { font-size: .95rem; color: var(--muted); margin: 0; }
.note { font-size: .9rem; color: var(--muted); margin-top: 18px; border-left: 3px solid var(--coral); padding-left: 12px; }

/* shop (catalog) */
.shop-group { margin-top: 28px; }
.shop-group h3 { color: var(--gold); font-size: 1.3rem; margin-bottom: 12px; }
.items { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.item { background: var(--sky); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
section:not(.alt) .item { background: var(--sky-2); }
.item .ph { border-radius: 0; aspect-ratio: 4/3; font-size: .9rem; }
.item .txt { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.item h4 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 1.05rem; }
.item .blurb { color: var(--muted); font-size: .9rem; margin: 0; flex: 1; }
.item .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.item .price { font-weight: 700; color: var(--gold); font-variant-numeric: tabular-nums; }
.item .soldout { color: var(--muted); font-size: .9rem; }
.shop-empty { background: var(--sky-2); border-radius: 18px; padding: 20px; }

/* mystery box */
.mystery { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.mbox { position: relative; aspect-ratio: 4/3; max-width: 100%; display: grid; place-items: center; cursor: pointer; border: 0; background: none; padding: 0; width: 100%; }
.mbox .crate { position: relative; width: 62%; aspect-ratio: 1/.8; border-radius: 18px; background: linear-gradient(160deg, #2b1a3a, #140c1c); border: 3px solid var(--mint); box-shadow: 0 0 0 6px rgba(79,227,193,.12), 0 0 40px rgba(255,79,168,.35), 0 30px 60px rgba(0,0,0,.5); transition: transform .3s; }
.mbox .lid { position: absolute; left: -3%; right: -3%; top: -10%; height: 26%; border-radius: 14px; background: linear-gradient(160deg, #ff4fa8, #ff8a3d); border: 3px solid var(--mint); transform-origin: left bottom; transition: transform .6s cubic-bezier(.3,1.4,.4,1); box-shadow: 0 10px 20px rgba(20,10,30,.3); }
.mbox .q { font-family: var(--display); font-weight: 400; font-size: clamp(2.8rem, 8vw, 4.6rem); color: var(--pink); text-shadow: 0 0 18px rgba(255,79,168,.7); position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .3s; }
.mbox .prize { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 10px; color: var(--fg); font-weight: 700; opacity: 0; transform: translateY(14px); transition: opacity .4s .3s, transform .4s .3s; font-size: .95rem; }
.mbox .hint { position: absolute; bottom: 8%; color: var(--muted); font-size: .9rem; }
.mbox:hover .crate { transform: rotate(-2deg) scale(1.02); }
.mbox.open .lid { transform: rotate(-110deg); }
.mbox.open .q { opacity: 0; }
.mbox.open .prize { opacity: 1; transform: none; }
.mbox.shake .crate { animation: shake .5s; }
@keyframes shake { 20% { transform: rotate(3deg) } 40% { transform: rotate(-4deg) } 60% { transform: rotate(3deg) } 80% { transform: rotate(-2deg) } }
.tiers { display: grid; gap: 10px; margin-top: 10px; }
.tier { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--sky); border-radius: 14px; padding: 12px 14px; }
.tier b { color: var(--mint); }
.tier small { display: block; color: var(--muted); }

/* reviews */
.reviews { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
blockquote { margin: 0; padding: 20px; border-radius: 22px; background: var(--sky-2); min-width: min(320px, 85%); flex: 1 0 0; scroll-snap-align: start; }
blockquote p { margin-bottom: 10px; }
blockquote cite { font-style: normal; color: var(--muted); font-size: .9rem; }
.stars { color: var(--pink); letter-spacing: .1em; font-size: .9rem; margin-bottom: 6px; }

/* visit */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.visit dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; }
.visit dt { color: var(--muted); }
.visit dd { margin: 0; }
.copy { background: none; border: 1px solid var(--line); color: var(--peach); border-radius: 999px; padding: 2px 10px; font-size: .8rem; margin-left: 8px; transition: border-color .2s; }
.copy:hover { border-color: var(--gold); }
.map { aspect-ratio: 16/10; max-width: 100%; border-radius: 22px; background: repeating-linear-gradient(0deg, transparent 0 38px, var(--line) 38px 39px), repeating-linear-gradient(90deg, transparent 0 38px, var(--line) 38px 39px), var(--sky-2); display: grid; place-items: center; color: var(--muted); text-align: center; padding: 16px; text-decoration: none; position: relative; overflow: hidden; transition: transform .3s; }
.map:hover { transform: scale(1.01); }
.map b { color: var(--gold); font-family: var(--display); display: block; font-size: 1.25rem; }
.pin { position: absolute; left: 50%; top: 28%; width: 18px; height: 18px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 0 rgba(255,79,168,.6); }

.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

footer { padding-block: 36px; color: var(--muted); font-size: .9rem; background: #07050a; }
footer .inner { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }

/* cart drawer + checkout */
.drawer-bg { position: fixed; inset: 0; background: rgba(20,12,32,.6); z-index: 30; opacity: 0; pointer-events: none; transition: opacity .3s; }
.drawer-bg.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--sky-2); z-index: 31; transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.7,.2,1); display: flex; flex-direction: column; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); padding-right: env(safe-area-inset-right, 0px); }
.drawer.open { transform: none; }
.drawer header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer header h3 { color: var(--gold); font-size: 1.3rem; }
.drawer .body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.drawer .x { background: none; border: 0; color: var(--fg); font-size: 1.4rem; width: 44px; height: 44px; }
.line { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.line .nm { font-weight: 600; }
.line .qty { display: inline-flex; align-items: center; gap: 6px; }
.line .qty button { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--fg); }
.line .amt { text-align: right; font-variant-numeric: tabular-nums; }
.sum { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin-top: 14px; font-variant-numeric: tabular-nums; }
.sum .total { font-weight: 700; color: var(--gold); font-size: 1.1rem; }
.drawer .foot { padding: 16px 20px; border-top: 1px solid var(--line); }
.form { display: grid; gap: 10px; }
.form label { display: grid; gap: 4px; font-size: .9rem; color: var(--muted); }
.form input, .form select, .form textarea { font: inherit; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--sky); color: var(--fg); width: 100%; }
.form .check { display: flex; gap: 10px; align-items: flex-start; color: var(--fg); font-size: .95rem; }
.form .check input { width: 22px; height: 22px; margin-top: 2px; flex: none; }
.err { color: #ffb3a7; font-weight: 600; margin: 0; }
.ok-msg { color: var(--ok); font-weight: 600; }

/* order page */
.order-body main { padding-block: 40px 60px; }
.order-wrap { max-width: 640px; }
.pill { display: inline-block; padding: 6px 14px; border-radius: 999px; font-weight: 700; background: var(--sky-2); color: var(--gold); }
.pill.ready { background: var(--ok); color: #163a19; }
.pill.picked_up { background: var(--line); color: var(--fg); }
.pill.cancelled { background: #5a2a3a; color: #ffb3a7; }
.order-card { background: var(--sky-2); border-radius: 22px; padding: 22px; margin-top: 16px; }
.order-card .code { font-family: var(--display); font-size: 2.2rem; color: var(--mint); letter-spacing: .08em; }

@media (max-width: 760px) {
  .hero .inner, .hours, .mystery, .visit { grid-template-columns: 1fr; }
  .shelves { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .ph.wide { grid-column: span 2; aspect-ratio: 2/1; }
  .hero .inner { padding-block: 32px 40px; }
  .hero .ph { aspect-ratio: 4/3; }
  section.block { padding-block: 44px; }
  .top nav { font-size: .85rem; gap: 2px; }
  .top nav a { padding: 6px 8px; }
}
@media (prefers-reduced-motion: no-preference) {
  .dot:not(.closed) { animation: pulse 2.6s ease-in-out infinite; }
  @keyframes pulse { 50% { box-shadow: 0 0 3px var(--gold); } }
  .pin { animation: ping 2s ease-out infinite; }
  @keyframes ping { to { box-shadow: 0 0 0 22px rgba(255,123,97,0); } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
