h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0 0 .4em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: 1.7rem; font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ocean); outline-offset: 3px; border-radius: 10px; }
.icon { width: 22px; height: 22px; flex: none; }
.muted { color: var(--ink-soft); }
.c-cherry { --c: var(--cherry); } .c-tangerine { --c: var(--tangerine); } .c-sun { --c: #f2b300; }
.c-grass { --c: var(--grass); } .c-ocean { --c: var(--ocean); } .c-sky { --c: var(--sky); }

/* ---------- Site header (same as the public site) ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 2px solid var(--line); }
.site-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.site-logo img { width: 150px; height: auto; display: block; }
.site-menu { display: flex; align-items: center; gap: 4px; }
.site-menu a:not(.btn) { font-weight: 600; font-size: .98rem; text-decoration: none; padding: 8px 12px; border-radius: 10px; white-space: nowrap; transition: background .15s; }
.site-menu a:not(.btn):hover { background: var(--mist); }
/* Submenus (same as the site's .nav-group): a dropdown on desktop, an expandable group in the burger menu. */
.site-menu .nav-group { position: relative; }
.site-menu .nav-toggle { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; color: inherit; cursor: pointer;
  font: inherit; font-weight: 600; font-size: .98rem; padding: 8px 12px; border-radius: 10px; white-space: nowrap; transition: background .15s; }
.site-menu .nav-toggle:hover, .site-menu .nav-toggle[aria-expanded='true'] { background: var(--mist); }
.site-menu .nav-toggle .icon { width: 18px; height: 18px; transition: rotate .2s; }
.site-menu .nav-toggle[aria-expanded='true'] .icon { rotate: 180deg; }
.site-menu .nav-sub { display: none; position: absolute; top: 100%; left: 0; z-index: 10; min-width: 220px; padding: 8px; border-radius: 20px;
  background: #fff; border: 2px solid var(--line); box-shadow: 0 12px 28px rgb(20 33 61 / .12); }
.site-menu .nav-toggle[aria-expanded='true'] + .nav-sub { display: grid; gap: 2px; }
.site-menu .nav-sub a:not(.btn) { border-radius: 14px; }
.site-menu .site-cta { margin-left: 8px; white-space: nowrap; }
.site-burger { display: none; border: 1px solid var(--ctl-line); background: #fff; color: var(--ink); width: 48px; height: 48px; border-radius: 10px; place-items: center; cursor: pointer; }
.site-burger .i-close { display: none; }
.site-burger[aria-expanded='true'] .i-open { display: none; }
.site-burger[aria-expanded='true'] .i-close { display: block; }
@media (max-width: 1260px) { .site-bar { gap: 12px; } .site-menu a:not(.btn), .site-menu .nav-toggle { padding: 8px 7px; font-size: .94rem; } }
@media (max-width: 1160px) {
  .site-burger { display: grid; }
  .site-bar { min-height: 72px; }
  .site-logo img { width: 128px; }
  .site-menu { position: fixed; inset: 72px 0 0 0; flex-direction: column; align-items: stretch; gap: 6px; padding: 20px clamp(16px, 4vw, 32px) 40px;
    background: #fff; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s; }
  .site-menu.open { transform: none; visibility: visible; }
  .site-menu a:not(.btn), .site-menu .nav-toggle { font-family: var(--display); font-size: 1.5rem; font-weight: 700; padding: 10px 16px; }
  .site-menu .nav-toggle { width: 100%; justify-content: space-between; }
  .site-menu .nav-sub { position: static; min-width: 0; padding: 4px 0 4px 16px; border: 0; border-radius: 0; box-shadow: none; }
  .site-menu .nav-sub a:not(.btn) { font-size: 1.25rem; }
  .site-menu .site-cta { margin: 16px 0 0; justify-content: center; }
}
body.menu-open { overflow: hidden; }

/* PT / EN segmented switch: copy of the marketing site header (.lang in allegrolandia-astro Header.astro); keep them equal. */
.site-lang { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; flex: none; height: 48px; padding: 3px; border-radius: 10px; background: #fff; border: 1px solid var(--ctl-line);
  font-family: var(--body); font-weight: 600; font-size: 15px; line-height: 1; box-sizing: border-box; }
.site-lang a { position: relative; z-index: 1; display: grid; place-items: center; min-width: 44px; height: 40px; padding: 0 10px; border-radius: 8px; text-decoration: none; color: var(--ink-soft); transition: color .2s; }
.site-lang a:hover { color: var(--ink); }
.site-lang a[aria-current] { color: var(--ocean); }
.site-lang-knob { position: absolute; z-index: 0; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 8px;
  background: rgb(23 105 170 / .08); border: 1px solid var(--ocean); box-sizing: border-box; transition: translate .45s var(--spring); }
.site-lang.is-en .site-lang-knob { translate: 100% 0; }
@media (max-width: 1160px) { .site-lang { margin-left: auto; } }
@media (prefers-reduced-motion: reduce) { .site-lang-knob { transition: none; } }

/* ---------- Site footer (same as the public site) ---------- */
/* ---------- Footer (mirrors the public site's Footer.astro) ---------- */
.site-footer { position: relative; background: var(--ink); color: #c9d3e3; padding-bottom: 26px; margin-top: 60px; line-height: 1.6; }
.site-footer a:not(.btn):not(.site-book) { color: inherit; }
.site-footer a:not(.btn):not(.site-book):hover { color: var(--sun); }
.site-kid { position: absolute; right: max(4%, calc(50% - 590px)); bottom: 100%; width: 150px; height: auto; pointer-events: none; }
.site-balls { display: flex; justify-content: center; gap: clamp(6px, 1.6vw, 18px); transform: translateY(-50%); }
.site-balls span { width: clamp(18px, 3vw, 30px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 32% 30%, rgb(255 255 255 / .55), transparent 40%), var(--c); }
.site-cols { display: grid; grid-template-columns: 1.35fr .9fr 1fr 1.25fr; gap: 44px; padding-top: 30px; padding-bottom: 40px; }
.site-flogo { width: 180px; height: auto; margin-bottom: 16px; }
.site-about p { margin: 0 0 18px; max-width: 34ch; }
.site-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.site-ctas .site-btn--line { --bg: transparent; --bg-hover: rgb(255 255 255 / .06); --bg-active: rgb(255 255 255 / .1); --fg: #fff; --bd: rgb(255 255 255 / .28); box-shadow: none; }
.site-ctas .site-btn--line:hover { --bd: rgb(255 255 255 / .5); }
.site-footer .btn:focus-visible { box-shadow: 0 0 0 3px rgb(255 255 255 / .55); }
.site-footer h4 { position: relative; color: #fff; font-family: var(--display); font-size: 1.15rem; margin: 0 0 16px; padding-left: 20px; }
.site-footer h4::before { content: ""; position: absolute; left: 0; top: .42em; width: 11px; height: 11px; border-radius: 50%; background: var(--dot); box-shadow: 0 0 0 4px color-mix(in srgb, var(--dot) 22%, transparent); }
.site-footer nav:not(.site-legal-links) a { display: block; text-decoration: none; padding: 3px 0; }
.site-hours { margin: 0 0 12px; display: grid; }
.site-hours strong { color: #fff; }
.site-line { display: flex; gap: 12px; text-decoration: none; margin-bottom: 14px; overflow-wrap: anywhere; }
.site-line u { text-underline-offset: 3px; font-size: .92rem; color: var(--sun); }
.site-ic { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 11px; background: var(--c); color: #fff; }
.site-ic.c-sky, .site-ic.c-grass { color: var(--ink); }
.site-ic .icon { width: 18px; height: 18px; }
.site-street { white-space: nowrap; }
.site-social { display: flex; gap: 10px; margin-top: 18px; }
.site-social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: rgb(255 255 255 / .08); color: #fff; transition: transform .25s var(--spring), background .2s; }
.site-social a:hover { background: var(--sun); color: var(--ink) !important; transform: translateY(-3px) rotate(-6deg); }
.site-social .icon { width: 20px; height: 20px; }
.site-legal-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding-top: 22px; padding-bottom: 22px; border-top: 1px solid rgb(255 255 255 / .12); }
.site-legal-links { display: flex; flex-wrap: wrap; gap: 6px; }
.site-legal-links a { padding: 7px 12px; border-radius: 10px; background: rgb(255 255 255 / .06); font-size: .88rem; font-weight: 700; text-decoration: none; }
.site-legal-links a:hover { background: rgb(255 255 255 / .12); }
.site-legal-links a.site-book { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--ink); font-weight: 800; }
.site-legal-links a.site-book:hover { background: #fff; color: var(--cherry); }
.site-book .icon { width: 18px; height: 18px; }
.site-legal { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: .86rem; color: #93a0b8; }
/* Footer accepted payments: same rules as the public site's PayLogos.astro */
.paylogos { display: grid; justify-items: center; gap: 10px; padding-top: 4px; padding-bottom: 22px; text-align: center; }
.paylogos-h { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 14px; margin: 0; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #93a0b8; }
.paylogos-sec { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; letter-spacing: .02em; text-transform: none; color: #7f8ca5; }
.paylogos-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 22px; margin: 0; padding: 0; list-style: none; }
.paylogos-row li { display: grid; place-items: center; height: 30px; padding: 0 6px; color: #c3cde0; opacity: .85; transition: opacity .2s, color .2s; }
.paylogos-row li:hover { opacity: 1; color: #fff; }
.paylogos-row svg { display: block; }
@media (max-width: 360px) { .paylogos-row { display: grid; grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 1000px) { .site-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .site-kid { width: 110px; right: 12px; } }
@media (max-width: 560px) { .site-cols { grid-template-columns: 1fr; gap: 30px; } .site-footer { padding-bottom: 110px; margin-top: 60px; } .site-kid { display: none; } }

/* same width as the public site's .wrap; padding-inline only, so it never wipes the footer's vertical padding */
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }
main.wrap { padding-top: clamp(28px, 5vw, 56px); padding-bottom: 80px; }

/* ---------- Layout ---------- */
.layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
@media (max-width: 900px) { .layout { grid-template-columns: 1fr; } }
.panel {
  background: #fff; border: 3px solid #fff; border-radius: 30px; padding: clamp(20px, 3.5vw, 36px);
  box-shadow: 0 20px 40px rgb(20 33 61 / .08);
}
.panel + .panel { margin-top: 22px; }
.field { margin-bottom: 22px; }
.field > label, .label { display: block; font-weight: 600; margin-bottom: 6px; }
.hint { font-size: .92rem; color: var(--ink-soft); margin-top: 6px; }
.err { color: var(--cherry); font-weight: 700; font-size: .95rem; margin-top: 8px; display: flex; gap: 6px; align-items: center; }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=date], input[type=search], input[type=password], textarea, select {
  width: 100%; height: var(--ctl-h); font: inherit; font-size: 15px; color: var(--ink); padding: 0 12px; border-radius: var(--ctl-r);
  border: 1px solid var(--ctl-line); background: #fff; transition: border-color .15s, box-shadow .15s;
}
input::placeholder, textarea::placeholder { color: var(--ctl-ph); }
select { appearance: none; padding-right: 44px; cursor: pointer; text-overflow: ellipsis;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%235b6474' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 7.5 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 16px center / 18px; }
input:hover, textarea:hover, select:hover { border-color: var(--ctl-line-hover); }
input:focus, textarea:focus, select:focus { border-color: var(--ocean); box-shadow: var(--ring-input); outline: none; }
.field:has(.err) :is(input, textarea, select), [aria-invalid=true] { border-color: var(--cherry); box-shadow: 0 0 0 3px rgb(229 50 45 / .15); }
textarea { height: auto; min-height: 96px; padding: 10px 12px; resize: vertical; }
input[type=checkbox], input[type=radio] { width: 18px; height: 18px; accent-color: var(--ocean); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }

/* ---------- Service cards ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .services { grid-template-columns: 1fr; } }
.service {
  text-align: left; font: inherit; color: inherit; cursor: pointer;
  background: color-mix(in srgb, var(--c) 8%, #fff); border: 1px solid color-mix(in srgb, var(--c) 35%, #fff); border-radius: 16px; padding: 22px;
  box-shadow: var(--ctl-shadow); transition: border-color .15s, box-shadow .15s;
}
.service:hover { border-color: var(--c); box-shadow: 0 6px 18px rgb(20 33 61 / .08); }
.service .chip { margin-bottom: 14px; }
.service p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.chip {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; color: #fff; background: var(--c);
}
.chip .icon { width: 26px; height: 26px; }

/* ---------- Choice pills (options, dates, times) ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  font: inherit; cursor: pointer; color: var(--ink); text-align: left;
  padding: 10px 16px; border-radius: var(--ctl-r); background: #fff; border: 1px solid var(--ctl-line);
  transition: border-color .15s, background .15s;
}
.pill:hover { border-color: var(--ctl-line-hover); background: var(--ctl-soft); }
.pill.on { background: var(--ocean-tint); border-color: var(--ocean); color: var(--ocean); }
.pill:disabled { opacity: .5; cursor: not-allowed; text-decoration: line-through; }
.pill b { display: block; font-family: var(--display); font-size: 1.15rem; line-height: 1.1; }
.pill small { color: var(--ink-soft); font-weight: 600; }
.pill.on small { color: var(--ocean); }
.pill.big { flex: 1 1 200px; padding: 14px 18px; }
.pill .price { font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: var(--ocean); }
.dates .pill { min-width: 86px; text-align: center; }
.dates .pill b { font-size: 1.6rem; }

/* Sessions (labs / events) */
.sessions { display: grid; gap: 12px; }
.sessions .pill { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; }
.sessions .day { text-align: center; background: var(--mist); border-radius: 14px; padding: 6px 12px; font-family: var(--display); }
.sessions .day b { font-size: 1.6rem; }
.pill.on .day { background: #fff; }

/* Counter */
.counter { display: inline-flex; align-items: center; gap: 0; border: 1px solid var(--ctl-line); border-radius: var(--ctl-r); overflow: hidden; background: #fff; }
.counter:focus-within { border-color: var(--ocean); box-shadow: var(--ring-input); }
.counter button { font: inherit; font-size: 1.25rem; font-weight: 600; width: 40px; height: 38px; border: 0; background: var(--ctl-soft); cursor: pointer; color: var(--ink); }
.counter button:hover { background: #e9eef5; color: var(--ocean); }
@media (pointer: coarse) { .counter button, .counter input { height: 42px; } .counter button { width: 44px; } }
.counter input { width: 56px; height: 38px; border: 0; text-align: center; font-weight: 600; font-size: 1.1rem; padding: 0; border-radius: 0; box-shadow: none !important; }

/* Extras */
.extras { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.check {
  display: flex; gap: 12px; align-items: center; padding: 10px 14px; border-radius: var(--ctl-r);
  border: 1px solid var(--ctl-line); background: #fff; cursor: pointer; font-weight: 600;
}
.check:hover { border-color: var(--ctl-line-hover); }
.check:has(input:checked) { border-color: var(--ocean); background: var(--ocean-tint); }
.check input { flex: none; }
.check small { display: block; font-weight: 700; color: var(--ocean); }

/* Payment choice */
.pay { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .pay { grid-template-columns: 1fr; } }
.pay label {
  position: relative; display: block; padding: 16px 18px; border-radius: var(--ctl-r); border: 1px solid var(--ctl-line); background: #fff; cursor: pointer;
  transition: border-color .15s, background .15s;
}
.pay label:hover { border-color: var(--ctl-line-hover); }
.pay label:has(input:checked) { border-color: var(--ocean); background: var(--ocean-tint); box-shadow: inset 0 0 0 1px var(--ocean); }
.pay label:has(input:focus-visible) { box-shadow: var(--ring-btn); }
.pay input { position: absolute; opacity: 0; }
.pay strong { font-family: var(--display); font-size: 1.3rem; display: flex; align-items: center; gap: 8px; }
.pay p { margin: 6px 0 0; font-size: .95rem; color: var(--ink-soft); }
.mbway-badge { display: inline-grid; place-items: center; padding: 2px 8px; border-radius: 8px; background: #d4002a; color: #fff; font-size: .8rem; font-weight: 900; letter-spacing: .02em; }

/* ---------- Summary ticket ---------- */
.ticket { position: sticky; top: 20px; filter: drop-shadow(0 0 1px rgb(20 33 61 / .25)) drop-shadow(0 7px 0 var(--line)); }
.ticket .stub {
  background: radial-gradient(circle at 88% -10%, rgb(255 255 255 / .3), transparent 45%), var(--c, var(--ocean));
  color: #fff; border-radius: 26px 26px 0 0; padding: 20px 24px;
}
.ticket.c-sun .stub, .ticket.c-sky .stub { color: var(--ink); }
.ticket .stub small { font-family: var(--display); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .85; font-size: .8rem; }
.ticket .stub h3 { margin: 2px 0 0; color: inherit; font-size: 1.4rem; }
.ticket .body {
  background: #fff linear-gradient(90deg, var(--line) 50%, transparent 0) top / 14px 2px repeat-x;
  border-radius: 0 0 26px 26px; padding: 20px 24px 24px;
}
.ticket dl { margin: 0 0 14px; display: grid; gap: 6px; font-size: .96rem; }
.ticket dl div { display: flex; justify-content: space-between; gap: 12px; }
.ticket dt { color: var(--ink-soft); }
.ticket dd { margin: 0; font-weight: 700; text-align: right; }
.lines { list-style: none; padding: 12px 0 0; margin: 0; border-top: 2px dashed var(--line); font-size: .95rem; display: grid; gap: 6px; }
.lines li { display: flex; justify-content: space-between; gap: 12px; }
.total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; padding-top: 12px; border-top: 2px solid var(--line); }
.total strong { font-family: var(--display); font-weight: 800; font-size: 2.2rem; line-height: 1; }

/* ---------- Buttons ---------- */
/* Primary by default (plain .btn, .btn--blue, and the "pay online" .btn--mbway); --ghost is the white secondary. */
.btn {
  --bg: var(--ocean); --bg-hover: var(--ocean-hover); --bg-active: var(--ocean-active); --fg: #fff; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--ctl-h); padding: 0 22px;
  font-family: var(--body); font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; color: var(--fg); background: var(--bg);
  border: 1px solid var(--bd); border-radius: var(--ctl-r); box-shadow: var(--ctl-shadow); cursor: pointer;
  transition: background .15s, border-color .15s, box-shadow .15s;
}
.btn .icon, .bk .btn .icon { width: 20px; height: 20px; }
.btn:hover { background: var(--bg-hover); }
.btn:active { background: var(--bg-active); }
.btn:focus-visible { outline: none; box-shadow: var(--ring-btn); }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn--ghost { --bg: #fff; --bg-hover: var(--ctl-soft); --bg-active: #eef2f7; --fg: var(--ink); --bd: var(--ctl-line); }
.btn--ghost:hover { border-color: var(--ctl-line-hover); }
.btn--sm { min-height: 36px; padding: 0 12px; }
.btn--danger { --bg: var(--cherry); --bg-hover: #c92a25; --bg-active: #ad231f; }
.btn--danger-line { --bg: #fff; --bg-hover: #fdf1f0; --bg-active: #fbe3e2; --fg: var(--cherry); --bd: color-mix(in srgb, var(--cherry) 55%, #fff); }
@media (pointer: coarse) { .btn--sm { min-height: 44px; } }
.actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; flex-wrap: wrap; }

/* ---------- Done page ---------- */
.done-page { text-align: center; max-width: 640px; margin: 0 auto; }
/* The booking page: the same width as the site and the booking wizard; the header stays centred, the cards fill the column. */
.done-page--wide { max-width: 1180px; }
.done-page .ref { display: inline-block; font-family: var(--display); font-weight: 800; font-size: 2rem; letter-spacing: .06em; padding: 6px 22px; border-radius: 16px; background: var(--sun); margin: 6px 0 18px; rotate: -2deg; }
.banner { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 20px; background: #fff6d6; border: 2px solid #ffe28a; text-align: left; margin: 18px 0; }
.banner.ok { background: #eafaee; border-color: #b6e8c0; }
.banner.info { background: var(--mist); border-color: #bfe6f7; }
.demo-tag { display: inline-block; background: var(--ink); color: #fff; font-size: .75rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; letter-spacing: .06em; }

/* Phone mock for the simulated MB WAY approval */
.phone {
  width: 280px; margin: 24px auto; padding: 18px; border-radius: 40px; background: var(--ink);
  box-shadow: 0 20px 50px rgb(20 33 61 / .25);
}
.phone .screen { background: #fff; border-radius: 28px; padding: 26px 18px; text-align: center; }
.spin { width: 40px; height: 40px; margin: 10px auto; border-radius: 50%; border: 5px solid var(--line); border-top-color: #d4002a; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- Phones ---------- */
@media (max-width: 900px) {
  /* The summary ticket moves under the form; room at the bottom for the sticky actions bar. */
  .ticket { position: static; }
  main.wrap { padding-bottom: 120px; }
  .services { gap: 14px; }
  .service { padding: 18px; }
}

/* ---------- Confetti (booking confirmed) ---------- */
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 200; overflow: hidden; }
.confetti i { position: absolute; top: -20px; width: 10px; height: 14px; border-radius: 3px; animation: fall var(--d, 2.4s) cubic-bezier(.25, .6, .4, 1) var(--delay, 0s) forwards; }
.confetti i.round { width: 11px; height: 11px; border-radius: 50%; }
@keyframes fall {
  0% { transform: translate(0, 0) rotate(0); opacity: 1; }
  100% { transform: translate(var(--dx, 0), 105vh) rotate(var(--r, 540deg)); opacity: .9; }
}

/* ---------- Month calendar (colour = how full the day is) ---------- */
.cal { margin-top: 14px; padding: 18px; border-radius: 24px; background: var(--mist); max-width: 460px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-head b { font-family: var(--display); font-size: 1.3rem; }
.cal-head button { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--ctl-r); border: 1px solid var(--ctl-line); background: #fff; color: var(--ink); cursor: pointer; }
.cal-head button:hover:not(:disabled) { background: var(--ctl-soft); border-color: var(--ctl-line-hover); }
.cal-head button:disabled { opacity: .35; cursor: default; }
.cal-head .icon { width: 20px; height: 20px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-wd { text-align: center; font-size: .78rem; font-weight: 800; color: var(--ink-soft); text-transform: capitalize; padding-bottom: 2px; }
.cal-day { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: var(--ctl-r); border: 1px solid transparent; background: #fff; font: inherit; font-weight: 600; font-size: 1.05rem; color: var(--ink); cursor: pointer; padding: 0 0 6px; transition: border-color .15s, background .15s; }
.cal-day i { position: absolute; left: 28%; right: 28%; bottom: 7px; height: 4px; border-radius: 99px; background: var(--st); }
.cal-day:hover:not(:disabled) { border-color: var(--ctl-line-hover); }
.cal-day.on { background: var(--ocean-tint); border-color: var(--ocean); color: var(--ocean); }
.cal-day:disabled { cursor: not-allowed; color: #a7b1c2; background: rgb(255 255 255 / .55); }
.s-free { --st: var(--grass); } .s-filling { --st: var(--tangerine); } .s-full { --st: var(--cherry); } .s-off { --st: #c9d3e0; }
.cal-day.s-off i { display: none; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; padding: 0; margin: 14px 0 0; font-size: .85rem; font-weight: 700; color: var(--ink-soft); }
.cal-legend i { display: inline-block; width: 16px; height: 5px; border-radius: 99px; background: var(--st); margin-right: 7px; vertical-align: middle; }

/* Last places: a nudge, not an alarm */
.pill.low:not(:disabled) { border-color: color-mix(in srgb, var(--tangerine) 55%, #fff); }
.pill.low:not(.on) small { color: #c25e00; font-weight: 800; }

/* Phone with country code */
.tel { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: 8px; }
.tel select { padding-left: 12px; padding-right: 30px; background-position: right 8px center; font-size: .95rem; }

.check--soft { border-style: dashed; font-weight: 600; }
.check--soft small { color: var(--ink-soft); font-weight: 600; }
.check a { color: var(--ocean); font-weight: 800; }

/* ---------- Text pages (conditions, privacy) ---------- */
.doc { max-width: 820px; margin: 0 auto; }
.doc .panel h2 { font-size: 1.5rem; margin-top: .4em; }
.doc .panel h3 { font-family: var(--body); font-size: 1.08rem; font-weight: 900; margin: 1.4em 0 .4em; }
.doc .panel p, .doc .panel li { color: var(--ink-soft); }
.doc .panel ul { padding-left: 1.2em; }
.doc-toc { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; }
@media (prefers-reduced-motion: reduce) { .cal-day { transition: none; } }
.row-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 16px; }
@media (max-width: 1100px) { .row-contact { grid-template-columns: 1fr; } }
.tel { grid-template-columns: minmax(0, 170px) minmax(0, 1fr); }
.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; }
[x-cloak] { display: none !important; }

/* ---------- Gift voucher ticket (same look as the PDF): theme colour + ring of balls, yellow tear-off stub ---------- */
.gv { --c: var(--ocean); --r: var(--cherry); --notch: #f2fbff; container-type: inline-size; }
.gv-t { position: relative; border-radius: 24px; overflow: hidden; background: var(--sun); box-shadow: 0 14px 30px rgb(20 33 61 / .16); text-align: left; }
.gv-main { position: relative; overflow: hidden; background: var(--c); color: #fff; padding: 20px 18px 22px; transition: background .25s; }
.gv-bub { position: absolute; aspect-ratio: 1; border-radius: 50%; background: rgb(255 255 255 / .1); pointer-events: none; }
.gv-kicker { position: relative; display: inline-block; background: #fff; color: var(--c); border-radius: 999px; padding: 5px 11px; font-weight: 800; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; line-height: 1.2; }
.gv-body { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: end; margin-top: 14px; }
.gv-for { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.gv-name { display: block; font-family: var(--display); font-weight: 800; color: var(--sun); font-size: 2.5rem; line-height: 1; overflow-wrap: anywhere; }
.gv-name--long { font-size: 1.7rem; line-height: 1.05; }
.gv-name--sm { font-size: 1.6rem; line-height: 1.1; }
.gv-msg { margin: 12px 0 0; background: #fff; color: var(--ink); border-radius: 16px 16px 16px 4px; padding: 10px 14px; font-size: .95rem; line-height: 1.35; overflow-wrap: anywhere; }
.gv-from { display: inline-block; margin: 12px 0 0; background: rgb(255 255 255 / .16); padding: 6px 12px; border-radius: 16px; font-size: .9rem; line-height: 1.3; overflow-wrap: anywhere; }
.gv-amount { position: relative; width: 116px; aspect-ratio: 1; flex: none; }
.gv-dot { position: absolute; width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px; border-radius: 50%; border: 2px solid #fff; }
.gv-face { position: absolute; inset: 14px; display: grid; place-content: center; text-align: center; background: #fff; border-radius: 50%; color: var(--ink); line-height: 1; }
.gv-face b { font-family: var(--display); font-weight: 800; font-size: 1.6rem; white-space: nowrap; }
.gv-face b.gv-long { font-size: 1.25rem; }
.gv-face small { margin-top: 3px; color: var(--c); font-weight: 800; font-size: .62rem; }
.gv-tear { position: relative; height: 0; border-top: 3px dashed var(--ink); }
.gv-tear::before, .gv-tear::after { content: ''; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--notch); }
.gv-tear::before { left: -12px; } .gv-tear::after { right: -12px; }
.gv-stub { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 18px; color: var(--ink); }
.gv-qr { order: 2; display: grid; place-items: center; width: 108px; aspect-ratio: 1; background: #fff; border-radius: 12px; padding: 6px; }
.gv-qr img { width: 96px; height: 96px; display: block; image-rendering: pixelated; }
.gv-qr-ph { width: 60px; height: 60px; color: rgb(20 33 61 / .25); }
.gv-info span { display: block; font-size: .65rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #5a4a10; }
.gv-info b { display: block; font-family: var(--display); font-weight: 800; font-size: 1.15rem; line-height: 1.1; margin: 2px 0 10px; }
.gv-info .gv-code { white-space: nowrap; }
.gv-how { display: none; font-size: .75rem; font-weight: 700; line-height: 1.3; color: #5a4a10; }
/* wide: the horizontal ticket of the PDF, stub on the right behind a vertical tear line */
@container (min-width: 600px) {
  .gv-t { display: grid; grid-template-columns: minmax(0, 1fr) 0 190px; }
  .gv-main { padding: 26px 26px 30px; }
  .gv-body { gap: 20px; margin-top: 18px; }
  .gv-name { font-size: 3rem; } .gv-name--long { font-size: 2rem; }
  .gv-msg { max-width: 300px; }
  .gv-amount { width: 150px; }
  .gv-face { inset: 17px; } .gv-face b { font-size: 2.2rem; } .gv-face b.gv-long { font-size: 1.6rem; } .gv-face small { font-size: .72rem; }
  .gv-dot { width: 16px; height: 16px; margin: -8px 0 0 -8px; }
  .gv-tear { height: auto; border-top: 0; border-left: 3px dashed var(--ink); margin-left: -1.5px; }
  .gv-tear::before, .gv-tear::after { top: auto; left: -13.5px; right: auto; }
  .gv-tear::before { top: -12px; } .gv-tear::after { bottom: -12px; }
  .gv-stub { grid-template-columns: 1fr; align-content: center; padding: 22px 20px; }
  .gv-qr { order: 0; width: 120px; }
  .gv-qr img { width: 108px; height: 108px; }
  .gv-info b { font-size: 1.05rem; }
  .gv-how { display: block; }
}
@media print {
  .site-header, .site-footer { display: none !important; }
  body { background: #fff !important; }
  .gv-t { box-shadow: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; margin-top: 40px; }
}

/* Gift voucher in the booking */
.voucher-form { display: flex; gap: 10px; max-width: 460px; }
.voucher-form input { text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.voucher-form input::placeholder { text-transform: none; letter-spacing: .02em; font-weight: 400; }
.voucher-on { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; border-radius: 18px; background: #eefaf0; border: 2px solid #b6e8c0; }
.voucher-on b { display: block; font-family: var(--display); font-size: 1.2rem; letter-spacing: .04em; }
.voucher-on small { color: var(--ink-soft); font-weight: 600; }

/* ---------- Gift voucher purchase page ---------- */
.gift-hero { max-width: 720px; margin-bottom: 26px; }
.gift-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 2px solid var(--line); font-weight: 900; font-size: .9rem; color: var(--cherry); text-transform: uppercase; letter-spacing: .08em; }
.gift-kicker .icon { width: 18px; height: 18px; }
.gift-hero h1 { margin-top: 14px; }
.gift-hero .lead { font-size: 1.18rem; color: var(--ink-soft); margin: -4px 0 16px; }
.gift-perks { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.gift-perks li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; font-weight: 800; font-size: .95rem; box-shadow: 0 3px 0 var(--line); }
.gift-perks .icon { width: 20px; height: 20px; color: var(--ocean); }
.gift-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: 30px; align-items: start; }
.gift-form .panel h2 { display: flex; align-items: center; gap: 12px; }
.gift-step { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--sun); font-size: 1.15rem; box-shadow: 0 3px 0 #d9a700; flex: none; }
.gift-themes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gift-theme { display: grid; gap: 8px; padding: 8px 8px 12px; border-radius: 12px; border: 1px solid var(--ctl-line); background: #fff; cursor: pointer; text-align: center; transition: border-color .15s, background .15s; }
.gift-theme:hover { border-color: var(--ctl-line-hover); }
.gift-theme.on { border-color: var(--ocean); background: var(--ocean-tint); box-shadow: inset 0 0 0 1px var(--ocean); }
.gift-theme:has(input:focus-visible), .gift-amount:has(input:focus-visible) { outline: 3px solid var(--ocean); outline-offset: 3px; }
.gift-thumb { position: relative; display: block; aspect-ratio: 1000 / 560; border-radius: 8px; overflow: hidden; }
.gift-theme b { font-family: var(--display); font-size: 1.1rem; }
.gift-amounts { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.gift-amount { display: grid; gap: 2px; padding: 12px; border-radius: var(--ctl-r); border: 1px solid var(--ctl-line); background: #fff; cursor: pointer; text-align: center; transition: border-color .15s, background .15s; }
.gift-amount:hover { border-color: var(--ctl-line-hover); background: var(--ctl-soft); }
.gift-amount b { font-family: var(--display); font-size: 1.7rem; line-height: 1; }
.gift-amount small { color: var(--ink-soft); font-weight: 700; font-size: .82rem; line-height: 1.25; }
.gift-amount.on { background: var(--ocean-tint); border-color: var(--ocean); color: var(--ocean); }
.gift-amount.on small { color: var(--ocean); }
.gift-custom { margin: 16px 0 0; max-width: 220px; }
.gift-euro { display: flex; align-items: stretch; border: 1px solid var(--ctl-line); border-radius: var(--ctl-r); background: #fff; overflow: hidden; }
.gift-euro:hover { border-color: var(--ctl-line-hover); }
.gift-euro:focus-within { border-color: var(--ocean); box-shadow: var(--ring-input); }
.gift-euro input { border: 0; border-radius: 0; font-weight: 600; box-shadow: none !important; }
.gift-euro span { display: grid; place-items: center; padding: 0 12px; background: var(--ctl-soft); border-left: 1px solid var(--ctl-line); font-weight: 600; color: var(--ctl-muted); }
.gift-side { position: sticky; top: 20px; display: grid; gap: 14px; }
.gift-side > .label { margin: 0; }
.gift-pay { display: grid; gap: 10px; padding: 18px; border-radius: 24px; background: #fff; box-shadow: 0 12px 28px rgb(20 33 61 / .08); }
.gift-total { display: flex; align-items: baseline; justify-content: space-between; }
.gift-total span { font-weight: 800; color: var(--ink-soft); }
.gift-total strong { font-family: var(--display); font-size: 2rem; }
.gift-pay .btn { width: 100%; }
.gift-pay .hint { margin: 0; text-align: center; }
@media (max-width: 1000px) {
  .gift-layout { grid-template-columns: 1fr; }
  .gift-side { position: static; order: -1; }
}
@media (max-width: 560px) { .gift-themes { grid-template-columns: 1fr 1fr 1fr; gap: 8px; } .gift-theme b { font-size: .92rem; } }

/* Hour packs page: hero with a live ticket, steps, choice cards and a sticky summary */
.pack-hero { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 30px; align-items: center; margin-bottom: 22px; }
.pack-hero h1 { margin-top: 14px; }
.pack-back { display: flex; width: max-content; margin-bottom: 14px; }
.pack-hero .lead { font-size: 1.18rem; color: var(--ink-soft); margin: -4px 0 0; }
.pack-ticket { display: grid; justify-items: center; gap: 4px; padding: 20px 20px 16px; border-radius: 24px; background: var(--ocean); color: #fff; text-align: center; box-shadow: 0 16px 32px rgb(23 105 170 / .28); transform: rotate(2deg); }
.pack-ticket small { font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; opacity: .85; }
.pack-ticket b { font-family: var(--display); font-weight: 800; font-size: 3.4rem; line-height: 1; }
.pack-ticket span { font-weight: 700; }
.pack-ticket-qr { display: grid; place-items: center; width: 74px; height: 74px; margin: 8px 0 4px; border-radius: 14px; background: #fff; color: var(--ink); }
.pack-ticket-qr .icon { width: 50px; height: 50px; }
.pack-ticket-who { width: 100%; padding-top: 10px; border-top: 2px dashed rgb(255 255 255 / .45); }
.pack-steps { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 24px; }
.pack-steps li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; font-weight: 800; font-size: .95rem; box-shadow: 0 3px 0 var(--line); }
.pack-steps .icon { width: 20px; height: 20px; color: var(--ocean); }
.pack-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.pack-choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.pack-choice { position: relative; display: grid; gap: 2px; padding: 18px 14px 14px; border-radius: 16px; border: 1px solid var(--ctl-line); background: #fff; cursor: pointer; text-align: center; transition: border-color .15s, background .15s; }
.pack-choice:hover { border-color: var(--ctl-line-hover); }
.pack-choice:has(input:focus-visible) { outline: 3px solid var(--ocean); outline-offset: 3px; }
.pack-choice.on, .pack-choice:has(input:checked) { border-color: var(--ocean); background: var(--mist); box-shadow: inset 0 0 0 1px var(--ocean); }
.pack-choice b { font-family: var(--display); font-weight: 800; font-size: 2.2rem; line-height: 1; }
.pack-choice strong { font-size: 1.15rem; }
.pack-choice small { color: var(--ink-soft); font-weight: 700; font-size: .82rem; line-height: 1.3; }
.pack-choice-check { position: absolute; top: 8px; right: 8px; display: none; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ocean); color: #fff; }
.pack-choice-check .icon { width: 16px; height: 16px; }
.pack-choice.on .pack-choice-check, .pack-choice:has(input:checked) .pack-choice-check { display: grid; }
.pack-pill { justify-self: center; margin-top: 6px; padding: 3px 10px; border-radius: 999px; background: var(--grass); color: #fff; font-weight: 800; font-size: .78rem; }
.pack-summary { position: sticky; top: 110px; }   /* clears the sticky site header */
.pack-summary > .label { margin: 0; }
.pack-summary-title { display: block; font-family: var(--display); font-size: 1.4rem; }
.pack-summary-meta { color: var(--ink-soft); font-weight: 700; }
@media (max-width: 900px) {
  .pack-hero, .pack-layout { grid-template-columns: 1fr; }
  .pack-ticket { justify-self: center; width: min(100%, 260px); }
  .pack-summary { position: static; }
}
@media (prefers-reduced-motion: reduce) { .pack-ticket { transform: none; } }

/* Booking wizard, entry step: the hour packs offer */
.bk-packs { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; margin-top: 14px; padding: 16px; border-radius: 18px; background: var(--mist); border: 1px solid var(--line); }
.bk-packs-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--sky); color: #fff; }
.bk-packs-ic .icon { width: 26px; height: 26px; }
.bk-packs b { display: block; font-family: var(--display); font-size: 1.08rem; line-height: 1.25; }
.bk-packs small { display: block; margin-top: 4px; color: var(--ink-soft); font-weight: 600; }
@media (max-width: 600px) { .bk-packs { grid-template-columns: auto minmax(0, 1fr); } .bk-packs .btn { grid-column: 1 / -1; } }

/* Voucher ready page */
.gift-done { max-width: 760px; margin: 0 auto; text-align: center; }
.gift-done-hero { position: relative; padding: 10px 92px 4px; }
.gift-done-hero h1 { margin: 0; }
.gift-done-hero p { margin: 8px 0 0; }
.gift-mascot { position: absolute; bottom: -8px; height: 110px; width: auto; pointer-events: none; }
.gift-mascot--boy { left: -4px; } .gift-mascot--girl { right: -2px; }
.gift-done .gv { margin: 24px 0 6px; }
.gift-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-top: 24px; }
.gift-how { margin-top: 18px; padding: 20px; border-radius: 22px; background: #fff; box-shadow: 0 12px 28px rgb(20 33 61 / .08); text-align: left; }
.gift-how h2 { font-size: 1.3rem; }
/* Reached as pack.show#conta (from the pack e-mail): clear of the sticky header. */
.pack-account { scroll-margin-top: 104px; }
.gift-how ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.gift-how li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; }
.gift-how i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: #fff; font-style: normal; font-family: var(--display); font-weight: 800; }
.gift-how b { display: block; line-height: 1.3; }
.gift-how span { color: var(--ink-soft); font-size: .93rem; line-height: 1.4; }
@media (min-width: 720px) { .gift-how ol { grid-template-columns: repeat(3, 1fr); } .gift-done-hero { padding-inline: 150px; } .gift-mascot { height: 150px; } }
@media (max-width: 480px) {
  .gift-done-hero { padding-inline: 70px; } .gift-done-hero h1 { font-size: 1.6rem; } .gift-mascot { height: 88px; }
  .gift-actions { grid-template-columns: 1fr 1fr; } .gift-actions-main { grid-column: 1 / -1; }
  .gift-actions .btn:nth-child(2):last-child { grid-column: 1 / -1; }
}
.btn--wallet { --bg: #000; --bg-hover: #222; --bg-active: #333; }
.gift-pay--end { display: none; margin-top: 22px; }
@media (max-width: 1000px) { .gift-pay--side { display: none; } .gift-pay--end { display: grid; } }
.gift-mini { display: grid; grid-template-rows: 62fr 38fr; background: var(--sun); box-shadow: 0 3px 0 color-mix(in srgb, var(--ink) 14%, transparent); }
.gm-top, .gm-stub { display: flex; align-items: center; justify-content: space-between; gap: 6%; padding: 0 9%; }
.gm-top { background: var(--c); }
.gm-stub { border-top: 2px dashed color-mix(in srgb, var(--ink) 55%, transparent); }
.gm-lines { display: grid; gap: 5px; flex: 1; }
.gm-lines i { display: block; height: 6px; border-radius: 3px; background: rgb(255 255 255 / .8); }
.gm-lines i:first-child { width: 70%; background: var(--sun); height: 8px; }
.gm-lines i:last-child { width: 45%; }
.gm-stub .gm-lines i { background: color-mix(in srgb, var(--ink) 30%, transparent); }
.gm-stub .gm-lines i:first-child { background: var(--ink); width: 60%; }
.gm-ring { flex: none; width: 34%; aspect-ratio: 1; border-radius: 50%; background: #fff; border: 4px solid; border-color: var(--r1) var(--r2) var(--r3) var(--r4); }
.gm-qr { flex: none; width: 18%; aspect-ratio: 1; border-radius: 4px; background: #fff; box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 6px var(--ink); }

/* =========================================================================
   Booking wizard (Feijão-Verde-like flow, Allegrolandia colours): centred column,
   pill stepper, one question per step, card per section, sticky actions.
   ========================================================================= */
.bk { max-width: 1180px; margin: 0 auto; }
.bk .icon { width: 20px; height: 20px; flex: none; }
.bk-powered { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 28px 0 0; font-size: .85rem; color: var(--ink-soft); text-decoration: none; }
.bk-powered:hover { opacity: .8; }
.bk-powered .bk-mark { height: 22px; width: auto; margin-left: 2px; }
.bk-hero { text-align: center; margin-bottom: 26px; }
.bk-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px; background: #fff; border: 2px solid var(--line); font-weight: 900; font-size: .85rem; color: var(--ocean); text-transform: uppercase; letter-spacing: .06em; }
.bk-badge .icon { color: var(--sun); width: 18px; height: 18px; }
.bk-hero h1 { margin: 14px 0 8px; }
.bk-hl { color: var(--cherry); position: relative; white-space: nowrap; }
.bk-hl::after { content: ""; position: absolute; left: 2%; right: 2%; bottom: .06em; height: .2em; border-radius: 99px; background: var(--sun); z-index: -1; }
.bk-hero p { margin: 0 auto; max-width: 52ch; color: var(--ink-soft); font-size: 1.12rem; }

/* stepper */
.bk-steps { position: sticky; top: 92px; z-index: 20; margin: 0 0 18px; padding: 6px; border-radius: 14px; background: #fff; border: 1px solid var(--ctl-line); box-shadow: 0 8px 24px rgb(20 33 61 / .06); overflow-x: auto; scrollbar-width: none; }
.bk-steps::-webkit-scrollbar { display: none; }
.bk-steps ol { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; min-width: max-content; }
.bk-steps li { flex: 1; }
.bk-steps li > * { display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; padding: 6px 12px 6px 6px; border-radius: var(--ctl-r); border: 1px solid transparent; background: transparent; font: inherit; font-weight: 600; font-size: .88rem; color: var(--ink-soft); white-space: nowrap; }
.bk-dot { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--mist); color: var(--ink-soft); }
.bk-dot .icon { width: 16px; height: 16px; }
.bk-steps li.on > * { background: var(--ocean-tint); border-color: var(--ocean); color: var(--ocean); }
.bk-steps li.on .bk-dot { background: var(--ocean); color: #fff; }
.bk-steps li.done > * { cursor: pointer; color: var(--ink); }
.bk-steps li.done > *:hover { background: var(--ctl-soft); }
.bk-steps li.done .bk-dot { background: var(--grass); color: #fff; }

/* chosen activity */
.bk-context { display: flex; align-items: center; gap: 10px; width: fit-content; max-width: 100%; margin: 0 auto 6px; padding: 8px 10px 8px 16px; border-radius: 999px; background: var(--c); color: #fff; font-weight: 600; }
.bk-context.c-sun { color: var(--ink); }
.bk-context button { min-height: 36px; border: 1px solid rgb(255 255 255 / .35); border-radius: 999px; padding: 0 12px; background: rgb(255 255 255 / .18); color: inherit; font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; }
.bk-context button:hover { background: rgb(255 255 255 / .4); }

/* question */
.bk-q { text-align: center; margin: 26px 0 20px; }
.bk-q h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin: 0 0 4px; }
.bk-q p { margin: 0; color: var(--ink-soft); }

/* 1. activities */
.bk-activities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bk-activity { display: grid; gap: 6px; align-content: start; padding: 22px; text-align: left; font: inherit; color: inherit; cursor: pointer; border: 1px solid color-mix(in srgb, var(--c) 35%, #fff); border-radius: 16px; background: color-mix(in srgb, var(--c) 7%, #fff); box-shadow: var(--ctl-shadow); transition: border-color .15s, box-shadow .15s; }
.bk-activity:hover { border-color: var(--c); box-shadow: 0 6px 18px rgb(20 33 61 / .08); }
.bk-activity:focus-visible { outline: none; box-shadow: var(--ring-btn); border-color: var(--c); }
.bk-activity > b { font-family: var(--display); font-size: 1.35rem; line-height: 1.1; margin-top: 8px; }
.bk-activity > small { color: var(--ink-soft); font-size: .95rem; }
.bk-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-weight: 900; font-size: .9rem; color: color-mix(in srgb, var(--c) 75%, #000); }
.bk-go .icon { width: 16px; height: 16px; transition: translate .2s; }
.bk-activity:hover .bk-go .icon { translate: 4px 0; }
.bk-chip { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--c, var(--ocean)); color: #fff; }
.bk-chip.c-sun, .c-sun > .bk-chip { color: var(--ink); }
.bk-chip .icon { width: 24px; height: 24px; }

/* 2. options */
.bk-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.bk-opt { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 20px; text-align: left; font: inherit; color: inherit; cursor: pointer; border: 1px solid var(--ctl-line); border-radius: 14px; background: #fff; box-shadow: var(--ctl-shadow); transition: border-color .15s, background .15s; }
.bk-opt:hover:not(:disabled) { border-color: var(--ctl-line-hover); }
.bk-opt.on { border-color: var(--ocean); background: color-mix(in srgb, var(--ocean) 4%, #fff); box-shadow: inset 0 0 0 1px var(--ocean); }
.bk-opt:disabled { opacity: .5; cursor: not-allowed; }
.bk-opt-head { display: flex; align-items: center; gap: 12px; }
.bk-opt-head .bk-chip { width: 42px; height: 42px; border-radius: 12px; }
.bk-opt-title { display: block; font-family: var(--display); font-size: 1.3rem; line-height: 1.1; }
.bk-muted { color: var(--ink-soft); }
.bk-opt-head small { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: .88rem; }
.bk-opt-head small .icon { width: 15px; height: 15px; }
.bk-opt-text { color: var(--ink-soft); font-size: .93rem; line-height: 1.45; }
.bk-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.bk-tag { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: var(--mist); font-size: .8rem; font-weight: 800; color: var(--ink); }
.bk-tag .icon { width: 14px; height: 14px; }
.bk-tag.ok { background: #e6f7ea; color: #1f7a33; } .bk-tag.warn { background: #fff1dc; color: #a35300; } .bk-tag.bad { background: #fde8e7; color: #b42318; }
.bk-price { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: var(--ctl-r); background: var(--ctl-soft); }
.bk-price b { font-family: var(--display); font-size: 1.8rem; line-height: 1; color: var(--ocean); }
.bk-price small { color: var(--ink-soft); font-weight: 700; font-size: .85rem; text-align: right; }
.bk-opt.on .bk-price { background: var(--ocean-tint); }
/* The amount never breaks (the "€" stays with it); the unit sits beside it when there is room, else on its own line below. */
.bk-price { flex-wrap: wrap; row-gap: 4px; }
.bk-price b { flex: none; white-space: nowrap; }
.bk-price small { flex: 1 1 auto; }
.bk-check { position: absolute; top: -10px; right: -10px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ocean); color: #fff; box-shadow: 0 0 0 3px #fff; scale: 0; transition: scale .3s var(--spring); }
.bk-check .icon { width: 18px; height: 18px; }
.on > .bk-check { scale: 1; }
.bk-date { display: grid; place-items: center; min-width: 52px; padding: 6px 8px; border-radius: 14px; background: var(--mist); font-family: var(--display); line-height: 1; }
.bk-date small { font-size: .8rem; text-transform: uppercase; color: var(--ink-soft); }
.bk-date b { font-size: 1.6rem; }
.bk-empty, .bk-err { text-align: center; }

/* section card */
.bk-card { background: #fff; border-radius: 28px; box-shadow: 0 20px 40px rgb(20 33 61 / .07); }
.bk-card + .bk-card { margin-top: 20px; }
.bk-card-head { display: flex; align-items: center; gap: 14px; padding: 18px 24px; border-bottom: 2px dashed var(--line); }
.bk-card-head b { display: block; font-family: var(--display); font-size: 1.25rem; line-height: 1.1; }
.bk-card-head small { color: var(--ink-soft); font-size: .9rem; }
.bk-card-body { padding: 22px 24px 24px; }
.bk-grid2 { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: start; }
.bk-counters { display: grid; grid-template-columns: auto auto; gap: 18px; }
.bk-counters label { white-space: nowrap; }   /* "Adultos acompanhantes" on one line */
.bk-counters .counter input { width: 52px; }

/* date field + pop-up calendar */
.bk-datefield { position: relative; }
.bk-input { display: flex; align-items: center; gap: 10px; width: 100%; min-height: var(--ctl-h); padding: 0 12px; border-radius: var(--ctl-r); border: 1px solid var(--ctl-line); background: #fff; font: inherit; font-size: 15px; font-weight: 500; color: var(--ctl-ph); text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.bk-input:hover { border-color: var(--ctl-line-hover); }
.bk-input[aria-expanded="true"], .bk-input:focus-visible { outline: none; border-color: var(--ocean); box-shadow: var(--ring-input); }
.bk-input.filled { color: var(--ink); }
@media (pointer: coarse) { .bk-input { min-height: 44px; } }
.bk-input > span { flex: 1; }
.bk-input .icon { width: 18px; height: 18px; color: var(--ctl-muted); }
.bk-caret { transition: rotate .2s; }
.bk-input[aria-expanded="true"] .bk-caret { rotate: 180deg; }
.bk-pop { position: absolute; z-index: 30; top: calc(100% - 14px); left: 0; width: min(380px, 92vw); margin: 0; background: #fff; border: 1px solid var(--ctl-line); box-shadow: 0 16px 40px rgb(20 33 61 / .16); }
.bk-pop .cal-day { background: var(--ctl-soft); }
.bk-pop .cal-day:disabled { background: transparent; }
.bk-quickdays { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
.bk-quickdays > * { flex: none; display: grid; place-items: center; min-width: 68px; padding: 8px 6px; border-radius: var(--ctl-r); border: 1px solid var(--ctl-line); background: #fff; font: inherit; cursor: pointer; line-height: 1.1; }
.bk-quickdays > *:hover { border-color: var(--ctl-line-hover); background: var(--ctl-soft); }
.bk-quickdays b { font-family: var(--display); font-size: 1.5rem; }
.bk-quickdays small { color: var(--ink-soft); font-weight: 700; font-size: .78rem; text-transform: capitalize; }
.bk-quickdays .on, .bk-quickdays .on:hover { background: var(--ocean-tint); border-color: var(--ocean); color: var(--ocean); }
.bk-quickdays .on small { color: var(--ocean); }
.bk-quickdays .off { opacity: .45; cursor: not-allowed; }

/* time slots */
.bk-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.bk-slot { display: grid; gap: 2px; padding: 10px 8px; border-radius: var(--ctl-r); border: 1px solid var(--ctl-line); background: #fff; font: inherit; color: var(--ink); cursor: pointer; text-align: center; transition: border-color .15s, background .15s; }
.bk-slot:hover:not(:disabled) { border-color: var(--ctl-line-hover); background: var(--ctl-soft); }
.bk-slot b { font-family: var(--display); font-size: 1.25rem; line-height: 1.1; }
.bk-slot small { color: var(--ink-soft); font-weight: 700; font-size: .78rem; }
.bk-slot.low:not(.on) small { color: #c25e00; font-weight: 900; }
.bk-slot.on, .bk-slot.on:hover:not(:disabled) { background: var(--ocean-tint); border-color: var(--ocean); color: var(--ocean); }
.bk-slot.on small { color: var(--ocean); }
.bk-slot:disabled { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
/* The family's move page: each time carries its colour, as the calendar days do */
.bk-slot.s-free, .bk-slot.s-filling, .bk-slot.s-full { box-shadow: inset 0 -4px 0 var(--st); }

/* campus weeks: each one taken whole, as 3 days or as 1 day */
.bk-campweeks { display: grid; gap: 12px; }
.bk-campweek { display: grid; gap: 10px; padding: 14px; border-radius: 14px; border: 1px solid var(--ctl-line); background: #fff; }
.bk-campweek.on { border-color: var(--ocean); }
.bk-campweek-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.bk-campweek-head b { font-family: var(--display); font-size: 1.1rem; }
.bk-campweek-head small { color: var(--ink-soft); font-weight: 700; }
.bk-campchoice { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; }
.bk-campchoice button { display: grid; gap: 2px; justify-items: start; padding: 8px 12px; border-radius: var(--ctl-r); border: 1px solid var(--ctl-line); background: #fff; font: inherit; color: var(--ink); cursor: pointer; text-align: left; }
.bk-campchoice button:hover:not(:disabled) { border-color: var(--ctl-line-hover); background: var(--ctl-soft); }
.bk-campchoice button b { font-weight: 700; }
.bk-campchoice button small { color: var(--ink-soft); font-weight: 700; font-size: .85rem; }
.bk-campchoice button.on, .bk-campchoice button.on:hover { background: var(--ocean-tint); border-color: var(--ocean); color: var(--ocean); }
.bk-campchoice button.on small { color: var(--ocean); }
.bk-campchoice button:disabled { opacity: .45; cursor: not-allowed; }
.bk-campweek .bk-quickdays button:disabled { opacity: .45; cursor: not-allowed; }

/* 4. extras */
.bk-extras { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.bk-extra { position: relative; display: grid; gap: 4px; justify-items: start; padding: 16px; border-radius: 14px; border: 1px solid var(--ctl-line); background: #fff; cursor: pointer; box-shadow: var(--ctl-shadow); transition: border-color .15s, background .15s; }
.bk-extra:hover { border-color: var(--ctl-line-hover); }
.bk-extra .bk-chip { width: 40px; height: 40px; border-radius: 12px; margin-bottom: 6px; }
.bk-extra .bk-xphoto { width: 72px; height: 72px; border-radius: 14px; object-fit: cover; margin-bottom: 6px; }
.bk-extra b { font-family: var(--display); font-size: 1.12rem; line-height: 1.15; }
.bk-extra small { color: var(--ocean); font-weight: 800; }
.bk-extra small.bk-xdesc { color: var(--ink-soft); font-weight: 600; font-size: .85rem; line-height: 1.3; }
.bk-extra.off { opacity: .45; cursor: not-allowed; }
.bk-extra.on { border-color: var(--ocean); background: var(--ocean-tint); box-shadow: inset 0 0 0 1px var(--ocean); }
.bk-xbox { display: block; min-width: 0; margin: 0 0 20px; padding: 0; border: 0; border-radius: 28px; background: #fff; box-shadow: 0 20px 40px rgb(20 33 61 / .07); transition: box-shadow .15s; }
.bk-xbox.on { box-shadow: inset 0 0 0 2px var(--ocean), 0 20px 40px rgb(20 33 61 / .07); }
.bk-xhead { float: left; width: 100%; display: flex; align-items: center; gap: 14px; padding: 18px 24px; border-bottom: 2px dashed var(--line); }
.bk-xhead .bk-chip { flex: none; width: 44px; height: 44px; border-radius: 14px; }
.bk-xhead b { display: block; font-family: var(--display); font-size: 1.25rem; line-height: 1.15; }
.bk-xhead small { display: block; color: var(--ink-soft); font-weight: 600; font-size: .88rem; line-height: 1.35; margin-top: 2px; }
.bk-xbody { clear: both; padding: 20px 24px 24px; }
.bk-xbox .bk-addrow { box-shadow: none; border-color: transparent; background: color-mix(in srgb, var(--line) 30%, #fff); }
.bk-xbox .bk-addrow.on { border-color: var(--ocean); background: var(--ocean-tint); }
.bk-xbox .bk-addrow .bk-chip { width: 44px; height: 44px; }
.bk-xbox .bk-addbtn { border-color: transparent; box-shadow: var(--ctl-shadow); }
.bk-addsum { color: var(--ink-soft); font-weight: 600; font-size: .85rem; }
.bk-addsum b { color: var(--ocean); font-weight: 800; }
.bk-xsum { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 14px; padding: 12px 16px; border-radius: 14px; background: var(--ocean-tint); color: var(--ink); font-weight: 700; }
.bk-xsum .icon { width: 20px; height: 20px; color: var(--ocean); flex: none; }
.bk-xsum small { color: var(--ink-soft); font-weight: 600; }
.bk-xsum b { margin-left: auto; color: var(--ocean); font-size: 1.1rem; font-weight: 800; }
.bk-xtotal { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 4px 0 0; padding: 16px 20px; border-radius: 22px; background: var(--ocean-tint); border: 1px solid color-mix(in srgb, var(--ocean) 30%, transparent); font-weight: 700; color: var(--ink-soft); }
.bk-xtotal b { margin-left: auto; font-family: var(--display); font-size: 1.25rem; color: var(--ink); }
@media (max-width: 560px) { .bk-xhead, .bk-xbody { padding-left: 16px; padding-right: 16px; } }
.bk-mini { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.bk-mini .bk-extra { padding: 12px 14px; gap: 2px; border-radius: 14px; }
.bk-mini .bk-extra .bk-chip { width: 32px; height: 32px; border-radius: 10px; margin-bottom: 4px; }
.bk-mini .bk-extra .bk-chip .icon { width: 18px; height: 18px; }
.bk-mini .bk-extra .bk-xdesc { display: none; }
.bk-mini .bk-extra b { font-size: 1rem; }
.bk-mini .bk-extra small { font-size: .88rem; }
.bk-mini .bk-check { width: 26px; height: 26px; top: -8px; right: -8px; }
.bk-mini--faces { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.bk-mini--faces .bk-extra { justify-items: center; text-align: center; }
.bk-mini--faces .bk-extra img, .bk-mini--faces .bk-extra .bk-chip { width: 52px !important; height: 52px !important; border-radius: 50% !important; margin-bottom: 6px; }
.bk-mini--faces .bk-extra .bk-chip .icon { width: 24px; height: 24px; }
@media (max-width: 560px) { .bk-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bk-mini--faces { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.bk-addlist { display: grid; gap: 10px; }
.bk-addrow { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--ctl-line); background: #fff; box-shadow: var(--ctl-shadow); transition: border-color .15s, background .15s; }
.bk-addrow.on { border-color: var(--ocean); background: var(--ocean-tint); }
.bk-addrow .bk-chip { width: 40px; height: 40px; border-radius: 12px; }
.bk-addpic { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; }
.bk-addtext { display: grid; gap: 2px; min-width: 0; }
.bk-addtext b { font-family: var(--display); font-size: 1.05rem; line-height: 1.2; }
.bk-addtext .bk-xdesc { color: var(--ink-soft); font-weight: 600; font-size: .85rem; line-height: 1.3; }
.bk-addprice { color: var(--ocean); font-weight: 800; }
.bk-addbtn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--ctl-line); background: #fff; font-weight: 700; cursor: pointer; white-space: nowrap; }
.bk-addbtn .icon { width: 18px; height: 18px; }
.bk-addbtn:hover { border-color: var(--ctl-line-hover); }
.bk-addrow.on .bk-addbtn { background: var(--ocean); border-color: var(--ocean); color: #fff; }
.bk-addbtn:has(input:focus-visible) { box-shadow: var(--ring-btn); }
.bk-addrow .counter output { width: 44px; text-align: center; font-weight: 600; font-size: 1.1rem; }
@media (max-width: 560px) { .bk-addrow { grid-template-columns: auto 1fr; } .bk-addrow > .counter, .bk-addrow > .bk-addbtn { grid-column: 1 / -1; justify-self: end; } }
.bk-xgroup { font-size: 1.05rem; margin: 24px 0 10px; color: var(--ink-soft); }
.bk-xqty { cursor: default; }
.bk-xqty .label { margin: 8px 0 0; font-size: .9rem; }
.bk-xqty .counter output { width: 52px; text-align: center; font-weight: 600; font-size: 1.1rem; }
.counter button:disabled { opacity: .4; cursor: not-allowed; }
.bk-extra:has(input:focus-visible), .bk-week:has(input:focus-visible), .bk-quickdays label:has(input:focus-visible), .bk-yn label:has(input:focus-visible) { outline: none; box-shadow: var(--ring-btn); }
/* Yes/no questions (parking, digital invite): two big buttons, native radios underneath. */
.bk-yn { border: 0; margin: 0; padding: 0; min-width: 0; }
.bk-yn legend { font-weight: 700; margin-bottom: 10px; padding: 0; }
.bk-yn-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 140px)); gap: 12px; }
.bk-yn label { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--ctl-h); padding: 0 16px; border-radius: var(--ctl-r); border: 1px solid var(--ctl-line); background: #fff; font-weight: 600; cursor: pointer; }
.bk-yn label .icon { width: 18px; height: 18px; }
.bk-yn label:hover { border-color: var(--ctl-line-hover); background: var(--ctl-soft); }
.bk-yn label.on, .bk-yn label:has(input:checked) { border-color: var(--ocean); background: var(--ocean-tint); color: var(--ocean); }
@media (pointer: coarse) { .bk-yn label { min-height: 44px; } }

/* 6. summary */
.bk-facts { display: grid; gap: 10px; margin: 0 0 16px; }
.bk-facts > div { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.bk-facts dt { color: var(--ink-soft); font-weight: 800; font-size: .88rem; }
.bk-facts dd { margin: 0; font-weight: 700; }
.bk-facts button { min-height: 40px; padding: 0 6px; border: 0; background: none; color: var(--ocean); font: inherit; font-weight: 600; font-size: .88rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.bk-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.bk-lines li { display: flex; justify-content: space-between; gap: 12px; color: var(--ink-soft); }
.bk-lines li.minus { color: #1f7a33; font-weight: 800; }
.bk-total { display: flex; align-items: baseline; justify-content: space-between; margin-top: 14px; padding: 14px 18px; border-radius: 18px; background: var(--sun); }
.bk-total span { font-weight: 900; }
.bk-total strong { font-family: var(--display); font-size: 2rem; line-height: 1; }
/* VAT breakdown under a total: muted, smaller rows; the total above stays the strong one. */
dl.vat-rows { display: grid; gap: 4px; margin: 10px 4px 0; font-size: .9rem; color: var(--ink-soft); text-align: left; }
.vat-rows div { display: flex; justify-content: space-between; gap: 12px; }
.vat-rows dt, .vat-rows dd { margin: 0; color: inherit; font-weight: 600; }
.vat-rows .vat-total dt, .vat-rows .vat-total dd { color: var(--ink); font-weight: 800; }

/* actions */
.bk-actions { position: sticky; bottom: 12px; z-index: 15; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 26px; padding: 10px; border-radius: 14px; background: rgb(255 255 255 / .94); backdrop-filter: blur(8px); border: 1px solid var(--ctl-line); box-shadow: 0 12px 32px rgb(20 33 61 / .10); }
.bk-sum { display: grid; text-align: center; line-height: 1.1; }
.bk-sum small { font-weight: 800; font-size: .78rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; }
.bk-sum strong { font-family: var(--display); font-size: 1.5rem; }
.bk-sum .bk-was { font-size: .85rem; font-weight: 700; color: var(--ink-soft); }
.bk-sum .bk-packoff { font-size: .78rem; font-weight: 800; color: #23843a; }

@media (max-width: 860px) { .bk-activities { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bk-grid2 { grid-template-columns: minmax(0, 1fr); } }
/* Phones: the two counters share the row and their labels may wrap, so nothing spills out of the card. */
@media (max-width: 480px) { .bk-counters { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .bk-counters label { white-space: normal; } }
@media (max-width: 600px) {
  .bk-steps { top: 76px; }
  .bk-step-label { display: none; }
  .bk-steps li.on .bk-step-label { display: inline; }
  .bk-steps li > * { padding: 6px; }
  .bk-steps li.on > * { padding-right: 14px; }
  .bk-activities { grid-template-columns: 1fr; }
  .bk-card-head, .bk-card-body { padding-left: 18px; padding-right: 18px; }
  .bk-facts > div { grid-template-columns: 1fr auto; } .bk-facts dt { grid-column: 1 / -1; }
  .bk-actions { padding: 8px; } .bk-hide-xs { display: none; }
}
@media (prefers-reduced-motion: reduce) { .bk-activity, .bk-opt, .bk-slot, .bk-extra, .bk-check { transition: none; } }

/* Wizard step 5: one row per child */
.bk-kids .bk-kid + .bk-kid { border-top: 2px dashed var(--line, #e3edf5); padding-top: 16px; }
.bk-kids .bk-kid:last-child .field { margin-bottom: 0; }

/* Wizard step 6: park rules, numbered, scrolling inside the card */
.bk-rules { list-style: none; counter-reset: rule; margin: 0; padding: 6px 18px 6px 6px; max-height: 360px; overflow-y: auto;
  border: 2px solid #e3edf5; border-radius: 18px; background: #f8fbfe; }
.bk-rules li { counter-increment: rule; display: flex; gap: 14px; align-items: flex-start; padding: 12px 8px; line-height: 1.5; }
.bk-rules li + li { border-top: 1px dashed #e3edf5; }
.bk-rules.bk-rules-open { max-height: none; overflow: visible; }
.bk-rules li::before { content: counter(rule); flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: #eefaf0; color: var(--grass); font-weight: 900; font-size: .9rem; }
.bk-rules:focus-visible { outline: 3px solid var(--grass); outline-offset: 2px; }
.bk-rules-more { margin: 14px 2px 16px; font-size: .95rem; }
.bk-rules-h { margin: 0 2px 6px; font-size: 1.05rem; font-weight: 800; }
.bk-rules-open + .bk-rules-h { margin-top: 22px; }
.bk-accept { margin-top: 0; }
/* 7 steps do not fit a phone with a label: icons only (the page heading names the step) */
@media (max-width: 440px) {
  .bk-steps ol { justify-content: space-between; }
  .bk-steps li { flex: none; }
  .bk-steps li.on .bk-step-label { display: none; }
  .bk-steps li > *, .bk-steps li.on > * { padding: 5px; }
}

/* Birth date picker: month/year title opens a year grid, then a month grid */
.cal-head .cal-title { width: auto; height: auto; padding: 6px 12px; gap: 6px; display: inline-flex; align-items: center; background: transparent; }
.cal-head .cal-title { border-color: transparent; }
.cal-head .cal-title:hover { background: var(--ctl-soft); }
.cal-head .cal-title .icon { width: 16px; height: 16px; color: var(--ocean); }
.cal-picks { display: grid; gap: 8px; }
.cal-years { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cal-months { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cal-picks .cal-day { aspect-ratio: auto; padding: 12px 4px; font-size: 1rem; }

/* Promo code + voucher chips stacked */
.voucher-on + .voucher-on, .voucher-on + .voucher-form { margin-top: 10px; }

/* Liability waiver: declaration + signature pad */
.bk-waiver-text { margin: 0 0 16px; padding: 14px 16px; border-radius: 16px; background: #f8fbfe; border: 2px solid #e3edf5; line-height: 1.55; }
.sign-pad { position: relative; height: 190px; border-radius: 18px; border: 2px dashed var(--line); background: #fff; }
.sign-pad:focus-within, .sign-pad:hover { border-color: var(--ocean); }
.sign-pad canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: crosshair; border-radius: 16px; }
.sign-pad-hint { position: absolute; inset: auto 0 18px; text-align: center; color: #a7b1c2; font-weight: 700; pointer-events: none; }
.sign-pad::after { content: ""; position: absolute; left: 24px; right: 24px; bottom: 48px; border-bottom: 2px solid #e3edf5; pointer-events: none; }
.sign-pad-clear { position: absolute; top: 10px; right: 10px; min-height: 36px; padding: 0 12px; border-radius: var(--ctl-r); border: 1px solid var(--ctl-line); background: #fff; font: inherit; font-weight: 600; font-size: .88rem; color: var(--ink); cursor: pointer; box-shadow: var(--ctl-shadow); }
.sign-pad-clear:hover { background: var(--ctl-soft); border-color: var(--ctl-line-hover); }

/* Booking page: check-in QR + waiver still to sign */
.qr-card { display: grid; justify-items: center; gap: 8px; margin: 14px auto 6px; }
.qr-card img { width: 168px; height: 168px; padding: 8px; border-radius: 18px; background: #fff; box-shadow: 0 12px 28px rgb(20 33 61 / .08); image-rendering: pixelated; }
.qr-card figcaption { max-width: 280px; font-size: .92rem; font-weight: 700; color: var(--ink-soft); }
.waiver-card { margin-top: 26px; text-align: left; }
.waiver-sign .btn { margin-top: 4px; }
.waiver-rules { margin: 0 0 16px; }
.waiver-rules summary { cursor: pointer; font-weight: 800; color: var(--ocean); }
.waiver-rules ol { margin: 10px 0 0; padding-left: 22px; line-height: 1.5; }

/* "Add the other children" (optional details, so big groups are quick) */
.bk-more-kids { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 44px; margin-top: 16px; padding: 0 16px; border-radius: var(--ctl-r); border: 1px dashed var(--ctl-line-hover); background: #fff; font: inherit; font-size: 15px; font-weight: 600; color: var(--ocean); cursor: pointer; }
.bk-more-kids:hover { background: var(--ctl-soft); border-style: solid; }
.bk-more-kids .icon { width: 18px; height: 18px; }
.bk-more-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 18px 0 2px; padding-top: 16px; border-top: 2px dashed var(--line, #e3edf5); }
.bk-more-head b { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 1.05rem; color: var(--ink); }
.bk-more-head b .icon { width: 22px; height: 22px; color: var(--ocean); }
.bk-more-head button { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 1px solid var(--ctl-line); border-radius: var(--ctl-r); background: #fff; font: inherit; font-size: .9rem; font-weight: 600; color: var(--ink); cursor: pointer; }
.bk-more-head button:hover { background: var(--ctl-soft); border-color: var(--ctl-line-hover); }
.bk-more-head button .icon { width: 18px; height: 18px; }
.bk-more-head + .bk-kid { border-top: 0 !important; padding-top: 4px !important; }

/* Footer signature: "Feito com (heart) em Lisboa · Powered by jlfs" */
.site-credit { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin: 18px auto 0; padding-top: 16px; border-top: 1px solid rgb(255 255 255 / .08); font-size: .84rem; color: #7f8ca5; }
.site-credit .site-heart { width: 14px; height: 14px; color: var(--cherry); }
.site-footer .site-credit a:not(.btn) { color: #c9d3e3; font-weight: 800; text-decoration: none; }
.site-footer .site-credit a:not(.btn):hover { color: var(--sun); }

/* Client cancel/change page */
.chg-ticket { position: static; text-align: left; margin-top: 18px; }
.chg-h2 { margin-top: 28px; }
.chg-days { margin-top: 12px; }
.chg-days > a { color: inherit; text-decoration: none; min-height: 40px; }
.chg-slots { margin-top: 14px; }
.chg-slots .bk-slot { min-height: 44px; }
.chg-cancel { margin-top: 32px; }
.chg-back { margin-top: 24px; }
.chg-back a { display: inline-flex; align-items: center; min-height: 44px; }

/* Booking page: the family changes or cancels (until the deadline) */
.chg-card { margin-top: 22px; text-align: left; }
.chg-card .bk-card-body { display: grid; gap: 12px; }
.chg-wide { width: 100%; justify-content: center; }
.chg-card .bk-card-body:has(> .chg-confirm) { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); align-items: start; }
.chg-confirm[open] { grid-column: 1 / -1; }
.chg-confirm summary { list-style: none; cursor: pointer; }
.chg-confirm summary::-webkit-details-marker { display: none; }
.chg-confirm[open] summary { margin-bottom: 4px; }
.chg-confirm .banner { margin: 10px 0 12px; }
.chg-move { text-align: left; }
.chg-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 14px; }
.chg-compare > div { padding: 12px 14px; border-radius: 16px; background: var(--mist); }
.chg-compare > div.now { background: #eafaee; }
.chg-compare small { display: block; font-weight: 800; color: var(--ink-soft); }
.chg-compare b { display: block; font-size: 1.05rem; }
.chg-pay { display: grid; gap: 10px; margin: 0 0 14px; border: 0; padding: 0; min-width: 0; }
/* Online payment methods: MB WAY red, Multibanco blue, card ink. */
.pay-badges { display: inline-flex; flex-wrap: wrap; gap: 4px; vertical-align: middle; }
.mbway-badge--mb { background: #1b4f9c; }
.mbway-badge--card { background: #24304a; }
.btn .pay-badges .mbway-badge { box-shadow: 0 0 0 1px rgba(255,255,255,.55); }
.pay .pay-badges { margin-top: 6px; }
.mb-ref dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; margin: 8px 0; }
.mb-ref dt { color: var(--ink-soft); }
.mb-ref dd { margin: 0; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: .03em; }

/* "Os seus dados": the family's details on their phone (QR on the customer display) */
.dados-form { text-align: left; margin-top: 18px; }
.dados-h2 { font-size: 1.2rem; margin: 6px 0 12px; }
.dados-kid { border: 0; padding: 0; margin: 0 0 6px; }
.dados-save { width: 100%; justify-content: center; margin-top: 18px; }
.bar-card .bar-doc { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 6px; font-size: .95rem; }
.bar-card .bar-doc span { color: var(--ink-soft); }
.bar-card .lines + .bar-doc { margin-top: 16px; }
.bar-card .total strong { font-size: 1.6rem; }
.bar-card .lines small { font-size: .9em; }
/* "A minha conta": side menu + content on desktop, a compact header with a menu button on phones */
.acc { text-align: left; display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .acc { grid-template-columns: 260px minmax(0, 1fr); } }
.acc-main { min-width: 0; display: grid; gap: 20px; align-content: start; }
.acc-main > .banner { margin: 0; }
.acc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px 16px; flex-wrap: wrap; }
.acc-head h1 { margin: 0; font-size: 1.75rem; font-weight: 700; line-height: 1.15; }
.acc-head p { margin: 4px 0 0; color: var(--ink-soft); }
.acc-side { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "me menu"; gap: 12px; align-items: center; }
.acc-me { grid-area: me; display: flex; align-items: center; gap: 12px; min-width: 0; }
.acc-avatar { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ocean); color: #fff; font-family: var(--display); font-weight: 700; font-size: 1rem; letter-spacing: .02em; }
.acc-me-text { display: grid; min-width: 0; }
.acc-me-text b, .acc-me-text small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acc-me-text b { font-size: 1rem; }
.acc-me-text small { color: var(--ink-soft); font-size: .85rem; }
.acc-me-rest, .acc-me-text small { display: none; }
.acc-burger { grid-area: menu; justify-self: end; }   /* the look is the site's ghost button, like "Ir para a minha conta" */
.acc-burger[aria-expanded="true"] { background: var(--ctl-soft); border-color: var(--ctl-line-hover); }
.acc-burger .icon { width: 18px; height: 18px; transition: transform .2s; }
.acc-burger[aria-expanded="true"] .icon { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { .acc-burger .icon { transition: none; } }
/* phones: the sections in a menu over the content, under the button */
.acc-menu { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 40; }
.acc-menu.is-open { display: block; }
.acc-menu::before { content: ""; position: fixed; inset: 0; z-index: -1; background: rgb(20 33 61 / .28); }
.acc-menu-panel { padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 16px 40px rgb(20 33 61 / .16); }
@media (prefers-reduced-motion: no-preference) { .acc-menu.is-open .acc-menu-panel { animation: acc-menu-in .16s ease-out; } }
@keyframes acc-menu-in { from { opacity: 0; transform: translateY(-6px); } }
.acc-locked { overflow: hidden; }
.acc-nav { grid-area: nav; display: flex; flex-direction: column; gap: 2px; }
.acc-nav a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; border-radius: 10px; color: var(--ink-soft); font-weight: 600; font-size: .95rem; text-decoration: none; }
.acc-nav .icon { width: 18px; height: 18px; flex: none; }
.acc-nav a:hover { color: var(--ink); background: var(--ctl-soft); }
.acc-nav a[aria-current="page"] { color: var(--ocean); background: var(--ocean-tint); font-weight: 700; }
.acc-out { grid-area: out; margin: 8px 0 0; padding-top: 8px; border-top: 1px solid var(--line); }
.acc-out button { display: flex; align-items: center; gap: 12px; width: 100%; height: 44px; padding: 0 12px; border: 0; border-radius: 10px; background: none; color: var(--ink-soft); font: inherit; font-weight: 600; cursor: pointer; }
.acc-out button:hover { color: var(--ink); background: var(--ctl-soft); }
.acc-out .icon { width: 18px; height: 18px; }
@media (min-width: 900px) {
  .acc-side { position: sticky; top: 104px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "me" "nav" "out"; gap: 0; padding: 20px 12px 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 1px 2px rgb(20 33 61 / .04), 0 8px 24px rgb(20 33 61 / .05); }
  .acc-me { padding: 0 8px 18px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
  .acc-me-rest { display: inline; }
  .acc-me-text small { display: block; }
  .acc-burger { display: none; }
  .acc-menu, .acc-menu-panel { display: contents; }
  .acc-menu::before { content: none; }
  .acc-nav a { min-height: 42px; }
  .acc-out { margin-top: 10px; padding-top: 10px; }
  .acc-out button { height: 42px; }
}
.acc-nav a:focus-visible, .acc-out button:focus-visible, .acc-burger:focus-visible, .acc-bk:focus-visible, .acc-item:focus-visible, .acc-icon-btn:focus-visible { outline: none; box-shadow: var(--ring-btn); }

/* Panels */
.acc-panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 1px 2px rgb(20 33 61 / .04), 0 8px 24px rgb(20 33 61 / .05); padding: 24px; }
.acc-panel-head { margin: 0 0 14px; }
.acc-panel-head h2, .acc-h2 { margin: 0; font-family: var(--body); font-size: 1.1rem; font-weight: 700; line-height: 1.3; }
.acc-panel-head p { margin: 2px 0 0; color: var(--ink-soft); font-size: .92rem; }
.acc-h2 { margin: 8px 0 -6px; }
.acc-h2 small { display: block; margin-top: 2px; color: var(--ink-soft); font-size: .92rem; font-weight: 400; }
.acc-chev { width: 18px; height: 18px; flex: none; color: var(--ctl-muted); }
.acc-empty { display: grid; justify-items: center; gap: 12px; padding: 20px 8px; text-align: center; }
.acc-empty > .icon { width: 32px; height: 32px; color: var(--ctl-muted); }
.acc-empty p { margin: 0; color: var(--ink-soft); }

/* Booking rows (Início and Reservas) */
.acc-bk, .acc-item, .acc-inv { display: flex; align-items: center; gap: 14px; margin: 0 -12px; padding: 12px; border-radius: 12px; color: inherit; text-decoration: none; }
.acc-bk + .acc-bk, .acc-item + .acc-item, .acc-inv + .acc-inv { position: relative; }
.acc-bk + .acc-bk::before, .acc-item + .acc-item::before, .acc-inv + .acc-inv::before { content: ""; position: absolute; top: 0; left: 12px; right: 12px; border-top: 1px solid var(--line); }
.acc-bk:hover, .acc-item:hover { background: color-mix(in srgb, var(--ocean) 5%, #fff); }
.acc-date { flex: none; display: grid; place-content: center; justify-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--ocean-tint); color: var(--ocean); line-height: 1; }
.acc-date b { font-family: var(--display); font-size: 1.35rem; font-weight: 700; }
.acc-date small { margin-top: 3px; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.acc-date--lg { width: 76px; height: 76px; border-radius: 16px; }
.acc-date--lg b { font-size: 2rem; }
.acc-date--lg small { font-size: .8rem; }
.acc-bk-text, .acc-item-main { display: grid; gap: 3px; min-width: 0; flex: 1; }
.acc-bk-text b, .acc-item-main b { font-weight: 700; }
.acc-bk-text small, .acc-item-main small { color: var(--ink-soft); font-size: .9rem; }
.acc-item-main b small { margin-left: 6px; font-weight: 500; }
.acc-pill { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; line-height: 1.3; white-space: nowrap; }
.acc-pill .icon { width: 14px; height: 14px; flex: none; }
.acc-pill--paid { background: #e5f5e8; color: #1d6b2c; }
.acc-pill--part { background: #fff4d1; color: #7a5200; }
.acc-pill--due { background: #ffead6; color: #9a4400; }
.acc-pill--off { background: #eef2f7; color: #4a5672; }
@media (max-width: 599px) {
  .acc-panel { padding: 18px 16px; }
  .acc-bk { flex-wrap: wrap; align-items: flex-start; column-gap: 12px; }
  .acc-bk .acc-bk-text { flex-basis: calc(100% - 100px); }
  .acc-bk .acc-pill { order: 3; margin-left: 64px; }
  .acc-bk .acc-chev { align-self: center; }
}

/* Início: the next booking as an ocean ticket, a summary row, the quick actions */
.acc-hero { filter: drop-shadow(0 10px 22px rgb(15 76 125 / .22)) drop-shadow(0 2px 4px rgb(15 76 125 / .12)); }
.acc-ticket {
  --stub: 260px;
  display: grid; color: #fff; border-radius: 20px;
  background:
    radial-gradient(circle, rgb(255 255 255 / .05) 0 2.5px, transparent 3px) 0 0 / 26px 26px,
    linear-gradient(135deg, var(--ocean) 0%, var(--ocean-hover) 55%, var(--ocean-active) 100%);
}
.acc-ticket-main { display: grid; gap: 14px; align-content: start; padding: 24px 24px 20px; min-width: 0; }
.acc-ticket-kicker { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 0; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgb(255 255 255 / .92); }
.acc-ticket-when { padding: 4px 12px; border-radius: 999px; background: var(--sun); color: var(--ink); font-size: .85rem; letter-spacing: 0; text-transform: none; }
.acc-ticket-row { display: flex; align-items: center; gap: 18px; }
.acc-ticket .acc-date { background: #fff; color: var(--ocean); box-shadow: 0 6px 16px rgb(10 40 70 / .25); }
.acc-ticket-text { display: grid; gap: 4px; min-width: 0; }
.acc-ticket h2 { margin: 0; font-family: var(--display); font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.85rem); font-weight: 700; line-height: 1.15; color: #fff; overflow-wrap: anywhere; }
.acc-ticket-main > p, .acc-ticket-text p { margin: 0; color: rgb(255 255 255 / .92); }
.acc-ticket-meta { display: flex; align-items: center; gap: 8px 16px; flex-wrap: wrap; margin: 0; font-size: .95rem; color: rgb(255 255 255 / .92); }
.acc-ticket-meta > span:not(.acc-pill) { display: inline-flex; align-items: center; gap: 6px; }
.acc-ticket-meta .icon { width: 18px; height: 18px; }
.acc-ticket-ref { font-variant-numeric: tabular-nums; letter-spacing: .06em; font-weight: 600; color: #fff; }
.acc-ticket-stub { display: grid; gap: 12px; align-content: center; justify-items: start; padding: 18px 24px 24px; border-top: 2px dashed rgb(255 255 255 / .3); }
.acc-ticket-stub p { margin: 0; font-size: .9rem; color: rgb(255 255 255 / .92); }
.acc-ticket-qr { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgb(255 255 255 / .12); border: 1px solid rgb(255 255 255 / .22); }
.acc-ticket-qr .icon { width: 24px; height: 24px; }
.acc-ticket-btn { padding: 0 18px; white-space: nowrap; --bg: #fff; --bg-hover: #eaf3fb; --bg-active: #d9e9f6; --fg: var(--ocean-active); width: 100%; box-shadow: 0 2px 6px rgb(10 40 70 / .2); }
.acc-ticket-btn:focus-visible { box-shadow: 0 0 0 3px rgb(255 255 255 / .6); }
.acc-ticket--empty .acc-ticket-main { gap: 8px; }
@media (min-width: 720px) {
  .acc-ticket {
    grid-template-columns: minmax(0, 1fr) var(--stub);
    /* two notches where the stub tears off */
    -webkit-mask: radial-gradient(circle 12px at calc(100% - var(--stub)) 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 12px at calc(100% - var(--stub)) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
    mask: radial-gradient(circle 12px at calc(100% - var(--stub)) 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 12px at calc(100% - var(--stub)) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
  }
  .acc-ticket-main { padding: 28px 32px; }
  .acc-ticket-stub { padding: 28px; border-top: 0; border-left: 2px dashed rgb(255 255 255 / .3); }
}
.acc-kpis { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.acc-kpi { display: grid; gap: 6px; align-content: start; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 16px; color: inherit; text-decoration: none; box-shadow: 0 1px 2px rgb(20 33 61 / .04), 0 8px 24px rgb(20 33 61 / .04); transition: border-color .15s, box-shadow .15s, transform .15s; }
.acc-kpi:hover { border-color: color-mix(in srgb, var(--ocean) 35%, #fff); box-shadow: 0 1px 2px rgb(20 33 61 / .04), 0 12px 28px rgb(20 33 61 / .08); transform: translateY(-2px); }
.acc-kpi-label { display: flex; align-items: center; gap: 8px; color: var(--ink-soft); font-size: .9rem; font-weight: 600; }
.acc-kpi-label .icon { width: 18px; height: 18px; flex: none; color: var(--ocean); }
.acc-kpi-label .acc-kpi-go { margin-left: auto; color: var(--ctl-muted); transition: color .15s, transform .15s; }
.acc-kpi:hover .acc-kpi-go { color: var(--ocean); transform: translate(2px, -2px); }
.acc-kpi-num { font-family: var(--display); font-size: 2.25rem; font-weight: 700; line-height: 1.05; color: var(--ink); font-variant-numeric: tabular-nums; }
.acc-kpi-num small { margin-left: 6px; font-family: var(--body); font-size: .95rem; font-weight: 600; color: var(--ink-soft); }
.acc-kpi > small { color: var(--ink-soft); font-size: .88rem; }
.acc-kpi .acc-meter { margin: 2px 0 0; max-width: none; }
.acc-acts { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.acc-act { --tone: var(--ocean); display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; color: inherit; text-decoration: none; box-shadow: 0 1px 2px rgb(20 33 61 / .04); transition: border-color .15s, box-shadow .15s; }
.acc-act--cherry { --tone: var(--cherry); }
.acc-act--grass { --tone: var(--grass); }
.acc-act:hover { border-color: color-mix(in srgb, var(--tone) 45%, #fff); box-shadow: 0 10px 24px rgb(20 33 61 / .07); }
.acc-act-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: color-mix(in srgb, var(--tone) 10%, #fff); color: var(--tone); }
.acc-act-icon .icon { width: 22px; height: 22px; }
.acc-act-text { display: grid; gap: 2px; flex: 1; min-width: 0; }
.acc-act-text small { color: var(--ink-soft); font-size: .88rem; line-height: 1.4; }
.acc-act-go { width: 18px; height: 18px; flex: none; color: var(--ctl-muted); transition: color .15s, transform .15s; }
.acc-act:hover .acc-act-go { color: var(--tone); transform: translateX(3px); }
@media (min-width: 600px) { .acc-act { position: relative; flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px 20px; } .acc-act-go { position: absolute; top: 20px; right: 18px; } }
@media (max-width: 599px) {
  .acc-ticket-stub { grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 14px; }
  .acc-ticket-stub .btn { grid-column: 1 / -1; }
  .acc-kpis { gap: 10px; }
  .acc-kpi { grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 2px; align-items: center; padding: 14px 16px; }
  .acc-kpi-label { grid-column: 1; }
  .acc-kpi-num { grid-column: 2; grid-row: 1 / span 2; font-size: 1.75rem; }
  .acc-kpi > small { grid-column: 1; grid-row: 2; }
  .acc-kpi .acc-meter { grid-column: 1 / -1; grid-row: 3; margin-top: 8px; }
  .acc-kpi-label .acc-kpi-go { display: none; }
}
.acc-kpi:focus-visible, .acc-act:focus-visible { outline: none; box-shadow: var(--ring-btn); }
@media (prefers-reduced-motion: reduce) { .acc-kpi, .acc-kpi-go, .acc-act, .acc-act-go { transition: none; } .acc-kpi:hover, .acc-kpi:hover .acc-kpi-go, .acc-act:hover .acc-act-go { transform: none; } }

/* Pacotes e vales, Faturas */
.acc-meter { display: block; height: 6px; margin: 6px 0 2px; max-width: 360px; border-radius: 999px; background: #e9eef4; overflow: hidden; }
.acc-meter span { display: block; height: 100%; border-radius: inherit; background: var(--grass); }
.acc-amount { flex: none; font-family: var(--display); font-weight: 700; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.acc-inv-date { flex: none; width: 96px; color: var(--ink-soft); font-size: .9rem; font-variant-numeric: tabular-nums; }
.acc-icon-btn { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--ctl-line); border-radius: var(--ctl-r); background: #fff; color: var(--ink); }
.acc-icon-btn:hover { background: var(--ctl-soft); border-color: var(--ctl-line-hover); color: var(--ocean); }
.acc-icon-btn .icon { width: 20px; height: 20px; }
.acc-pack-link { color: inherit; text-decoration: none; border-radius: 8px; }
.acc-pack-link:hover b { color: var(--ocean); }
.acc-pack-link:focus-visible { outline: none; box-shadow: var(--ring-btn); }
.acc-group { margin: 16px 0 4px; color: var(--ink-soft); font-family: var(--body); font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.acc-panel-head + .acc-group { margin-top: 0; }
.acc-visits { margin: 0 0 6px; font-size: .9rem; }
.acc-visits summary { width: fit-content; padding: 2px 0; color: var(--ocean); font-weight: 600; cursor: pointer; }
.acc-visits-wrap { overflow-x: auto; }
.acc-visits-table { width: 100%; margin-top: 6px; border-collapse: collapse; }
.acc-visits-table th, .acc-visits-table td { padding: 6px 4px; border-top: 1px solid var(--line); text-align: left; font-variant-numeric: tabular-nums; }
.acc-visits-table th { color: var(--ink-soft); font-weight: 600; }
.acc-visits-table th + th, .acc-visits-table td + td { text-align: right; }
@media (max-width: 599px) {
  .acc-inv { flex-wrap: wrap; row-gap: 2px; }
  .acc-inv .acc-item-main { flex-basis: calc(100% - 56px); }
  .acc-inv .acc-icon-btn { order: 2; }
  .acc-inv-date { order: 3; width: 100%; }
  .acc-pack .btn { order: 3; width: 100%; }
}

/* Os meus dados, crianças: forms in two columns on desktop */
.acc-form { display: grid; gap: 16px; }
@media (min-width: 700px) { .acc-form { grid-template-columns: 1fr 1fr; gap: 18px 20px; } }
.acc-form .field { margin: 0; min-width: 0; }
.acc-form .field small { display: block; margin-top: 6px; font-size: .85rem; }
.acc-form > .acc-wide, .acc-form > .acc-actions, .acc-form > .acc-solo { grid-column: 1 / -1; }
@media (min-width: 700px) { .acc-form > .acc-solo { max-width: calc(50% - 10px); } }
.acc-form input[readonly] { background: var(--ctl-soft); color: var(--ink-soft); }
.acc-form > p.muted { margin: 0; }
.acc-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.acc-actions p { margin: 0 auto 0 0; flex: 1 1 260px; font-size: .9rem; }
.acc-panel form > .check { margin: 0 0 16px; }
.acc-pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.acc-pager-at { color: var(--ink-soft); font-size: .9rem; white-space: nowrap; }
@media (max-width: 480px) { .acc-pager .btn { padding-inline: 12px; } }
@media (max-width: 599px) { .acc-actions .btn { width: 100%; justify-content: center; } }
.acc-kids { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.acc-kid { display: grid; gap: 14px; grid-template-rows: auto 1fr auto; }
.acc-kid-head { display: flex; align-items: center; gap: 12px; }
.acc-kid-head .acc-avatar { background: var(--ocean-tint); color: var(--ocean); }
.acc-kid-head h2 { margin: 0; font-family: var(--body); font-size: 1.05rem; font-weight: 700; line-height: 1.3; }
.acc-kid-head p { margin: 0; color: var(--ink-soft); font-size: .9rem; }
.acc-badges { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 6px; margin: 0; }
.acc-badges .acc-pill { white-space: normal; }
.acc-kid-actions { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--line); }
.acc-kid-actions form { margin: 0; }

/* Sign-in, forgot and new password: the same panel look */
.bk-card.acc-auth { text-align: left; margin-top: 22px; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 1px 2px rgb(20 33 61 / .04), 0 8px 24px rgb(20 33 61 / .05); }
.acc-auth .bk-card-head { border-bottom: 0; padding-bottom: 0; }
.acc-auth .bk-card-head b { font-family: var(--body); font-size: 1.1rem; font-weight: 700; }
.acc-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; max-width: 420px; margin: 22px auto 0; padding: 4px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.acc-tabs a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: 9px; color: var(--ink-soft); font-weight: 600; text-decoration: none; }
.acc-tabs a:hover { color: var(--ink); }
.acc-tabs a[aria-current] { background: var(--ocean); color: #fff; }
.acc-tabs a:focus-visible { outline: none; box-shadow: var(--ring-btn); }
.tab-head { margin: 16px 0 0; padding-top: 12px; border-top: 2px dashed var(--line); font-weight: 700; font-size: .95rem; }
.lines.tab-lines { border-top: 0; padding-top: 8px; }
.lines.tab-lines .tab-sum { font-weight: 700; padding-top: 6px; border-top: 1px dashed var(--line); }

/* Booking page (/reserva/{ref}): the account's ocean ticket, panels and pills, so both feel like one product */
.bkv { display: grid; gap: 20px; text-align: left; }
.bkv-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.bkv-top h1 { margin: 0; min-width: 0; font-size: clamp(1.6rem, 1.25rem + 1.5vw, 2.25rem); font-weight: 700; line-height: 1.15; }
.bkv-acc { flex: none; }
@media (max-width: 599px) {
  .bkv-acc { width: var(--ctl-h); padding: 0; }
  .bkv-acc span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
.bkv > .err { margin: 0; }
.bkv > .banner, .bkv-next > .banner, .bkv-rest > .banner { margin: 0; }
.bkv .banner { padding: 14px 16px; border-width: 1px; border-radius: 14px; line-height: 1.5; }
.bkv .banner > .icon { flex: none; width: 22px; height: 22px; margin-top: 1px; }
.bkv-next { display: grid; gap: 12px; }
.bkv-next:empty { display: none; }
.bkv-next > p, .bkv-next .actions { margin: 0; }
.bkv-next .actions { justify-content: flex-start; gap: 10px; }
.bkv-next .actions form { margin: 0; }
@media (max-width: 599px) { .bkv-next .actions > *, .bkv-next .actions form .btn, .bkv-next > p > .btn { width: 100%; } }

/* the ticket: the reference and the QR stub */
.bkv-hero .acc-ticket-ref small { margin-right: 4px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgb(255 255 255 / .92); }
.acc-ticket-stub.bkv-qr { margin: 0; grid-template-columns: none; justify-items: center; text-align: center; }
.bkv-qr img { display: block; width: 168px; height: 168px; padding: 10px; border-radius: 16px; background: #fff; image-rendering: pixelated; box-shadow: 0 6px 16px rgb(10 40 70 / .25); }
.bkv-qr figcaption { max-width: 230px; font-size: .88rem; line-height: 1.45; color: rgb(255 255 255 / .92); }
/* phones: QR beside its caption, so the pay button stays near the top; 136px is still an easy scan at the desk */
@media (max-width: 599px) {
  .acc-ticket-stub.bkv-qr { grid-template-columns: auto minmax(0, 1fr); justify-items: start; text-align: left; column-gap: 16px; padding: 18px 24px 22px; }
  .bkv-qr img { width: 136px; height: 136px; padding: 8px; }
}
.bkv-hero:has(.bkv-ticket--off) { filter: drop-shadow(0 8px 18px rgb(20 33 61 / .16)); }
.acc-ticket.bkv-ticket--off { background: radial-gradient(circle, rgb(255 255 255 / .05) 0 2.5px, transparent 3px) 0 0 / 26px 26px, linear-gradient(135deg, #5d6a82 0%, #4a5672 55%, #3b4660 100%); }
.bkv-ticket--off .acc-date { color: #4a5672; }
@media (min-width: 720px) { .acc-ticket.bkv-ticket--solo { grid-template-columns: minmax(0, 1fr); -webkit-mask: none; mask: none; } }
/* The hour pack page: the account's ticket with the balance big and the QR on the stub (first on phones, for the desk to scan) */
.pkv { max-width: 920px; }
.pkv > h1 { margin: 0; font-size: clamp(1.6rem, 1.25rem + 1.5vw, 2.25rem); font-weight: 700; line-height: 1.15; }
.pkv-balance { display: grid; gap: 4px; }
.pkv-balance small { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgb(255 255 255 / .85); }
.pkv-balance b { font-family: var(--display); font-size: clamp(3rem, 2.4rem + 3vw, 4.5rem); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.pkv-balance span { font-weight: 700; }
.pkv-used { display: grid; gap: 8px; }
.pkv-used .acc-meter { height: 8px; max-width: none; margin: 0; background: rgb(255 255 255 / .22); }
.pkv-used .acc-meter span { background: var(--sun); }
.pkv-used p { margin: 0; font-size: .92rem; color: rgb(255 255 255 / .92); }
.pkv-ticket .acc-ticket-meta > span { align-items: flex-start; }
.pkv-ticket .acc-ticket-meta .icon { flex: none; margin-top: 2px; }
.pkv-foot { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: start; }
@media (max-width: 719px) { .pkv-ticket .acc-ticket-stub { order: -1; border-top: 0; border-bottom: 2px dashed rgb(255 255 255 / .3); } }

/* details and receipt side by side on desktop; on phones the receipt first (what is left to pay near the top), then details and the rest */
.bkv-grid { display: grid; gap: 20px; align-items: start; }
.bkv-rest { display: grid; gap: 20px; min-width: 0; }
.bkv-rest:empty { display: none; }
@media (min-width: 900px) {
  .bkv-grid { grid-template-columns: minmax(0, 1fr) 360px; }
  .bkv-details { grid-column: 1; grid-row: 1; }
  .bkv-receipt { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 104px; }
  .bkv-rest { grid-column: 1; grid-row: 2; }
}
.bkv-head-sm { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; }
.bkv-head-sm .icon { flex: none; width: 18px; height: 18px; color: var(--ocean); }
.bkv-head-sm h2 { margin: 0; font-family: var(--body); font-size: 1.05rem; font-weight: 700; line-height: 1.3; }
.bkv-rows { display: grid; margin: 0; }
.bkv-rows > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.bkv-rows > div:first-child { padding-top: 2px; border-top: 0; }
.bkv-rows dt { flex: none; color: var(--ink-soft); }
.bkv-rows dd { margin: 0; min-width: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.bkv-rows dd small { display: block; font-weight: 400; font-size: .85rem; }
.bkv-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 14px 0 0; }
.bkv-chips > div { min-width: 0; padding: 10px 12px; border-radius: 12px; background: var(--ctl-soft); border: 1px solid var(--line); }
.bkv-chips dt { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.bkv-chips dd { margin: 2px 0 0; font-weight: 600; font-size: .95rem; line-height: 1.35; overflow-wrap: anywhere; }
.bkv-chips dd small { display: block; font-size: .8rem; font-weight: 500; }
.bkv .appt-who { margin: 0 0 12px; padding: 0 0 12px; border-radius: 0; background: none; box-shadow: none; border-bottom: 1px solid var(--line); }

/* the receipt */
.bkv-receipt .lines { gap: 8px; padding: 0; border-top: 0; font-size: .95rem; }
.bkv-receipt .lines li > span:last-child, .bkv-receipt dd { font-variant-numeric: tabular-nums; white-space: nowrap; }
.bkv-receipt .tab-head { border-top: 1px dashed var(--ctl-line-hover); }
.tab-who { display: block; margin-top: 2px; color: var(--ink-soft); font-size: .82rem; line-height: 1.35; }
.bkv-pay { width: 100%; margin-top: 14px; }
.bkv-receipt .total { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--ctl-line-hover); }
.bkv-receipt .total span { font-weight: 700; }
.bkv-receipt .total strong { font-size: 2rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.bkv-receipt dl.vat-rows { gap: 2px; margin: 6px 0 0; font-size: .82rem; }
.bkv-receipt .vat-rows .vat-total dt, .bkv-receipt .vat-rows .vat-total dd { color: var(--ink-soft); font-weight: 600; }
.bkv-receipt dl.bkv-paid { gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .95rem; }
.bkv-paid > div:first-child dd { color: #1d6b2c; }
.bkv-receipt .bkv-paid .vat-total { align-items: center; padding: 12px 14px; border-radius: 12px; background: #fff4e5; }
.bkv-receipt .bkv-paid .vat-total dt { color: #9a4400; font-weight: 700; }
.bkv-receipt .bkv-paid .vat-total dd { color: #9a4400; font-family: var(--display); font-size: 1.4rem; font-weight: 700; }

/* the other sections: the account's panel look, a small inline icon in the header */
.bkv .bk-card { margin: 0; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 1px 2px rgb(20 33 61 / .04), 0 8px 24px rgb(20 33 61 / .05); }
.bkv .bk-card-head { align-items: flex-start; gap: 8px; padding: 20px 24px 0; border-bottom: 0; }
.bkv .bk-card-head .bk-chip { width: auto; height: auto; margin-top: 1px; background: none; color: var(--c); }
.bkv .bk-card-head .bk-chip.c-sun { color: #a87a00; }
.bkv .bk-card-head .bk-chip .icon { width: 20px; height: 20px; }
.bkv .bk-card-head b { font-family: var(--body); font-size: 1.05rem; font-weight: 700; line-height: 1.3; }
.bkv .bk-card-head small { display: block; margin-top: 2px; }
.bkv .bk-card-body { padding: 14px 24px 22px; }
.bkv .bk-rules { padding: 2px 12px 2px 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--ctl-soft); }
.bkv .bk-rules li + li { border-top-color: var(--line); }
.bkv-fold > summary { list-style: none; }
.bkv-fold > summary::-webkit-details-marker { display: none; }
.bkv-fold > summary .icon { width: 16px; height: 16px; transition: rotate .2s; }
.bkv-fold[open] > summary { margin-bottom: 12px; }
.bkv-fold[open] > summary .icon { rotate: 180deg; }
@media (min-width: 600px) { .bkv-fold[open] > summary { display: none; } }
@media (max-width: 599px) {
  .bkv { gap: 16px; }
  .bkv .bk-card-head { padding: 18px 16px 0; }
  .bkv .bk-card-body { padding: 12px 16px 18px; }
}
@media (prefers-reduced-motion: reduce) { .bkv-fold > summary .icon { transition: none; } }
