.trust-strip{
  position:relative;
  z-index:10;
  margin:12px 40px 0;
}

.trust-grid{
  background:#fff;
  border-radius:18px;
  box-shadow:0 14px 32px rgba(15,23,42,.10);
  display:grid;
  grid-template-columns:repeat(4,1fr);
  padding:28px 32px;
  gap:18px;
}

.trust-grid div{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:11px;
  color:var(--navy);
  font-size:14px;
  line-height:1.25;
}

.trust-grid span{
  color:var(--teal);
  font-size:21px;
}

.quote-section{
  padding:46px 32px 30px;
}

.quote-form{
  background:#fff;
  border-radius:14px;
  box-shadow:0 12px 30px rgba(15,23,42,.08);
  padding:22px;
  display:grid;
  grid-template-columns:1fr 1fr 1.35fr .7fr 105px;
  gap:12px;
  align-items:end;
}

.hotel-field{
  position:relative;
}

.hotel-suggestions{
  position:absolute;
  left:0;
  right:0;
  top:100%;
  z-index:20;
  background:#fff;
  border:1px solid var(--border);
  border-radius:12px;
  box-shadow:var(--shadow);
  overflow:hidden;
}

.hotel-suggestions button{
  display:block;
  width:100%;
  border:0;
  background:#fff;
  padding:12px;
  text-align:left;
  cursor:pointer;
}

.hotel-suggestions button:hover{
  background:#f1f5f9;
}

.quote-btn{
  height:48px;
  padding:0 18px;
  font-size:12px;
}

.quote-result,.hotel-showcase{
  margin-top:20px;
  background:#fff;
  border-radius:14px;
  box-shadow:0 12px 30px rgba(15,23,42,.08);
  padding:22px;
}

.quote-price{
  color:var(--teal);
  font-size:30px;
  font-weight:900;
}

.quote-result-grid{
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:24px;
  align-items:start;
}

.quote-summary{
  background:#f8fafc;
  border:1px solid var(--border);
  border-radius:14px;
  padding:22px;
}

.quote-summary h3{
  margin:0 0 14px;
  color:var(--navy);
  font-size:22px;
}

.quote-summary p{
  margin:0 0 12px;
  color:#334155;
  line-height:1.5;
}

.quote-hotel{
  font-size:16px;
  color:var(--dark);
}

.booking-mini-form{
  background:#fff;
}

.booking-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.booking-grid .field.full{
  grid-column:1 / -1;
}

.booking-grid textarea{
  width:100%;
  border:1px solid var(--border);
  border-radius:8px;
  padding:12px;
  font-family:inherit;
  resize:vertical;
}

.booking-actions{
  display:flex;
  justify-content:flex-end;
  margin-top:16px;
}

.booking-message{
  margin-top:12px;
  text-align:right;
  font-weight:700;
  color:var(--navy);
}

@media(max-width:820px){
  .quote-result-grid{
    grid-template-columns:1fr;
  }

  .booking-grid{
    grid-template-columns:1fr;
  }

  .booking-actions,
  .booking-message{
    text-align:left;
    justify-content:flex-start;
  }
}

.airport-only-quote{
  grid-template-columns:1fr 2fr auto;
}

.upsell-modal{
  position:fixed;
  inset:0;
  z-index:999;
  background:rgba(0,31,91,.58);
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
}

.upsell-modal.open{
  display:flex;
}

.upsell-box{
  background:#fff;
  width:min(620px,96vw);
  max-height:88vh;
  overflow:auto;
  border-radius:22px;
  padding:26px;
  box-shadow:0 28px 70px rgba(0,0,0,.28);
  position:relative;
}

.upsell-close{
  position:absolute;
  top:14px;
  right:14px;
  border:0;
  background:#eef7fa;
  color:var(--teal);
  width:34px;
  height:34px;
  border-radius:999px;
  font-size:22px;
  cursor:pointer;
}

.upsell-tour-list{
  display:grid;
  gap:10px;
  margin:20px 0;
}

.upsell-tour-list label{
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:12px;
  align-items:center;
  padding:13px;
  border:1px solid var(--border);
  border-radius:14px;
}

.upsell-total{
  font-size:22px;
  font-weight:900;
  color:var(--navy);
  margin-bottom:16px;
}

.upsell-actions{
  display:flex;
  justify-content:flex-end;
  gap:12px;
  flex-wrap:wrap;
}

.secondary-cta{
  border:1px solid var(--border);
  background:#fff;
  color:var(--navy);
  border-radius:10px;
  padding:14px 20px;
  font-weight:900;
  cursor:pointer;
}

.upsell-tour-card{
  display:grid !important;
  grid-template-columns:auto 1fr !important;
  gap:14px !important;
  align-items:start !important;
  padding:16px !important;
}

.upsell-tour-info strong{
  display:block;
  color:var(--navy);
  font-size:16px;
  margin-bottom:4px;
}

