/* Package comparison is isolated from the other radio choices in the form. */
.booking-page main > .section:has(.flow[data-step="pacchetto"]) > .container { max-width:76rem; }
.booking-package-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; align-items:stretch; }
.booking-package-grid > * { min-width:0; }
.booking-page .choice.booking-package { display:flex; margin:0; border:1px solid #c9e1e7; border-radius:20px; background:#fbfdfd; color:#104867; overflow:visible; }
.booking-page .choice.booking-package .choice__body { display:flex; flex:1; flex-direction:column; gap:0; padding:1.5rem 1.25rem 1.25rem; min-width:0; }
.booking-page .booking-package .choice__check { top:1.25rem; right:1rem; width:1.3rem; height:1.3rem; }
.booking-package__badge { display:block; min-height:2rem; padding-right:1.7rem; font-size:.65rem; line-height:1.45; font-weight:750; letter-spacing:.04em; color:#366b80; }
.booking-page .booking-package .choice__title { display:block; font-family:var(--font-display); font-size:1.9rem; line-height:1.15; letter-spacing:-.04em; font-weight:750; margin-bottom:.55rem; }
.booking-package__tagline { display:block; min-height:3.1rem; font-size:.8rem; line-height:1.6; color:#527589; }
.booking-package__price { display:grid; gap:.15rem; margin:1rem 0 .15rem; }
.booking-package__price > strong { font-size:2.5rem; line-height:1.1; letter-spacing:-.045em; font-weight:750; }
.booking-package__price > span { font-size:.72rem; color:#527589; }
.booking-page .booking-package .package-highlights { gap:.35rem; margin:.85rem 0 1rem; }
.booking-page .booking-package .package-highlights strong { font-size:.64rem; padding:.35rem .5rem; }
.booking-package__metrics { display:grid; grid-template-columns:1fr 1fr; gap:.8rem; padding:1rem 0; margin-bottom:1.15rem; border-block:1px solid #d2e4eb; }
.booking-package__metric { display:grid; gap:.25rem; }
.booking-package__metric + .booking-package__metric { border-left:1px solid #d2e4eb; padding-left:.8rem; }
.booking-package__metric > strong { font-size:1.4rem; line-height:1.15; font-weight:750; }
.booking-package__metric > span { font-size:.72rem; color:#527589; }
.booking-package__services-title { font-size:.7rem; line-height:1.4; font-weight:750; letter-spacing:.06em; text-transform:uppercase; margin-bottom:.7rem; }
.booking-package__services { display:grid; gap:.6rem; margin-bottom:1.4rem; }
.booking-package__services > span { display:grid; grid-template-columns:1.1rem 1fr; gap:.55rem; font-size:.79rem; line-height:1.55; overflow-wrap:anywhere; }
.booking-package__bottom { display:grid; margin-top:auto; }
.booking-package__payments { display:grid; grid-template-columns:1fr 1fr; gap:.7rem; padding-top:1rem; border-top:1px solid #d2e4eb; }
.booking-package__payments > span { display:grid; align-content:start; gap:.35rem; }
.booking-package__payments > span > span { font-size:.68rem; line-height:1.4; color:#527589; }
.booking-package__payments strong { font-size:1.1rem; line-height:1.2; }
.booking-package__unit { font-size:.68rem; line-height:1.5; color:#527589; margin-top:.8rem; }
.booking-package__select { display:block; margin-top:1.2rem; border:1px solid #8eb9cb; border-radius:999px; padding:.85rem .65rem; text-align:center; font-size:.86rem; line-height:1.3; font-weight:750; }
.booking-package__picked { display:none; }
.booking-page .choice.booking-package:has(input:checked) { border-color:#087fab; box-shadow:0 0 0 2px #087fab; }
.booking-package:has(input:checked) .choice__check { background:#075888; border-color:#075888; }
.booking-package:has(input:checked) .booking-package__pick { display:none; }
.booking-package:has(input:checked) .booking-package__picked { display:inline; }
.booking-package:has(input:checked) .booking-package__select { background:#075888; border-color:#075888; color:#fff; }
.booking-page .choice.booking-package:has(input:focus-visible) { outline:3px solid #087fab; outline-offset:4px; }
.booking-page .choice.booking-package--featured { background:#104867; border-color:#104867; color:#fff; }
.booking-package--featured .booking-package__badge { color:#ffe16b; }
.booking-package--featured .booking-package__tagline,
.booking-package--featured .booking-package__price > span,
.booking-package--featured .booking-package__metric > span,
.booking-package--featured .booking-package__payments > span > span,
.booking-package--featured .booking-package__unit { color:#d1e8f0; }
.booking-package--featured .booking-package__metrics,
.booking-package--featured .booking-package__metric + .booking-package__metric,
.booking-package--featured .booking-package__payments { border-color:#4e7d95; }
.booking-page .booking-package--featured .package-highlights strong,
.booking-package--featured .booking-package__select { background:#ffe16b; border-color:#ffe16b; color:#104867; }
.booking-package--featured:has(input:checked) .booking-package__select { background:#ffe16b; border-color:#ffe16b; color:#104867; }
.booking-page .choice.booking-package--unavailable { cursor:default; border-style:dashed; }
.booking-page .choice.booking-package--unavailable:hover { transform:none; box-shadow:none; }
.booking-package--unavailable .booking-package__select { background:transparent; border-style:dashed; color:inherit; }
.booking-package__availability { padding:.7rem; margin-top:.9rem; background:#fff2e5; border:1px solid #edcaac; border-radius:10px; font-size:.75rem; line-height:1.5; color:#8e351a; }
.booking-package-grid .package-alternative { display:flex; flex-direction:column; gap:.8rem; }
.booking-package-grid .package-alternative > .booking-package { flex:1; }
.booking-package-grid .package-alternative > button { width:100%; white-space:normal; min-height:44px; }
@media(max-width:850px) {
  .booking-package-grid { grid-template-columns:1fr; gap:1.25rem; }
  .booking-page .choice.booking-package .choice__body { padding:1.4rem; }
  .booking-package__tagline { min-height:0; }
  .booking-package__badge { min-height:1.5rem; }
  .booking-package__services { gap:.5rem; }
  .booking-package__services > span { font-size:.86rem; }
  .booking-package__payments > span > span,.booking-package__metric > span { font-size:.77rem; }
}
@media(prefers-reduced-motion:reduce) { .booking-page .choice.booking-package { transition:none; } }
