/* Online booking panel. Three groups: trip and price, contact, consent and payment. */
.public-booking { min-width: 0; scroll-margin-top: 2rem; }
.product-detail .public-booking { padding: 24px 22px; }
.public-booking h2 { font-size: 1.35rem; margin: 0 0 .25rem; }
.public-booking form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.booking-group { display: grid; grid-template-columns: minmax(0, 1fr); gap: .45rem; min-width: 0; }
.booking-group + .booking-group { border-top: 1px solid var(--line, #d3dfd5); margin-top: 1.1rem; padding-top: 1.1rem; }
.public-booking label { font-weight: 650; font-size: 13px; line-height: 1.5; margin-top: .35rem; }
.booking-group > label:first-child { margin-top: 0; }
.public-booking input:not([type=checkbox]):not([type=radio]):not([type=hidden]), .public-booking select { display: block; width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; min-height: 46px; padding: .55rem .7rem; border: 1px solid #8c9b92; border-radius: 6px; background: #fff; color: #163d31; font: inherit; font-size: 16px; text-overflow: ellipsis; }
.public-booking select { padding-right: 2rem; }
.public-booking input[type=checkbox], .public-booking input[type=radio] { width: 20px; height: 20px; flex-shrink: 0; margin: 2px 0 0; accent-color: var(--ink, #163d31); }
.booking-quantities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; min-width: 0; }
.booking-quantities label { display: block; margin: .35rem 0 .35rem; }
/* Stop-over plan (tours with Plans in the booking plugin). */
.booking-plans { border: 0; margin: .35rem 0 0; padding: 0; min-width: 0; display: grid; gap: .35rem; }
.booking-plans legend { font-weight: 650; font-size: 13px; line-height: 1.5; padding: 0; margin-bottom: .2rem; }
.public-booking .booking-plans .checkbox-label { margin: 0; }
.public-booking .booking-plans input:disabled + span { opacity: .55; }
.booking-plan-desc { display: block; font-size: 12px; font-weight: 400; line-height: 1.6; color: var(--muted, #5b6b62); margin-top: .1rem; }
.public-booking .booking-plans .checkbox-label + .checkbox-label { margin-top: .35rem; }
.public-booking .booking-plans p.booking-plan-note { font-size: 13px; font-weight: 650; color: #92261e; margin-top: .2rem; }
/* The base panel styles give every <p> 12px and a 16px bottom margin; reset inside the form. */
.product-detail .public-booking p { margin: 0; font-size: 12px; line-height: 1.7; }
.public-booking #booking-availability { font-size: 13px; color: var(--ink, #163d31); background: var(--soft, #eef3ee); border-radius: 6px; padding: .55rem .7rem; }
.public-booking .booking-price { background: #fff; border: 1px solid #d3dfd5; border-radius: 8px; padding: .75rem .85rem; margin: 0; font-size: inherit; font-weight: inherit; line-height: 1.5; color: var(--ink, #163d31); }
.product-detail .public-booking .booking-price p { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: 13px; color: var(--ink, #163d31); }
[data-price-breakdown] { font-size: 12px; color: var(--muted, #5b6b62); white-space: pre-line; }
[data-price-breakdown]:not(:empty) { margin-bottom: .35rem; }
.public-booking .booking-price strong { font-size: 1.45rem; line-height: 1.2; }
[data-booking-alternatives]:not([hidden]) { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; font-size: 13px; }
.booking-other-date { font: inherit; padding: .5rem .8rem; min-height: 40px; cursor: pointer; border: 1px solid #8c9b92; border-radius: 6px; background: #fff; }
.public-booking .consent-links { display: flex; gap: .35rem 1rem; flex-wrap: wrap; font-size: 12px; margin: 0; }
.public-booking .checkbox-label { display: flex; align-items: flex-start; gap: .6rem; font-size: 13px; font-weight: 500; line-height: 1.6; margin: .2rem 0 .4rem; }
.public-booking .button { width: 100%; min-height: 52px; justify-content: center; white-space: normal; margin: 0; }
.product-detail .public-booking .button { margin: 0; text-align: center; }
.public-booking button:disabled { opacity: .55; cursor: not-allowed; }
.public-booking :focus-visible, .booking-result :focus-visible { outline: 3px solid #cb742c; outline-offset: 3px; }
.public-booking [aria-invalid=true] { border: 2px solid #a12c24 !important; }
.booking-field-error, [data-booking-error] { color: #92261e; font-size: 13px; }
.booking-field-error:empty, [data-booking-error]:empty { display: none; }
.product-detail .public-booking .button ~ .field-help { text-align: center; }
/* Desktop: the panel follows the page only while it fits in the window. A taller panel (booking.js adds
   .is-tall) stays in the normal flow, so the date field and the pay button are never hidden. */
@media (min-width: 761px) {
    .product-detail .public-booking.is-tall { position: static; }
}
.booking-result { max-width: 720px; margin: 3rem auto; padding: 2rem; border: 1px solid #d3dfd5; border-radius: 16px; background: #f4f7f2; overflow-wrap: anywhere; }
.booking-result h1 { font-size: clamp(1.6rem, 5vw, 2.6rem); }
.booking-result-title { display: flex; align-items: center; gap: .45em; }
.booking-result-mark { flex: 0 0 auto; display: grid; place-items: center; width: 1.25em; height: 1.25em; border-radius: 50%; background: var(--soft, #e4ebe2); color: var(--ink, #163d31); }
.booking-result-mark svg { width: .72em; height: .72em; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
/* The shared .reference style is inline with padding; on its own line here so a wrapped ID is not covered by its next line. */
.booking-result .reference { display: block; width: fit-content; max-width: 100%; margin-top: 2px; padding: 4px 10px; line-height: 1.6; }
.booking-result-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.75rem; }
.booking-result-actions .button { gap: 28px; }
.booking-result .button-secondary { background: transparent; color: var(--ink, #163d31); border-color: var(--ink, #163d31); }
.booking-result .button-secondary:hover, .booking-result .button-secondary:focus-visible { background: var(--soft, #e4ebe2); color: var(--ink, #163d31); }
/* The panel sits below the photo (and below the description on phones), so offer a jump from the heading. */
.booking-jump { display: inline-flex; gap: .6rem; margin-top: 1rem; }
.public-booking h2 { scroll-margin-top: 100px; }
@media (max-width: 650px) { .public-booking, .product-detail .public-booking { padding: 1.25rem; } .booking-result { margin: 1rem; padding: 1.25rem; } .booking-result-actions .button { flex: 1 1 100%; } .booking-result h1 { font-size: 1.45rem; } }
/* LINE campaign coupon: the MINI App page and the coupon line in the booking panel. */
.booking-coupon { border: 1px dashed var(--accent, #b9492d); border-radius: 6px; padding: .75rem 1rem; margin: 0 0 1rem; }
.booking-coupon p { margin: 0 0 .5rem; color: var(--accent, #b9492d); font-weight: 650; }
.booking-coupon p:empty { display: none; }
.booking-coupon.is-applied { border-style: solid; background: #fff7f3; }
.booking-coupon.is-applied p { margin: 0; }
.line-app { max-width: 960px; }
.line-app [hidden], .booking-coupon [hidden] { display: none !important; }
.line-title { font-size: clamp(26px, 5vw, 40px); margin-bottom: 1.5rem; }
.line-coupon { background: #fff; border: 2px dashed var(--accent, #b9492d); border-radius: 12px; padding: 1.5rem; margin-bottom: 1.5rem; text-align: center; }
.line-coupon__amount { font-size: clamp(28px, 7vw, 44px); font-weight: 850; color: var(--accent, #b9492d); line-height: 1.3; margin-bottom: .5rem; }
.line-coupon__state { font-size: 18px; font-weight: 750; margin-bottom: .5rem; }
.line-coupon__note, .line-coupon__deadline { font-size: 13px; color: var(--muted, #53685e); margin: .5rem 0 0; }
.line-coupon__note:empty { display: none; }
.line-coupon .button { width: 100%; max-width: 360px; margin: .75rem auto 0; }
.line-pdpa { font-size: 12px; color: var(--muted, #53685e); margin: -.5rem 0 1rem; }
.line-terms { background: #fff; border: 1px solid var(--line, #d8dfd4); border-radius: 8px; padding: .75rem 1rem; margin-bottom: 1.5rem; }
.line-terms summary { cursor: pointer; font-weight: 700; }
.line-terms .prose { margin-top: .75rem; }
.line-terms .prose li { font-size: 14px; line-height: 1.8; }
.line-friend { background: var(--soft, #e9eee4); border-radius: 12px; padding: 1.25rem; margin-bottom: 2rem; }
.line-friend p { font-size: 14px; margin-bottom: .75rem; }
.line-tours h2 { font-size: 24px; }
.line-prices { display: flex; flex-wrap: wrap; gap: .25rem 1rem; font-size: 14px; }
.line-prices s { color: var(--muted, #53685e); }
.line-prices strong { color: var(--accent, #b9492d); font-size: 18px; }
.line-tours .tour-card-bottom .button { width: 100%; gap: 15px; }
.line-links { display: flex; flex-wrap: wrap; gap: 1.25rem; font-size: 13px; margin-top: 2rem; }
