.booking-page {
    padding: 18px 0 52px;
}

/* Step 4 — final review */
#step-4 .step-header {
    margin-bottom: 18px;
}

.booking-review-ready {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding: 13px 16px;
    border: 1px solid rgba(27, 143, 100, .18);
    border-radius: 16px;
    color: #145f49;
    background: linear-gradient(135deg, rgba(232, 250, 243, .95), rgba(245, 253, 250, .95));
}

.booking-review-ready-icon {
    display: inline-flex;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #fff;
    background: #249b72;
    box-shadow: 0 8px 18px rgba(36, 155, 114, .2);
}

.booking-review-ready > span:last-child {
    display: grid;
    gap: 1px;
}

.booking-review-ready strong {
    font-size: .92rem;
}

.booking-review-ready small {
    color: #52766a;
    font-size: .76rem;
}

.booking-review-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding-bottom: 8px;
}

.booking-review-grid .summary-card {
    min-width: 0;
    padding: 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 12px 34px rgba(24, 52, 89, .07);
}

.booking-review-services {
    grid-column: 1 / -1;
}

.booking-review-head,
.booking-review-title,
.booking-review-price-row,
.booking-review-price-total,
.booking-review-duration {
    display: flex;
    align-items: center;
}

.booking-review-head {
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.booking-review-title {
    min-width: 0;
    gap: 11px;
}

.booking-review-title > span:last-child {
    display: grid;
    gap: 1px;
}

.booking-review-title small {
    color: #2982ba;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.booking-review-title strong {
    color: var(--rd-navy-strong);
    font-size: 1rem;
}

.booking-review-icon {
    display: inline-flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 13px;
    color: #176fa7;
    background: #e6f4fd;
}

.booking-review-icon-calendar {
    color: #1f7b62;
    background: #e5f7f0;
}

.booking-review-icon-contact {
    color: #a8630d;
    background: #fff3df;
}

.booking-review-edit {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 8px 12px;
    border: 1px solid rgba(24, 52, 89, .1);
    border-radius: 11px;
    color: #245c88;
    background: #f7fbff;
    font: inherit;
    font-size: .76rem;
    font-weight: 800;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.booking-review-edit:hover {
    border-color: rgba(63, 143, 199, .32);
    background: #eaf6ff;
    transform: translateY(-1px);
}

.booking-review-services .summary-list {
    display: grid;
    gap: 0;
    padding: 0 2px 12px;
}

.booking-review-services .summary-item {
    margin: 0;
    padding: 11px 0;
    border-bottom: 1px solid rgba(24, 52, 89, .07);
}

.booking-review-services .summary-item:last-child {
    border-bottom: 0;
}

.booking-review-services .summary-row,
.booking-review-services .summary-sub-row {
    gap: 16px;
    margin: 0;
}

.booking-review-services .summary-row > span:last-child,
.booking-review-services .summary-sub-row > span:last-child {
    flex: 0 0 auto;
    color: var(--rd-navy-strong);
    font-weight: 800;
}

.booking-review-services .summary-sub-row {
    margin-top: 6px;
}

.booking-review-price-box {
    overflow: hidden;
    margin-top: 4px;
    border: 1px solid rgba(63, 143, 199, .18);
    border-radius: 16px;
    background: #f5faff;
}

.booking-review-price-row {
    justify-content: space-between;
    gap: 16px;
    padding: 10px 14px;
    color: var(--rd-muted);
    font-size: .84rem;
}

.booking-review-price-row strong {
    color: var(--rd-navy-strong);
}

.booking-review-minimum {
    color: #8b5b0c;
    background: #fff7e7;
    border-top: 1px solid rgba(196, 126, 14, .1);
}

.booking-review-minimum[hidden] {
    display: none !important;
}

.booking-review-minimum i {
    margin-right: 5px;
}

.booking-review-minimum strong {
    color: #9b6106;
}

.booking-review-price-total {
    justify-content: space-between;
    gap: 16px;
    padding: 14px;
    color: var(--rd-navy-strong);
    background: linear-gradient(135deg, #e7f4ff, #f2f9ff);
    border-top: 1px solid rgba(63, 143, 199, .15);
}

.booking-review-price-total > span {
    display: grid;
    line-height: 1.25;
    font-weight: 800;
}

.booking-review-price-total small {
    color: #5d7489;
    font-size: .66rem;
    font-weight: 700;
}

.booking-review-price-total strong {
    color: #174c78;
    font-size: 1.45rem;
    white-space: nowrap;
}

.booking-review-duration {
    justify-content: space-between;
    gap: 14px;
    margin-top: 12px;
    padding: 11px 14px;
    border-radius: 13px;
    color: #5d7184;
    background: #f6f8fa;
    font-size: .83rem;
}

.booking-review-duration i {
    margin-right: 6px;
    color: #2982ba;
}

.booking-review-duration strong {
    color: var(--rd-navy-strong);
}

.booking-review-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.booking-review-fact {
    display: grid;
    gap: 3px;
    padding: 13px;
    border: 1px solid rgba(24, 52, 89, .07);
    border-radius: 13px;
    background: #f8fafc;
}

.booking-review-fact span {
    color: var(--rd-muted);
    font-size: .69rem;
    font-weight: 700;
}

.booking-review-fact strong {
    color: var(--rd-navy-strong);
    font-size: .92rem;
}

.booking-review-contact-list {
    display: grid;
    gap: 0;
}

.booking-review-contact-list .summary-row {
    align-items: flex-start;
    gap: 14px;
    margin: 0;
    padding: 9px 0;
    border-bottom: 1px solid rgba(24, 52, 89, .07);
    font-size: .8rem;
}

.booking-review-contact-list .summary-row:last-child {
    border-bottom: 0;
}

.booking-review-contact-list .summary-row > span {
    flex: 0 0 118px;
    color: var(--rd-muted);
}

.booking-review-contact-list .summary-row > span i {
    width: 16px;
    margin-right: 4px;
    color: #408abb;
    text-align: center;
}

.booking-review-contact-list .summary-row > strong {
    min-width: 0;
    margin-left: auto;
    color: var(--rd-navy-strong);
    font-weight: 750;
    overflow-wrap: anywhere;
    text-align: right;
}

.booking-review-contact-list .booking-review-payment {
    margin-top: 5px;
    padding: 11px 12px;
    border: 0;
    border-radius: 12px;
    background: #eef7ff;
}

.booking-legal-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    max-width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(63, 143, 199, .14);
    border-radius: 14px;
    background: #f6faff;
}

.booking-legal-note > i {
    margin-top: 3px;
    color: #3788bd;
}

.booking-legal-note > span {
    display: grid;
    gap: 1px;
}

.booking-legal-note strong {
    color: var(--rd-navy-strong);
    font-size: .77rem;
}

body:has(#step-4.active) .wizard-footer {
    width: fit-content;
    margin: 14px auto 0;
    padding: 7px;
    border: 1px solid rgba(24, 52, 89, .08);
    border-radius: 18px;
    background: rgba(247, 250, 253, .92);
    box-shadow: 0 12px 28px rgba(15, 36, 64, .1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

@media (max-width: 760px) {
    .booking-review-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .booking-review-services {
        grid-column: auto;
    }

    .booking-review-grid .summary-card {
        padding: 15px;
        border-radius: 17px;
    }

    .booking-review-head {
        margin-bottom: 13px;
    }

    .booking-review-icon {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
        border-radius: 11px;
    }

    .booking-review-edit {
        min-height: 34px;
        padding: 7px 9px;
    }

    .booking-review-facts {
        grid-template-columns: 1fr 1fr;
    }

    .booking-review-contact-list .summary-row {
        display: grid;
        grid-template-columns: 112px minmax(0, 1fr);
        gap: 8px;
    }

    .booking-review-contact-list .summary-row > span {
        flex-basis: auto;
    }

    .booking-review-contact-list .summary-row > strong {
        margin-left: 0;
    }

    .booking-legal-note {
        font-size: .76rem;
    }

    body:has(#step-4.active) .wizard-footer {
        bottom: calc(8px + env(safe-area-inset-bottom, 0px));
        width: 100%;
        padding: 6px;
    }
}

@media (max-width: 430px) {
    .booking-review-ready {
        padding: 11px 12px;
    }

    .booking-review-ready small {
        line-height: 1.35;
    }

    .booking-review-title strong {
        font-size: .9rem;
    }

    .booking-review-edit {
        font-size: .7rem;
    }

    .booking-review-price-row,
    .booking-review-price-total {
        padding-right: 11px;
        padding-left: 11px;
    }

    .booking-review-services .summary-row,
    .booking-review-services .summary-sub-row {
        align-items: flex-start;
        font-size: .78rem;
    }

    .booking-review-price-total strong {
        font-size: 1.28rem;
    }

    .booking-review-contact-list .summary-row {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .booking-review-contact-list .summary-row > strong {
        padding-left: 20px;
        text-align: left;
    }

    .booking-review-contact-list .booking-review-payment > strong {
        padding-left: 20px;
    }
}

.booking-legal-consents {
    display: none;
    margin: 18px 0 0;
    padding: 16px 18px;
    border: 1px solid #d7e5ee;
    border-radius: 16px;
    background: #f8fbfd;
    color: #40566a;
    font-size: .78rem;
    line-height: 1.55;
}

.wizard-step#step-4.active ~ .booking-legal-consents,
.booking-legal-consents.is-visible {
    display: grid;
    gap: 12px;
}

.booking-legal-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.booking-legal-consent input {
    width: 19px;
    height: 19px;
    margin: 1px 0 0;
    flex: 0 0 auto;
    accent-color: #207eb5;
}

.booking-legal-consent a {
    color: #176a9c;
    font-weight: 800;
}

.booking-legal-consents p {
    margin: 0;
    padding-top: 11px;
    border-top: 1px solid #e3edf3;
}

.booking-legal-consents p i {
    margin-right: 7px;
    color: #2883b6;
}

@media (max-width: 600px) {
    .booking-legal-consents {
        padding: 14px;
        font-size: .73rem;
    }
}

.booking-hero {
    padding: 0 0 10px;
}

.booking-hero-shell {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(24, 52, 89, 0.08);
    box-shadow: var(--rd-shadow);
    background:
        radial-gradient(circle at top right, rgba(245, 159, 24, 0.14), transparent 26%),
        radial-gradient(circle at left center, rgba(63, 143, 199, 0.12), transparent 32%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(242, 247, 253, 0.98));
}

.booking-hero-shell::before,
.booking-hero-shell::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.booking-hero-shell::before {
    right: -72px;
    top: -72px;
    width: 210px;
    height: 210px;
    background: radial-gradient(circle, rgba(245, 159, 24, 0.20), transparent 68%);
}

.booking-hero-shell::after {
    left: -60px;
    bottom: -70px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(63, 143, 199, 0.16), transparent 68%);
}

.booking-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px 22px;
}

.booking-hero-copy {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.booking-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
    padding: 8px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(24, 52, 89, 0.08), rgba(63, 143, 199, 0.12) 58%, rgba(245, 159, 24, 0.16));
    color: var(--rd-navy);
    font-size: 0.8rem;
    font-weight: 800;
}

.booking-hero-copy h1 {
    margin: 0;
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(2rem, 3.5vw, 2.85rem);
    line-height: 0.94;
    letter-spacing: -0.04em;
    color: var(--rd-navy-strong);
    max-width: none;
}

.booking-hero-copy p {
    margin: 0;
    max-width: 56ch;
    color: var(--rd-muted);
    font-size: 0.98rem;
    line-height: 1.55;
}

.booking-hero-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.booking-hero-point {
    background: linear-gradient(135deg, #ffffff 0%, #f6fbff 100%);
    border: 1px solid rgba(24, 52, 89, 0.08);
    box-shadow: var(--rd-shadow-soft);
    border-radius: 18px;
    padding: 14px 14px 13px;
}

.booking-hero-point strong {
    display: block;
    margin-bottom: 4px;
    color: var(--rd-navy-strong);
    font-size: 0.96rem;
}

.booking-hero-point span {
    display: block;
    color: var(--rd-muted);
    font-size: 0.9rem;
    line-height: 1.42;
}

.booking-page-section {
    padding: 6px 0 0;
}

#expert-booking-wizard {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    align-items: start;
    gap: 24px;
    max-width: none;
    width: 100%;
    margin: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
    min-height: 0;
}

.wizard-sidebar,
.wizard-content {
    border: 1px solid rgba(24, 52, 89, 0.08);
    box-shadow: var(--rd-shadow);
}

.wizard-sidebar {
    position: sticky;
    top: 102px;
    width: auto;
    padding: 24px;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(238, 244, 251, 0.98));
    gap: 22px;
}

.sidebar-header h3 {
    margin: 0 0 4px;
    font-family: "Fraunces", Georgia, serif;
    font-size: 2rem;
    line-height: 0.98;
    color: var(--rd-navy-strong);
}

.sidebar-header p {
    margin: 0;
    color: var(--rd-muted);
}

.steps-indicator {
    display: grid;
    gap: 12px;
}

.step-indicator {
    margin: 0;
    padding: 14px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(24, 52, 89, 0.06);
    opacity: 1;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.step-indicator.active {
    background: linear-gradient(135deg, rgba(237, 246, 255, 0.92), rgba(255, 242, 220, 0.92));
    border-color: rgba(63, 143, 199, 0.22);
    box-shadow: 0 14px 28px rgba(24, 52, 89, 0.08);
    transform: translateY(-1px);
}

.step-icon {
    width: 48px;
    height: 48px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(24, 52, 89, 0.08), rgba(63, 143, 199, 0.16), rgba(245, 159, 24, 0.18));
    color: var(--rd-navy);
    flex: 0 0 auto;
}

.step-indicator.active .step-icon {
    background: linear-gradient(135deg, #183459 0%, #255489 52%, #3f8fc7 100%);
    color: #fff;
}

.step-title {
    display: block;
    font-weight: 800;
    color: var(--rd-navy-strong);
}

.step-desc {
    display: block;
    margin-top: 2px;
    color: var(--rd-muted);
    font-size: 0.9rem;
}

.sidebar-footer {
    margin-top: auto;
}

.contact-preview {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(24, 52, 89, 0.08);
    color: var(--rd-navy-strong);
    font-weight: 700;
}

.wizard-content {
    position: relative;
    padding: 28px 28px 40px;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.96));
}

