body.tb-booking-open { overflow: hidden; }

.tb-booking-modal[hidden] { display: none !important; }

.tb-booking-modal {
    position: fixed;
    z-index: 100000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    font-family: var(--font-body, "Open Sans", sans-serif);
}

.tb-booking-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(13, 13, 16, .72);
    backdrop-filter: blur(5px);
}

.tb-booking-modal__dialog {
    position: relative;
    width: min(740px, 100%);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    padding: 36px;
    color: #111;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
    outline: 0;
    animation: tbBookingIn .24s cubic-bezier(.2, .75, .25, 1);
}

.tb-booking-modal__close {
    position: absolute;
    z-index: 2;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    padding: 0;
    color: #111;
    background: #f2f2f4;
    border: 0;
    border-radius: 50%;
    font: 400 27px/36px Arial, sans-serif;
    cursor: pointer;
}

.tb-booking-modal__close:hover { background: #e7e7ea; }
.tb-booking-modal__header { padding-right: 42px; }
.tb-booking-modal__eyebrow { margin: 0 0 7px; color: #d3145a; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.tb-booking-modal__header h2 { margin: 0 0 8px; color: #111; font-family: var(--font-heading, Poppins, sans-serif); font-size: clamp(26px, 4vw, 34px); line-height: 1.16; }
.tb-booking-modal__header > p:last-child { margin: 0; color: #5e626b; font-size: 14px; }

.tb-booking-form { margin-top: 28px; }
.tb-booking-form__notice { margin-top: 22px; padding: 13px 15px; color: #8b123d; background: #fff0f5; border-left: 4px solid #d3145a; border-radius: 6px; font-size: 13px; }
.tb-booking-form__section { margin: 0 0 24px; padding: 0; border: 0; }
.tb-booking-form__label,
.tb-booking-form__section > legend { display: block; margin: 0 0 10px; color: #111; font-size: 13px; font-weight: 800; }

.tb-booking-form__input {
    width: 100%;
    min-height: 48px;
    padding: 10px 13px;
    color: #111;
    background: #fff;
    border: 1px solid #d9d9dd;
    border-radius: 8px;
    font: inherit;
    font-size: 15px;
}

.tb-booking-form__input:focus,
.tb-booking-quantity button:focus { border-color: #d3145a; box-shadow: 0 0 0 3px rgba(211, 20, 90, .12); outline: 0; }
select.tb-booking-form__input { padding-right: 44px; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='m1 1 6 6 6-6' fill='none' stroke='%23111' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 12px auto; }

.tb-booking-progress { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 26px 0 28px; padding: 0; list-style: none; }
.tb-booking-progress::before { content: ''; position: absolute; top: 16px; right: 16.666%; left: 16.666%; height: 2px; background: #e2e2e5; }
.tb-booking-progress li { position: relative; z-index: 1; display: grid; justify-items: center; gap: 6px; color: #898b91; font-size: 11px; font-weight: 700; text-align: center; }
.tb-booking-progress li span { width: 34px; height: 34px; display: grid; place-items: center; color: #777980; background: #f2f2f4; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px #dedee2; }
.tb-booking-progress li.is-active { color: #111; }
.tb-booking-progress li.is-active span,
.tb-booking-progress li.is-complete span { color: #fff; background: #d3145a; box-shadow: 0 0 0 1px #d3145a; }
.tb-booking-step[hidden] { display: none !important; }

.tb-booking-form__dates { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 24px; }
.tb-booking-form__dates label > span,
.tb-booking-form__contact label span { display: block; margin-bottom: 6px; color: #44464c; font-size: 12px; font-weight: 700; }
.tb-booking-form__time-note { grid-column: 1 / -1; margin: -3px 0 0; color: #777980; font-size: 11px; line-height: 1.5; }

.tb-booking-calendar { margin-bottom: 22px; outline: 0; }
.tb-booking-calendar__panel { padding: 17px 18px 18px; background: #fff; border: 1px solid #dedee2; border-radius: 12px; }
.tb-booking-calendar__nav { display: grid; grid-template-columns: 38px 1fr 38px; align-items: center; gap: 12px; margin-bottom: 14px; }
.tb-booking-calendar__nav > strong { color: #111; font-family: var(--font-heading, Poppins, sans-serif); font-size: 15px; text-align: center; text-transform: capitalize; }
.tb-booking-calendar__nav button { width: 36px; height: 36px; display: grid; place-items: center; padding: 0; color: #fff; background: #111; border: 0; border-radius: 50%; font-size: 12px; cursor: pointer; }
.tb-booking-calendar__nav button:last-child { justify-self: end; }
.tb-booking-calendar__nav button:disabled { color: #aaa; background: #f1f1f3; cursor: default; }
.tb-booking-calendar__weekdays,
.tb-booking-calendar__days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.tb-booking-calendar__weekdays { margin-bottom: 5px; }
.tb-booking-calendar__weekdays span { color: #777980; font-size: 10px; font-weight: 800; text-align: center; }
.tb-booking-calendar__days button,
.tb-booking-calendar__blank { min-width: 0; height: 38px; }
.tb-booking-calendar__days button { position: relative; padding: 0; color: #222; background: transparent; border: 0; border-radius: 9px; font: 700 12px/1 var(--font-body, "Open Sans", sans-serif); cursor: pointer; }
.tb-booking-calendar__days button:hover:not(:disabled) { color: #d3145a; background: #fff0f5; }
.tb-booking-calendar__days button:disabled { color: #c2c2c7; background: #fafafa; cursor: not-allowed; }
.tb-booking-calendar__days button.is-range { color: #a10e44; background: #fff0f5; border-radius: 9px; }
.tb-booking-calendar__days button.is-start,
.tb-booking-calendar__days button.is-end { z-index: 1; color: #fff; background: #d3145a; border-radius: 9px; box-shadow: 0 5px 12px rgba(211,20,90,.22); }
.tb-booking-calendar__days button.is-today:not(.is-start):not(.is-end)::after { content: ''; position: absolute; right: 9px; bottom: 5px; left: 9px; height: 2px; background: #d3145a; border-radius: 2px; }
.tb-booking-form__date-error { margin: 8px 0 0; }
.tb-booking-form__times { margin-top: 0; }

.tb-booking-form__bags { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tb-booking-form__bags legend { grid-column: 1 / -1; }
.tb-booking-bag { min-width: 0; display: flex; align-items: center; flex-direction: column; gap: 8px; padding: 14px; background: #f7f7f8; border: 1px solid #e4e4e7; border-radius: 10px; text-align: center; }
.tb-booking-bag > img { width: 74px; height: 74px; display: block; object-fit: contain; }
.tb-booking-bag__copy { min-width: 0; display: grid; gap: 2px; }
.tb-booking-bag strong { color: #111; font-size: 12px; line-height: 1.3; }
.tb-booking-bag small { color: #d3145a; font-size: 10px; font-weight: 800; }
.tb-booking-quantity { display: grid; grid-template-columns: 36px 34px 36px; align-items: center; justify-content: center; margin-top: 3px; }
.tb-booking-quantity button { width: 36px; height: 36px; display: grid; place-items: center; padding: 0; color: #111; background: #fff; border: 1px solid #d9d9dd; font: 700 19px/1 Arial, sans-serif; cursor: pointer; }
.tb-booking-quantity button:first-child { border-radius: 7px 0 0 7px; }
.tb-booking-quantity button:nth-of-type(2) { border-radius: 0 7px 7px 0; }
.tb-booking-quantity button:hover { color: #d3145a; background: #fff5f8; }
.tb-booking-quantity output { height: 36px; display: grid; place-items: center; color: #111; background: #fff; border-block: 1px solid #d9d9dd; font-size: 14px; font-weight: 800; }
.tb-booking-form__error { grid-column: 1 / -1; margin: 0; color: #b0003a; font-size: 12px; font-weight: 700; }

.tb-booking-form__contact { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.tb-booking-form__contact legend { grid-column: 1 / -1; }

.tb-booking-form__footer { display: grid; grid-template-columns: 1fr auto; gap: 13px 20px; align-items: center; padding-top: 22px; border-top: 1px solid #e8e8e8; }
.tb-booking-form__footer--next-only { grid-template-columns: 1fr; justify-items: end; }
.tb-booking-form__footer--three-actions,
.tb-booking-form__footer--contact { grid-template-columns: auto 1fr auto; }
.tb-booking-form__period { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 13px; color: #111; background: #fff0f5; border: 1px solid #ffd5e4; border-radius: 9px; }
.tb-booking-form__footer--next-only .tb-booking-form__period { width: 100%; justify-self: stretch; }
.tb-booking-form__period span { color: #a10e44; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.tb-booking-form__period strong { font-size: 14px; font-weight: 800; text-align: right; }
.tb-booking-form__total { display: grid; gap: 2px; }
.tb-booking-form__total span { color: #5e626b; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.tb-booking-form__total strong { color: #111; font-size: 22px; }
.tb-booking-form__total small { color: #777980; font-size: 10px; }
.tb-booking-form__submit { min-height: 50px; padding: 12px 22px; color: #fff; background: #d3145a; border: 1px solid #d3145a; border-radius: 9px; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.tb-booking-form__submit:hover { background: #b70d4b; border-color: #b70d4b; }
.tb-booking-form__submit[disabled] { opacity: .7; cursor: wait; }
.tb-booking-form__back { min-height: 46px; padding: 10px 15px; color: #55575e; background: #fff; border: 1px solid #d9d9dd; border-radius: 8px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.tb-booking-form__back:hover { color: #111; background: #f7f7f8; }
.tb-booking-honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }

.tb-contact-modal__dialog { width: min(650px, 100%); }
.tb-contact-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin-top: 28px; }
.tb-contact-form label > span { display: block; margin-bottom: 6px; color: #44464c; font-size: 12px; font-weight: 700; }
.tb-contact-form__phone,
.tb-contact-form__message,
.tb-contact-form__footer { grid-column: 1 / -1; }
.tb-contact-form textarea.tb-booking-form__input { min-height: 120px; resize: vertical; }
.tb-contact-form__footer { display: flex; justify-content: flex-end; padding-top: 6px; }
.tb-booking-form__notice--success { color: #17663b; background: #edf9f2; border-left-color: #28965a; }

@keyframes tbBookingIn {
    from { opacity: 0; transform: translateY(15px) scale(.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 680px) {
    .tb-booking-modal { align-items: end; padding: 0; }
	.tb-booking-modal__dialog { width: 100%; max-height: 96vh; padding: 24px 18px 20px; border-radius: 16px 16px 0 0; }
    .tb-booking-modal__close { top: 10px; right: 10px; }
	.tb-booking-modal__header > p:last-child { display: none; }
	.tb-booking-form { margin-top: 18px; }
	.tb-booking-progress { margin: 18px 0 20px; }
	.tb-booking-form__dates,
	.tb-booking-form__contact,
	.tb-contact-form { grid-template-columns: 1fr; }
	.tb-booking-form__times { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
	.tb-booking-calendar { margin-bottom: 14px; }
	.tb-booking-calendar__panel { padding: 12px 10px 14px; }
	.tb-booking-calendar__nav { margin-bottom: 10px; }
	.tb-booking-calendar__weekdays,
	.tb-booking-calendar__days { gap: 2px; }
	.tb-booking-calendar__days button,
	.tb-booking-calendar__blank { height: 34px; }
    .tb-booking-form__contact legend { grid-column: auto; }
	.tb-booking-form__bags { grid-template-columns: 1fr; }
	.tb-booking-bag { display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; text-align: left; }
	.tb-booking-bag > img { width: 58px; height: 58px; }
	.tb-booking-quantity { margin-top: 0; }
	.tb-booking-form__footer { grid-template-columns: 1fr; padding-top: 16px; }
	.tb-booking-form__footer--three-actions,
	.tb-booking-form__footer--contact { grid-template-columns: auto 1fr; }
	.tb-booking-form__period { gap: 10px; padding: 9px 11px; }
	.tb-booking-form__period span { font-size: 9px; }
	.tb-booking-form__period strong { font-size: 12px; }
	.tb-booking-form__footer--three-actions .tb-booking-form__submit,
	.tb-booking-form__footer--contact .tb-booking-form__submit { grid-column: 1 / -1; }
    .tb-booking-form__submit { width: 100%; }
	.tb-contact-form__phone,
	.tb-contact-form__message,
	.tb-contact-form__footer { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
    .tb-booking-modal__dialog { animation: none; }
}

/* Tahiti Bagages payment page */
body.tb-bagages-payment { background: #f7f7f8; }
body.tb-bagages-payment .brk-container { width: min(1464px, calc(100% - 48px)); max-width: 1464px; margin-right: auto !important; margin-left: auto !important; padding-bottom: 80px; }
body.tb-bagages-payment .brk-container > .brk-row { width: 100%; max-width: none; margin-right: 0; margin-left: 0; }
body.tb-bagages-payment .brk-page-title { display: none !important; }
body.tb-bagages-payment .brk-page-content { padding-top: 34px; }
body.tb-bagages-payment .brk-main,
body.tb-bagages-payment .brk-content { width: 100%; max-width: none; }
body.tb-bagages-payment .brk-page-content > .woocommerce { width: 100%; }
body.tb-bagages-payment form#order_review { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: start; }
body.tb-bagages-payment form#order_review > .shop_table { overflow: hidden; margin: 0; background: #fff; border: 1px solid #e4e4e7; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.035); }
body.tb-bagages-payment form#order_review > .shop_table th,
body.tb-bagages-payment form#order_review > .shop_table td { padding: 17px 19px; border-color: #ededee; }
body.tb-bagages-payment form#order_review > .shop_table thead th { color: #111; background: #f7f7f8; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
body.tb-bagages-payment form#order_review > .shop_table .product-name { color: #111; font-weight: 700; }
body.tb-bagages-payment form#order_review > .tb-bagages-order-table { table-layout: fixed; }
body.tb-bagages-payment form#order_review > .tb-bagages-order-table th.product-name,
body.tb-bagages-payment form#order_review > .tb-bagages-order-table td.product-name { width: 34%; text-align: left; }
body.tb-bagages-payment form#order_review > .tb-bagages-order-table th.product-quantity,
body.tb-bagages-payment form#order_review > .tb-bagages-order-table td.product-quantity { width: 9%; text-align: center; }
body.tb-bagages-payment form#order_review > .tb-bagages-order-table th.tb-unit-price,
body.tb-bagages-payment form#order_review > .tb-bagages-order-table td.tb-unit-price { width: 19%; text-align: right; white-space: nowrap; }
body.tb-bagages-payment form#order_review > .tb-bagages-order-table th.tb-storage-days,
body.tb-bagages-payment form#order_review > .tb-bagages-order-table td.tb-storage-days { width: 10%; text-align: center; }
body.tb-bagages-payment form#order_review > .tb-bagages-order-table th.product-total,
body.tb-bagages-payment form#order_review > .tb-bagages-order-table td.product-total { width: 20%; text-align: right; white-space: nowrap; }
body.tb-bagages-payment form#order_review > .shop_table .wc-item-meta { margin-top: 8px; color: #676970; font-size: 12px; font-weight: 400; }
body.tb-bagages-payment form#order_review > .shop_table th.product-total,
body.tb-bagages-payment form#order_review > .shop_table td.product-total { display: table-cell !important; text-align: right; }
body.tb-bagages-payment form#order_review > .shop_table tfoot th { font-weight: 700; }
body.tb-bagages-payment form#order_review > .shop_table tfoot .tb-total-row--order_total th,
body.tb-bagages-payment form#order_review > .shop_table tfoot .tb-total-row--order_total td { color: #d3145a; font-size: 18px; font-weight: 800; }
body.tb-bagages-payment form#order_review > .shop_table .tb-coupon-row td { padding: 18px 19px; background: #fff; }
.tb-coupon { display: grid; gap: 9px; }
.tb-coupon__toggle { width: max-content; padding: 0; color: #111; background: transparent; border: 0; font-size: 13px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.tb-coupon__toggle:hover { color: #d3145a; }
.tb-coupon__panel { display: grid; gap: 8px; }
.tb-coupon__panel[hidden] { display: none !important; }
.tb-coupon__panel > label { color: #111; font-size: 12px; font-weight: 700; }
.tb-coupon__controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; }
.tb-coupon__controls input { width: 100%; min-width: 0; height: 44px; padding: 0 13px; color: #111; background: #fff; border: 1px solid #d7d7da; border-radius: 8px; font: 500 14px/1 var(--font-body, "Open Sans", sans-serif); text-transform: uppercase; }
.tb-coupon__controls input:focus { border-color: #d3145a; box-shadow: 0 0 0 3px rgba(211,20,90,.1); outline: 0; }
.tb-coupon__controls button { height: 44px; padding: 0 18px; color: #fff; background: #111; border: 0; border-radius: 8px; font-size: 13px; font-weight: 800; cursor: pointer; }
.tb-coupon__controls button:hover { background: #d3145a; }
.tb-coupon__controls button:disabled { opacity: .6; cursor: wait; }
.tb-coupon__applied,
.tb-coupon__message { margin: 0; font-size: 12px; line-height: 1.45; }
.tb-coupon__applied { color: #17663b; font-weight: 700; }
.tb-coupon__message { color: #17663b; }
.tb-coupon__message.is-error { color: #b42318; }
body.tb-bagages-payment form#order_review > #payment { overflow: hidden; margin: 0; padding: 0; background: #fff; border: 3px solid #111; border-radius: 10px; box-shadow: none; user-select: none; }
body.tb-bagages-payment #payment .wc_payment_methods { margin: 0; padding: 0; border: 0; }
body.tb-bagages-payment #payment .wc_payment_method { margin: 0; padding: 0; border-bottom: 1px solid #ddd; list-style: none; }
body.tb-bagages-payment #payment .wc_payment_method > .input-radio { display: none; }
body.tb-bagages-payment #payment .wc_payment_method > label { position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 0; margin: 0; padding: 1rem 1.5rem; color: #111; background: #fff; border: 0; border-radius: 0; font-family: var(--font-heading, Poppins, sans-serif); font-size: 18px; font-weight: 800; cursor: pointer; }
body.tb-bagages-payment #payment .wc_payment_method > label::before { content: '\f111'; width: auto; height: auto; margin-right: 20px; color: #aaa; background: transparent; border: 0; border-radius: 0; box-shadow: none; font-family: "Font Awesome 5 Free"; font-size: 23px; font-weight: 400; }
body.tb-bagages-payment #payment .wc_payment_method > .input-radio:checked + label::before { content: '\f192'; color: #58dc4e; }
body.tb-bagages-payment #payment .wc_payment_method > label img { display: none !important; }
body.tb-bagages-payment #payment .payment_box { position: relative; width: auto; margin: 0 1.5rem 1.5rem; padding: 0; color: #000; background: transparent; border-radius: 0; }
body.tb-bagages-payment #payment .payment_box::before { content: none; }
body.tb-bagages-payment #payment div.form-row { margin: 0; padding: 1.5rem; }
body.tb-bagages-payment #payment .woocommerce-privacy-policy-text { margin: 0 0 18px; color: #686a71; font-size: 13px; line-height: 1.55; }
body.tb-bagages-payment #payment #place_order { width: 100%; min-height: 60px; margin: 0; padding: 13px 20px; color: #fff; background: #d3145a; border: 0; border-radius: 9px; font-family: var(--font-heading, Poppins, sans-serif); font-size: 19px; font-weight: 800; line-height: 34px; }
body.tb-bagages-payment #payment #place_order:hover { background: #b70d4b; }

@media (max-width: 850px) {
	body.tb-bagages-payment .brk-container { width: min(1464px, calc(100% - 30px)); }
	body.tb-bagages-payment .brk-page-content { padding-top: 24px; }
    body.tb-bagages-payment form#order_review { grid-template-columns: 1fr; }
    body.tb-bagages-payment form#order_review > #payment { position: static; }
}

@media (max-width: 520px) {
    body.tb-bagages-payment form#order_review > .shop_table th,
	body.tb-bagages-payment form#order_review > .shop_table td { padding: 11px 5px; font-size: 11px; }
	body.tb-bagages-payment form#order_review > .shop_table thead th { font-size: 8px; letter-spacing: .025em; }
	body.tb-bagages-payment form#order_review > .shop_table .product-name { font-size: 11px; }
	body.tb-bagages-payment form#order_review > .shop_table .tb-coupon-row td { padding: 14px 10px; }
	.tb-coupon__controls { grid-template-columns: 1fr; }
	.tb-coupon__controls button { width: 100%; }
	body.tb-bagages-payment #payment .wc_payment_method > label { padding: .75rem 1rem; font-size: 16px; }
	body.tb-bagages-payment #payment .payment_box { margin: 0 1rem 1rem; }
	body.tb-bagages-payment #payment div.form-row { padding: 1rem; }
}

@media (min-width: 851px) {
    body.tb-bagages-payment form#order_review > #payment { position: sticky; top: 57px; }
}
