/* v1.16.23: fitting-centre selection within the date/time step. */
.mtb-booking .mtb-centre-picker {
    min-width: 0;
    margin: 0 0 22px;
    padding: 0;
    border: 0;
}

.mtb-booking .mtb-centre-picker legend {
    float: none;
    width: auto;
    margin: 0 0 10px;
    padding: 0;
    color: #122033;
    font-size: 13px;
    font-weight: 700;
}

.mtb-booking .mtb-centre-options { display: grid; gap: 10px; }
.mtb-booking label.mtb-centre-option {
    position: relative;
    display: block;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

.mtb-booking input.mtb-centre-radio {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
}

.mtb-booking .mtb-centre-card {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 17px;
    border: 1px solid #d7e2ed;
    border-radius: 14px;
    background: #fff;
    color: #122033;
    transition: border-color .15s ease, background-color .15s ease;
}

.mtb-booking .mtb-centre-option:hover .mtb-centre-card { border-color: #0b73d9; }
.mtb-booking .mtb-centre-radio:checked + .mtb-centre-card {
    border-color: #0b73d9;
    background: #f0f7ff;
    box-shadow: inset 0 0 0 1px #0b73d9;
}
.mtb-booking .mtb-centre-radio:focus-visible + .mtb-centre-card {
    outline: 3px solid #0b73d9;
    outline-offset: 3px;
}

.mtb-booking .mtb-centre-pin {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: #eaf3fc;
    color: #0b73d9;
}
.mtb-booking .mtb-centre-pin svg { width: 23px; height: 23px; }
.mtb-booking .mtb-centre-copy strong {
    display: block;
    color: #122033;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}
.mtb-booking .mtb-centre-copy > span {
    display: block;
    margin-top: 4px;
    color: #536579;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
.mtb-booking .mtb-centre-state {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #426180;
    font-size: 12px;
    font-weight: 600;
}
.mtb-booking .mtb-centre-check {
    display: block;
    width: 20px;
    height: 20px;
    border: 1.5px solid #b8cadb;
    border-radius: 50%;
}
.mtb-booking .mtb-centre-selected { display: none; }
.mtb-booking .mtb-centre-radio:checked + .mtb-centre-card .mtb-centre-select { display: none; }
.mtb-booking .mtb-centre-radio:checked + .mtb-centre-card .mtb-centre-selected { display: inline; color: #075cab; }
.mtb-booking .mtb-centre-radio:checked + .mtb-centre-card .mtb-centre-check {
    border: 5px solid #0b73d9;
    background: #fff;
}

.mtb-booking .mtb-centre-review {
    display: grid;
    gap: 3px;
    margin: 0 0 20px;
    padding: 13px 15px;
    border: 1px solid #e0e8f0;
    border-radius: 12px;
    background: #f8fafc;
    color: #536579;
    font-size: 13px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
.mtb-booking .mtb-centre-review-label { font-size: 11px; font-weight: 600; }
.mtb-booking .mtb-centre-review strong { color: #122033; font-size: 14px; }
.mtb-booking .mtb-centre-review small { margin-top: 5px; font-size: 12px; }

@media (max-width: 480px) {
    .mtb-booking .mtb-centre-card { grid-template-columns: 32px minmax(0, 1fr) 20px; gap: 10px; padding: 13px 12px; }
    .mtb-booking .mtb-centre-pin { width: 32px; height: 36px; }
    .mtb-booking .mtb-centre-copy strong { font-size: 14px; }
    .mtb-booking .mtb-centre-state > span:not(.mtb-centre-check) { display: none !important; }
}

.mtb-booking,
.mtb-booking * {
    box-sizing: border-box;
}

/*
 * MyTPMS Booking v1.6.1
 * TPMS booking form UI.
 * Button selectors intentionally use high specificity and !important so
 * Elementor/WooCommerce theme styles cannot turn cards into coloured blobs.
 */
.mtb-booking {
    --mtb-primary: #0b73d9 !important;
    --mtb-primary-rgb: 11, 115, 217;
    --mtb-primary-dark: #063f7a;
    --mtb-accent: #1bd4ff;
    --mtb-ink: #07182f;
    --mtb-text: #122033;
    --mtb-muted: #69758a;
    --mtb-subtle: #98a2b3;
    --mtb-border: rgba(15, 23, 42, 0.10);
    --mtb-border-strong: rgba(15, 23, 42, 0.16);
    --mtb-card: rgba(255, 255, 255, 0.92);
    --mtb-card-solid: #ffffff;
    --mtb-soft: #f5f8fc;
    --mtb-blue-soft: #eff7ff;
    --mtb-success: #12b76a;
    --mtb-danger: #b42318;
    --mtb-shadow: 0 28px 70px rgba(3, 20, 38, 0.14);
    --mtb-shadow-soft: 0 16px 35px rgba(3, 20, 38, 0.08);
    --mtb-radius-xl: 30px;
    --mtb-radius-lg: 22px;
    --mtb-radius-md: 16px;

    position: relative;
    isolation: isolate;
    width: 100%;
    max-width: 1160px;
    margin: 34px auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 22px;
    align-items: start;
    font-family: inherit;
    color: var(--mtb-text);
}

.mtb-booking::before {
    content: "";
    position: absolute;
    inset: -26px;
    z-index: -3;
    border-radius: 42px;
    background:
        radial-gradient(circle at 14% 10%, rgba(var(--mtb-primary-rgb), 0.13), transparent 34%),
        radial-gradient(circle at 88% 22%, rgba(27, 212, 255, 0.16), transparent 32%),
        linear-gradient(135deg, #f8fbff 0%, #ffffff 46%, #f4f9ff 100%);
}

.mtb-bg-orb {
    position: absolute;
    z-index: -2;
    pointer-events: none;
    filter: blur(2px);
    opacity: 0.9;
}

.mtb-bg-orb-one {
    width: 190px;
    height: 190px;
    left: -46px;
    top: 90px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(var(--mtb-primary-rgb), 0.18), rgba(var(--mtb-primary-rgb), 0));
}

.mtb-bg-orb-two {
    width: 250px;
    height: 250px;
    right: 120px;
    bottom: -70px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(27, 212, 255, 0.16), rgba(27, 212, 255, 0));
}

.mtb-booking button,
.mtb-booking input,
.mtb-booking select,
.mtb-booking textarea {
    font-family: inherit;
}

.mtb-booking button {
    -webkit-appearance: none;
    appearance: none;
    text-shadow: none !important;
    box-shadow: none;
}

.mtb-main-card,
.mtb-summary-card {
    border: 1px solid rgba(255, 255, 255, 0.78);
    background: var(--mtb-card);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: var(--mtb-radius-xl);
    box-shadow: var(--mtb-shadow);
}

.mtb-main-card {
    overflow: hidden;
}

.mtb-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px;
    min-height: 240px;
    padding: 34px 34px 30px;
    background:
        radial-gradient(circle at 88% 6%, rgba(27, 212, 255, 0.30), transparent 30%),
        radial-gradient(circle at 0% 100%, rgba(var(--mtb-primary-rgb), 0.18), transparent 36%),
        linear-gradient(135deg, #081a33 0%, #0b376d 54%, #0b73d9 100%);
    color: #ffffff;
}

.mtb-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.10) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.55), transparent 82%);
    opacity: 0.35;
}

.mtb-hero-copy {
    position: relative;
    z-index: 2;
    align-self: center;
}

.mtb-eyebrow,
.mtb-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 11px;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.mtb-eyebrow {
    color: #d9f4ff;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.mtb-hero h2 {
    margin: 15px 0 9px;
    max-width: 650px;
    color: #ffffff;
    font-size: clamp(34px, 4.8vw, 58px);
    line-height: 0.98;
    font-weight: 950;
    letter-spacing: -0.065em;
}

.mtb-hero p {
    margin: 0;
    max-width: 600px;
    color: rgba(255, 255, 255, 0.80);
    font-size: 16px;
    line-height: 1.55;
}

.mtb-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 19px;
}

.mtb-hero-pills span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.13);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 12px;
    font-weight: 850;
}

.mtb-hero-pills span::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--mtb-accent);
    box-shadow: 0 0 12px rgba(27, 212, 255, 0.75);
}

.mtb-hero-visual {
    position: relative;
    z-index: 2;
    min-height: 180px;
}

.mtb-wheel {
    position: absolute;
    right: 10px;
    top: 8px;
    width: 172px;
    height: 172px;
    border-radius: 999px;
    border: 17px solid rgba(255, 255, 255, 0.22);
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.92) 0 12%, rgba(255, 255, 255, 0.18) 13% 19%, transparent 20% 100%),
        conic-gradient(from 0deg, rgba(255,255,255,0.10), rgba(255,255,255,0.55), rgba(255,255,255,0.10), rgba(255,255,255,0.52), rgba(255,255,255,0.10));
    box-shadow: inset 0 0 0 12px rgba(5, 18, 36, 0.15), 0 26px 55px rgba(1, 10, 23, 0.26);
}

.mtb-wheel::before,
.mtb-wheel::after {
    content: "";
    position: absolute;
    inset: 33px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.34);
}

.mtb-wheel::after {
    inset: 58px;
    background: rgba(255, 255, 255, 0.85);
}

.mtb-wheel-dot {
    position: absolute;
    right: 8px;
    top: 68px;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 0 0 5px rgba(27, 212, 255, 0.20), 0 0 22px rgba(27, 212, 255, 0.65);
}

