/* =====================================================================
   GG shared component styles.
   Each option sets these variables on :root and adds its own look:
   --gg-bg --gg-fg --gg-muted --gg-line --gg-surface --gg-surface-2
   --gg-accent --gg-accent-fg --gg-radius --gg-display --gg-body
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--gg-bg); color: var(--gg-fg); font-family: var(--gg-body); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gg-accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
svg { width: 1em; height: 1em; flex: none; }
/* mounts never force their grid/flex parent wider than the screen */
[data-gg] { min-width: 0; max-width: 100%; }

/* ---------- placeholder markers ---------- */
.ph-tag { position: absolute; z-index: 3; left: 8px; top: 8px; padding: 2px 7px; border-radius: 99px; font: 600 9px/1.6 var(--gg-body); letter-spacing: .08em; text-transform: uppercase; background: rgba(0,0,0,.55); color: #fff; pointer-events: none; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.ph-note { margin: 14px 0 0; font-size: 12px; color: var(--gg-muted); font-style: italic; }
.ph-inline { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 0 6px; border: 1px dashed currentColor; border-radius: 99px; font-size: 10px; font-style: normal; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .7; }

/* ---------- services (structure only; options style the look) ---------- */
.svc { position: relative; }
.svc-media { position: relative; display: block; overflow: hidden; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; }
.svc-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.svc-cta { background: none; border: 0; padding: 0; text-decoration: none; }

/* ---------- price list ---------- */
.pl-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 24px; }
.pl-note { margin: 0; font-size: 13px; color: var(--gg-muted); max-width: 46ch; }
.pl-toggle { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border: 1px solid var(--gg-line); border-radius: 99px; background: var(--gg-surface); isolation: isolate; }
.pl-mode { position: relative; z-index: 1; border: 0; background: none; padding: 10px 18px; border-radius: 99px; font-size: 14px; font-weight: 600; white-space: nowrap; color: var(--gg-muted); transition: color .3s; }
.pl-mode small { font-weight: 500; opacity: .75; }
.pl-mode[aria-pressed="true"] { color: var(--gg-accent-fg); }
.pl-thumb { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 99px; background: var(--gg-accent); transition: transform .45s cubic-bezier(.7,0,.2,1); }
.pl[data-mode="home"] .pl-thumb { transform: translateX(100%); }
.pl-cat { border-top: 1px solid var(--gg-line); }
.pl-cat:last-child { border-bottom: 1px solid var(--gg-line); }
.pl-h { margin: 0; font: inherit; }
.pl-head { width: 100%; display: flex; align-items: center; gap: 12px; padding: 18px 0; background: none; border: 0; text-align: left; }
.pl-cat-name { font-family: var(--gg-display); font-size: clamp(20px, 3vw, 28px); line-height: 1.1; }
.pl-count { margin-left: auto; font-size: 12px; color: var(--gg-muted); letter-spacing: .04em; }
.pl-icon { position: relative; width: 28px; height: 28px; border: 1px solid var(--gg-line); border-radius: 50%; flex: none; transition: transform .4s, background .3s; }
.pl-icon::before, .pl-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .4s; }
.pl-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.pl-cat.is-open .pl-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.pl-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s cubic-bezier(.7,0,.2,1); }
.pl-cat.is-open .pl-body { grid-template-rows: 1fr; }
.pl-inner { overflow: hidden; min-height: 0; }
.pl-items { list-style: none; margin: 0; padding: 0 0 20px; }
.pl-item { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; }
.pl-name { flex: 0 1 auto; }
.pl-dots { flex: 1 1 24px; min-width: 24px; border-bottom: 2px dotted var(--gg-line); transform: translateY(-4px); }
.pl-price { flex: none; font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.pl-price.is-na { font-weight: 400; color: var(--gg-muted); font-size: .9em; }
.pl-price.is-flip { animation: plFlip .5s cubic-bezier(.2,.8,.2,1); }
@keyframes plFlip { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.pl-book { flex: none; border: 1px solid var(--gg-line); background: none; border-radius: 99px; padding: 3px 10px; font-size: 12px; font-weight: 600; color: var(--gg-muted); transition: background .25s, color .25s, border-color .25s; }
.pl-book:hover { background: var(--gg-accent); color: var(--gg-accent-fg); border-color: var(--gg-accent); }
@media (max-width: 480px) {
  .pl-mode { padding: 9px 12px; font-size: 13px; }
  .pl-item { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 4px 10px; }
  .pl-dots { display: none; }
  .pl-book { padding: 4px 9px; font-size: 11px; }
}

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat-num { margin: 0; font-family: var(--gg-display); font-size: clamp(44px, 7vw, 84px); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.stat-label { margin: 10px 0 0; font-size: 14px; color: var(--gg-muted); max-width: 22ch; }

/* ---------- before / after carousel ---------- */
.ba { position: relative; }
.ba-track { display: flex; gap: 22px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding: 28px 6vw 34px; margin: 0 -6vw; scrollbar-width: none; cursor: grab; }
.ba-track::-webkit-scrollbar { display: none; }
.ba-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.ba-track.is-dragging * { user-select: none; pointer-events: none; }
.ba-card { flex: 0 0 clamp(270px, 78vw, 360px); scroll-snap-align: center; display: flex; flex-direction: column; gap: 12px; padding: 16px 16px 20px; background: var(--gg-surface); color: var(--gg-fg); border-radius: var(--gg-radius); box-shadow: 0 18px 40px -22px rgba(0,0,0,.45); transform: rotate(-2deg); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.ba-card:nth-child(even) { transform: rotate(1.6deg); }
.ba-card:hover { transform: rotate(0) translateY(-4px); }
.ba-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ba-fig { position: relative; margin: 0; aspect-ratio: 3 / 4; overflow: hidden; border-radius: calc(var(--gg-radius) * .6); background: var(--gg-surface-2); }
.ba-fig img { width: 100%; height: 100%; object-fit: cover; }
.ba-label { position: absolute; left: 6px; bottom: 6px; padding: 3px 8px; border-radius: 99px; font-size: 11px; font-weight: 600; background: rgba(255,255,255,.92); color: #111; }
.ba-ring { position: absolute; left: 50%; top: 30%; width: 46%; aspect-ratio: 1; border: 2px dashed rgba(255,255,255,.85); border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.ba-quote-card { justify-content: center; }
.ba-big-quote { margin: 0; font-family: var(--gg-display); font-size: 96px; line-height: .6; height: 48px; color: var(--gg-accent); }
.ba-stars { margin: 4px 0 0; color: var(--gg-accent); letter-spacing: 3px; font-size: 15px; }
.ba-quote { margin: 0; font-family: var(--gg-display); font-size: 18px; line-height: 1.35; }
.ba-quote-card .ba-quote { font-size: 22px; }
.ba-name { margin: auto 0 0; font-size: 13px; font-weight: 600; }
.ba-name span { font-weight: 400; color: var(--gg-muted); }
.ba-controls { display: flex; align-items: center; gap: 20px; }
.ba-progress { flex: 1; height: 2px; background: var(--gg-line); border-radius: 2px; overflow: hidden; }
.ba-bar { display: block; height: 100%; width: 20%; background: currentColor; transition: width .2s linear; }
.ba-arrows { display: flex; gap: 10px; }
.ba-arrow { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid currentColor; background: none; font-size: 18px; transition: background .25s, color .25s, opacity .25s; }
.ba-arrow:hover:not(:disabled) { background: var(--gg-fg); color: var(--gg-bg); }
.ba-arrow:disabled { opacity: .3; cursor: default; }

/* ---------- compare slider ---------- */
.cmp { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--gg-radius); background: var(--gg-surface-2); user-select: none; touch-action: pan-y; }
.cmp-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.cmp-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.cmp-knob { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; gap: 0; background: #fff; color: #111; font-size: 15px; box-shadow: 0 6px 20px rgba(0,0,0,.3); }
.cmp:not(.is-touched) .cmp-knob { animation: cmpHint 2.4s ease-in-out 1.2s 2; }
@keyframes cmpHint { 0%,100% { transform: translateX(0); } 30% { transform: translateX(-10px); } 70% { transform: translateX(10px); } }
.cmp-label { position: absolute; top: 14px; padding: 4px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; background: rgba(0,0,0,.6); color: #fff; pointer-events: none; }
.cmp-label-b { left: 14px; } .cmp-label-a { right: 14px; }
.cmp .ph-tag { top: auto; bottom: 10px; }
.cmp-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.cmp-range:focus-visible + .ph-tag, .cmp:focus-within .cmp-knob { outline: 3px solid var(--gg-accent); outline-offset: 2px; }

/* ---------- shop ---------- */
.shop-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
@media (min-width: 900px) { .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 24px; } }
.prod { display: flex; flex-direction: column; }
.prod-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--gg-surface-2); border-radius: var(--gg-radius); }
.prod-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.prod:hover .prod-media img { transform: scale(1.05); }
.prod-body { display: flex; flex-direction: column; flex: 1; padding-top: 12px; }
.prod-name { margin: 0; font-family: var(--gg-display); font-size: clamp(16px, 2vw, 21px); line-height: 1.2; }
.prod-detail { margin: 4px 0 0; font-size: 13px; color: var(--gg-muted); }
.prod-price { margin: 8px 0 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.prod-cta { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 14px; border: 1px solid var(--gg-fg); border-radius: var(--gg-radius); font-size: 14px; font-weight: 600; text-decoration: none; text-align: center; transition: background .25s, color .25s; }
.prod-cta:hover { background: var(--gg-fg); color: var(--gg-bg); }
.prod-cta svg { font-size: 18px; }
/* focus points set in the admin's Photos screen (GG.focusStyle): they beat the designed crops on purpose */
img[style*="--op:"] { object-position: var(--op) !important; }
@media (max-width: 700px) { img[style*="--opm:"] { object-position: var(--opm) !important; } }
/* sold out (set in the admin) */
.prod-badge { position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: 99px; background: rgba(13,12,10,.82); color: var(--gg-fg); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.prod.is-soldout .prod-media img { filter: grayscale(.7) brightness(.7); }
.prod.is-soldout .prod-price { color: var(--gg-muted); }
@media (max-width: 420px) { .prod-cta { font-size: 13px; padding: 10px 8px; } .prod-cta svg { display: none; } }

/* ---------- contact ---------- */
.contact { display: grid; gap: 28px; }
@media (min-width: 900px) { .contact { grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: stretch; } }
.contact-map { position: relative; min-height: 320px; border-radius: var(--gg-radius); overflow: hidden; background: var(--gg-surface-2); }
.contact-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.contact-info { display: grid; gap: 26px; align-content: start; }
@media (min-width: 560px) and (max-width: 899px) { .contact-info { grid-template-columns: 1fr 1fr; } }
.ci-h { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gg-muted); }
.ci-h svg { font-size: 18px; color: var(--gg-accent); }
.ci p { margin: 0 0 6px; }
.ci-link { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ci-hours { margin: 0; }
.ci-hours div { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; border-bottom: 1px solid var(--gg-line); }
.ci-hours dt, .ci-hours dd { margin: 0; }
.ci-wa { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; padding: 10px 16px; border-radius: 99px; background: #25d366; color: #0b2e17; font-weight: 700; font-size: 14px; text-decoration: none; }
.ci-wa svg { font-size: 18px; }

/* ---------- booking ---------- */
.bk { --bk-gap: 14px; position: relative; min-width: 0; max-width: 100%; }
.bk-form, .bk-days, .bk-cats, .bk-list { min-width: 0; max-width: 100%; }
.bk-steps { list-style: none; display: flex; gap: 6px; margin: 0 0 22px; padding: 0; counter-reset: s; }
.bk-step { flex: 1; display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--gg-muted); }
.bk-step::before { content: ""; height: 3px; border-radius: 3px; background: var(--gg-line); transition: background .4s; }
.bk-step.is-done::before, .bk-step.is-active::before { background: var(--gg-accent); }
.bk-step.is-active { color: var(--gg-fg); font-weight: 700; }
.bk-step-n { display: none; }
@media (max-width: 520px) { .bk-step-t { display: none; } .bk-step.is-active .bk-step-t { display: inline; } }
.bk-line { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 18px; padding: 10px 14px; border-radius: var(--gg-radius); background: var(--gg-surface); font-size: 14px; }
.bk-line button, .bk-again { background: none; border: 0; padding: 0; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; font-size: 13px; color: var(--gg-fg); }
.bk-form { margin: 0; }
.bk-panel { border: 0; margin: 0; padding: 0; min-width: 0; }
.bk-title { display: block; padding: 0; margin: 0 0 16px; font-family: var(--gg-display); font-size: clamp(22px, 3.2vw, 32px); line-height: 1.15; font-weight: inherit; outline: none; }
.bk-cats { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 12px; scrollbar-width: thin; }
.bk-chip { flex: none; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--gg-line); background: none; font-size: 14px; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.bk-chip[aria-pressed="true"] { background: var(--gg-fg); color: var(--gg-bg); border-color: var(--gg-fg); }
.bk-list { display: grid; gap: 8px; }
.bk-row, .bk-opt, .bk-day, .bk-time { position: relative; display: block; cursor: pointer; }
.bk-row input, .bk-opt input, .bk-day input, .bk-time input { position: absolute; opacity: 0; pointer-events: none; }
.bk-row-box { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 12px 16px; border: 1px solid var(--gg-line); border-radius: var(--gg-radius); transition: border-color .2s, background .2s, box-shadow .2s; }
.bk-row-n small { display: block; font-size: 11px; color: var(--gg-muted); }
.bk-row-p { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.bk-row input:checked + .bk-row-box, .bk-opt input:checked + .bk-opt-box { border-color: var(--gg-accent); box-shadow: inset 0 0 0 1px var(--gg-accent); background: var(--gg-surface); }
.bk-row input:focus-visible + .bk-row-box, .bk-opt input:focus-visible + .bk-opt-box, .bk-day input:focus-visible + span, .bk-time input:focus-visible + span { outline: 2px solid var(--gg-accent); outline-offset: 2px; }
.bk-where { display: grid; gap: 10px; }
@media (min-width: 600px) { .bk-where { grid-template-columns: 1fr 1fr; } }
.bk-opt-box { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 18px; border: 1px solid var(--gg-line); border-radius: var(--gg-radius); transition: border-color .2s, background .2s, box-shadow .2s; }
.bk-opt-t { font-weight: 700; font-size: 17px; }
.bk-opt-d { font-size: 13px; color: var(--gg-muted); }
.bk-opt-p { margin-top: 8px; font-weight: 700; font-variant-numeric: tabular-nums; }
.bk-opt.is-na { opacity: .45; cursor: not-allowed; }
.bk-field { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
.bk-field label { font-size: 13px; font-weight: 600; }
.bk-field small { font-weight: 400; color: var(--gg-muted); }
.bk-field input, .bk-field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--gg-line); border-radius: var(--gg-radius); background: var(--gg-surface); color: var(--gg-fg); font-size: 16px; }
.bk-field input:focus, .bk-field textarea:focus { outline: none; border-color: var(--gg-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gg-accent) 25%, transparent); }
.bk-grid { display: grid; gap: 0 16px; }
@media (min-width: 600px) { .bk-grid { grid-template-columns: 1fr 1fr; } }
.bk-grid .bk-field:first-child, .bk-grid .bk-field:nth-child(2) { margin-top: 0; }
@media (max-width: 599px) { .bk-grid .bk-field:nth-child(2) { margin-top: 14px; } }
.bk-days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; margin: 0 -2px 14px; scrollbar-width: thin; }
.bk-day { flex: none; }
.bk-day span { display: flex; flex-direction: column; align-items: center; width: 64px; padding: 10px 4px; border: 1px solid var(--gg-line); border-radius: var(--gg-radius); text-align: center; transition: background .2s, color .2s, border-color .2s; }
.bk-day b { font-size: 12px; font-weight: 600; }
.bk-day em { font-style: normal; font-family: var(--gg-display); font-size: 24px; line-height: 1.2; }
.bk-day i { font-style: normal; font-size: 11px; color: var(--gg-muted); }
.bk-day input:checked + span { background: var(--gg-accent); color: var(--gg-accent-fg); border-color: var(--gg-accent); }
.bk-day input:checked + span i { color: inherit; }
.bk-day.is-closed { cursor: not-allowed; opacity: .4; }
.bk-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; }
.bk-time span { display: block; padding: 11px 6px; border: 1px solid var(--gg-line); border-radius: var(--gg-radius); text-align: center; font-size: 14px; font-variant-numeric: tabular-nums; transition: background .2s, color .2s, border-color .2s; }
.bk-time input:checked + span { background: var(--gg-accent); color: var(--gg-accent-fg); border-color: var(--gg-accent); }
.bk-time.is-past { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
/* anti-bot field: off screen for people, still in the form for bots */
.bk-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* fully booked hour (slot_counts) */
.bk-time.is-full { opacity: .45; cursor: not-allowed; }
.bk-time.is-full small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.bk-hint { margin: 0; color: var(--gg-muted); font-size: 14px; }
.bk-sum { margin: 0 0 20px; border-top: 1px solid var(--gg-line); }
.bk-sum div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--gg-line); }
.bk-sum dt { color: var(--gg-muted); font-size: 14px; }
.bk-sum dd { margin: 0; text-align: right; font-weight: 600; }
.bk-sum dd small { font-weight: 400; color: var(--gg-muted); }
.bk-sum-dep dt, .bk-sum-dep dd { color: var(--gg-fg); font-weight: 800; font-size: 17px; }
.bk-pay { display: grid; gap: 10px; }
@media (min-width: 600px) { .bk-pay { grid-template-columns: 1fr 1fr; } }
.bk-btn { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 56px; padding: 10px 18px; border-radius: var(--gg-radius); border: 1px solid transparent; font-weight: 700; font-size: 16px; text-decoration: none; text-align: center; transition: transform .2s, background .2s, filter .2s; }
.bk-btn:active { transform: scale(.98); }
.bk-btn small { font-weight: 500; font-size: 11px; opacity: .8; letter-spacing: .04em; }
.bk-btn-pay { background: var(--gg-accent); color: var(--gg-accent-fg); border: 0; }
.bk-btn-pay:hover { filter: brightness(1.08); }
.bk-btn-wa { flex-direction: row; gap: 10px; background: #25d366; color: #0b2e17; }
.bk-btn-wa svg { font-size: 20px; }
.bk-fine { margin: 14px 0 0; font-size: 12px; color: var(--gg-muted); }
.bk-testnote { display: inline-block; margin-left: 4px; padding: 0 6px; border-radius: 4px; background: color-mix(in srgb, var(--gg-accent) 18%, transparent); color: var(--gg-fg); font-weight: 600; }
.bk-msg { min-height: 1.5em; margin: 14px 0 0; font-size: 14px; }
.bk-msg:empty { min-height: 0; margin: 0; }
.bk-msg.is-error { color: #d0453a; font-weight: 600; }
.bk-msg.is-warn { padding: 12px 14px; border-radius: var(--gg-radius); background: color-mix(in srgb, var(--gg-accent) 14%, var(--gg-surface)); border: 1px dashed var(--gg-accent); color: var(--gg-fg); }
.bk-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }
.bk-back { min-height: 50px; padding: 0 20px; border: 1px solid var(--gg-line); border-radius: var(--gg-radius); background: none; font-weight: 600; }
.bk-next { margin-left: auto; min-height: 50px; padding: 0 28px; border: 0; border-radius: var(--gg-radius); background: var(--gg-fg); color: var(--gg-bg); font-weight: 700; }
.bk-done-text code { font-size: .9em; }
.bk-done .bk-btn { margin: 8px 0 16px; width: 100%; max-width: 380px; }
.bk-done .bk-again { display: block; }

/* ---------- design switcher ---------- */
.optnav { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.optnav a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 32px; height: 32px; padding: 0 10px; border-radius: 99px; border: 1px solid currentColor; font-size: 13px; font-weight: 600; text-decoration: none; opacity: .75; transition: opacity .2s, background .2s, color .2s; }
.optnav a:hover { opacity: 1; }
.optnav a.is-current { opacity: 1; background: var(--gg-accent); color: var(--gg-accent-fg); border-color: var(--gg-accent); }

/* ---------- mobile sticky book bar ---------- */
.gg-sticky { position: fixed; z-index: 90; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: flex; gap: 8px; transform: translateY(140%); transition: transform .45s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.gg-sticky.is-shown { transform: none; pointer-events: auto; }
.gg-sticky-book { flex: 1; display: grid; place-items: center; min-height: 54px; border-radius: var(--gg-radius); background: var(--gg-accent); color: var(--gg-accent-fg); font-weight: 800; letter-spacing: .02em; text-decoration: none; box-shadow: 0 12px 30px -10px rgba(0,0,0,.5); }
.gg-sticky-wa { width: 54px; display: grid; place-items: center; border-radius: var(--gg-radius); background: #25d366; color: #0b2e17; font-size: 24px; box-shadow: 0 12px 30px -10px rgba(0,0,0,.5); }
@media (min-width: 900px) { .gg-sticky { display: none; } }

/* ---------- custom cursor (desktop, set up by motion.js) ---------- */
.gg-cursor { position: fixed; z-index: 9999; left: 0; top: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--gg-cursor, var(--gg-accent)); pointer-events: none; display: grid; place-items: center; mix-blend-mode: var(--gg-cursor-blend, normal); transition: width .35s cubic-bezier(.2,.8,.2,1), height .35s cubic-bezier(.2,.8,.2,1), margin .35s cubic-bezier(.2,.8,.2,1), opacity .3s; opacity: 0; }
.gg-cursor span { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gg-accent-fg); opacity: 0; transition: opacity .2s; }
.gg-cursor.is-on { opacity: 1; }
.gg-cursor.is-big { width: 84px; height: 84px; margin: -42px 0 0 -42px; }
.gg-cursor.is-big span { opacity: 1; }
.gg-cursor.is-link { width: 36px; height: 36px; margin: -18px 0 0 -18px; opacity: .35; }

/* ---------- split text helpers (motion.js) ---------- */
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.swi { display: inline-block; will-change: transform; }
.sc { display: inline-block; will-change: transform; }

/* ---------- preloader safety: hides itself if JS never runs ---------- */
.preloader { animation: ggPreHide 0s linear 4s forwards; }
@keyframes ggPreHide { to { visibility: hidden; opacity: 0; pointer-events: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .preloader { display: none !important; }
}
