/**
 * Booking Form Styles — Tower House theme
 *
 * Every colour, font and corner radius below reads from the variables in
 * this first block. To restyle for another venue, change these values (or
 * set them on Bookings → Settings → Appearance) — no other edits needed.
 */
.ghl-booking-container,
.ghl-modal,
.ghl-alert-modal {
    --thb-bg: #FBF5EE;              /* page cream */
    --thb-ink: #000000;             /* text, lines, primary buttons */
    --thb-muted: rgba(0, 0, 0, 0.6);
    --thb-border: #000000;          /* field outlines */
    --thb-line: rgba(0, 0, 0, 0.15);/* hairlines */
    --thb-soft: rgba(0, 0, 0, 0.04);/* hover tint */
    --thb-field: #FFFDF9;           /* input / popup surface */
    --thb-accent: #000000;          /* primary button + time slots */
    --thb-accent-hover: #2b2b2b;
    --thb-accent-ink: #FBF5EE;      /* text on primary */
    --thb-highlight: #F3D5B9;       /* peach: selected slot, active states */
    --thb-error: #B3261E;
    --thb-ok: #2E6B3A;
    --thb-radius: 0;
    --thb-font-display: "SuisseWorks-Regular-WebS", "Suisse Works", Georgia, "Times New Roman", serif;
    --thb-font-body: "SuisseIntl-Regular", "Suisse Intl", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Main Container */
.ghl-booking-container {
    max-width: 1400px;
    margin: 0 auto;
    font-family: var(--thb-font-body);
    color: var(--thb-ink);
    padding: 20px;
    position: relative;
}

.ghl-booking-container p,
.ghl-booking-container a,
.ghl-booking-container button,
.ghl-booking-container input,
.ghl-booking-container select,
.ghl-booking-container textarea {
    font-family: var(--thb-font-body);
    outline: none;
}

.ghl-booking-container h1,
.ghl-booking-container h2,
.ghl-booking-container h3,
.ghl-booking-container h4,
.ghl-booking-container h5,
.ghl-booking-container h6
{
    font-family: var(--thb-font-display);
}

.ghl-back-link {
    position: absolute;
    left: 0;
}

.ghl-booking-form {
    max-width: 800px;
    margin: auto;
    position: relative;
    z-index: 1;
}

/* Progress Bar */
.ghl-booking-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.ghl-progress-step {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: relative;
    z-index: 1;
    gap: 5px;
}

.ghl-step-number {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: transparent;
    color: var(--thb-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    border: 1px solid var(--thb-accent);
}

.ghl-progress-step.active .ghl-step-number {
    background-color: var(--thb-accent);
    color: white;
}

.ghl-step-text {
    font-size: 14px;
    color: var(--thb-muted);
}

.ghl-progress-step.active .ghl-step-text {
    color: var(--thb-accent);
}

.ghl-progress-line {
    flex-grow: 1;
    height: 2px;
    background-color: var(--thb-line);
    margin: 0 10px;
    position: relative;
}

/* Back Link */
.ghl-back-link {
    margin-bottom: 20px;
}

.ghl-back-link a {
    color: var(--thb-muted);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    font-weight: 600;
}

.ghl-back-link a:hover {
    text-decoration: underline;
}

.ghl-confirmation-message p {
    color: var(--thb-ink);
    font-weight: 500;
    font-size: 1rem;
}

/* Booking Title */
.ghl-booking-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.3rem;
}

/* Form Fields */
.ghl-booking-fields {
    max-width: 450px;
    margin: auto;
}

select#ghl-booking-day {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: 0;
    max-width: 130px;
    text-align: center;
    padding-right: 5px;
    font-size: 14px;
    color: var(--thb-ink);
}

select#ghl-booking-month {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: 1px solid var(--thb-border);
    border-right: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    text-align: left;
    padding-right: 5px;
    font-size: 14px;
}

.ghl-field-group {
    margin-bottom: 20px;
}

/* Ensure postal code field is always visible - Force visibility */
#ghl-postal-code,
#ghl-postal-code:focus,
#ghl-postal-code:hover,
#ghl-postal-code:active,
label[for="ghl-postal-code"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Ensure postal code field group container is always visible */
/* Use class selector for better browser compatibility */
.ghl-field-group:has(#ghl-postal-code) {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.ghl-field-group:has(#ghl-postal-code) * {
    visibility: visible !important;
}

/* Specific override for any hidden postal code field */
#ghl-postal-code[hidden],
#ghl-postal-code[style*="display: none"],
#ghl-postal-code[style*="display:none"],
.ghl-field-group[hidden]:has(#ghl-postal-code),
.ghl-field-group[style*="display: none"]:has(#ghl-postal-code) {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.ghl-field-row {
    display: flex;
    gap: 20px;
}

.ghl-field-row .ghl-field-group {
    flex: 1;
}

label {
    display: block;
    font-size: 14px;
    margin-bottom: 2px;
    text-transform: capitalize;
    color: var(--thb-ink);
}

.ghl-input,
.ghl-select,
.ghl-textarea,
#ghl-card-element {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--thb-border);
    border-radius: var(--thb-radius);
    font-size: 14px;
    background-color: transparent;
}

/* Custom Select Styling */
.ghl-select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--thb-border);
    border-radius: var(--thb-radius);
    font-size: 14px;
    background-color: transparent;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23333' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
    cursor: pointer;
    color: var(--thb-ink);
}

/* Dropdown styling */
select.ghl-select option {
    background-color: var(--thb-ink);
    color: white;
    padding: 12px 15px;
    font-size: 16px;
    border-bottom: 1px solid var(--thb-ink);
    line-height: 1.5;
    font-weight: 400;
}

/* First and last options for better rounding */
select.ghl-select option:first-child {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

select.ghl-select option:last-child {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    border-bottom: none;
}

/* Styling for the dropdown when open */
select.ghl-select:focus {
    outline: none;
    border-color: var(--thb-ink);
}

.ghl-textarea {
    min-height: 100px;
    resize: vertical;
}

/* Date Picker */
.ghl-date-picker-container {
    display: flex;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border-radius: var(--thb-radius);
    overflow: visible;
    position: relative;
}

/* Time Picker */
.ghl-time-picker-container {
    display: flex;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: var(--thb-radius);
    overflow: visible;
    position: relative;
    border: 1px solid var(--thb-border);
    align-items: center;
}

.ghl-time-display {
    flex: 1;
    padding: 8px 15px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    text-align: left;
}

/* Calendar Popup */
.ghl-calendar-popup {
    display: none;
    position: absolute;
    top: 75px; /* Fixed position from top */
    right: 0;
    width: 300px;
    background-color: var(--thb-field);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: var(--thb-radius);
    z-index: 9999;
    margin-top: 5px;
}

.ghl-calendar-popup.active {
    display: block;
}

/* Time Popup */
.ghl-time-popup {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 320px;
    background: var(--thb-field);
    border-radius: var(--thb-radius);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 100;
    margin-top: 5px;
}

.ghl-time-popup.active {
    display: block;
}

.ghl-time-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid var(--thb-line);
}

.ghl-time-header span {
    font-weight: 600;
}

.ghl-time-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--thb-muted);
}

.ghl-time-list {
    max-height: 300px;
    overflow-y: auto;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid var(--thb-line);
}

.ghl-time-item {
    padding: 12px 15px;
    cursor: pointer;
    transition: background-color 0.2s;
    text-align: center;
}

.ghl-time-item:hover {
    background-color: var(--thb-soft);
}

.ghl-time-item.selected {
    background-color: var(--thb-soft);
    font-weight: 600;
}

.ghl-time-item.unavailable {
    color: var(--thb-line);
    cursor: not-allowed;
}

.ghl-time-footer {
    padding: 15px;
}

.ghl-time-range-buttons {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.ghl-time-range {
    flex: 1;
    margin: 0 5px;
    padding: 8px 0;
    background: var(--thb-soft);
    border: 1px solid var(--thb-line);
    border-radius: var(--thb-radius);
    cursor: pointer;
    text-align: center;
    font-weight: 500;
    transition: all 0.2s;
}

.ghl-time-range:first-child {
    margin-left: 0;
}

.ghl-time-range:last-child {
    margin-right: 0;
}

.ghl-time-range.active {
    background: var(--thb-field);
    border-color: var(--thb-accent);
    color: var(--thb-accent);
}

.ghl-time-search-btn {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--thb-accent);
    color: white;
    border: none;
    border-radius: var(--thb-radius);
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s;
}

.ghl-time-search-btn:hover {
    background-color: var(--thb-accent-hover);
}

.ghl-time-button {
    background: none;
    border: none;
    padding: 0 10px;
    cursor: pointer;
    height: 100%;
    display: flex;
    align-items: center;
    color: var(--thb-muted);
}

