:root {
    --bookly-main-color: #a01c36;
    --bookly-color: #a01c36;
}

.fl-post.page .fl-post-header {
    padding: 2rem 0 1rem;
}

.fl-post.page .fl-post-title {
    margin: 0;
    font-family: "Cinzel", serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 400;
    text-transform: uppercase;
    color: #333;
}

.elementor-1165 .e-con-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 15px;
}

.elementor-1165 .elementor-element-612e8ba .elementor-heading-title {
    font-family: "Roboto", sans-serif;
    font-size: 25px;
    font-weight: 600;
    color: #a01c36;
    text-align: center;
    margin: 0 0 1.5rem;
}

.bookly-css-root {
    margin-bottom: 2rem;
}

#bookly-booking-widget.bookly-form {
    max-width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.bookly-progress-wrap {
    margin-bottom: 1.75rem;
}

.bookly-progress-tracker.bookly-table {
    display: table;
    table-layout: fixed;
    width: 100%;
    margin: 0 0 20px;
    padding: 0;
}

.bookly-progress-tracker.bookly-table > div {
    display: table-cell;
    vertical-align: top;
    width: auto;
    padding-left: 4px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    font-family: "Raleway", sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #bec3c7;
}

.bookly-progress-tracker.bookly-table > div:first-child {
    padding-left: 0;
}

.bookly-progress-tracker.bookly-table > div.active {
    color: var(--bookly-main-color);
}

.bookly-progress-tracker .step {
    height: 15px;
    margin-top: 5px;
    background: #bec3c7;
}

.bookly-progress-tracker > div.active .step {
    background: var(--bookly-main-color);
}

.bookly-progress-tracker > div:first-child .step {
    border-radius: 5px 0 0 5px;
}

.bookly-progress-tracker > div:last-child .step {
    border-radius: 0 5px 5px 0;
}

.bookly-step-panel {
    display: none;
    padding: 1.5rem 0 0;
}

.bookly-step-panel.active {
    display: block;
}

.bookly-step-label {
    margin: 0 0 1rem;
    font-family: "Raleway", sans-serif;
    font-size: 15px;
    color: #333;
}

.bookly-service-table {
    margin-bottom: 1rem;
}

.bookly-service-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 0.8fr) 36px;
    gap: 1rem;
    align-items: end;
    margin-bottom: 1rem;
}

.bookly-service-row--head {
    align-items: end;
    margin-bottom: 0.75rem;
}

.bookly-service-row--head label {
    display: block;
    margin-bottom: 0.35rem;
    font-family: "Raleway", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.bookly-service-row-action {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
}

.bookly-remove-row {
    border: 0;
    background: none;
    color: var(--bookly-main-color);
    cursor: pointer;
    padding: 0.35rem;
    font-size: 16px;
    line-height: 1;
}

.bookly-remove-row:hover,
.bookly-remove-row:focus {
    color: #8b1538;
}

.bookly-service-toolbar {
    margin: 0.5rem 0 1.5rem;
}

.bookly-step-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #ddd;
}

.bookly-step-footer--split {
    justify-content: space-between;
}

.bookly-date-field {
    max-width: 280px;
    margin-bottom: 1rem;
}

.bookly-payment-note {
    font-family: "Raleway", sans-serif;
    font-size: 14px;
    color: #666;
    margin: 0.75rem 0 0;
}

.bookly-service-fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.bookly-field-group label {
    display: block;
    margin-bottom: 0.35rem;
    font-family: "Raleway", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.bookly-field-group select,
.bookly-field-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 0;
    background: #fff;
    font-family: "Raleway", sans-serif;
    font-size: 14px;
    color: #333;
}

.bookly-cart {
    margin: 1rem 0;
    padding: 0;
    list-style: none;
}

.bookly-cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 0;
    border-bottom: 1px solid #eee;
    font-family: "Raleway", sans-serif;
    font-size: 14px;
}

.bookly-cart-item button {
    border: 0;
    background: none;
    color: var(--bookly-main-color);
    cursor: pointer;
    font-size: 13px;
}

.bookly-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.bookly-btn {
    display: inline-block;
    padding: 12px 24px;
    border: 0;
    border-radius: 0;
    background: var(--bookly-main-color);
    color: #fff;
    font-family: "Raleway", sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease;
}

.bookly-btn:hover,
.bookly-btn:focus {
    background: #8b1538;
}

.bookly-btn-secondary {
    background: #666;
}

.bookly-time-copy {
    margin-bottom: 1.5rem;
    max-width: 640px;
}

.bookly-time-intro {
    margin: 0 0 0.75rem;
    font-family: "Raleway", sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

.bookly-time-surcharges {
    margin: 0.15rem 0 0;
    font-family: "Raleway", sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: #333;
}

.bookly-time-picker {
    display: grid;
    grid-template-columns: 260px minmax(0, 320px);
    gap: 2rem;
    align-items: start;
    max-width: 640px;
}

.bookly-calendar-wrap {
    border: 1px solid #e3e3e3;
    background: #fff;
    padding-bottom: 0.35rem;
}

.bookly-calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid #eee;
}

