/* Thomas Tours: WordPress layer on top of the approved home design (base.css).
   Covers Flatsome resets, inner pages, the tour page, the booking form and checkout. */

/* ---------- Flatsome resets ---------- */
body.tt { font: 400 17px/1.6 var(--body); color: var(--ink); background: var(--paper); }
body.tt h1, body.tt h2, body.tt h3, body.tt h4 { font-family: var(--display); color: inherit; }
body.tt #wrapper, body.tt #main { background: transparent; }
body.tt .tt-v3 a { color: inherit; }
body.tt .tt-v3 .btn { text-transform: none; letter-spacing: 0; margin: 0; line-height: 1; }
body.tt .tt-v3 img { max-width: 100%; }
body.tt .tt-v3 ul { margin: 0; }
body.tt .tt-v3 li { margin: 0; }
body.tt .tt-v3 button { margin: 0; text-transform: none; letter-spacing: 0; min-height: 0; line-height: inherit; }
body.tt .tt-v3 .btn-book { color: #fff; }
body.tt .tt-v3 h2 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.04; }
body.tt .tt-v3 h3 { font-size: 22px; line-height: 1.15; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.screen-reader-text:focus { clip: auto; width: auto; height: auto; top: 8px; left: 8px; z-index: 100; background: #fff; padding: 10px 16px; border-radius: 8px; }

/* ---------- Header on inner pages ---------- */
.tt-inner .site-head { margin-bottom: 0; }
.tt-inner .site-head .wrap { height: 92px; }
.tt-inner .logo img { width: 118px; }
.site-head .wrap { gap: 28px; }
.tt-nav { margin-left: auto; }
.head-cart { position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 1px solid rgba(255,255,255,.45); text-decoration: none; }
.solid .head-cart { color: var(--ink); border-color: var(--line); }
.head-cart em { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--coral); color: #fff; font: 700 12px/20px var(--body); text-align: center; font-style: normal; }
body.tt .menu-btn { padding: 0; margin: 0; min-height: 0; flex: 0 0 46px; }
.menu-btn svg { display: block; flex: 0 0 22px; }
@media (max-width: 1180px) {
  .tt-nav { display: none; }
  .menu-btn { display: inline-flex; }
  .tt-nav.open { display: grid; position: absolute; top: calc(100% - 6px); left: 12px; right: 12px; background: #fff; border-radius: 18px; padding: 10px; gap: 0; box-shadow: 0 30px 60px -20px rgba(0,0,0,.4); z-index: 5; }
  .tt-nav.open a { color: var(--ink); padding: 14px 16px; border-radius: 12px; }
  .tt-nav.open a::after { display: none; }
  .tt-nav.open a:hover { background: var(--foam); }
  .site-head .wrap { position: relative; }
  .head-cta { margin-left: auto; }
}
@media (max-width: 640px) {
  .tt-inner .site-head .wrap { height: 80px; }
  .tt-inner .logo img { width: 96px; }
  .head-cta { gap: 8px; }
}

/* ---------- Reef facts are links ---------- */
.reef-band .fact a { display: grid; text-decoration: none; color: #fff; }
.reef-band .fact a:hover span { color: #fff; text-decoration: underline; }
.place:focus-visible { outline: 3px solid var(--sun); }
.tour[hidden] { display: none; }

/* ---------- Inner pages built with UX Builder ---------- */
.tt-inner #main { min-height: 50vh; }
.tt-inner .page-wrapper, .tt-inner .page-title { font-size: 17px; }
.tt-inner .page-wrapper h1, .tt-inner .page-wrapper h2 { letter-spacing: -0.02em; line-height: 1.08; }
body.tt .button.primary, body.tt .button.alt, body.tt button.button.alt, body.tt .checkout-button { background: var(--coral); border-radius: 999px; text-transform: none; letter-spacing: 0; font: 700 16px/1 var(--body); padding: 0 26px; min-height: 52px; border: 0; color: #fff; box-shadow: 0 10px 24px -10px rgba(226,80,31,.7); }
body.tt .button.primary:hover, body.tt .button.alt:hover { background: var(--coral-hover); }

/* ---------- Tour page ---------- */
.tt-tour { padding-top: 22px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.tour-head { display: grid; gap: 12px; margin-bottom: 26px; max-width: 900px; }
body.tt .tour-head h1 { font-size: clamp(38px, 5.2vw, 68px); line-height: 1; letter-spacing: -0.03em; font-weight: 800; margin: 0; }
.tour-sub { font-size: clamp(18px, 1.8vw, 21px); color: var(--muted); }
.tour-facts { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 6px !important; font-size: 15.5px; }
.tour-facts li { display: inline-flex; align-items: center; gap: 8px; }
.tour-facts svg { color: var(--lagoon-deep); }
.tour-facts .stars svg { color: var(--sun); }
.facts-rating { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; }

.tour-gal { position: relative; display: grid; gap: 8px; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); height: clamp(320px, 46vw, 540px); border-radius: 24px; overflow: hidden; margin-bottom: clamp(30px, 4vw, 48px); }
.tour-gal .g-item { padding: 0; border: 0; background: var(--foam); cursor: zoom-in; overflow: hidden; display: block; }
.tour-gal .g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tour-gal .g-item:hover img { transform: scale(1.04); }
.tour-gal .g-item:first-child { grid-row: 1 / 3; }
.tour-gal.count-1 { grid-template-columns: 1fr; }
.tour-gal.count-2 { grid-template-columns: 2fr 1fr; }
.tour-gal.count-2 .g-item:nth-child(2) { grid-row: 1 / 3; }
.tour-gal.count-3 { grid-template-columns: 2fr 1fr; }
.tour-gal.count-4 .g-item:nth-child(4) { grid-column: 2 / 4; }
.g-all { position: absolute; right: 16px; bottom: 16px; background: #fff; color: var(--ink); border: 0; border-radius: 999px; padding: 11px 18px; font-weight: 700; font-size: 14.5px; cursor: pointer; box-shadow: 0 10px 24px -12px rgba(0,0,0,.5); }
.g-all:hover { background: var(--foam); }

.tour-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); gap: clamp(30px, 5vw, 70px); align-items: start; padding-bottom: clamp(60px, 8vw, 110px); }
.tour-main { display: grid; gap: clamp(34px, 4vw, 48px); min-width: 0; }
.tour-intro { font: 600 clamp(20px, 2vw, 25px)/1.45 var(--display); letter-spacing: -0.01em; max-width: 40ch; }
.tour-block { display: grid; gap: 18px; padding-top: clamp(30px, 4vw, 44px); border-top: 1px solid var(--line); }
body.tt .tour-block h2 { font-size: clamp(26px, 2.6vw, 34px); margin: 0; }
.inc-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 26px; }
.inc-list li { display: flex; gap: 12px; align-items: flex-start; }
.inc-list svg { flex: none; margin-top: 4px; color: var(--lagoon); }
.meet-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.meet-grid div { border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; display: grid; gap: 4px; }
.meet-grid span { color: var(--muted); font-size: 15px; }
.meet-note { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); background: var(--foam); border-radius: 14px; padding: 14px 16px; font-size: 15.5px; }
.meet-note svg { flex: none; margin-top: 3px; color: var(--lagoon-deep); }
.policy ul { list-style: none; padding: 0; display: grid; gap: 14px; }
.policy li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.policy li b { color: var(--ink); }
.policy li svg { flex: none; margin-top: 4px; color: var(--lagoon-deep); }
.text-link { font-weight: 700; color: var(--lagoon-deep) !important; justify-self: start; }

.tt-prose { color: #24414f; font-size: 17px; max-width: 68ch; }
.tt-prose > * + * { margin-top: 1em !important; }
.tt-prose p { margin: 0; }
.tt-prose h2, .tt-prose h3, .tt-prose h4 { font-size: 21px !important; margin-top: 1.6em !important; color: var(--ink); }
.tt-prose ul { padding-left: 1.2em; display: grid; gap: 6px; }
.tt-prose li { list-style: disc; }
.tt-prose img { border-radius: 16px; height: auto; }
.tt-prose.clamped { max-height: 380px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
.more-btn { justify-self: start; background: none; border: 0; padding: 0; font-weight: 700; color: var(--lagoon-deep); text-decoration: underline; cursor: pointer; }

/* Booking card */
.tour-aside { position: sticky; top: 112px; }
.book-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 22px; display: grid; gap: 16px; box-shadow: 0 30px 60px -40px rgba(10,36,51,.45); }
.book-price { display: flex; gap: 8px; }
.book-price div { flex: 1; border-radius: 14px; background: var(--foam); padding: 10px 12px; display: grid; }
.book-price small { color: var(--muted); font-size: 13px; }
.book-price b { font: 800 24px/1.1 var(--display); font-variant-numeric: tabular-nums; }
.book-trust { list-style: none; padding: 0; display: grid; gap: 8px; font-size: 14.5px; color: var(--muted); }
.book-trust li { display: flex; gap: 8px; align-items: center; }
.book-trust svg { color: #1f9d55; flex: none; }
.book-ask { width: 100%; }

/* WooCommerce Bookings form */
.book-form form.cart { margin: 0; display: grid; gap: 14px; }
.book-form .wc-bookings-booking-form { margin: 0; border: 0; padding: 0; display: grid; gap: 10px; }
.book-form .form-field { margin: 0; }
.book-form p[class*="wc_bookings_field_persons"] { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.book-form p[class*="wc_bookings_field_persons"] label { margin: 0; font-weight: 700; font-size: 16px; }
.book-form .stepper { display: flex; align-items: center; gap: 6px; }
.book-form .stepper button { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; font: 700 18px/1 var(--body); color: var(--ink); cursor: pointer; display: grid; place-items: center; padding: 0; }
.book-form .stepper button:hover { border-color: var(--ink); }
body.tt .book-form .stepper input[type=number] { width: 46px; height: 38px; margin: 0; border: 0; box-shadow: none; background: transparent; text-align: center; font: 700 17px var(--body); padding: 0; -moz-appearance: textfield; }
.book-form .stepper input::-webkit-outer-spin-button, .book-form .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.book-form fieldset.wc-bookings-date-picker { border: 0; padding: 0; margin: 4px 0 0; }
.book-form .wc-bookings-date-picker-timezone-block, .book-form .wc-bookings-date-picker-date-fields { display: none !important; }
.book-form .ui-datepicker { width: 100% !important; padding: 0 !important; border: 0 !important; background: none !important; font-family: var(--body); }
.book-form .ui-datepicker-header { background: none !important; border: 0 !important; display: flex; align-items: center; justify-content: space-between; padding: 4px 0 10px !important; position: relative; }
.book-form .ui-datepicker-title { font: 700 17px var(--display) !important; color: var(--ink) !important; order: 2; flex: 1; text-align: center; }
.book-form .ui-datepicker-prev, .book-form .ui-datepicker-next { position: static !important; width: 36px !important; height: 36px !important; border-radius: 50% !important; border: 1.5px solid var(--line) !important; background: #fff !important; cursor: pointer; display: grid !important; place-items: center; }
.book-form .ui-datepicker-prev { order: 1; } .book-form .ui-datepicker-next { order: 3; }
.book-form .ui-datepicker-prev span, .book-form .ui-datepicker-next span { display: none !important; }
.book-form .ui-datepicker-prev::before { content: "‹"; font-size: 22px; line-height: 1; color: var(--ink); }
.book-form .ui-datepicker-next::before { content: "›"; font-size: 22px; line-height: 1; color: var(--ink); }
.book-form .ui-datepicker-prev.ui-state-disabled { opacity: .35; }
.book-form .ui-datepicker table { width: 100%; border-collapse: separate; border-spacing: 3px; margin: 0; font-size: 15px; }
.book-form .ui-datepicker th { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; padding: 4px 0; border: 0; text-align: center; }
.book-form .ui-datepicker td { padding: 0 !important; border: 0 !important; background: none !important; text-align: center; }
.book-form .ui-datepicker td a, .book-form .ui-datepicker td span { display: grid !important; place-items: center; height: 40px; border-radius: 12px !important; border: 0 !important; background: none !important; color: var(--ink) !important; font-weight: 600; text-decoration: none; padding: 0 !important; text-align: center !important; }
.book-form .ui-datepicker td.bookable a { background: var(--foam) !important; color: var(--ink) !important; }
.book-form .ui-datepicker td.bookable a:hover { background: #cdebeb !important; }
.book-form .ui-datepicker td.ui-state-disabled span, .book-form .ui-datepicker td.ui-datepicker-unselectable span { color: #b6c6cc !important; }
.book-form .ui-datepicker td.ui-datepicker-current-day a, .book-form .ui-datepicker td a.ui-state-active { background: var(--ink) !important; color: #fff !important; }
.book-form .ui-datepicker td.ui-datepicker-other-month { visibility: hidden; }
.book-form ul.block-picker { list-style: none; padding: 0; margin: 4px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.book-form ul.block-picker li { margin: 0; padding: 0; border: 0; background: none; }
.book-form ul.block-picker li:only-child { grid-column: 1 / -1; color: var(--muted); font-size: 14.5px; }
.book-form ul.block-picker li a { display: block; text-align: center; padding: 10px 6px; border: 1.5px solid var(--line); border-radius: 12px; text-decoration: none; font-weight: 700; font-size: 14.5px; color: var(--ink); background: #fff; }
.book-form ul.block-picker li a:hover { border-color: var(--ink); }
.book-form ul.block-picker li a.selected { background: var(--ink); border-color: var(--ink); color: #fff; }
.book-form .wc-bookings-booking-cost { margin: 4px 0 0 !important; padding: 14px 16px !important; border-radius: 14px; background: var(--sand); border: 0 !important; font-size: 15px; color: var(--ink); display: flex; justify-content: space-between; align-items: baseline; }
.book-form .wc-bookings-booking-cost .amount { font: 800 24px var(--display); }
body.tt .book-form .single_add_to_cart_button { width: 100%; min-height: 58px; font-size: 17px; margin: 0; }
body.tt .book-form .single_add_to_cart_button.disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.book-form .blockUI.blockOverlay { border-radius: 14px; }

.book-bar { display: none; }
@media (max-width: 960px) {
  .tour-layout { grid-template-columns: minmax(0, 1fr); }
  .tour-aside { position: static; order: -1; }
  .tour-main { order: 2; }
  .book-bar { display: flex; position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; padding: 12px var(--gutter-r) calc(12px + env(safe-area-inset-bottom, 0px)) var(--gutter-l); background: #fff; box-shadow: 0 -10px 30px -16px rgba(10,36,51,.4); align-items: center; justify-content: space-between; gap: 12px; transform: translateY(110%); transition: transform .4s var(--ease); }
  .book-bar.show { transform: none; }
  .book-bar b { font: 800 22px var(--display); }
  .book-bar small { color: var(--muted); }
  .book-bar .btn { min-height: 48px; padding: 0 20px; }
  .tt-tour ~ .cfab, .single-product .cfab { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 640px) {
  .tour-gal { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; height: 420px; border-radius: 18px; }
  .tour-gal .g-item:first-child { grid-column: 1 / 3; grid-row: 1; }
  .tour-gal .g-item:nth-child(n+4) { display: none; }
  .tour-gal.count-2 .g-item:nth-child(2) { grid-row: auto; grid-column: 1 / 3; }
  .inc-list, .meet-grid { grid-template-columns: minmax(0, 1fr); }
  .book-card { padding: 18px; border-radius: 20px; }
}

/* Photo viewer */
dialog.gal-dlg { width: min(1200px, 100vw); height: min(860px, 100dvh); max-width: 100vw; max-height: 100dvh; padding: 0; border: 0; background: #061822; overflow: hidden; border-radius: 18px; }
dialog.gal-dlg::backdrop { background: rgba(6,24,34,.85); }
.gal-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gal-track::-webkit-scrollbar { display: none; }
.gal-track figure { flex: 0 0 100%; margin: 0; scroll-snap-align: center; display: grid; place-items: center; padding: 50px 16px; }
.gal-track img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; }
.gal-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.gal-nav.prev { left: 14px; } .gal-nav.next { right: 14px; }
.gal-dlg .qv-close { position: absolute; top: 14px; right: 14px; }

/* ---------- Checkout ---------- */
.tt-inner.woocommerce-checkout #main, .tt-inner.woocommerce-cart #main { background: var(--sand); }
.woocommerce-checkout .page-title, .woocommerce-checkout .checkout-page-title, .woocommerce-checkout .checkout-breadcrumbs { display: none !important; }
.tt-checkout-head { padding: 34px 0 6px; }
.tt-checkout-head .wrap { display: grid; gap: 14px; }
.tt-checkout-head h1 { font-size: clamp(32px, 4vw, 48px); margin: 0; letter-spacing: -0.03em; }
.tt-steps { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0; font-size: 14.5px; color: var(--muted); }
.tt-steps li { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.tt-steps li i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 700 12px var(--body); font-style: normal; border: 1.5px solid var(--line); background: #fff; }
.tt-steps li.done i { background: var(--lagoon); border-color: var(--lagoon); color: #fff; }
.tt-steps li.on { color: var(--ink); font-weight: 700; }
.tt-steps li.on i { background: var(--ink); border-color: var(--ink); color: #fff; }

body.woocommerce-checkout .page-wrapper { padding-top: 18px; }
body.woocommerce-checkout form.checkout { font-size: 16px; }
body.woocommerce-checkout .large-7, body.woocommerce-checkout .large-5 { padding-bottom: 20px; }
body.woocommerce-checkout .woocommerce-billing-fields, body.woocommerce-checkout .woocommerce-additional-fields { background: #fff; border-radius: 22px; padding: 24px 24px 10px; margin-bottom: 18px; border: 1px solid var(--line); }
body.woocommerce-checkout .woocommerce-billing-fields h3, body.woocommerce-checkout .woocommerce-additional-fields h3, body.woocommerce-checkout #order_review_heading { font: 700 22px/1.2 var(--display) !important; text-transform: none !important; letter-spacing: -0.01em; margin: 0 0 16px !important; padding: 0 !important; border: 0 !important; }
body.woocommerce-checkout .form-row label { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
body.woocommerce-checkout .form-row label .optional { text-transform: none; letter-spacing: 0; font-weight: 500; }
body.woocommerce-checkout input.input-text, body.woocommerce-checkout textarea, body.woocommerce-checkout select, body.woocommerce-checkout .select2-container .select2-selection--single { border: 1.5px solid var(--line) !important; border-radius: 12px !important; box-shadow: none !important; min-height: 50px; font: 500 16px var(--body); padding: 10px 14px; background: #fff; }
body.woocommerce-checkout textarea { min-height: 92px; }
body.woocommerce-checkout input.input-text:focus, body.woocommerce-checkout textarea:focus { border-color: var(--lagoon) !important; outline: none; }
body.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered { line-height: 28px; padding-left: 0; }
body.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__arrow { height: 48px; }
body.woocommerce-checkout .col-inner.has-border, body.woocommerce-checkout .checkout-sidebar { background: #fff; border: 1px solid var(--line) !important; border-radius: 22px; padding: 24px !important; }
body.woocommerce-checkout .shop_table { font-size: 15px; }
body.woocommerce-checkout .shop_table th, body.woocommerce-checkout .shop_table td { border-color: var(--line); }
body.woocommerce-checkout .shop_table .order-total .amount { font: 800 24px var(--display); color: var(--ink); }
body.woocommerce-checkout .shop_table .product-name dl.variation { font-size: 13.5px; color: var(--muted); }
body.woocommerce-checkout #payment { background: none; }
body.woocommerce-checkout #payment ul.payment_methods { padding: 0; border: 0; display: grid; gap: 8px; }
body.woocommerce-checkout #payment ul.payment_methods li { border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; margin: 0; list-style: none; }
body.woocommerce-checkout #payment ul.payment_methods li:has(input:checked) { border-color: var(--ink); }
body.woocommerce-checkout #payment ul.payment_methods li label { font-weight: 700; font-size: 16px; text-transform: none; letter-spacing: 0; color: var(--ink); }
body.woocommerce-checkout #payment .payment_box { background: var(--foam); border-radius: 10px; font-size: 14px; margin: 10px 0 0; padding: 10px 12px; }
body.woocommerce-checkout #place_order { width: 100%; min-height: 58px; font-size: 17px; }
.tt-secure { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); margin-top: 12px; }
.tt-secure svg { color: #1f9d55; flex: none; }
body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info { background: none; border: 0; padding: 0 0 10px; font-size: 15px; }
body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info::before { display: none; }

/* ---------- Own booking form ---------- */
.book-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.book-head b { font: 800 30px/1 var(--display); letter-spacing: -0.02em; }
.book-head small { color: var(--muted); font-size: 14px; }
.kid-price { font-size: 14px; font-weight: 600; color: var(--lagoon-deep); background: var(--foam); border-radius: 999px; padding: 4px 10px; }
.tt-book { display: grid; gap: 18px; }
.tt-book fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 12px; }
.tt-book legend { display: flex; align-items: center; gap: 10px; font: 700 17px/1.2 var(--display); padding: 0; margin: 0 0 12px; }
.tt-book legend .n { width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 700 12.5px var(--body); }
.cal { border: 1px solid var(--line); border-radius: 18px; padding: 12px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-head b { font: 700 16px var(--display); display: inline-block; }
.cal-head b::first-letter, .bk-date-out b::first-letter, .bk-back-v::first-letter { text-transform: uppercase; }
.cal-nav { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line) !important; background: #fff; font-size: 20px !important; line-height: 1 !important; cursor: pointer; display: grid; place-items: center; padding: 0 !important; color: var(--ink); }
.cal-nav:hover:not(:disabled) { border-color: var(--ink) !important; }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; text-align: center; }
.cal-grid .wd { font-size: 12px; font-weight: 700; color: var(--muted); padding: 4px 0; text-transform: uppercase; }
.cal-grid .day { height: 40px; border: 0; border-radius: 11px; background: var(--foam); color: var(--ink); font: 600 15px var(--body) !important; cursor: pointer; padding: 0 !important; position: relative; font-variant-numeric: tabular-nums; }
.cal-grid .day:hover:not(:disabled) { background: #cdebeb; }
.cal-grid .day:disabled { background: none; color: #b3c3c9; cursor: default; text-decoration: line-through; text-decoration-color: rgba(179,195,201,.6); }
.cal-grid .day.on { background: var(--ink); color: #fff; }
.cal-grid .day.few::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--coral); }
.bk-date-out { font-size: 15px; color: var(--ink); background: var(--foam); border-radius: 12px; padding: 9px 12px; text-transform: none; }
.bk-date-out b { display: inline-block; }
.ppl { display: grid; }
.ppl-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ppl-row:last-child { border-bottom: 0; }
.ppl-row > div:first-child { display: grid; line-height: 1.25; }
.ppl-row small { color: var(--muted); font-size: 13.5px; }
.tt-book .stepper { display: flex; align-items: center; gap: 4px; }
.tt-book .stepper button { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line) !important; background: #fff; font: 700 18px/1 var(--body) !important; color: var(--ink); cursor: pointer; display: grid; place-items: center; padding: 0 !important; }
.tt-book .stepper button:hover { border-color: var(--ink) !important; }
body.tt .tt-book .stepper input { width: 44px; height: 38px; margin: 0; border: 0; box-shadow: none; background: transparent; text-align: center; font: 700 17px var(--body); padding: 0; -moz-appearance: textfield; }
.tt-book .stepper input::-webkit-outer-spin-button, .tt-book .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.bk-private { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; cursor: pointer; margin: 0; }
.bk-private:has(input:checked) { border-color: var(--ink); background: var(--foam); }
.bk-private input { margin: 4px 0 0 !important; width: 18px; height: 18px; accent-color: var(--ink); }
.bk-private span { display: grid; line-height: 1.3; font-weight: 400; }
.bk-private small { color: var(--muted); font-size: 13.5px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--foam); padding: 4px; border-radius: 14px; }
.seg label { margin: 0; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border-radius: 11px; font-weight: 700; font-size: 15px; color: var(--muted); transition: background .2s, color .2s; }
.seg input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 4px 12px -6px rgba(10,36,51,.35); }
.seg input:focus-visible + span { outline: 3px solid var(--sun); }
.bk-fields { display: grid; gap: 12px; }
.bk-fields[hidden] { display: none; }
.tt-book .two { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px; }
.tt-book .fl { display: grid; gap: 6px; margin: 0; font-weight: 400; }
.tt-book .fl > span { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tt-book .fl em { font-style: normal; text-transform: none; letter-spacing: 0; font-weight: 500; }
body.tt .tt-book input[type=text], body.tt .tt-book input[type=time], body.tt .tt-book select { width: 100%; height: 48px; margin: 0; border: 1.5px solid var(--line); border-radius: 12px; box-shadow: none; background-color: #fff; font: 500 16px var(--body); color: var(--ink); padding: 0 14px; }
body.tt .tt-book input:focus, body.tt .tt-book select:focus { border-color: var(--lagoon); outline: none; box-shadow: 0 0 0 3px rgba(18,159,176,.18); }
.bk-sum { background: var(--sand); border-radius: 16px; padding: 14px 16px; display: grid; gap: 8px; }
.bk-sum .lines { display: grid; gap: 4px; font-size: 15px; color: var(--muted); }
.bk-sum .lines div { display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; }
.bk-sum .lines .sub { font-size: 13.5px; color: var(--lagoon-deep); }
.bk-sum .tot { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid rgba(10,36,51,.12); padding-top: 8px; font-weight: 700; }
.bk-sum .tot b { font: 800 28px/1 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.bk-err { background: #fdecea; color: #a12a12; border-radius: 12px; padding: 10px 14px; font-size: 14.5px; }
body.tt .bk-go { width: 100%; min-height: 58px; font-size: 17px; }
.bk-go.busy { opacity: .7; pointer-events: none; }
.bk-note { text-align: center; font-size: 13.5px; color: var(--muted); }
.book-form .woocommerce-error, .book-form .woocommerce-message { list-style: none; margin: 0 0 4px; padding: 10px 14px; border-radius: 12px; background: #fdecea; color: #a12a12; font-size: 14.5px; }
@media (max-width: 380px) { .tt-book .two { grid-template-columns: 1fr; } .cal-grid .day { height: 36px; } }

/* ---------- Checkout extras ---------- */
.tt-back { font-weight: 700; color: var(--lagoon-deep) !important; text-decoration: none; justify-self: start; }
.tt-hidden-row { display: none !important; }
.tt-phone { display: flex; gap: 8px; }
.tt-cc-pick { position: relative; flex: none; }
.tt-cc-shown { display: flex; align-items: center; height: 50px; padding: 0 30px 0 12px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230a2433' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 10px center; font: 600 16px var(--body); white-space: nowrap; }
.tt-cc-pick select.tt-cc { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; margin: 0; }
.tt-cc-pick:focus-within .tt-cc-shown { border-color: var(--lagoon); box-shadow: 0 0 0 3px rgba(18,159,176,.18); }
.tt-phone input { flex: 1; min-width: 0; }

/* Header link colors (beat Flatsome's link color) */
body.tt .site-head:not(.solid) .tt-nav a { color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.35); }
body.tt .site-head.solid .tt-nav a { color: var(--ink); }
body.tt .tt-nav.open a { color: var(--ink); text-shadow: none; }
.woocommerce-store-notice, p.demo_store { background: var(--coral) !important; color: #fff !important; font: 600 14px/1.4 var(--body) !important; padding: 9px 16px !important; }
.woocommerce-store-notice a { color: #fff !important; text-decoration: underline; }

/* Fixes after first review */
body.tt .tt-v3 .btn { min-height: 52px; padding: 0 26px; }
body.tt .tt-v3 .head-cta .btn { min-height: 46px; padding: 0 22px; }
body.tt .tt-v3 .finder .btn-book { min-height: 64px; }
body.tt .tt-book .bk-go { min-height: 58px; }
body.tt .tt-book legend { text-transform: none; letter-spacing: 0; border: 0; width: auto; color: var(--ink); font-size: 17px; }
@media (max-width: 480px) { .tt-book .two { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { body.tt .tt-v3 .head-cta .btn-book { min-height: 44px; padding: 0 16px; font-size: 14.5px; } }

/* ---------- Review fixes ---------- */
@media (max-width: 900px) {
  .cfab { transition: opacity .25s, transform .25s; }
  body.tt-in-form .cfab { opacity: 0; transform: translateY(20px); pointer-events: none; }
}
.bk-sum .tot small { display: block; font-size: 13px; font-weight: 500; color: var(--muted); }
body.tt .tt-v3 .btn-call { color: var(--ink); }
body.tt .tt-v3 .btn-wa { color: #fff; }

/* Bigger touch targets in the booking form and checkout */
body.tt .book-form .stepper button, body.tt .tt-book .stepper button { width: 44px; height: 44px; }
body.tt .book-form .stepper input[type=number], body.tt .tt-book .stepper input[type=number] { height: 44px; }
body.tt .cal-nav { min-width: 44px; min-height: 44px; }
body.tt .cal-grid .day { height: 44px; }
@media (max-width: 380px) { body.tt .cal-grid .day { height: 40px; } }
.bk-private input { width: 22px; height: 22px; }
body.woocommerce-checkout #payment input[type=radio], body.woocommerce-checkout #terms { width: 22px; height: 22px; accent-color: var(--ink); vertical-align: middle; margin-right: 8px; }
body.woocommerce-checkout .tt-back { display: inline-flex; align-items: center; min-height: 44px; }

/* Checkout labels: readable sentence case instead of small caps */
body.woocommerce-checkout .form-row label { font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--ink); font-weight: 600; }
body.woocommerce-checkout .form-row .description { font-size: 14px; color: var(--muted); margin-top: 6px; position: static; background: none; padding: 0; box-shadow: none; display: block !important; }
body.woocommerce-checkout .form-row .description::before { display: none; }
body.tt .tt-book .two { grid-template-columns: minmax(0, 1fr); } /* the aside is too narrow for the full port name */

/* ---------- Inner pages (About, Gallery, FAQS, Contact, Reviews, policies) ---------- */
.tt-page { background: var(--paper); }
.page-hero { background: var(--sand); padding-block: 40px 44px; }
.page-hero h1 { font: 800 clamp(38px, 6vw, 72px)/1 var(--display); letter-spacing: -0.03em; margin: 0; max-width: 18ch; text-wrap: balance; }
.page-hero p { margin: 14px 0 0; font-size: 18px; color: var(--muted); max-width: 56ch; }
.page-hero.has-photo { position: relative; color: #fff; background: var(--ink) var(--photo) center / cover no-repeat; padding-block: clamp(90px, 14vw, 170px) 48px; isolation: isolate; }
.page-hero.has-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,36,51,.25), rgba(10,36,51,.78)); }
.page-hero.has-photo p, .page-hero.has-photo .crumbs { color: rgba(255,255,255,.85); }
.page-hero.has-photo .crumbs a:hover { color: #fff; }
.page-body { padding-block: 48px 80px; }

.tt-entry { max-width: 820px; }
.tt-entry > * + * { margin-top: 1.1em !important; }
.tt-entry .lede { font-size: 20px; line-height: 1.5; color: var(--ink); }
.tt-entry h2 { font: 800 clamp(26px, 3vw, 34px)/1.1 var(--display) !important; letter-spacing: -0.02em; margin-top: 1.8em !important; }
.tt-entry a { color: var(--lagoon-deep); }
.tt-entry .wp-block-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; align-items: center; margin-top: 1.6em !important; }
.tt-entry .wp-block-column > * + * { margin-top: 1em; }
.tt-entry .wp-block-column h2 { margin-top: 0 !important; }
.tt-entry figure { margin: 0; }
.tt-entry img { border-radius: 16px; display: block; width: 100%; height: auto; }
.tt-entry .wp-block-gallery { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tt-entry .wp-block-gallery.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tt-entry .wp-block-gallery .wp-block-image { width: auto !important; margin: 0 !important; }
.tt-entry .wp-block-gallery img { aspect-ratio: 1; object-fit: cover; height: 100% !important; transition: transform .5s var(--ease); }
.tt-entry .wp-block-gallery a { display: block; overflow: hidden; border-radius: 16px; }
.tt-entry .wp-block-gallery a:hover img { transform: scale(1.04); }
.tt-entry .wp-block-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.tt-entry .wp-block-button__link { display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--coral); color: #fff !important; font: 700 16px var(--body); text-decoration: none; }
.tt-entry .wp-block-button__link:hover { background: var(--coral-hover); }
.tt-entry .wp-block-embed iframe, .tt-map iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 16px; display: block; }
.tt-entry .wp-block-quote { margin: 0; padding: 22px 24px; background: var(--foam); border: 0; border-radius: 18px; font-size: 16px; }
.tt-entry .wp-block-quote cite { display: block; margin-top: 12px; font: 700 15px var(--body); font-style: normal; color: var(--ink); }
.tt-entry .tt-quotes { align-items: stretch; }
.tt-entry .wp-block-details { border-bottom: 1px solid var(--line); padding: 4px 0; margin-top: 0 !important; }
.tt-entry .wp-block-details summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 56px; font: 600 18px/1.3 var(--body); color: var(--ink); }
.tt-entry .wp-block-details summary::-webkit-details-marker { display: none; }
.tt-entry .wp-block-details summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--foam); color: var(--lagoon-deep); font-size: 20px; transition: transform .25s var(--ease); }
.tt-entry .wp-block-details[open] summary::after { transform: rotate(45deg); }
.tt-entry .wp-block-details > :not(summary) { padding: 0 0 16px; color: #24414f; }
.tt-entry .wp-block-details ul { padding-left: 1.2em; margin: 8px 0; }
.tt-entry h2 + .wp-block-details { border-top: 1px solid var(--line); margin-top: .8em !important; }

/* Contact Form 7 */
.wpcf7 form { display: grid; gap: 14px; background: var(--sand); padding: 24px; border-radius: 22px; }
.wpcf7 form p { margin: 0; }
.wpcf7 label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; color: var(--ink); }
.wpcf7 input:not([type=submit]), .wpcf7 textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; min-height: 50px; padding: 10px 14px; font: 500 16px var(--body); background: #fff; box-shadow: none; }
.wpcf7 textarea { min-height: 120px; }
.wpcf7 input:focus, .wpcf7 textarea:focus { border-color: var(--lagoon); outline: none; }
.wpcf7 input[type=submit] { min-height: 52px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--coral); color: #fff; font: 700 16px var(--body); cursor: pointer; width: max-content; }
.wpcf7 .wpcf7-spinner { display: none; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
.contact-card { position: sticky; top: 24px; background: var(--ink); color: var(--on-dark); border-radius: 22px; padding: 26px; display: grid; gap: 20px; }
.contact-card .btn { width: 100%; }
.contact-card dl { margin: 0; display: grid; gap: 14px; }
.contact-card dt { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--on-dark-muted); }
.contact-card dd { margin: 2px 0 0; font-size: 17px; }
.contact-card a { color: #fff; }
.tt-map { margin-top: 28px !important; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } .contact-card { position: static; order: -1; } }

/* Reviews */
.rev-top { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: center; margin-bottom: 36px; }
.rev-score { background: var(--sand); border-radius: 22px; padding: 24px; display: grid; gap: 8px; justify-items: start; }
.rev-score b { font: 800 56px/1 var(--display); }
.rev-score span { color: var(--muted); }
.rev-wall { columns: 3 300px; column-gap: 18px; }
.rev-item { break-inside: avoid; margin: 0 0 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: grid; gap: 12px; }
.rev-item blockquote { margin: 0; font-size: 16px; line-height: 1.6; color: #24414f; }
.rev-item blockquote p { margin: 0; }
.rev-item figcaption { display: grid; font-size: 14px; color: var(--muted); }
.rev-item figcaption b { color: var(--ink); font-size: 15px; }
.rev-write { margin-top: 20px; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--foam); border-radius: 18px; padding: 18px 22px; }
.rev-write p { margin: 0; }
@media (max-width: 760px) { .rev-top { grid-template-columns: minmax(0, 1fr); } .tt-entry .wp-block-gallery, .tt-entry .wp-block-gallery.columns-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Excursions & Tours page */
.tt-archive { padding-block: 40px 90px; }
.tt-archive .chips { margin-bottom: 28px; }

/* Checkout without Flatsome: WooCommerce's own two-column layout */
.tt-shop-page .page-body { padding-top: 28px; }
body.woocommerce-checkout #main { background: var(--sand); }
body.woocommerce-checkout .tt-shop-page { background: transparent; }
body.woocommerce-checkout form.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 28px; align-items: start; }
body.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
body.woocommerce-checkout #customer_details { grid-column: 1; }
body.woocommerce-checkout #customer_details .col-1, body.woocommerce-checkout #customer_details .col-2 { width: 100%; float: none; }
body.woocommerce-checkout #order_review_heading { display: none; }
body.woocommerce-checkout #order_review { grid-column: 2; grid-row: 1 / span 2; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px; position: sticky; top: 20px; }
body.woocommerce-checkout #order_review::before { content: "Your booking"; display: block; font: 700 22px/1.2 var(--display); margin-bottom: 14px; }
body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info { background: none; border: 0; padding: 0; margin: 0 0 14px; font-size: 15px; color: var(--muted); }
body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info::before { display: none; }
body.woocommerce-checkout form.checkout_coupon { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; margin-bottom: 18px; }
body.woocommerce-checkout .form-row { padding: 0; margin: 0 0 16px; }
body.woocommerce-checkout .form-row-first, body.woocommerce-checkout .form-row-last { width: calc(50% - 8px); }
body.woocommerce-checkout .shop_table { width: 100%; border-collapse: collapse; border: 0; }
body.woocommerce-checkout .shop_table th, body.woocommerce-checkout .shop_table td { padding: 10px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
body.woocommerce-checkout .shop_table td:last-child, body.woocommerce-checkout .shop_table th:last-child { text-align: right; }
body.woocommerce-checkout .shop_table thead { display: none; }
body.woocommerce-checkout #payment ul.payment_methods li { list-style: none; }
body.woocommerce-checkout #payment .place-order { padding: 0; margin-top: 16px; }
body.woocommerce-checkout #place_order { border: 0; border-radius: 999px; background: var(--coral); color: #fff; font: 700 17px var(--body); cursor: pointer; }
@media (max-width: 960px) {
  body.woocommerce-checkout form.checkout { grid-template-columns: minmax(0, 1fr); }
  body.woocommerce-checkout #order_review { grid-column: 1; grid-row: auto; position: static; }
}
@media (max-width: 480px) { body.woocommerce-checkout .form-row-first, body.woocommerce-checkout .form-row-last { width: 100%; } }
.tt-video iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 16px; display: block; background: var(--ink); }
.credit { margin: 18px 0 0; text-align: center; font-size: 12.5px; }
.credit a { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; color: var(--on-dark-muted); text-decoration: none; }
.credit a:hover { color: #fff; }

/* ---------- Booking form: details step and summary ---------- */
body.tt .tt-book input[type=email], body.tt .tt-book input[type=tel] { width: 100%; height: 48px; margin: 0; border: 1.5px solid var(--line); border-radius: 12px; box-shadow: none; background: #fff; font: 500 16px var(--body); color: var(--ink); padding: 0 14px; }
body.tt .tt-book .tt-cc-shown { height: 48px; }
.tt-book .bk-step:nth-of-type(3) { display: grid; gap: 14px; }
.tt-book .fl > small, .tt-book .fl-help { font-size: 13.5px; color: var(--muted); margin-top: -2px; }
.tt-book .fl-help { margin-top: -8px; }
.tt-book .ages { font: 500 13px var(--body); color: var(--muted); margin-left: 4px; }
.tt-book [aria-invalid=true] { border-color: var(--coral) !important; }
.bk-terms { display: flex; gap: 12px; align-items: flex-start; margin: 0; font-size: 14.5px; line-height: 1.45; cursor: pointer; font-weight: 400; color: var(--ink); }
.bk-terms input { flex: none; width: 22px; height: 22px; margin: 1px 0 0 !important; accent-color: var(--ink); }
.bk-terms a { color: var(--lagoon-deep); }
.bk-terms:has([aria-invalid=true]) { color: var(--coral); }
.bk-sum-tour { margin: 0 0 6px; display: grid; gap: 2px; font-size: 15px; }
.bk-sum-tour b { font: 700 16px/1.3 var(--display); }
.bk-sum-tour span { color: var(--lagoon-deep); font-weight: 600; }
.bk-note svg { vertical-align: -2px; margin-right: 4px; }

/* ---------- Payment page ---------- */
body.woocommerce-order-pay #main { background: var(--sand); }
#order_review.tt-pay, body.woocommerce-order-pay form#order_review { max-width: 640px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px; }
body.woocommerce-order-pay .tt-checkout-head { max-width: 640px; margin: 0 auto 18px; }
body.woocommerce-order-pay .shop_table { width: 100%; border-collapse: collapse; font-size: 15px; }
body.woocommerce-order-pay .shop_table th, body.woocommerce-order-pay .shop_table td { padding: 10px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
body.woocommerce-order-pay .shop_table thead { display: none; }
body.woocommerce-order-pay .shop_table td:last-child, body.woocommerce-order-pay .shop_table tfoot td { text-align: right; }
body.woocommerce-order-pay .shop_table .product-quantity { display: none; }
body.woocommerce-order-pay .shop_table .wc-item-meta { list-style: none; padding: 0; margin: 6px 0 0; font-size: 14px; color: var(--muted); }
body.woocommerce-order-pay .shop_table .wc-item-meta p { display: inline; margin: 0; }
body.woocommerce-order-pay .shop_table tfoot tr:last-child td, body.woocommerce-order-pay .shop_table tfoot tr:last-child th { font: 800 22px var(--display); }
body.woocommerce-order-pay #payment { background: none; margin-top: 16px; }
body.woocommerce-order-pay #payment ul.payment_methods { padding: 0; border: 0; display: grid; gap: 8px; }
body.woocommerce-order-pay #payment ul.payment_methods li { border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; margin: 0; list-style: none; }
body.woocommerce-order-pay #payment ul.payment_methods li:has(input:checked) { border-color: var(--ink); }
body.woocommerce-order-pay #payment ul.payment_methods li label { font-weight: 700; font-size: 16px; }
body.woocommerce-order-pay #payment input[type=radio] { width: 22px; height: 22px; accent-color: var(--ink); vertical-align: middle; margin-right: 8px; }
body.woocommerce-order-pay #payment .payment_box { background: var(--foam); border-radius: 10px; font-size: 14px; margin: 10px 0 0; padding: 10px 12px; }
body.woocommerce-order-pay #place_order { width: 100%; min-height: 58px; border: 0; border-radius: 999px; background: var(--coral); color: #fff; font: 700 17px var(--body); cursor: pointer; }

/* Recent bookings notice, home page only */
.sp { position: fixed; z-index: 45; left: calc(16px + env(safe-area-inset-left, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); width: min(360px, calc(100vw - 112px)); background: #fff; color: var(--ink); border-radius: 16px; box-shadow: 0 18px 40px -14px rgba(10,36,51,.45), 0 0 0 1px rgba(10,36,51,.06); opacity: 0; transform: translateY(14px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.sp.on { opacity: 1; transform: none; }
.sp-in { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px 34px 14px 14px; }
.sp-ic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #e3f4ee; color: #0a7a52; }
.sp p { margin: 0; font-size: 14px; line-height: 1.4; }
.sp p a { color: var(--ink); font-weight: 600; }
.sp q { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 2px; color: #3c5562; }
.sp small { display: block; margin-top: 3px; font-size: 12.5px; color: #5b707b; }
.sp-stars { color: var(--sun); display: inline-flex; gap: 1px; vertical-align: -1px; margin-left: 4px; }
.sp-x { position: absolute; top: 4px; right: 4px; width: 32px; height: 32px; border: 0; background: none; border-radius: 50%; font-size: 20px; line-height: 1; color: #5b707b; cursor: pointer; }
.sp-x:hover { background: #f1f4f5; }
@media (prefers-reduced-motion: reduce) { .sp { transition: opacity .2s; transform: none; } }

/* Booking in two steps: date and guests, then details */
.bk-prog { list-style: none; margin: 0 0 4px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; counter-reset: bk; }
.bk-prog li { counter-increment: bk; display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); line-height: 1.2; }
.bk-prog li::before { content: ""; height: 4px; border-radius: 4px; background: var(--line); }
.bk-prog li[aria-current="step"] { color: var(--ink); }
.bk-prog li[aria-current="step"]::before, .bk-prog li.done::before { background: var(--lagoon-deep); }
.tt-book:not(.stepped) .bk-prog, .tt-book:not(.stepped) .bk-next, .tt-book:not(.stepped) .bk-next-note, .tt-book:not(.stepped) .bk-mini { display: none; }
.tt-book.stepped .bk-panel:not(.on) { display: none; }
.bk-panel { display: grid; gap: 18px; }
.bk-panel legend:focus { outline: none; }
.bk-mini { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; background: var(--sand); border-radius: 14px; padding: 12px 16px; font-weight: 700; }
.bk-mini small { display: block; font-size: 13px; font-weight: 500; color: var(--muted); }
.bk-mini b { font: 800 26px/1 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
body.tt .bk-next { width: 100%; min-height: 58px; font-size: 17px; }
.bk-back { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; width: 100%; text-align: left; background: var(--foam); border: 0; border-radius: 14px; padding: 10px 14px; cursor: pointer; font: inherit; color: var(--ink); }
.bk-back[hidden] { display: none; }
.bk-back-l { grid-column: 1; font-size: 13px; color: var(--muted); font-weight: 600; }
.bk-back-v { grid-column: 1; font-weight: 700; }
.bk-back-c { grid-column: 2; grid-row: 1 / span 2; font-weight: 700; font-size: 14px; color: var(--lagoon-deep); text-decoration: underline; text-underline-offset: 3px; }
.bk-back:hover .bk-back-c { color: var(--ink); }
/* Field labels in sentence case, easier to read than small capitals */
.tt-book .fl > span { font-size: 14.5px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ink); }
/* Small labels in sentence case instead of spaced capitals */
.step .k { font-size: 14px; letter-spacing: 0; text-transform: none; }
.f-field label { font-size: 13.5px; letter-spacing: 0; text-transform: none; }
.contact-card dt { font-size: 14px; letter-spacing: 0; text-transform: none; }
body.woocommerce-checkout .form-row label { letter-spacing: 0; text-transform: none; font-size: 14.5px; }