.ghl-calendar-header {
    background-color: var(--thb-accent);
    color: white;
    padding: 10px 15px;
    text-align: center;
    font-weight: 600;
    position: sticky;
    top: 0;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.ghl-calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ghl-calendar-month-year {
    font-size: 16px;
    text-transform: uppercase;
}

.ghl-calendar-prev,
.ghl-calendar-next {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 18px;
    padding: 0 5px;
}

.ghl-calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    padding: 10px 0;
    font-size: 12px;
    font-weight: 600;
    background-color: var(--thb-soft);
}

.ghl-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    padding: 5px;
    background-color: var(--thb-field);
    min-height: 240px; /* Ensure consistent height */
}

.ghl-calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    border: none;
    background: none;
    border-radius: var(--thb-radius);
    color: var(--thb-ink);
}

.ghl-calendar-day:hover:not(.disabled):not(.selected) {
    background-color: var(--thb-soft);
}

.ghl-calendar-day.selected {
    background-color: var(--thb-accent);
    color: white;
    font-weight: 600;
}

.ghl-calendar-day.disabled {
    color: var(--thb-line);
    cursor: not-allowed;
}

.ghl-calendar-day.other-month {
    color: var(--thb-muted);
}

.ghl-calendar-footer {
    padding: 6px 5px;
    text-align: center;
    border-top: 1px solid var(--thb-line);
}

.ghl-quick-dates {
    display: flex;
    justify-content: space-between;
    gap: 5px;
}

.ghl-quick-date {
    background: none;
    border: 1px solid var(--thb-accent);
    border-radius: var(--thb-radius);
    color: var(--thb-accent);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 8px;
    flex: 1;
    transition: all 0.2s ease;
}

.ghl-quick-date:hover {
    background-color: var(--thb-accent);
    color: white;
}

.ghl-calendar-today {
    background: none;
    border: none;
    color: var(--thb-accent);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    padding: 5px 10px;
}

/* Custom dropdown styling for webkit browsers */
select.ghl-select::-webkit-scrollbar {
    width: 6px;
}

select.ghl-select::-webkit-scrollbar-track {
    background: var(--thb-ink);
}

select.ghl-select::-webkit-scrollbar-thumb {
    background-color: var(--thb-ink);
    border-radius: var(--thb-radius);
}

/* Firefox scrollbar styling */
select.ghl-select {
    scrollbar-width: thin;
    scrollbar-color: var(--thb-ink) var(--thb-ink);
}

/* Selected option styling */
select.ghl-select option:checked,
select.ghl-select option:hover,
select.ghl-select option:focus {
    background: linear-gradient(0deg, var(--thb-ink) 0%, var(--thb-ink) 100%);
    background-color: var(--thb-ink) !important;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

/* Styling for the checkmark on selected option */
select.ghl-select option:checked::before {
    content: '✓';
    display: inline-block;
    margin-right: 5px;
    color: white;
}

.ghl-date-picker-container .ghl-select {
    flex: 1;
}

.ghl-calendar-button {
    background-color: var(--thb-ink);
    border: 0px solid var(--thb-line);
    border-radius: var(--thb-radius);
    width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    color: var(--thb-accent-ink);
}

/* Time Slots */
.ghl-time-slots {
    margin-top: 30px;
}

.ghl-time-slots h3 {
    text-align: center;
    font-size: 14px;
    margin-bottom: 15px;
    text-transform: capitalize;
    letter-spacing: normal;
	font-family: var(--thb-font-body);
}

.ghl-time-slots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.ghl-time-slot {
    padding: 12px;
    background-color: var(--thb-accent);
    color: white;
    border: none;
    border-radius: var(--thb-radius);
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.ghl-time-slot:hover {
    background-color: var(--thb-accent);
}

.ghl-time-slot.unavailable {
    background-color: var(--thb-line);
    cursor: not-allowed;
}

.ghl-time-slot.selected {
    background-color: var(--thb-ink);
}

.ghl-load-more {
    text-align: center;
    margin-bottom: 20px;
}

.ghl-load-more button {
    background: none;
    border: none;
    color: var(--thb-muted);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: end;
    margin: 0 auto;
    width: 100%;
    text-align: right;
}

.ghl-load-more button:hover {
    text-decoration: underline;
}

/* No Times Message */
.ghl-no-times-message {
    text-align: center;
    margin-bottom: 20px;
    margin-top: 20px;
}

.ghl-no-times-message p {
    margin: 1px 0;
    font-size: 14px;
    color: var(--thb-ink);
}

#ghl-alert-me {
    background-color: transparent;
    border: 1.5px solid var(--thb-ink);
    border-radius: var(--thb-radius);
    padding: 8px 20px;
    font-size: 16px;
    margin-top: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px auto;
    width: 100%;
    gap: 10px;
    font-weight: 500;
    color: var(--thb-ink);
}

.ghl-booking-note p{
    text-align: left;
    font-size: 14px;
    color: var(--thb-ink);
}

div#ghl-step-details .ghl-booking-note p{
    text-align: center;
}

/* Terms Agreement */
.ghl-terms-agreement {
    margin: 10px 0;
    text-align: left;
    font-size: 14px;
    color: var(--thb-muted);
}

.ghl-terms-agreement a {
    color: var(--thb-accent);
    text-decoration: underline;
}

.ghl-terms-agreement a:hover {
    color: var(--thb-accent-hover);
}

/* Share Booking */
.ghl-share-booking {
    margin: 30px 0;
    text-align: center;
}

.ghl-share-booking h3 {
    margin-bottom: 12px;
    font-size: 14px;
    text-transform: capitalize;
    font-family: var(--thb-font-body);
    letter-spacing: 0;
}

.ghl-share-buttons {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.ghl-share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    border-radius: var(--thb-radius);
    color: white;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s;
    font-size: 12px;
}

.ghl-share-button svg {
    margin-right: 10px;
}

.ghl-whatsapp-button {
    background-color: #25D366;
}

.ghl-whatsapp-button:hover {
    background-color: #128C7E;
	text-decoration
}

/* Booking Actions */
.ghl-booking-actions {
    margin-top: 15px;
    text-align: center;
}

.ghl-button {
    padding: 8px 20px;
    font-size: 12px;
    border: none;
    border-radius: var(--thb-radius);
    cursor: pointer;
    text-transform: capitalize;
    letter-spacing: 0;
    transition: background-color 0.3s;
}

.ghl-primary-button {
    background-color: var(--thb-accent);
    color: white;
    width: 100%;
    border: 1.5px solid var(--thb-accent);
}

.ghl-primary-button:hover {
    background-color: var(--thb-accent-hover);
}

.ghl-secondary-button {
    background-color: white;
    color: var(--thb-ink);
    border: 1px solid var(--thb-line);
}

.ghl-secondary-button:hover {
    background-color: var(--thb-soft);
}

/* Booking Summary */
.ghl-booking-summary {
    display: flex ;
    flex-direction: row;
    align-items: center;
    border-radius: var(--thb-radius);
    margin-bottom: 30px !important;
    margin: 0;
    gap: 50px;
    justify-content: center;
}

.ghl-booking-summary h3 {
    font-family: var(--thb-font-body);
    font-size: 14px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: underline;
}

.ghl-booking-time {
    font-size: 14px;
    font-weight: 500;
    text-decoration: underline;
}

.ghl-booking-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
}

.ghl-timer-icon {
    color: var(--thb-ink);
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='16' height='16'%3E%3Cpath fill='%23666' d='M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm0 18c-4.4 0-8-3.6-8-8s3.6-8 8-8 8 3.6 8 8-3.6 8-8 8zm.5-13H11v6l5.2 3.2.8-1.3-4.5-2.7V7z'/%3E%3C/svg%3E");
    margin-right: 5px;
}

/* Form Columns Layout */
.ghl-form-columns {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}

.ghl-form-left-column,
.ghl-form-right-column {
    flex: 1;
}

/* Express Checkout Section */
.ghl-express-checkout {
    margin-bottom: 20px;
}

.ghl-checkout-heading {
    font-size: 14px;
    margin-bottom: 10px;
    text-transform: capitalize;
    font-weight: 300;
    text-align: center;
    letter-spacing: normal;
}

.ghl-payment-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

/* Stripe Payment Request Button */
#ghl-payment-request-button {
    width: 100%;
    margin-bottom: 20px;
}

#ghl-payment-request-button .StripeElement {
    width: 100%;
    height: 48px;
    border-radius: var(--thb-radius);
}

.ghl-payment-buttons-separator {
    text-align: center;
    margin: 5x 0;
    position: relative;
}

.ghl-payment-buttons-separator::before {
	display:none;
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--thb-line);
    z-index: 1;
}