.mtb-wheel-hub {
    position: absolute;
    inset: 68px;
    z-index: 2;
    border-radius: 999px;
    background: var(--mtb-primary-dark);
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.25);
}

.mtb-tool-card {
    position: absolute;
    right: 0;
    bottom: -6px;
    width: 156px;
    padding: 13px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    background: rgba(4, 17, 34, 0.84);
    box-shadow: 0 28px 55px rgba(1, 10, 23, 0.34);
    transform: rotate(-4deg);
}

.mtb-tool-screen {
    display: block;
    min-height: 48px;
    border-radius: 14px;
    padding: 14px 12px;
    background: linear-gradient(135deg, rgba(18, 183, 106, 0.22), rgba(27, 212, 255, 0.14));
    color: #ffffff;
    font-size: 13px;
    font-weight: 950;
    text-align: center;
    letter-spacing: 0.04em;
}

.mtb-tool-bars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    margin-top: 12px;
}

.mtb-tool-bars i {
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
}

.mtb-progress {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 22px 28px 0;
    margin: 0;
}

.mtb-progress::before {
    content: "";
    position: absolute;
    left: 52px;
    right: 52px;
    top: 42px;
    height: 2px;
    background: linear-gradient(90deg, rgba(var(--mtb-primary-rgb), 0.18), rgba(var(--mtb-primary-rgb), 0.06));
}

.mtb-booking button.mtb-progress-step {
    position: relative;
    z-index: 2;
    min-height: 62px;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--mtb-muted) !important;
    display: grid;
    justify-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 850;
    line-height: 1;
    cursor: default;
    box-shadow: none !important;
}

.mtb-step-number {
    width: 39px;
    height: 39px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid var(--mtb-border-strong);
    box-shadow: 0 8px 18px rgba(3, 20, 38, 0.06);
    color: var(--mtb-muted);
    transition: 0.18s ease;
}

.mtb-step-label {
    display: block;
    color: inherit;
}

.mtb-booking button.mtb-progress-step.is-active,
.mtb-booking button.mtb-progress-step.is-complete {
    color: var(--mtb-primary-dark) !important;
}

.mtb-booking button.mtb-progress-step.is-active .mtb-step-number,
.mtb-booking button.mtb-progress-step.is-complete .mtb-step-number {
    background: var(--mtb-primary);
    border-color: var(--mtb-primary);
    color: #ffffff;
    box-shadow: 0 13px 26px rgba(var(--mtb-primary-rgb), 0.26);
}

.mtb-form {
    padding: 22px 28px 28px;
}

.mtb-section-head {
    margin: 0 0 18px;
}

.mtb-section-head span {
    display: inline-block;
    margin: 0 0 8px;
    color: var(--mtb-primary);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.mtb-section-head h3 {
    margin: 0 0 7px;
    color: var(--mtb-ink);
    font-size: clamp(22px, 2.6vw, 30px);
    line-height: 1.06;
    font-weight: 950;
    letter-spacing: -0.045em;
}

.mtb-section-head p {
    margin: 0;
    max-width: 660px;
    color: var(--mtb-muted);
    font-size: 14px;
    line-height: 1.55;
}

.mtb-step {
    display: none;
    animation: mtbFade 0.2s ease-in-out;
}

.mtb-step.is-active {
    display: block;
}

@keyframes mtbFade {
    from { opacity: 0; transform: translateY(7px); }
    to { opacity: 1; transform: translateY(0); }
}

.mtb-services {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.mtb-booking button.mtb-service {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 178px;
    margin: 0 !important;
    padding: 18px !important;
    border: 1px solid var(--mtb-border) !important;
    border-radius: 24px !important;
    background:
        linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
    color: var(--mtb-text) !important;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 14px;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
    box-shadow: 0 1px 2px rgba(3, 20, 38, 0.04) !important;
}

.mtb-booking button.mtb-service::after {
    content: "";
    position: absolute;
    right: -46px;
    top: -46px;
    width: 130px;
    height: 130px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(var(--mtb-primary-rgb), 0.15), rgba(var(--mtb-primary-rgb), 0));
    opacity: 0;
    transition: 0.18s ease;
}

.mtb-booking button.mtb-service:hover,
.mtb-booking button.mtb-service.is-selected {
    border-color: rgba(var(--mtb-primary-rgb), 0.40) !important;
    background: linear-gradient(180deg, #ffffff 0%, #f4faff 100%) !important;
    box-shadow: 0 18px 36px rgba(3, 20, 38, 0.10) !important;
    transform: translateY(-2px);
}

.mtb-booking button.mtb-service:hover::after,
.mtb-booking button.mtb-service.is-selected::after {
    opacity: 1;
}

.mtb-booking button.mtb-service.is-selected {
    outline: 3px solid rgba(var(--mtb-primary-rgb), 0.10) !important;
}

.mtb-service-icon {
    position: relative;
    z-index: 1;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: var(--mtb-blue-soft) !important;
    color: var(--mtb-primary-dark) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: -0.02em;
    box-shadow: inset 0 0 0 1px rgba(var(--mtb-primary-rgb), 0.08);
}

.mtb-booking button.mtb-service.is-selected .mtb-service-icon {
    background: var(--mtb-primary) !important;
    color: #ffffff !important;
    box-shadow: 0 14px 24px rgba(var(--mtb-primary-rgb), 0.24);
}

.mtb-service-content {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 7px;
}

.mtb-service-content strong {
    color: var(--mtb-ink);
    font-size: 17px;
    line-height: 1.25;
    font-weight: 950;
    letter-spacing: -0.02em;
}

.mtb-service-content small {
    color: var(--mtb-muted);
    font-size: 13.5px;
    line-height: 1.48;
    font-weight: 600;
}

.mtb-service-meta {
    position: relative;
    z-index: 1;
    justify-self: start;
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(var(--mtb-primary-rgb), 0.08);
    color: var(--mtb-primary-dark);
    font-style: normal;
    font-weight: 950;
    font-size: 12px;
}

.mtb-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.mtb-wide {
    grid-column: 1 / -1;
}

.mtb-grid label,
.mtb-date-card label {
    display: grid;
    gap: 8px;
    color: var(--mtb-ink);
    font-size: 13px;
    font-weight: 900;
    line-height: 1.25;
}

.mtb-grid input,
.mtb-grid select,
.mtb-grid textarea,
.mtb-date-card input {
    width: 100%;
    min-height: 52px;
    border: 1px solid var(--mtb-border) !important;
    border-radius: 17px !important;
    padding: 13px 15px !important;
    background: rgba(255, 255, 255, 0.94) !important;
    color: var(--mtb-text) !important;
    font: inherit;
    font-size: 14px;
    font-weight: 650;
    outline: none !important;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
    box-shadow: 0 1px 2px rgba(3, 20, 38, 0.03) !important;
}

.mtb-grid textarea {
    min-height: 118px;
    resize: vertical;
}

.mtb-grid input:focus,
.mtb-grid select:focus,
.mtb-grid textarea:focus,
.mtb-date-card input:focus {
    border-color: rgba(var(--mtb-primary-rgb), 0.55) !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(var(--mtb-primary-rgb), 0.10) !important;
}

.mtb-grid input::placeholder,
.mtb-grid textarea::placeholder {
    color: #9aa5b5;
}

.mtb-checkbox {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: flex-start;
    gap: 11px !important;
    padding: 14px;
    border: 1px solid var(--mtb-border);
    border-radius: 18px;
    background: #ffffff;
    color: var(--mtb-muted) !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
}

.mtb-checkbox input {
    width: auto !important;
    min-height: 0 !important;
    margin-top: 3px !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.mtb-date-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 16px;
}

.mtb-date-card,
.mtb-time-panel {
    min-height: 230px;
    padding: 18px;
    border: 1px solid var(--mtb-border);
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow: 0 1px 2px rgba(3, 20, 38, 0.04);
}

.mtb-date-chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-top: 15px;
}

.mtb-booking button.mtb-date-chip {
    min-height: 58px;
    padding: 10px !important;
    border: 1px solid var(--mtb-border) !important;
    border-radius: 17px !important;
    background: #ffffff !important;
    color: var(--mtb-text) !important;
    display: grid;
    gap: 3px;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(3, 20, 38, 0.03) !important;
    transition: 0.16s ease;
}

.mtb-booking button.mtb-date-chip strong {
    color: var(--mtb-ink);
    font-size: 13px;
    font-weight: 950;
}

.mtb-booking button.mtb-date-chip span {
    color: var(--mtb-muted);
    font-size: 12px;
    font-weight: 750;
}

.mtb-booking button.mtb-date-chip:hover,
.mtb-booking button.mtb-date-chip.is-selected {
    border-color: var(--mtb-primary) !important;
    background: var(--mtb-primary) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 14px 24px rgba(var(--mtb-primary-rgb), 0.18) !important;
}

.mtb-booking button.mtb-date-chip:hover strong,
.mtb-booking button.mtb-date-chip:hover span,
.mtb-booking button.mtb-date-chip.is-selected strong,
.mtb-booking button.mtb-date-chip.is-selected span {
    color: #ffffff !important;
}

.mtb-booking button.mtb-date-chip:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}

.mtb-time-help {
    margin: 0 0 14px;
    color: var(--mtb-ink);
    font-size: 14px;
    font-weight: 950;
}

.mtb-times {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}

