/* Five J's Beverages — shop and business pages. Palette from the drinks themselves: sobolo red, ginger gold, leaf green. */
:root {
    --hibiscus: #6b1030;
    --hibiscus-2: #8c1a42;
    --ginger: #e0a526;
    --ginger-soft: #fbefd2;
    --leaf: #3f8a3a;
    --leaf-soft: #e3f1dd;
    --cream: #fff8ee;
    --paper: #ffffff;
    --ink: #2a1418;
    --ink-2: #5d4a4d;
    --muted: #8a7a7c;
    --line: #eadfd3;
    --danger: #b3261e;
    --radius: 18px;
    --shadow: 0 10px 30px -14px rgba(74, 16, 36, .28);
    --display: "Fraunces", Georgia, serif;
    --body: "Plus Jakarta Sans", system-ui, sans-serif;
    --kente: repeating-linear-gradient(90deg, var(--hibiscus) 0 18px, var(--ginger) 18px 30px, var(--leaf) 30px 40px, var(--ink) 40px 46px, var(--ginger) 46px 52px);
    color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
a { color: var(--hibiscus); }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0 0 .4em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 650; }
h3 { font-size: 1.25rem; font-weight: 650; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.kente { height: 8px; background: var(--kente); }
.demo-bar { background: var(--ink); color: #f6e7d6; font-size: 13px; text-align: center; padding: 7px 12px; }
.demo-bar a { color: var(--ginger); font-weight: 700; }

/* Header */
.head { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--cream) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 18px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand-mark { width: 44px; height: 44px; border-radius: 14px; background: var(--hibiscus); color: var(--ginger); display: grid; place-items: center; font: 800 18px/1 var(--display); box-shadow: inset 0 -4px 0 var(--ginger); }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; border-radius: 14px; background: #fff; }
.brand b { font: 700 1.25rem/1 var(--display); display: block; }
.brand small { color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.nav { display: none; gap: 4px; }
.nav a { padding: 9px 14px; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 15px; }
.nav a:hover, .nav a[aria-current] { background: var(--ginger-soft); color: var(--ink); }
.head-actions { display: flex; gap: 8px; align-items: center; }
.icon-btn { position: relative; width: 44px; height: 44px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper); display: grid; place-items: center; color: var(--ink); text-decoration: none; cursor: pointer; }
.icon-btn svg { width: 22px; height: 22px; }
.count { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--hibiscus); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.menu-btn { display: grid; }
.mobile-nav { display: none; border-top: 1px solid var(--line); padding: 8px 0 16px; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 12px 4px; font-weight: 700; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .nav { display: flex; } .menu-btn, .mobile-nav { display: none !important; } }

/* Buttons and forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent; font: 700 15px/1 var(--body); text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-main { background: var(--hibiscus); color: #fff; box-shadow: 0 10px 22px -10px rgba(107, 16, 48, .7); }
.btn-main:hover { background: var(--hibiscus-2); }
.btn-gold { background: var(--ginger); color: var(--ink); }
.btn-line { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-wa { background: #1fa855; color: #fff; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.field { margin-bottom: 16px; }
.field label, .label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=date], input[type=password], input[type=search], select, textarea {
    width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); font: inherit; color: var(--ink);
}
textarea { min-height: 90px; }
input:focus, select:focus, textarea:focus { outline: 3px solid color-mix(in srgb, var(--ginger) 50%, transparent); border-color: var(--ginger); }
.hint { font-size: 13px; color: var(--muted); margin-top: 4px; }
.error { color: var(--danger); font-size: 14px; margin-top: 4px; font-weight: 600; }
.row-2 { display: grid; gap: 14px; }
@media (min-width: 640px) { .row-2 { grid-template-columns: 1fr 1fr; } }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: block; padding: 11px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--paper); font-weight: 600; cursor: pointer; }
.choice input:checked + span { border-color: var(--hibiscus); background: #fbe9ef; color: var(--hibiscus); box-shadow: inset 0 0 0 1px var(--hibiscus); }
.choice input:focus-visible + span { outline: 3px solid var(--ginger); }
.alert { padding: 14px 16px; border-radius: 14px; margin-bottom: 18px; font-weight: 600; }
.alert-ok { background: var(--leaf-soft); color: #23562a; }
.alert-bad { background: #fde7e5; color: var(--danger); }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 120% at 85% 10%, #8c1a42 0%, var(--hibiscus) 45%, #3d0919 100%); color: #fff7ef; }
.hero-inner { display: grid; gap: 30px; padding-top: 56px; padding-bottom: 48px; align-items: center; }
@media (min-width: 900px) { .hero-inner { grid-template-columns: 1.05fr 1fr; padding-top: 90px; padding-bottom: 80px; } }
.hero h1 { color: #fff; }
.hero h1 em { font-style: italic; color: var(--ginger); }
.hero p { font-size: 1.15rem; color: #f3d9c4; max-width: 52ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.hero .btn-line { color: #fff; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.hero-tags li { padding: 7px 13px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); font-size: 14px; font-weight: 600; }
.shelf { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 6px; min-height: 340px; }
.shelf::after { content: ""; position: absolute; left: 6%; right: 6%; bottom: 0; height: 18px; border-radius: 50%; background: rgba(0, 0, 0, .25); filter: blur(8px); }
.shelf .bottle { width: 22%; max-width: 120px; transition: transform .3s; }
.shelf .bottle:nth-child(odd) { transform: translateY(-14px); }
.shelf .bottle:hover { transform: translateY(-24px) rotate(-3deg); }

/* Sections and cards */
.section { padding: 72px 0; }
.section-tight { padding: 44px 0; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 28px; }
.section-head p { margin: 4px 0 0; color: var(--ink-2); max-width: 60ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--hibiscus); margin-bottom: 10px; }
.eyebrow::before { content: ""; width: 26px; height: 6px; border-radius: 3px; background: var(--kente); }
.hero .eyebrow { color: var(--ginger); }
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.drink { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.drink:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.drink-art { display: grid; place-items: center; height: 230px; background: color-mix(in srgb, var(--c) 14%, #fff); }
.drink-art .bottle { height: 200px; width: auto; }
.drink-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.drink-body h3 { margin-bottom: 2px; }
.drink-local { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.drink-body p { color: var(--ink-2); font-size: 15px; margin: 8px 0 14px; flex: 1; }
.price { font-weight: 800; font-size: 1.05rem; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; background: var(--ginger-soft); color: #7a5410; }
.pill-red { background: #fbe4ec; color: var(--hibiscus); }
.pill-green { background: var(--leaf-soft); color: #23562a; }
.pill-grey { background: #efe9e3; color: var(--ink-2); }
.badge-soon { position: absolute; top: 14px; left: 14px; }

/* Events band */
.band { background: var(--ink); color: #f3e4d6; }
.band h2 { color: #fff; }
.band p { color: #d9c3b4; }
.event-types { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); margin-top: 26px; }
.event-type { padding: 18px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.event-type b { display: block; color: #fff; font-family: var(--display); font-size: 1.15rem; }
.steps { counter-reset: s; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.step { position: relative; padding: 22px 20px 20px 66px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; }
.step::before { counter-increment: s; content: counter(s); position: absolute; left: 18px; top: 20px; width: 34px; height: 34px; border-radius: 12px; background: var(--ginger); color: var(--ink); font-weight: 800; display: grid; place-items: center; }

/* Product page */
.product { display: grid; gap: 34px; align-items: start; }
@media (min-width: 900px) { .product { grid-template-columns: 1fr 1fr; } }
.product-art { display: grid; place-items: center; min-height: 440px; border-radius: 28px; background: color-mix(in srgb, var(--c) 16%, #fff); }
.product-art .bottle { height: 380px; width: auto; }
.sizes { display: grid; gap: 10px; margin: 18px 0; }
.size { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--paper); }
.size b { display: block; }
.qty { width: 84px; text-align: center; }

/* Planner */
.planner { display: grid; gap: 24px; align-items: start; }
@media (min-width: 980px) { .planner { grid-template-columns: 1.1fr .9fr; } }
.mix-row { display: grid; grid-template-columns: 44px 1fr 64px; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.mix-row input[type=range] { width: 100%; accent-color: var(--hibiscus); }
.mix-dot { width: 44px; height: 44px; border-radius: 12px; background: var(--c); box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .15); }
.plan-out { position: sticky; top: 92px; }
.plan-line { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.big { font: 700 2rem/1 var(--display); }

/* Basket, checkout, tracking */
.layout-2 { display: grid; gap: 24px; align-items: start; }
@media (min-width: 960px) { .layout-2 { grid-template-columns: 1.4fr .9fr; } }
.lines { list-style: none; padding: 0; margin: 0; }
.lines li { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.lines .bottle { height: 56px; width: auto; }
.summary .plan-line:last-child { border: 0; font-weight: 800; font-size: 1.1rem; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { position: relative; padding: 0 0 22px 40px; color: var(--muted); }
.timeline li::before { content: ""; position: absolute; left: 8px; top: 4px; width: 16px; height: 16px; border-radius: 50%; border: 3px solid var(--line); background: var(--paper); }
.timeline li::after { content: ""; position: absolute; left: 15px; top: 22px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline li.done { color: var(--ink); }
.timeline li.done::before { border-color: var(--leaf); background: var(--leaf); }
.timeline li.now { color: var(--ink); font-weight: 800; }
.timeline li.now::before { border-color: var(--hibiscus); background: var(--ginger); box-shadow: 0 0 0 5px #fbe4ec; }
.timeline small { display: block; font-weight: 500; color: var(--muted); }

/* Footer */
.foot { background: #1d0c10; color: #cdb9ac; padding: 50px 0 28px; margin-top: 40px; }
.foot a { color: #f3e4d6; }
.foot-grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.foot h3 { color: #fff; font-size: 1.05rem; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: 8px; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 50; width: 58px; height: 58px; border-radius: 50%; background: #1fa855; display: grid; place-items: center; box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .5); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* Business side */
.mg { display: grid; min-height: 100vh; grid-template-columns: 1fr; }
@media (min-width: 1000px) { .mg { grid-template-columns: 250px 1fr; } }
.mg-side { background: var(--ink); color: #e7d6c9; padding: 20px 14px; }
.mg-side .brand { color: #fff; margin: 0 6px 18px; }
.mg-side .brand small { color: #bba79a; }
.mg-nav a { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; color: #e7d6c9; text-decoration: none; font-weight: 600; }
.mg-nav a:hover, .mg-nav a[aria-current] { background: rgba(255, 255, 255, .08); color: #fff; }
.mg-nav a[aria-current] { box-shadow: inset 4px 0 0 var(--ginger); }
@media (max-width: 999px) { .mg-nav { display: flex; overflow-x: auto; gap: 4px; } .mg-nav a { white-space: nowrap; } .mg-side { position: sticky; top: 0; z-index: 30; padding: 10px 12px; } .mg-side .brand, .mg-side .mg-who { display: none; } }
.mg-main { padding: 26px 20px 60px; max-width: 1200px; width: 100%; }
@media (min-width: 1000px) { .mg-main { padding: 34px 40px 60px; } }
.mg-who { margin: 22px 6px 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.stats { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); margin-bottom: 22px; }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.stat b { display: block; font: 700 1.7rem/1.1 var(--display); }
.stat span { color: var(--ink-2); font-size: 14px; font-weight: 600; }
.table-wrap { overflow-x: auto; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: #fcf6ef; }
tr:last-child td { border-bottom: 0; }
td a { font-weight: 700; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
.toolbar input, .toolbar select { width: auto; min-width: 180px; }
.list-plain { list-style: none; padding: 0; margin: 0; }
.list-plain li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.list-plain li:last-child { border: 0; }
.two { display: grid; gap: 18px; }
@media (min-width: 1000px) { .two { grid-template-columns: 1.3fr 1fr; } }

/* Demo picker */
.roles { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.role { text-align: left; width: 100%; font: inherit; cursor: pointer; padding: 24px; border-radius: 22px; border: 1px solid var(--line); background: var(--paper); transition: transform .2s, box-shadow .2s, border-color .2s; }
.role:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--ginger); }
.role .avatar { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; font: 800 1.4rem/1 var(--display); color: #fff; margin-bottom: 14px; }
.role h3 { margin-bottom: 4px; }
.role ul { padding-left: 18px; color: var(--ink-2); font-size: 15px; margin: 10px 0 0; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* Grid children may shrink below their content (wide tables scroll inside .table-wrap instead of widening the page) */
.mg > *, .two > *, .layout-2 > *, .planner > *, .product > *, .hero-inner > * { min-width: 0; }
.brand small { white-space: nowrap; }
@media (max-width: 420px) { .brand small { display: none; } .head-row { gap: 10px; } .stat b { font-size: 1.35rem; } }
td a { white-space: nowrap; }
.toolbar input, .toolbar select { flex: 1 1 160px; min-width: 0; }
.brand-mark.has-logo { background: none; box-shadow: none; width: 48px; height: 48px; }
.brand-mark.has-logo img { background: none; border-radius: 0; }
