/* BookAWise Frontend — Rose/Blush Theme */
:root {
    --baw-primary:        #E8547A;
    --baw-primary-dark:   #C93D62;
    --baw-primary-light:  #FCEEF3;
    --baw-primary-mid:    rgba(232,84,122,.15);
    --baw-plum:           #2D1B35;
    --baw-mauve:          #C9A0B8;
    --baw-success:        #2A9D6F;
    --baw-danger:         #D94F4F;
    --baw-gray:           #8A7390;
    --baw-border:         #EFE0EA;
    --baw-bg:             #FFF7F9;
    --baw-white:          #FFFFFF;
    --baw-radius:         14px;
    --baw-radius-sm:      8px;
    --baw-shadow:         0 4px 24px rgba(45,27,53,.08);
    --baw-shadow-hover:   0 8px 40px rgba(232,84,122,.16);
}

/* =============================================
   BOOKING WRAPPER
============================================= */
.baw-booking-wrap {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    max-width: 880px;
    margin: 0 auto;
    color: var(--baw-plum);
    background: var(--baw-white);
    border-radius: 20px;
    box-shadow: var(--baw-shadow);
    overflow: hidden;
    border: 1px solid var(--baw-border);
}

/* Decorative header strip */
.baw-booking-wrap::before {
    content: '';
    display: block;
    height: 5px;
    background: linear-gradient(90deg, #F7B2C4 0%, var(--baw-primary) 50%, #B06090 100%);
}

/* =============================================
   STEP INDICATOR
============================================= */
.baw-steps {
    display: flex;
    align-items: center;
    padding: 24px 36px 0;
    gap: 0;
    background: var(--baw-white);
}

.baw-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    position: relative;
    z-index: 1;
}

.baw-step-num {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid var(--baw-border);
    background: var(--baw-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    color: var(--baw-mauve);
    transition: all .3s cubic-bezier(.4,0,.2,1);
    letter-spacing: -.02em;
}

.baw-step-label {
    font-size: 10px;
    color: var(--baw-mauve);
    white-space: nowrap;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    transition: color .3s;
}

.baw-step.active .baw-step-num {
    background: var(--baw-primary);
    border-color: var(--baw-primary);
    color: #fff;
    box-shadow: 0 0 0 4px var(--baw-primary-mid);
}
.baw-step.active .baw-step-label { color: var(--baw-primary); }

.baw-step.done .baw-step-num {
    background: var(--baw-success);
    border-color: var(--baw-success);
    color: #fff;
}
.baw-step.done .baw-step-label { color: var(--baw-success); }

.baw-step-line {
    flex: 1;
    height: 2px;
    background: var(--baw-border);
    margin: 0 4px;
    margin-bottom: 22px; /* align with circle centres */
    transition: background .4s;
}
.baw-step-line.done { background: var(--baw-success); }

/* =============================================
   STEP CONTENT
============================================= */
.baw-step-content {
    display: none;
    padding: 32px 36px;
    animation: bawFadeIn .28s ease;
}
.baw-step-content.active { display: block; }

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

.baw-step-title {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 24px;
    color: var(--baw-plum);
    letter-spacing: -.03em;
}

/* =============================================
   SERVICE SEARCH
============================================= */
.baw-search-bar { margin-bottom: 20px; }
.baw-search-bar input {
    width: 100%;
    max-width: 380px;
    border: 1.5px solid var(--baw-border);
    border-radius: 30px;
    padding: 11px 20px;
    font-size: 14px;
    outline: none;
    background: var(--baw-bg);
    color: var(--baw-plum);
    font-family: inherit;
    transition: border-color .2s, box-shadow .2s;
}
.baw-search-bar input::placeholder { color: var(--baw-mauve); }
.baw-search-bar input:focus {
    border-color: var(--baw-primary);
    background: var(--baw-white);
    box-shadow: 0 0 0 3px var(--baw-primary-mid);
}

/* =============================================
   CATEGORY GROUP
============================================= */
.baw-category-group { margin-bottom: 28px; }
.baw-category-heading {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--baw-mauve);
    margin: 0 0 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}