.mtb-booking button.mtb-time {
    min-width: 0;
    min-height: 47px;
    padding: 10px 12px !important;
    border: 1px solid var(--mtb-border) !important;
    border-radius: 15px !important;
    background: #ffffff !important;
    color: var(--mtb-text) !important;
    font-size: 13px;
    font-weight: 950;
    cursor: pointer;
    transition: 0.16s ease;
    box-shadow: 0 1px 2px rgba(3, 20, 38, 0.03) !important;
}

.mtb-booking button.mtb-time:hover,
.mtb-booking button.mtb-time.is-selected {
    border-color: var(--mtb-primary) !important;
    background: var(--mtb-primary) !important;
    color: #ffffff !important;
    box-shadow: 0 14px 24px rgba(var(--mtb-primary-rgb), 0.18) !important;
    transform: translateY(-1px);
}

.mtb-date-message {
    margin: 12px 0 0;
    min-height: 20px;
    color: var(--mtb-danger);
    font-weight: 800;
    font-size: 13px;
}

.mtb-alert {
    display: none;
    margin-top: 18px;
    padding: 15px 16px;
    border: 1px solid #fed7aa;
    border-radius: 18px;
    background: #fff7ed;
    color: #9a3412;
    font-weight: 750;
    line-height: 1.5;
}

.mtb-alert.is-visible {
    display: block;
}

.mtb-alert.is-success {
    border-color: #abefc6;
    background: #ecfdf3;
    color: #027a48;
}

.mtb-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 24px;
}

.mtb-booking button.mtb-btn {
    min-width: 142px;
    min-height: 52px;
    padding: 14px 22px !important;
    border: 1px solid var(--mtb-primary) !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, var(--mtb-primary), #075bb0) !important;
    color: #ffffff !important;
    font: inherit;
    font-size: 14px;
    font-weight: 950;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, opacity 0.16s ease;
    box-shadow: 0 14px 26px rgba(var(--mtb-primary-rgb), 0.22) !important;
}

.mtb-booking button.mtb-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(var(--mtb-primary-rgb), 0.28) !important;
}

.mtb-booking button.mtb-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none !important;
}

.mtb-booking button.mtb-btn-secondary {
    border-color: var(--mtb-border) !important;
    background: #ffffff !important;
    color: var(--mtb-muted) !important;
    box-shadow: 0 1px 2px rgba(3, 20, 38, 0.04) !important;
}

.mtb-submit[hidden],
.mtb-next[hidden] {
    display: none !important;
}

.mtb-summary {
    position: relative;
}

.mtb-summary-card {
    position: sticky;
    top: 24px;
    padding: 22px;
    background:
        radial-gradient(circle at 90% 0%, rgba(var(--mtb-primary-rgb), 0.12), transparent 32%),
        rgba(255, 255, 255, 0.92);
}

.mtb-summary-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.mtb-badge {
    background: var(--mtb-blue-soft);
    color: var(--mtb-primary-dark);
    border: 1px solid rgba(var(--mtb-primary-rgb), 0.10);
}

.mtb-mini-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--mtb-muted);
    font-size: 12px;
    font-weight: 850;
}

.mtb-mini-status span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--mtb-success);
    box-shadow: 0 0 0 4px rgba(18, 183, 106, 0.10);
}

.mtb-summary-card h3 {
    margin: 18px 0 6px;
    color: var(--mtb-ink);
    font-size: 25px;
    line-height: 1.08;
    font-weight: 950;
    letter-spacing: -0.045em;
}

.mtb-summary-service {
    margin: 0 0 17px;
    color: var(--mtb-muted);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}

.mtb-summary-box {
    display: grid;
    gap: 9px;
    margin: 0 0 17px;
}

.mtb-summary-box > div {
    padding: 13px 14px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid var(--mtb-border);
    box-shadow: 0 1px 2px rgba(3, 20, 38, 0.03);
}

.mtb-summary-box small {
    display: block;
    margin: 0 0 4px;
    color: var(--mtb-muted);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.mtb-summary-box strong {
    display: block;
    color: var(--mtb-ink);
    font-size: 13.5px;
    font-weight: 900;
    line-height: 1.38;
}

.mtb-summary-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 9px;
}

.mtb-summary-card li {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 3px;
    color: var(--mtb-muted);
    font-size: 13px;
    line-height: 1.42;
}

.mtb-summary-card li strong {
    color: var(--mtb-ink);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.mtb-summary-card li span {
    color: var(--mtb-muted);
}

.mtb-summary-note {
    margin-top: 17px;
    padding: 15px;
    border-radius: 20px;
    background: linear-gradient(135deg, #081a33, #0b376d);
    color: rgba(255, 255, 255, 0.86);
    font-size: 13px;
    font-weight: 750;
    line-height: 1.48;
}

@media (max-width: 1040px) {
    .mtb-booking {
        max-width: 760px;
        grid-template-columns: 1fr;
        gap: 18px;
        margin: 24px auto;
    }

    .mtb-summary-card {
        position: static;
    }
}

@media (max-width: 760px) {
    .mtb-booking::before {
        inset: -14px;
        border-radius: 30px;
    }

    .mtb-main-card,
    .mtb-summary-card {
        border-radius: 24px;
    }

    .mtb-hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 26px 22px;
    }

    .mtb-hero-visual {
        display: none;
    }

    .mtb-hero h2 {
        font-size: 38px;
    }

    .mtb-progress {
        padding: 18px 18px 0;
        gap: 8px;
    }

    .mtb-progress::before {
        display: none;
    }

    .mtb-booking button.mtb-progress-step {
        min-height: 54px;
    }

    .mtb-step-label {
        display: none;
    }

    .mtb-form {
        padding: 18px;
    }

    .mtb-services,
    .mtb-grid,
    .mtb-date-layout {
        grid-template-columns: 1fr;
    }

    .mtb-booking button.mtb-service {
        min-height: auto;
    }

    .mtb-date-chips,
    .mtb-times {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .mtb-booking {
        margin: 16px auto;
    }

    .mtb-hero h2 {
        font-size: 34px;
    }

    .mtb-hero-pills {
        gap: 7px;
    }

    .mtb-hero-pills span {
        padding: 8px 10px;
        font-size: 11px;
    }

    .mtb-actions {
        flex-direction: column-reverse;
    }

    .mtb-booking button.mtb-btn {
        width: 100%;
    }
}


/*
 * v1.3 visual refresh
 */
.mtb-booking {
    max-width: 1240px;
    gap: 26px;
    perspective: 1800px;
}

.mtb-booking::before {
    inset: -34px;
    border-radius: 52px;
    background:
        radial-gradient(circle at 8% 14%, rgba(var(--mtb-primary-rgb), 0.17), transparent 30%),
        radial-gradient(circle at 88% 12%, rgba(27, 212, 255, 0.22), transparent 25%),
        radial-gradient(circle at 86% 86%, rgba(255, 176, 32, 0.11), transparent 18%),
        linear-gradient(135deg, #f4f8ff 0%, #ffffff 42%, #eef7ff 100%);
}

.mtb-bg-orb {
    filter: blur(16px);
}

.mtb-bg-orb-one {
    width: 220px;
    height: 220px;
    left: -70px;
    top: 130px;
}

.mtb-bg-orb-two {
    width: 300px;
    height: 300px;
    right: 80px;
    bottom: -90px;
}

.mtb-main-card,
.mtb-summary-card {
    background: rgba(255, 255, 255, 0.70);
    border: 1px solid rgba(255, 255, 255, 0.82);
    box-shadow:
        0 32px 85px rgba(2, 14, 29, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.mtb-main-card {
    overflow: visible;
}

.mtb-summary {
    position: sticky;
    top: 24px;
}

.mtb-summary-card {
    transform: translateY(10px);
}

.mtb-hero {
    grid-template-columns: minmax(0, 1fr) 290px;
    min-height: 278px;
    padding: 36px 34px 42px;
    background:
        radial-gradient(circle at 90% 10%, rgba(27, 212, 255, 0.32), transparent 32%),
        radial-gradient(circle at 6% 100%, rgba(255, 176, 32, 0.18), transparent 34%),
        linear-gradient(135deg, #061224 0%, #0a2550 40%, #0d4d9e 72%, #1b84ff 100%);
}

.mtb-hero::before {
    content: "";
    position: absolute;
    right: 34px;
    top: 32px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.05) 35%, rgba(255,255,255,0) 70%);
    filter: blur(4px);
    opacity: 0.9;
}

.mtb-hero::after {
    opacity: 0.28;
}

.mtb-hero h2 {
    max-width: 680px;
    font-size: clamp(36px, 5vw, 60px);
}

.mtb-hero-copy {
    padding-right: 20px;
}

.mtb-hero-visual {
    min-height: 210px;
}

.mtb-visual-glow {
    position: absolute;
    right: 25px;
    top: 10px;
    width: 235px;
    height: 235px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(27, 212, 255, 0.42), rgba(27, 212, 255, 0.08) 35%, rgba(27, 212, 255, 0) 70%);
    filter: blur(10px);
}

.mtb-warning-panel {
    position: absolute;
    right: 2px;
    top: 6px;
    width: 220px;
    padding: 18px 18px 16px;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(7, 20, 38, 0.75), rgba(7, 20, 38, 0.54));
    border: 1px solid rgba(255, 255, 255, 0.20);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 30px 60px rgba(2, 10, 22, 0.30);
    transform: rotate(-7deg) translateZ(0);
}

.mtb-warning-panel::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    border: 1px solid rgba(255,255,255,0.06);
    pointer-events: none;
}

.mtb-warning-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255,176,32,0.12);
    border: 1px solid rgba(255,176,32,0.22);
    color: #ffd17b;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mtb-warning-icon-wrap {
    display: grid;
    place-items: center;
    width: 114px;
    height: 114px;
    margin: 12px auto 14px;
    border-radius: 28px;
    background: radial-gradient(circle at 50% 42%, rgba(255,176,32,0.18), rgba(255,176,32,0.02) 62%), rgba(255,255,255,0.02);
    border: 1px solid rgba(255,176,32,0.16);
    box-shadow: inset 0 0 30px rgba(255,176,32,0.08), 0 0 24px rgba(255,176,32,0.14);
}

