/* Golok Haven store. One small stylesheet for every shop page. */
:root {
  --bg: #FFFFFF;
  --bg-deep: #FBF6EE;
  --panel: #FAF6F0;
  --panel-2: #F3ECE2;
  --line: #E9E1D6;
  --text: #211A16;
  --muted: #6F655C;
  --accent: #8E1F2B;
  --accent-ink: #FFFFFF;
  --gold: #F5B82E;
  --danger: #B3261E;
  --pad: clamp(16px, 5vw, 80px);
  --display: 'Outfit', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 500; line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(30px, 5vw, 48px); }
h2 { font-size: clamp(24px, 3.6vw, 36px); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.muted { color: var(--muted); }
.small { font-size: 15px; }
.center { text-align: center; }
.sr, .skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 50; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 4px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.eyebrow { color: var(--accent); font-size: 15px; font-weight: 600; letter-spacing: 0.03em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 8px 24px;
  background: var(--accent); color: var(--accent-ink);
  border: 1px solid var(--accent); border-radius: 999px;
  font: inherit; font-weight: 700; cursor: pointer; text-align: center;
}
.btn:hover { color: var(--accent-ink); filter: brightness(1.12); }
.btn[disabled] { background: var(--panel-2); border-color: var(--line); color: var(--muted); cursor: not-allowed; filter: none; }
.btn-ghost { background: transparent; color: var(--accent); border-color: var(--accent); font-weight: 600; }
.btn-ghost:hover { color: var(--accent); border-color: var(--accent); filter: none; }
.btn-block { width: 100%; }
.btn-grow { flex: 1 1 160px; }
.btn-small { min-height: 40px; padding: 4px 16px; font-size: 16px; }
.btn-google { margin: 20px 0; font-size: 19px; padding: 10px 32px; }
.iconbtn {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  background: none; border: none; color: var(--text); cursor: pointer; border-radius: 4px; position: relative;
}
.iconbtn:hover { color: var(--accent); }

/* Header */
.announce { background: var(--accent); color: var(--accent-ink); text-align: center; padding: 7px 16px; font-size: 15px; font-weight: 500; }
.top {
  display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 4px 20px;
  padding: 10px var(--pad); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 20; background: var(--bg);
}
.logo { display: flex; align-items: center; min-height: 44px; flex: none; }
.logo img { height: 72px; width: auto; max-width: 100%; }
.nav { display: flex; flex-wrap: nowrap; gap: 0 22px; font-weight: 500; white-space: nowrap; }
.nav a { min-height: 44px; display: flex; align-items: center; }
.adminlink { color: var(--accent); }
.actions { display: flex; }
.menu-toggle { display: none; }
.count {
  position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px;
  background: var(--accent); color: var(--accent-ink); border-radius: 10px;
  font-size: 13px; font-weight: 700; line-height: 20px; text-align: center;
}

/* Sections */
.block { padding: 48px var(--pad) 24px; }
.block > h1, .block > h2 { margin-bottom: 12px; }
.block-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 20px; }
.block-head a { color: var(--accent); font-weight: 600; }
.narrow { max-width: 760px; margin: 0 auto; }
.empty { color: var(--muted); padding: 28px 20px; border: 1px dashed var(--line); border-radius: 6px; text-align: center; }
.empty a, .prose a, .points a { color: var(--accent); text-decoration: underline; }

