@import url('https://fonts.googleapis.com/css2?family=Boldonse&family=Space+Grotesk:wght@300..700&display=swap');
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;
    background: #f4f4f4;
    color: #171717;
}

.booking-layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 41% 59%;
}

.booking-left {
    position: relative;
    min-height: 100vh;
    background:
        linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.72)),
        url('https://images.unsplash.com/photo-1621605815971-fbc98d665033?auto=format&fit=crop&w=1400&q=80') center/cover no-repeat;
    color: #fff;
}

.booking-left-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(212,106,28,.16), transparent 45%);
}

.booking-left-content {
    position: relative;
    z-index: 1;
    height: 100%;
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand {
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 60px;
}

.brand img {
    width: 200px;
    top: 0;
    height: 200px;
    background: #ffffff;
    border-radius: 100%;
    object-fit: cover;
    padding: 10px;
    margin: 0 auto;
    display: block;
    border: 10px solid #d46a1c;
}

.brand span {
    color: #d46a1c;
}

.booking-left-content h1 {
    margin: 0 0 18px;
    font-size: clamp(44px, 5vw, 82px);
    line-height: .96;
    text-transform: uppercase;
    letter-spacing: -.02em;
}

.booking-left-content h1 span {
    color: #d46a1c;
}

.booking-left-content p {
    max-width: 480px;
    color: rgba(255,255,255,.84);
    font-size: 18px;
}

.booking-right {
    background: #fff;
    min-height: 100vh;
    padding: 38px 34px;
}

.booking-panel {
    max-width: 980px;
    margin: 0 auto;
}

.step-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 26px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.step-head h2 {
    margin: 0 0 6px;
    font-size: 44px;
    line-height: 1;
    letter-spacing: -.02em;
}

.step-head p {
    margin: 0;
    color: #666;
}

.back-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    font-size: 22px;
    flex-shrink: 0;
}

.hidden {
    display: none !important;
}

.step-section {
    display: none;
}

.step-section.active {
    display: block;
}

.search-wrap {
    margin-bottom: 18px;
}