.mtb-warning-icon {
    width: 82px;
    height: 82px;
    filter: drop-shadow(0 0 18px rgba(255,176,32,0.28));
}

.mtb-warning-text {
    display: grid;
    gap: 5px;
    text-align: center;
}

.mtb-warning-text strong {
    color: #ffffff;
    font-size: 17px;
    font-weight: 950;
    letter-spacing: -0.03em;
}

.mtb-warning-text small {
    color: rgba(255,255,255,0.72);
    font-size: 12px;
    line-height: 1.45;
}

.mtb-mini-card {
    position: absolute;
    left: 8px;
    bottom: -8px;
    width: 200px;
    padding: 15px 16px 15px 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 24px 48px rgba(1, 10, 23, 0.22);
}

.mtb-mini-card strong,
.mtb-mini-card small {
    display: block;
}

.mtb-mini-card strong {
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
    margin-left: 19px;
}

.mtb-mini-card small {
    margin-top: 6px;
    color: rgba(255,255,255,0.74);
    font-size: 11px;
    line-height: 1.45;
}

.mtb-mini-dot {
    position: absolute;
    left: 18px;
    top: 18px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #1bd4ff;
    box-shadow: 0 0 14px rgba(27, 212, 255, 0.9);
}

.mtb-floating-chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    padding: 10px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.02em;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 18px 42px rgba(1, 10, 23, 0.18);
}

.mtb-chip-top {
    left: -6px;
    top: 26px;
}

.mtb-chip-bottom {
    right: 18px;
    bottom: -18px;
}

.mtb-progress {
    padding-top: 26px;
}

.mtb-booking button.mtb-service {
    border-radius: 26px !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(247,251,255,0.98) 100%) !important;
    box-shadow: 0 12px 32px rgba(3, 20, 38, 0.06) !important;
}

.mtb-booking button.mtb-service:hover,
.mtb-booking button.mtb-service.is-selected {
    box-shadow: 0 24px 48px rgba(3, 20, 38, 0.11) !important;
}

.mtb-summary-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255,255,255,0.32), rgba(255,255,255,0));
    pointer-events: none;
}

.mtb-summary-card {
    position: relative;
    overflow: hidden;
}

@media (max-width: 980px) {
    .mtb-summary {
        position: static;
    }

    .mtb-hero {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-bottom: 34px;
    }

    .mtb-hero-visual {
        min-height: 250px;
        max-width: 320px;
        margin: 0 auto;
        width: 100%;
    }

    .mtb-chip-top {
        left: 6px;
    }

    .mtb-mini-card {
        left: 0;
    }
}

@media (max-width: 640px) {
    .mtb-booking::before {
        inset: -16px;
        border-radius: 34px;
    }

    .mtb-hero {
        padding: 28px 22px 34px;
    }

    .mtb-hero-visual {
        min-height: 220px;
    }

    .mtb-warning-panel {
        width: 192px;
        right: 0;
    }

    .mtb-warning-icon-wrap {
        width: 96px;
        height: 96px;
    }

    .mtb-warning-icon {
        width: 72px;
        height: 72px;
    }

    .mtb-mini-card {
        width: 182px;
        padding: 14px 14px 14px 16px;
    }

    .mtb-chip-bottom {
        right: 0;
        bottom: -12px;
    }
}


/*
 * v1.4 visual enhancement
 */
.mtb-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
    gap: 18px;
    padding: 0 28px 4px;
    margin-top: -8px;
}

.mtb-showcase-media,
.mtb-showcase-panel {
    position: relative;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,0.74);
    background: rgba(255,255,255,0.66);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 20px 48px rgba(3, 20, 38, 0.08), inset 0 1px 0 rgba(255,255,255,0.85);
}

.mtb-showcase-media {
    overflow: hidden;
    min-height: 252px;
    transform: translateY(-20px);
}

.mtb-showcase-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mtb-showcase-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6,18,36,0) 30%, rgba(6,18,36,0.30) 100%);
    pointer-events: none;
}

.mtb-showcase-float {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.82);
    color: var(--mtb-ink);
    border: 1px solid rgba(255,255,255,0.75);
    box-shadow: 0 18px 38px rgba(3, 20, 38, 0.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    font-size: 12px;
    font-weight: 900;
    animation: mtbFloatSlow 5.4s ease-in-out infinite;
}

.mtb-showcase-float-top {
    top: 16px;
    left: 16px;
}

.mtb-showcase-float-bottom {
    right: 16px;
    bottom: 16px;
    animation-delay: -2.6s;
}

.mtb-showcase-panel {
    padding: 24px 24px 22px;
    display: grid;
    align-content: start;
    gap: 14px;
}

.mtb-showcase-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--mtb-blue-soft);
    color: var(--mtb-primary-dark);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mtb-showcase-panel h3 {
    margin: 0;
    color: var(--mtb-ink);
    font-size: clamp(22px, 2.6vw, 30px);
    line-height: 1.06;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.mtb-showcase-panel p {
    margin: 0;
    color: var(--mtb-muted);
    font-size: 14px;
    line-height: 1.6;
}

.mtb-showcase-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.mtb-showcase-list li {
    position: relative;
    padding-left: 24px;
    color: var(--mtb-text);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}

.mtb-showcase-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mtb-primary), var(--mtb-accent));
    box-shadow: 0 0 14px rgba(27, 212, 255, 0.45);
}

.mtb-showcase-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mtb-showcase-tags span {
    display: inline-flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255,255,255,0.84);
    border: 1px solid rgba(11,115,217,0.10);
    color: var(--mtb-primary-dark);
    font-size: 12px;
    font-weight: 850;
    box-shadow: 0 10px 24px rgba(3,20,38,0.06);
}

.mtb-summary-glow {
    position: absolute;
    top: -40px;
    right: -34px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(27,212,255,0.20), rgba(27,212,255,0) 68%);
    filter: blur(8px);
    pointer-events: none;
}

.mtb-summary-hero {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-top: 12px;
}

.mtb-summary-hero-copy {
    flex: 1;
}

.mtb-summary-warning {
    width: 82px;
    height: 82px;
    flex: 0 0 82px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, rgba(255,176,32,0.10), rgba(255,176,32,0.03));
    border: 1px solid rgba(255,176,32,0.18);
    box-shadow: inset 0 0 30px rgba(255,176,32,0.08), 0 14px 26px rgba(255,176,32,0.10);
}

.mtb-summary-warning svg {
    width: 54px;
    height: 54px;
}

.mtb-summary-preview {
    margin-top: 16px;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.72);
    box-shadow: 0 18px 38px rgba(3, 20, 38, 0.12);
}

.mtb-summary-preview img {
    display: block;
    width: 100%;
    height: 158px;
    object-fit: cover;
}

.mtb-summary-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.mtb-summary-stats span {
    display: inline-flex;
    align-items: center;
    padding: 9px 11px;
    border-radius: 999px;
    background: rgba(255,255,255,0.8);
    border: 1px solid rgba(11,115,217,0.08);
    color: var(--mtb-primary-dark);
    font-size: 11px;
    font-weight: 850;
}

.mtb-summary-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
}

.mtb-summary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 14px;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 900;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.mtb-summary-btn:hover {
    transform: translateY(-2px);
}

.mtb-summary-btn-primary {
    color: #ffffff !important;
    background: linear-gradient(135deg, var(--mtb-primary), #1b84ff) !important;
    box-shadow: 0 18px 34px rgba(11,115,217,0.24);
}

.mtb-summary-btn-secondary {
    color: var(--mtb-primary-dark) !important;
    background: rgba(255,255,255,0.86) !important;
    border: 1px solid rgba(11,115,217,0.12);
    box-shadow: 0 14px 28px rgba(3,20,38,0.08);
}

.mtb-booking button.mtb-service,
.mtb-booking .mtb-date-chip,
.mtb-booking .mtb-time-btn,
.mtb-summary-card,
.mtb-showcase-media,
.mtb-showcase-panel,
.mtb-summary-btn {
    will-change: transform;
}

.mtb-booking button.mtb-service:hover .mtb-service-icon,
.mtb-booking button.mtb-service.is-selected .mtb-service-icon {
    transform: translateY(-1px) scale(1.03);
}

.mtb-booking button.mtb-service:hover .mtb-service-meta,
.mtb-booking button.mtb-service.is-selected .mtb-service-meta {
    color: var(--mtb-primary-dark);
}

.mtb-booking .mtb-date-chip,
.mtb-booking .mtb-time-btn {
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.mtb-booking .mtb-date-chip:hover,
.mtb-booking .mtb-time-btn:hover {
    transform: translateY(-2px);
}

.mtb-mini-card,
.mtb-warning-panel,
.mtb-chip-top,
.mtb-chip-bottom {
    animation: mtbFloatSlow 6.2s ease-in-out infinite;
}

.mtb-warning-panel {
    animation-duration: 5.6s;
}

.mtb-mini-card {
    animation-delay: -2.4s;
}

.mtb-chip-bottom {
    animation-delay: -1.7s;
}

@keyframes mtbFloatSlow {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -7px, 0);
    }
}

