/* =========================================================
   TRIP DETAILS MODULE
========================================================= */

.tripDetails{
  background:#ffffff;
  border-radius:6px;
  padding: 22px 22px 10px;
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
  font-family: "Poppins", sans-serif;
  position: relative;
}

/* Title */
.tripDetails__title{
  font-family: industry, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  margin: 0 0 8px;
  font-size: 22px;
  color:#111;
}

/* Red rule */
.tripDetails__rule{
  height: 2px;
  width: 90%;
  background: #ef3b2d;
  margin-bottom: 16px;
}

/* Section spacing */
.tripDetails__section{
  margin-bottom: 18px;
}

/* Kicker label */
.tripDetails__kicker{
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 0px;
  color:#111;
  font-family: 'Poppins';
}

/* Destination line */
.tripDetails__destination{
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 6px;
  color:#111;
}

/* Price */
.tripDetails__price{
  font-size: 22px;
  font-weight: 600;
  margin: 0;
  color:#111;
  font-family: 'Poppins';
}

/* Trip length value */
.tripDetails__value{
  font-size: 14px;
  /* font-weight: 700; */
  margin: 0 0 4px;
}

/* Body text */
.tripDetails__body{
  font-size: 14px;
  line-height: 1.45;
  color:#333;
  margin: 0;
}
/* desktop: submit lives in Trip Details */
@media (min-width: 861px){
  .reserveForm .hs_submit,
  .reserveForm .hs-submit,
  .reserveForm .hsf-navigationRow__buttons,
  .reserveForm .hsfc-NavigationRow__Buttons{
    display: none !important; /* hide original submit row in form column */
  }

/* ===== Reserve grid stays 2-col on desktop ===== */
.reserveSection__grid{
  display:grid;
  grid-template-columns: 1fr 380px;
  gap: clamp(18px, 4vw, 60px);
  align-items:start;
}

@media (max-width: 980px){
  .reserveSection__grid{ grid-template-columns: 1fr; }
}

/* ===== ACTIONS ROW (matches comp) ===== */
.reserveSection__actions{
  grid-column: 1 / -1;                 /* span both columns */
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  margin-top: 22px;
}

/* Back link (left) */
.reserveForm__backLink{
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #000;
  text-decoration: underline;
  transition: opacity .2s ease;
}

.reserveForm__backLink:hover{ opacity:.65; }

/* CTA mount (right) */
.reserveSection__ctaMount{
  display:flex;
  justify-content:flex-end;
  width: 100%;
}

/* Make the cloned button match your big pill rules */
.reserveSection__ctaMount [data-cloned-submit]{
  width: min(520px, 100%);
  height: 56px;
  border-radius: 999px;
  border: none;
  background: #ef3b2d;
  color: #fff;
  cursor: pointer;

  font-family: industry, sans-serif;
  font-weight: 900;
  letter-spacing: .03em;
  text-transform: uppercase;

  transition: transform 220ms cubic-bezier(.22,1,.36,1), box-shadow 220ms cubic-bezier(.22,1,.36,1);
}

.reserveSection__ctaMount [data-cloned-submit]:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(0,0,0,.18);
}

/* ===== Mobile: center button, put link under centered ===== */
@media (max-width: 860px){
  .reserveSection__actions{
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap: 14px;
  }

  .reserveSection__ctaMount{
    justify-content:center;
  }

  .reserveForm__backLink{
    text-align:center;
  }
}
  /* =========================================
   Tighten space between checkbox and CTA row
   (match Figma spacing)
========================================= */

/* Remove extra HS bottom spacing on checkbox field */
.reserveForm .hs-form .hs-form-booleancheckbox {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Remove extra margin HS sometimes adds */
.reserveForm .hs-form .hs-form-booleancheckbox + * {
  margin-top: 0 !important;
}

/* Reduce form grid vertical gap slightly */
.reserveForm .hs-form {
  row-gap: 12px !important; /* was 14–18 */
}

/* Tighten actions row spacing */
.reserveSection__actions {
  margin-top: 12px !important; /* was 22px */
}
  /* =========================================================
   MOBILE: show ONLY the Back link inside the HS nav buttons
   (prevents duplicate "Back To Offer")
========================================================= */
@media (max-width: 860px){

  /* Hide any Back links NOT inside the HS navigation row */
  .reserveForm a.reserveForm__backLink:not(.hsfc-NavigationRow__Buttons a.reserveForm__backLink),
  .reserveForm .reserveForm__backLink:not(.hsfc-NavigationRow__Buttons .reserveForm__backLink){
    display: none !important;
  }

  /* Safety: if there's any back link directly under reserveForm, kill it */
  .reserveForm > .reserveForm__backLink{
    display:none !important;
  }

  /* Ensure the one inside the nav row is visible */
  .reserveForm .hsfc-NavigationRow__Buttons a.reserveForm__backLink{
    display: inline-block !important;
  }
}
  /* Hide actions row on mobile */