.bookly-calendar-title {
    font-family: "Raleway", sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.bookly-calendar-nav {
    border: 0;
    background: none;
    color: #666;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    padding: 0 0.5rem;
}

.bookly-calendar-weekdays,
.bookly-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.bookly-calendar-weekdays {
    padding: 0.5rem 0.35rem 0.25rem;
    border-bottom: 1px solid #eee;
}

.bookly-calendar-weekdays span {
    text-align: center;
    font-family: "Raleway", sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #888;
}

.bookly-calendar-grid {
    padding: 0.5rem 0.35rem 0.35rem;
    gap: 0.25rem;
}

.bookly-calendar-day {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin: 0 auto;
    border: 0;
    background: transparent;
    color: #333;
    font-family: "Raleway", sans-serif;
    font-size: 14px;
    cursor: pointer;
    border-radius: 50%;
}

.bookly-calendar-day--empty {
    visibility: hidden;
}

.bookly-calendar-day.is-selected {
    background: var(--bookly-main-color);
    color: #fff;
}

.bookly-calendar-day.is-disabled {
    color: #ccc;
    cursor: not-allowed;
    background: transparent;
}

.bookly-time-column {
    width: 100%;
}

.bookly-time-column-head {
    padding: 0.7rem 1rem;
    background: var(--bookly-main-color);
    color: #fff;
    font-family: "Raleway", sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.bookly-time-slots {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.65rem;
    border: 0;
    background: transparent;
    padding: 0;
}

.bookly-time-slot {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin: 0;
    padding: 0.7rem 0.85rem;
    border: 1px solid #ddd;
    background: #fff;
    font-family: "Raleway", sans-serif;
    font-size: 14px;
    color: #333;
    cursor: pointer;
}

.bookly-time-slot:last-child {
    border-bottom: 1px solid #ddd;
}

.bookly-time-slot input {
    width: 14px;
    height: 14px;
    margin: 0;
    accent-color: var(--bookly-main-color);
    flex-shrink: 0;
}

.bookly-time-slot:has(input:checked) {
    border-color: var(--bookly-main-color);
}

.bookly-time-empty {
    margin: 0;
    padding: 1rem;
    font-family: "Raleway", sans-serif;
    font-size: 14px;
    color: #666;
}

.bookly-step-footer--back-only {
    justify-content: flex-start;
    max-width: 640px;
    margin-top: 1.75rem;
}

.bookly-details-summary {
    margin: 0 0 1.5rem;
    max-width: 100%;
    font-family: "Raleway", sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: #666;
}

.bookly-customer-form {
    max-width: 100%;
}

.bookly-customer-row {
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
}

.bookly-customer-row--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bookly-customer-form .bookly-field-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-family: "Raleway", sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--bookly-main-color);
}

.bookly-customer-form .bookly-field-group input,
.bookly-customer-form .bookly-field-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    font-family: "Raleway", sans-serif;
    font-size: 14px;
    color: #333;
}

.bookly-customer-form .bookly-field-group--phone .iti {
    display: block;
    width: 100%;
}

.bookly-customer-form .bookly-field-group--phone .iti__tel-input {
    width: 100%;
    padding: 10px 12px 10px 52px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    font-family: "Raleway", sans-serif;
    font-size: 14px;
    color: #333;
    height: auto;
}

.bookly-customer-form .bookly-field-group--phone .iti__tel-input:focus {
    outline: none;
    border-color: var(--bookly-main-color);
}

.bookly-customer-form .bookly-field-group--phone .iti__country-container {
    border-radius: 4px 0 0 4px;
}

.bookly-customer-form .bookly-field-group textarea {
    min-height: 110px;
    resize: vertical;
}

.bookly-terms-check {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 1.25rem 0 0;
    font-family: "Raleway", sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--bookly-main-color);
    cursor: pointer;
}

.bookly-terms-check input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--bookly-main-color);
}

#bookly-step-details .bookly-step-footer {
    max-width: 100%;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
}

.bookly-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.bookly-slot-btn {
    padding: 0.65rem 0.5rem;
    border: 1px solid #ccc;
    background: #fff;
    color: #333;
    font-family: "Raleway", sans-serif;
    font-size: 14px;
    cursor: pointer;
}

.bookly-slot-btn.selected,
.bookly-slot-btn:hover {
    border-color: var(--bookly-main-color);
    background: var(--bookly-main-color);
    color: #fff;
}

.bookly-summary {
    margin: 1rem 0;
    padding: 1rem;
    background: #f8f8f8;
    font-family: "Raleway", sans-serif;
    font-size: 14px;
}

.bookly-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.35rem;
}

.bookly-summary-total {
    font-weight: 700;
    font-size: 16px;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #ddd;
}

.bookly-done {
    text-align: center;
    padding: 2rem 1rem;
}

.bookly-done h3 {
    font-family: "Cinzel", serif;
    color: #333;
    margin-bottom: 0.75rem;
}

.bookly-message {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    font-family: "Raleway", sans-serif;
    font-size: 14px;
    text-align: center;
}

.bookly-message.error {
    color: var(--bookly-main-color);
}

.bookly-message.success {
    color: #065f46;
}

.booking-policy-copy blockquote {
    margin: 1.5rem 0;
    padding: 0.75rem 0 0.75rem 1rem;
    border-left: 4px solid #d2aa53;
    background: #f5f5f5;
}

.booking-policy-copy blockquote p {
    margin: 0;
}

.booking-policy-copy a {
    color: var(--bookly-main-color);
}

@media (max-width: 767px) {
    .bookly-service-row,
    .bookly-service-row--head {
        grid-template-columns: 1fr;
    }

    .bookly-service-row-action {
        justify-content: flex-start;
        min-height: auto;
    }

    .bookly-time-picker {
        grid-template-columns: 1fr;
    }

    .bookly-customer-row--3 {
        grid-template-columns: 1fr;
    }

    .bookly-progress-tracker.bookly-table > div {
        font-size: 11px;
    }

    .bookly-progress-tracker .step {
        height: 12px;
        margin-top: 4px;
    }

    .bookly-step-footer,
    .bookly-step-footer--split,
    .bookly-step-footer--back-only {
        flex-direction: column;
        align-items: stretch;
    }

    .bookly-btn {
        width: 100%;
        text-align: center;
    }
}