.baw-category-heading::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--baw-border);
}

/* =============================================
   SERVICE CARDS
============================================= */
.baw-services-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.baw-service-item {
    background: var(--baw-white);
    border: 1.5px solid var(--baw-border);
    border-radius: var(--baw-radius);
    cursor: pointer;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.baw-service-item:hover {
    border-color: var(--baw-primary);
    box-shadow: var(--baw-shadow-hover);
    transform: translateY(-3px);
}
.baw-service-item.selected {
    border-color: var(--baw-primary);
    box-shadow: 0 0 0 3px var(--baw-primary-mid), var(--baw-shadow-hover);
}

.baw-service-color-bar { height: 5px; flex-shrink: 0; }

.baw-service-img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    display: block;
}
.baw-service-icon {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.baw-service-info { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; }
.baw-service-info h4 {
    margin: 0 0 5px;
    font-size: 15px;
    font-weight: 800;
    color: var(--baw-plum);
    letter-spacing: -.02em;
}
.baw-service-desc {
    margin: 0 0 10px;
    font-size: 12.5px;
    color: var(--baw-gray);
    line-height: 1.5;
    flex: 1;
}
.baw-service-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--baw-border);
}
.baw-service-duration { color: var(--baw-gray); font-weight: 500; }
.baw-service-price {
    font-weight: 800;
    color: var(--baw-primary);
    font-size: 15px;
    letter-spacing: -.02em;
}

.baw-select-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    background: var(--baw-primary);
    border-radius: 50%;
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(232,84,122,.35);
}
.baw-service-item.selected .baw-select-indicator { display: flex; }

/* =============================================
   STAFF GRID
============================================= */
.baw-staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.baw-staff-item {
    background: var(--baw-white);
    border: 1.5px solid var(--baw-border);
    border-radius: var(--baw-radius);
    cursor: pointer;
    text-align: center;
    padding: 24px 16px 20px;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.baw-staff-item:hover {
    border-color: var(--baw-primary);
    box-shadow: var(--baw-shadow-hover);
    transform: translateY(-3px);
}
.baw-staff-item.selected {
    border-color: var(--baw-primary);
    box-shadow: 0 0 0 3px var(--baw-primary-mid);
}

.baw-staff-photo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 12px;
    display: block;
    border: 3px solid var(--baw-border);
}
.baw-staff-item.selected .baw-staff-photo { border-color: var(--baw-primary); }

.baw-staff-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    margin: 0 auto 12px;
}
.baw-staff-name { font-size: 14px; font-weight: 800; margin: 0 0 4px; color: var(--baw-plum); }
.baw-staff-position { font-size: 11.5px; color: var(--baw-gray); margin: 0; }
.baw-staff-any { background: var(--baw-bg); }

/* =============================================
   DATE & TIME PICKER
============================================= */
.baw-datetime-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.baw-calendar-wrap {
    background: var(--baw-white);
    border: 1.5px solid var(--baw-border);
    border-radius: var(--baw-radius);
    padding: 22px;
}
.baw-cal-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
.baw-cal-month-label { font-size: 16px; font-weight: 800; color: var(--baw-plum); letter-spacing: -.02em; }