@media (max-width: 980px) {
    .mtb-showcase {
        grid-template-columns: 1fr;
    }

    .mtb-showcase-media {
        min-height: 220px;
        transform: none;
    }

    .mtb-summary-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .mtb-showcase {
        padding: 0 22px 4px;
    }

    .mtb-showcase-panel {
        padding: 20px;
    }

    .mtb-summary-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .mtb-summary-warning {
        width: 74px;
        height: 74px;
    }

    .mtb-summary-preview img {
        height: 138px;
    }
}


/*
 * v1.4.1 cleanup: compact showcase, no main image, corrected TPMS icon
 */
.mtb-warning-icon-wrap {
    background: radial-gradient(circle at 50% 42%, rgba(255,176,32,0.15), rgba(255,176,32,0.02) 62%), rgba(255,255,255,0.02);
}

.mtb-warning-icon {
    width: 86px;
    height: 86px;
}

.mtb-summary-warning {
    background: linear-gradient(180deg, rgba(255,176,32,0.08), rgba(255,176,32,0.02));
}

.mtb-showcase-compact {
    grid-template-columns: 1fr;
}

.mtb-showcase-compact .mtb-showcase-panel {
    max-width: none;
    padding: 22px 24px;
}

.mtb-showcase-compact .mtb-showcase-panel h3 {
    margin-bottom: 2px;
}

.mtb-showcase-compact .mtb-showcase-panel p {
    max-width: 760px;
}

/* hide old v1.4 showcase/image specific UI if present in cache */
.mtb-showcase-media,
.mtb-showcase-list,
.mtb-showcase-tags,
.mtb-summary-preview {
    display: none !important;
}

@media (max-width: 640px) {
    .mtb-showcase-compact .mtb-showcase-panel {
        padding: 20px;
    }
}


/* v1.4.2 exact TPMS warning logo asset */
.mtb-warning-icon-img,
.mtb-summary-warning-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mtb-warning-icon-img {
    width: 84px;
    height: 84px;
    filter: drop-shadow(0 0 16px rgba(255,176,32,0.25));
}

.mtb-summary-warning-img {
    width: 54px;
    height: 54px;
    filter: drop-shadow(0 0 10px rgba(255,176,32,0.18));
}

.mtb-warning-icon,
.mtb-summary-warning svg {
    display: none !important;
}


/* v1.6.1 cleanup: remove customer-facing floating labels from hero */
.mtb-floating-chip,
.mtb-mini-card {
    display: none !important;
}

.mtb-warning-panel {
    right: 28px;
    top: 10px;
}

@media (max-width: 640px) {
    .mtb-warning-panel {
        right: 0;
    }
}


/* v1.6.2: keep anti-spam honeypot completely hidden */
.mtb-booking .mtb-honeypot {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
}
.mtb-booking .mtb-honeypot input,
.mtb-booking .mtb-honeypot label {
    position: absolute !important;
    left: -10000px !important;
}

/*
 * v1.7 popup / blurred background booking modal
 */
body.mtb-modal-open {
    overflow: hidden;
}

.mtb-booking-launcher {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    min-height: 54px !important;
    padding: 0 24px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, var(--mtb-primary, #0b73d9), #1b84ff) !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: -0.01em !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-shadow: 0 18px 36px rgba(11, 115, 217, 0.24) !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease !important;
}

.mtb-booking-launcher:hover,
.mtb-booking-launcher:focus {
    transform: translateY(-2px) !important;
    box-shadow: 0 24px 44px rgba(11, 115, 217, 0.30) !important;
    filter: brightness(1.04) !important;
    color: #ffffff !important;
}

.mtb-booking-launcher:focus-visible {
    outline: 3px solid rgba(27, 212, 255, 0.45) !important;
    outline-offset: 3px !important;
}

.mtb-booking-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 28px;
}

.mtb-booking-modal.is-open {
    display: flex;
}

.mtb-modal-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 10%, rgba(11, 115, 217, 0.26), transparent 34%),
        radial-gradient(circle at 86% 18%, rgba(27, 212, 255, 0.22), transparent 30%),
        rgba(2, 10, 23, 0.62);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.mtb-modal-shell {
    position: relative;
    z-index: 1;
    width: min(1240px, 100%);
    max-height: min(92vh, 980px);
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(255, 255, 255, 0.80);
    box-shadow:
        0 40px 120px rgba(0, 0, 0, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
    overflow: hidden;
    animation: mtbModalIn 0.22s ease-out;
}

.mtb-modal-scroll {
    max-height: min(92vh, 980px);
    overflow: auto;
    padding: 18px;
    scrollbar-width: thin;
}

.mtb-modal-close {
    position: absolute !important;
    z-index: 5 !important;
    top: 22px !important;
    right: 22px !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.74) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.90) !important;
    color: #07182f !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 30px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    box-shadow: 0 16px 34px rgba(3, 20, 38, 0.16) !important;
    cursor: pointer !important;
    transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease !important;
}

.mtb-modal-close:hover,
.mtb-modal-close:focus {
    transform: translateY(-1px) !important;
    background: #ffffff !important;
    box-shadow: 0 20px 42px rgba(3, 20, 38, 0.20) !important;
}

.mtb-booking-modal .mtb-booking {
    margin: 0 auto !important;
}

.mtb-booking-modal .mtb-booking::before {
    inset: -12px;
    border-radius: 38px;
}

@keyframes mtbModalIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 782px) {
    .mtb-booking-modal {
        padding: 12px;
        align-items: stretch;
    }

    .mtb-modal-shell {
        width: 100%;
        max-height: calc(100vh - 24px);
        border-radius: 24px;
    }

    .mtb-modal-scroll {
        max-height: calc(100vh - 24px);
        padding: 10px;
    }

    .mtb-modal-close {
        top: 16px !important;
        right: 16px !important;
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        font-size: 28px !important;
    }
}

/*
 * v1.8 performance + lighter popup
 * Popup now lazy-loads the booking form and uses a simplified one-column UI.
 */
.mtb-modal-loader {
    min-height: 180px;
    display: grid;
    place-items: center;
    padding: 44px 28px;
    color: #07182f;
    font-size: 15px;
    font-weight: 850;
    text-align: center;
}

.mtb-modal-loading-shell {
    width: min(520px, 100%) !important;
    background: rgba(255,255,255,0.94) !important;
}

.mtb-booking-modal .mtb-modal-backdrop {
    background: rgba(7, 16, 31, 0.50) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}

.mtb-booking-modal .mtb-modal-shell {
    width: min(940px, 100%) !important;
    max-height: min(88vh, 860px) !important;
    border-radius: 24px !important;
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.10) !important;
    box-shadow: 0 32px 85px rgba(0, 0, 0, 0.28) !important;
}

.mtb-booking-modal .mtb-modal-scroll {
    max-height: min(88vh, 860px) !important;
    padding: 0 !important;
}

.mtb-booking-modal .mtb-modal-close {
    top: 14px !important;
    right: 14px !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    font-size: 24px !important;
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.10) !important;
    box-shadow: 0 10px 24px rgba(3, 20, 38, 0.12) !important;
}

.mtb-booking-modal .mtb-booking.mtb-lite {
    max-width: none !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    margin: 0 !important;
}

.mtb-booking-modal .mtb-lite::before,
.mtb-booking-modal .mtb-lite .mtb-bg-orb,
.mtb-booking-modal .mtb-lite .mtb-hero-visual,
.mtb-booking-modal .mtb-lite .mtb-showcase,
.mtb-booking-modal .mtb-lite .mtb-summary {
    display: none !important;
}

.mtb-booking-modal .mtb-lite .mtb-main-card {
    border-radius: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    overflow: hidden !important;
}