.step-header {
    margin-bottom: 22px;
}

.step-header h2 {
    margin: 0 0 8px;
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(1.85rem, 3.4vw, 2.7rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
    color: var(--rd-navy-strong);
}

.step-header p {
    margin: 0;
    color: var(--rd-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.booking-category-switcher {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.booking-category-tab {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 18px;
    border: 1px solid rgba(24, 52, 89, 0.08);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 248, 255, 0.98));
    box-shadow: var(--rd-shadow-soft);
    color: var(--rd-text);
    text-align: left;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.booking-category-tab strong {
    color: var(--rd-navy-strong);
    font-size: 1rem;
}

.booking-category-tab span {
    color: var(--rd-muted);
    font-size: 0.87rem;
    line-height: 1.45;
}

.booking-category-tab:hover {
    border-color: rgba(63, 143, 199, 0.24);
    box-shadow: 0 16px 34px rgba(24, 52, 89, 0.10);
    transform: translateY(-1px);
}

.booking-category-tab.active {
    border-color: rgba(63, 143, 199, 0.30);
    background: linear-gradient(135deg, rgba(237, 246, 255, 0.92), rgba(255, 243, 226, 0.92));
    box-shadow: 0 0 0 2px rgba(63, 143, 199, 0.16), 0 16px 34px rgba(24, 52, 89, 0.12);
}

.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.service-card {
    padding: 18px;
    border: 1px solid rgba(24, 52, 89, 0.08);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 248, 255, 0.98));
    box-shadow: var(--rd-shadow-soft);
}

.service-card[hidden] {
    display: none !important;
}

.service-card > input[type="checkbox"] {
    display: none;
}

html[data-booking-category="carpets"] .services-grid {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
}

html[data-booking-category="carpets"] .service-card[data-category="carpets"] {
    width: min(100%, 760px);
}

.services-grid > .service-card:nth-child(1),
.services-grid > .service-card:nth-child(2),
.services-grid > .service-card:nth-child(3),
.services-grid > .service-card:nth-child(4),
.services-grid > .service-card:nth-child(5),
.services-grid > .service-card:nth-child(6),
.services-grid > .service-card:nth-child(7),
.services-grid > .service-card:nth-child(8),
.services-grid > .service-card:nth-child(9) {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 248, 255, 0.98));
}