.baw-btn-icon {
    background: var(--baw-bg);
    border: 1.5px solid var(--baw-border);
    border-radius: var(--baw-radius-sm);
    width: 34px;
    height: 34px;
    cursor: pointer;
    font-size: 15px;
    transition: all .2s;
    color: var(--baw-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}
.baw-btn-icon:hover { border-color: var(--baw-primary); color: var(--baw-primary); background: var(--baw-primary-light); }

.baw-cal-headers { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; margin-bottom: 6px; }
.baw-cal-headers span {
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    color: var(--baw-mauve);
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 4px 0;
}
.baw-cal-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.baw-cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 600;
    cursor: default;
    transition: all .18s;
    color: var(--baw-plum);
}
.baw-cal-day.empty  { cursor: default; }
.baw-cal-day.past   { color: #ddd; cursor: not-allowed; }
.baw-cal-day.available {
    cursor: pointer;
    font-weight: 800;
    background: var(--baw-primary-light);
    color: var(--baw-primary);
}
.baw-cal-day.available:hover { background: var(--baw-primary); color: #fff; }
.baw-cal-day.selected { background: var(--baw-primary); color: #fff; box-shadow: 0 2px 8px rgba(232,84,122,.4); }
.baw-cal-day.today { outline: 2px solid var(--baw-primary); outline-offset: -2px; }

/* Time Slots */
.baw-slots-wrap {
    background: var(--baw-white);
    border: 1.5px solid var(--baw-border);
    border-radius: var(--baw-radius);
    padding: 22px;
    display: flex;
    flex-direction: column;
}
.baw-slots-wrap h3 {
    margin: 0 0 16px;
    font-size: 14px;
    font-weight: 700;
    color: var(--baw-plum);
    letter-spacing: -.01em;
}
.baw-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 8px;
}

.baw-slot {
    padding: 10px 12px;
    border: 1.5px solid var(--baw-border);
    border-radius: var(--baw-radius-sm);
    text-align: center;
    cursor: pointer;
    transition: all .18s;
    background: var(--baw-bg);
    color: var(--baw-plum);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 0;
}
.baw-slot:hover { border-color: var(--baw-primary); color: var(--baw-primary); background: var(--baw-primary-light); }
.baw-slot.selected { background: var(--baw-primary); border-color: var(--baw-primary); color: #fff; box-shadow: 0 2px 10px rgba(232,84,122,.35); }
.baw-slot-time {
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
}
.baw-slot-sep {
    font-size: 11px;
    font-weight: 400;
    opacity: .65;
}
.baw-slot-price {
    font-size: 10.5px;
    background: var(--baw-primary);
    color: #fff;
    border-radius: 20px;
    padding: 1px 8px;
    line-height: 1.6;
    white-space: nowrap;
}
.baw-slot.selected .baw-slot-price { background: rgba(255,255,255,.25); color: #fff; }
.baw-no-slots-msg { color: var(--baw-gray); font-style: italic; grid-column: 1/-1; text-align: center; padding: 24px 0; font-size: 13px; }

/* =============================================
   CUSTOMER FORM
============================================= */
.baw-customer-form .baw-form-row { display: flex; gap: 16px; margin-bottom: 18px; }
.baw-customer-form .baw-form-col { flex: 1; display: flex; flex-direction: column; }

.baw-customer-form label {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--baw-plum);
    letter-spacing: .04em;
    text-transform: uppercase;
}
.baw-customer-form input,
.baw-customer-form textarea,
.baw-customer-form select {
    width: 100%;
    border: 1.5px solid var(--baw-border);
    border-radius: var(--baw-radius-sm);
    padding: 11px 14px;
    font-size: 14px;
    outline: none;
    font-family: inherit;
    box-sizing: border-box;
    background: var(--baw-bg);
    color: var(--baw-plum);
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.baw-customer-form input::placeholder,
.baw-customer-form textarea::placeholder { color: var(--baw-mauve); }
.baw-customer-form input:focus,
.baw-customer-form textarea:focus {
    border-color: var(--baw-primary);
    background: var(--baw-white);
    box-shadow: 0 0 0 3px var(--baw-primary-mid);
}
.baw-full { flex: 1 1 100%; max-width: 100%; }
.baw-required { color: var(--baw-primary); }

/* =============================================
   BOOKING SUMMARY (Step 5)
============================================= */
.baw-booking-summary { display: flex; flex-direction: column; gap: 16px; }

.baw-summary-card {
    background: var(--baw-primary-light);
    border: 1.5px solid var(--baw-border);
    border-radius: var(--baw-radius);
    padding: 24px;
    position: relative;
    overflow: hidden;
}
.baw-summary-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--baw-primary), #B06090);
}
.baw-summary-card h3 {
    margin: 0 0 16px;
    font-size: 15px;
    font-weight: 800;
    color: var(--baw-plum);
    letter-spacing: -.02em;
}
.baw-summary-table { width: 100%; border-collapse: collapse; margin-bottom: 0; }
.baw-summary-table td {
    padding: 9px 0;
    border-bottom: 1px solid var(--baw-border);
    font-size: 14px;
    vertical-align: top;
}
.baw-summary-table tr:last-child td { border-bottom: none; }
.baw-summary-table td:first-child {
    color: var(--baw-gray);
    width: 38%;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding-right: 12px;
    padding-top: 11px;
}
.baw-summary-table td:last-child { font-weight: 600; color: var(--baw-plum); }

.baw-price-breakdown {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1.5px solid var(--baw-border);
}
.baw-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    font-size: 14px;
    color: var(--baw-gray);
}
.baw-price-total {
    font-size: 18px;
    font-weight: 800;
    color: var(--baw-plum);
    padding-top: 12px;
    margin-top: 8px;
    border-top: 2px solid var(--baw-border);
}
.baw-price-total span:last-child { color: var(--baw-primary); }

/* Deposit / partial-payment block */
.baw-deposit-wrap {
    margin-top: 10px;
    padding: 12px 14px;
    background: #fff7f9;
    border: 1.5px solid var(--baw-primary);
    border-radius: 10px;
}
.baw-deposit-row { font-size: 14px; padding: 4px 0; }
.baw-paying-now  { color: var(--baw-primary); font-weight: 700; }
.baw-paying-now  span:last-child { font-weight: 800; }
.baw-paying-later { color: var(--baw-gray); }
.baw-pay-full-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--baw-plum);
    cursor: pointer;
}
.baw-pay-full-label input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--baw-primary); cursor: pointer; }