.mtb-booking-modal .mtb-lite .mtb-hero {
    display: block !important;
    min-height: 0 !important;
    padding: 24px 28px 20px !important;
    background: linear-gradient(135deg, #081a33 0%, #0b73d9 100%) !important;
}

.mtb-booking-modal .mtb-lite .mtb-hero::before,
.mtb-booking-modal .mtb-lite .mtb-hero::after {
    display: none !important;
}

.mtb-booking-modal .mtb-lite .mtb-eyebrow {
    padding: 7px 10px !important;
    font-size: 10px !important;
}

.mtb-booking-modal .mtb-lite .mtb-hero h2 {
    margin: 11px 0 7px !important;
    font-size: clamp(28px, 4vw, 40px) !important;
    letter-spacing: -0.04em !important;
}

.mtb-booking-modal .mtb-lite .mtb-hero p {
    max-width: 620px !important;
    font-size: 14px !important;
}

.mtb-booking-modal .mtb-lite .mtb-hero-pills {
    margin-top: 13px !important;
}

.mtb-booking-modal .mtb-lite .mtb-hero-pills span {
    padding: 7px 10px !important;
    font-size: 11px !important;
}

.mtb-booking-modal .mtb-lite .mtb-progress {
    padding: 18px 24px 0 !important;
    gap: 6px !important;
}

.mtb-booking-modal .mtb-lite .mtb-progress::before {
    display: none !important;
}

.mtb-booking-modal .mtb-lite .mtb-step-number {
    width: 32px !important;
    height: 32px !important;
}

.mtb-booking-modal .mtb-lite .mtb-step-label {
    font-size: 11px !important;
}

.mtb-booking-modal .mtb-lite .mtb-form {
    padding: 18px 24px 24px !important;
}

.mtb-booking-modal .mtb-lite .mtb-section-head {
    margin-bottom: 14px !important;
}

.mtb-booking-modal .mtb-lite .mtb-section-head h3 {
    font-size: 24px !important;
}

.mtb-booking-modal .mtb-lite .mtb-section-head p {
    font-size: 13px !important;
}

.mtb-booking-modal .mtb-lite .mtb-services {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
}

.mtb-booking-modal .mtb-lite button.mtb-service {
    min-height: 128px !important;
    padding: 14px !important;
    border-radius: 18px !important;
    gap: 10px !important;
}

.mtb-booking-modal .mtb-lite .mtb-service-icon {
    width: 44px !important;
    height: 44px !important;
    border-radius: 14px !important;
}

.mtb-booking-modal .mtb-lite .mtb-service-content strong {
    font-size: 15px !important;
}

.mtb-booking-modal .mtb-lite .mtb-service-content small,
.mtb-booking-modal .mtb-lite .mtb-service-meta {
    font-size: 12px !important;
}

.mtb-loading-slots {
    width: 100%;
    padding: 14px;
    border-radius: 14px;
    background: #f5f8fc;
    color: #69758a;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
}

@media (max-width: 782px) {
    .mtb-booking-modal .mtb-modal-shell {
        max-height: calc(100vh - 24px) !important;
        border-radius: 20px !important;
    }

    .mtb-booking-modal .mtb-modal-scroll {
        max-height: calc(100vh - 24px) !important;
    }

    .mtb-booking-modal .mtb-lite .mtb-hero {
        padding: 22px 20px 18px !important;
    }

    .mtb-booking-modal .mtb-lite .mtb-progress {
        padding: 16px 18px 0 !important;
    }

    .mtb-booking-modal .mtb-lite .mtb-form {
        padding: 16px 18px 22px !important;
    }

    .mtb-booking-modal .mtb-lite .mtb-services,
    .mtb-booking-modal .mtb-lite .mtb-grid,
    .mtb-booking-modal .mtb-lite .mtb-date-layout {
        grid-template-columns: 1fr !important;
    }
}


/* v1.9 Product Link SMS */
.mtb-product-sms,
.mtb-product-sms * {
    box-sizing: border-box;
}

.mtb-product-sms-button {
    appearance: none !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, var(--mtb-primary, #0b73d9), #1b84ff) !important;
    color: #ffffff !important;
    min-height: 46px;
    padding: 0 22px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 900 !important;
    font-size: 14px !important;
    line-height: 1 !important;
    text-decoration: none !important;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(11, 115, 217, 0.24) !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.mtb-product-sms-button::before {
    content: none !important;
    display: none !important;
}

.mtb-product-sms-button:hover,
.mtb-product-sms-button:focus {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(11, 115, 217, 0.30) !important;
}

.mtb-product-sms-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.mtb-product-sms-modal.is-open {
    display: flex;
}

.mtb-product-sms-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 13, 28, 0.50);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.mtb-product-sms-shell {
    position: relative;
    z-index: 1;
    width: min(94vw, 440px);
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.10);
    box-shadow: 0 30px 80px rgba(2, 14, 29, 0.28);
    padding: 26px;
    color: #122033;
}

.mtb-product-sms-close {
    position: absolute !important;
    right: 14px;
    top: 14px;
    width: 36px;
    height: 36px;
    border: 0 !important;
    border-radius: 999px !important;
    background: #f2f5f9 !important;
    color: #344054 !important;
    font-size: 24px !important;
    line-height: 1 !important;
    cursor: pointer;
}

.mtb-product-sms-head {
    padding-right: 28px;
}

.mtb-product-sms-head span {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 999px;
    background: #eff7ff;
    color: #063f7a;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.mtb-product-sms-head h3 {
    margin: 12px 0 8px;
    color: #07182f;
    font-size: 25px;
    line-height: 1.08;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.mtb-product-sms-head p {
    margin: 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.55;
}

.mtb-product-sms-product {
    margin: 18px 0;
    padding: 14px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    background: #f8fbff;
}

.mtb-product-sms-product small,
.mtb-product-sms-product strong {
    display: block;
}

.mtb-product-sms-product small {
    color: #667085;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 4px;
}

.mtb-product-sms-product strong {
    color: #07182f;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 900;
}

.mtb-product-sms-form {
    display: grid;
    gap: 12px;
}

.mtb-product-sms-label {
    display: grid;
    gap: 7px;
    color: #344054;
    font-size: 13px;
    font-weight: 850;
}

.mtb-product-sms-label input {
    width: 100% !important;
    min-height: 48px;
    border-radius: 14px !important;
    border: 1px solid rgba(15, 23, 42, 0.14) !important;
    background: #ffffff !important;
    color: #07182f !important;
    padding: 0 14px !important;
    font-size: 15px !important;
    box-shadow: none !important;
}

.mtb-product-sms-label input:focus {
    outline: none !important;
    border-color: rgba(11,115,217,0.45) !important;
    box-shadow: 0 0 0 4px rgba(11,115,217,0.10) !important;
}

.mtb-product-sms-submit {
    min-height: 50px;
    border: 0 !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, var(--mtb-primary, #0b73d9), #1b84ff) !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 950 !important;
    cursor: pointer;
    box-shadow: 0 15px 30px rgba(11, 115, 217, 0.22) !important;
}

.mtb-product-sms-submit:disabled {
    opacity: 0.65;
    cursor: wait;
}

.mtb-product-sms-note {
    margin: 0;
    color: #667085;
    font-size: 12px;
    line-height: 1.45;
}

.mtb-product-sms-alert {
    display: none;
    padding: 12px 13px;
    border-radius: 14px;
    background: #fff4ed;
    color: #b42318;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 750;
}

.mtb-product-sms-alert.is-visible {
    display: block;
}

.mtb-product-sms-alert.is-success {
    background: #ecfdf3;
    color: #027a48;
}

body.mtb-product-sms-open {
    overflow: hidden;
}

@media (max-width: 520px) {
    .mtb-product-sms-shell {
        width: 100%;
        padding: 22px;
        border-radius: 20px;
    }
}

/* v1.9.1 WooCommerce automatic product SMS placement */
.mtb-product-sms-auto-wrap {
    margin: 14px 0 0;
    clear: both;
}

.mtb-product-sms-auto-wrap .mtb-product-sms {
    display: block;
}

.mtb-product-sms-auto-wrap .mtb-product-sms-button,
.mtb-product-sms-button-auto {
    width: 100%;
    max-width: 340px;
    min-height: 48px;
    justify-content: center;
    border-radius: 14px !important;
    font-size: 14px !important;
}

.mtb-product-sms-auto-wrap .mtb-product-sms-button::before {
    content: none !important;
    display: none !important;
}

/* v1.9.2 Product SMS stability fix: modal must stay hidden until JS opens it */
.mtb-booking-modal[hidden],
.mtb-product-sms-modal[hidden] {
    display: none !important;
}

.mtb-product-sms-auto-wrap {
    display: block !important;
}

.mtb-product-sms-auto-wrap .mtb-product-sms-modal:not(.is-open) {
    display: none !important;
}


/* v1.9.3 SMS product button icon removed */
.mtb-product-sms-button::before,
.mtb-product-sms-auto-wrap .mtb-product-sms-button::before,
.mtb-product-sms-button-auto::before {
    content: none !important;
    display: none !important;
}

.mtb-product-sms-button {
    gap: 0 !important;
}

/* v1.10.0 product link email option */
.mtb-product-sms-label small {
    color: #98a2b3;
    font-size: 12px;
    font-weight: 700;
}

/* v1.11.0 product call-back request */
.mtb-product-help-auto-wrap {
    margin: 16px 0 0;
    padding: 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    background: #f8fbff;
    max-width: 520px;
}

.mtb-product-help-copy {
    display: grid;
    gap: 4px;
    margin-bottom: 12px;
}

.mtb-product-help-copy strong {
    color: #07182f;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 900;
}

.mtb-product-help-copy span {
    color: #667085;
    font-size: 13px;
    line-height: 1.45;
}

.mtb-product-help-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.mtb-product-help-buttons .mtb-product-sms,
.mtb-product-help-buttons .mtb-product-callback {
    display: inline-flex;
    width: auto;
}

.mtb-product-help-buttons .mtb-product-sms-button,
.mtb-product-help-buttons .mtb-product-callback-button {
    min-width: 0;
    width: auto;
    max-width: none;
    white-space: nowrap;
}

.mtb-product-callback,
.mtb-product-callback * {
    box-sizing: border-box;
}

.mtb-product-callback-button {
    appearance: none !important;
    border-radius: 14px !important;
    border: 1px solid rgba(11, 115, 217, 0.18) !important;
    background: #ffffff !important;
    color: var(--mtb-primary, #0b73d9) !important;
    min-height: 48px;
    padding: 0 22px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-weight: 900 !important;
    font-size: 14px !important;
    line-height: 1 !important;
    text-decoration: none !important;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(3, 20, 38, 0.08) !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.mtb-product-callback-button:hover,
.mtb-product-callback-button:focus {
    transform: translateY(-1px);
    border-color: rgba(11, 115, 217, 0.35) !important;
    box-shadow: 0 16px 32px rgba(3, 20, 38, 0.12) !important;
}

.mtb-product-callback-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.mtb-product-callback-modal.is-open {
    display: flex;
}

.mtb-product-callback-modal[hidden] {
    display: none !important;
}

.mtb-product-callback-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 13, 28, 0.50);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.mtb-product-callback-shell {
    position: relative;
    z-index: 1;
    width: min(94vw, 480px);
    max-height: 92vh;
    overflow: auto;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.10);
    box-shadow: 0 30px 80px rgba(2, 14, 29, 0.28);
    padding: 26px;
    color: #122033;
}

.mtb-product-callback-close {
    position: absolute !important;
    right: 14px;
    top: 14px;
    width: 36px;
    height: 36px;
    border: 0 !important;
    border-radius: 999px !important;
    background: #f2f5f9 !important;
    color: #344054 !important;
    font-size: 24px !important;
    line-height: 1 !important;
    cursor: pointer;
}

.mtb-product-callback-form {
    display: grid;
    gap: 12px;
}

.mtb-product-sms-label select,
.mtb-product-sms-label textarea {
    width: 100% !important;
    border-radius: 14px !important;
    border: 1px solid rgba(15, 23, 42, 0.14) !important;
    background: #ffffff !important;
    color: #07182f !important;
    padding: 12px 14px !important;
    font-size: 15px !important;
    box-shadow: none !important;
}

.mtb-product-sms-label select {
    min-height: 48px;
}

.mtb-product-sms-label textarea {
    min-height: 88px;
    resize: vertical;
}

.mtb-product-sms-label select:focus,
.mtb-product-sms-label textarea:focus {
    outline: none !important;
    border-color: rgba(11,115,217,0.45) !important;
    box-shadow: 0 0 0 4px rgba(11,115,217,0.10) !important;
}

.mtb-product-callback-submit {
    min-height: 50px;
    border: 0 !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, var(--mtb-primary, #0b73d9), #1b84ff) !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 950 !important;
    cursor: pointer;
    box-shadow: 0 15px 30px rgba(11, 115, 217, 0.22) !important;
}

.mtb-product-callback-submit:disabled {
    opacity: 0.65;
    cursor: wait;
}

.mtb-product-callback-alert {
    display: none;
    padding: 12px 13px;
    border-radius: 14px;
    background: #fff4ed;
    color: #b42318;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 750;
}

.mtb-product-callback-alert.is-visible {
    display: block;
}

.mtb-product-callback-alert.is-success {
    background: #ecfdf3;
    color: #027a48;
}

body.mtb-product-callback-open {
    overflow: hidden;
}

@media (max-width: 520px) {
    .mtb-product-help-auto-wrap {
        max-width: none;
        padding: 14px;
    }

    .mtb-product-help-buttons {
        display: grid;
        grid-template-columns: 1fr;
    }

    .mtb-product-help-buttons .mtb-product-sms,
    .mtb-product-help-buttons .mtb-product-callback,
    .mtb-product-help-buttons .mtb-product-sms-button,
    .mtb-product-help-buttons .mtb-product-callback-button {
        width: 100%;
    }

    .mtb-product-callback-shell {
        width: 100%;
        padding: 22px;
        border-radius: 20px;
    }
}

/* v1.12 pricing display */
.mtb-service-meta {
    display: inline-grid;
    gap: 2px;
    padding: 8px 11px;
}

.mtb-service-meta em {
    display: block;
    color: var(--mtb-primary-dark);
    font-style: normal;
    font-size: 13px;
    font-weight: 950;
    line-height: 1.05;
}

.mtb-service-meta small {
    display: block;
    color: var(--mtb-muted);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
}

.mtb-service-price-note {
    position: relative;
    z-index: 1;
    display: block;
    color: var(--mtb-muted);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;
}

.mtb-price-disclaimer {
    margin: 14px 0 0;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 176, 32, 0.08);
    border: 1px solid rgba(255, 176, 32, 0.18);
    color: #694b13;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 700;
}

.mtb-booking-modal .mtb-lite .mtb-service-price-note {
    font-size: 11.5px !important;
}

.mtb-booking-modal .mtb-lite .mtb-price-disclaimer {
    font-size: 12px !important;
    padding: 10px 12px !important;
}


/*
 * v1.12.1 Mobile popup safe-area fix
 * Fixes older iPhone/Safari issue where the Continue/Confirm buttons could sit below the visible screen.
 */
@supports (height: 100dvh) {
    .mtb-booking-modal {
        min-height: 100dvh !important;
        height: 100dvh !important;
    }
}

@supports not (height: 100dvh) {
    .mtb-booking-modal {
        min-height: 100vh !important;
        height: 100vh !important;
    }
}

.mtb-booking-modal {
    overflow: hidden !important;
    padding-top: max(10px, env(safe-area-inset-top)) !important;
    padding-right: max(10px, env(safe-area-inset-right)) !important;
    padding-bottom: max(10px, env(safe-area-inset-bottom)) !important;
    padding-left: max(10px, env(safe-area-inset-left)) !important;
}

.mtb-booking-modal .mtb-modal-shell {
    display: flex !important;
    flex-direction: column !important;
    max-height: calc(100dvh - 20px - env(safe-area-inset-top) - env(safe-area-inset-bottom)) !important;
    overflow: hidden !important;
}

.mtb-booking-modal .mtb-modal-scroll {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
}

.mtb-booking-modal .mtb-lite .mtb-form {
    padding-bottom: calc(96px + env(safe-area-inset-bottom)) !important;
}

.mtb-booking-modal .mtb-lite .mtb-actions {
    position: sticky !important;
    bottom: 0 !important;
    z-index: 20 !important;
    margin: 18px -24px -24px !important;
    padding: 14px 24px calc(14px + env(safe-area-inset-bottom)) !important;
    background: rgba(255, 255, 255, 0.98) !important;
    border-top: 1px solid rgba(15, 23, 42, 0.10) !important;
    box-shadow: 0 -12px 28px rgba(3, 20, 38, 0.08) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

.mtb-booking-modal .mtb-lite .mtb-alert.is-visible {
    margin-bottom: 12px !important;
}

@media (max-width: 782px) {
    .mtb-booking-modal {
        align-items: stretch !important;
        justify-content: flex-start !important;
        padding: max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left)) !important;
    }

    .mtb-booking-modal .mtb-modal-shell {
        width: 100% !important;
        height: calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom)) !important;
        max-height: calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom)) !important;
        border-radius: 18px !important;
    }

    @supports not (height: 100dvh) {
        .mtb-booking-modal .mtb-modal-shell {
            height: calc(100vh - 16px) !important;
            max-height: calc(100vh - 16px) !important;
        }
    }

    .mtb-booking-modal .mtb-modal-scroll {
        height: 100% !important;
        max-height: none !important;
    }

    .mtb-booking-modal .mtb-lite .mtb-hero {
        padding: 18px 18px 14px !important;
    }

    .mtb-booking-modal .mtb-lite .mtb-hero h2 {
        font-size: 26px !important;
        line-height: 1.05 !important;
    }

    .mtb-booking-modal .mtb-lite .mtb-hero p {
        font-size: 13px !important;
        line-height: 1.42 !important;
    }

    .mtb-booking-modal .mtb-lite .mtb-hero-pills {
        display: none !important;
    }

    .mtb-booking-modal .mtb-lite .mtb-progress {
        padding: 12px 14px 0 !important;
        gap: 4px !important;
    }

    .mtb-booking-modal .mtb-lite .mtb-step-number {
        width: 28px !important;
        height: 28px !important;
        font-size: 12px !important;
    }

    .mtb-booking-modal .mtb-lite .mtb-step-label {
        font-size: 10px !important;
    }

    .mtb-booking-modal .mtb-lite .mtb-form {
        padding: 14px 16px calc(104px + env(safe-area-inset-bottom)) !important;
    }

    .mtb-booking-modal .mtb-lite .mtb-section-head h3 {
        font-size: 21px !important;
    }

    .mtb-booking-modal .mtb-lite .mtb-section-head p {
        font-size: 12px !important;
        line-height: 1.45 !important;
    }

    .mtb-booking-modal .mtb-lite button.mtb-service {
        min-height: 108px !important;
    }

    .mtb-booking-modal .mtb-lite .mtb-actions {
        margin: 16px -16px calc(-104px - env(safe-area-inset-bottom)) !important;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom)) !important;
        gap: 10px !important;
    }

    .mtb-booking-modal .mtb-lite button.mtb-btn {
        min-width: 0 !important;
        width: 100% !important;
        min-height: 50px !important;
        padding: 13px 14px !important;
    }

    .mtb-booking-modal .mtb-modal-close {
        top: 10px !important;
        right: 10px !important;
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
    }
}

