/* Extra styles for the real site, on top of the mock-up's styles.css */
.side form { margin: 0; }
.linkish { background: none; border: 0; color: inherit; font: inherit; padding: 10px 14px; width: 100%; text-align: left; cursor: pointer; border-radius: var(--r-md); }
.linkish:hover, .linkish:focus-visible { background: rgba(255,255,255,.08); }
.chk { list-style: none; padding: 0; margin: 0; }
.chk li { padding: 6px 0; }
.chk-ok { color: #166534; } .chk-no { color: #b91c1c; font-weight: 600; }
.month-picks { display: flex; flex-wrap: wrap; gap: var(--s-2) 14px; }
.month-picks label { display: flex; gap: 6px; align-items: center; }
.home-content h2 { margin-top: 0; } .home-content h3 { margin: 18px 0 6px; } .home-content p { line-height: 1.6; max-width: 75ch; }
.disco-box { display: flex; gap: var(--s-2); align-items: center; background: #f5f3ff; border: 1px solid #ddd6fe; color: #3b0764; border-radius: var(--r-md); padding: 6px 10px; font-size: .82rem; margin-top: 6px; }
.disco-big { font-size: .92rem; padding: 10px var(--s-3); margin-top: var(--s-3); }
.t input[type=number], .t input:not([type]) { border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 6px var(--s-2); font: inherit; }
.admin .side a, .admin .side .linkish { display: block; }
.admin { min-height: 100vh; }
.side .linkish { color: #cbd5e1; font-weight: 700; font-size: .95rem; padding: 9px var(--s-3); }
.side .linkish:hover { color: #fff; }
@media (max-width: 900px) { .admin .side { display: flex !important; flex-wrap: wrap; gap: var(--s-1); } .admin .side a, .admin .side form { display: inline-block; width: auto; } }
.rich h2, .rich h3, .rich h4 { margin: var(--s-4) 0 6px; } .rich p { line-height: 1.6; } .rich img { max-width: 100%; height: auto; border-radius: var(--r-md); }
.cpic { margin: var(--s-4) 0; text-align: center; } .cpic img { display: block; margin: 0 auto; max-width: 100%; height: auto; border-radius: var(--r-md); } .cpic-logo img { border-radius: 0; max-width: 240px; }
.cpic-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 4px 0 6px; } .cpic-tools input[type=text] { flex: 1 1 220px; min-width: 0; } .cpic-tools .small { width: 100%; } .cpic-tools .cpic-tick { display: inline-flex; gap: 6px; align-items: center; font-weight: 400; margin: 0; width: auto; white-space: nowrap; } .cpic-tools .cpic-tick input { width: auto; height: auto; margin: 0; }
.rich table { border-collapse: collapse; width: 100%; } .rich th, .rich td { border: 1px solid var(--line); padding: 6px var(--s-2); text-align: left; }
textarea.mono-ish { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .85rem; }
/* Links inside written content (home page text, item descriptions) */
.rich a, .home-content a { color: #15803d; text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.rich a:hover, .home-content a:hover, .rich a:focus-visible, .home-content a:focus-visible { color: #166534; text-decoration-thickness: 2px; }
/* Sidebar categories: no icons, buttons 25% bigger (text .92rem → 1.15rem, padding 8px → 10px/12px) */
.cats nav > a { font-size: 1.15rem; padding: 10px var(--s-3); min-height: 50px; }
.cats nav > a.cat-sub { font-size: 1rem; font-weight: 600; min-height: 40px; padding: 7px var(--s-3) 7px 30px; }
.cats nav > a.cat-sub::before { content: "↳ "; color: var(--muted); margin-right: 2px; }
.cats-h { font-size: 1.25rem; padding: 14px var(--s-4); }
/* Sidebar 20% wider: 250px → 300px (phones keep the stacked layout) */
@media (min-width: 901px) { .shop { grid-template-columns: 300px minmax(0, 1fr); } }
/* Content area 20% wider: page width 1160px → 1366px (sidebar 300px + main ~1000px). Header and footer follow so everything lines up. */
.wrap { max-width: 1366px; }
/* Step 2: calendar links, hire-length links, finder */
a.day { text-decoration: none; cursor: pointer; }
a.day:hover, a.day:focus-visible { border-color: var(--coral); }
.day.span { border-color: #ffb3d1; background: #fff0f6; }
.cal-nav { display: grid; place-items: center; border: 1.5px solid var(--line); background: #fff; border-radius: var(--r-md); width: 36px; height: 36px; font-weight: 900; color: var(--navy); text-decoration: none; }
.cal-nav.off { opacity: .35; }
.seg-a { flex: 1; min-width: 120px; border: 1.5px solid var(--line); background: #fff; border-radius: var(--r-md); padding: 10px var(--s-3); font-weight: 800; color: var(--navy); text-decoration: none; }
.seg-a small { display: block; font-weight: 600; color: var(--muted); }
.seg-a.on { border-color: var(--coral); background: #fff0f6; box-shadow: var(--ring); }
.finder-compact { box-shadow: none; border: 1px solid var(--line); padding: 14px var(--s-4); margin-top: 10px; }
.finder-compact .field { margin-bottom: 0; }
.soft { background: #fafafa; box-shadow: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.plain-list { list-style: none; padding: 0; margin: 0; }
.plain-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid #f0f0f4; }
fieldset.field { border: 0; padding: 0; margin: 0 0 var(--s-3); }
.kind-sec { margin: 0 0 var(--s-3) 30px; }
.row > .kind-sec { margin: 0; }
/* Step 3: checkout */
.seg-radio label { flex: 1; min-width: 120px; border: 1.5px solid var(--line); background: #fff; border-radius: var(--r-md); padding: 10px var(--s-3); font-weight: 800; color: var(--navy); cursor: pointer; position: relative; }
.seg-radio label small { display: block; font-weight: 600; color: var(--muted); }
.seg-radio label.on, .seg-radio label:has(input:checked) { border-color: var(--coral); background: #fff0f6; box-shadow: var(--ring); }
.seg-radio input { position: absolute; opacity: 0; pointer-events: none; }
.seg-radio label:focus-within { outline: 3px solid rgba(255,10,108,.35); outline-offset: 2px; }
.line-extras { display: flex; flex-direction: column; gap: 2px; margin-top: var(--s-1); }
.line-extras label { display: flex; gap: 6px; align-items: center; }
.basket-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: var(--r-pill); background: var(--coral); color: #fff; font-size: .78rem; margin-left: 6px; padding: 0 6px; }
.basket-link { font-weight: 800; color: var(--navy); text-decoration: none; padding: var(--s-2) var(--s-3); border-radius: var(--r-md); }
.basket-link:hover, .basket-link.active { background: #fff0f6; }
.tabs a { border: 1.5px solid var(--line); background: #fff; border-radius: var(--r-pill); padding: 6px 14px; font-weight: 800; color: var(--navy); font-size: .88rem; text-decoration: none; }
.tabs a.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.tabs a .pill { background: var(--sun, #facc15); color: var(--navy); border-radius: var(--r-pill); padding: 0 7px; font-size: .75rem; }
.acal .d.is-today { outline: 2px solid var(--coral); outline-offset: -2px; }
.acal a.chip { text-decoration: none; }
a.dn-add { display: grid; place-items: center; text-decoration: none; }
/* Drop-down menus for parent pages */
.nav-drop { position: relative; }
.nav-btn { background: none; border: 0; font: inherit; padding: var(--s-2) 10px; border-radius: var(--r-md); font-weight: 800; color: var(--navy); font-size: .9rem; white-space: nowrap; cursor: pointer; }
.nav-btn:hover, .nav-btn.active, .nav-drop.open .nav-btn { background: #ffe8f1; color: var(--coral-dark); }
.nav-menu { display: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-lg); padding: 6px; z-index: 50; }
.nav-menu a { display: block !important; padding: 9px var(--s-3); border-radius: var(--r-sm); white-space: normal; }
.nav-drop.open .nav-menu { display: block; }
@media (hover: hover) { .nav-drop:hover .nav-menu, .nav-drop:focus-within .nav-menu { display: block; } }
.child-list { padding-left: 18px; } .child-list li { margin-bottom: var(--s-2); }
/* Reviews */
.star-pick { display: flex; flex-wrap: wrap; gap: 6px var(--s-4); }
.star-pick label { display: flex; gap: 6px; align-items: center; cursor: pointer; }
.tagpick { max-height: 340px; overflow: auto; border: 1.5px solid var(--line); border-radius: var(--r-md); padding: var(--s-2) var(--s-3); display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2px var(--s-3); }
.tagpick-h { grid-column: 1 / -1; font-weight: 900; color: var(--navy); margin-top: var(--s-2); font-size: .85rem; }
.tagpick label { display: flex; gap: 6px; align-items: center; font-size: .9rem; padding: 2px 0; }
.reviews-block { margin-top: var(--s-5); border-top: 1px solid var(--line); padding-top: 14px; }
.pager { display: flex; gap: 10px; align-items: center; justify-content: center; margin-top: 14px; }
/* Latest reviews in the side bar */
.side-reviews { margin-top: 14px; padding: 0; overflow: hidden; }
.side-reviews-h { font-weight: 900; color: #fff; background: var(--navy); padding: var(--s-3) var(--s-4); font-size: 1.1rem; }
.side-review { padding: var(--s-3) var(--s-4); border-bottom: 1px solid var(--line); }
.side-review p { margin: var(--s-1) 0; font-size: .9rem; line-height: 1.45; }
.side-reviews-all { display: block; padding: var(--s-3) var(--s-4); font-weight: 800; color: #15803d; text-decoration: underline; }
.side-reviews-mobile { display: none; }
@media (max-width: 900px) { .cats .side-reviews { display: none; } .side-reviews-mobile { display: block; margin: var(--s-6) 0 var(--s-2); } }
/* Videos in page content: full width, 16:9 */
.video { position: relative; width: 100%; max-width: 860px; aspect-ratio: 16 / 9; margin: 14px 0; border-radius: var(--r-md); overflow: hidden; background: #0f172a; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* ===== Phones: fixed Navigation and Basket bars ===== */
.mbars { display: none; }
@media (max-width: 900px) {
  .mbars { display: block; position: fixed; top: 0; left: 0; right: 0; z-index: 100; }
  body { padding-top: 104px; }
  .site-header { display: none; }
  .cats { display: none; }
  .mnav > summary { list-style: none; display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 var(--s-4); background: var(--navy); color: #fff; font-weight: 900; font-size: 1.1rem; cursor: pointer; }
  .mnav > summary::-webkit-details-marker { display: none; }
  .mnav-logo { height: 38px; width: auto; }
  .mnav-title { flex: 1; }
  .mnav-icon { width: 22px; height: 14px; border-top: 3px solid #fff; border-bottom: 3px solid #fff; position: relative; }
  .mnav-icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 3px solid #fff; transform: translateY(-50%); }
  .mnav[open] .mnav-icon { border: 0; }
  .mnav[open] .mnav-icon::before, .mnav[open] .mnav-icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 3px solid #fff; transform: rotate(45deg); }
  .mnav[open] .mnav-icon::before { transform: rotate(-45deg); }
  .mnav-panel { position: absolute; top: 56px; left: 0; right: 0; background: #fff; max-height: calc(100vh - 56px); overflow-y: auto; box-shadow: var(--shadow-lg); padding: var(--s-2) 0 var(--s-3); z-index: 2; }
  .mnav-sec > summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; font-weight: 900; font-size: 1.1rem; color: var(--navy); border-bottom: 1px solid var(--line); cursor: pointer; }
  .mnav-sec > summary::-webkit-details-marker { display: none; }
  .mnav-sec > summary::after { content: "▾"; transition: transform .15s; }
  .mnav-sec[open] > summary::after { transform: rotate(180deg); }
  .mnav-list { display: flex; flex-direction: column; padding: var(--s-1) 0 var(--s-2); background: #fafafa; border-bottom: 1px solid var(--line); }
  .mnav-list a { padding: var(--s-3) 26px; color: var(--navy); font-weight: 700; text-decoration: none; font-size: 1.02rem; }
  .mnav-list a.on { color: var(--coral-dark); background: #fff0f6; }
  .mnav-list a.mnav-child { padding-left: 44px; font-weight: 600; font-size: .96rem; }
  .mnav-list a.mnav-child::before { content: "↳ "; color: var(--muted); }
  .mnav-call { display: block; margin: var(--s-3) 18px 0; text-align: center; background: var(--navy); color: #fff; font-weight: 900; padding: var(--s-3); border-radius: var(--r-md); text-decoration: none; }
  .mbasket { display: flex; justify-content: space-between; align-items: center; height: 48px; padding: 0 var(--s-4); background: var(--coral); color: #fff; font-weight: 900; text-decoration: none; box-shadow: var(--shadow); }
  .mbasket span:last-child { font-weight: 700; font-size: .95rem; }
  .mnav[open] ~ .mbasket { display: none; }
  .demo-bar { font-size: .8rem; }
}
/* Phones: blue bar split in half, Search left, Basket right */
.mbar2 { display: none; }
@media (max-width: 900px) {
  .mbar2 { display: grid; grid-template-columns: 1fr 1fr; height: 48px; background: #0284c7; box-shadow: var(--shadow); }
  .mbar2 a { display: flex; align-items: center; justify-content: center; gap: var(--s-2); color: #fff; font-weight: 900; text-decoration: none; font-size: 1.02rem; height: 100%; padding: 0; background: transparent; box-shadow: none; }
  .mbar2 a + a { border-left: 1px solid rgba(255,255,255,.35); }
  .mbar2 a.on { background: rgba(0,0,0,.15); }
  .mcount { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--r-pill); background: #fff; color: #0369a1; font-size: .8rem; }
  .mnav[open] ~ .mbar2 { display: none; }
}
.search-form { display: flex; gap: var(--s-2); margin-top: 10px; }
.search-form input { flex: 1; min-width: 0; border: 1.5px solid var(--line); border-radius: var(--r-md); padding: var(--s-3) 14px; font: inherit; font-size: 1.05rem; }
.badge-on { background: var(--navy); color: #fff; border-color: var(--navy); }
.import-preview { border: 1.5px dashed var(--line); border-radius: var(--r-md); padding: 14px 18px; margin-top: var(--s-3); max-height: 520px; overflow: auto; background: #fff; }
/* Line icons */
.ico { display: inline-block; vertical-align: -3px; flex-shrink: 0; }
.rtag .ico { vertical-align: -2px; margin-right: 2px; }
.thanks-ico { color: var(--green, #2e8b57); line-height: 0; margin-bottom: 6px; }
/* Venues */
.venue-ph { background: linear-gradient(135deg, #e0f2fe, #fce7f3); color: var(--navy); }
.venue-ph svg.ico { width: 34%; height: auto; opacity: .55; }
.item-card .thumb-photo img { aspect-ratio: 4/3; }
.venue-fits { color: #15803d; font-weight: 700; }
.venue-gallery { overflow: hidden; }
.vg-main { aspect-ratio: 16/10; background: #f1f5f9; }
.vg-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vg-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: var(--s-2); padding: 10px; }
.vg-t { display: block; aspect-ratio: 1; border-radius: var(--r-sm); overflow: hidden; border: 2px solid transparent; }
.vg-t.on { border-color: var(--coral); }
.vg-t img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Admin pictures */
.pic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--s-3); margin-bottom: var(--s-3); }
.pic { position: relative; border-radius: var(--r-md); overflow: hidden; border: 2px solid var(--line); background: #f8fafc; }
.pic.pic-main { border-color: var(--coral); }
.pic img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.pic-tag { position: absolute; top: 6px; left: 6px; background: var(--coral); color: #fff; font-size: .72rem; font-weight: 800; padding: 2px var(--s-2); border-radius: var(--r-pill); }
.pic-tools { display: flex; gap: var(--s-1); padding: 6px; flex-wrap: wrap; }
.pic-tools form { margin: 0; }
.pic-tools button { border: 1px solid var(--line); background: #fff; border-radius: var(--r-sm); font: inherit; font-size: .78rem; font-weight: 700; padding: 3px var(--s-2); cursor: pointer; color: var(--navy); }
.pic-tools button[value="remove"] { color: #b91c1c; }
/* White box for the heading and intro at the top of the blog and venues pages */
.page-top { margin-bottom: var(--s-4); }
.page-top h1 { margin-top: 0; }
.page-top > :last-child, .page-top .home-content > :last-child, .page-top .rich > :last-child { margin-bottom: 0; }
.sw.sw-photo { padding: 0; overflow: hidden; }
.sw.sw-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.logo-opt { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
/* Big picture on item and venue pages: show the whole photo (never crop off the logo in the corner) */
.vg-main:not(.venue-ph) { aspect-ratio: auto; display: flex; justify-content: center; background: #0f172a08; }
.vg-main:not(.venue-ph) img { width: 100%; height: auto; max-height: 72vh; object-fit: contain; }
.item-video { overflow: hidden; }
.item-video .video { margin: 0; border-radius: 0; max-width: none; }
.venue-links { list-style: none; padding: 0; margin: 0 0 6px; display: grid; gap: var(--s-2); }
.venue-links a { font-weight: 700; }
.dims { border: 1.5px solid var(--line); border-radius: var(--r-md); padding: var(--s-3) 14px 10px; margin: 0 0 14px; }
.dims legend { font-weight: 800; padding: 0 6px; }
.dims-h { font-weight: 700; font-size: .9rem; margin: var(--s-1) 0 2px; }
.row.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 600px) { .row.row3 { grid-template-columns: 1fr 1fr; } }
/* Packages */
.pkg-choices { margin: var(--s-3) 0 var(--s-1); padding: var(--s-3); background: #fff7fb; border: 1.5px solid #fbcfe8; border-radius: var(--r-md); }
.pkg-choices .field { margin-bottom: var(--s-2); }
.pkg-choices .field:last-of-type { margin-bottom: 0; }
.pkg-list { margin: var(--s-3) 0 0; }
.pkg-list ul { margin: 0; padding-left: 18px; }
.pkg-list li { margin: 2px 0; }
.pkg-part { border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 10px var(--s-3); margin-bottom: 10px; }
.pkg-part .tagpick { max-height: 220px; overflow: auto; }
.items-h { font-size: 1.25rem; margin: 6px 0 10px; }
/* Favourites */
.card-wrap { position: relative; display: flex; }
.card-wrap > .item-card { flex: 1; }
.fav-form { margin: 0; }
.card-wrap > .fav-form { position: absolute; top: 10px; right: 10px; z-index: 2; }
.fav-btn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: var(--r-pill); border: 0; background: rgba(255,255,255,.92); color: #94a3b8; cursor: pointer; box-shadow: var(--shadow-sm); transition: transform .12s, color .12s; }
.fav-btn:hover { transform: scale(1.08); color: var(--coral); }
.fav-btn.on { color: var(--coral); }
.fav-btn.on svg { fill: currentColor; }
.fav-btn:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.fav-big { float: right; margin: -4px -4px var(--s-1) var(--s-2); }
.fav-big .fav-btn { width: auto; height: auto; display: inline-flex; align-items: center; gap: 6px; padding: var(--s-2) var(--s-3); font: inherit; font-size: .85rem; font-weight: 800; box-shadow: none; border: 1.5px solid var(--line); background: #fff; }
.fav-big .fav-btn.on { border-color: #fbcfe8; background: #fff0f6; }
.fav-side { display: flex; align-items: center; gap: var(--s-2); padding: var(--s-3) 18px; margin-bottom: 10px; border-radius: var(--radius); background: #fff; border: 1.5px solid #fbcfe8; color: var(--navy); font-weight: 900; font-size: 1.1rem; text-decoration: none; }
.fav-side .ico { color: var(--coral); fill: currentColor; }
.fav-side.on, .fav-side:hover { background: #fff0f6; }
.fav-count { margin-left: auto; display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 7px; border-radius: var(--r-pill); background: var(--coral); color: #fff; font-size: .85rem; }
.fav-count[hidden] { display: none; }
.mfav { display: none; }
@media (max-width: 900px) {
  body { padding-top: 144px; }
  .mfav { display: flex; align-items: center; justify-content: center; gap: var(--s-2); height: 40px; background: #fff0f6; color: var(--coral-dark); font-weight: 900; text-decoration: none; border-bottom: 1px solid #fbcfe8; }
  .mfav .ico { fill: currentColor; }
  .mfav .fav-count { margin-left: 0; }
  .mfav.on { background: #fde2ee; }
  .mnav[open] ~ .mfav { display: none; }
}
.fav-alts { margin: var(--s-2) 0 0; padding-left: 18px; font-size: .95rem; }
.fav-alts li { margin: 3px 0; }
.qty-in { display: inline-flex; align-items: center; gap: 6px; }
.qty-in input { width: 72px; padding: 6px var(--s-2); border: 1.5px solid var(--line); border-radius: var(--r-md); font: inherit; font-weight: 800; text-align: center; }
.town-pick select { flex: 1; min-width: 0; padding: var(--s-3) 14px; border: 1.5px solid var(--line); border-radius: var(--r-md); font: inherit; font-weight: 700; background: #fff; }
/* RPII safety test */
.media-wrap { position: relative; }
.rpii-badge { position: absolute; left: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: var(--s-2) var(--s-3); border-radius: var(--r-pill); background: #15803d; color: #fff !important; font-weight: 900; font-size: .9rem; text-decoration: none !important; box-shadow: var(--shadow-sm); }
.rpii-badge .small { font-weight: 700; opacity: .85; text-decoration: underline; }
.rpii-badge:hover { background: #166534; }
.rpii-badge.rpii-sm { left: 10px; bottom: 10px; padding: var(--s-1) 9px; font-size: .75rem; box-shadow: var(--shadow-sm); }
.item-card .thumb { position: relative; }
.rpii-dlg { width: min(920px, 94vw); max-height: 92vh; border: 0; border-radius: var(--r-lg); padding: 18px; box-shadow: var(--shadow-xl); }
.rpii-dlg::backdrop { background: rgba(15,23,42,.55); }
.rpii-head { display: flex; align-items: start; justify-content: space-between; gap: var(--s-3); }
.rpii-head h2 { margin: 0 0 6px; font-size: 1.2rem; }
.rpii-x { border: 0; background: #f1f5f9; border-radius: var(--r-pill); width: 38px; height: 38px; font-size: 1.5rem; line-height: 1; cursor: pointer; flex-shrink: 0; }
.rpii-doc { display: block; width: 100%; height: min(70vh, 900px); border: 1px solid var(--line); border-radius: var(--r-md); background: #f8fafc; object-fit: contain; }
img.rpii-doc { height: auto; max-height: 70vh; }
.media-wrap > .rpii-badge { top: 12px; bottom: auto; }
/* Discounts */
.deal { display: flex; gap: var(--s-2); align-items: flex-start; margin: var(--s-2) 0 var(--s-1); padding: 10px var(--s-3); border-radius: var(--r-md); background: #ecfdf5; border: 1.5px solid #a7f3d0; color: #065f46; font-size: .92rem; }
.deal .ico { margin-top: 2px; }
.deal-steps { list-style: none; margin: var(--s-2) 0 2px; padding: 0; display: grid; gap: var(--s-1); font-size: .9rem; }
.deal-steps li { display: grid; grid-template-columns: 18px 1fr auto; align-items: center; gap: 6px; }
.deal-steps li.got { color: #15803d; font-weight: 800; }
.deal-steps .dot { width: 10px; height: 10px; border-radius: var(--r-pill); border: 2px solid #94a3b8; margin-left: 2px; }
.deal-simple { padding: 7px 10px; font-size: .85rem; font-weight: 700; }
fieldset.addr { border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 10px var(--s-3) 2px; margin: 0 0 var(--s-3); }
fieldset.addr legend { font-weight: 800; padding: 0 6px; }
@media (max-width: 600px) { fieldset.addr .row { grid-template-columns: 1fr !important; } }
fieldset.addr .row { align-items: end; }
/* Basket: add with one click */
.qa-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.qa-card { display: flex; flex-direction: column; border: 1.5px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: #fff; }
.qa-thumb { display: block; aspect-ratio: 4/3; background: #f8fafc; }
.qa-thumb img, .qa-art { width: 100%; height: 100%; object-fit: cover; display: grid; place-items: center; }
.qa-art svg { width: 70%; height: auto; }
.qa-body { padding: var(--s-2); display: flex; flex-direction: column; gap: var(--s-1); flex: 1; }
.qa-name { font-weight: 800; font-size: .85rem; line-height: 1.25; color: var(--navy); text-decoration: none; }
.qa-price { font-size: .85rem; color: var(--muted); }
.qa-add { margin-top: auto; width: 100%; padding: 6px var(--s-2); }
@media (max-width: 700px) { .qa-grid { grid-template-columns: repeat(2, 1fr); } }
/* Suggestions look separate from the booking: dashed, tinted box */
.quick-add { margin-top: var(--s-4); padding: var(--s-3); border: 2px dashed #f9a8d4; border-radius: var(--radius); background: #fff7fb; }
.qa-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-1) 10px; margin-bottom: 10px; }
.qa-head strong { font-size: 1rem; }
.qa-card { opacity: .97; }
.qa-add { background: #fff; color: var(--coral-dark, #be185d); border: 2px solid var(--coral); }
.qa-add:hover { background: var(--coral); color: #fff; }
.item-find { display: flex; gap: var(--s-2); margin: 0 0 var(--s-4); }
.item-find input { flex: 1; max-width: 520px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: var(--r-md); font: inherit; }
.town-pick select.pc-pick { flex: 0 0 auto; width: 190px; }
@media (max-width: 600px) { .town-pick { flex-wrap: wrap; } .town-pick select.pc-pick { width: 100%; } }
.sitemap-list { columns: 2 320px; margin: 0; padding-left: 18px; }
.sitemap-list li { break-inside: avoid; margin: 3px 0; }
.sitemap-list li.sub { margin-left: var(--s-4); list-style: circle; }

/* Admin menu groups */
.side .nav-g { margin: 2px 0; }
.side .nav-g > summary { list-style: none; cursor: pointer; color: #fff; font-weight: 800; font-size: .95rem; padding: 9px var(--s-3); border-radius: var(--r-md); display: flex; justify-content: space-between; align-items: center; }
.side .nav-g > summary::-webkit-details-marker { display: none; }
.side .nav-g > summary::after { content: "▸"; color: #94a3b8; font-size: .8rem; transition: transform .15s; }
.side .nav-g[open] > summary::after { transform: rotate(90deg); }
.side .nav-g > summary:hover { background: rgba(255,255,255,.07); }
.side .nav-in { padding-left: 10px; margin: 2px 0 6px var(--s-3); border-left: 2px solid rgba(255,255,255,.12); }
.side .nav-in a { font-size: .9rem; padding: 7px 10px; }
@media (max-width: 900px) { .admin .side .nav-g { width: 100%; } .admin .side .nav-in a { display: inline-block; } }

/* Account link */
.acct-link { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 900px) { .mbar2.mbar3 { grid-template-columns: 1fr 1fr 1fr; } .mbar2.mbar3 a { font-size: .95rem; gap: 6px; } }

/* Points */
.points-box { background: #fffbeb; border: 1px solid #fde68a; border-radius: var(--r-md); padding: 10px var(--s-3); margin: 10px 0; }

/* Chatbot panel (phones) */
.mbar2 button.msearch { border: 0; font: inherit; cursor: pointer; color: #fff; font-weight: 900; display: flex; align-items: center; justify-content: center; gap: 6px; background: transparent; }
.chat-dlg { border: 0; padding: 0; width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; background: #fff; }
.chat-dlg::backdrop { background: rgba(15,23,42,.5); }
.chat-top { display: flex; justify-content: space-between; align-items: center; height: 52px; padding: 0 var(--s-3) 0 var(--s-4); background: var(--navy); color: #fff; }
.chat-x { background: transparent; border: 0; color: #fff; font-size: 1.3rem; padding: var(--s-2); cursor: pointer; }
.chat-dlg iframe { border: 0; width: 100%; height: calc(100dvh - 52px); display: block; }
@media (min-width: 901px) { .chat-dlg { width: 420px; height: 640px; max-height: 90vh; margin: auto var(--s-5) var(--s-5) auto; border-radius: var(--r-lg); overflow: hidden; } .chat-dlg iframe { height: calc(min(640px, 90vh) - 52px); } }
@media (max-width: 900px) { .mbar2 .mchat { white-space: nowrap; font-size: .86rem; gap: 5px; padding: 0 var(--s-1); } .mbar2 .mchat .ico { width: 16px; height: 16px; flex: none; } }

/* ===================== Design system: layout with flex + gap ===================== */
/* Space between things comes from the parent's gap, not from margins on the children. */
.stack { display: flex; flex-direction: column; gap: var(--stack, var(--s-4)); }
.stack > * { margin-top: 0; margin-bottom: 0; }
.stack-sm { --stack: var(--s-2); } .stack-lg { --stack: var(--s-6); }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--cluster, var(--s-2)); }
.split { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); }
.shop-main { display: flex; flex-direction: column; gap: var(--s-5); }
.shop-main > * { margin-top: 0 !important; margin-bottom: 0 !important; }
.card { transition: box-shadow .2s var(--ease), transform .2s var(--ease); }
a.card:hover, .item-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } a.card:hover, .item-card:hover { transform: none; } }

/* ===================== Accessibility ===================== */
.skip-link { position: absolute; left: var(--s-3); top: -60px; z-index: 1000; background: var(--navy); color: #fff; padding: var(--s-2) var(--s-4); border-radius: var(--r-md); font-weight: 800; text-decoration: none; transition: top .15s var(--ease); }
.skip-link:focus { top: var(--s-3); outline: 3px solid var(--sun); }
main:focus { outline: none; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }

/* ===================== Top menu drop-downs ===================== */
.nav-btn .caret { display: inline-block; transition: transform .2s var(--ease); }
.nav-drop.open .caret { transform: rotate(180deg); }
@media (hover: hover) { .nav-drop:hover .caret, .nav-drop:focus-within .caret { transform: rotate(180deg); } }
/* Long menus scroll inside themselves instead of running off the screen. */
.nav-menu { max-height: min(70vh, calc(100dvh - 130px)); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; top: calc(100% + var(--s-2)); box-shadow: var(--shadow-lg); }
.nav-menu.nav-menu-right { left: auto; right: 0; }
/* An invisible bridge around the drop-down, so moving the mouse from the button to the menu doesn't close it. */
.nav-drop::after { content: ""; position: absolute; top: 100%; left: calc(-1 * var(--s-4)); width: max(calc(100% + 2 * var(--s-4)), 272px); height: calc(var(--s-2) + 6px); display: none; }
.nav-drop:hover::after, .nav-drop.open::after { display: block; }
.nav-drop.nav-right::after { left: auto; right: calc(-1 * var(--s-4)); }

/* ===================== Textures (SVG, no image files) ===================== */
:root { --tex-confetti: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke-linecap='round' stroke-width='3'%3E%3Cpath d='M18 22l10 6' stroke='%23ff0a6c' stroke-opacity='.09'/%3E%3Cpath d='M120 30l-6 9' stroke='%232bb673' stroke-opacity='.10'/%3E%3Cpath d='M70 110q6-8 12 0' stroke='%2316213e' stroke-opacity='.06'/%3E%3Cpath d='M136 124l8 4' stroke='%23f59e0b' stroke-opacity='.12'/%3E%3Cpath d='M40 140l-5-8' stroke='%232563eb' stroke-opacity='.07'/%3E%3C/g%3E%3Cg fill-opacity='.08'%3E%3Ccircle cx='92' cy='58' r='3' fill='%23ff0a6c'/%3E%3Ccircle cx='30' cy='84' r='2.5' fill='%232bb673'/%3E%3Ccircle cx='148' cy='78' r='2' fill='%2316213e'/%3E%3Ccircle cx='104' cy='150' r='3' fill='%23f59e0b'/%3E%3Crect x='56' y='20' width='6' height='6' rx='1.5' transform='rotate(25 59 23)' fill='%232563eb'/%3E%3C/g%3E%3C/svg%3E"); --tex-stars: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='%23ffffff' fill-opacity='.55'%3E%3Cpath d='M20 14l2 5 5 2-5 2-2 5-2-5-5-2 5-2z'/%3E%3Cpath d='M88 70l1.5 3.5 3.5 1.5-3.5 1.5L88 80l-1.5-3.5L83 75l3.5-1.5z'/%3E%3Ccircle cx='60' cy='30' r='2'/%3E%3Ccircle cx='104' cy='18' r='1.5'/%3E%3Ccircle cx='34' cy='96' r='1.8'/%3E%3C/g%3E%3C/svg%3E"); --tex-waves: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='24' viewBox='0 0 80 24'%3E%3Cpath d='M0 12c10 0 10-8 20-8s10 8 20 8 10-8 20-8 10 8 20 8' fill='none' stroke='%23ffffff' stroke-opacity='.06' stroke-width='2'/%3E%3C/svg%3E"); }
body { background-image: var(--tex-confetti); background-size: 160px 160px; }
.hero, .hero-card { background-image: var(--tex-stars), linear-gradient(135deg, #e6fbff 0%, #ffe8f1 50%, #f6ffd9 100%); background-size: 120px 120px, auto; }
footer.site, .demo-bar { background-image: var(--tex-waves); background-size: 80px 24px; }
.cats-h { background-image: var(--tex-stars); background-size: 120px 120px; }

/* ===================== Page transitions (View Transitions API) ===================== */
/* Moving between pages fades the content while the header, side bar and footer stay put. Browsers without it load as normal. */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
.mbars { view-transition-name: mobile-bars; }
.cats { view-transition-name: side-cats; }
footer.site { view-transition-name: site-footer; }
::view-transition-old(root) { animation: vt-out .16s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .22s var(--ease) both; }
::view-transition-group(*) { animation-duration: .3s; animation-timing-function: var(--ease); }
@keyframes vt-out { to { opacity: 0; transform: translateY(-4px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* ===================== Feedback while things load ===================== */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--coral), var(--sun)); z-index: 2000; opacity: 0; transition: opacity .2s; pointer-events: none; }
.progress.on { opacity: 1; animation: progress 8s cubic-bezier(.1,.6,.2,1) forwards; }
@keyframes progress { 0% { width: 0; } 10% { width: 35%; } 40% { width: 70%; } 100% { width: 92%; } }
.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-loading > * { visibility: hidden; }
.btn.is-loading::after { content: ""; position: absolute; inset: 0; margin: auto; width: 1.15em; height: 1.15em; border-radius: 50%; border: 2.5px solid var(--spin, #fff); border-right-color: transparent; animation: spin .6s linear infinite; }
.btn-ghost.is-loading, .btn-sm.btn-ghost.is-loading { --spin: var(--navy); }
.field.is-busy { position: relative; }
.field.is-busy select, .field.is-busy input { opacity: .55; }
.field.is-busy::after { content: ""; position: absolute; right: 38px; bottom: 13px; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--coral); border-right-color: transparent; animation: spin .6s linear infinite; }
a.day.is-loading, .is-tapped { animation: tap .35s var(--ease); }
a.day.is-loading { outline: 2px solid var(--coral); outline-offset: -2px; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes tap { 0% { transform: scale(1); } 40% { transform: scale(.94); } 100% { transform: scale(1); } }
.fav-btn.is-loading { animation: tap .35s var(--ease); opacity: .7; }
.fav-btn.pop svg { animation: pop .4s var(--ease); }
@keyframes pop { 0% { transform: scale(1); } 50% { transform: scale(1.35); } 100% { transform: scale(1); } }

/* ---- Pictures: the big one opens the lightbox ---- */
button.vg-main { display: flex; width: 100%; padding: 0; border: 0; margin: 0; font: inherit; cursor: zoom-in; position: relative; }
button.vg-main img { background-color: #eef2f7; }
.lb-zoom { position: absolute; right: var(--s-3); bottom: var(--s-3); width: 40px; height: 40px; border-radius: var(--r-pill); display: grid; place-items: center; background: rgba(15, 23, 42, .6); color: #fff; font-size: 20px; box-shadow: var(--shadow); opacity: .85; transition: transform .2s var(--ease), opacity .2s; }
button.vg-main:hover .lb-zoom, button.vg-main:focus-visible .lb-zoom { opacity: 1; transform: scale(1.08); }
/* Lazy pictures fade in over their blurry preview. */
img[style*="background-image"] { background-size: cover; background-position: center; }

/* ---- Lightbox ---- */
html.lb-on { overflow: hidden; }
dialog.lb { padding: 0; border: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: rgba(9, 13, 24, .94); color: #fff; overscroll-behavior: contain; }
dialog.lb[open] { display: grid; animation: lb-in .2s var(--ease); }
dialog.lb::backdrop { background: rgba(9, 13, 24, .6); }
@keyframes lb-in { from { opacity: 0; } }
.lb-stage { display: grid; place-items: center; width: 100%; height: 100%; padding: var(--s-7) var(--s-8); box-sizing: border-box; }
.lb-img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: var(--r-md); box-shadow: var(--shadow-xl); transition: opacity .2s; touch-action: pan-y; }
dialog.lb.is-loading .lb-img { opacity: .35; }
.lb-spin { position: absolute; width: 36px; height: 36px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .25); border-top-color: #fff; animation: spin .8s linear infinite; opacity: 0; transition: opacity .2s; pointer-events: none; }
dialog.lb.is-loading .lb-spin { opacity: 1; transition-delay: .15s; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: var(--r-pill); border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .15s, transform .15s var(--ease); }
.lb-btn:hover { background: rgba(255, 255, 255, .26); }
.lb-btn:active { transform: scale(.92); }
.lb-btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.lb-prev { left: var(--s-4); top: 50%; translate: 0 -50%; }
.lb-next { right: var(--s-4); top: 50%; translate: 0 -50%; }
.lb-close { right: var(--s-4); top: var(--s-4); }
.lb-count { position: absolute; left: 50%; bottom: var(--s-4); translate: -50% 0; margin: 0; font-weight: 800; font-size: 14px; opacity: .8; }
dialog.lb.lb-single .lb-prev, dialog.lb.lb-single .lb-next { display: none; }
@media (max-width: 600px) { .lb-stage { padding: var(--s-8) var(--s-2); } .lb-prev, .lb-next { top: auto; bottom: var(--s-3); translate: none; } .lb-count { bottom: var(--s-6); } }
@media (prefers-reduced-motion: reduce) { dialog.lb[open] { animation: none; } }

/* ---- Header fits on laptop widths: spacing and text shrink smoothly between tablets and big screens ---- */
@media (min-width: 901px) and (max-width: 1440px) {
  .site-header .wrap { gap: clamp(6px, 1vw, 20px); padding-left: clamp(12px, 1.4vw, 20px); padding-right: clamp(12px, 1.4vw, 20px); }
  .site-header .logo-img { height: clamp(50px, 4.6vw, 66px); }
  .site-header .nav a, .site-header .nav-btn { padding-left: clamp(5px, .6vw, 10px); padding-right: clamp(5px, .6vw, 10px); font-size: clamp(.8rem, .55rem + .36vw, .9rem); }
  .site-header .basket-link, .site-header .basket-btn { font-size: clamp(.8rem, .55rem + .36vw, .9rem); padding-left: clamp(8px, .9vw, 14px); padding-right: clamp(8px, .9vw, 14px); }
}
/* Never let the header push the whole page sideways. */
.site-header .wrap { min-width: 0; }
.site-header .nav { min-width: 0; }
/* Narrower laptops: "Log in" becomes just the person icon and "Call" is dropped from the phone button. */
@media (min-width: 901px) and (max-width: 1180px) {
  .site-header .acct-link .hdr-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .site-header .acct-link { display: inline-flex; align-items: center; }
}
@media (min-width: 901px) and (max-width: 1080px) { .site-header .basket-btn .hdr-word { display: none; } }
.site-header .hdr-ico { display: none; }
@media (min-width: 901px) and (max-width: 990px) {
  .site-header .basket-btn .hdr-num { display: none; }
  .site-header .basket-btn .hdr-ico { display: inline-flex; }
  .site-header .basket-btn { display: inline-flex; align-items: center; padding: 9px 11px; }
}

/* ---- Drop-down buttons look exactly like the other top links in every browser ---- */
.nav-btn { -webkit-appearance: none; appearance: none; border-radius: var(--r-md); line-height: inherit; background-clip: padding-box; display: inline-flex; align-items: center; gap: 4px; }
/* Stay pink while its menu is showing (mouse on the menu, or opened by click/keyboard). */
.nav-drop:hover > .nav-btn, .nav-drop:focus-within > .nav-btn, .nav-drop.open > .nav-btn { background: #ffe8f1; color: var(--coral-dark); }
/* Focus ring drawn as a rounded shadow (some browsers draw outlines square), and none after a mouse click. */
.nav a:focus-visible, .nav-btn:focus-visible, .nav-menu a:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--coral); }
.nav-btn:focus:not(:focus-visible) { outline: none; box-shadow: none; }
.nav-menu a { border-radius: var(--r-md); }
.nav-menu a:hover, .nav-menu a:focus-visible { background: #ffe8f1; color: var(--coral-dark); }

/* ---- Main page titles in the logo's font (option D): pink with a darker pink and navy drop ---- */
h1.logo-h1 { font-family: "Luckiest Guy BPH", "Nunito BPH", system-ui, sans-serif; font-weight: 400; font-size: clamp(1.6rem, 1rem + 2.6vw, 2.6rem); letter-spacing: .03em; line-height: 1.2; color: #ff1f8e; text-shadow: 0 .06em 0 #b8005a, 0 .11em 0 var(--navy); padding-bottom: .1em; }
.hero-card h1.logo-h1 { font-size: clamp(1.6rem, 1rem + 2.2vw, 2.5rem); }
@media (forced-colors: active) { h1.logo-h1 { color: CanvasText; text-shadow: none; } }
@media print { h1.logo-h1 { text-shadow: none; } }

/* ---- Chatbot on computers: round button bottom-right, panel above it ---- */
.chat-fab { display: none; }
@media (min-width: 901px) {
  .chat-fab { display: inline-flex; align-items: center; gap: var(--s-2); position: fixed; right: var(--s-5); bottom: var(--s-5); z-index: 60; height: 56px; padding: 0 var(--s-5) 0 var(--s-4); border: 0; border-radius: var(--r-pill); background: var(--coral); color: #fff; font: inherit; font-weight: 900; font-size: .95rem; box-shadow: var(--shadow-lg); cursor: pointer; transition: transform .15s var(--ease), box-shadow .15s; }
  .chat-fab:hover { transform: translateY(-2px); box-shadow: var(--shadow-xl); }
  .chat-fab:active { transform: scale(.96); }
  .chat-fab[aria-expanded="true"] { background: var(--navy); }
  .chat-dlg[open]:not(:modal) { position: fixed; inset: auto var(--s-5) calc(56px + var(--s-5) + var(--s-3)) auto; margin: 0; width: 420px; height: min(560px, calc(100dvh - 140px)); max-height: none; z-index: 61; border-radius: var(--r-lg); box-shadow: var(--shadow-xl); display: flex; flex-direction: column; animation: chat-in .18s var(--ease); }
  .chat-dlg[open]:not(:modal) iframe { flex: 1; height: auto; }
}
@keyframes chat-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .chat-dlg[open] { animation: none !important; } }
@media print { .chat-fab { display: none !important; } }
/* Phone bar: the same dividing line after "Ask a question" as between the other buttons. */
@media (max-width: 900px) { .mbar2 > button + a { border-left: 1px solid rgba(255,255,255,.35); } }
/* Admin → Add a booking: item rows */
.manual-bk .mb-row { display: flex; flex-direction: row; align-items: center; gap: var(--s-2); margin-bottom: var(--s-2); }
.manual-bk .mb-row .mb-item { flex: 1; min-width: 0; }
.manual-bk .mb-row .mb-qty { width: 80px; flex: none; }
.manual-bk .mb-row[hidden] { display: none; }
.day.busy small { white-space: normal; text-align: center; line-height: 1.05; }

/* ---- Admin → Stats ---- */
.st-chart { width: 100%; height: auto; display: block; overflow: visible; }
.st-chart .st-grid { stroke: #e7e9f0; stroke-width: 1; }
.st-chart .st-base { stroke: #9aa1b5; stroke-width: 1; }
.st-chart .st-axis { font-size: 15px; fill: #5b6378; font-family: inherit; }
.st-chart .st-bar path { fill: var(--coral); }
.st-chart .st-bar .st-hit { fill: transparent; }
.st-chart .st-bar:hover path { fill: var(--coral-dark); }
.st-chart .st-bar:hover .st-hit { fill: rgba(29, 36, 64, .04); }
.st-table td.st-mini { width: 28%; }
.st-mini span { display: block; height: 8px; border-radius: 0 4px 4px 0; background: var(--coral); min-width: 2px; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (forced-colors: active) { .st-chart .st-bar path, .st-mini span { fill: CanvasText; background: CanvasText; } }

/* ---- Printing the run sheet: one clean list, every job kept together, tick boxes to fill in ---- */
.run-tick { display: none; }
@media print {
  @page { margin: 12mm; }
  .admin .a-top h1 { font-size: 20pt; margin: 0 0 4pt; }
  .admin .card { box-shadow: none !important; border: 1px solid #c9ced8; break-inside: avoid; page-break-inside: avoid; margin-top: 6pt !important; padding: 8pt 10pt !important; opacity: 1 !important; }
  .admin [id^="j-"] { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .admin h2 { font-size: 14pt; margin: 12pt 0 4pt !important; break-after: avoid; page-break-after: avoid; }
  .admin a { color: inherit; text-decoration: none; }
  .admin .kv { font-size: 10pt; }
  .run-tick { display: block; margin-top: 4pt; font-weight: 800; font-size: 11pt; }
  .tag { border: 1px solid #999; }
}
@media print {
  html, body { background: #fff !important; background-image: none !important; }
  .admin .side, .admin .a-mob, .skip-link, .progress, .admin-burger, .admin .nav-toggle { display: none !important; }
  .admin { display: block !important; min-height: 0 !important; }
  .admin .main-a, .admin main { padding: 0 !important; margin: 0 !important; }
}
@media print { body { padding-top: 0 !important; } }
/* The phone bars' top padding is for the public site only; admin pages don't have those bars. */
body:has(> .admin) { padding-top: 0 !important; }
.run-time { white-space: nowrap; }
@media print { .run-time { font-size: 15pt; font-weight: 900; } }

/* Cookie box: bottom-left until the visitor chooses. */
.cookie-bar { position: fixed; left: var(--s-4, 16px); bottom: var(--s-4, 16px); z-index: 70; width: min(380px, calc(100% - 32px)); background: #fff; color: var(--ink, #1b1f3b); border-radius: 18px; box-shadow: 0 10px 40px rgba(20, 24, 60, .25); padding: 16px 18px; border: 1px solid rgba(20, 24, 60, .08); }
.cookie-bar .cookie-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-bar .cookie-btns .btn { flex: 1 1 auto; }
.cookie-bar .cookie-choose { display: grid; gap: 4px; margin: 0 0 10px; }
.cookie-bar .cookie-choose[hidden], .cookie-bar [hidden] { display: none !important; }
@media print { .cookie-bar { display: none; } }

/* Item video: picture + play button until pressed. */
.video-facade { position: absolute; inset: 0; display: grid; place-items: center; background: #111 center / cover no-repeat; text-decoration: none; }
.video-facade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-play { position: relative; width: 72px; height: 50px; border-radius: 14px; background: rgba(230, 30, 90, .92); color: #fff; font-size: 24px; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0, 0, 0, .35); transition: transform .15s; }
.video-facade:hover .video-play, .video-facade:focus-visible .video-play { transform: scale(1.08); }

/* A/B tests: only the page list for the chosen kind. */
[data-kind-wrap][hidden] { display: none !important; }

/* Run sheet: printing one day hides the other days; each day starts on a new sheet when printing several. */
@media print { body.print-one .run-day:not(.print-this), body.print-one .run-all-sum { display: none !important; } .run-day + .run-day { break-before: page; } body:not(.print-one) .run-day-sum { display: none !important; } }

/* Bookings list: click the colour box to choose a colour label */
.cpick { position: relative; } .cpick > summary { list-style: none; cursor: pointer; display: inline-flex; padding: 2px; border-radius: 6px; } .cpick > summary::-webkit-details-marker { display: none; }
.cpick > summary:hover, .cpick > summary:focus-visible { outline: 2px solid var(--coral, #ff2d87); outline-offset: 1px; }
.cpick[open] > select { position: absolute; left: 0; top: calc(100% + 4px); z-index: 20; box-shadow: 0 6px 18px rgba(0,0,0,.15); background: #fff; }
/* Category page: compact item ticks */
.cat-pick.check { padding: 6px 8px; border: 0; border-bottom: 1px solid #eef0f4; border-radius: 0; margin: 0 !important; background: none; min-height: 0; }
.cat-pick.check span { font-size: .92rem; }
