/* SCT Bookings — front end. Brand: navy #063C70, ocean #0A5CAD, teal #20A6AF, lagoon #75D5DB, yellow #FFE000. */

/* Excursion page layout: details left, booking panel right */
.sctb-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; align-items: start; }
.sctb-main > *:first-child { margin-top: 0; }
.sctb-aside { position: sticky; top: 24px; scroll-margin-top: 24px; }
@media (max-width: 1000px) { .sctb-layout { grid-template-columns: minmax(0, 1fr); } .sctb-aside { position: static; } }

/* Booking panel */
.sctb-widget { background: #fff; border-radius: 24px; box-shadow: 0 18px 40px rgba(6, 60, 112, .22); overflow: hidden; border: 1px solid #BDEEF1; color: #063C70; font-size: 15px; }
.sctb-head { background: linear-gradient(180deg, #0A5CAD 0%, #063C70 100%); color: #fff; padding: 20px 22px 18px; border-bottom: 5px solid #FFE000; }
.sctb-from { margin: 0; font-size: 14px; color: #BDEEF1; }
.sctb-from strong { font-size: 28px; color: #FFE000; font-weight: 900; margin: 0 2px; }
.sctb-title { margin: 4px 0 0 !important; color: #fff !important; font-size: 24px !important; font-style: italic; font-weight: 900; }
.sctb-body { padding: 18px 22px 22px; }
.sctb-loading { color: #3B5A78; }
.sctb-preview { background: #FFF6B0; color: #5A4A00; border-radius: 10px; padding: 8px 12px; font-size: 13px; margin: 0 0 12px; }
.sctb-step { margin: 0 0 18px; }
.sctb-step-title { display: flex; align-items: center; gap: 10px; font-size: 16px !important; font-weight: 800; margin: 0 0 10px !important; color: #063C70; font-style: normal; }
.sctb-num { width: 26px; height: 26px; border-radius: 50%; background: #20A6AF; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; flex: none; }

.sctb-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.sctb-pill { flex: 1 1 90px; border: 2px solid #BDEEF1; background: #fff; color: #063C70; border-radius: 14px; padding: 10px 8px; cursor: pointer; font: inherit; display: flex; flex-direction: column; align-items: center; gap: 2px; transition: border-color .15s, background .15s; min-height: 44px; }
.sctb-pill span { font-weight: 800; }
.sctb-pill small { color: #3B5A78; }
.sctb-pill:hover { border-color: #20A6AF; }
.sctb-pill.is-active { border-color: #0A5CAD; background: #E9FAFB; box-shadow: inset 0 0 0 1px #0A5CAD; }

.sctb-guests { display: grid; gap: 10px; }
.sctb-stepper { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: #F5FCFD; border-radius: 12px; padding: 8px 12px; }
.sctb-stepper-label { font-weight: 700; display: flex; flex-direction: column; }
.sctb-stepper-label small { font-weight: 400; color: #3B5A78; }
.sctb-stepper-ctl { display: flex; align-items: center; gap: 10px; }
.sctb-stepper-ctl button { width: 40px; height: 40px; border-radius: 50%; border: 2px solid #20A6AF; background: #fff; color: #063C70; font: 700 20px/1 Poppins, system-ui, -apple-system, "Segoe UI", sans-serif; cursor: pointer; }
.sctb-stepper-ctl button:disabled { opacity: .35; cursor: not-allowed; }
.sctb-stepper-ctl output { min-width: 24px; text-align: center; font-weight: 800; font-size: 18px; }

.sctb-cal { background: #F5FCFD; border-radius: 16px; padding: 12px; }
.sctb-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.sctb-cal-head button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: #063C70; font-size: 22px; cursor: pointer; box-shadow: 0 2px 6px rgba(6, 60, 112, .15); }
.sctb-cal-head button:disabled { opacity: .3; cursor: not-allowed; }
.sctb-cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; transition: opacity .2s; }
.sctb-cal-grid.is-loading { opacity: .45; pointer-events: none; }
.sctb-dow { text-align: center; font-size: 12px; font-weight: 700; color: #3B5A78; padding: 4px 0; }
.sctb-day { aspect-ratio: 1; min-height: 38px; border: 0; border-radius: 10px; font: 600 14px/1 Poppins, system-ui, -apple-system, "Segoe UI", sans-serif; cursor: pointer; background: transparent; color: #9AAABB; }
.sctb-day.is-open { background: #fff; color: #063C70; box-shadow: inset 0 0 0 2px #75D5DB; }
.sctb-day.is-open:hover { background: #E9FAFB; }
.sctb-day.is-full { color: #C0392B; text-decoration: line-through; }
.sctb-day.is-selected { background: #0A5CAD !important; color: #fff !important; box-shadow: none; }
.sctb-day:disabled { cursor: not-allowed; }
.sctb-cal-key { margin: 8px 0 0 !important; font-size: 12px; color: #3B5A78; display: flex; align-items: center; gap: 6px; }
.sctb-cal-key span { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.sctb-cal-key .k-open { box-shadow: inset 0 0 0 2px #75D5DB; background: #fff; }
.sctb-cal-key .k-full { background: #fff; border: 1px solid #C0392B; margin-left: 10px; }

.sctb-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.sctb-time { border: 2px solid #BDEEF1; background: #fff; color: #063C70; border-radius: 12px; padding: 10px; cursor: pointer; font: inherit; display: flex; flex-direction: column; gap: 2px; min-height: 44px; }
.sctb-time small { color: #3B5A78; font-size: 12px; }
.sctb-time.is-active { border-color: #0A5CAD; background: #E9FAFB; box-shadow: inset 0 0 0 1px #0A5CAD; }
.sctb-time:disabled { opacity: .5; cursor: not-allowed; }

.sctb-total-box { background: #E9FAFB; border-radius: 16px; padding: 14px 16px; margin: 6px 0 14px; }
.sctb-summary { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0; font-size: 14px; }
.sctb-summary dt { font-weight: 700; color: #3B5A78; }
.sctb-summary dd { margin: 0; text-align: right; }
.sctb-total { display: flex; justify-content: space-between; align-items: baseline; margin: 10px 0 0 !important; padding-top: 10px; border-top: 1px dashed #75D5DB; font-weight: 800; }
.sctb-total strong { font-size: 26px; font-weight: 900; color: #063C70; }
.sctb-adj { font-size: 12px; margin: 4px 0 0 !important; color: #6B5300; }

.sctb-btn { display: flex; width: 100%; align-items: center; justify-content: center; gap: 8px; background: #FFE000; color: #063C70 !important; font: 800 17px/1.2 Poppins, system-ui, -apple-system, "Segoe UI", sans-serif; border: 0; border-radius: 999px; padding: 15px 22px; cursor: pointer; text-decoration: none; box-shadow: 0 6px 0 rgba(6, 60, 112, .18), 0 10px 22px rgba(6, 60, 112, .2); transition: transform .15s, background .15s; box-sizing: border-box; }
.sctb-btn:hover { background: #FFEA3D; transform: translateY(-2px); }
.sctb-btn:disabled { background: #E8EEF2; color: #7A8DA0 !important; box-shadow: none; cursor: not-allowed; transform: none; }
.sctb-link { background: none; border: 0; color: #0A5CAD; font: 600 14px/1.4 Poppins, system-ui, -apple-system, "Segoe UI", sans-serif; cursor: pointer; padding: 6px 0; text-decoration: underline; display: inline-block; margin: 0 0 10px; }
.sctb-soon { text-align: center; }
.sctb-soon p { margin: 0 0 10px; }
.sctb-soon .sctb-link { margin-top: 8px; }
.sctb-notes { font-size: 13px; color: #3B5A78; margin: 14px 0 0 !important; padding: 10px 12px; background: #F5FCFD; border-radius: 10px; }
.sctb-error { background: #FDECEA; color: #8A1F14; border-radius: 10px; padding: 10px 12px; font-size: 14px; margin: 0 0 12px !important; }

.sctb-form { display: grid; gap: 12px; }
.sctb-field { margin: 0 !important; display: grid; gap: 4px; }
.sctb-field label { font-weight: 700; font-size: 14px; }
.sctb-field input, .sctb-field textarea { width: 100%; box-sizing: border-box; border: 2px solid #BDEEF1; border-radius: 12px; padding: 11px 12px; font: inherit; color: #063C70; background: #fff; min-height: 44px; }
.sctb-field input:focus, .sctb-field textarea:focus { outline: none; border-color: #20A6AF; box-shadow: 0 0 0 3px rgba(32, 166, 175, .2); }
.sctb-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sctb-sub { display: grid; gap: 10px; background: #F5FCFD; border-radius: 12px; padding: 12px; }
.sctb-sub[hidden] { display: none; }
.sctb-visit, .sctb-methods { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.sctb-visit legend, .sctb-methods legend { font-weight: 700; font-size: 14px; margin-bottom: 6px; padding: 0; }
.sctb-visit label { display: flex; gap: 8px; align-items: center; }
.sctb-method { display: flex; gap: 10px; align-items: flex-start; border: 2px solid #BDEEF1; border-radius: 12px; padding: 10px 12px; cursor: pointer; }
.sctb-method:has(input:checked) { border-color: #0A5CAD; background: #E9FAFB; }
.sctb-method input { margin-top: 4px; }
.sctb-method span { display: flex; flex-direction: column; gap: 2px; }
.sctb-method small { color: #3B5A78; line-height: 1.4; }
.sctb-card-note { font-size: 13px; color: #3B5A78; margin: 0 !important; }
.sctb-agree { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.sctb-agree input { margin-top: 4px; }
.sctb-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.sctb-small { font-size: 12px; color: #3B5A78; margin: 0 !important; text-align: center; }

/* Search results (Excursions page) */
.sctb-results { background: #E9FAFB; border-radius: 26px; padding: 26px; margin: 0 0 40px; border-top: 6px solid #FFE000; scroll-margin-top: 100px; }
.sctb-results h2 { margin-top: 0; color: #0A5CAD; font-style: italic; font-weight: 900; }
.sctb-results-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.sctb-result { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 8px 20px rgba(6, 60, 112, .12); }
.sctb-result img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.sctb-result-body { padding: 14px 16px 16px; }
.sctb-result h3 { margin: 0 0 8px; font-size: 19px; font-style: italic; font-weight: 900; }
.sctb-result h3 a { color: #063C70; text-decoration: none; }
.sctb-result-opt { margin: 8px 0 6px !important; font-size: 14px; }
.sctb-result-times { display: flex; flex-wrap: wrap; gap: 6px; }
.sctb-chip { display: inline-flex; gap: 6px; align-items: baseline; background: #FFE000; color: #063C70 !important; border-radius: 999px; padding: 7px 12px; font-weight: 800; font-size: 14px; text-decoration: none; }
.sctb-chip small { font-weight: 500; font-size: 12px; }
.sctb-chip:hover { background: #FFEA3D; }

/* Confirmation page */
.sctb-confirm { max-width: 760px; margin: 0 auto; background: #fff; border-radius: 24px; padding: 28px; box-shadow: 0 14px 34px rgba(6, 60, 112, .16); border-top: 8px solid #20A6AF; }
.sctb-confirm--sctb-confirmed { border-top-color: #1E9E4A; }
.sctb-confirm--sctb-cancelled, .sctb-confirm--sctb-expired { border-top-color: #C0392B; }
.sctb-confirm h2 { margin-top: 0; color: #0A5CAD; font-style: italic; font-weight: 900; }
.sctb-confirm .sctb-summary { width: 100%; border-collapse: collapse; display: table; font-size: 15px; }
.sctb-confirm .sctb-summary th, .sctb-confirm .sctb-summary td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #E9FAFB; }
.sctb-confirm .sctb-summary th { width: 40%; background: #F5FCFD; }