/* Homepage banner */
.slider { position: relative; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; }
.slide img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 700px) { .slide img { aspect-ratio: 5 / 2; } }
.dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 8px; }
.dots button { width: 38px; height: 24px; padding: 0; background: none; border: none; cursor: pointer; position: relative; }
.dots button::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.6); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12); }
.dots button.on::before { background: #FFFFFF; height: 5px; top: 9px; }
.intro { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding: 40px var(--pad) 8px; }
.intro h1 { max-width: 760px; text-wrap: balance; }
.intro p { color: var(--muted); font-size: 19px; max-width: 600px; }
.intro-panel { background: var(--panel-2); padding-top: 64px; padding-bottom: 64px; }

/* Section titles: centred, with a marigold stroke underneath */
.title { width: fit-content; max-width: 100%; margin: 0 auto 28px !important; padding-bottom: 12px; position: relative; text-align: center; }
.title::after { content: ""; position: absolute; left: 4%; right: 4%; bottom: 0; height: 6px; border-radius: 999px; background: var(--gold); transform: rotate(-1deg); }
.more { text-align: center; margin-top: 28px; }

/* Photo placeholder (no photo uploaded yet) */
.ph { background: var(--panel-2); display: flex; align-items: center; justify-content: center; color: #D9CDBD; aspect-ratio: 1; }
.ph svg { width: 56px; height: 64px; }

.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px 16px; }
.trust > div { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.trust svg { color: var(--accent); width: 40px; height: 40px; padding: 8px; box-sizing: content-box; background: var(--panel-2); border-radius: 50%; margin-bottom: 6px; }
.trust strong { font-weight: 600; }
.trust span { color: var(--muted); font-size: 15px; }

/* Categories */
.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 20px 16px; max-width: 1000px; margin: 0 auto; }
.cat { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.cat img, .cat .ph { width: 100%; max-width: 180px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 3px solid var(--gold); margin-bottom: 10px; }
.cat strong { font-size: 18px; font-weight: 600; }
.cat span { color: var(--muted); font-size: 15px; }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; } }
.card { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.card-img { position: relative; border-radius: 18px; overflow: hidden; background: var(--panel-2); }
.card-img img, .card-img .ph { width: 100%; aspect-ratio: 1; object-fit: cover; }
.card-body { padding: 0 4px; display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.card-body h3 { font-size: 17px; font-weight: 500; line-height: 1.35; }
.card .eyebrow { font-size: 14px; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.badge { position: absolute; top: 10px; left: 10px; background: var(--accent); color: var(--accent-ink); font-size: 14px; font-weight: 700; padding: 1px 10px; border-radius: 6px; }
.wish { position: absolute; top: 6px; right: 6px; background: rgba(255, 255, 255, 0.88); border-radius: 50%; }
.wish.on { color: var(--accent); }
.wish.on svg { fill: currentColor; }
.wish-lg { position: static; background: none; border: 1px solid var(--muted); border-radius: 50%; width: 46px; height: 46px; }
.cartfab { position: absolute; right: 10px; bottom: 10px; width: 46px; height: 46px; border-radius: 50%; border: none; background: var(--gold); color: #211A16; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 6px rgba(33, 26, 22, 0.2); }
.cartfab:hover { color: #211A16; filter: brightness(1.06); }
.soldout { position: absolute; left: 10px; bottom: 10px; background: #FFFFFF; color: var(--muted); font-size: 14px; font-weight: 600; padding: 2px 10px; border-radius: 6px; }
.price { color: var(--accent); font-size: 19px; font-weight: 700; font-variant-numeric: tabular-nums; }
.price s { color: var(--muted); font-size: 15px; font-weight: 400; }
.price .from { color: var(--muted); font-size: 14px; font-weight: 500; }
.price-big { font-size: 30px; margin-top: 4px; }
.price-big s { font-size: 18px; }

/* Chips, search, sort */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 4px; }
.chips-center { justify-content: center; margin-top: 0; }
.chip { border: 1px solid var(--muted); border-radius: 999px; padding: 7px 20px; font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; }
.chip-soft { border-color: var(--line); color: var(--muted); }
.chip.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 700; }
.search { display: flex; gap: 10px; margin: 16px 0 4px; max-width: 560px; }
.search input { flex: 1 1 auto; min-width: 0; }
.sortbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; margin: 20px 0 16px; font-size: 15px; }
.sorts { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.sorts a { color: var(--muted); min-height: 32px; }
.sorts a.on { color: var(--accent); font-weight: 600; }

/* Product page */
.crumbs { padding: 16px var(--pad) 0; color: var(--muted); font-size: 15px; }
.crumbs a { color: var(--muted); text-decoration: underline; }
.pdp { display: flex; flex-wrap: wrap; gap: 32px; padding: 20px var(--pad) 24px; align-items: flex-start; }
.gallery { flex: 1 1 320px; min-width: 0; max-width: 620px; }
.gallery-main img, .gallery-main .ph { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.thumb { padding: 0; background: none; border: 2px solid var(--line); border-radius: 10px; cursor: pointer; overflow: hidden; width: 68px; height: 68px; }
.thumb.on { border-color: var(--accent); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.lead { color: var(--muted); font-size: 18px; }
.packs { border: none; padding: 0; margin: 12px 0 4px; display: flex; flex-wrap: wrap; gap: 10px; }
.packs legend { padding: 0; margin-bottom: 8px; font-weight: 600; }
.pack { position: relative; cursor: pointer; }
.pack input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pack span { display: flex; flex-direction: column; min-width: 96px; min-height: 56px; justify-content: center; padding: 6px 16px; border: 1px solid var(--line); border-radius: 12px; font-weight: 600; }
.pack small { color: var(--muted); font-weight: 400; font-size: 14px; }
.pack input:checked + span { border-color: var(--accent); background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--accent); }
.pack input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.pack.out span { border-style: dashed; color: var(--muted); }
.buy { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.qty { display: flex; border: 1px solid var(--muted); border-radius: 999px; height: 46px; }
.qty button { width: 44px; background: none; border: none; color: var(--text); font-size: 22px; cursor: pointer; }
.qty input { width: 48px; background: none; border: none; color: var(--text); text-align: center; font: inherit; font-weight: 600; -moz-appearance: textfield; padding: 0; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.points { list-style: none; padding: 16px 0 0; margin: 12px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.points li { display: flex; gap: 12px; align-items: center; color: var(--muted); }
.points svg { color: var(--accent); flex: none; width: 24px; height: 24px; }
.details { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
.details h2 { font-size: 24px; margin-bottom: 8px; }
.details p { color: var(--muted); margin-bottom: 10px; }

/* Band */
.band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin: 32px var(--pad) 0; padding: 32px clamp(18px, 4vw, 48px); background: var(--panel-2); border-radius: 18px; }
.band > div { flex: 1 1 340px; min-width: 0; }
.band h2 { margin-bottom: 8px; }

/* Forms */
input, select, textarea {
  font: inherit; color: var(--text); background: #FFFFFF;
  border: 1px solid var(--muted); border-radius: 10px; padding: 9px 12px; min-height: 46px; width: 100%;
}
input::placeholder { color: var(--muted); opacity: 0.8; }
.form { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
.form label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; }
.form small { font-weight: 400; }
.check { flex-direction: row !important; align-items: center; gap: 12px !important; font-weight: 400 !important; }
.check input { width: 22px; height: 22px; min-height: 0; flex: none; accent-color: var(--accent); }
.alert { background: var(--panel); border: 1px solid var(--danger); color: var(--text); border-radius: 6px; padding: 12px 16px; margin: 16px 0; }

/* Cart */
.cart-lines { display: flex; flex-direction: column; margin: 16px 0; }
.line { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line-img { flex: none; width: 84px; }
.line-img img, .line-img .ph { width: 84px; height: 84px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); }
.line-img .ph svg { width: 28px; height: 32px; }
.line-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.line-main a { font-weight: 600; }
.line-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.line .qty { height: 40px; }
.line .qty button { width: 38px; }
.link { background: none; border: none; color: var(--muted); font: inherit; font-size: 15px; text-decoration: underline; cursor: pointer; padding: 0; min-height: 40px; }
.note { color: var(--danger); font-size: 15px; }
.summary { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.summary div { display: flex; justify-content: space-between; gap: 16px; }
.summary .total { font-size: 21px; font-weight: 700; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; }
.summary .btn { margin-top: 10px; }

/* Text pages */
.prose { display: flex; flex-direction: column; gap: 12px; }
.prose h2 { font-size: 24px; margin-top: 12px; }
.prose p, .prose li { color: var(--muted); }
.prose ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.prose strong { color: var(--text); }

/* Footer */
.foot { background: var(--bg-deep); border-top: 1px solid var(--line); padding: 48px var(--pad) 24px; margin-top: 48px; }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 28px; }
.foot-grid > div { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.foot h2 { font-family: inherit; font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.foot a, .foot p { color: var(--muted); font-size: 15px; }
.foot a { min-height: 32px; }
.foot a:hover { color: var(--accent); }
.foot .btn { color: var(--accent); margin-top: 8px; min-height: 44px; font-size: 16px; }
.foot-logo { font-family: var(--display); font-size: 26px; font-weight: 600; line-height: 1.2; color: var(--accent); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

/* Toast and cookie notice */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 40; background: var(--text); color: var(--bg); padding: 10px 20px; border-radius: 6px; font-weight: 600; max-width: calc(100vw - 32px); text-align: center; }
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 30; max-width: 560px; margin: 0 auto; background: #FFFFFF; border: 1px solid var(--line); box-shadow: 0 6px 24px rgba(33, 26, 22, 0.14); border-radius: 12px; padding: 14px 16px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; font-size: 15px; }
.cookie p { flex: 1 1 260px; color: var(--muted); }
.cookie a { text-decoration: underline; }

/* Phone */
/* Phones and tablets: the menu folds behind the three-line button. */
@media (max-width: 1340px) {
  .menu-toggle { display: inline-flex; }
  /* The logo sits in the exact middle of the bar, whatever is on its left and right. */
  .logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
  .top { min-height: 86px; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .nav a { min-height: 48px; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: none; }
}
@media (max-width: 700px) {
  .top { padding: 8px 12px; gap: 4px; }
  .logo img { height: 60px; }
  .top { min-height: 76px; }
  .top .iconbtn { width: 40px; }
  .actions .iconbtn[aria-label="Wishlist"] { display: none; }
  .block { padding-top: 36px; }
}

@media (prefers-reduced-motion: no-preference) {
  .btn, .chip, .cartfab, .iconbtn { transition: filter 0.15s, color 0.15s, border-color 0.15s; }
}

/* Checkout and orders */
.form h2 { font-size: 24px; margin-top: 12px; }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.pays { border: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.pay { position: relative; flex-direction: row !important; align-items: center; gap: 12px !important; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 400 !important; }
.pay input { width: 22px; height: 22px; min-height: 0; flex: none; accent-color: var(--accent); }
.pay span { display: flex; flex-direction: column; }
.pay small { color: var(--muted); }
.pay:has(input:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: var(--panel); }
.pay:has(input:disabled) { opacity: 0.6; cursor: not-allowed; }
.btn-big { min-height: 54px; font-size: 19px; }
.btn-danger { color: var(--danger); border-color: var(--danger); }
.line-plain { align-items: flex-start; justify-content: space-between; }
.thanks { background: #E8F3EA; border: 1px solid #9CC7A5; color: #1D4B2A; border-radius: 12px; padding: 14px 16px; margin-bottom: 20px; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 0; margin: 20px 0; }
.steps li { border-top: 5px solid var(--line); padding-top: 8px; font-size: 15px; color: var(--muted); }
.steps li.done { border-color: var(--accent); color: var(--text); font-weight: 600; }
.orders { display: flex; flex-direction: column; }
.orderrow { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.orderrow span { display: flex; flex-direction: column; gap: 2px; }
.orderrow-end { align-items: flex-end; text-align: right; }
.tag { font-size: 13px; font-weight: 600; padding: 1px 10px; border-radius: 999px; background: var(--panel-2); color: var(--text); }
.tag-delivered { background: #E8F3EA; color: #1D4B2A; }
.tag-cancelled { background: #F9E4E1; color: var(--danger); }
.block.narrow > h2 { margin-top: 28px; font-size: 24px; }
.block.narrow > .row { margin-top: 24px; }
.coupon { display: flex; flex-direction: column; gap: 6px; }
.coupon label { font-weight: 600; }
.coupon .search { margin: 0; max-width: none; }
.coupon input { text-transform: uppercase; }
.coupon input[readonly] { background: var(--panel); border-style: dashed; }
.good, .summary .save { color: #1D6B34; font-weight: 600; }
.guestnote { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin: 12px 0 4px; color: var(--muted); }
.guestnote a, .thanks a, .form + p a { color: var(--accent); text-decoration: underline; }

/* Buttons on a product card */
.card { height: 100%; }
.card-buy, .card > .btn-card { margin-top: auto; }
.card-buy { display: flex; flex-direction: column; gap: 8px; }
.btn-card { min-height: 42px; padding: 6px 10px; font-size: 16px; width: 100%; }
.qty-card { display: flex; align-items: center; justify-content: space-between; min-height: 42px; border: 1px solid var(--accent); border-radius: 999px; overflow: hidden; }
.qty-card button { width: 48px; min-height: 42px; border: none; background: none; color: var(--accent); font: inherit; font-size: 24px; line-height: 1; cursor: pointer; }
.qty-card button:hover { background: var(--panel-2); }
.qty-card span { font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 700px) { .card-body h3 { font-size: 16px; } .price { font-size: 17px; } }

/* The bill (invoice): made for A4 paper */
.billpage { background: var(--panel-2); }
.billbar { display: flex; justify-content: space-between; gap: 12px; max-width: 860px; margin: 0 auto; padding: 16px; }
.bill { max-width: 860px; margin: 0 auto 40px; padding: clamp(16px, 4vw, 40px); background: #FFFFFF; color: #111111; font-size: 15px; line-height: 1.45; }
.bill h1 { font-size: 24px; margin-bottom: 4px; }
.bill h2 { font-size: 22px; margin-bottom: 8px; }
.bill h3 { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #555555; margin-bottom: 4px; }
.bill p { margin: 0; }
.bill-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding-bottom: 16px; border-bottom: 2px solid #111111; }
.bill-head > div { flex: 1 1 240px; min-width: 0; }
.bill-meta dl, .bill-sum dl { display: grid; grid-template-columns: auto auto; gap: 2px 20px; margin: 0; justify-content: start; }
.bill-meta dt, .bill-sum dt { color: #555555; }
.bill-meta dd, .bill-sum dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.bill-to { display: flex; flex-wrap: wrap; gap: 20px; padding: 16px 0; }
.bill-to > div { flex: 1 1 240px; min-width: 0; }
.bill-scroll { overflow-x: auto; }
.bill-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.bill-table th, .bill-table td { border: 1px solid #BBBBBB; padding: 6px 8px; text-align: left; vertical-align: top; }
.bill-table th { background: #F2F2F2; font-size: 13px; }
.bill-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bill-table small { color: #555555; }
.bill-sum { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding: 16px 0; }
.bill-words { flex: 1 1 260px; }
.bill-sum dl { justify-content: end; }
.bill-sum dd { text-align: right; }
.bill-sum .grand { font-size: 19px; font-weight: 700; color: #111111; border-top: 2px solid #111111; padding-top: 6px; margin-top: 4px; }
.bill-foot { border-top: 1px solid #BBBBBB; padding-top: 12px; color: #555555; font-size: 13px; }
@page { size: A4; margin: 12mm; }
@media print {
  .noprint { display: none !important; }
  .billpage { background: #FFFFFF; }
  .bill { max-width: none; margin: 0; padding: 0; }
  .bill-scroll { overflow: visible; }
  .bill-table { min-width: 0; }
}

/* Reviews */
.stars { color: #E0A106; letter-spacing: 1px; white-space: nowrap; }
.stars-off { color: #DDD3C6; }
.rating { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 14px; color: var(--muted); }
.rating-link { justify-content: flex-start; font-size: 16px; margin: 4px 0 8px; }
.rating-big { justify-content: flex-start; font-size: 18px; color: var(--text); margin-bottom: 16px; }
.rating-big .stars { font-size: 24px; }
.reviewlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.review { border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.review p { overflow-wrap: anywhere; }
.review-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.reviewbox { display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin-top: 14px; }
.reviewbox label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; }
.reviewbox .btn { align-self: flex-start; }
/* Star picker: five radio buttons shown right-to-left so "this star and all before it" light up. */
.starpick { border: none; padding: 0; margin: 0; display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.starpick input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.starpick label { font-size: 38px; line-height: 1; color: #DDD3C6; cursor: pointer; padding: 2px 4px; }
.starpick input:checked ~ label, .starpick label:hover, .starpick label:hover ~ label { color: #E0A106; }
.starpick input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* Homepage videos: a row of upright clips to swipe through */
.vstrip { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px var(--pad) 12px; margin: 0 calc(-1 * var(--pad)); scrollbar-width: thin; }
.vcard { flex: 0 0 auto; width: min(62vw, 240px); margin: 0; scroll-snap-align: center; display: flex; flex-direction: column; gap: 8px; }
.vplay, .vcard video { width: 100%; aspect-ratio: 9 / 16; border-radius: 18px; background: #1B1512; display: block; }
.vplay { position: relative; padding: 0; border: none; overflow: hidden; cursor: pointer; }
.vplay img { width: 100%; height: 100%; object-fit: cover; }
.vcard video { object-fit: cover; }
.vicon { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: rgba(255, 255, 255, 0.9); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); }
.vicon::after { content: ""; position: absolute; left: 23px; top: 17px; border-style: solid; border-width: 12px 0 12px 18px; border-color: transparent transparent transparent var(--accent); }
.vcard figcaption { font-size: 15px; text-align: center; color: var(--muted); }
.vcard figcaption a { color: var(--accent); text-decoration: underline; display: block; }
@media (min-width: 700px) { .vstrip { justify-content: safe center; } }
