/* Booking V2 Stage 4: isolated customer-facing preview. */
.bv4 { width: 100%; max-width: 1500px; margin: 0 auto; padding: 18px clamp(12px, 3vw, 36px) 70px; box-sizing: border-box; text-align: center; }
.bv4 *, .bv4 *::before, .bv4 *::after { box-sizing: border-box; }
.bv4-hero { padding: 20px 8px 24px; }
.bv4-eyebrow { color: #7e2847; font-size: .75rem; font-weight: 700; letter-spacing: .16em; }
.bv4-hero h1 { font-size: clamp(1.8rem, 5vw, 3.1rem); line-height: 1.18; margin: 8px 0; }
.bv4-preview { background: #f9f0e4; border: 1px solid #b78c4b; border-radius: 12px; padding: 12px; font-weight: 600; }
.bv4-layout { display: grid; grid-template-columns: minmax(0,1fr); gap: 20px; }
.bv4-panel { min-width: 0; width: 100%; padding: clamp(14px,3vw,26px); border: 1px solid #ded6d7; border-radius: 20px; background: #fffdfb; box-shadow: 0 6px 28px rgba(40,15,25,.05); }
.bv4-panel h2 { font-size: clamp(1.25rem,3.5vw,1.65rem); margin: 0 0 8px; }
.bv4-help { font-size: .93rem; color: #625c60; }
.bv4-service-list { max-height: 470px; overflow-y: auto; display: grid; gap: 8px; margin-top: 20px; text-align: left; }
.bv4-service { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid #e4d9dd; border-radius: 12px; cursor: pointer; }
.bv4-service:has(input:checked) { border-color: #772444; background: #fcf1f5; }
.bv4-service input { flex: 0 0 20px; width: 20px; height: 20px; accent-color: #752340; }
.bv4-service span:nth-child(2) { flex: 1; min-width: 0; }
.bv4-service strong, .bv4-service small { display: block; }
.bv4-service small { color: #625c60; margin-top: 4px; }
.bv4-price { font-size: .88rem; white-space: nowrap; }
.bv4-field { display: grid; gap: 7px; margin: 20px auto; max-width: 440px; }
.bv4-field label { font-weight: 700; }
.bv4-field select { width: 100%; min-height: 48px; border-radius: 10px; border: 1px solid #afa7a9; background: white; padding: 10px; font: inherit; }
.bv4-calendar-controls { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 18px 0; }
.bv4-calendar-controls h3 { margin: 0; font-size: clamp(1rem,4vw,1.3rem); }
.bv4-calendar-controls button { min-width: 44px; min-height: 44px; background: #68213e; color: #fff; border: 0; border-radius: 10px; font-size: 1.5rem; cursor: pointer; }
.bv4-weekdays, .bv4-days { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 4px; width: 100%; }
.bv4-weekdays { color: #762541; font-size: .8rem; font-weight: 700; margin-bottom: 8px; }
.bv4-days button, .bv4-empty { min-width: 0; width: 100%; aspect-ratio: 1/1; display: grid; place-items: center; border: 1px solid #d6c9ce; border-radius: 9px; background: #fff; font-size: clamp(.78rem,2.8vw,1rem); cursor: pointer; }
.bv4-days button:disabled { background: #f1eef0; color: #aaa1a5; border-color: #eee9eb; cursor: not-allowed; }
.bv4-days button.is-selected, .bv4-slots button.is-selected { background: #69233e; color: #fff; }
.bv4-days button.is-today { outline: 2px solid #be9c61; outline-offset: -2px; }
.bv4-empty { border: 0; background: transparent; }
.bv4-slots { display: grid; grid-template-columns: repeat(auto-fit,minmax(88px,1fr)); gap: 10px; margin: 14px 0; }
.bv4-slots button { padding: 13px 8px; border: 1px solid #6b2541; border-radius: 10px; background: white; font: inherit; cursor: pointer; }
.bv4-feedback { color: #635a5f; margin: 12px 0; }
.bv4-summary { background: #f5edf1; padding: 14px; border-radius: 10px; margin: 16px 0; }
.bv4-submit { display: block; width: 100%; padding: 15px; border: 0; border-radius: 12px; background: #d7cdd1; color: #61585c; font: inherit; cursor: not-allowed; }
@media (min-width: 920px) { .bv4-layout { grid-template-columns: minmax(0,1fr); align-items: start; } }
@media (max-width: 380px) { .bv4 { padding-inline: 8px; } .bv4-panel { padding: 12px; border-radius: 12px; } .bv4-days, .bv4-weekdays { gap: 2px; } }

/* Stage 4 bridge: existing service cart, single-column appointment calendar. */
.bv4-layout { grid-template-columns: minmax(0,1fr); max-width: 880px; margin-inline: auto; }
.bv4-cart { border: 1px solid #ded6d7; border-radius: 16px; padding: clamp(14px,3vw,22px); background: #fffdfb; text-align: left; }
.bv4-cart-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.bv4-cart-heading h2 { margin: 0; font-size: 1.15rem; }
.bv4-cart a { color: #68213e; font-weight: 700; }
.bv4-cart-list { list-style: none; margin: 12px 0; padding: 0; }
.bv4-cart-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px solid #eee4e7; }
.bv4-cart-list li span:first-child { min-width: 0; overflow-wrap: anywhere; }
.bv4-cart-list li span:last-child { white-space: nowrap; }
.bv4-cart-total { display: flex; justify-content: space-between; gap: 12px; margin: 14px 0 5px; }
.bv4-cart-duration { margin: 0; color: #625c60; font-size: .9rem; }
.bv4-catalogue-link { display: inline-block; margin-top: 12px; }
.bv4-slots { grid-template-columns: repeat(2,minmax(0,1fr)); }
.bv4-slots button { min-height: 52px; }
@media (min-width: 920px) { .bv4-layout { grid-template-columns: minmax(0,1fr); } }

/* Stage 4.1: visible disabled slots and provisional appointment window. */
.bv4-slot-help { color: #625c60; font-size: .9rem; margin: 10px 0; }
.bv4-slots button:disabled,
.bv4-slots button.is-unavailable {
    background: #f1eef0;
    border-color: #d8cfd3;
    color: #8b8186;
    cursor: not-allowed;
    opacity: 1;
}
.bv4-slots button.is-preview-blocked,
.bv4-slots button.is-preview-blocked:disabled {
    background: #f4e5eb;
    border-color: #b68da0;
    color: #71465a;
    cursor: not-allowed;
}
.bv4-slots button.is-selected,
.bv4-slots button.is-selected:not(:disabled) {
    background: #69233e;
    border-color: #69233e;
    color: #fff;
    cursor: pointer;
}
