/* ============================================================
   ZoraSurf — shared components.
   Everything that used to live in a per-page <style> block, plus the
   booking widget and the cards used by the SSR templates.
   Loaded on EVERY page by includes/head.php.
============================================================ */

.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: #00B4CC;
}

/* ============================================================
   HERO BACKGROUND VIDEO
   The poster doubles as the container background, so the hero is painted
   before — and whether or not — the video ever loads.
============================================================ */

.hero-vid {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
  background-color: #0B1F3A;
  background-size: cover; background-position: center;
}
.hero-vid-el {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
  opacity: 0; transition: opacity .6s ease;
}
.hero-vid-el.ready { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .hero-vid-el { display: none; }
}

/* ---------------------------------------------- hero (spot + camp) */

.spot-hero { position: relative; }
.spot-hero-ov1 { position: absolute; inset: 0; background: rgba(0,20,8,.58); z-index: 1; }
.spot-hero-ov2 { position: absolute; inset: 0; background: linear-gradient(to right, rgba(4,14,28,.90) 40%, rgba(4,14,28,.25) 100%); z-index: 1; }

/* ---------------------------------------------- mini break carousel */

.hc-wrap  { position: relative; width: 100%; height: 360px; overflow: visible; --hc-off: 220px; }
.hc-track { position: relative; width: 100%; height: 100%; }
.hc-slide {
  position: absolute; top: 0; left: 50%; width: 200px; height: 360px;
  border-radius: 18px; overflow: hidden; cursor: pointer;
  transition: transform .45s cubic-bezier(.25,1,.5,1), filter .45s, opacity .45s;
  transform: translateX(-50%) scale(.7); filter: blur(14px); opacity: 0; z-index: 1;
}
@media (max-width: 1023px) {
  .hc-wrap  { height: 360px; min-height: 360px; }
  .hc-slide { width: 200px; height: 360px; }
}
.hc-slide .hc-bg  { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hc-slide .hc-ov  { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.70) 0%, transparent 55%); }
.hc-slide .hc-inf { position: absolute; bottom: 16px; left: 16px; right: 16px; }
.hc-slide .hc-lbl { font-size: 17px; font-weight: 800; color: #fff; font-family: 'Sora', sans-serif; line-height: 1.2; }
.hc-slide .hc-sub { font-size: 12px; color: rgba(255,255,255,.65); margin-top: 2px; }
.hc-slide .hc-tag {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,.15); backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.2); border-radius: 20px;
  padding: 4px 10px; font-size: 11px; font-weight: 700; color: #fff; margin-bottom: 8px;
}
.hc-slide[data-offset="0"]  { transform: translateX(-50%) scale(1); filter: none; opacity: 1; z-index: 10; }
.hc-slide[data-offset="-1"] { transform: translateX(calc(-50% - var(--hc-off))) scale(.85); filter: blur(4px); opacity: 1; z-index: 5; }
.hc-slide[data-offset="1"]  { transform: translateX(calc(-50% + var(--hc-off))) scale(.85); filter: blur(4px); opacity: 1; z-index: 5; }
.hc-slide[data-offset="-2"], .hc-slide[data-offset="2"] { opacity: 0; z-index: 1; }
.hc-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: #fff;
  display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 20;
  transition: background .2s; font-size: 13px;
}
.hc-arrow:hover { background: rgba(0,180,204,.35); }
.hc-arrow-l { left: 4px; }
.hc-arrow-r { right: 4px; }
.hc-dots { display: flex; gap: 6px; justify-content: center; margin-top: 14px; }
.hc-dot  { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.25); border: none; cursor: pointer; transition: all .2s; }
.hc-dot.active { background: #4DC87A; width: 18px; border-radius: 4px; }

/* ---------------------------------------------- FAQ accordion */

.faq-item { border-bottom: 1px solid rgba(11,31,58,.08); }
.faq-item:last-child { border-bottom: none; }
/* Stacked on mobile the two columns read as one list, so the seam keeps its rule. */
@media (max-width: 767px) {
  .faq-col:not(:last-child) .faq-item:last-child { border-bottom: 1px solid rgba(11,31,58,.08); }
}

/* Long FAQ sets are capped visually — the answers stay in the HTML for schema. */
.faq-capped .faq-extra { display: none; }
.faq-capped.open .faq-extra { display: block; }
.faq-more-wrap { display: flex; justify-content: center; margin-top: 22px; }
.faq-more-btn {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  background: #fff; border: 1px solid rgba(11,31,58,.14); border-radius: 100px;
  color: #0B1F3A; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 13.5px;
  padding: 11px 24px; transition: border-color .2s, color .2s, background .2s;
}
.faq-more-btn:hover { border-color: #00B4CC; color: #00849A; }
.faq-more-btn:focus-visible { outline: 2px solid #00B4CC; outline-offset: 2px; }
.faq-more-btn i { font-size: 11px; transition: transform .3s; }
.faq-capped.open .faq-more-btn i { transform: rotate(180deg); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  cursor: pointer; padding: 18px 0; font-weight: 700; font-size: 15px; color: #0B1F3A;
}
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s; font-size: 14px; color: rgba(11,31,58,.6); line-height: 1.7; }
.faq-a.open { max-height: 400px; padding-bottom: 16px; }
.faq-icon { transition: transform .3s; flex-shrink: 0; color: #00B4CC; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* ---------------------------------------------- conditions badges */

.info-badge {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: #fff; border: 1px solid rgba(11,31,58,.07); border-radius: 18px;
  padding: 22px 18px; text-align: center; transition: transform .2s, box-shadow .2s;
}
.info-badge:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.07); }
.info-badge .ib-icon { width: 44px; height: 44px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.info-badge .ib-val  { font-family: 'Sora', sans-serif; font-weight: 900; font-size: 20px; color: #0B1F3A; line-height: 1.1; }
.info-badge .ib-lbl  { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(11,31,58,.45); }

/* Tone helpers, driven by the `tone` field in the JSON */
.tone-green  { background: rgba(77,200,122,.10);  color: #4DC87A; }
.tone-teal   { background: rgba(0,180,204,.10);   color: #00B4CC; }
.tone-blue   { background: rgba(96,165,250,.12);  color: #3B82F6; }
.tone-amber  { background: rgba(251,191,36,.12);  color: #F59E0B; }
.tone-red    { background: rgba(248,113,113,.12); color: #F87171; }
.tone-purple { background: rgba(192,132,252,.12); color: #A855F7; }
.tone-green-fg  { color: #4DC87A; }
.tone-teal-fg   { color: #00B4CC; }
.tone-blue-fg   { color: #3B82F6; }
.tone-amber-fg  { color: #F59E0B; }
.tone-red-fg    { color: #F87171; }
.tone-purple-fg { color: #A855F7; }

/* ---------------------------------------------- season calendar */

.month-block { height: 28px; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 700; color: #fff; letter-spacing: .04em; }
.month-peak           { background: #00B4CC; }
.month-shoulder       { background: #FCD34D; }
.month-shoulder-light { background: #FDE68A; }
.month-low            { background: rgba(11,31,58,.10); }

/* ============================================================
   BOOKING WIDGET — one component, camps and lessons alike
============================================================ */

.book-card {
  background: #0B1F3A;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 22px;
  padding: 20px 18px 18px;
  color: #fff;
  position: sticky; top: 88px;
  box-shadow: 0 24px 60px rgba(11,31,58,.28);
}
.book-field { margin-bottom: 12px; }
.book-label {
  display: block;
  font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.42); margin-bottom: 6px;
}
.book-select-wrap { position: relative; }
.book-select {
  width: 100%; appearance: none; -webkit-appearance: none;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  padding: 11px 38px 11px 14px;
  font-size: 14px; font-weight: 600; color: #fff;
  cursor: pointer; transition: border-color .2s, background .2s;
}
.book-select:focus { outline: none; border-color: #00B4CC; background: rgba(0,180,204,.08); }
.book-select option { color: #0B1F3A; background: #fff; }
.book-caret { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); font-size: 12px; color: rgba(255,255,255,.4); pointer-events: none; }

.book-counter {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px; padding: 5px 6px;
}
.book-step {
  width: 32px; height: 32px; border-radius: 9px;
  background: rgba(255,255,255,.08); border: none; color: rgba(255,255,255,.75);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 12px; transition: background .2s, color .2s;
}
.book-step:hover { background: rgba(0,180,204,.30); color: #fff; }
.book-count { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 18px; }
.book-hint { font-size: 11px; color: rgba(255,255,255,.35); margin-top: 5px; text-align: center; }

.book-price-block { border-top: 1px solid rgba(255,255,255,.10); padding-top: 13px; margin-top: 2px; }
.book-price { font-family: 'Sora', sans-serif; font-weight: 900; font-size: 38px; line-height: 1; margin: 1px 0 3px; }
.book-price-sub { font-size: 12.5px; color: rgba(255,255,255,.38); }

.book-summary { margin-top: 13px; }
.book-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 13px; color: rgba(255,255,255,.50); padding: 6px 0;
}
.book-row strong { color: #fff; font-weight: 700; }
.book-row-total { border-top: 1px solid rgba(255,255,255,.10); margin-top: 4px; padding-top: 10px; }
.book-row-total strong { font-size: 16px; }
.book-row-discount { padding-top: 0; }
.book-row.hidden { display: none; }

.book-btn {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  width: 100%; margin-top: 14px;
  background: #00B4CC; color: #fff;
  font-weight: 800; font-size: 15px;
  padding: 13px; border-radius: 13px;
  transition: background .2s, transform .15s;
}
.book-btn:hover { background: #009FB5; transform: translateY(-1px); }
.book-note { text-align: center; font-size: 11px; color: rgba(255,255,255,.32); margin-top: 9px; line-height: 1.5; }

@media (max-width: 1023px) { .book-card { position: static; } }

/* ============================================================
   NAV DROPDOWN
============================================================ */

.nav-drop-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(6px);
  min-width: 210px; padding: 8px;
  background: rgba(11,31,58,.97); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.10); border-radius: 14px;
  box-shadow: 0 18px 44px rgba(0,0,0,.35);
  opacity: 0; visibility: hidden;
  transition: opacity .18s, transform .18s, visibility .18s;
}
.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-drop-menu a {
  display: block; padding: 9px 12px; border-radius: 9px;
  font-size: 13.5px; color: rgba(255,255,255,.78);
  transition: background .18s, color .18s;
}
.nav-drop-menu a:hover { background: rgba(0,180,204,.16); color: #fff; }
.nav-drop-sub { display: block; font-size: 11.5px; color: rgba(255,255,255,.38); margin-top: 1px; }

/* ============================================================
   CARDS
============================================================ */

.prod-card {
  display: block; background: #fff;
  border: 1px solid rgba(11,31,58,.08); border-radius: 20px; overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.prod-card:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(11,31,58,.12); border-color: rgba(0,180,204,.35); }
.prod-card-img { height: 180px; background-size: cover; background-position: center; position: relative; background-color: #0B1F3A; }
.prod-card-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(4,14,28,.62), transparent 62%); }
.prod-card-tag {
  position: absolute; top: 13px; left: 13px; z-index: 2;
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,.92); border-radius: 20px; padding: 5px 11px;
  font-size: 11px; font-weight: 800; color: #0B1F3A;
}
.prod-card-city { position: absolute; bottom: 13px; left: 15px; z-index: 2; font-size: 12.5px; font-weight: 700; color: #fff; }
.prod-card-body { padding: 17px 18px 19px; }
.prod-card-title { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 17px; color: #0B1F3A; line-height: 1.25; }
.prod-card-desc { font-size: 13px; color: rgba(11,31,58,.55); line-height: 1.6; margin-top: 7px; }
.prod-card-foot { display: flex; align-items: baseline; justify-content: space-between; margin-top: 14px; padding-top: 13px; border-top: 1px solid rgba(11,31,58,.07); }
.prod-card-price { font-family: 'Sora', sans-serif; font-weight: 900; font-size: 21px; color: #00B4CC; }
.prod-card-from { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(11,31,58,.38); }
.prod-card-cta { font-size: 12.5px; font-weight: 800; color: #FF5C35; }

/* Option cards — formats on a lesson page, accommodations on a camp page */
.opt-card { border: 1px solid rgba(11,31,58,.10); border-radius: 18px; padding: 20px; background: #fff; }
.opt-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.opt-card-icon { width: 36px; height: 36px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.opt-card-title { font-family: 'Sora', sans-serif; font-weight: 900; font-size: 15px; color: #0B1F3A; }
.opt-card-sub { font-size: 12px; font-weight: 700; }
.opt-card-desc { font-size: 13px; color: rgba(11,31,58,.55); line-height: 1.65; margin-bottom: 12px; }
.opt-card-feats { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 6px; font-size: 12px; color: rgba(11,31,58,.6); }
@media (max-width: 480px) { .opt-card-feats { grid-template-columns: 1fr; } }

/* Accommodation photos inside an option card */
.opt-gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 7px; margin-top: 14px; }
.opt-gal-item {
  display: block; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden;
  background: #eef2f7; position: relative;
}
.opt-gal-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.opt-gal-item:hover img { transform: scale(1.06); }

/* Product photo gallery — the first photo is the thumbnail, so it leads */
.prod-gal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.prod-gal-item {
  display: block; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden;
  background: #eef2f7; position: relative;
}
.prod-gal-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.prod-gal-item:hover img { transform: scale(1.04); }
@media (min-width: 768px) {
  .prod-gal { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .prod-gal-lead { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; min-height: 100%; }
}

/* ============================================================
   BLOG — index cards and article body
   ============================================================ */
.art-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.art-card {
  display: flex; flex-direction: column; background: #fff; border-radius: 16px;
  overflow: hidden; border: 1px solid rgba(11,31,58,.07); text-decoration: none;
  transition: transform .3s, box-shadow .3s; box-shadow: 0 2px 10px rgba(11,31,58,.05);
}
.art-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(11,31,58,.12); }
.art-card-img {
  height: 190px; background-size: cover; background-position: center;
  background-color: #0B1F3A; position: relative;
}
.art-card-img-empty { background: linear-gradient(135deg, #0A2540 0%, #006B8A 60%, #00B4CC 100%); }
.art-card-topic {
  position: absolute; top: 12px; left: 12px;
  background: rgba(0,0,0,.5); backdrop-filter: blur(8px); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 100px;
}
.art-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.art-card-title { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 17px; color: #0B1F3A; line-height: 1.32; margin: 0; }
.art-card-excerpt { font-size: 13.5px; color: rgba(11,31,58,.6); line-height: 1.6; margin: 0; flex: 1; }
.art-card-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: rgba(11,31,58,.45); font-weight: 600; }
.art-card-meta i { color: #00B4CC; margin-right: 4px; font-size: 11px; }
/* No double-width first card: it consumed two of the three columns and left the
   opening row looking a card short. Every article gets the same tile. */

.art-topic-pill {
  display: inline-block; background: rgba(0,180,204,.16); border: 1px solid rgba(0,180,204,.4);
  color: #7DE8F6; font-size: 11.5px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; padding: 5px 13px; border-radius: 100px;
}
.art-meta { display: flex; gap: 20px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.55); font-weight: 600; }
.art-meta i { color: #00B4CC; margin-right: 6px; }

/* Article typography: a comfortable measure and a clear heading rhythm. */
.art-body { max-width: 68ch; font-size: 16.5px; line-height: 1.75; color: rgba(11,31,58,.78); }
.art-standfirst {
  font-size: 19px; line-height: 1.6; color: rgba(11,31,58,.62);
  border-left: 3px solid #00B4CC; padding-left: 18px; margin: 0 0 26px;
}
.art-body h2 {
  font-family: 'Sora', sans-serif; font-weight: 800; font-size: 25px; color: #0B1F3A;
  line-height: 1.25; margin: 38px 0 12px; text-wrap: balance;
}
.art-body h3 {
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 18.5px; color: #0B1F3A;
  margin: 28px 0 8px; text-wrap: balance;
}
.art-body p { margin: 0 0 18px; }
.art-body ul { margin: 0 0 18px; padding-left: 22px; }
.art-body li { margin-bottom: 8px; }
.art-body a { color: #00849A; text-decoration: underline; text-underline-offset: 2px; }
.art-body a:hover { color: #FF5C35; }
.art-body strong { color: #0B1F3A; font-weight: 700; }
.art-body blockquote {
  margin: 26px 0; padding: 18px 22px; background: #F5EFE0; border-radius: 12px;
  font-size: 17px; color: #0B1F3A; font-weight: 600; line-height: 1.6;
}

.art-aside { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 90px; }
.art-aside-box { background: #F7F9FB; border: 1px solid rgba(11,31,58,.07); border-radius: 16px; padding: 20px; }
.art-aside-lbl {
  font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(11,31,58,.45); margin-bottom: 12px;
}
.art-aside-p { font-size: 13.5px; color: rgba(11,31,58,.6); line-height: 1.6; margin: 0 0 14px; }
.art-rel {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  padding: 11px 0; border-bottom: 1px solid rgba(11,31,58,.07); text-decoration: none;
}
.art-rel:last-child { border-bottom: none; }
.art-rel-title { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 14px; color: #0B1F3A; }
.art-rel:hover .art-rel-title { color: #00849A; }
.art-rel-price { font-size: 13px; font-weight: 700; color: #FF5C35; white-space: nowrap; }
@media (max-width: 1023px) { .art-aside { position: static; } }

/* ============================================================
   LIGHTBOX
============================================================ */

.zs-lb {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(4,14,28,.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
}
.zs-lb.open { opacity: 1; visibility: visible; }
.zs-lb img { max-width: 92vw; max-height: 86vh; border-radius: 12px; display: block; }
.zs-lb-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.12); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 16px;
  transition: background .2s;
}
.zs-lb-btn:hover { background: rgba(0,180,204,.4); }
.zs-lb-prev { left: 18px; }
.zs-lb-next { right: 18px; }
.zs-lb-close { top: 18px; right: 18px; transform: none; }
.zs-lb-count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.6); font-size: 13px; font-weight: 600; }
@media (max-width: 640px) {
  .zs-lb-prev { left: 8px; } .zs-lb-next { right: 8px; }
  .zs-lb-btn { width: 38px; height: 38px; }
}

/* ============================================================
   BREADCRUMB
============================================================ */

.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12.5px; color: rgba(255,255,255,.45); }
.crumb a { color: rgba(255,255,255,.7); transition: color .2s; }
.crumb a:hover { color: #00B4CC; }
.crumb-sep { color: rgba(255,255,255,.25); }

/* ============================================================
   RAIL — looping horizontal card scroller
   Falls back to a plain horizontal scroller with no JS: every
   card is in the HTML and reachable, the loop is the enhancement.
   ============================================================ */
.rail { position: relative; }
.rail-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: auto;          /* JS animates; native smooth would fight the wrap */
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 2px 10px;
}
.rail-track::-webkit-scrollbar { display: none; }
.rail-item { flex: 0 0 340px; max-width: 88vw; display: flex; }
.rail-item > .prod-card { width: 100%; }
/* Clones exist only to make the wrap seamless — never announced or indexed. */
.rail-item[data-rail-clone] { pointer-events: auto; }

.rail-arrow {
  position: absolute; top: 42%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.96); border: 1px solid rgba(11,31,58,.1);
  color: #0B1F3A; cursor: pointer; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(11,31,58,.14);
  transition: background .2s, color .2s, opacity .2s;
  /* Visible at rest: a control nobody can see is a control nobody uses. */
  opacity: .72;
}
.rail:hover .rail-arrow, .rail-arrow:focus-visible { opacity: 1; }
/* Hidden entirely when the set already fits — nothing to scroll to. */
.rail:not(.rail-looping) .rail-arrow { display: none; }
.rail-arrow:hover { background: #0B1F3A; color: #fff; }
.rail-arrow:focus-visible { outline: 2px solid #00B4CC; outline-offset: 2px; }
.rail-arrow-l { left: -14px; }
.rail-arrow-r { right: -14px; }
@media (max-width: 900px) {
  /* Touch devices swipe; the arrows only get in the way. */
  .rail-arrow { display: none; }
  .rail-item { flex-basis: 300px; }
}
.rail-track.rail-dragging { cursor: grabbing; user-select: none; }
.rail-track.rail-dragging a { pointer-events: none; }
.rail-looping .rail-track { cursor: grab; }

/* ============================================================
   BOOKING FORM + MODAL
   The form is real HTML in the page: it posts and works with the
   JS switched off, and the modal is only ever an enhancement.
   ============================================================ */
.bk-form { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
/* An author `display` rule beats the UA's [hidden] { display:none }, so a row
   set to hidden in JS stayed on screen as a grid. State it explicitly — this is
   why the popup kept asking for what the widget had already answered. */
.bk-form [hidden] { display: none; }
.bk-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .bk-row { grid-template-columns: 1fr; } }
.bk-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.bk-field label {
  font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: rgba(11,31,58,.55);
}
.bk-req { color: #FF5C35; }
.bk-field input, .bk-field select, .bk-field textarea {
  width: 100%; border: 1px solid rgba(11,31,58,.16); border-radius: 11px;
  padding: 12px 14px; font-size: 15px; font-family: inherit; color: #0B1F3A;
  background: #fff; transition: border-color .18s, box-shadow .18s;
}
.bk-field textarea { resize: vertical; min-height: 84px; }
.bk-field input:focus, .bk-field select:focus, .bk-field textarea:focus {
  outline: none; border-color: #00B4CC; box-shadow: 0 0 0 3px rgba(0,180,204,.16);
}
.bk-submit {
  background: #FF5C35; color: #fff; border: none; border-radius: 12px;
  padding: 15px 22px; font-family: 'Sora', sans-serif; font-weight: 800; font-size: 15px;
  cursor: pointer; transition: background .2s, transform .1s;
  box-shadow: 0 6px 18px rgba(255,92,53,.28);
}
.bk-submit:hover { background: #E04820; }
.bk-submit:active { transform: translateY(1px); }
.bk-submit[disabled] { opacity: .6; cursor: progress; }
.bk-small { font-size: 12.5px; color: rgba(11,31,58,.45); margin: -4px 0 0; }

/* The honeypot must be reachable by a bot and invisible to a person. */
.bk-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.bk-result { border-radius: 11px; padding: 13px 16px; font-size: 14.5px; line-height: 1.55; }
.bk-result.ok  { background: #E7F7EE; color: #14663C; border: 1px solid #B8E6CC; }
.bk-result.err { background: #FDECEA; color: #A32116; border: 1px solid #F5C4BE; }

.bk-flash { border-radius: 12px; padding: 15px 18px; margin-bottom: 22px; font-size: 15px; line-height: 1.6; }
.bk-flash-ok  { background: #E7F7EE; color: #14663C; border: 1px solid #B8E6CC; }
.bk-flash-err { background: #FDECEA; color: #A32116; border: 1px solid #F5C4BE; }

/* ---- modal ---- */
.bk-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.bk-modal[hidden] { display: none; }
.bk-backdrop { position: absolute; inset: 0; background: rgba(4,14,28,.72); backdrop-filter: blur(3px); }
.bk-dialog {
  position: relative; z-index: 1; background: #fff; border-radius: 20px;
  width: 100%; max-width: 620px; max-height: 92vh; overflow-y: auto;
  padding: 30px 32px 26px; box-shadow: 0 30px 80px rgba(4,14,28,.5);
  animation: bk-in .22s ease-out;
}
@keyframes bk-in { from { opacity: 0; transform: translateY(12px) scale(.99); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .bk-dialog { animation: none; } }
@media (max-width: 560px) { .bk-dialog { padding: 24px 20px 20px; border-radius: 16px; } }
.bk-x {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(11,31,58,.12); background: #fff; color: #0B1F3A; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background .2s, color .2s;
}
.bk-x:hover { background: #0B1F3A; color: #fff; }
.bk-head { margin-bottom: 20px; padding-right: 40px; }
.bk-head h2 { font-family: 'Sora', sans-serif; font-weight: 900; font-size: 26px; color: #0B1F3A; margin: 6px 0 8px; line-height: 1.2; }
.bk-head p { font-size: 14.5px; color: rgba(11,31,58,.6); line-height: 1.6; margin: 0; }
.bk-alt { margin: 16px 0 0; font-size: 13.5px; color: rgba(11,31,58,.5); text-align: center; }
.bk-alt a { color: #00849A; font-weight: 700; }
body.bk-open { overflow: hidden; }

/* ---- contact page side list ---- */
.ct-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.ct-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: rgba(11,31,58,.7); line-height: 1.5; }
.ct-list i { color: #00B4CC; font-size: 13px; margin-top: 3px; flex-shrink: 0; }
.ct-list a { color: #0B1F3A; font-weight: 600; }
.ct-list a:hover { color: #00849A; }
.ct-muted { display: block; font-size: 12.5px; color: rgba(11,31,58,.45); font-weight: 400; }

/* ---- selection carried into the popup from a product page ---- */
.bk-picked { background: #F5EFE0; border-radius: 14px; padding: 16px 18px; }
.bk-picked[hidden] { display: none; }
.bk-picked-head { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; }
.bk-picked-lbl { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(11,31,58,.45); }
.bk-picked-head strong { font-family: 'Sora', sans-serif; font-size: 16px; color: #0B1F3A; }
.bk-picked-rows { margin: 0; display: flex; flex-direction: column; gap: 5px; }
.bk-picked-rows > div { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; }
.bk-picked-rows dt { color: rgba(11,31,58,.55); margin: 0; }
.bk-picked-rows dd { margin: 0; font-weight: 700; color: #0B1F3A; }
.bk-picked-total { border-top: 1px solid rgba(11,31,58,.12); margin-top: 5px; padding-top: 7px; }
.bk-picked-total dd { color: #FF5C35; }
.bk-picked-change {
  margin-top: 12px; background: none; border: none; padding: 0; cursor: pointer;
  font-size: 12.5px; font-weight: 700; color: #00849A; text-decoration: underline;
}
.bk-picked-change:hover { color: #FF5C35; }
.book-wa-link { color: rgba(255,255,255,.75); text-decoration: underline; }
.book-wa-link:hover { color: #fff; }
