﻿/* Living Liquidz public store pages. Mobile first; colours from the Store listing mockup. */
:root {
    --plum: #4a1f3f; --plum-2: #5c2a4f; --plum-3: #33142b;
    --cream: #f4ece2; --cream-2: #ebe0d2; --paper: #fffdf9;
    --gold: #c6a46a; --ink: #2b1d26; --muted: #7a6b72; --line: #e4d8ca;
    --serif: 'Cormorant Garamond', Georgia, serif;
    --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
body { font-family: Jost, system-ui, sans-serif; background: var(--cream); color: var(--ink); -webkit-font-smoothing: antialiased; overscroll-behavior-y: none; }
body.locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }

/* App bar */
.appbar { background: var(--plum); color: var(--cream); position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(198,164,106,.35); padding-top: env(safe-area-inset-top, 0px); }
.bar { max-width: 1200px; margin: 0 auto; height: 60px; padding: 0 10px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.bar .l, .bar .r { display: flex; align-items: center; }
.bar .r { justify-content: flex-end; }
.ib { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; color: inherit; border-radius: 50%; }
.ib:active { background: rgba(255,255,255,.1); }
.ib svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.ib.dark { color: var(--plum); }
.logo { font-family: var(--serif); font-weight: 700; text-align: center; line-height: .86; letter-spacing: .05em; font-size: 21px; text-transform: uppercase; }

/* Title band */
.band { background: var(--plum-3); color: var(--cream); text-align: center; padding: 26px 16px 34px; }
.crumbs { font-size: 12px; letter-spacing: .08em; opacity: .7; margin-bottom: 14px; }
.crumbs a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(198,164,106,.6); }
.eyebrow { font-size: 11.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.band h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 7vw, 56px); letter-spacing: .08em; text-transform: uppercase; margin: 10px 0 6px; line-height: 1.02; }
.band h1.h1-store { text-transform: none; letter-spacing: .02em; }
.band p { font-family: var(--serif); font-style: italic; font-size: 19px; margin: 0; opacity: .85; }

/* Area dropdown (sticky under the app bar) */
.tools { position: sticky; top: calc(60px + env(safe-area-inset-top, 0px)); z-index: 10; background: var(--cream); border-bottom: 1px solid var(--line); padding: 10px 0; }
.area-filter { margin: 0 16px; display: flex; align-items: center; gap: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 0 6px 0 12px; position: relative; }
.area-filter svg { width: 18px; height: 18px; stroke: var(--plum-2); fill: none; stroke-width: 1.8; flex: none; }
.area-filter select { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 16px; padding: 12px 24px 12px 0; color: var(--ink); -webkit-appearance: none; appearance: none; cursor: pointer;
    background-image: linear-gradient(45deg, transparent 50%, var(--plum) 50%), linear-gradient(135deg, var(--plum) 50%, transparent 50%); background-position: right 10px center, right 5px center; background-size: 5px 5px; background-repeat: no-repeat; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.near { border: 0; background: var(--plum); color: var(--cream); border-radius: 9px; padding: 7px 12px; font-size: 13px; white-space: nowrap; }

/* Listing */
main.list { max-width: 1200px; margin: 0 auto; padding: 18px 16px 48px; }
.count { margin: 0 2px 12px; font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 22px 20px 18px; display: flex; flex-direction: column; transition: box-shadow .25s, border-color .25s; }
.card:hover { border-color: var(--gold); box-shadow: 0 14px 34px -18px rgba(74,31,63,.35); }
.card-link { display: block; }
.loc { font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--plum-2); font-weight: 500; }
.card h2 { font-family: var(--serif); font-weight: 600; font-size: 26px; margin: 6px 0 0; color: var(--plum-3); line-height: 1.1; }
.rule { width: 36px; height: 1px; background: var(--gold); margin: 14px 0; }
.addr { font-size: 14.5px; line-height: 1.65; color: #4b3d45; font-weight: 300; margin: 0; }
.addr.big { font-size: 16px; margin-top: 4px; }
.spacer { flex: 1; min-height: 16px; }
.row-meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.row-meta b { color: var(--ink); font-weight: 500; }
.acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.acts a { display: flex; align-items: center; justify-content: center; gap: 6px; height: 44px; border-radius: 999px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; border: 1px solid var(--plum); color: var(--plum); background: var(--paper); transition: background .2s, color .2s, transform .1s; }
.acts a:active { transform: scale(.97); }
.acts a.p { background: var(--plum); color: var(--cream); }
.acts svg { width: 15px; height: 15px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; }
.empty { background: var(--paper); border: 1px dashed var(--line); border-radius: 6px; padding: 28px; text-align: center; color: var(--muted); }
.empty a { color: var(--plum-2); text-decoration: underline; }

/* Store detail */
.card.detail { max-width: 640px; margin: 0 auto; }
.card.detail .loc { margin-top: 2px; }
h2.sec { font-family: var(--serif); font-weight: 600; font-size: 26px; color: var(--plum-3); margin: 36px 2px 14px; }
.all { text-align: center; margin: 28px 0 0; }
.all a { color: var(--plum-2); font-weight: 500; }
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; background: rgba(255,253,249,.96); backdrop-filter: blur(8px); border-top: 1px solid var(--line); padding: 0 12px calc(12px + var(--safe-b)); }
.dock .acts { max-width: 640px; margin: 12px auto 0; }
.card.detail .acts { display: none; }   /* the dock carries the buttons on phones */
body:has(.dock) .foot { padding-bottom: calc(100px + var(--safe-b)); }