/* Extras */
.baw-extras-section {
    background: var(--baw-white);
    border: 1.5px solid var(--baw-border);
    border-radius: var(--baw-radius);
    padding: 20px 24px;
}
.baw-extras-section h3 {
    margin: 0 0 14px;
    font-size: 14px;
    font-weight: 800;
    color: var(--baw-plum);
    text-transform: uppercase;
    letter-spacing: .05em;
}
.baw-extra-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 0;
    border-bottom: 1px solid var(--baw-border);
    gap: 12px;
}
.baw-extra-item:last-child { border-bottom: none; }
.baw-extra-info { flex: 1; }
.baw-extra-name { font-weight: 700; font-size: 14px; color: var(--baw-plum); }
.baw-extra-price { font-size: 13px; color: var(--baw-primary); font-weight: 700; margin-top: 2px; }
.baw-extra-qty { display: flex; align-items: center; gap: 10px; }
.baw-extra-qty button {
    width: 30px;
    height: 30px;
    border: 1.5px solid var(--baw-border);
    border-radius: 50%;
    background: var(--baw-bg);
    cursor: pointer;
    font-size: 17px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--baw-gray);
    transition: all .18s;
    line-height: 1;
}
.baw-extra-qty button:hover { border-color: var(--baw-primary); color: var(--baw-primary); background: var(--baw-primary-light); }
.baw-extra-qty span { font-weight: 800; min-width: 22px; text-align: center; font-size: 15px; color: var(--baw-plum); }