.search-wrap input {
    width: 100%;
    height: 54px;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 0 16px;
    font-size: 15px;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.service-item {
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: .2s ease;
}

.service-item:hover {
    box-shadow: 0 12px 24px rgba(0,0,0,.06);
    border-color: #d9d9d9;
}

.service-item-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.service-thumb {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: #171717;
    color: #d46a1c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
    flex-shrink: 0;
}

.service-item h3 {
    margin: 0 0 6px;
    font-size: 22px;
}

.service-item p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.service-item-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.service-duration {
    color: #444;
    font-weight: 700;
    white-space: nowrap;
}

.book-service-btn,
.continue-btn {
    min-width: 120px;
    height: 48px;
    border: 0;
    border-radius: 10px;
    background: #d46a1c;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: .2s ease;
    font-family: "Space Grotesk", sans-serif;
    font-size: 16px;
}

.book-service-btn:hover,
.continue-btn:hover {
    background: #b95712;
}

.selected-service-box {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    background: #f8f8f8;
    border: 1px solid #ececec;
    border-radius: 16px;
    padding: 18px 20px;
    margin-bottom: 20px;
}

.selected-service-box small,
.selected-duration small {
    display: block;
    color: #777;
    margin-bottom: 6px;
}

.selected-service-box h3,
.selected-duration strong {
    margin: 0;
    font-size: 24px;
}

.booking-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-group select,
.form-group input {
    width: 100%;
    height: 54px;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 15px;
    outline: none;
    background: #fff;
}

.form-group select:focus,
.form-group input:focus {
    border-color: #d46a1c;
    box-shadow: 0 0 0 4px rgba(212,106,28,.12);
}

.summary-card {
    margin-top: 22px;
    border: 1px solid #ececec;
    border-radius: 16px;
    padding: 18px 20px;
    background: #fbfbfb;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.summary-row:last-child {
    border-bottom: 0;
}

.summary-row span {
    color: #666;
}

.booking-actions {
    margin-top: 22px;
}

.booking-message {
    margin-top: 12px;
    min-height: 24px;
    font-weight: 700;
}

.success-box {
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px;
}

.success-icon {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: #21b15b;
    color: #fff;
    font-size: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.success-box h2 {
    margin: 0 0 12px;
    font-size: 46px;
}

.success-box p {
    max-width: 540px;
    color: #666;
    font-size: 17px;
}

.success-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 20px;
    justify-content: center;
}

.secondary-btn {
    min-width: 140px;
    height: 48px;
    border-radius: 10px;
    border: 1px solid #ddd;
    background: #fff;
    color: #171717;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 1100px) {
    .booking-layout {
        grid-template-columns: 1fr;
    }

    .booking-left {
        min-height: 340px;
    }

    .booking-left-content {
        padding: 50px 28px;
    }

    .booking-right {
        padding: 26px 16px 40px;
    }
}

@media (max-width: 760px) {
    .step-head h2 {
        font-size: 32px;
    }

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

    .service-item {
        flex-direction: column;
        align-items: stretch;
    }

    .service-item-right {
        justify-content: space-between;
    }

    .selected-service-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .booking-left-content h1 {
        font-size: 42px;
    }
}


.mini-title {
    margin: 0 0 14px;
    font-size: 20px;
    line-height: 1.1;
}

.date-time-block {
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 22px;
}

.date-cards {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.date-card {
    width: 95px;
    min-height: 110px;
    border: 1px solid #ddd;
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    padding: 12px 10px;
    text-align: center;
    transition: .2s ease;
}

.date-card:hover {
    border-color: #d46a1c;
    box-shadow: 0 10px 18px rgba(0,0,0,.06);
}

.date-card.active {
    background: #d46a1c;
    border-color: #d46a1c;
    color: #fff;
}

.date-card .month {
    font-size: 14px;
    margin-bottom: 6px;
}

.date-card .day-num {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 6px;
}

.date-card .weekday {
    font-size: 14px;
    opacity: .95;
}

.slot-section {
    border-top: 1px solid #eee;
    padding-top: 22px;
    margin-bottom: 22px;
}

.slot-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.slot-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.slot-filter {
    border: 1px solid #ddd;
    background: #fff;
    color: #222;
    border-radius: 10px;
    height: 42px;
    padding: 0 16px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s ease;
}

.slot-filter.active {
    background: #d46a1c;
    border-color: #d46a1c;
    color: #fff;
}

.time-slots {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    min-height: 52px;
}

.time-slot-btn {
    border: 1px solid #ddd;
    background: #fff;
    color: #222;
    border-radius: 10px;
    height: 44px;
    padding: 0 16px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s ease;
}

.time-slot-btn:hover {
    border-color: #d46a1c;
    color: #d46a1c;
}

.time-slot-btn.active {
    background: #d46a1c;
    border-color: #d46a1c;
    color: #fff;
}

.slot-empty {
    color: #777;
    font-weight: 600;
    padding: 10px 0;
}

  .staff-picker {
    position: relative;
    width: 100%;
}

.staff-picker-toggle {
    width: 100%;
    min-height: 66px;
    border: 1px solid #ddd;
    border-radius: 16px;
    background: #fff;
    padding: 12px 16px;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: .2s ease;
}

.staff-picker-toggle:hover {
    border-color: #d46a1c;
}

.staff-picker-toggle.open {
    border-color: #d46a1c;
    box-shadow: 0 0 0 3px rgba(212, 106, 28, 0.08);
}

.staff-picker-toggle::after {
    content: "⌄";
    font-size: 18px;
    color: #222;
    margin-left: 12px;
    flex-shrink: 0;
    transition: transform .2s ease;
}

.staff-picker-toggle.open::after {
    transform: rotate(180deg);
}

.staff-picker-placeholder {
    color: #666;
    font-size: 16px;
}

.staff-picker-selected {
    display: flex;
    align-items: center;
    gap: 12px;
}

.staff-picker-selected img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f2f2f2;
    flex-shrink: 0;
}

.staff-picker-selected-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.staff-picker-selected-info strong {
    font-size: 15px;
    color: #111;
    font-weight: 700;
}

.staff-picker-selected-info span {
    font-size: 13px;
    color: #777;
}

.staff-picker-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.10);
    padding: 8px;
    display: none;
    z-index: 100;
    max-height: 320px;
    overflow-y: auto;
}

.staff-picker-menu.show {
    display: block;
}

.staff-option {
    width: 100%;
    border: 0;
    background: transparent;
    border-radius: 14px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    text-align: left;
    transition: .15s ease;
}

.staff-option:hover {
    background: #f8f8f8;
}

.staff-option.active {
    background: rgba(212, 106, 28, 0.08);
}

.staff-option img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #f0f0f0;
}

.staff-option-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.staff-option-info strong {
    font-size: 15px;
    color: #111;
    font-weight: 700;
}

.staff-option-info span {
    font-size: 13px;
    color: #777;
}

.staff-option-empty {
    padding: 14px;
    text-align: center;
    color: #777;
    font-size: 14px;
}

@media (max-width: 768px) {
    .staff-picker-toggle {
        min-height: 62px;
        padding: 10px 14px;
    }

    .staff-picker-selected img,
    .staff-option img {
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 760px) {
    .date-card {
        width: calc(33.333% - 10px);
        min-width: 88px;
    }

    .slot-head {
        align-items: flex-start;
    }
}