.service-card:hover {
    border-color: rgba(63, 143, 199, 0.26);
    box-shadow: 0 16px 34px rgba(24, 52, 89, 0.12);
}

.service-card:has(input:checked) {
    border-color: rgba(63, 143, 199, 0.34);
    background: linear-gradient(135deg, rgba(237, 246, 255, 0.92), rgba(255, 243, 226, 0.92));
    box-shadow: 0 0 0 2px rgba(63, 143, 199, 0.18), 0 16px 34px rgba(24, 52, 89, 0.12);
}

.service-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 152px;
    margin-bottom: 14px;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #eff5fb 100%);
}

.service-image-container img {
    height: 140px;
    margin-bottom: 0;
}

.card-content h3 {
    margin: 0 0 8px;
    font-size: 1.02rem;
    color: var(--rd-navy-strong);
}

.card-content p {
    margin: 0 0 8px;
    color: var(--rd-muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.card-content .price {
    color: var(--rd-navy);
    font-size: 1.06rem;
}

.check-circle {
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, #183459 0%, #255489 52%, #3f8fc7 100%);
    box-shadow: 0 12px 24px rgba(24, 52, 89, 0.18);
}

.datetime-selection-wrapper {
    grid-template-columns: minmax(300px, 0.92fr) minmax(360px, 1.08fr);
    align-items: start;
    gap: 20px;
}

.datetime-selection-wrapper.appointment-picker-collapsed {
    display: none;
}

.calendar-section,
.time-section,
.summary-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 248, 255, 0.98));
    border-radius: 24px;
    border: 1px solid rgba(24, 52, 89, 0.08);
    box-shadow: var(--rd-shadow-soft);
}

.calendar-section,
.time-section {
    width: 100%;
    padding: 22px;
}

.calendar-grid {
    gap: 6px;
}

.calendar-day {
    min-height: 42px;
    aspect-ratio: auto;
    border: 1px solid transparent;
    background: transparent;
    color: var(--rd-navy-strong);
    font: inherit;
    font-size: .9rem;
    font-weight: 700;
}

.calendar-day.available {
    background: rgba(255, 255, 255, .76);
    border-color: rgba(24, 52, 89, .07);
}

.calendar-day.disabled {
    border-color: transparent;
    background: transparent;
    color: #c5ced8;
    opacity: .72;
}

.calendar-day.today:not(.selected) {
    box-shadow: inset 0 0 0 1px rgba(63, 143, 199, .2);
}

.calendar-nav-btn:disabled {
    opacity: .3;
    cursor: not-allowed;
    pointer-events: none;
}

.time-section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.time-section-heading h3 {
    margin: 2px 0 0;
    font-size: 1.12rem;
}

.time-section-eyebrow {
    color: #3585b8;
    font-size: .67rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.time-slots-hint {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 9px;
    border: 1px solid rgba(63, 143, 199, .14);
    border-radius: 999px;
    color: var(--rd-muted);
    background: rgba(237, 246, 255, .8);
    font-size: .68rem;
    font-weight: 700;
    white-space: nowrap;
}

.time-slots-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.time-slot {
    min-height: 44px;
    padding: 10px 8px;
    border: 1px solid rgba(63, 143, 199, .22);
    border-radius: 12px;
    color: var(--rd-navy-strong);
    background: #fff;
    box-shadow: 0 5px 14px rgba(15, 23, 42, .045);
    font: inherit;
    font-size: .86rem;
    font-weight: 800;
}
.time-slot.available {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2px;
}
.time-slot-value { font-weight: 800; }
.time-slot-recommended {
    color: #047857;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .04em;
    line-height: 1;
    text-transform: uppercase;
}
.time-slot.selected .time-slot-recommended { color: rgba(255,255,255,.9); }

.time-slot.available::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 7px;
    border-radius: 50%;
    background: #54c98b;
    box-shadow: 0 0 0 3px rgba(84, 201, 139, .12);
    vertical-align: 1px;
}

.time-slot.selected,
.time-slot.selected:hover {
    color: #fff;
}

.time-slot.selected::before {
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .16);
}

.booking-empty-state {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 170px;
    padding: 24px;
    border: 1px dashed rgba(63, 143, 199, .22);
    border-radius: 16px;
    color: var(--rd-muted);
    background: rgba(255, 255, 255, .58);
    text-align: center;
    font-size: .86rem;
    line-height: 1.5;
}

.booking-empty-state i {
    color: #4a94c3;
    font-size: 1.25rem;
}

.appointment-selection-summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding: 14px 16px;
    border: 1px solid rgba(24, 52, 89, .09);
    border-radius: 17px;
    color: var(--rd-navy-strong);
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 8px 22px rgba(15, 23, 42, .05);
    scroll-margin-top: 18px;
}

.appointment-selection-summary.complete {
    border-color: rgba(84, 201, 139, .32);
    background: linear-gradient(135deg, rgba(239, 253, 246, .96), rgba(245, 250, 255, .96));
}

.appointment-selection-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    color: #337eae;
    background: #e7f4fc;
}

.appointment-selection-summary.complete .appointment-selection-icon {
    color: #19784a;
    background: #dcf7e9;
}

.appointment-selection-copy {
    min-width: 0;
}