/* Coupon */
.baw-coupon-section {
    background: var(--baw-white);
    border: 1.5px solid var(--baw-border);
    border-radius: var(--baw-radius);
    padding: 18px 24px;
}
.baw-coupon-row { display: flex; gap: 10px; }
.baw-coupon-row input {
    flex: 1;
    border: 1.5px solid var(--baw-border);
    border-radius: var(--baw-radius-sm);
    padding: 10px 14px;
    font-size: 14px;
    outline: none;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 600;
    background: var(--baw-bg);
    color: var(--baw-plum);
    font-family: inherit;
    transition: border-color .2s, box-shadow .2s;
}
.baw-coupon-row input:focus { border-color: var(--baw-primary); box-shadow: 0 0 0 3px var(--baw-primary-mid); background: var(--baw-white); }
#baw-coupon-msg { margin-top: 8px; font-size: 13px; font-weight: 600; }
#baw-coupon-msg.success { color: var(--baw-success); }
#baw-coupon-msg.error   { color: var(--baw-danger); }

/* Payment Methods */
.baw-payment-section {
    background: var(--baw-white);
    border: 1.5px solid var(--baw-border);
    border-radius: var(--baw-radius);
    padding: 20px 24px;
}
.baw-payment-section h3 {
    margin: 0 0 14px;
    font-size: 14px;
    font-weight: 800;
    color: var(--baw-plum);
    text-transform: uppercase;
    letter-spacing: .05em;
}
.baw-gateway-list { display: flex; flex-direction: column; gap: 8px; }
.baw-gateway-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    border: 1.5px solid var(--baw-border);
    border-radius: var(--baw-radius-sm);
    cursor: pointer;
    transition: all .2s;
    background: var(--baw-bg);
}
.baw-gateway-option:hover { border-color: var(--baw-primary); background: var(--baw-primary-light); }
.baw-gateway-option input[type="radio"]:checked + .baw-gateway-label { color: var(--baw-primary); }
.baw-gateway-option input { margin: 0; accent-color: var(--baw-primary); }
.baw-gateway-label { font-size: 14px; font-weight: 600; color: var(--baw-plum); }
.baw-stripe-element { padding: 13px; border: 1.5px solid var(--baw-border); border-radius: var(--baw-radius-sm); background: var(--baw-white); margin-top: 12px; }

/* =============================================
   BUTTONS
============================================= */
.baw-btn-primary {
    background: var(--baw-primary);
    color: #fff;
    border: none;
    border-radius: var(--baw-radius-sm);
    padding: 13px 28px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: background .2s, transform .15s, box-shadow .2s;
    letter-spacing: .02em;
    font-family: inherit;
    box-shadow: 0 4px 16px rgba(232,84,122,.3);
}
.baw-btn-primary:hover:not(:disabled) {
    background: var(--baw-primary-dark);
    box-shadow: 0 6px 20px rgba(232,84,122,.4);
    transform: translateY(-1px);
}
.baw-btn-primary:active:not(:disabled) { transform: translateY(0); }
.baw-btn-primary:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }

.baw-btn-secondary {
    background: var(--baw-white);
    color: var(--baw-gray);
    border: 1.5px solid var(--baw-border);
    border-radius: var(--baw-radius-sm);
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    font-family: inherit;
}
.baw-btn-secondary:hover { border-color: var(--baw-mauve); color: var(--baw-plum); background: var(--baw-bg); }

.baw-submit-btn { min-width: 200px; }

/* =============================================
   STEP FOOTER
============================================= */
.baw-step-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1.5px solid var(--baw-border);
}

/* =============================================
   SUCCESS SCREEN
============================================= */
.baw-success-screen {
    text-align: center;
    padding: 48px 36px;
}
.baw-success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F7B2C4, var(--baw-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 36px;
    color: #fff;
    box-shadow: 0 8px 32px rgba(232,84,122,.3);
}
.baw-success-message h2 {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 10px;
    color: var(--baw-plum);
    letter-spacing: -.03em;
}
.baw-success-message p { color: var(--baw-gray); font-size: 15px; margin: 0 0 24px; line-height: 1.6; }
.baw-success-details {
    background: var(--baw-primary-light);
    border: 1.5px solid var(--baw-border);
    border-radius: var(--baw-radius);
    padding: 18px 22px;
    margin: 0 auto 28px;
    max-width: 420px;
    text-align: left;
    font-size: 14px;
}
.baw-success-details p { margin: 5px 0; color: var(--baw-plum); }

