/* Itinerary builder — Porto Travel Recepción */
.checkout-grid { grid-template-columns: minmax(0, 1fr) 330px; gap: 38px; align-items: start; }
#checkout-app, .step-panel, .trip-item, .trip-item-title { min-width: 0; }
.step-panel { padding: 38px; background: #fffdf7; }
.step-panel h2 { font-size: clamp(30px, 3vw, 39px); line-height: 1.1; max-width: 540px; }
.step-panel .intro { font-size: 14px; line-height: 1.85; margin-bottom: 30px; }
.trip-items { display: grid; gap: 16px; }
.trip-item { border: 1px solid #d7ddd1; background: #fffefb; }
.trip-item details > summary { list-style: none; display: flex; align-items: center; gap: 15px; padding: 20px; cursor: pointer; }
.trip-item details > summary::-webkit-details-marker { display: none; }
.trip-item-number { font: italic 19px var(--serif); color: #6b7669; width: 24px; flex-shrink: 0; }
.trip-item summary > img { height: 64px; width: 64px; object-fit: cover; flex-shrink: 0; }
.trip-item-title { display: flex; flex-direction: column; gap: 5px; flex: 1; }
.trip-item-title > small { font-size: 9px; letter-spacing: .12em; font-weight: 700; color: #556d59; }
.trip-item-title > strong { font: 23px/1.16 var(--serif); }
.trip-item-title > span { font-size: 11px; line-height: 1.6; color: #5a665b; }
.trip-item-chevron { width: 24px; height: 24px; font-size: 22px; display: grid; place-items: center; flex-shrink: 0; }
.trip-item details[open] .trip-item-chevron { transform: rotate(45deg); }
.trip-item details[open] > summary { border-bottom: 1px solid #e4e6dc; }
.trip-item-body { padding: 23px; }
.trip-item-body .field-grid { gap: 20px 16px; }
.trip-item-body .field-grid > label { font-size: 12px; line-height: 1.6; }
.trip-item-body .field-grid > label input, .trip-item-body .field-grid > label select { margin-top: 8px; min-height: 48px; padding: 10px 12px; background: #fffefb; font-size: 14px; }
.trip-item-body .check-line { font-size: 12px; align-items: center; margin: 20px 0; }
.trip-item-body .check-line input { width: 18px; height: 18px; }
.trip-inclusion { font-size: 12px; line-height: 1.8; margin: 18px 0 0; }
.trip-inclusion > span { color: #627164; }
.trip-item-footer { border-top: 1px solid #e2e5db; margin-top: 22px; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.trip-remove, .trip-edit-link { background: transparent; color: #465d4a; text-decoration: underline; text-underline-offset: 4px; border: 0; padding: 12px 0; font-size: 11px; cursor: pointer; }
.trip-remove:hover { color: #a63e28; }
.trip-item-footer > div { text-align: right; display: flex; flex-direction: column; gap: 5px; }
.trip-item-footer small { font-size: 10px; color: #627164; }
.trip-item-footer strong { font: 26px var(--serif); white-space: nowrap; }
.trip-builder { margin-top: 30px; border-top: 1px solid #d7ddd1; padding-top: 25px; }
.trip-builder-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.trip-builder-heading > .eyebrow { margin: 0; font-size: 10px; }
.trip-builder-heading > span { font: italic 18px var(--serif); color: #66735d; }
.trip-add-transfer { display: flex; align-items: center; gap: 14px; width: 100%; padding: 21px; text-align: left; border: 1px solid #173f35; background: #153e34; color: #fbf9ed; cursor: pointer; margin-bottom: 14px; }
.trip-add-transfer > span:first-child { font: 36px var(--serif); }
.trip-add-transfer > span:nth-child(2) { flex: 1; display: grid; gap: 6px; }
.trip-add-transfer strong { font: 25px var(--serif); }
.trip-add-transfer small { font-size: 11px; line-height: 1.65; color: #dae1ce; }
.trip-add-transfer > b { font-size: 24px; font-weight: 400; }
.trip-add-transfer:hover { background: #245344; }
.trip-tour-picker { display: grid; grid-template-columns: 1fr; gap: 9px; }
.trip-add-tour { display: flex; align-items: center; gap: 15px; padding: 12px; text-align: left; background: #f4f3e9; border: 1px solid transparent; color: #163b31; cursor: pointer; min-width: 0; width: 100%; }
.trip-add-tour:hover { border-color: #93a48f; background: #eeefe2; }
.trip-add-tour > img { width: 64px; height: 64px; object-fit: cover; flex-shrink: 0; }
.trip-add-tour > span:nth-child(2) { display: grid; gap: 4px; flex: 1; min-width: 0; }
.trip-add-tour strong { font: 21px/1.25 var(--serif); }
.trip-add-tour small { color: #63735e; font-size: 10px; }
.trip-add-tour b { font-size: 12px; font-weight: 600; margin-top: 4px; }
.trip-add-tour i { font-size: 10px; font-weight: 400; font-style: normal; }
.trip-plus { width: 34px; height: 34px; border: 1px solid #b7c4ad; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; font-size: 22px; }
.trip-help { margin: 22px 0; font-size: 12px; line-height: 1.8; color: #65725f; }
.trip-calendar-note:empty, .trip-item [data-item-notice]:empty { display: none; }
.trip-quote-note { font-size: 12px; line-height: 1.75; }
.trip-quote-note a { text-decoration: underline; font-weight: 600; text-underline-offset: 3px; }
.booking-summary { padding: 28px; background: #e9ecdf; position: sticky; top: 24px; }
.booking-summary .eyebrow { font-size: 9px; letter-spacing: .12em; }
.trip-summary-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.trip-summary-heading h2 { margin: 0; font: 33px/1.12 var(--serif); }
.trip-count { color: #607e58; border: 1px solid #a3b695; border-radius: 50%; height: 48px; width: 48px; display: grid; place-items: center; font: italic 24px var(--serif); flex-shrink: 0; }
.trip-summary-list { list-style: none; padding: 0; margin: 24px 0 0; }
.trip-summary-list li { display: flex; gap: 14px; justify-content: space-between; padding: 17px 0; border-top: 1px solid #cbd3c0; }
.trip-summary-list li > div { display: grid; gap: 6px; min-width: 0; }
.trip-summary-list strong { font-size: 12px; line-height: 1.6; }
.trip-summary-list span { font-size: 10px; color: #536650; line-height: 1.6; }
.trip-summary-list b { font-size: 12px; padding-top: 3px; flex-shrink: 0; }
.trip-summary-empty { font-size: 13px; line-height: 1.9; color: #536650; padding: 22px 0 8px; }
.booking-summary .summary-total { margin-top: 17px; padding-top: 23px; border-top: 1px solid #a5b59a; flex-direction: column; align-items: flex-start; gap: 9px; }
.booking-summary .summary-total > span { font-size: 11px; }
.booking-summary .summary-total strong { font-size: 40px; }
.booking-summary > p { font-size: 11px; line-height: 1.8; }
#checkout-app .form-actions { gap: 18px; align-items: center; }
#checkout-app .form-actions .button { text-align: center; }
.trip-item summary:focus-visible, .trip-add-tour:focus-visible, .trip-add-transfer:focus-visible, .trip-remove:focus-visible { outline: 3px solid #b85235; outline-offset: 3px; }
@media (max-width: 1100px) {
  .checkout-grid { grid-template-columns: minmax(0, 1fr) 290px; gap: 24px; }
  .step-panel { padding: 26px; }
  .booking-summary { padding: 22px; }
  .trip-item details > summary { gap: 10px; padding: 16px; }
  .trip-item summary > img { height: 50px; width: 50px; }
  .trip-item-title > strong { font-size: 21px; }
}
@media (max-width: 760px) {
  .checkout-grid { display: flex; flex-direction: column; gap: 25px; }
  #checkout-app { width: 100%; order: 0; }
  .booking-summary { width: 100%; order: 1; position: static; padding: 25px; }
  .trip-summary-heading h2 { font-size: 34px; max-width: none; }
  .step-panel { padding: 26px 20px; }
  .trip-item-body { padding: 18px 15px; }
  .trip-item details > summary { padding: 15px 12px; }
  .trip-item-number { font-size: 16px; width: 16px; }
  .trip-item summary > img { width: 44px; height: 54px; }
  .trip-item-title > strong { font-size: 21px; }
  .trip-item-title > small { font-size: 8px; }
  .trip-item-title > span { font-size: 10px; }
  .trip-add-tour > img { width: 54px; height: 64px; }
  .trip-add-tour strong { font-size: 20px; }
  .trip-builder-heading > span { font-size: 16px; }
  .trip-add-transfer { padding: 18px 15px; }
  .trip-add-transfer strong { font-size: 23px; }
  #checkout-app .form-actions { flex-direction: column-reverse; align-items: stretch; }
  #checkout-app .form-actions .button { width: 100%; }
  #checkout-app .form-actions > .small-muted { text-align: center; }
}
@media (max-width: 390px) {
  .step-panel { padding: 24px 15px; }
  .trip-item-number { display: none; }
  .trip-builder-heading { align-items: flex-start; }
  .trip-plus { width: 27px; height: 27px; }
  .trip-add-tour { gap: 10px; }
}
@media print {
  .trip-builder, .trip-remove, .trip-edit-link { display: none; }
  .booking-summary { position: static; }
}

@media (max-width: 600px) {
  #checkout-app .field-grid { grid-template-columns: minmax(0, 1fr); }
  #checkout-app .field-grid .wide { grid-column: 1 / -1; }
}

.trip-inline-total { display: none; }
@media (max-width: 760px) {
  .trip-inline-total { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 21px 0; margin-top: 20px; border-top: 1px solid #b8c5af; }
  .trip-inline-total span { font-size: 12px; }
  .trip-inline-total strong { font: 34px var(--serif); }
  .trip-inline-total small { font-size: 11px; flex-basis: 100%; color: #735039; }
}

/* Dirección del traslado: ida y vuelta, solo ida, solo vuelta */
.trip-direction { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.trip-direction legend { padding: 0; font-size: 12px; line-height: 1.6; color: #3f5347; }
.trip-segmented { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 9px; border: 1px solid var(--input-border); background: #fffefb; }
.trip-segmented-option { position: relative; display: block; min-width: 0; }
.trip-segmented-option input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.trip-segmented-option > span { display: grid; place-items: center; text-align: center; min-height: 48px; padding: 11px 7px; font-size: 12px; line-height: 1.35; border-right: 1px solid #dfe3d8; }
.trip-segmented-option:last-child > span { border-right: 0; }
.trip-segmented-option input:hover:not(:checked) + span { background: #eef0e4; }
.trip-segmented-option input:checked + span { background: var(--ink); color: var(--paper); font-weight: 600; }
.trip-segmented-option input:focus-visible + span { outline: 3px solid var(--coral); outline-offset: -3px; }
.trip-direction .field-hint { margin-top: 10px; font-size: 11px; line-height: 1.6; color: #55665a; }

/* Miniaturas cuadradas: foto del catálogo o ilustración editorial */
.trip-add-thumb { width: 76px; height: 76px; object-fit: cover; flex-shrink: 0; }
.trip-summary-thumb { width: 54px; height: 54px; object-fit: cover; flex-shrink: 0; }
.trip-summary-list li > div { flex: 1; }

/* Atajo por WhatsApp, presente en todos los pasos */
.trip-whatsapp { margin-top: 18px; padding: 24px 26px; background: #143a31; color: #f2efe2; display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
.trip-whatsapp > div { min-width: 0; flex: 1 1 260px; }
.trip-whatsapp .eyebrow { margin: 0 0 8px; font-size: 9px; letter-spacing: .14em; color: #eabfab; }
.trip-whatsapp p { margin: 0; font-size: 13px; line-height: 1.75; max-width: 440px; }
.trip-whatsapp-button { display: inline-flex; align-items: center; gap: 11px; padding: 16px 24px; background: var(--paper); color: var(--ink); border: 1px solid var(--paper); font-size: 13px; font-weight: 600; white-space: nowrap; }
.trip-whatsapp-button:hover { background: var(--peach); border-color: var(--peach); }
.trip-whatsapp-button svg { width: 21px; height: 21px; fill: currentColor; flex-shrink: 0; }
.trip-whatsapp-button:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
@media (max-width: 760px) {
  .trip-item summary > img { width: 48px; height: 48px; }
  .trip-add-tour > img { width: 58px; height: 58px; }
  .trip-add-thumb { width: 58px; height: 58px; }
  .trip-summary-thumb { width: 46px; height: 46px; }
  .trip-whatsapp { padding: 22px 20px; }
  .trip-whatsapp-button { width: 100%; justify-content: center; }
}
@media (max-width: 390px) {
  .trip-segmented-option > span { font-size: 11px; padding: 11px 4px; }
}
@media print { .trip-whatsapp, .trip-direction { display: none; } }

/* Turnstile no passo do pagamento */
.turnstile-box {
  margin-top: 18px;
  min-height: 65px;
}
.turnstile-note {
  margin-top: 6px;
}