.appointment-selection-copy > span {
    display: block;
    margin-bottom: 2px;
    color: var(--rd-muted);
    font-size: .67rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.appointment-selection-copy strong {
    display: block;
    overflow: hidden;
    font-size: .9rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.appointment-selection-duration {
    color: #46657d;
    font-size: .73rem;
    font-weight: 700;
    white-space: nowrap;
}

.appointment-selection-change {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 11px;
    border: 1px solid rgba(25, 120, 74, .2);
    border-radius: 10px;
    color: #19784a;
    background: rgba(255,255,255,.78);
    font: inherit;
    font-size: .72rem;
    font-weight: 800;
    cursor: pointer;
}

.appointment-selection-change:hover {
    border-color: rgba(25, 120, 74, .38);
    background: #fff;
}

.appointment-selection-change[hidden] {
    display: none;
}

.booking-term-note {
    margin-top: 16px;
    margin-bottom: 22px;
}

.booking-term-note textarea {
    min-height: 88px;
    margin-bottom: 0;
    border-radius: 14px;
    resize: vertical;
}

.booking-minimum-note {
    display: block;
    margin-top: 4px;
    color: #9a650b;
    font-size: .7em;
    font-weight: 700;
}

.summary-card {
    padding: 24px;
}

.calendar-header h3,
.summary-section h4,
.time-section h3 {
    color: var(--rd-navy-strong);
}

.calendar-nav-btn {
    border: 1px solid rgba(24, 52, 89, 0.10);
    color: var(--rd-navy);
    background: rgba(255, 255, 255, 0.9);
}

.calendar-nav-btn:hover {
    background: #edf6ff;
    color: var(--rd-teal);
    border-color: rgba(63, 143, 199, 0.22);
}

.calendar-weekdays {
    color: var(--rd-muted);
}

.calendar-day:not(.empty):not(.disabled):hover {
    background-color: #edf6ff;
    color: var(--rd-teal);
}

.calendar-day.selected {
    background: linear-gradient(135deg, #183459 0%, #255489 52%, #3f8fc7 100%) !important;
    box-shadow: 0 10px 22px rgba(24, 52, 89, 0.16);
}

.calendar-day.today {
    border: 1px solid rgba(63, 143, 199, 0.55);
    color: var(--rd-teal);
}

.time-slot:hover {
    border-color: rgba(63, 143, 199, 0.28);
    color: var(--rd-teal);
    background: #edf6ff;
}

.time-slot.selected {
    background: linear-gradient(135deg, #183459 0%, #255489 52%, #3f8fc7 100%);
    border-color: transparent;
    box-shadow: 0 10px 22px rgba(24, 52, 89, 0.16);
}

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

#manual-address-fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.form-group {
    margin-bottom: 0;
}

.form-group.full-width,
#manual-address-fields,
#company-fields {
    grid-column: 1 / -1;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--rd-navy-strong);
}

.form-control {
    margin-bottom: 0;
    padding: 13px 14px;
    border-radius: 16px;
    border: 1px solid rgba(24, 52, 89, 0.12);
    background: rgba(255, 255, 255, 0.94);
    color: var(--rd-text);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.7);
}

.form-control:focus {
    outline: none;
    border-color: rgba(63, 143, 199, 0.34);
    box-shadow: 0 0 0 4px rgba(63, 143, 199, 0.12);
}

.address-suggestions {
    margin-top: 8px;
    border-radius: 16px;
    border: 1px solid rgba(24, 52, 89, 0.10);
    box-shadow: var(--rd-shadow-soft);
}

.suggestion-item:hover {
    background-color: #f3f8ff;
    color: var(--rd-teal);
}

.payment-options-grid {
    gap: 16px;
}

.payment-option-card {
    border: 1px solid rgba(24, 52, 89, 0.08);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 248, 255, 0.98));
    box-shadow: var(--rd-shadow-soft);
}

.payment-option-card:hover {
    border-color: rgba(63, 143, 199, 0.24);
    transform: translateY(-2px);
}

.payment-option-card:has(input:checked) {
    border-color: rgba(63, 143, 199, 0.30);
    background: linear-gradient(135deg, rgba(237, 246, 255, 0.92), rgba(255, 243, 226, 0.92));
    color: var(--rd-navy-strong);
    box-shadow: 0 0 0 2px rgba(63, 143, 199, 0.16), 0 14px 28px rgba(24, 52, 89, 0.10);
}

.payment-icon {
    color: var(--rd-muted);
}

.payment-option-card:has(input:checked) .payment-icon {
    color: var(--rd-teal);
}

/* Contact, address, parking and payment step */
.booking-details-stack {
    display: grid;
    gap: 16px;
}

.booking-details-card {
    padding: 20px;
    border: 1px solid rgba(24, 52, 89, .09);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(246, 249, 253, .96));
    box-shadow: 0 12px 30px rgba(15, 23, 42, .055);
}

.booking-details-card-head {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 18px;
}

.booking-details-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 12px;
    color: #2878aa;
    background: #e7f4fc;
}

.booking-details-card-head > div > span {
    display: block;
    margin-bottom: 2px;
    color: #3f8fc7;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.booking-details-card-head h3 {
    margin: 0;
    color: var(--rd-navy-strong);
    font-size: 1.04rem;
}

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

.contact-fields-grid .form-group:last-child {
    grid-column: 1 / 2;
}

.booking-details-card .form-group {
    margin-bottom: 0;
}

.booking-details-card .form-group label {
    margin: 0 0 7px 2px;
    color: #263f56;
    font-size: .78rem;
    font-weight: 800;
}

.booking-details-card .form-control {
    margin-bottom: 0;
    border-radius: 13px;
    background-color: rgba(255, 255, 255, .94);
}

.booking-input-wrap {
    position: relative;
}

.booking-input-wrap > i {
    position: absolute;
    top: 50%;
    left: 14px;
    z-index: 2;
    color: #7b8da0;
    font-size: .88rem;
    transform: translateY(-50%);
    pointer-events: none;
}

.booking-input-wrap > .form-control {
    padding-left: 40px;
    padding-right: 38px;
}

.input-status-field .booking-input-wrap:has(input:valid:not(:placeholder-shown))::after {
    content: '\f00c';
    position: absolute;
    top: 50%;
    right: 14px;
    color: #27905b;
    font-family: 'Font Awesome 6 Free';
    font-size: .72rem;
    font-weight: 900;
    transform: translateY(-50%);
}

.company-toggle {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    margin-top: 16px;
    padding: 12px 14px;
    border: 1px solid rgba(24, 52, 89, .09);
    border-radius: 15px;
    background: rgba(255, 255, 255, .72);
    cursor: pointer;
    user-select: none;
}

.company-toggle > input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.company-toggle-track {
    position: relative;
    width: 40px;
    height: 23px;
    border-radius: 999px;
    background: #ccd7e0;
    transition: background .2s ease;
}

.company-toggle-track > span {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 6px rgba(15, 23, 42, .18);
    transition: transform .2s ease;
}

.company-toggle:has(input:checked) {
    border-color: rgba(63, 143, 199, .27);
    background: #f0f8fe;
}

.company-toggle:has(input:checked) .company-toggle-track {
    background: linear-gradient(135deg, #1e4e7c, #3f9bd0);
}

.company-toggle:has(input:checked) .company-toggle-track > span {
    transform: translateX(17px);
}

.company-toggle-icon {
    color: #577087;
}

.company-toggle-label strong,
.company-toggle-label small {
    display: block;
}

.company-toggle-label strong {
    color: var(--rd-navy-strong);
    font-size: .83rem;
}

.company-toggle-label small {
    margin-top: 2px;
    color: var(--rd-muted);
    font-size: .7rem;
}

.company-fields-panel {
    margin-top: 12px;
    padding: 15px;
    border: 1px solid rgba(63, 143, 199, .13);
    border-radius: 16px;
    background: rgba(239, 247, 253, .75);
}

.company-fields-grid {
    gap: 13px;
}

.ico-lookup-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ico-lookup-row .btn {
    width: auto;
    min-width: 126px;
    min-height: 46px;
    padding: 9px 13px;
    white-space: nowrap;
}

.booking-field-hint {
    margin: 6px 2px 0;
    color: var(--rd-muted);
    font-size: .68rem;
}

.address-search-group {
    position: relative;
}

.address-search-group .address-suggestions {
    left: 0;
    right: 0;
}

.manual-address-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 9px;
    padding: 7px 2px;
    border: 0;
    color: #356f98;
    background: transparent;
    font: inherit;
    font-size: .73rem;
    font-weight: 800;
    cursor: pointer;
}