/* =============================================
   ERRORS & NOTICES
============================================= */
.baw-error-banner {
    background: #FEE2E2;
    color: #991B1B;
    border-radius: var(--baw-radius-sm);
    padding: 13px 18px;
    margin: 0 36px 28px;
    font-size: 14px;
    font-weight: 600;
    border-left: 4px solid var(--baw-danger);
}
.baw-error-msg { color: var(--baw-danger); font-size: 13px; margin-top: 6px; font-weight: 600; }
.baw-notice {
    background: var(--baw-primary-light);
    border-left: 4px solid var(--baw-primary);
    padding: 14px 18px;
    border-radius: 0 var(--baw-radius-sm) var(--baw-radius-sm) 0;
    font-size: 14px;
    font-weight: 500;
}
.baw-loading { text-align: center; padding: 28px; color: var(--baw-mauve); font-size: 14px; }

/* =============================================
   SERVICE LIST  [bookawise_list]
============================================= */
.baw-list-wrap {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.baw-list-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}
.baw-filter-btn {
    background: var(--baw-white);
    border: 1.5px solid var(--baw-border);
    border-radius: 20px;
    padding: 7px 18px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--baw-gray);
    cursor: pointer;
    transition: all .2s;
    letter-spacing: .03em;
    font-family: inherit;
}
.baw-filter-btn:hover { border-color: var(--baw-primary); color: var(--baw-primary); }
.baw-filter-btn.active { background: var(--baw-primary); border-color: var(--baw-primary); color: #fff; box-shadow: 0 3px 12px rgba(232,84,122,.3); }

.baw-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.baw-list-card {
    background: var(--baw-white);
    border-radius: 18px;
    border: 1.5px solid var(--baw-border);
    box-shadow: 0 2px 20px rgba(45,27,53,.07);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    cursor: pointer;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    outline: none;
}
.baw-list-card:hover,
.baw-list-card:focus-visible {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(232,84,122,.18);
    border-color: var(--baw-primary);
}
.baw-list-card.baw-hidden { display: none; }

.baw-list-card__banner {
    position: relative;
    height: 165px;
    background: var(--card-color, var(--baw-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.baw-list-card__banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(255,255,255,.14) 0%, transparent 55%);
    pointer-events: none;
    transition: opacity .22s;
}
.baw-list-card:hover .baw-list-card__banner::after {
    opacity: 0;
}
.baw-list-card__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.baw-list-card__icon { font-size: 52px; color: rgba(255,255,255,.7); user-select: none; }

/* Hover "View Details" cue */
.baw-list-card__view-cue {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(0deg, rgba(45,27,53,.7) 0%, transparent 100%);
    color: #fff;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 22px 16px 12px;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .22s, transform .22s;
    pointer-events: none;
}
.baw-list-card:hover .baw-list-card__view-cue,
.baw-list-card:focus-visible .baw-list-card__view-cue {
    opacity: 1;
    transform: translateY(0);
}

.baw-list-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(45,27,53,.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
    line-height: 1.7;
}

.baw-list-card__body {
    padding: 20px 22px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.baw-list-card__title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 800;
    color: var(--baw-plum);
    line-height: 1.3;
    letter-spacing: -.02em;
}
.baw-list-card__desc {
    margin: 0 0 12px;
    font-size: 13px;
    color: var(--baw-gray);
    line-height: 1.55;
    flex: 1;
}
.baw-list-card__meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--baw-border);
}
.baw-list-card__meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--baw-gray);
    font-weight: 600;
}
.baw-list-icon { width: 13px; height: 13px; fill: currentColor; flex-shrink: 0; }

.baw-list-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 22px;
    background: var(--baw-primary-light);
    border-top: 1.5px solid var(--baw-border);
    gap: 12px;
}
.baw-list-card__price {
    font-size: 20px;
    font-weight: 800;
    color: var(--baw-primary);
    white-space: nowrap;
    letter-spacing: -.03em;
}