.ghl-payment-buttons-separator span {
    background-color: transparent;
    padding: 0 15px;
    color: var(--thb-muted);
    font-size: 14px;
    position: relative;
    z-index: 2;
}

.ghl-express-checkout {
    margin-bottom: 30px;
}

.ghl-express-checkout .ghl-checkout-heading {
    margin-bottom: 15px;
    font-size: 14px;
	font-family: var(--thb-font-body);
    color: var(--thb-ink);
}

/* Button highlight animation for Apple Pay/Google Pay flow */
.ghl-button-highlight {
    animation: ghl-pulse 2s infinite;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.245);
}

@keyframes ghl-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.245);
    }
    70% {
        transform: scale(1.02);
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0.0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.0);
    }
}

/* Payment secured indicator */
.ghl-payment-secured {
    padding: 15px;
    margin-bottom: 20px;
}

.ghl-payment-secured-content {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--thb-ink);
    font-weight: 500;
}

.ghl-check-icon {
    font-size: 18px;
}

/* Stripe 3D Secure Authentication Modal and Popup Z-index Fixes */
/* Ensure Stripe's 3D Secure authentication popups appear above everything */
.StripeElement iframe[name^="__privateStripeFrame"],
.StripeElement iframe[title="Secure payment input frame"],
.__PrivateStripeElement iframe,
#card-auth-iframe-3ds,
#stripe-auth-iframe,
iframe[name^="stripe_checkout_app"],
iframe[name^="__privateStripeFrame"]{
    z-index: 2147483647 !important;
}

/* Stripe 3D Secure challenge popup containers */
div[data-testid="threeds-challenge-frame"],
div[id*="stripe"],
div[class*="stripe"],
.stripe-3ds-challenge-container,
.stripe-modal-overlay,
.stripe-challenge-iframe-container {
    z-index: 2147483647 !important;
    position: fixed !important;
}




/* Ensure our modals don't interfere with Stripe authentication */
.ghl-modal {
    z-index: 10000;
}

/* But let Stripe authentication go above our modals */
body:has(iframe[title*="3D Secure"]) .ghl-modal,
body:has(iframe[name*="stripe"]) .ghl-modal {
    z-index: 999 !important;
}

/* Hide our form overlays when Stripe authentication is active */
.ghl-booking-form.stripe-auth-active {
    pointer-events: none;
}

.ghl-booking-form.stripe-auth-active * {
    pointer-events: auto;
}

/* Card details visibility management */
.ghl-card-details.ghl-card-details-hidden {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    margin: 0;
    padding: 0;
}

/* CRITICAL: Prevent postal code from being hidden even if inside hidden container */
#ghl-postal-code,
.ghl-field-group:has(#ghl-postal-code) {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 9999 !important;
}

/* Override any hidden state on postal code */
.ghl-card-details.ghl-card-details-hidden #ghl-postal-code,
.ghl-card-details.ghl-card-details-hidden .ghl-field-group:has(#ghl-postal-code),
.ghl-card-details[style*="display: none"] #ghl-postal-code,
.ghl-card-details[style*="display:none"] #ghl-postal-code {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
}

.ghl-payment-button {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: var(--thb-radius);
    background-color: var(--thb-accent);
    color: white;
    font-weight: 500;
    font-family: var(--thb-font-body);
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ghl-payment-button:hover {
    background-color: var(--thb-accent-hover);
}

.ghl-payment-button:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.14);
}

.ghl-payment-button span {
    margin-right: 8px;
}

/* Payment icons */
.ghl-apple-icon,
.ghl-link-icon,
.ghl-paypal-icon,
.ghl-google-pay-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.ghl-apple-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cpath fill='white' d='M14.5 9.5c0-1.3.7-2.4 1.8-3.1-.7-1-1.8-1.6-3-1.7-1.3-.1-2.5.7-3.1.7-.6 0-1.6-.7-2.6-.7-1.3 0-2.6.8-3.3 2-.7 1.2-.6 3.5.5 5.4.4.6.8 1.3 1.5 1.3.6 0 .8-.4 1.6-.4.8 0 1 .4 1.6.4.7 0 1.1-.6 1.5-1.2.3-.4.5-.9.7-1.4-1.8-.7-1.9-3.1-.2-3.3z'/%3E%3Cpath fill='white' d='M12.4 3.5c.7-.8 1.1-1.9 1-3-1 .1-1.9.6-2.6 1.4-.6.7-1 1.8-.9 2.9 1 0 1.9-.5 2.5-1.3z'/%3E%3C/svg%3E");
}

.ghl-link-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cpath fill='white' d='M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zM7.5 13.5h-3v-9h3v9zm6 0h-3v-9h3v9z'/%3E%3C/svg%3E");
}

.ghl-paypal-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cpath fill='white' d='M15.4 5.8c.1-.5.1-1 0-1.5-.4-1.8-2-2.3-4-2.3H5.9c-.3 0-.5.2-.6.5L3.1 14.1c0 .2 0 .4.1.5.1.1.3.2.4.2h3l-.2 1.5c0 .2 0 .3.1.4.1.1.2.2.4.2h2.5c.3 0 .5-.2.6-.5v-.1l.5-3h1.6c2.4 0 4.3-1 4.8-3.8.2-1.3 0-2.3-.5-3.1-.1-.2-.3-.4-.5-.6-.6z'/%3E%3Cpath fill='white' d='M6.9 6.4c0-.1.1-.2.2-.2h4.2c.5 0 .9 0 1.3.1.1 0 .2 0 .3.1.1 0 .2.1.3.1.1 0 .1 0 .2.1.2.1.4.2.5.4.2.3.3.7.3 1.2 0 .2 0 .4-.1.6-.2 1.2-1.1 1.8-2.9 1.8H9.5c-.3 0-.5.2-.6.5l-.8 5h-.5l1.3-8.7z'/%3E%3C/svg%3E");
}

.ghl-google-pay-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cpath fill='white' d='M16.5 7.5h-6v2.25h3.75c-.3 1.5-1.5 2.25-3 2.25-1.8 0-3.3-1.5-3.3-3.3s1.5-3.3 3.3-3.3c.75 0 1.5.3 2.1.75l1.5-1.5c-1.05-.9-2.4-1.5-3.9-1.5-3.3 0-6 2.7-6 6s2.7 6 6 6c3 0 5.7-2.25 5.7-6 0-.45 0-.9-.15-1.5z'/%3E%3C/svg%3E");
}

.ghl-apple-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='16' height='16'%3E%3Cpath fill='white' d='M17.05 20.28c-.98.95-2.05.8-3.08.35-1.09-.46-2.09-.48-3.24 0-1.44.62-2.2.44-3.06-.35C2.79 15.25 3.51 7.59 9.05 7.31c1.35.07 2.29.74 3.08.87 1.43-.38 2.55-.95 3.97-.75 1.7.23 2.97 1.12 3.8 2.31-3.04 1.97-2.35 5.96.26 7.54-.67 1.37-1.41 2.72-3.11 3Z'/%3E%3Cpath fill='white' d='M12.03 7.25c-.15-2.23 1.66-4.22 3.74-4.25.27 2.57-2.19 4.31-3.74 4.25Z'/%3E%3C/svg%3E");
    margin-right: 8px;
}

.ghl-link-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='16' height='16'%3E%3Cpath fill='white' d='M13.06 8.11l1.415 1.415a7 7 0 0 1 0 9.9l-.354.353a7 7 0 0 1-9.9-9.9l1.415 1.415a5 5 0 1 0 7.07 7.07l.354-.353a5 5 0 0 0 0-7.07l-1.415-1.415l1.415-1.414zm-2.12 2.121l-1.415-1.414a7 7 0 0 1 0-9.9l.354-.353a7 7 0 0 1 9.9 9.9l-1.415-1.415a5 5 0 1 0-7.07-7.07l-.354.353a5 5 0 0 0 0 7.07l1.415 1.415l-1.414 1.414z'/%3E%3C/svg%3E");
    margin-right: 8px;
}

.ghl-see-more {
    text-align: center;
    margin: 10px 0;
}

.ghl-see-more a {
    color: var(--thb-muted);
    font-size: 14px;
    text-decoration: none;
}

.ghl-down-arrow {
    font-size: 10px;
    margin-left: 3px;
}

/* Card Details Section */
.ghl-card-details {
    margin-top: 15px;
    border-radius: var(--thb-radius);
    margin-bottom: 20px;
}

.ghl-card-type {
    margin-bottom: 15px;
}

.ghl-card-type label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
}