@media (max-width: 390px) {
    .mtb-booking-modal .mtb-lite .mtb-progress {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }

    .mtb-booking-modal .mtb-lite .mtb-step-label {
        font-size: 9px !important;
    }

    .mtb-booking-modal .mtb-lite .mtb-section-head h3 {
        font-size: 20px !important;
    }
}


/* v1.13.5 - Force hero heading to stay visible over the blue booking header. Some themes override h2 colours on shortcode pages. */
.mtb-booking .mtb-hero h1,
.mtb-booking .mtb-hero h2,
.mtb-booking .mtb-hero h3,
.mtb-booking-modal .mtb-hero h1,
.mtb-booking-modal .mtb-hero h2,
.mtb-booking-modal .mtb-hero h3 {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
}

.mtb-booking .mtb-hero .mtb-eyebrow,
.mtb-booking .mtb-hero p,
.mtb-booking .mtb-hero .mtb-hero-pills span,
.mtb-booking-modal .mtb-hero .mtb-eyebrow,
.mtb-booking-modal .mtb-hero p,
.mtb-booking-modal .mtb-hero .mtb-hero-pills span {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}


/* v1.16.12 popup-only isolation and stability fix. */
html body > .mtb-booking-modal,
html body > .mtb-booking-modal * { box-sizing: border-box; }