.baw-list-card__view-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--baw-primary);
    color: #fff;
    border-radius: 20px;
    padding: 8px 18px;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: .03em;
    white-space: nowrap;
    line-height: 1;
    box-shadow: 0 3px 12px rgba(232,84,122,.3);
    transition: background .18s, transform .18s;
    pointer-events: none; /* card itself is the clickable target */
}
.baw-list-card:hover .baw-list-card__view-btn {
    background: var(--baw-primary-dark);
}
.baw-list-btn-arrow { width: 13px; height: 13px; fill: currentColor; flex-shrink: 0; }

/* Legacy .baw-list-card__btn kept for any other uses */
.baw-list-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--baw-primary);
    color: #fff;
    border: none;
    border-radius: var(--baw-radius-sm);
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: background .18s;
    white-space: nowrap;
    line-height: 1;
    font-family: inherit;
}
.baw-list-card__btn:hover { background: var(--baw-primary-dark); color: #fff; }

.baw-list-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--baw-mauve);
    font-style: italic;
    padding: 48px 0;
    font-size: 15px;
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 960px) {
    .baw-list-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
    .baw-booking-wrap { border-radius: 12px; }
    .baw-step-content { padding: 24px 20px; }
    .baw-steps { padding: 20px 20px 0; }
    .baw-step-line { max-width: 40px; }
    .baw-datetime-layout { grid-template-columns: 1fr; }
    .baw-customer-form .baw-form-row { flex-direction: column; }
    .baw-services-row { grid-template-columns: 1fr; }
    .baw-staff-grid { grid-template-columns: repeat(2, 1fr); }
    .baw-error-banner { margin: 0 20px 20px; }
    .baw-success-screen { padding: 36px 20px; }
}

@media (max-width: 560px) {
    .baw-steps { overflow-x: auto; padding-bottom: 4px; }
    .baw-step-label { display: none; }
    .baw-list-grid { grid-template-columns: 1fr; gap: 16px; }
    .baw-list-card__banner { height: 145px; }
    .baw-list-filters { gap: 6px; }
    .baw-filter-btn { padding: 6px 13px; font-size: 12px; }
}

/* =============================================
   SERVICE DETAIL MODAL
============================================= */
.baw-detail-overlay {
    position: fixed;
    inset: 0;
    z-index: 99998;
    background: rgba(45, 27, 53, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow-y: auto;
}

.baw-detail-box {
    position: relative;
    background: var(--baw-white);
    border-radius: 22px;
    width: 100%;
    max-width: 680px;
    max-height: calc(100vh - 32px);
    overflow: hidden;
    overflow-y: auto;
    box-shadow: 0 32px 96px rgba(45, 27, 53, 0.3);
    animation: bawDetailIn .28s cubic-bezier(.34,1.2,.64,1) both;
}

@keyframes bawDetailIn {
    from { opacity: 0; transform: scale(.93) translateY(20px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.baw-detail-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 20;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
}
.baw-detail-close:hover { background: rgba(255,255,255,.45); }

/* Hero */
.baw-detail-hero {
    position: relative;
    height: 230px;
    background: var(--detail-color, var(--baw-primary));
    overflow: hidden;
    flex-shrink: 0;
}
.baw-detail-hero__img-wrap {
    position: absolute;
    inset: 0;
}
.baw-detail-hero__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.baw-detail-hero__icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
    color: rgba(255,255,255,.6);
}
.baw-detail-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(45,27,53,.75) 0%, rgba(45,27,53,.1) 55%, transparent 100%);
}
.baw-detail-hero__content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 20px 28px;
}
.baw-detail-category {
    display: inline-block;
    background: rgba(255,255,255,.2);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 8px;
    border: 1px solid rgba(255,255,255,.25);
}
.baw-detail-title {
    margin: 0;
    font-size: 26px;
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -.03em;
    text-shadow: 0 2px 12px rgba(0,0,0,.3);
}