.upsell-tour-info small{
  display:block;
  color:var(--teal);
  font-weight:900;
  margin-bottom:10px;
}

.upsell-tour-info ul{
  margin:0 0 12px;
  padding-left:18px;
  color:#334155;
  font-size:13px;
  line-height:1.45;
}

.upsell-price-icons{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.upsell-price-icons span{
  background:#eef7fa;
  color:var(--navy);
  border-radius:999px;
  padding:8px 12px;
  font-weight:900;
  font-size:13px;
}

.booking-received-modal{
  position:fixed;
  inset:0;
  z-index:1000;
  background:rgba(0,31,91,.62);
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
}

.booking-received-modal.open{
  display:flex;
}

.booking-received-box{
  background:#fff;
  width:min(560px,96vw);
  border-radius:22px;
  padding:28px;
  box-shadow:0 28px 70px rgba(0,0,0,.28);
}

.booking-received-box h2{
  margin:0 0 10px;
  color:var(--navy);
}

.booking-reference{
  font-size:24px;
  font-weight:900;
  color:var(--teal);
  margin:16px 0;
}

.booking-print-details{
  background:#f8fafc;
  border:1px solid var(--border);
  border-radius:14px;
  padding:16px;
  white-space:pre-wrap;
  font-size:13px;
  line-height:1.5;
  color:#334155;
  margin:16px 0;
}

.booking-received-actions{
  display:flex;
  gap:12px;
  justify-content:flex-end;
  flex-wrap:wrap;
}

@media print{
  body *{
    visibility:hidden;
  }

  .booking-received-box,
  .booking-received-box *{
    visibility:visible;
  }

  .booking-received-modal{
    position:absolute;
    inset:0;
    display:block !important;
    background:#fff;
  }

  .booking-received-box{
    box-shadow:none;
    width:100%;
  }

  .booking-received-actions{
    display:none;
  }
}

.hotel-showcase{
  display:grid;
  grid-template-columns:240px 1fr;
  gap:22px;
  align-items:start;
}

.hotel-image-gallery{
  display:grid;
  gap:8px;
}

.hotel-main-image{
  width:100%;
  height:165px;
  object-fit:cover;
  border-radius:14px;
  background:#f1f5f9;
}

.hotel-thumbs{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:6px;
}

.hotel-thumb{
  border:2px solid transparent;
  padding:0;
  background:none;
  border-radius:8px;
  overflow:hidden;
  cursor:pointer;
}

.hotel-thumb.active{
  border-color:var(--teal);
}

.hotel-thumb img{
  width:100%;
  height:42px;
  object-fit:cover;
}

@media(max-width:820px){
  .hotel-showcase{
    grid-template-columns:1fr;
  }

  .hotel-main-image{
    height:210px;
  }
}

/* trust strip visibility fix */
.trust-strip{
  margin:18px 40px 0 !important;
  z-index:20;
}

.trust-grid{
  background:#ffffff;
  border:1px solid rgba(13,169,198,.22);
  box-shadow:0 18px 42px rgba(0,31,91,.16);
}

.trust-grid div{
  background:#f8fbfd;
  border-radius:14px;
  padding:12px 10px;
}

@media(max-width:820px){
  .trust-strip{
    margin:14px 14px 0 !important;
  }

  .trust-grid{
    grid-template-columns:repeat(2,1fr) !important;
    gap:12px !important;
    padding:16px !important;
  }
}

/* pull trust strip upward to bridge hero/quote divide */
.trust-strip{
  margin:-34px 40px 0 !important;
  z-index:30;
}

@media(max-width:820px){
  .trust-strip{
    margin:-24px 14px 0 !important;
  }
}

.transfer-toggle{
  grid-column:1 / -1;
  display:flex;
  gap:14px;
  align-items:center;
  background:#f8fbfd;
  border:1px solid var(--border);
  border-radius:14px;
  padding:12px 14px;
}

.transfer-toggle label{
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--navy);
  font-weight:900;
  cursor:pointer;
}

.transfer-toggle input{
  accent-color:var(--teal);
}

.quote-loading{
  display:flex;
  align-items:center;
  gap:14px;
  background:#f8fbfd;
  border:1px solid var(--border);
  border-radius:14px;
  padding:18px;
  color:var(--navy);
}

.quote-loading p{
  margin:4px 0 0;
  color:#64748b;
  font-size:13px;
}

.quote-spinner{
  width:34px;
  height:34px;
  border:4px solid #dbeafe;
  border-top-color:var(--teal);
  border-radius:999px;
  animation:quoteSpin .8s linear infinite;
  flex:0 0 auto;
}

.quote-note{
  background:#eef7fa;
  border:1px solid rgba(13,169,198,.25);
  color:#334155;
  border-radius:12px;
  padding:12px;
  font-size:13px;
}

@keyframes quoteSpin{
  to{transform:rotate(360deg)}
}

