:root {
    --rez-primary: #c9a87c;
    --rez-text: #333;
    --rez-light: #f8f7f5;
    --rez-border: #e5e0d8;
    --rez-radius: 8px;
}

.rez-booking-wrapper {
    max-width: 960px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--rez-text);
}

/* Step header */
.rez-step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}
.rez-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--rez-primary);
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}
.rez-step-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

/* Categories */
.rez-categories {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.rez-cat-btn {
    padding: 8px 18px;
    border: 1px solid var(--rez-border);
    border-radius: 25px;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}
.rez-cat-btn:hover,
.rez-cat-btn.active {
    background: var(--rez-primary);
    color: #fff;
    border-color: var(--rez-primary);
}

/* Procedure cards */
.rez-procedures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 15px;
}
.rez-procedure-card {
    border: 2px solid var(--rez-border);
    border-radius: var(--rez-radius);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
}
.rez-procedure-card:hover {
    border-color: var(--rez-primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.rez-procedure-card.selected {
    border-color: var(--rez-primary);
    background: var(--rez-light);
}
.rez-procedure-img {
    height: 140px;
    background-size: cover;
    background-position: center;
}
.rez-procedure-info {
    padding: 15px;
}
.rez-procedure-info h4 {
    margin: 0 0 8px;
    font-size: 16px;
}
.rez-procedure-info p {
    margin: 0 0 10px;
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}
.rez-procedure-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}
.rez-duration {
    color: #888;
}
.rez-price {
    font-weight: 700;
    color: var(--rez-primary);
    font-size: 16px;
}

/* Selected procedure bar */
.rez-selected-procedure {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    background: var(--rez-light);
    padding: 18px 22px;
    border-radius: var(--rez-radius);
    margin-bottom: 24px;
    border-left: 3px solid var(--rez-primary);
}
.rez-sel-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.rez-sel-title {
    font-weight: 700;
    font-size: 17px;
    color: #222;
}
.rez-sel-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
}
.rez-sel-duration {
    color: #666;
}
.rez-sel-price {
    font-weight: 700;
    color: var(--rez-primary);
    font-size: 15px;
}
.rez-change-btn {
    flex-shrink: 0;
    background: none;
    border: 1px solid var(--rez-border);
    padding: 7px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    color: #666;
    transition: all 0.2s;
}
.rez-change-btn:hover {
    border-color: var(--rez-primary);
    color: var(--rez-primary);
}

/* Calendar + Times */
.rez-datetime-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}
@media (max-width: 600px) {
    .rez-datetime-wrapper {
        grid-template-columns: 1fr;
    }
}

.rez-calendar {
    background: #fff;
    border: 1px solid var(--rez-border);
    border-radius: var(--rez-radius);
    padding: 15px;
}
.rez-cal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.rez-cal-header button {
    background: none;
    border: 1px solid var(--rez-border);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.rez-cal-header button:hover {
    background: var(--rez-light);
}
.rez-cal-month {
    font-weight: 600;
    font-size: 16px;
}
.rez-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    text-align: center;
}
.rez-cal-day-name {
    font-size: 12px;
    color: #999;
    padding: 5px 0;
    font-weight: 600;
}
.rez-cal-day {
    padding: 8px 4px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.15s;
}
.rez-cal-day:hover:not(.disabled):not(.empty) {
    background: var(--rez-light);
}
.rez-cal-day.selected {
    background: var(--rez-primary);
    color: #fff;
}
.rez-cal-day.today {
    font-weight: 700;
    border: 1px solid var(--rez-primary);
}
.rez-cal-day.disabled {
    color: #ccc;
    cursor: not-allowed;
}
.rez-cal-day.empty {
    cursor: default;
}

/* Times */
.rez-times {
    background: #fff;
    border: 1px solid var(--rez-border);
    border-radius: var(--rez-radius);
    padding: 15px;
}
.rez-times-placeholder {
    text-align: center;
    color: #999;
    padding: 30px 0;
}
.rez-times-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    max-height: 280px;
    overflow-y: auto;
}
.rez-time-slot {
    padding: 10px;
    text-align: center;
    border: 1px solid var(--rez-border);
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.15s;
}
.rez-time-slot:hover {
    border-color: var(--rez-primary);
    background: var(--rez-light);
}
.rez-time-slot.selected {
    background: var(--rez-primary);
    color: #fff;
    border-color: var(--rez-primary);
}
.rez-times-loading {
    text-align: center;
    padding: 20px;
    color: #888;
}

/* Next/Back buttons */
.rez-next-btn,
.rez-submit-btn {
    display: inline-block;
    padding: 12px 35px;
    background: var(--rez-primary);
    color: #fff;
    border: none;
    border-radius: var(--rez-radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: opacity 0.2s;
}
.rez-next-btn:hover,
.rez-submit-btn:hover {
    opacity: 0.9;
}
.rez-back-btn {
    display: inline-block;
    padding: 12px 25px;
    background: none;
    border: 1px solid var(--rez-border);
    border-radius: var(--rez-radius);
    font-size: 15px;
    cursor: pointer;
    margin-top: 20px;
}
.rez-back-btn:hover {
    border-color: #999;
}

/* Summary bar */
.rez-summary-bar {
    background: var(--rez-light);
    padding: 12px 18px;
    border-radius: var(--rez-radius);
    margin-bottom: 20px;
    font-size: 15px;
}
.rez-sum-price {
    font-weight: 700;
    color: var(--rez-primary);
}

/* Contact form */
.rez-contact-form {
    display: grid;
    gap: 18px;
}
.rez-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 14px;
}
.rez-field input,
.rez-field textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--rez-border);
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    box-sizing: border-box;
}
.rez-field input:focus,
.rez-field textarea:focus {
    outline: none;
    border-color: var(--rez-primary);
    box-shadow: 0 0 0 2px rgba(201, 168, 124, 0.15);
}

.rez-form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Success */
.rez-success {
    text-align: center;
    padding: 40px 20px;
}
.rez-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #d4edda;
    color: #28a745;
    font-size: 36px;
    margin-bottom: 20px;
}
.rez-success h3 {
    font-size: 24px;
    margin: 0 0 10px;
}
.rez-success p {
    color: #666;
    font-size: 16px;
    margin-bottom: 25px;
}
.rez-new-booking-btn {
    padding: 10px 25px;
    border: 1px solid var(--rez-primary);
    color: var(--rez-primary);
    background: none;
    border-radius: var(--rez-radius);
    cursor: pointer;
    font-size: 15px;
}
.rez-new-booking-btn:hover {
    background: var(--rez-primary);
    color: #fff;
}

/* Error */
.rez-error {
    background: #f8d7da;
    color: #721c24;
    padding: 12px 18px;
    border-radius: var(--rez-radius);
    margin-top: 15px;
    font-size: 14px;
}

/* Loading state */
.rez-submit-btn.loading {
    opacity: 0.6;
    pointer-events: none;
}
