/* CamperVin Cheltenham Festival theme. Shared by the event page, checkout and thank-you templates. */
:root{
  --cv-ground:#F6F3EC; --cv-card:#FFFFFF; --cv-ink:#10222B; --cv-muted:#4A5A62;
  --cv-line:#E3DED3; --cv-teal:#004F6E; --cv-teal-dark:#003347; --cv-teal-soft:#DCE8EC;
  --cv-red:#B8322A; --cv-red-dark:#962620; --cv-radius:18px;
  --cv-display:'Archivo Black', 'Arial Black', sans-serif;
  --cv-body:'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.cv{margin:0;background:var(--cv-ground);color:var(--cv-ink);font-family:var(--cv-body);font-size:17px;line-height:1.55;-webkit-font-smoothing:antialiased}
.cv a{color:var(--cv-teal)} .cv a:hover{color:var(--cv-teal-dark)}
.cv img{max-width:100%;display:block}
.cv-wrap{max-width:1200px;margin:0 auto;padding:0 24px}
.cv-narrow{max-width:900px;margin:0 auto;padding:0 24px}
.cv-eyebrow{font-size:13px;font-weight:700;letter-spacing:1.2px;color:var(--cv-red);text-transform:uppercase}
.cv h1,.cv h2,.cv-display{font-family:var(--cv-display);font-weight:400;letter-spacing:0;margin:0}
.cv h2{font-size:clamp(30px,4vw,46px);line-height:1.05}
.cv h3{margin:0;font-size:19px}
.cv-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* Header */
.cv-header{background:#fff;border-bottom:1px solid var(--cv-line);position:sticky;top:0;z-index:20}
.cv-header .cv-wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding-top:12px;padding-bottom:12px}
.cv-brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--cv-ink)}
.cv-brand img{height:46px;width:auto}
.cv-brand span{font-family:var(--cv-display);font-size:20px}
.cv-nav{display:flex;flex-wrap:wrap;align-items:center;gap:20px;font-weight:600;font-size:15px}
.cv-nav a{text-decoration:none}
.cv-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 24px;border-radius:999px;border:2px solid transparent;font:700 16px/1 var(--cv-body);text-decoration:none;cursor:pointer;transition:background .15s,color .15s}
.cv-btn-red{background:var(--cv-red);color:#fff!important} .cv-btn-red:hover{background:var(--cv-red-dark)}
.cv-btn-teal{background:var(--cv-teal);color:#fff!important} .cv-btn-teal:hover{background:var(--cv-teal-dark)}
.cv-btn-white{background:#fff;color:var(--cv-teal)!important}
.cv-btn-ghost{border-color:#fff;color:#fff!important;background:transparent}
.cv-btn-outline{border-color:var(--cv-teal);color:var(--cv-teal)!important;background:#fff}
.cv-btn[disabled],.cv-btn.is-disabled{background:#3A505A;color:#A9B8BE!important;cursor:not-allowed}

/* Hero */
.cv-hero{position:relative;color:#fff;background:#0E2A35 center/cover no-repeat;overflow:hidden}
.cv-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,30,38,.86) 0%,rgba(10,30,38,.55) 55%,rgba(10,30,38,.25) 100%)}
.cv-hero .cv-wrap{position:relative;padding-top:120px;padding-bottom:100px;display:flex;flex-direction:column;gap:22px}
.cv-hero h1{font-size:clamp(40px,7vw,84px);line-height:.98;max-width:900px}
.cv-hero p.cv-lead{margin:0;font-size:clamp(17px,2vw,21px);max-width:620px;color:#E4ECEF}
.cv-pills{display:flex;flex-wrap:wrap;gap:10px}
.cv-pill{font-weight:700;font-size:13px;letter-spacing:.6px;padding:7px 14px;border-radius:999px;text-transform:uppercase}
.cv-pill-white{background:#fff;color:var(--cv-teal)} .cv-pill-red{background:var(--cv-red);color:#fff}
.cv-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:6px}

/* Facts strip */
.cv-facts{background:var(--cv-teal);color:#fff}
.cv-facts .cv-wrap{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;padding-top:22px;padding-bottom:22px;font-size:15px}
.cv-facts dt{font-size:12px;letter-spacing:1px;color:#B9D3DD;text-transform:uppercase}
.cv-facts dd{margin:4px 0 0;font-weight:700}

/* Experience */
.cv-section{padding:88px 0}
.cv-split{display:flex;flex-wrap:wrap;gap:48px;align-items:flex-start}
.cv-split > .cv-intro{flex:1 1 380px;display:flex;flex-direction:column;gap:18px}
.cv-split > .cv-intro p{margin:0;font-size:18px;color:#3F4F57}
.cv-features{flex:1 1 520px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.cv-feature{background:#fff;border:1px solid var(--cv-line);border-radius:16px;padding:22px;display:flex;flex-direction:column;gap:10px}
.cv-feature p{margin:0;font-size:15px;color:var(--cv-muted)}
.cv-feature svg{width:28px;height:28px;stroke:var(--cv-teal);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
@media (max-width:560px){.cv-features{grid-template-columns:1fr}}

/* Gallery */
.cv-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px;padding-bottom:72px}
.cv-gallery figure{margin:0;height:260px;border-radius:16px;overflow:hidden;background:#2B4A56}
.cv-gallery img{width:100%;height:100%;object-fit:cover}

/* Booking */
.cv-book{background:#fff;border-top:1px solid var(--cv-line);border-bottom:1px solid var(--cv-line);padding:80px 0}
.cv-book-head{display:flex;flex-direction:column;gap:10px;margin-bottom:28px}
.cv-book-grid{display:flex;flex-wrap:wrap;gap:28px;align-items:flex-start}
.cv-days{flex:999 1 560px;min-width:0;display:flex;flex-direction:column;gap:14px}
.cv-day{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:18px;padding:22px;border-radius:var(--cv-radius);background:#fff;border:2px solid var(--cv-line);transition:border-color .15s}
.cv-day.is-picked{border-color:var(--cv-teal)}
.cv-day-info{flex:1 1 240px;display:flex;flex-direction:column;gap:4px}
.cv-day-tag{font-size:13px;font-weight:700;letter-spacing:.8px;color:var(--cv-teal);text-transform:uppercase}
.cv-day-name{font-size:20px;font-weight:700}
.cv-day-desc{font-size:15px;color:var(--cv-muted)}
.cv-day-buy{display:flex;align-items:center;gap:18px}
.cv-price{text-align:right} .cv-price b{display:block;font-size:22px} .cv-price small{font-size:13px;color:var(--cv-muted)}
.cv-stepper{display:flex;align-items:center;gap:4px;background:var(--cv-ground);border-radius:999px;padding:4px}
.cv-stepper button{width:44px;height:44px;border-radius:999px;border:none;font:700 22px/1 var(--cv-body);cursor:pointer}
.cv-stepper .cv-minus{background:#fff;color:var(--cv-teal)} .cv-stepper .cv-plus{background:var(--cv-teal);color:#fff}
.cv-stepper output{min-width:32px;text-align:center;font-size:18px;font-weight:700}
.cv-stepper select{position:absolute;opacity:0;pointer-events:none;width:1px;height:1px}
.cv-soldout{font-weight:700;color:var(--cv-muted)}
.cv-note{margin:4px 0 0;font-size:14px;color:var(--cv-muted)}
.cv-summary{flex:1 1 320px;background:var(--cv-ink);color:#fff;border-radius:20px;padding:26px;display:flex;flex-direction:column;gap:16px}
.cv-summary h3{font-size:20px}
.cv-lines{display:flex;flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;font-size:15px}
.cv-lines li{display:flex;justify-content:space-between;gap:12px} .cv-lines b{white-space:nowrap}
.cv-empty{margin:0;font-size:15px;color:#B9C7CD}
.cv-total{border-top:1px solid #2E4550;padding-top:14px;display:flex;justify-content:space-between;align-items:baseline}
.cv-total span{font-size:15px;color:#B9C7CD} .cv-total strong{font-size:28px}
.cv-summary small{font-size:13px;color:#B9C7CD}
.cv-summary .cv-btn{width:100%;min-height:54px;font-size:17px}
.cv-closed{background:var(--cv-ground);border-radius:var(--cv-radius);padding:28px;font-size:18px}

/* FAQ */
.cv-faq{display:flex;flex-direction:column;gap:12px}
.cv-faq details{background:#fff;border:1px solid var(--cv-line);border-radius:14px;padding:18px 22px}
.cv-faq summary{font-size:17px;font-weight:700;cursor:pointer}
.cv-faq details p{margin:12px 0 0;color:#3F4F57}

/* Footer */
.cv-footer{background:var(--cv-ink);color:#B9C7CD;font-size:14px}
.cv-footer .cv-wrap{display:flex;flex-wrap:wrap;justify-content:space-between;gap:20px;padding-top:40px;padding-bottom:40px}
.cv-footer strong{font-family:var(--cv-display);font-weight:400;color:#fff;font-size:18px;display:block}
.cv-footer .cv-credits{max-width:560px;font-size:12px}
.cv-footer a{color:#fff}

/* Checkout and thank-you shell */
.cv-steps{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px;font-size:14px;font-weight:600}
.cv-steps li{padding:8px 14px;border-radius:999px;background:#F1EDE4;color:var(--cv-muted)}
.cv-steps li.is-done{background:var(--cv-teal-soft);color:var(--cv-teal)}
.cv-steps li.is-current{background:var(--cv-teal);color:#fff}
.cv-flow-band{background:var(--cv-teal);color:#fff;padding:44px 0 36px}
.cv-flow-band h1{font-size:clamp(28px,4vw,42px);line-height:1.05;margin-top:6px}
.cv-flow-band p{margin:8px 0 0;color:#D7E5EA}
.cv-flow{padding:40px 0 80px}
.cv-panel{background:#fff;border:1px solid var(--cv-line);border-radius:20px;padding:32px;box-shadow:0 12px 40px rgba(16,34,43,.06)}
@media (max-width:560px){.cv-panel{padding:20px}}

/* Restyle the Rails-rendered checkout forms that arrive inside {{ content }} */
.cv-flow .cv-panel label{font-size:14px;font-weight:600;color:var(--cv-ink)}
.cv-flow .cv-panel input[type=text],.cv-flow .cv-panel input[type=email],.cv-flow .cv-panel input[type=tel],
.cv-flow .cv-panel input[type=number],.cv-flow .cv-panel input[type=password],.cv-flow .cv-panel select,
.cv-flow .cv-panel textarea,.cv-flow .cv-panel .form-control{
  width:100%;min-height:48px;border:1px solid #C9C2B2;border-radius:10px;padding:10px 14px;font:16px var(--cv-body);color:var(--cv-ink);background:#fff;box-shadow:none}
.cv-flow .cv-panel textarea{min-height:96px}
.cv-flow .cv-panel input:focus,.cv-flow .cv-panel select:focus,.cv-flow .cv-panel textarea:focus{outline:3px solid var(--cv-teal-soft);border-color:var(--cv-teal)}
.cv-flow .cv-panel .form-group{margin-bottom:18px}
.cv-flow .cv-panel table{width:100%;border-collapse:collapse;font-size:15px}
.cv-flow .cv-panel th,.cv-flow .cv-panel td{padding:10px 8px;border-bottom:1px solid var(--cv-line);text-align:left}
.cv-flow .cv-panel h1,.cv-flow .cv-panel h2,.cv-flow .cv-panel h3,.cv-flow .cv-panel h4{font-family:var(--cv-body);font-weight:700;font-size:20px;margin:24px 0 12px;letter-spacing:0}
.cv-flow .cv-panel .btn,.cv-flow .cv-panel button[type=submit],.cv-flow .cv-panel input[type=submit]{
  display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 28px;border-radius:999px;border:none;
  background:var(--cv-red);color:#fff;font:700 16px var(--cv-body);cursor:pointer;text-shadow:none;box-shadow:none}
.cv-flow .cv-panel .btn:hover,.cv-flow .cv-panel button[type=submit]:hover,.cv-flow .cv-panel input[type=submit]:hover{background:var(--cv-red-dark)}
.cv-flow .cv-panel .btn-default,.cv-flow .cv-panel .btn-secondary,.cv-flow .cv-panel .btn-link{background:#fff;color:var(--cv-teal);border:2px solid var(--cv-teal)}
.cv-flow .cv-panel .card-elements,.cv-flow .cv-panel .StripeElement{border:1px solid #C9C2B2;border-radius:10px;padding:13px 14px;background:#fff}
.cv-flow .cv-panel .stripe-payment-errors,.cv-flow .cv-panel .alert-danger,.cv-flow .cv-panel .error,.cv-flow .cv-panel .field_with_errors{color:var(--cv-red)}
.cv-flow .cv-panel .alert{border-radius:12px}
.cv-secure{display:flex;align-items:center;gap:8px;margin-top:18px;font-size:13px;color:var(--cv-muted)}
.cv-secure svg{width:15px;height:15px;stroke:var(--cv-muted);fill:none;stroke-width:2}

/* Thank-you page */
.cv-tick{width:72px;height:72px;border-radius:999px;background:var(--cv-teal);display:flex;align-items:center;justify-content:center}
.cv-tick svg{width:34px;height:34px;stroke:#fff;fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.cv-confirm-head{display:flex;flex-direction:column;align-items:flex-start;gap:16px;margin-bottom:28px}
.cv-confirm-head h1{font-size:clamp(30px,4.5vw,46px);line-height:1.05}
.cv-confirm-grid{display:flex;flex-wrap:wrap;gap:24px;align-items:flex-start}
.cv-confirm-grid > .cv-panel{flex:999 1 520px;min-width:0}
.cv-confirm-grid > aside{flex:1 1 300px;display:flex;flex-direction:column;gap:16px}
.cv-ref{display:flex;flex-wrap:wrap;gap:24px;padding-bottom:20px;border-bottom:1px solid var(--cv-line);margin-bottom:20px}
.cv-ref dt{font-size:12px;letter-spacing:1px;color:var(--cv-muted);text-transform:uppercase}
.cv-ref dd{margin:2px 0 0;font-size:18px;font-weight:700}
.cv-booked{width:100%;border-collapse:collapse;font-size:16px}
.cv-booked th{font-size:12px;letter-spacing:1px;color:var(--cv-muted);text-transform:uppercase;text-align:left;padding:0 0 8px;font-weight:700}
.cv-booked td{padding:14px 0;border-top:1px solid var(--cv-line);vertical-align:top}
.cv-booked td.n,.cv-booked th.n{text-align:right;white-space:nowrap}
.cv-booked tfoot td{font-weight:700;font-size:18px;border-top:2px solid var(--cv-ink)}
.cv-guests{margin:6px 0 0;padding:0;list-style:none;font-size:14px;color:var(--cv-muted)}
.cv-info{background:var(--cv-ground);border-radius:16px;padding:22px;display:flex;flex-direction:column;gap:8px}
.cv-info p{margin:0;font-size:15px;color:#3F4F57}
.cv-callout{background:#FFF6E5;border:1px solid #E8CF9A;border-radius:14px;padding:16px 18px;font-size:15px}
.cv-content{margin-top:24px}
.cv .cv-intro .cv-content p{margin:0 0 14px}
.cv .cv-intro .cv-content p:last-child{margin-bottom:0}
.cv-content:empty{display:none}

/* Mitingu credit strip, on every page */
.cv-credit{background:#fff;border-top:1px solid var(--cv-line);color:var(--cv-muted);font-size:13px}
.cv-credit .cv-wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px 18px;padding-top:14px;padding-bottom:14px;text-align:center}
.cv-credit a{display:inline-flex;align-items:center;gap:8px;color:var(--cv-ink);text-decoration:none;font-weight:600}
.cv-credit a:hover{color:var(--cv-teal)}
.cv-credit img{height:22px;width:auto;display:inline-block}

/* Getting there */
.cv-ways{margin:0;display:flex;flex-direction:column;gap:12px}
.cv-ways dt{font-size:12px;letter-spacing:1px;text-transform:uppercase;color:var(--cv-muted);font-weight:700}
.cv-ways dd{margin:2px 0 0;font-size:16px;color:#3F4F57}
.cv-map{flex:1 1 520px;min-height:380px;border-radius:18px;overflow:hidden;border:1px solid var(--cv-line);background:#E9E3D6}
.cv-map iframe{display:block;width:100%;height:100%;min-height:380px;border:0}
.cv-map-small{flex:none;min-height:200px;border-radius:12px;margin-top:6px}
.cv-map-small iframe{min-height:200px}

/* Header menu: burger on small screens, Book now stays visible */
.cv-menu{display:flex;flex-wrap:wrap;align-items:center;gap:20px}
.cv-burger{display:none;order:3;width:44px;height:44px;border:1px solid var(--cv-line);border-radius:12px;background:#fff;cursor:pointer;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:0}
.cv-burger span{display:block;width:20px;height:2px;border-radius:2px;background:var(--cv-ink);transition:transform .2s,opacity .2s}
.cv section[id]{scroll-margin-top:84px}
@media (max-width:760px){
  .cv-header .cv-wrap{flex-wrap:nowrap}
  .cv-nav{flex-wrap:nowrap;gap:10px}
  .cv-nav .cv-btn{min-height:44px;padding:0 18px;font-size:15px}
  .cv-burger{display:flex}
  .cv-menu{display:none;position:absolute;top:100%;left:0;right:0;flex-direction:column;align-items:stretch;gap:0;background:#fff;border-bottom:1px solid var(--cv-line);box-shadow:0 12px 24px rgba(16,34,43,.08);padding:4px 24px 12px}
  .cv-menu a{padding:14px 0;border-bottom:1px solid var(--cv-line);font-size:17px}
  .cv-menu a:last-child{border-bottom:none}
  .cv-header.is-open .cv-menu{display:flex}
  .cv-header.is-open .cv-burger span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .cv-header.is-open .cv-burger span:nth-child(2){opacity:0}
  .cv-header.is-open .cv-burger span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
}

/* Checkout tidy. Mitingu's shared public.css gives every <header> a fixed 55px height,
   padding and a shadow, which squashed ours on the checkout page. */
.cv .cv-header{height:auto;padding:0;margin:0;box-shadow:none}
/* Step pills on the teal band: the current step must stand out, not vanish into the band */
.cv-flow-band .cv-steps li{background:rgba(255,255,255,.12);color:#D7E5EA}
.cv-flow-band .cv-steps li.is-done{background:rgba(255,255,255,.24);color:#FFFFFF}
.cv-flow-band .cv-steps li.is-current{background:#FFFFFF;color:var(--cv-teal)}
/* One progress indicator on the page: the band's steps. Mitingu's own bar and step cards are hidden. */
.cv-flow .cv-panel .booking-steps{display:none}