/* SEO block */
.seo { background: var(--paper); border-top: 1px solid var(--line); padding: 40px 16px; }
.seo-in { max-width: 1200px; margin: 0 auto; }
.seo h2 { font-family: var(--serif); font-weight: 600; font-size: 28px; color: var(--plum-3); margin: 0 0 12px; }
.seo h2.mt { margin-top: 36px; }
.seo .sub { color: #4b3d45; font-weight: 300; line-height: 1.7; margin: 0 0 28px; }
.faq { display: grid; gap: 10px; }
details { border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; background: var(--cream); }
summary { font-weight: 500; cursor: pointer; }
details p { color: #4b3d45; font-weight: 300; line-height: 1.65; margin: 10px 0 0; }

/* Footer */
.foot { background: var(--plum); color: var(--cream-2); text-align: center; padding: 32px 20px calc(32px + var(--safe-b)); font-size: 12.5px; letter-spacing: .06em; }
.foot-in { max-width: 1200px; margin: 0 auto; }
.foot .logo { font-size: 18px; margin-bottom: 18px; color: var(--cream); }
.foot-cols { display: grid; gap: 8px; text-align: left; border-top: 1px solid rgba(198,164,106,.25); border-bottom: 1px solid rgba(198,164,106,.25); padding: 22px 0 8px; margin-bottom: 20px; }
.foot-h { font-family: var(--serif); font-weight: 500; font-size: 19px; letter-spacing: .04em; color: var(--gold); margin: 0 0 12px; }
.foot-list { list-style: none; margin: 0 0 16px; padding: 0; columns: 2; column-gap: 16px; letter-spacing: .02em; }
.foot-list li { margin: 0 0 10px; break-inside: avoid; font-size: 13.5px; }
.foot-list a { opacity: .85; }
.foot-list a:hover { opacity: 1; color: var(--gold); }
.foot-links { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-bottom: 12px; }
.foot-links a { color: var(--gold); }
.foot p { margin: 4px 0; opacity: .75; }

/* Bottom sheet (area picker) */
.sheet { position: fixed; inset: 0; z-index: 40; background: rgba(20,6,16,.55); opacity: 0; pointer-events: none; transition: opacity .2s; }
.sheet.on { opacity: 1; pointer-events: auto; }
.sheet-box { position: absolute; left: 0; right: 0; bottom: 0; max-height: 80vh; overflow-y: auto; background: var(--paper); border-radius: 18px 18px 0 0; padding: 8px 0 calc(16px + var(--safe-b)); transform: translateY(100%); transition: transform .25s ease-out; }
.sheet.on .sheet-box { transform: none; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; padding: 6px 8px 6px 20px; position: sticky; top: 0; background: var(--paper); }
.sheet-head b { font-family: var(--serif); font-size: 22px; color: var(--plum-3); }
.sheet ul { list-style: none; margin: 0; padding: 0; }
.sheet li a { display: flex; justify-content: space-between; padding: 14px 20px; border-top: 1px solid var(--line); font-size: 15.5px; }
.sheet li a:active { background: var(--cream); }
.sheet small { color: var(--muted); }

/* Age gate */
.gate { position: fixed; inset: 0; z-index: 50; background: rgba(20,6,16,.85); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; }
.gate-box { background: var(--cream); border-radius: 16px; max-width: 400px; width: 100%; padding: 30px 24px; text-align: center; border-top: 3px solid var(--gold); }
.gate-box .logo { color: var(--plum); }
.gate-box h2 { font-family: var(--serif); font-weight: 600; font-size: 26px; color: var(--plum-3); margin: 16px 0 8px; }
.gate-box p { color: var(--muted); font-size: 14px; margin: 0 0 20px; }
.yn { display: flex; gap: 10px; }
.yn button { flex: 1; padding: 13px; border-radius: 999px; border: 1px solid var(--plum); background: var(--paper); color: var(--plum); font-weight: 500; }
.yn button.y { background: var(--plum); color: var(--cream); }

/* Larger screens */
@media (min-width: 640px) {
    .area-filter { max-width: 560px; margin: 0 auto; }
    .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
    .band { padding: 40px 20px 48px; }
    .foot-areas { columns: 3; }
    .foot-cols { grid-template-columns: 1fr 3fr; gap: 32px; }
    .foot-cols > div:first-child .foot-list { columns: 1; }
    .faq { grid-template-columns: 1fr 1fr; }
    .card { padding: 28px 26px 24px; }
    .card h2 { font-size: 27px; }
}
@media (min-width: 1000px) {
    .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    main.list { padding: 30px 20px 64px; }
    .foot-areas { columns: 4; }
    .dock { display: none; }
    .tools { position: static; }
    .card.detail .acts { display: grid; }
    body:has(.dock) .foot { padding-bottom: 32px; }
    .acts a:hover { background: var(--plum); color: var(--cream); }
}

/* Desktop top navigation (hidden on phones, where the menu sheet is used) */
.topnav { display: none; }
@media (min-width: 1000px) {
    .topnav { display: flex; justify-content: center; gap: 26px; padding: 0 20px 12px; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; }
    .topnav a { opacity: .8; }
    .topnav a:hover { opacity: 1; color: var(--gold); }
}

/* Menu sheet sub-heading */
.sheet-sub { padding: 18px 20px 8px; font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--plum-2); border-top: 6px solid var(--cream); }

/* Brand pages */
main.page { max-width: 760px; }
.prose { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 28px 22px; line-height: 1.75; font-weight: 300; color: #4b3d45; }
.prose h2 { font-family: var(--serif); font-weight: 600; font-size: 28px; color: var(--plum-3); margin: 0 0 12px; line-height: 1.15; }
.prose img { max-width: 100%; height: auto; border-radius: 4px; }
.soon { text-align: center; padding: 10px 0; }
.soon .rule { margin: 0 auto 18px; }
.soon p { font-family: var(--serif); font-style: italic; font-size: 21px; margin: 0 0 18px; }
.btn { display: inline-flex; align-items: center; height: 44px; padding: 0 22px; border-radius: 999px; background: var(--plum); color: var(--cream); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; }

/* Instant page swap feedback */
#page { transition: opacity .15s; }
body.loading #page { opacity: .45; }

/* Payment disclaimer, just below the header on every page */
.notice { background: var(--cream-2); color: var(--plum-3); border-bottom: 1px solid var(--line); text-align: center; font-size: 12.5px; line-height: 1.5; padding: 8px 14px; }
.notice b { font-weight: 500; color: var(--plum); }
.notice a { color: var(--plum); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