/* Body */
.baw-detail-body {
    padding: 28px 32px 32px;
}

/* Meta strip */
.baw-detail-meta-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--baw-bg);
    border: 1.5px solid var(--baw-border);
    border-radius: 14px;
    padding: 16px 22px;
    margin-bottom: 28px;
    gap: 16px;
    flex-wrap: wrap;
}
.baw-detail-price-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.baw-detail-price-label {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--baw-mauve);
}
.baw-detail-price {
    font-size: 32px;
    font-weight: 900;
    color: var(--baw-primary);
    letter-spacing: -.04em;
    line-height: 1;
}
.baw-detail-stats {
    display: flex;
    gap: 24px;
}
.baw-detail-stat {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 700;
    color: var(--baw-plum);
}
.baw-detail-stat svg {
    width: 16px;
    height: 16px;
    fill: var(--baw-primary);
    flex-shrink: 0;
}

/* Description */
.baw-detail-desc-section { margin-bottom: 28px; }
.baw-detail-section-heading {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--baw-mauve);
    margin: 0 0 12px;
}
.baw-detail-description {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--baw-plum);
}
.baw-detail-description p { margin: 0 0 10px; }
.baw-detail-description p:last-child { margin-bottom: 0; }

/* Book Now CTA */
.baw-detail-cta {
    display: flex;
    justify-content: center;
}
.baw-detail-book-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--baw-primary) 0%, var(--baw-primary-dark) 100%);
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: -.01em;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(232,84,122,.35);
    transition: transform .18s, box-shadow .18s;
    font-family: inherit;
    width: 100%;
    justify-content: center;
}
.baw-detail-book-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(232,84,122,.45);
}
.baw-detail-book-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

@media (max-width: 600px) {
    .baw-detail-box { border-radius: 18px; }
    .baw-detail-hero { height: 180px; }
    .baw-detail-title { font-size: 20px; }
    .baw-detail-body { padding: 20px 20px 24px; }
    .baw-detail-price { font-size: 26px; }
    .baw-detail-stats { gap: 14px; }
}

/* =============================================
   BOOKING MODAL OVERLAY
============================================= */
.baw-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(45, 27, 53, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow-y: auto;
}

.baw-modal-box {
    position: relative;
    background: var(--baw-white);
    border-radius: 20px;
    width: 100%;
    max-width: 900px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    box-shadow: 0 24px 80px rgba(45, 27, 53, 0.28);
    animation: bawModalIn .25s cubic-bezier(.34,1.22,.64,1) both;
}

@keyframes bawModalIn {
    from { opacity: 0; transform: scale(.94) translateY(16px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.baw-modal-close {
    position: sticky;
    top: 12px;
    float: right;
    margin: 12px 12px 0 0;
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--baw-border);
    background: var(--baw-white);
    color: var(--baw-gray);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s, color .15s, border-color .15s;
}
.baw-modal-close:hover {
    background: var(--baw-primary);
    border-color: var(--baw-primary);
    color: #fff;
}

/* Prevent background scroll when modal is open */
body.baw-modal-open {
    overflow: hidden;
}

/* Inside the modal, .baw-booking-wrap doesn't need its own outer radius/shadow
   since the .baw-modal-box provides the frame */
.baw-modal-box .baw-booking-wrap {
    border-radius: 0 0 20px 20px;
    box-shadow: none;
    margin: 0;
    max-width: none;
}
.baw-modal-box .baw-booking-wrap::before {
    border-radius: 0;
}

/* Also make the btn a proper button (not anchor) so no underline */
.baw-list-card__btn {
    border: none;
    cursor: pointer;
}

@media (max-width: 600px) {
    .baw-modal-box {
        border-radius: 16px;
        max-height: calc(100vh - 20px);
    }
    .baw-modal-overlay { padding: 10px; }
}