/* interhotel quote */
.airport-only-quote{
  grid-template-columns:1fr 1fr auto;
}

.interhotel-field[hidden],
.fixed-airport-field[hidden]{
  display:none !important;
}

@media(max-width:820px){
  .airport-only-quote{
    grid-template-columns:1fr !important;
  }

  .transfer-toggle{
    flex-direction:column;
    align-items:flex-start;
  }
}

/* International booking contact details */
.international-phone-row {
  display: grid;
  grid-template-columns: minmax(190px, 0.9fr) minmax(180px, 1.1fr);
  gap: 12px;
  align-items: end;
}

.international-phone-row .sub-label {
  display: block;
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  color: #475569;
}

.international-phone-row select,
.international-phone-row input {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 0;
}

.phone-field-full > small,
.field > small {
  display: block;
  margin-top: 7px;
  color: #64748b;
  line-height: 1.4;
}

.required-mark {
  color: #dc2626;
}

input:required:invalid:not(:placeholder-shown),
select:required:invalid {
  border-color: #dc2626;
}

input:required:valid,
select:required:valid {
  border-color: #16a34a;
}

@media (max-width: 600px) {
  .international-phone-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .country-code-field select,
  .local-phone-field input {
    min-height: 50px;
    font-size: 16px;
  }
}

/* Shared international phone control */
.international-phone-field {
  grid-column: 1 / -1;
}

.international-phone-control {
  display: grid;
  grid-template-columns: minmax(210px, 0.9fr) minmax(220px, 1.1fr);
  gap: 14px;
  width: 100%;
}

.international-phone-code,
.international-phone-number {
  min-width: 0;
}

.international-phone-label {
  display: block;
  margin: 0 0 7px;
  font-size: 14px;
  font-weight: 700;
  color: #334155;
}

.international-phone-select,
.international-phone-input {
  width: 100%;
  min-height: 52px;
  box-sizing: border-box;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #d7e0ec;
  border-radius: 12px;
  background: #fff;
  color: #071633;
  font: inherit;
  font-size: 16px;
}

.international-phone-select:focus,
.international-phone-input:focus {
  outline: none;
  border-color: #0da9c6;
  box-shadow: 0 0 0 3px rgba(13, 169, 198, 0.14);
}

.international-phone-input:required:invalid:not(:placeholder-shown) {
  border-color: #dc2626;
}

.international-phone-input:required:valid {
  border-color: #16a34a;
}

@media (max-width: 650px) {
  .international-phone-control {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .international-phone-select,
  .international-phone-input {
    min-height: 52px;
    font-size: 16px;
  }
}

/* =========================================================
   Desktop itinerary pickup phone layout
   ========================================================= */
@media screen and (min-width:821px){

  .tour-cart-panel-new .tour-form-grid{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:12px !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
  }

  /*
   * The original phone input is the second grid item.
   * JavaScript replaces it with this complete phone control.
   */
  .tour-cart-panel-new .international-phone-control{
    grid-column:1 / -1 !important;
    display:grid !important;
    grid-template-columns:minmax(0,180px) minmax(0,1fr) !important;
    gap:12px !important;
    align-items:end !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
  }

  .tour-cart-panel-new .international-phone-code,
  .tour-cart-panel-new .international-phone-number{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
  }

  .tour-cart-panel-new .international-phone-select,
  .tour-cart-panel-new .international-phone-input{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    box-sizing:border-box !important;
  }

  /*
   * Keep Full Name above the phone row.
   */
  .tour-cart-panel-new input[name="customer_name"]{
    grid-column:1 / -1 !important;
    width:100% !important;
    min-width:0 !important;
  }

  /*
   * Email and pickup location stay side by side.
   */
  .tour-cart-panel-new input[name="email"],
  .tour-cart-panel-new .tour-pickup-wrap{
    min-width:0 !important;
    width:100% !important;
    max-width:100% !important;
  }

  .tour-cart-panel-new .tour-pickup-wrap input{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
  }

  .tour-cart-panel-new textarea{
    grid-column:1 / -1 !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
  }

  .tour-cart-panel-new .tour-form-grid > *{
    box-sizing:border-box !important;
    min-width:0 !important;
  }
}


/* GetTaxi booking submission state */
button[type="submit"][aria-busy="true"],
.primary-cta[aria-busy="true"]{
  cursor:wait !important;
  opacity:.75;
  pointer-events:none;
}

button[type="submit"]:disabled,
.primary-cta:disabled{
  cursor:not-allowed;
  opacity:.72;
}


/* GetTaxi booking retry/completion states */
.primary-cta.booking-complete,
button[type="submit"].booking-complete{
  opacity:1 !important;
  cursor:default !important;
}

.upsell-selection-warning{
  color:#b91c1c !important;
  background:#fef2f2;
  border:1px solid #fecaca;
  border-radius:10px;
  padding:10px 12px;
}

.booking-message{
  line-height:1.45;
}
