.nsb-booking {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.nsb-booking-header {
    margin-bottom: 32px;
}

.nsb-booking-header h2 {
    margin-bottom: 8px;
}

.nsb-booking-header p {
    margin: 0;
}

.nsb-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.nsb-service-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    padding: 24px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    background: #fff;
}

.nsb-service-card h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.nsb-service-description {
    margin: 0;
    line-height: 1.6;
}

.nsb-service-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 24px;
}

.nsb-service-price {
    font-size: 1.25rem;
    font-weight: 700;
}

.nsb-select-service {
    appearance: none;
    border: 0;
    border-radius: 6px;
    padding: 11px 20px;
    background: #111;
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.nsb-select-service:hover,
.nsb-select-service:focus {
    opacity: 0.85;
}

.nsb-error {
    padding: 16px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
}

@media (max-width: 900px) {

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

@media (max-width: 600px) {

    .nsb-service-grid {
        grid-template-columns: 1fr;
    }

    .nsb-service-card {
        padding: 20px;
    }
}

.nsb-step-label {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    opacity: 0.65;
}

.nsb-category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.nsb-category-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 999px;
    color: inherit;
    text-decoration: none;
    font-size: 0.9rem;
}

.nsb-category-link:hover,
.nsb-category-link:focus {
    background: rgba(0, 0, 0, 0.05);
}

.nsb-service-category {
    margin-bottom: 56px;
    scroll-margin-top: 40px;
}

.nsb-category-heading {
    margin-bottom: 20px;
}

.nsb-category-heading h3 {
    margin: 0;
    font-size: 1.5rem;
}

.nsb-service-card h4 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.25rem;
}
/* Configure and location steps */
.nsb-step {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
}
.nsb-step[hidden], .nsb-quantity-section[hidden] { display: none !important; }
.nsb-step-header { margin-bottom: 28px; }
.nsb-step-header h2 { margin-top: 0; margin-bottom: 10px; }
.nsb-step-header p { margin: 0; line-height: 1.6; }
.nsb-back-button {
    appearance: none; display: inline-block; margin-bottom: 24px; padding: 0;
    border: 0; background: transparent; color: inherit; font: inherit;
    font-weight: 600; cursor: pointer;
}
.nsb-back-button:hover, .nsb-back-button:focus { text-decoration: underline; }
.nsb-configure-card, .nsb-location-card {
    padding: 28px; border: 1px solid rgba(0,0,0,.12); border-radius: 12px; background: #fff;
}
.nsb-configure-price-row, .nsb-configure-total, .nsb-selected-summary {
    display: flex; justify-content: space-between; gap: 20px;
}
.nsb-configure-price-row { padding-bottom: 20px; border-bottom: 1px solid rgba(0,0,0,.1); }
.nsb-quantity-section { padding: 24px 0; }
.nsb-quantity-section label { display: block; margin-bottom: 12px; font-weight: 600; }
.nsb-quantity-control {
    display: inline-flex; align-items: center; border: 1px solid rgba(0,0,0,.16);
    border-radius: 8px; overflow: hidden;
}
.nsb-quantity-button { width: 44px; height: 44px; border: 0; background: transparent; font-size: 1.25rem; cursor: pointer; }
.nsb-quantity-control input {
    width: 60px; height: 44px; padding: 0; border: 0;
    border-right: 1px solid rgba(0,0,0,.12); border-left: 1px solid rgba(0,0,0,.12);
    border-radius: 0; text-align: center; font: inherit; appearance: textfield;
}
.nsb-quantity-control input::-webkit-inner-spin-button,
.nsb-quantity-control input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.nsb-configure-total { padding-top: 20px; border-top: 1px solid rgba(0,0,0,.1); font-size: 1.1rem; }
.nsb-primary-button {
    appearance: none; width: 100%; margin-top: 28px; padding: 14px 22px;
    border: 0; border-radius: 7px; background: #111; color: #fff;
    font: inherit; font-weight: 700; cursor: pointer;
}
.nsb-primary-button:hover, .nsb-primary-button:focus { opacity: .88; }
.nsb-location-card > p { margin-top: 0; }
.nsb-selected-summary { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(0,0,0,.1); }

/* Stage 80: customer details and review */
.nsb-details-card, .nsb-review-card { padding: 28px; border: 1px solid rgba(0,0,0,.12); border-radius: 12px; background: #fff; }
.nsb-details-fields input, .nsb-details-fields textarea { width: 100%; max-width: 100%; box-sizing: border-box; }
.nsb-review-line-item, .nsb-review-total { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; }
.nsb-review-line-item + .nsb-review-line-item { border-top: 1px solid rgba(0,0,0,.08); }
.nsb-review-total { margin-top: 10px; padding-top: 18px; border-top: 1px solid rgba(0,0,0,.16); font-size: 1.1rem; }
.nsb-review-card h3 { margin-top: 28px; margin-bottom: 8px; }
.nsb-review-card h3:first-child { margin-top: 0; }
#nsb-location-error, #nsb-details-error { margin-top: 16px; }

/* Stage 85: verified payment confirmation */
.nsb-confirmation {
    max-width: 760px;
    margin: 32px auto;
    padding: 32px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #fff;
}
.nsb-confirmation-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid currentColor;
    border-radius: 50%;
    font-size: 24px;
    margin-bottom: 16px;
}
.nsb-confirmation-eyebrow {
    font-weight: 700;
    margin-bottom: 6px;
}
.nsb-confirmation-summary {
    margin-top: 24px;
    border-top: 1px solid #ddd;
}
.nsb-confirmation-summary > div {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}
.nsb-confirmation-summary span {
    flex: 0 0 150px;
}
.nsb-confirmation-summary strong {
    text-align: right;
    overflow-wrap: anywhere;
}
.nsb-confirmation-note {
    margin-top: 20px;
}
@media (max-width: 600px) {
    .nsb-confirmation-summary > div { display: block; }
    .nsb-confirmation-summary strong { display: block; text-align: left; margin-top: 4px; }
}