html body > .mtb-booking-modal .mtb-booking button {
    font-family: inherit !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    white-space: normal !important;
}

html body > .mtb-booking-modal .mtb-booking button.mtb-progress-step {
    position: relative !important; z-index: 2 !important;
    width: auto !important; min-width: 0 !important; min-height: 62px !important; height: auto !important;
    margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important;
    background: transparent !important; color: var(--mtb-muted) !important;
    display: grid !important; grid-template-columns: 1fr !important; justify-items: center !important; align-items: center !important;
    gap: 7px !important; font-size: 12px !important; font-weight: 850 !important; line-height: 1 !important;
    cursor: default !important; box-shadow: none !important; transform: none !important;
}
html body > .mtb-booking-modal .mtb-booking button.mtb-progress-step.is-active,
html body > .mtb-booking-modal .mtb-booking button.mtb-progress-step.is-complete { color: var(--mtb-primary-dark) !important; }

html body > .mtb-booking-modal .mtb-booking button.mtb-service {
    position: relative !important; overflow: hidden !important;
    width: 100% !important; min-width: 0 !important; height: auto !important; min-height: 128px !important;
    margin: 0 !important; padding: 14px !important;
    border: 1px solid var(--mtb-border) !important; border-radius: 18px !important;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important; color: var(--mtb-text) !important;
    display: grid !important; grid-template-columns: 1fr !important; grid-template-rows: auto 1fr auto auto !important;
    align-items: start !important; justify-items: stretch !important; gap: 10px !important;
    text-align: left !important; cursor: pointer !important; box-shadow: 0 1px 2px rgba(3,20,38,.04) !important;
}
html body > .mtb-booking-modal .mtb-booking button.mtb-service:hover,
html body > .mtb-booking-modal .mtb-booking button.mtb-service.is-selected {
    border-color: rgba(var(--mtb-primary-rgb), .40) !important;
    background: linear-gradient(180deg, #ffffff 0%, #f4faff 100%) !important;
    color: var(--mtb-text) !important; box-shadow: 0 18px 36px rgba(3,20,38,.10) !important;
}
html body > .mtb-booking-modal .mtb-booking button.mtb-service > span {
    position: relative !important; inset: auto !important; float: none !important;
    width: auto !important; max-width: 100% !important; min-width: 0 !important; margin: 0 !important;
    transform: none !important; white-space: normal !important; text-align: left !important;
}
html body > .mtb-booking-modal .mtb-booking button.mtb-service .mtb-service-icon {
    display: inline-flex !important; width: 44px !important; height: 44px !important; min-width: 44px !important;
    align-items: center !important; justify-content: center !important; border-radius: 14px !important;
    background: var(--mtb-blue-soft) !important; color: var(--mtb-primary-dark) !important;
}
html body > .mtb-booking-modal .mtb-booking button.mtb-service .mtb-service-content {
    display: grid !important; width: 100% !important; gap: 7px !important;
}
html body > .mtb-booking-modal .mtb-booking button.mtb-service .mtb-service-content strong,
html body > .mtb-booking-modal .mtb-booking button.mtb-service .mtb-service-content small,
html body > .mtb-booking-modal .mtb-booking button.mtb-service .mtb-service-price-note {
    display: block !important; width: 100% !important; overflow: visible !important;
    white-space: normal !important; overflow-wrap: anywhere !important;
}
html body > .mtb-booking-modal .mtb-booking button.mtb-service .mtb-service-content strong {
    color: var(--mtb-ink) !important; font-size: 15px !important; line-height: 1.25 !important; font-weight: 950 !important;
}
html body > .mtb-booking-modal .mtb-booking button.mtb-service .mtb-service-content small,
html body > .mtb-booking-modal .mtb-booking button.mtb-service .mtb-service-price-note {
    color: var(--mtb-muted) !important; font-size: 12px !important; line-height: 1.45 !important; font-weight: 600 !important;
}
html body > .mtb-booking-modal .mtb-booking button.mtb-service .mtb-service-meta {
    display: inline-grid !important; justify-self: start !important; width: auto !important;
    padding: 8px 11px !important; border-radius: 999px !important;
    background: rgba(var(--mtb-primary-rgb), .08) !important; color: var(--mtb-primary-dark) !important;
}

html body > .mtb-booking-modal .mtb-booking button.mtb-date-chip {
    min-width: 0 !important; min-height: 58px !important; height: auto !important; margin: 0 !important;
    padding: 10px !important; border: 1px solid var(--mtb-border) !important; border-radius: 17px !important;
    background: #fff !important; color: var(--mtb-text) !important;
    display: grid !important; grid-template-columns: 1fr !important; gap: 3px !important; text-align: left !important;
    cursor: pointer !important; box-shadow: 0 1px 2px rgba(3,20,38,.03) !important;
}
html body > .mtb-booking-modal .mtb-booking button.mtb-time {
    min-width: 0 !important; width: auto !important; min-height: 47px !important; height: auto !important;
    margin: 0 !important; padding: 10px 12px !important; border: 1px solid var(--mtb-border) !important;
    border-radius: 15px !important; background: #fff !important; color: var(--mtb-text) !important;
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    font-size: 13px !important; font-weight: 950 !important; cursor: pointer !important;
    box-shadow: 0 1px 2px rgba(3,20,38,.03) !important;
}
html body > .mtb-booking-modal .mtb-booking button.mtb-date-chip:hover,
html body > .mtb-booking-modal .mtb-booking button.mtb-date-chip.is-selected,
html body > .mtb-booking-modal .mtb-booking button.mtb-time:hover,
html body > .mtb-booking-modal .mtb-booking button.mtb-time.is-selected {
    border-color: var(--mtb-primary) !important; background: var(--mtb-primary) !important; color: #fff !important;
}

html body > .mtb-booking-modal .mtb-booking button.mtb-btn {
    width: auto !important; min-width: 142px !important; min-height: 52px !important; height: auto !important;
    margin: 0 !important; padding: 14px 22px !important; border: 1px solid var(--mtb-primary) !important;
    border-radius: 999px !important; background: linear-gradient(135deg, var(--mtb-primary), #075bb0) !important;
    color: #fff !important; display: inline-flex !important; align-items: center !important; justify-content: center !important;
    font-size: 14px !important; font-weight: 950 !important; line-height: 1 !important; cursor: pointer !important;
    box-shadow: 0 14px 26px rgba(var(--mtb-primary-rgb), .22) !important;
}
html body > .mtb-booking-modal .mtb-booking button.mtb-btn-secondary {
    border-color: var(--mtb-border) !important; background: #fff !important; color: var(--mtb-muted) !important;
    box-shadow: 0 1px 2px rgba(3,20,38,.04) !important;
}
html body > .mtb-booking-modal .mtb-booking button.mtb-next[hidden],
html body > .mtb-booking-modal .mtb-booking button.mtb-submit[hidden],
html body > .mtb-booking-modal .mtb-booking .mtb-step[hidden],
html body > .mtb-booking-modal .mtb-booking .mtb-step:not(.is-active) { display: none !important; }

@media (max-width: 782px) {
    html body > .mtb-booking-modal .mtb-booking button.mtb-service { min-height: 108px !important; }
    html body > .mtb-booking-modal .mtb-booking button.mtb-btn { width: 100% !important; min-width: 0 !important; }
}


/* v1.16.13 — popup control isolation and cache-safe recovery */
html body .mtb-booking-modal .mtb-booking .mtb-submit[hidden],
html body .mtb-booking-modal .mtb-booking .mtb-submit[disabled][aria-hidden="true"],
html body .mtb-booking-modal .mtb-booking .mtb-step[hidden],
html body .mtb-booking-modal .mtb-booking .mtb-step:not(.is-active) {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}
html body .mtb-booking-modal .mtb-booking .mtb-step.is-active {
    display: block !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Direct fitting centre selection, scoped to each booking widget. */
.mtb-booking .mtb-centre-recommended{display:inline-flex!important;width:max-content;max-width:100%;margin-bottom:7px!important;padding:4px 9px;border-radius:20px;background:#e6f4ed;color:#176847!important;font-size:11px!important;font-weight:750;letter-spacing:.02em}
.mtb-booking .mtb-other-centre{display:grid;gap:8px;margin-top:18px;font-size:13px;font-weight:700;color:#25384d}
.mtb-booking .mtb-centre-select-input{width:100%;min-width:0;min-height:48px;border:1px solid #d3dce6;border-radius:10px;background:#fff;padding:10px 34px 10px 12px;color:#25384d;font:inherit;text-overflow:ellipsis}
.mtb-booking .mtb-centre-select-input:focus{outline:3px solid #bcdcff;outline-offset:2px}
.mtb-booking .mtb-partner-centre{display:grid;gap:7px;margin-top:12px;padding:16px;background:#eef6ff;border:1px solid #bad6f4;border-radius:12px;color:#173c65;font-size:13px;line-height:1.5}
.mtb-booking .mtb-partner-centre[hidden]{display:none!important}
.mtb-booking .mtb-partner-centre small{font-size:12px;color:#52677e}
@media(max-width:520px){.mtb-booking .mtb-centre-card{gap:10px}.mtb-booking .mtb-centre-copy strong{font-size:14px}.mtb-booking .mtb-centre-state{font-size:0}.mtb-booking .mtb-centre-recommended{font-size:10px!important}}