.manual-address-grid {
    grid-template-columns: 1fr 2fr .8fr;
    gap: 12px;
    margin-top: 12px;
    padding: 14px;
    border: 1px dashed rgba(63, 143, 199, .2);
    border-radius: 16px;
    background: rgba(255, 255, 255, .58);
}

.service-area-status {
    position: relative;
    margin-top: 12px;
    padding: 11px 13px 11px 38px;
    border: 1px solid #e2e8f0;
    border-radius: 13px;
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.45;
    user-select: none;
}

.service-area-status::before {
    position: absolute;
    top: 50%;
    left: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    content: '…';
    color: #fff;
    background: #8395a6;
    font-size: .65rem;
    font-weight: 900;
    transform: translateY(-50%);
}

.service-area-status.is-ok::before {
    content: '✓';
    background: #27905b;
}

.service-area-status.is-bad::before {
    content: '!';
    background: #c94b4b;
}

.booking-parking-card {
    margin-top: 14px;
    padding: 15px;
    border: 1px solid rgba(229, 162, 61, .22);
    border-radius: 17px;
    background: linear-gradient(135deg, rgba(255, 249, 236, .94), rgba(248, 252, 255, .96));
}

.booking-parking-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.booking-parking-head > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 11px;
    color: #a8670c;
    background: #fff0cf;
}

.booking-parking-head strong,
.booking-parking-head small {
    display: block;
}

.booking-parking-head strong {
    color: var(--rd-navy-strong);
    font-size: .83rem;
}

.booking-parking-head small {
    margin-top: 2px;
    color: #7c6b50;
    font-size: .68rem;
}

.parking-mode-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.parking-mode-option {
    cursor: pointer;
}

.parking-mode-option > input {
    position: absolute;
    opacity: 0;
}

.parking-mode-option > span {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 43px;
    padding: 9px 11px;
    border: 1px solid rgba(24, 52, 89, .09);
    border-radius: 12px;
    color: #4f6477;
    background: rgba(255, 255, 255, .86);
    font-size: .73rem;
}

.parking-mode-option:has(input:checked) > span {
    border-color: rgba(63, 143, 199, .3);
    color: #194e73;
    background: #edf7fd;
    box-shadow: 0 0 0 2px rgba(63, 143, 199, .1);
}

.parking-auto-details {
    gap: 8px;
    margin-top: 11px;
    flex-wrap: wrap;
}

.parking-stat {
    flex: 1 1 120px;
    min-height: 58px;
    padding: 9px 11px;
    border: 1px solid rgba(24, 52, 89, .07);
    border-radius: 12px;
    background: rgba(255, 255, 255, .72);
}

.parking-stat span,
.parking-stat strong,
.parking-stat small {
    display: block;
}

.parking-stat span {
    color: var(--rd-muted);
    font-size: .62rem;
    font-weight: 800;
    text-transform: uppercase;
}

.parking-stat strong {
    margin-top: 3px;
    color: var(--rd-navy-strong);
    font-size: .8rem;
}

.parking-stat small {
    margin-top: 1px;
    color: var(--rd-muted);
    font-size: .62rem;
}

.parking-private-details,
.parking-manual {
    margin-top: 11px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .75);
    color: var(--rd-navy-strong);
}

.parking-private-title {
    margin-bottom: 9px;
    color: #24734d;
    font-size: .78rem;
    font-weight: 800;
}

.parking-private-details label,
.parking-manual {
    font-size: .7rem;
}

.parking-manual-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.parking-manual-row input {
    max-width: 120px;
    height: 42px;
}

.payment-details-card .payment-options-grid {
    gap: 11px;
}

.payment-details-card .payment-option-card {
    position: relative;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 11px;
    min-height: 78px;
    padding: 14px;
    border-radius: 16px;
    text-align: left;
}

.payment-details-card .payment-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 37px;
    height: 37px;
    flex: 0 0 37px;
    margin: 0;
    border-radius: 11px;
    background: #edf3f7;
    font-size: 1rem;
}

.payment-choice-copy {
    min-width: 0;
}

.payment-choice-copy strong,
.payment-choice-copy small {
    display: block;
}

.payment-choice-copy strong {
    color: var(--rd-navy-strong);
    font-size: .78rem;
}

.payment-choice-copy small {
    margin-top: 3px;
    color: var(--rd-muted);
    font-size: .65rem;
    line-height: 1.3;
}

.payment-check {
    position: absolute;
    top: 8px;
    right: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    color: transparent;
    background: #e7edf2;
    font-size: .6rem;
}

