/* Booking flow pages: book, booking status, checkout, manage booking, my bookings, review. */

.gt-book__title { font-family: var(--gt-font-display, Georgia, serif); font-weight: 600; font-size: clamp(1.9rem, 3vw, 2.6rem); color: var(--gt-navy-900, #0B1F3A); margin: .5rem 0 1.5rem; }

/* Progress steps */
.gt-steps { list-style: none; display: flex; gap: .5rem; padding: 0; margin: 1rem 0 .5rem; flex-wrap: wrap; counter-reset: none; }
.gt-steps li { display: flex; align-items: center; gap: .5rem; font-size: .875rem; color: var(--gt-muted, #5E6778); padding-right: 1.25rem; position: relative; }
.gt-steps li:not(:last-child)::after { content: ''; position: absolute; right: .25rem; top: 50%; width: .5rem; height: 1px; background: var(--gt-stone, #E7E1D6); }
.gt-steps span { width: 1.75rem; height: 1.75rem; border-radius: 50%; display: inline-grid; place-items: center; font-weight: 700; font-size: .8rem; border: 1.5px solid var(--gt-stone, #E7E1D6); background: #fff; }
.gt-steps .is-done span { background: var(--gt-navy-900, #0B1F3A); border-color: var(--gt-navy-900, #0B1F3A); color: #fff; }
.gt-steps .is-active { color: var(--gt-navy-900, #0B1F3A); font-weight: 600; }
.gt-steps .is-active span { background: var(--gt-gold-500, #C5A253); border-color: var(--gt-gold-500, #C5A253); color: var(--gt-navy-900, #0B1F3A); }

/* Cards */
.gt-book-card { background: #fff; border: 1px solid var(--gt-stone, #E7E1D6); border-radius: var(--gt-radius-lg, 12px); padding: clamp(1.25rem, 2.5vw, 2rem); margin-bottom: 1.5rem; box-shadow: var(--gt-shadow-sm, 0 1px 2px rgba(11, 31, 58, .04)); }
.gt-book-card--highlight { border-color: var(--gt-gold-300, #E3CD93); background: linear-gradient(180deg, var(--gt-gold-100, #F6EEDB) 0%, #fff 60%); }
.gt-book-card--center { max-width: 560px; margin-inline: auto; }
.gt-book-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1rem; }
.gt-book-card h2 { font-family: var(--gt-font-display, Georgia, serif); font-weight: 600; color: var(--gt-navy-900, #0B1F3A); }

.gt-book-service { display: flex; gap: 1rem; align-items: center; padding: .75rem; background: var(--gt-ivory, #FBF8F2); border-radius: var(--gt-radius, 6px); }
.gt-book-service__img { width: 120px; height: 90px; object-fit: cover; border-radius: var(--gt-radius, 6px); flex: none; }
.gt-book-service__cat { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gt-gold-700, #7D6220); font-weight: 600; }
.gt-book-service__title { font-family: var(--gt-font-display, Georgia, serif); font-size: 1.25rem; font-weight: 600; color: var(--gt-navy-900, #0B1F3A); line-height: 1.25; }
.gt-book-service__meta { display: flex; flex-wrap: wrap; gap: .25rem 1rem; font-size: .85rem; color: var(--gt-muted, #5E6778); margin-top: .25rem; }

/* Guests */
.gt-guest-list { border: 1px solid var(--gt-stone, #E7E1D6); border-radius: var(--gt-radius, 6px); container: gt-qty-list / inline-size; } /* narrow-card rule: below */
.gt-guest-list.is-invalid { border-color: var(--bs-form-invalid-border-color, #B4443A); }
.gt-guest-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .75rem 1rem; }
.gt-guest-row + .gt-guest-row { border-top: 1px solid var(--gt-stone, #E7E1D6); }
.gt-guest-row__label { font-weight: 600; color: var(--gt-ink, #1D2433); }
.gt-guest-row__desc { font-size: .8rem; color: var(--gt-muted, #5E6778); }
.gt-guest-row__price { font-size: .85rem; color: var(--gt-gold-700, #7D6220); font-weight: 600; }
/* Narrow cards: every stepper goes under its label, so the rows of one card never mix the two
   layouts (main.css: the stepper otherwise drops only where label and stepper cannot share a line).
   The /book and transfer cards are 222-293px wide on 320-375px phones, too narrow for some label in
   every locale, and 307px or wider from 390px phones up, which keep label and stepper on one line. */
@container gt-qty-list (max-width: 18.5rem) {
  .gt-guest-row > :first-child { flex-basis: 100%; }
}

/* Vertical padding only: Bootstrap's .form-check padding-left keeps the checkbox inside the card,
   in line with the other checkboxes. */
.gt-extra { padding-top: .5rem; padding-bottom: .5rem; }
.gt-extra__price { color: var(--gt-gold-700, #7D6220); font-weight: 600; font-size: .9rem; margin-left: .25rem; }

/* Summary */
.gt-summary { background: #fff; border: 1px solid var(--gt-stone, #E7E1D6); border-radius: var(--gt-radius-lg, 12px); padding: 1.5rem; box-shadow: var(--gt-shadow-md, 0 12px 32px -12px rgba(11, 31, 58, .18)); }
@media (min-width: 992px) { .page-book .gt-summary { position: sticky; top: calc(var(--gt-header-h, 84px) + 1rem); } }
.gt-summary h2 { font-family: var(--gt-font-display, Georgia, serif); font-weight: 600; color: var(--gt-navy-900, #0B1F3A); }
.gt-summary__workflow { background: var(--gt-ivory, #FBF8F2); border-radius: var(--gt-radius, 6px); padding: .75rem 1rem; margin-bottom: 1rem; }
.gt-summary__badge { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--gt-navy-900, #0B1F3A); background: var(--gt-gold-300, #E3CD93); border-radius: 999px; padding: .2rem .65rem; margin-bottom: .35rem; }
.gt-summary__lines { min-height: 1.5rem; transition: opacity .2s; }
.is-pricing .gt-summary__lines, .is-pricing [data-price-total] { opacity: .45; }
.gt-summary__lines .table { --bs-table-bg: transparent; font-size: .9rem; }
.gt-summary__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: .75rem; margin-top: .5rem; border-top: 2px solid var(--gt-gold-500, #C5A253); }
.gt-summary__total strong { font-family: var(--gt-font-display, Georgia, serif); font-size: 1.75rem; color: var(--gt-navy-900, #0B1F3A); }
.gt-summary__next { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--gt-stone, #E7E1D6); }
.gt-summary__next ol { padding-left: 1.1rem; color: var(--gt-muted, #5E6778); }
.gt-summary__next li + li { margin-top: .35rem; }
.gt-summary__help { display: inline-flex; gap: .4rem; align-items: center; margin-top: 1rem; font-size: .9rem; color: #1E7B4E; text-decoration: none; font-weight: 600; }
.btn.is-loading { position: relative; color: transparent !important; }
.btn.is-loading::after { content: ''; position: absolute; inset: 0; margin: auto; width: 1.2rem; height: 1.2rem; border: 2px solid var(--gt-navy-900, #0B1F3A); border-right-color: transparent; border-radius: 50%; animation: gt-spin .7s linear infinite; }
/* The rule above comes after main.css: dark buttons keep main.css's white spinner. */
.btn-navy.is-loading::after, .btn-primary.is-loading::after, .btn-whatsapp.is-loading::after { border-color: #fff; border-right-color: transparent; }
@keyframes gt-spin { to { transform: rotate(360deg); } }

/* Checkout pay buttons (pages/checkout.php): one form per payment method. With two methods the page is
   one column, so the buttons sit side by side wherever two columns of 15rem fit (tablets and desktops)
   and stack on phones; side by side, both take the height of the taller one. */
.gt-summary .gt-pay-choice__title { font-family: var(--gt-font-sans, system-ui, sans-serif); font-weight: 700; } /* a label like "Other ways to pay" below */
.gt-pay-choice__title .bi { color: var(--gt-gold-600, #9A7A2E); }
.gt-pay-choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: .75rem; }
.gt-pay-choice > form { display: flex; min-width: 0; margin: 0; }
.gt-pay-btn { --bs-btn-padding-x: 1.25rem; flex: 1 1 auto; flex-direction: column; gap: .2rem; text-align: center; }
.gt-pay-btn__label { display: block; } /* the icon flows with the text, also when a long label wraps */
.gt-pay-btn__label > .bi { font-size: 1.1em; line-height: 1; margin-right: .15rem; }
.gt-pay-btn__hint { font-size: .8125rem; font-weight: 500; letter-spacing: 0; line-height: 1.3; opacity: .85; }

/* Status hero */
.gt-status-hero { display: grid; grid-template-columns: auto 1fr auto; gap: 1.25rem; align-items: center; padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--gt-radius-xl, 20px); color: #fff; background: var(--gt-navy-900, #0B1F3A); position: relative; overflow: hidden; }
.gt-status-hero::after { content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 1px solid rgba(197, 162, 83, .35); }
.gt-status-hero__icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 1.9rem; background: rgba(255, 255, 255, .08); color: var(--gt-gold-300, #E3CD93); }
.gt-status-hero--success .gt-status-hero__icon { color: #7FD3A6; }
.gt-status-hero--warning .gt-status-hero__icon { color: #F1C26B; }
.gt-status-hero--danger .gt-status-hero__icon { color: #F19A90; }
.gt-status-hero__group { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 700; color: var(--gt-gold-300, #E3CD93); margin: 0 0 .35rem; }
.gt-status-hero__title { font-family: var(--gt-font-display, Georgia, serif); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 600; margin: 0 0 .5rem; color: #fff; }
.gt-status-hero__text { margin: 0; color: rgba(255, 255, 255, .82); max-width: 46ch; }
.gt-status-hero__ref { text-align: right; position: relative; z-index: 1; }
/* The visible label only: uppercase must not reach the copy button's name or the "copied" live region. */
.gt-status-hero__ref > span:not(.visually-hidden) { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255, 255, 255, .65); }
.gt-status-hero__ref strong { display: block; font-size: 1.5rem; letter-spacing: .06em; color: #fff; margin: .15rem 0 .5rem; }
@media (max-width: 767.98px) {
  .gt-status-hero { grid-template-columns: auto 1fr; }
  .gt-status-hero__ref { grid-column: 1 / -1; text-align: left; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
  /* Label on its own row, then the reference (never broken at its hyphen) and the copy button. */
  .gt-status-hero__ref > span:not(.visually-hidden) { flex: 0 0 100%; }
  .gt-status-hero__ref strong { margin: 0; white-space: nowrap; }
}
.page-checkout .gt-status-hero__group { color: var(--gt-gold-700, #7D6220); }

.gt-quote-message { background: #fff; border-left: 3px solid var(--gt-gold-500, #C5A253); padding: .75rem 1rem; border-radius: 0 var(--gt-radius, 6px) var(--gt-radius, 6px) 0; }

.gt-dl { display: grid; grid-template-columns: minmax(8rem, 38%) minmax(0, 1fr); gap: .55rem 1rem; margin: 0; }
.gt-dl dt { font-weight: 500; color: var(--gt-muted, #5E6778); font-size: .9rem; white-space: normal; overflow-wrap: anywhere; min-width: 0; }
.gt-dl dd { margin: 0; color: var(--gt-ink, #1D2433); min-width: 0; overflow-wrap: anywhere; }
.gt-booking-status-page { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
@media (max-width: 575.98px) { .gt-dl { grid-template-columns: 1fr; } .gt-dl dd { margin-bottom: .5rem; } }

.gt-history { list-style: none; padding: 0; margin: 0; font-size: .9rem; }
.gt-history li { display: flex; gap: .6rem; align-items: center; padding: .3rem 0; }
.gt-history__dot { width: .6rem; height: .6rem; border-radius: 50%; background: var(--gt-muted, #5E6778); flex: none; }
.gt-history__dot--success { background: var(--gt-success, #2E7D5B); }
.gt-history__dot--warning { background: var(--gt-warning, #B7791F); }
.gt-history__dot--info { background: var(--gt-sea, #1E8C93); }
.gt-history__dot--danger { background: var(--gt-danger, #B4443A); }

/* Manage / my bookings */
.gt-required-note { margin: 1rem 0 0; font-size: .8125rem; color: var(--gt-muted, #5E6778); }
.gt-required-note span { color: var(--gt-danger, #B4443A); }
.gt-manage__icon { width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; font-size: 1.75rem; color: var(--gt-gold-700, #7D6220); background: var(--gt-gold-100, #F6EEDB); }
.gt-booking-list { display: grid; gap: .75rem; }
.gt-booking-row { display: grid; grid-template-columns: 1fr auto auto auto; gap: 1rem; align-items: center; padding: 1rem 1.25rem; background: #fff; border: 1px solid var(--gt-stone, #E7E1D6); border-radius: var(--gt-radius-lg, 12px); color: inherit; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.gt-booking-row:hover { border-color: var(--gt-gold-300, #E3CD93); box-shadow: var(--gt-shadow-sm, 0 2px 8px rgba(11, 31, 58, .08)); }
.gt-booking-row__main { display: flex; flex-direction: column; }
.gt-booking-row__price { font-weight: 600; white-space: nowrap; }
@media (max-width: 575.98px) { .gt-booking-row { grid-template-columns: 1fr auto; } .gt-booking-row__price { display: none; } }
.gt-status-chip { display: inline-flex; gap: .35rem; align-items: center; font-size: .78rem; font-weight: 600; padding: .25rem .65rem; border-radius: 999px; background: #EEF0F4; color: #3A4253; white-space: nowrap; }
.gt-status-chip--success { background: #E4F3EB; color: #1F5E43; }
.gt-status-chip--warning { background: #FBF0DC; color: #7A5212; }
.gt-status-chip--info { background: #E3F2F3; color: #155E63; }
.gt-status-chip--danger { background: #F8E5E3; color: #8A2F27; }

/* Review stars (right-to-left radio trick) */
.gt-rating-input { display: inline-flex; flex-direction: row-reverse; gap: .25rem; }
.gt-rating-input input { position: absolute; opacity: 0; pointer-events: none; }
.gt-rating-input label { font-size: 2rem; color: var(--gt-stone, #E7E1D6); cursor: pointer; transition: color .15s; }
.gt-rating-input input:checked ~ label, .gt-rating-input label:hover, .gt-rating-input label:hover ~ label { color: var(--gt-gold-500, #C5A253); }
.gt-rating-input input:focus-visible + label { outline: 2px solid var(--gt-gold-500, #C5A253); outline-offset: 2px; border-radius: 4px; }

/* Bank transfer / payment link box (partials/payment-options.php) */
.gt-pay-options { margin-top: 1.25rem; padding-top: 1.1rem; border-top: 1px solid var(--gt-line, #E6E0D4); }
.gt-pay-options h3 .bi { color: var(--gt-gold-600, #A9873B); }
.gt-dl--compact { gap: .35rem 1rem; font-size: .92rem; }
.gt-dl--compact dd.font-monospace { letter-spacing: .02em; }
/* Driver & vehicle card on the booking page */
.gt-driver-card .bi { color: var(--gt-gold-600, #A9873B); }