.ghl-card-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='20' height='20'%3E%3Cpath fill='%23333' d='M22 10V8H2v2h20zm0 1H2v5a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1v-5zm0-7a1 1 0 0 1 1 1v12a3 3 0 0 1-3 3H4a3 3 0 0 1-3-3V5a1 1 0 0 1 1-1h20zm-7 8h4v2h-4v-2z'/%3E%3C/svg%3E");
    margin-right: 8px;
    margin-left: 8px;
}

.ghl-terms-conditions, 
.ghl-marketing-preferences {
    margin-bottom: 10px;
}

.ghl-terms-agreement p {
    font-size: 14px;
    color: var(--thb-muted);
}

.ghl-button {
  
    font-weight: 400;
    color: var(--thb-ink) !important;
    font-family: var(--thb-font-display) !important;
    letter-spacing: 0.14rem;
}

.ghl-terms-conditions label, 
.ghl-marketing-preferences label {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: normal;
    text-transform: none;
    margin-bottom: 10px;
}

.ghl-terms-conditions input, 
.ghl-marketing-preferences input {
    margin-right: 10px;
    margin-top: 3px;
}

.ghl-terms-link {
    color: var(--thb-ink);
    text-decoration: underline;
    font-weight: 600;
}

.ghl-booking-note {
    margin-top: 20px;
    text-align: center;
}

.ghl-booking-note p {
    font-size: 14px;
    color: var(--thb-ink);
    line-height: 1.5;
}

/* Confirmation */
.ghl-confirmation-message {
    text-align: center;
}

.ghl-confirmation-message > p {
    font-size: 14px;
    margin-bottom: 30px;
}

.ghl-confirmation-details {
    padding: 20px;
    border-radius: var(--thb-radius);
    margin-bottom: 30px;
}

.ghl-confirmation-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 12px;
    border-bottom: 2px solid var(--thb-line);
    padding-bottom: 10px;
}

.ghl-confirmation-label {
    text-transform: capitalize;
    font-size: 14px;
}

.ghl-confirmation-email {
    margin-bottom: 30px;
    font-size: 14px;
}

/* Accordion */

.ghl-accordion {
    padding: 20px 65px;
    margin-bottom: 30px;
}

/* Add to Calendar Button Enhanced Styling */
button#ghl-add-to-calendar {
    background-color: transparent;
    border: 1.5px solid var(--thb-ink);
    border-radius: var(--thb-radius);
    padding: 8px 20px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px auto;
    width: 100%;
    gap: 10px;
    font-weight: 500;
    color: var(--thb-ink);
}

button#ghl-add-to-calendar:hover {
    background-color: var(--thb-accent);
    color: white;
}

.ghl-confirmation-actions {
    max-width: 500px;
    margin: auto;
}

.ghl-accordion-content p {
    text-align: left;
    margin: 0;
    font-size: 12px;
    line-height: 22px;
}


.ghl-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 0;
    cursor: pointer;
}

.ghl-accordion-header h3 {
    font-size: 14px;
    margin: 0;
    text-transform: capitalize;
    letter-spacing: normal;
    color: var(--thb-ink);
    font-family: var(--thb-font-body);
}

.ghl-accordion-icon {
    font-size: 18px;
}

.ghl-accordion-content {
    padding: 0 0 15px;
    overflow: hidden;
}

.ghl-accordion-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.ghl-accordion-item:last-child {
    border-bottom: none;
}

.ghl-accordion-item.active .ghl-accordion-header {
    font-weight: 700;
}

/* Booking Steps */
.ghl-booking-step {
    display: none;
}

.ghl-booking-step.active {
    display: block;
}

.ghl-confirmation-details--wrapper {
    max-width: 500px;
    margin: auto;
}

a.ghl-terms-link {
    margin-left: 5px;
}

/* Responsive */
@media (max-width: 768px) {

    .ghl-accordion-header h3 {
        font-size: 12px;
    }

    .ghl-share-booking h3 {
        font-weight: 500;
        letter-spacing: 0px;
    }

    .ghl-field-row {
        gap: 10px;
    }

    .ghl-accordion {
        padding: 15px;
        text-align: left;
    }

    .ghl-accordion .ghl-confirmation-email {
        margin: 0;
        margin-bottom: 10px;
    }

    .ghl-confirmation-details {
        padding: 10px;
        border-radius: var(--thb-radius);
        margin-bottom: 6px;
    }

    .ghl-confirmation-message > p {
        margin-bottom: 20px;
    }

    .ghl-accordion-header{
        padding: 5px;
    }

    .ghl-accordion-content p {
        font-size: 10px;
        line-height: 14px;
    }
    
    .ghl-time-slots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ghl-booking-summary {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .ghl-form-columns {
        flex-direction: column;
        gap: 20px;
    }
    
    .ghl-back-link {
        position: absolute;
        left: 0;
        top: 10px;
    }

    .ghl-booking-progress {
        margin-top: 45px;
    }
    
    .ghl-booking-title {
        font-size: 24px;
    }
    
    .ghl-booking-form-fields {
        padding: 0 10px;
    }
    
    .ghl-booking-note p {
        font-size: 12px;
    }
    
    .ghl-terms-conditions label, 
    .ghl-marketing-preferences label {
        font-size: 13px;
    }
    
    .ghl-booking-container {
        padding: 10px;
    }

    .ghl-step-text {
        font-size: 8px;
    }

    .ghl-alert-body--reservation-box {
        flex-direction: column;
    }
    .ghl-alert-body--reservation-details {
        width: 100% !important;
    }
    .ghl-alert-body--reservation-time {
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    /* .ghl-time-slots-grid {
        grid-template-columns: 1fr;
    } */
    
    /* .ghl-date-picker-container {
        flex-direction: column;
    } */
    
    .ghl-calendar-button {
        width: 45px;
        margin-top: 0;
        height: 50px;
    }
}

/* Form Feedback Messages */
.ghl-form-feedback {
    display: none;
    margin-top: 15px;
    padding: 12px 15px;
    border-radius: var(--thb-radius);
    font-size: 14px;
    font-weight: 500;
    animation: fadeIn 0.3s ease-in-out;
}

.ghl-form-feedback.error {
    color: var(--thb-error);
}

.ghl-form-feedback.success {
    color: var(--thb-ink);
}

/* Stripe Elements styling */
#ghl-card-number-element,
#ghl-card-expiry-element,
#ghl-card-cvc-element {
    height: 42px;
    padding: 8px 10px;
    border: 1px solid var(--thb-border);
    border-radius: var(--thb-radius);
    background-color: transparent;
    transition: border-color 0.2s ease;
}

#ghl-card-number-element.StripeElement--focus,
#ghl-card-expiry-element.StripeElement--focus,
#ghl-card-cvc-element.StripeElement--focus {
    border-color: var(--thb-accent);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.105);
}

#ghl-card-number-element.StripeElement--invalid,
#ghl-card-expiry-element.StripeElement--invalid,
#ghl-card-cvc-element.StripeElement--invalid {
    border-color: var(--thb-error);
}

#ghl-card-errors {
    color: var(--thb-error);
    font-size: 14px;
    margin-top: -15px;
    margin-bottom: 10px;
}

/* Custom Radio Buttons and Checkboxes */
.ghl-radio-container,
.ghl-checkbox-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 14px;
    user-select: none;
    font-weight: normal;
    text-transform: none;
}

/* Hide the browser's default radio button and checkbox */
.ghl-radio-container input,
.ghl-checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Custom radio button */
.ghl-radio-checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 22px;
    width: 22px;
    background-color: var(--thb-field);
    border: 1px solid var(--thb-border);
    border-radius: 50%;
}

/* Custom checkbox */
.ghl-checkbox-checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 22px;
    width: 22px;
    background-color: var(--thb-field);
    border: 1px solid var(--thb-border);
    border-radius: var(--thb-radius);
}

/* On mouse-over */
.ghl-radio-container:hover input ~ .ghl-radio-checkmark,
.ghl-checkbox-container:hover input ~ .ghl-checkbox-checkmark {
    border-color: var(--thb-accent);
}

/* When the radio button is checked */
.ghl-radio-container input:checked ~ .ghl-radio-checkmark {
    background-color: var(--thb-field);
    border-color: var(--thb-accent);
}

/* When the checkbox is checked */
.ghl-checkbox-container input:checked ~ .ghl-checkbox-checkmark {
    background-color: var(--thb-field);
    border-color: var(--thb-accent);
}

/* Create the indicator (dot/circle) - hidden when not checked */
.ghl-radio-checkmark:after,
.ghl-checkbox-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the indicator (dot/circle) when checked */
.ghl-radio-container input:checked ~ .ghl-radio-checkmark:after,
.ghl-checkbox-container input:checked ~ .ghl-checkbox-checkmark:after {
    display: block;
}