.payment-option-card:has(input:checked) .payment-check {
    color: #fff;
    background: linear-gradient(135deg, #1d537f, #3e9bcf);
}

.summary-section {
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(24, 52, 89, 0.08);
}

.summary-row,
.total-price {
    color: var(--rd-text);
}

.summary-row span:first-child,
.summary-sub-row {
    color: var(--rd-muted);
}

.total-price {
    color: var(--rd-navy);
}

.modal-overlay {
    background: rgba(15, 36, 64, 0.46);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modal-content {
    width: min(620px, calc(100vw - 32px));
    max-width: 620px;
    padding: 0;
    border-radius: 28px;
    border: 1px solid rgba(24, 52, 89, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(245, 249, 255, 0.98));
    box-shadow: 0 28px 72px rgba(15, 36, 64, 0.22);
}

.modal-header {
    margin-bottom: 0;
    padding: 20px 22px 14px;
    border-bottom: 1px solid rgba(24, 52, 89, 0.08);
}

.modal-title {
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(1.7rem, 2.6vw, 2.15rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
    color: var(--rd-navy-strong);
}

.modal-close {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: 1px solid rgba(24, 52, 89, 0.10);
    background: rgba(255, 255, 255, 0.92);
    color: var(--rd-navy);
    box-shadow: 0 10px 22px rgba(24, 52, 89, 0.08);
}

.modal-close:hover {
    background: #edf6ff;
    color: var(--rd-teal);
    border-color: rgba(63, 143, 199, 0.24);
    transform: translateY(-1px);
}

.modal-body {
    margin-bottom: 0;
    padding: 18px 22px;
}

.modal-body h4 {
    margin: 0 0 12px;
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.3rem;
    line-height: 1.02;
    letter-spacing: -0.03em;
    color: var(--rd-navy-strong);
}

.modal-price-box {
    background: linear-gradient(135deg, rgba(237, 246, 255, 0.92), rgba(255, 243, 226, 0.88));
    border: 1px solid rgba(24, 52, 89, 0.08);
    border-radius: 20px;
    padding: 14px 16px;
    margin-bottom: 18px;
    box-shadow: var(--rd-shadow-soft);
}

.modal-price-row {
    font-size: 1.04rem;
    color: var(--rd-navy-strong);
}

.modal-price-row span:first-child {
    font-weight: 700;
}

.modal-price-row span:last-child {
    font-weight: 800;
}

.modal-addons-container {
    margin-bottom: 18px;
}

.addon-row {
    padding: 13px 0;
    border-bottom: 1px solid rgba(24, 52, 89, 0.08);
}

.addon-row:last-child {
    border-bottom: none;
}

.soiling-selector {
    margin-top: 15px;
    padding-top: 18px;
    border-top: 1px solid rgba(24, 52, 89, 0.1);
}

.soiling-selector-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 13px;
}

.soiling-selector-heading > div { display: grid; gap: 3px; }
.soiling-selector-heading span { color: #2a83b7; font-size: .66rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.soiling-selector-heading strong { color: var(--rd-navy-strong); font-size: 1.08rem; }
.soiling-selector-heading small { max-width: 270px; color: var(--rd-muted); font-size: .76rem; line-height: 1.45; text-align: right; }

.soiling-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.soiling-option {
    position: relative;
    display: grid;
    align-content: start;
    gap: 10px;
    min-height: 132px;
    padding: 15px;
    border: 1px solid #dce7ee;
    border-radius: 16px;
    background: #fff;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.soiling-option:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(22, 55, 85, .08); }
.soiling-option input { position: absolute; opacity: 0; pointer-events: none; }
.soiling-option-top { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; }
.soiling-option-top i { width: 16px; height: 16px; border-radius: 50%; background: #70c99e; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.soiling-option-medium .soiling-option-top i { background: #efa51c; }
.soiling-option-high .soiling-option-top i { background: #e34f5f; }
.soiling-option-top strong { color: var(--rd-navy-strong); font-size: .9rem; }
.soiling-option-top b { color: #617387; font-size: .78rem; white-space: nowrap; }
.soiling-option-description { color: #53687a; font-size: .76rem; font-weight: 600; line-height: 1.45; }
.soiling-option-price { display: none; color: #314b61; font-size: .68rem; font-style: normal; font-weight: 800; white-space: nowrap; }
.soiling-option-low.selected { border-color: #61cea0; background: #f4fcf8; box-shadow: 0 0 0 2px rgba(74,190,139,.12); }
.soiling-option-medium.selected { border-color: #e9aa31; background: #fffaf0; box-shadow: 0 0 0 2px rgba(233,170,49,.12); }
.soiling-option-high.selected { border-color: #e85b69; background: #fff5f6; box-shadow: 0 0 0 2px rgba(232,91,105,.13); }

.soiling-selection-description {
    display: none;
    margin-top: 10px;
    color: #40596d;
    font-size: .78rem;
    font-weight: 650;
    line-height: 1.45;
}

.soiling-price-preview {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 9px;
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #f3f8fb;
    color: #617387;
    font-size: .78rem;
}

.soiling-price-preview strong { color: var(--rd-navy-strong); font-size: 1rem; }
.soiling-price-preview small { color: #9a6212; font-weight: 700; }

.addon-info {
    gap: 14px;
}

.addon-info label {
    font-weight: 700;
    color: var(--rd-navy-strong);
    font-size: 0.97rem;
}

.addon-price {
    font-size: 0.78rem;
    color: var(--rd-navy);
    background: linear-gradient(135deg, #edf5ff 0%, #fff3e2 100%);
    padding: 6px 9px;
    border-radius: 999px;
    border: 1px solid rgba(24, 52, 89, 0.08);
    font-weight: 700;
}

.addon-controls {
    gap: 8px;
    padding: 4px;
    border-radius: 999px;
    border: 1px solid rgba(24, 52, 89, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 248, 255, 0.98));
    box-shadow: var(--rd-shadow-soft);
}

.quantity-btn {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(24, 52, 89, 0.08);
    background: #fff;
    color: var(--rd-navy);
    box-shadow: none;
}

.quantity-btn:hover {
    background: #edf6ff;
    color: var(--rd-teal);
    transform: none;
}

.quantity-display {
    min-width: 30px;
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--rd-navy-strong);
}

.m2-input {
    width: 78px;
    padding: 7px 10px;
    border-radius: 12px;
    border: 1px solid rgba(24, 52, 89, 0.10);
    background: rgba(255, 255, 255, 0.92);
    color: var(--rd-text);
}

.m2-input:focus {
    border-color: rgba(63, 143, 199, 0.34);
    box-shadow: 0 0 0 4px rgba(63, 143, 199, 0.12);
}

.carpet-inline-meter {
    display: grid;
    gap: 10px;
    margin-top: 14px;
    padding: 14px;
    border: 1px solid rgba(24, 52, 89, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
}

.carpet-inline-meta {
    display: grid;
    gap: 3px;
}

.carpet-inline-label {
    font-weight: 800;
    color: var(--rd-navy-strong);
}

.carpet-inline-note {
    color: var(--rd-muted);
    font-size: 0.8rem;
    line-height: 1.4;
}

.carpet-inline-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-card .carpet-inline-meter .carpet-inline-input {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 42px;
    font-size: 1rem;
    font-weight: 800;
    text-align: center;
}

.carpet-inline-selected {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--rd-navy-strong);
}

.carpet-inline-total {
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--rd-navy);
}

.carpet-inline-soiling {
    grid-column: 1 / -1;
    display: grid;
    gap: 8px;
    width: 100%;
    min-width: 0;
    margin: 4px 0 0;
    padding: 11px;
    border: 1px solid rgba(24, 52, 89, .1);
    border-radius: 15px;
    background: #f7fafc;
    color: var(--rd-navy-strong);
    text-align: left;
}

.carpet-inline-soiling legend { padding: 0 6px; color: var(--rd-navy-strong); font-size: .86rem; font-weight: 850; }
.carpet-soiling-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.carpet-soiling-option { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-content: start; align-items: center; gap: 10px 8px; min-width: 0; min-height: 132px; padding: 15px; border: 1px solid #dce7ee; border-radius: 16px; background: #fff; cursor: pointer; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.carpet-soiling-option:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(22,55,85,.08); }
.carpet-soiling-option input { position: absolute; opacity: 0; pointer-events: none; }
.carpet-soiling-option i { width: 16px; height: 16px; border-radius: 50%; background: #70c99e; }
.carpet-soiling-medium i { background: #efa51c; }
.carpet-soiling-high i { background: #e34f5f; }
.carpet-soiling-option strong { color: var(--rd-navy-strong); font-size: .9rem; white-space: nowrap; }
.carpet-soiling-option b { color: #65798b; font-size: .78rem; font-weight: 750; white-space: nowrap; }
.carpet-soiling-option small { grid-column: 1 / -1; color: #53687a; font-size: .76rem; font-weight: 600; line-height: 1.45; }
.carpet-soiling-option:has(input:checked),
.carpet-soiling-option.is-selected { border-color: #e9aa31; background: #fffaf0; box-shadow: 0 0 0 2px rgba(233,170,49,.12); }
.carpet-soiling-low:has(input:checked),
.carpet-soiling-low.is-selected { border-color: #61cea0; background: #f4fcf8; box-shadow: 0 0 0 2px rgba(74,190,139,.12); }
.carpet-soiling-high:has(input:checked),
.carpet-soiling-high.is-selected { border-color: #e85b69; background: #fff5f6; box-shadow: 0 0 0 2px rgba(232,91,105,.13); }
.carpet-inline-soiling p { display: none; margin: 0; color: #53687a; font-size: .68rem; font-weight: 650; line-height: 1.35; }

.addon-info input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #3f8fc7;
}

.modal-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.modal-features li {
    gap: 12px;
    color: var(--rd-muted);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 248, 255, 0.98));
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(24, 52, 89, 0.06);
}

.modal-features li i {
    color: var(--rd-teal);
    background: rgba(63, 143, 199, 0.12);
    padding: 6px;
    border-radius: 999px;
}

.modal-footer {
    padding: 16px 22px 22px;
    border-top: 1px solid rgba(24, 52, 89, 0.08);
    background: linear-gradient(180deg, rgba(245, 249, 255, 0.88), rgba(245, 249, 255, 0.98));
}

.modal-footer .btn {
    min-width: 160px;
}

.modal-footer .btn-secondary {
    background: linear-gradient(135deg, #ffffff 0%, #f3f8ff 100%);
    border-color: rgba(63, 143, 199, 0.16);
    color: var(--rd-navy);
}

@media (max-width: 768px) {
    .modal-content {
        width: min(calc(100vw - clamp(10px, 3vw, 18px)), 430px);
        max-height: calc(100dvh - clamp(10px, 3vw, 20px));
        border-radius: clamp(20px, 3dvh, 26px);
    }

    .modal-header,
    .modal-body,
    .modal-footer {
        padding-left: clamp(13px, 4vw, 19px);
        padding-right: clamp(13px, 4vw, 19px);
    }

    .modal-header {
        padding-top: clamp(11px, 1.8dvh, 17px);
        padding-bottom: clamp(9px, 1.45dvh, 14px);
    }

    .modal-title {
        font-size: clamp(1.34rem, 2.6dvh, 1.65rem);
    }

    .modal-close {
        width: clamp(36px, 5dvh, 42px);
        height: clamp(36px, 5dvh, 42px);
    }

    .addon-row {
        gap: 8px;
        align-items: center;
        flex-direction: row;
        padding: clamp(8px, 1.25dvh, 11px) 0;
    }

    .modal-body { padding-top: clamp(9px, 1.55dvh, 14px); padding-bottom: clamp(7px, 1.2dvh, 11px); }
    .modal-body h4 { margin: 0 0 clamp(5px, .9dvh, 8px); font-size: clamp(1rem, 2dvh, 1.14rem); }
    .modal-addons-container { margin-bottom: 0; }
    .has-soiling-service .modal-price-box { display: none; }
    .has-soiling-service .modal-body > h4:last-of-type,
    .has-soiling-service .modal-features { display: none; }

    .quantity-main-row { padding-top: clamp(5px, .8dvh, 7px); padding-bottom: clamp(7px, 1.1dvh, 10px); }
    .quantity-main-row .addon-info label { font-size: clamp(.82rem, 1.75dvh, .94rem); }
    .addon-controls { flex: 0 0 auto; width: auto; gap: clamp(5px, 1.5vw, 7px); padding: clamp(2px, .45dvh, 4px); }
    .quantity-btn { width: clamp(31px, 4.6dvh, 37px); height: clamp(31px, 4.6dvh, 37px); }
    .quantity-display { min-width: clamp(25px, 7vw, 31px); font-size: clamp(.96rem, 2dvh, 1.08rem); }

    .soiling-selector { margin-top: clamp(5px, .9dvh, 8px); padding-top: clamp(8px, 1.35dvh, 12px); }
    .soiling-selector-heading { align-items: center; flex-direction: row; gap: 8px; margin-bottom: clamp(7px, 1.2dvh, 11px); }
    .soiling-selector-heading > div { display: flex; align-items: baseline; gap: 7px; }
    .soiling-selector-heading span { font-size: clamp(.55rem, 1.25dvh, .64rem); }
    .soiling-selector-heading strong { font-size: clamp(.88rem, 1.9dvh, 1.02rem); white-space: nowrap; }
    .soiling-selector-heading small { display: none; }
    .soiling-options { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(5px, 1.5vw, 8px); }
    .soiling-option { min-height: clamp(70px, 9.8dvh, 86px); padding: clamp(7px, 1.15dvh, 10px) 4px; gap: clamp(3px, .6dvh, 5px); border-radius: clamp(12px, 2dvh, 16px); text-align: center; }
    .soiling-option-top { grid-template-columns: 1fr; justify-items: center; gap: clamp(2px, .45dvh, 4px); }
    .soiling-option-top i { width: clamp(12px, 1.8dvh, 15px); height: clamp(12px, 1.8dvh, 15px); }
    .soiling-option-top strong { font-size: clamp(.7rem, 1.55dvh, .8rem); line-height: 1.1; }
    .soiling-option-top b { font-size: clamp(.6rem, 1.3dvh, .69rem); }
    .soiling-option-price { display: block; }
    .soiling-option-description { display: none; }
    .soiling-selection-description { display: block; min-height: 0; margin-top: clamp(6px, 1dvh, 9px); font-size: clamp(.68rem, 1.48dvh, .77rem); line-height: 1.35; }
    .soiling-price-preview { display: none; }

    .addon-info { flex: 1 1 auto; min-width: 0; width: auto; gap: 7px; }
    .addon-info label { font-size: clamp(.8rem, 1.75dvh, .92rem); }
    .addon-price { margin-left: auto; padding: clamp(4px, .65dvh, 6px) clamp(7px, 2vw, 9px); font-size: clamp(.66rem, 1.4dvh, .76rem); white-space: nowrap; }

    .modal-features {
        grid-template-columns: 1fr;
    }

    .modal-footer {
        gap: 7px;
        flex-direction: column-reverse;
        padding-top: clamp(8px, 1.25dvh, 12px);
        padding-bottom: calc(clamp(9px, 1.5dvh, 14px) + env(safe-area-inset-bottom, 0px));
    }

    .modal-footer .btn {
        width: 100%;
        min-width: 0;
        min-height: clamp(42px, 6dvh, 50px);
        padding-top: clamp(9px, 1.35dvh, 12px);
        padding-bottom: clamp(9px, 1.35dvh, 12px);
    }
}

.booking-legal-note {
    margin: 12px 0 8px;
    color: var(--rd-muted);
    font-size: 0.94rem;
    line-height: 1.55;
}

.wizard-footer {
    position: sticky;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    z-index: 14;
    display: flex;
    gap: 12px;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    margin: 12px 0 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.wizard-footer .btn {
    min-width: 160px;
}

.wizard-footer .btn-success {
    color: #fff;
    background: linear-gradient(135deg, #183459 0%, #255489 52%, #3f8fc7 100%);
    border-color: transparent;
    box-shadow: 0 16px 34px rgba(24, 52, 89, 0.18);
}

.wizard-footer .btn:disabled {
    color: #7e8e9d;
    background: #e7edf2;
    border-color: #dce5ec;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.booking-live-summary {
    border: 1px solid rgba(63, 143, 199, 0.22);
    box-shadow: 0 0 0 3px rgba(63, 143, 199, 0.10), 0 14px 34px rgba(15, 23, 42, 0.16);
}

.booking-live-summary-wrap {
    position: sticky;
    top: 98px;
    right: auto;
    bottom: auto;
    left: auto;
    z-index: 8;
    justify-content: flex-end;
    margin-bottom: 18px;
    pointer-events: none;
}

.booking-live-summary::before {
    background: linear-gradient(135deg, rgba(63, 143, 199, 0.10), rgba(255, 255, 255, 0));
}

.booking-live-summary::after {
    background: linear-gradient(180deg, #183459 0%, #3f8fc7 100%);
    box-shadow: 0 0 12px rgba(63, 143, 199, 0.32);
}

.booking-live-summary-label {
    color: var(--rd-muted);
}

.booking-live-summary-total {
    color: var(--rd-navy-strong);
}

.booking-live-summary-note {
    max-width: 190px;
    margin-top: 3px;
    color: #8a5a0a;
    font-size: .6rem;
    font-weight: 700;
    line-height: 1.25;
}

.footer-panel .logo img {
    width: 156px;
    height: auto;
}

@media (max-width: 1180px) {
    .booking-hero-grid,
    #expert-booking-wizard {
        grid-template-columns: 1fr;
    }

    .wizard-sidebar {
        position: static;
    }

    .booking-hero-copy h1 {
        max-width: none;
    }
}

@media (max-width: 900px) {
    .booking-hero-points,
    .details-grid,
    #manual-address-fields,
    .payment-options-grid {
        grid-template-columns: 1fr;
    }

    .wizard-content {
        padding: 22px 22px 36px;
    }

    .booking-category-switcher {
        grid-template-columns: 1fr;
    }

    .booking-details-card {
        padding: 16px;
        border-radius: 19px;
    }

    .contact-fields-grid .form-group:last-child {
        grid-column: auto;
    }

    .company-fields-grid,
    .manual-address-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .booking-page {
        padding-top: 18px;
    }

    .booking-hero {
        padding-bottom: 10px;
    }

    .booking-hero-shell,
    .wizard-sidebar,
    .wizard-content {
        border-radius: 28px;
    }

    .booking-hero-grid {
        padding: 12px 16px;
    }

    .booking-hero-copy {
        gap: 0;
    }

    .booking-hero-copy h1 {
        font-size: 1.54rem;
        line-height: 0.95;
    }

    .booking-hero-points {
        display: none;
    }

    .booking-eyebrow,
    .booking-hero-copy p {
        display: none;
    }

    .step-header {
        padding-top: 42px;
    }

    .booking-category-switcher {
        gap: 10px;
        margin-bottom: 14px;
    }

    .booking-category-tab {
        padding: 12px 14px;
        border-radius: 18px;
    }

    .booking-category-tab strong {
        font-size: 0.92rem;
    }

    .booking-category-tab span {
        font-size: 0.76rem;
        line-height: 1.35;
    }

    .wizard-sidebar {
        padding: 20px;
    }

    .step-indicator {
        padding: 12px;
    }

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

    html[data-booking-category="carpets"] .services-grid {
        grid-template-columns: 1fr;
        justify-items: stretch;
    }

    html[data-booking-category="carpets"] .service-card[data-category="carpets"] {
        width: 100%;
    }

    .service-card {
        padding: 12px;
        border-radius: 20px;
    }

    .carpet-inline-meter {
        margin-top: 10px;
        padding: 12px;
        border-radius: 16px;
    }

    .carpet-inline-controls {
        gap: 8px;
    }

    .carpet-inline-note,
    .carpet-inline-selected,
    .carpet-inline-total {
        font-size: 0.76rem;
        line-height: 1.35;
    }

    .carpet-inline-soiling { padding: 9px; gap: 7px; border-radius: 13px; }
    .carpet-inline-soiling legend { font-size: .76rem; }
    .carpet-soiling-options { gap: 5px; }
    .carpet-soiling-option { grid-template-columns: 1fr; justify-items: center; gap: 3px; min-height: 70px; padding: 7px 3px; border-radius: 12px; text-align: center; }
    .carpet-soiling-option i { width: 12px; height: 12px; }
    .carpet-soiling-option strong { font-size: .7rem; line-height: 1.1; }
    .carpet-soiling-option b { font-size: .6rem; }
    .carpet-soiling-option small { display: none; }
    .carpet-inline-soiling p { display: block; }

    .service-image-container {
        min-height: 104px;
        margin-bottom: 10px;
        border-radius: 16px;
    }

    .service-image-container img {
        height: 88px;
    }

    .card-content h3 {
        margin-bottom: 6px;
        font-size: 0.86rem;
        line-height: 1.25;
    }

    .card-content p {
        margin-bottom: 6px;
        font-size: 0.78rem;
        line-height: 1.35;
    }

    .card-content .price {
        font-size: 0.9rem;
    }

    .wizard-footer {
        justify-content: center;
        flex-direction: row;
        width: 100%;
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    }

    .wizard-footer .btn {
        width: auto;
        min-width: 132px;
        padding: 11px 18px;
        font-size: 0.95rem;
    }

    .booking-live-summary-wrap {
        position: sticky;
        top: 88px;
        margin-bottom: 12px;
        justify-content: flex-end;
        z-index: 12;
    }

    .booking-live-summary {
        min-width: 104px;
        max-width: 180px;
        padding: 9px 10px 9px 12px;
        border-radius: 15px;
    }

    .booking-live-summary-label {
        font-size: 0.54rem;
        line-height: 1.05;
        margin-bottom: 2px;
    }

    .booking-live-summary-total {
        font-size: 1.12rem;
        line-height: 1.05;
    }

    .booking-live-summary-note {
        max-width: 158px;
        font-size: .55rem;
    }
}

@media (max-width: 768px) {
    .datetime-selection-wrapper {
        grid-template-columns: 1fr;
    }

    .calendar-section,
    .time-section {
        padding: 16px;
        border-radius: 20px;
    }

    .calendar-day {
        min-height: 39px;
        font-size: .84rem;
    }

    .appointment-selection-summary {
        grid-template-columns: auto minmax(0, 1fr) auto;
        padding: 12px;
    }

    .appointment-selection-duration {
        grid-column: 2;
        white-space: normal;
    }

    .appointment-selection-change {
        grid-column: 3;
        grid-row: 1 / span 2;
        align-self: center;
    }
}

@media (max-width: 520px) {
    .time-section-heading {
        align-items: center;
    }

    .time-slots-hint {
        max-width: 132px;
        white-space: normal;
        text-align: right;
    }

    .time-slots-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .time-slot {
        min-height: 42px;
    }

    .appointment-selection-copy strong {
        white-space: normal;
        line-height: 1.4;
    }

    .parking-mode-options {
        grid-template-columns: 1fr;
    }

    .ico-lookup-row {
        align-items: stretch;
        flex-direction: column;
    }

    .ico-lookup-row .btn {
        width: 100%;
    }

    .payment-details-card .payment-option-card {
        min-height: 72px;
    }
}

/* Unified unavailable state for manually blocked and fully booked days */
.calendar-availability-legend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid rgba(24, 52, 89, .07);
    color: var(--rd-muted);
    font-size: .7rem;
    font-weight: 700;
}

.calendar-availability-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.calendar-legend-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.calendar-legend-dot.available {
    background: #35a77e;
    box-shadow: 0 0 0 3px rgba(53, 167, 126, .12);
}

.calendar-legend-dot.unavailable {
    background: #c7d0d9;
    box-shadow: 0 0 0 3px rgba(199, 208, 217, .18);
}

.calendar-grid.checking-availability {
    opacity: .72;
    pointer-events: none;
    transition: opacity .18s ease;
}

.calendar-day.unavailable,
.calendar-day.unavailable:hover {
    position: relative;
    color: #9eabb7 !important;
    border-color: transparent !important;
    background: repeating-linear-gradient(135deg, #f1f4f6 0, #f1f4f6 5px, #e9eef2 5px, #e9eef2 7px) !important;
    box-shadow: none !important;
    cursor: not-allowed;
    text-decoration: none;
}

.calendar-day.unavailable::after {
    content: '';
    position: absolute;
    right: 6px;
    bottom: 6px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #aeb9c3;
}

@media (max-width: 430px) {
    .calendar-availability-legend {
        gap: 12px;
        font-size: .64rem;
    }
}