/* Style the indicator (dot/circle) */
.ghl-radio-container .ghl-radio-checkmark:after {
    top: 4px;
    left: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--thb-accent);
}

/* Style the indicator (checkmark) */
.ghl-checkbox-container .ghl-checkbox-checkmark:after {
    left: 7px;
    top: 3px;
    width: 6px;
    height: 12px;
    border: solid var(--thb-accent);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Styling for checkbox groups and radio groups */
.ghl-checkbox-group,
.ghl-radio-group {
    margin-bottom: 15px;
}

/* For the special case of the terms and marketing preferences */
.ghl-terms-conditions,
.ghl-marketing-preferences {
    margin-top: 20px;
}

.ghl-terms-conditions .ghl-checkbox-container,
.ghl-marketing-preferences .ghl-checkbox-container {
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 8px;
}


.ghl-whatsapp-button:hover {
    background-color: #128C7E;
    color: var(--thb-accent-ink);
}

/* International Telephone Input Styles */
.iti {
    width: 100%;
    display: block;
}

.iti__flag-container {
    height: 48px;
    border: 1px solid var(--thb-border);
    border-right: none;
    border-radius: var(--thb-radius);
    background-color: transparent;
}

.iti__selected-flag {
    height: 46px;
    background-color: transparent;
    border: none;
    padding: 0 12px;
    display: flex;
    align-items: center;
}

.iti__arrow {
    margin-left: 8px;
    border-top: 4px solid var(--thb-border);
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
}

.iti input[type=tel] {
    height: 48px;
    border: 1px solid var(--thb-border);
    border-left: none;
    border-radius: var(--thb-radius);
    padding: 8px 12px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
    background-color: transparent;
}

.iti input[type=tel]:focus {
    outline: none;
}

.iti input[type=tel]::placeholder {
    color: var(--thb-muted);
    font-size: 16px;
}

.iti__country-list {
    z-index: 9999;
    max-height: 200px;
    border: 1px solid var(--thb-line);
    border-radius: var(--thb-radius);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background-color: white;
    margin-top: 2px;
}

.iti__country {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
    color: var(--thb-ink);
}

.iti__country:hover {
    background-color: var(--thb-soft);
}

.iti__country.iti__highlight {
    background-color: var(--thb-accent);
    color: white;
}

.iti__country-name {
    color: inherit;
}

.iti__dial-code {
    color: var(--thb-muted);
    margin-left: 8px;
}

.iti__highlight .iti__dial-code {
    color: white;
}

/* Error and valid states */
.ghl-field-group.phone-invalid .iti__flag-container {
    border-color: var(--thb-error);
}

.ghl-field-group.phone-invalid .iti input[type=tel] {
    border-color: var(--thb-error);
}

.ghl-field-group.phone-valid .iti__flag-container {
    border-color: var(--thb-ok);
}

.ghl-field-group.phone-valid .iti input[type=tel] {
    border-color: var(--thb-ok);
}

/* Focus states */
.iti__flag-container:focus-within {
    border-color: var(--thb-accent);
}

.iti input[type=tel]:focus + .iti__flag-container {
    border-color: var(--thb-accent);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .iti__country-list {
        max-height: 150px;
    }
    
    .iti input[type=tel] {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Hide the default flag container border when input is focused */


/* Ensure proper z-index for dropdown */
.iti.iti--container-open .iti__country-list {
    z-index: 10000;
}

.ghl-whatsapp-button:hover {
    background-color: #1da851;
}

/* Express checkout disclaimer */
.ghl-express-disclaimer {
    margin: 15px 0;
    font-size: 14px;
    line-height: 1.4;
}

.ghl-express-disclaimer p {
    margin: 0;
    color: var(--thb-ink);
    font-weight: 400;
}

.ghl-express-disclaimer a {
    color: var(--thb-accent);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dotted var(--thb-accent);
    transition: all 0.2s ease;
    cursor: pointer;
}

.ghl-express-disclaimer a:hover {
    color: var(--thb-accent-hover);
    border-bottom-color: var(--thb-accent-hover);
    text-decoration: none;
}



/* Mobile responsive */
@media (max-width: 768px) {
    .ghl-express-disclaimer {
        margin: 12px 0;
        padding: 10px 14px;
        font-size: 12px;
    }
}




/* ==========================================================================
   Tower House layer — typography and states that differ from the original
   ========================================================================== */
.ghl-booking-container {
    background: var(--thb-bg);
    color: var(--thb-ink);
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Headings: serif, sentence case, no tracking (as on the main site) */
.ghl-booking-container h1,
.ghl-booking-container h2,
.ghl-booking-container h3,
.ghl-booking-container h4,
.ghl-modal h3,
.ghl-alert-modal h2,
.ghl-alert-modal h3 {
    font-family: var(--thb-font-display);
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    color: var(--thb-ink);
}
.ghl-booking-container .ghl-booking-title {
    font-size: clamp(28px, 3.2vw, 40px);
    line-height: 1.15;
    letter-spacing: 0;
    text-transform: none;
    margin-bottom: 28px;
}
.ghl-booking-container .ghl-time-slots h3,
.ghl-booking-container .ghl-checkout-heading,
.ghl-booking-container .ghl-accordion-header h3,
.ghl-booking-container .ghl-share-booking h3,
.ghl-booking-container .ghl-booking-summary h3 {
    font-family: var(--thb-font-display);
    text-transform: none;
    letter-spacing: 0;
}
.ghl-booking-container label,
.ghl-booking-container p,
.ghl-booking-container input,
.ghl-booking-container select,
.ghl-booking-container textarea,
.ghl-booking-container button,
.ghl-booking-container a {
    font-family: var(--thb-font-body);
}
.ghl-booking-container label {
    text-transform: none;
    color: var(--thb-ink);
}

/* Progress */
.ghl-booking-container .ghl-step-text { text-transform: none; letter-spacing: 0; color: var(--thb-muted); }
.ghl-booking-container .ghl-progress-step.active .ghl-step-text { color: var(--thb-ink); }
.ghl-booking-container .ghl-step-number { border-color: var(--thb-ink); color: var(--thb-ink); background: transparent; }
.ghl-booking-container .ghl-progress-step.active .ghl-step-number { background: var(--thb-ink); color: var(--thb-accent-ink); }
.ghl-booking-container .ghl-progress-line { background-color: var(--thb-line); }

/* Fields: square, hairline black */
.ghl-booking-container .ghl-input,
.ghl-booking-container .ghl-select,
.ghl-booking-container .ghl-textarea {
    background-color: var(--thb-field);
    border-color: var(--thb-border);
    color: var(--thb-ink);
    border-radius: 0;
}
.ghl-booking-container .ghl-date-picker-container,
.ghl-booking-container .ghl-time-picker-container { box-shadow: none; }
.ghl-booking-container .ghl-calendar-button { background-color: var(--thb-ink); color: var(--thb-accent-ink); }
.ghl-booking-container select.ghl-select option { background-color: var(--thb-field); color: var(--thb-ink); border-bottom-color: var(--thb-line); }

/* Calendar */
.ghl-booking-container .ghl-calendar-popup { background: var(--thb-field); border: 1px solid var(--thb-ink); box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.ghl-booking-container .ghl-calendar-header { background-color: var(--thb-ink); color: var(--thb-accent-ink); }
.ghl-booking-container .ghl-calendar-header button,
.ghl-booking-container .ghl-calendar-month-year { color: var(--thb-accent-ink); text-transform: none; font-family: var(--thb-font-display); letter-spacing: 0; }
.ghl-booking-container .ghl-calendar-days { background: var(--thb-field); }
.ghl-booking-container .ghl-calendar-day.selected { background-color: var(--thb-ink); color: var(--thb-accent-ink); }
.ghl-booking-container .ghl-quick-date { border-color: var(--thb-ink); color: var(--thb-ink); background: transparent; }
.ghl-booking-container .ghl-quick-date:hover { background-color: var(--thb-ink); color: var(--thb-accent-ink); }

/* Time slots: black squares, selected = peach */
.ghl-booking-container .ghl-time-slot {
    background-color: transparent;
    color: var(--thb-ink);
    border: 1px solid var(--thb-ink);
    border-radius: 0;
    transition: background-color .15s ease, color .15s ease;
}
.ghl-booking-container .ghl-time-slot:hover { background-color: var(--thb-ink); color: var(--thb-accent-ink); }
.ghl-booking-container .ghl-time-slot.selected { background-color: var(--thb-highlight); border-color: var(--thb-ink); color: var(--thb-ink); }
.ghl-booking-container .ghl-time-slot.unavailable { background: transparent; color: var(--thb-muted); border-color: var(--thb-line); }
.ghl-booking-container .ghl-load-more button { color: var(--thb-ink); text-decoration: underline; text-underline-offset: 3px; }

/* Buttons */
.ghl-booking-container .ghl-button,
.ghl-modal .ghl-button {
    font-family: var(--thb-font-body) !important;
    letter-spacing: 0;
    text-transform: none;
    border-radius: 0;
    font-size: 15px;
}
.ghl-booking-container .ghl-primary-button,
.ghl-modal .ghl-primary-button {
    background-color: var(--thb-accent);
    border: 1px solid var(--thb-accent);
    color: var(--thb-accent-ink) !important;
}
.ghl-booking-container .ghl-primary-button:hover { background-color: var(--thb-accent-hover); border-color: var(--thb-accent-hover); }
.ghl-booking-container .ghl-secondary-button,
.ghl-modal .ghl-secondary-button,
.ghl-booking-container button#ghl-add-to-calendar,
.ghl-booking-container #ghl-alert-me {
    background: transparent;
    border: 1px solid var(--thb-ink);
    color: var(--thb-ink) !important;
    border-radius: 0;
    text-transform: none;
    letter-spacing: 0;
}
.ghl-booking-container .ghl-secondary-button:hover,
.ghl-modal .ghl-secondary-button:hover,
.ghl-booking-container button#ghl-add-to-calendar:hover,
.ghl-booking-container #ghl-alert-me:hover { background: var(--thb-highlight); }
.ghl-booking-container .ghl-whatsapp-button { border-radius: 0; text-transform: none; letter-spacing: 0; }

/* Links: underlined like the main site */
.ghl-booking-container .ghl-terms-agreement a,
.ghl-booking-container .ghl-terms-link,
.ghl-booking-container .ghl-booking-note a,
.ghl-booking-container .ghl-back-link a {
    color: var(--thb-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Summary + timer */
.ghl-booking-container .ghl-booking-summary { background: var(--thb-highlight); border-radius: 0; }
.ghl-booking-container .ghl-booking-summary h3 { text-transform: none; letter-spacing: 0; }

/* Confirmation */
.ghl-booking-container .ghl-confirmation-details { border: 1px solid var(--thb-ink); border-radius: 0; background: var(--thb-field); }
.ghl-booking-container .ghl-confirmation-row { border-bottom: 1px solid var(--thb-line); }
.ghl-booking-container .ghl-confirmation-message p { color: var(--thb-ink); }
.ghl-booking-container .ghl-accordion-item { border-bottom: 1px solid var(--thb-line); }
.ghl-booking-container .ghl-accordion-header h3 { color: var(--thb-ink); }

/* Card fields */
.ghl-booking-container #ghl-card-number-element,
.ghl-booking-container #ghl-card-expiry-element,
.ghl-booking-container #ghl-card-cvc-element { background: var(--thb-field); border-color: var(--thb-border); border-radius: 0; }
.ghl-booking-container #ghl-card-number-element.StripeElement--focus,
.ghl-booking-container #ghl-card-expiry-element.StripeElement--focus,
.ghl-booking-container #ghl-card-cvc-element.StripeElement--focus { border-color: var(--thb-ink); box-shadow: 0 0 0 1px var(--thb-ink); }

/* Checkboxes use the brand ink */
.ghl-booking-container input[type="checkbox"],
.ghl-booking-container input[type="radio"] { accent-color: var(--thb-ink); }

/* Stripe not configured: hide the card capture UI */
.ghl-booking-container.ghl-no-card .ghl-card-details,
.ghl-booking-container.ghl-no-card .ghl-express-checkout,
.ghl-booking-container.ghl-no-card .ghl-card-note { display: none !important; }

/* Fallback (shown until SevenRooms is connected) */
.ghl-booking-fallback { text-align: center; padding: 64px 20px; }
.ghl-booking-fallback .ghl-button { display: inline-block; padding: 14px 32px; text-decoration: none; }
.ghl-booking-fallback .ghl-admin-hint { margin-top: 24px; font-size: 13px; color: var(--thb-muted); border-top: 1px solid var(--thb-line); padding-top: 16px; }

/* Modal */
.ghl-modal .ghl-modal-content { background: var(--thb-bg); border-radius: 0; border: 1px solid var(--thb-ink); }
.ghl-modal .ghl-modal-body p { font-family: var(--thb-font-body); color: var(--thb-ink); }

/* Focus visibility for keyboard users */
.ghl-booking-container :focus-visible,
.ghl-modal :focus-visible { outline: 2px solid var(--thb-ink); outline-offset: 2px; }

/* Layout + field refinements */
.ghl-booking-container .ghl-back-link { position: static; max-width: 800px; margin: 0 auto 16px; }
.ghl-booking-container .ghl-back-link a { font-size: 14px; }
.ghl-booking-container .ghl-booking-summary {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 24px;
    padding: 14px 20px; margin-bottom: 28px; text-decoration: none;
}
.ghl-booking-container .ghl-booking-summary h3,
.ghl-booking-container .ghl-booking-summary .ghl-booking-time,
.ghl-booking-container .ghl-booking-summary .ghl-booking-timer {
    font-family: var(--thb-font-body); font-size: 15px; margin: 0; text-decoration: none; color: var(--thb-ink);
}
/* Display serif is used only for word headings; anything with numbers uses the body face */
.ghl-booking-container .ghl-calendar-month-year { font-family: var(--thb-font-body); letter-spacing: .06em; font-size: 14px; }
.ghl-booking-container .ghl-input,
.ghl-booking-container .ghl-select { min-height: 46px; box-sizing: border-box; }
.ghl-booking-container #ghl-card-number-element,
.ghl-booking-container #ghl-card-expiry-element,
.ghl-booking-container #ghl-card-cvc-element { min-height: 46px; padding: 13px 12px; box-sizing: border-box; }
.ghl-booking-container .iti { width: 100%; }
.ghl-booking-container .iti input[type=tel] {
    min-height: 46px; height: 46px; background: var(--thb-field); color: var(--thb-ink);
    border: 1px solid var(--thb-border); border-radius: 0;
}
.ghl-booking-container .iti__flag-container { height: 46px; }
.ghl-booking-container .iti__selected-flag {
    height: 44px; background: transparent; border: 0; border-right: 1px solid var(--thb-line); border-radius: 0;
}
.ghl-booking-container .iti__country-list { background: var(--thb-field); border: 1px solid var(--thb-ink); border-radius: 0; }
.ghl-booking-container .iti__country.iti__highlight { background: var(--thb-highlight); color: var(--thb-ink); }

/* Confirmation details */
.ghl-booking-container .ghl-confirmation-details { padding: 8px 28px; max-width: 520px; margin-left: auto; margin-right: auto; }
.ghl-booking-container .ghl-confirmation-row {
    align-items: baseline; margin: 0; padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--thb-line);
}
.ghl-booking-container .ghl-confirmation-row:last-child { border-bottom: 0; }
.ghl-booking-container .ghl-confirmation-label { font-size: 14px; color: var(--thb-muted); text-transform: none; }
.ghl-booking-container .ghl-confirmation-value { font-size: 16px; color: var(--thb-ink); text-align: right; }
.ghl-booking-container #ghl-booking-reference { letter-spacing: .08em; }
.ghl-booking-container .ghl-accordion { max-width: 520px; margin-left: auto; margin-right: auto; padding: 8px 0; }
.ghl-booking-container .ghl-accordion-header h3 { font-family: var(--thb-font-body); font-size: 15px; }
.ghl-booking-container .ghl-accordion-header { padding: 14px 0; }

/* Modal (moved to <body> when opened) */
.ghl-modal { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 100000; }
.ghl-modal .ghl-modal-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .55); backdrop-filter: none; }
.ghl-modal .ghl-modal-content { background: var(--thb-bg); box-shadow: none; max-width: 520px; }
.ghl-modal .ghl-modal-header { border-bottom: 1px solid var(--thb-line); padding: 22px 26px; }
.ghl-modal .ghl-modal-header h3 { font-family: var(--thb-font-display); font-weight: 400; font-size: 24px; margin: 0; letter-spacing: 0; text-transform: none; }
.ghl-modal .ghl-modal-body { padding: 22px 26px; font-family: var(--thb-font-body); font-size: 15px; line-height: 1.55; }
.ghl-modal .ghl-modal-footer { border-top: 1px solid var(--thb-line); padding: 16px 26px; }
.ghl-modal .ghl-modal-close { color: var(--thb-ink); }
.ghl-modal .ghl-modal-footer .ghl-button { background: var(--thb-ink); color: var(--thb-accent-ink) !important; border: 1px solid var(--thb-ink); padding: 12px 26px; }
.ghl-booking-container button#ghl-add-to-calendar { font-size: 15px; padding: 12px 20px; justify-content: center; }
.ghl-booking-container .ghl-whatsapp-button { font-size: 14px; padding: 10px 18px; }
.ghl-booking-container .ghl-textarea,
.ghl-booking-container .ghl-input,
.ghl-booking-container .ghl-select { width: 100%; max-width: 100%; box-sizing: border-box; }
@media (max-width: 480px) {
    .ghl-booking-container .ghl-step-text { font-size: 11px; }
}

/* Spam trap: invisible to people and screen readers */
.ghl-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
/* Cloudflare Turnstile (only when configured) */
.ghl-booking-container .ghl-turnstile{margin:16px 0 4px;min-height:65px}

/* Seating area under the time, e.g. Kitchen Counter */
.ghl-time-slot .ghl-slot-area { display:block; font-size:11px; letter-spacing:.02em; opacity:.75; margin-top:2px; }

/* Note under time and guests */
.ghl-booking-note-top { margin: 4px 0 28px; text-align: center; font-size: 14px; line-height: 1.5; color: var(--thb-ink, #000); }
.ghl-booking-note-top p { margin: 0 0 4px; }
.ghl-booking-note-top a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* Wallet button: only when Stripe says it's available and a card is needed */
.ghl-booking-container .ghl-express-checkout { display: none; margin-bottom: 18px; }
.ghl-booking-container.ghl-has-wallet:not(.ghl-no-card) .ghl-express-checkout { display: block; }
.ghl-booking-container .ghl-express-checkout #ghl-payment-request-button { margin-bottom: 10px; }

/* Keep the whole form in its own layer so the site's header and slide-in
   menu always sit above it. Pop-ups inside still stack correctly. */
.ghl-booking-container { position: relative; z-index: 0; isolation: isolate; }

/* Seating choice */
.ghl-area-group { margin: 0 0 22px; text-align: left; }
.ghl-area-group .ghl-area-label { display: block; font-size: 14px; margin-bottom: 6px; }
.ghl-area-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.ghl-area-option { appearance: none; border: 1px solid var(--thb-ink, #000); background: var(--thb-field, #fff); color: var(--thb-ink, #000); padding: 12px 10px; font: inherit; font-size: 15px; cursor: pointer; border-radius: var(--thb-radius, 0); }
.ghl-area-option.selected { background: var(--thb-highlight, #F3D3B9); }
.ghl-area-option:focus-visible { outline: 2px solid var(--thb-ink, #000); outline-offset: 2px; }

/* Seating / set-menu label inside a time button */
.ghl-time-slot .ghl-slot-area { display: block; font-size: 12px; line-height: 1.2; margin-top: 3px; opacity: .75; }
.ghl-time-slot { height: auto; min-height: 50px; }
/* Set menu pop-up */
#ghl-menu-modal .ghl-modal-content { max-width: 520px; display: flex; flex-direction: column; }
#ghl-menu-modal .ghl-modal-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
#ghl-menu-modal .ghl-menu-x { background: none; border: 0; padding: 4px; cursor: pointer; color: var(--thb-ink); }
.ghl-menu-body { overflow-y: auto; max-height: 60vh; text-align: center; padding: 8px 24px 16px; }
.ghl-menu-body p { margin: 0 0 6px; font-size: 15px; line-height: 1.45; }
.ghl-menu-body p strong { display: inline-block; margin-top: 14px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.ghl-menu-footer { display: flex; gap: 10px; padding: 16px 24px 20px; }
.ghl-menu-footer .ghl-button { flex: 1; margin: 0; }
#ghl-menu-modal .ghl-menu-footer .ghl-button { font-family: inherit; font-size: 15px; padding: 14px 12px; border: 1px solid var(--thb-ink); border-radius: var(--thb-radius); cursor: pointer; }
#ghl-menu-modal .ghl-menu-footer .ghl-secondary-button { background: transparent !important; color: var(--thb-ink) !important; }
#ghl-menu-modal .ghl-menu-footer .ghl-primary-button { background: var(--thb-ink) !important; color: var(--thb-accent-ink) !important; }
#ghl-menu-modal .ghl-menu-footer .ghl-button { white-space: nowrap; height: auto; line-height: 1.2; }

/* Guest preferences (sent to SevenRooms as the reservation note) */
.ghl-prefs-intro { margin: 0 0 12px; font-size: 15px; line-height: 1.45; text-align: left; }
.ghl-prefs-list { border: 1px solid var(--thb-ink); background: var(--thb-field); }
.ghl-pref + .ghl-pref { border-top: 1px solid var(--thb-line); }
.ghl-pref summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 16px 18px; font-size: 15px; line-height: 1.35; text-align: left; }
.ghl-pref summary::-webkit-details-marker { display: none; }
.ghl-pref summary::before { content: '+'; flex: 0 0 auto; width: 14px; font-size: 20px; line-height: 1; }
.ghl-pref[open] summary::before { content: '\2212'; }
.ghl-pref summary:focus-visible { outline: 2px solid var(--thb-ink); outline-offset: -2px; }
.ghl-pref-body { padding: 0 18px 18px 46px; }
.ghl-pref-body .ghl-textarea { width: 100%; box-sizing: border-box; }
.ghl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ghl-chip { appearance: none; border: 1px solid var(--thb-ink); background: transparent; color: var(--thb-ink); font: inherit; font-size: 14px; padding: 8px 14px; border-radius: 999px; cursor: pointer; }
.ghl-chip.selected { background: var(--thb-highlight); }
@media (max-width: 543.98px) { .ghl-pref-body { padding-left: 18px; } }

.ghl-pref-hint { margin: 10px 0 0; font-size: 13px; opacity: .7; text-align: left; }
.ghl-pref-body .ghl-chips { max-height: 260px; overflow-y: auto; padding: 2px; }
.ghl-booking-container .ghl-chip { width: auto; min-width: 0; margin: 0; text-transform: none; letter-spacing: normal; }

#ghl-card-postcode { text-transform: uppercase; }
#ghl-card-postcode::placeholder { text-transform: none; }

/* Notes field above the button; card note and legal line below it, smaller */
.ghl-booking-container .ghl-notes-field { margin: 20px 0 20px; text-align: left; }
.ghl-booking-container .ghl-notes-field .ghl-textarea { width: 100%; box-sizing: border-box; min-height: 90px; }
.ghl-booking-container .ghl-card-note-below { margin: 14px 0 0; }
.ghl-booking-container div#ghl-step-details .ghl-card-note-below p,
.ghl-booking-container .ghl-card-note-below p,
.ghl-booking-container div#ghl-step-details .ghl-terms-agreement p,
.ghl-booking-container .ghl-terms-agreement p { font-size: 12px !important; line-height: 1.5 !important; margin: 0; }
.ghl-booking-container .ghl-terms-agreement { margin-top: 8px; }

/* ------------------------------------------------------------------
 * 2.4 polish: one type scale (14px body, 13px notes, 12px small print),
 * tighter fields, lighter accordion and chips. Scoped and !important
 * because the theme sets its own label/paragraph sizes.
 * ---------------------------------------------------------------- */
.ghl-booking-container label,
.ghl-booking-container .ghl-field-group > label { font-size: 14px !important; line-height: 1.3 !important; margin-bottom: 6px !important; }
.ghl-booking-container .ghl-input,
.ghl-booking-container .ghl-select,
.ghl-booking-container input[type=text],
.ghl-booking-container input[type=email],
.ghl-booking-container input[type=tel] { font-size: 14px !important; min-height: 42px; }
.ghl-booking-container .ghl-textarea { font-size: 14px !important; line-height: 1.45 !important; }
.ghl-booking-container .ghl-field-group { margin-bottom: 16px; }

/* Notes and helper copy */
.ghl-booking-container .ghl-booking-note-top,
.ghl-booking-container .ghl-booking-note-top p,
.ghl-booking-container .ghl-booking-note p,
.ghl-booking-container .ghl-no-times-message p,
.ghl-booking-container .ghl-prefs-intro { font-size: 13px !important; line-height: 1.5 !important; }
.ghl-booking-container .ghl-booking-note-top { margin: 0 0 20px; }
.ghl-booking-container .ghl-no-times-message p { margin: 0 0 12px; }

/* Available times */
.ghl-booking-container .ghl-time-slots h3.ghl-slots-label {
    font-family: inherit !important; font-size: 14px !important; font-weight: 400 !important;
    letter-spacing: 0 !important; line-height: 1.3 !important; text-transform: none !important;
    text-align: left !important; margin: 8px 0 8px !important; padding: 0 !important;
}
.ghl-booking-container .ghl-time-slot { padding: 9px 6px !important; font-size: 14px !important; }
.ghl-booking-container .ghl-time-slot small,
.ghl-booking-container .ghl-time-slot span { font-size: 11px !important; }

/* Buttons */
.ghl-booking-container .ghl-button,
.ghl-booking-container .ghl-alert-button { font-size: 14px !important; min-height: 44px; }

/* Preferences: lighter accordion and chips */
.ghl-booking-container .ghl-prefs-intro { margin: 4px 0 10px !important; }
.ghl-booking-container .ghl-pref summary { font-size: 14px !important; padding: 11px 14px !important; gap: 10px !important; line-height: 1.35 !important; }
.ghl-booking-container .ghl-pref summary::before { font-size: 16px !important; width: 12px !important; }
.ghl-booking-container .ghl-pref-body { padding: 2px 14px 14px 36px !important; }
.ghl-booking-container .ghl-chips { gap: 6px !important; max-height: 196px; }
.ghl-booking-container .ghl-chip { font-size: 12.5px !important; line-height: 1.2 !important; padding: 5px 11px !important; min-height: 0 !important; height: auto !important; }
.ghl-booking-container .ghl-pref-hint { font-size: 12px !important; margin-top: 8px !important; }
@media (max-width: 543.98px) { .ghl-booking-container .ghl-pref-body { padding-left: 14px !important; } }

/* Checkboxes and small print */
.ghl-booking-container .ghl-terms-conditions label,
.ghl-booking-container .ghl-marketing-preferences label { font-size: 13px !important; }
.ghl-booking-container .iti input, .ghl-booking-container .iti input[type=tel], .ghl-booking-container #ghl-phone, .ghl-booking-container .iti__selected-dial-code { font-size: 14px !important; }
.ghl-booking-container .ghl-prefs-intro { max-width: none !important; }
/* iPhone zooms into fields under 16px, so typed-in text stays 16px on phones. */
@media (max-width: 767.98px) {
  .ghl-booking-container .ghl-input,
  .ghl-booking-container .ghl-select,
  .ghl-booking-container .ghl-textarea,
  .ghl-booking-container input[type=text],
  .ghl-booking-container input[type=email],
  .ghl-booking-container input[type=tel],
  .ghl-booking-container .iti input,
  .ghl-booking-container #ghl-phone { font-size: 16px !important; }
}

/* Small print under the times: groups note, waiting list, walk-ins */
.ghl-booking-container .ghl-time-slots .ghl-booking-note-top { margin: 14px 0 0 !important; }
.ghl-booking-container .ghl-time-slots .ghl-booking-note-top p,
.ghl-booking-container .ghl-no-times-message p,
.ghl-booking-container #ghl-step-details .ghl-booking-note p,
.ghl-booking-container .ghl-booking-note p { font-size: 12px !important; line-height: 1.45 !important; margin: 0 0 2px !important; }
.ghl-booking-container .ghl-no-times-message { margin: 12px 0 0 !important; padding: 0 !important; }
.ghl-booking-container .ghl-no-times-message p { margin-bottom: 10px !important; }
.ghl-booking-container .ghl-no-times-message .ghl-alert-button { min-height: 40px !important; margin: 0 !important; }
.ghl-booking-container .ghl-booking-actions:empty,
.ghl-booking-container .ghl-booking-actions:has(> .ghl-form-feedback:empty:only-child) { margin: 0 !important; padding: 0 !important; }
.ghl-booking-container #ghl-step-details .ghl-booking-note { margin: 12px 0 0 !important; }
.ghl-booking-container .ghl-load-more { margin: 8px 0 0 !important; }

/* 5: walk-in line reads as small print */
.ghl-booking-container #ghl-step-details .ghl-booking-note p,
.ghl-booking-container .ghl-booking-note:not(.ghl-card-note) p { color: #6b655e !important; }

/* 6: loading placeholders for times */
.ghl-booking-container .ghl-time-slot.ghl-slot-skeleton {
    min-height: 56px; border-color: transparent !important; cursor: default; pointer-events: none;
    background: linear-gradient(90deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.09) 50%, rgba(0,0,0,.05) 100%) !important;
    background-size: 200% 100% !important; animation: ghl-shimmer 1.2s ease-in-out infinite;
}
@keyframes ghl-shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .ghl-booking-container .ghl-slot-skeleton { animation: none; } }
.ghl-sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 7: inline errors */
.ghl-booking-container .ghl-inline-error { color: #a32020 !important; font-size: 12px !important; line-height: 1.4 !important; margin: 6px 0 0 !important; text-align: left; }
.ghl-booking-container .ghl-has-error .ghl-input,
.ghl-booking-container .ghl-has-error .iti input,
.ghl-booking-container .ghl-has-error input[type=text],
.ghl-booking-container .ghl-has-error input[type=email],
.ghl-booking-container .ghl-has-error input[type=tel] { border-color: #a32020 !important; box-shadow: inset 0 0 0 1px #a32020; }

/* Wallet buttons sit under the card fields so both columns line up */
.ghl-booking-container .ghl-express-checkout { margin: 4px 0 18px !important; }
.ghl-booking-container .ghl-express-checkout .ghl-payment-buttons-separator { margin: 0 0 12px !important; font-size: 12px !important; }
.ghl-booking-container .ghl-express-checkout #ghl-payment-request-button { margin: 0 !important; }
.ghl-wallet-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ghl-wallet-preview .ghl-wallet-fake { height: 44px; display: flex; align-items: center; justify-content: center; font-size: 14px; color: #fff; background: #000; opacity: .35; border-radius: 4px; user-select: none; }
.ghl-wallet-preview .ghl-wallet-google { background: #3c4043; }
.ghl-wallet-preview p { grid-column: 1 / -1; margin: 2px 0 0; font-size: 11px; color: #6b655e; text-align: center; }
/* Columns line up: card fields start level with First name, same field height and rhythm */
.ghl-booking-container .ghl-form-right-column .ghl-card-details { margin-top: 0 !important; padding-top: 0 !important; margin-bottom: 0 !important; }
.ghl-booking-container .ghl-form-columns .ghl-input,
.ghl-booking-container .ghl-form-columns .ghl-select,
.ghl-booking-container .ghl-form-columns .iti input { height: 42px !important; min-height: 42px !important; box-sizing: border-box !important; }
.ghl-booking-container .ghl-card-details .ghl-input { padding-top: 12px !important; padding-bottom: 12px !important; }
.ghl-booking-container .ghl-form-columns .ghl-field-row { margin: 0 !important; }
.ghl-booking-container .ghl-form-columns .ghl-field-row > .ghl-field-group { margin-bottom: 16px !important; }
.ghl-booking-container .ghl-card-error:empty { display: none; }
.ghl-booking-container .ghl-form-columns .iti { display: block; height: 42px; }
.ghl-booking-container .ghl-form-columns .iti__country-container,
.ghl-booking-container .ghl-form-columns .iti__flag-container,
.ghl-booking-container .ghl-form-columns .iti__selected-country,
.ghl-booking-container .ghl-form-columns .iti__selected-flag { top: 0 !important; bottom: 0 !important; height: 42px !important; max-height: 42px !important; box-sizing: border-box !important; }
.ghl-wallet-preview .ghl-wallet-fake { font-size: 13px !important; }
.ghl-booking-container #ghl-card-country { padding-left: 10px !important; padding-right: 26px !important; background-position: right 8px center !important; text-overflow: ellipsis; }

/* Card fields (Stripe frames): same height and vertical centring as the other inputs */
.ghl-booking-container .ghl-card-details .ghl-input { padding: 11px 12px !important; }
/* Selects: room for the text so it isn't clipped */
.ghl-booking-container .ghl-form-columns select.ghl-input,
.ghl-booking-container .ghl-form-columns .ghl-select { padding-top: 0 !important; padding-bottom: 0 !important; line-height: 40px !important; }
.ghl-booking-container #ghl-card-country { font-size: 14px !important; }
/* Phone placeholder matches the others */
.ghl-booking-container .iti input[type=tel],
.ghl-booking-container .iti input[type=tel]::placeholder { font-size: 14px !important; }
@media (max-width: 767.98px) {
  .ghl-booking-container .iti input[type=tel],
  .ghl-booking-container .iti input[type=tel]::placeholder,
  .ghl-booking-container #ghl-card-country { font-size: 16px !important; }
}

/* Card fields loading */
.ghl-booking-container .ghl-form-feedback.ghl-muted { color: var(--thb-muted, #6b6b6b); font-size: 13px; }
.ghl-booking-container.ghl-card-loading .ghl-card-details .ghl-input { background: linear-gradient(90deg, rgba(0,0,0,0.03), rgba(0,0,0,0.07), rgba(0,0,0,0.03)); background-size: 200% 100%; animation: ghlShimmer 1.2s linear infinite; }
@keyframes ghlShimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
