.mbw-book-wrap {
    --mbw-book-button-color: #F2836F;
    --mbw-book-button-text-color: #ffffff;
    box-sizing: border-box;
    max-width: 1180px;
    width: 100%;
}

.mbw-book-wrap *,
.mbw-book-wrap *::before,
.mbw-book-wrap *::after {
    box-sizing: border-box;
}


.mbw-calendar-selector {
    border: 0;
    margin: 0 0 18px;
    padding: 0;
}

.mbw-calendar-selector legend {
    display: block;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 8px;
    padding: 0;
}

.mbw-calendar-choices {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mbw-calendar-choice {
    cursor: pointer;
    margin: 0;
}

.mbw-calendar-choice input {
    opacity: 0;
    position: absolute;
    pointer-events: none;
}

.mbw-calendar-choice span {
    align-items: center;
    background: #ffffff;
    border: 2px solid #727985;
    display: inline-flex;
    font-size: 16px;
    font-weight: 600;
    justify-content: center;
    min-height: 46px;
    padding: 9px 18px;
}

.mbw-calendar-choice input:checked + span {
    background: #111111;
    border-color: #111111;
    color: #ffffff;
}

.mbw-calendar-choice input:focus + span {
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #111111;
}

.mbw-book-grid {
    display: grid;
    grid-template-columns: repeat(20, minmax(0, 1fr));
    gap: 16px 20px;
}

.mbw-top-field { grid-column: span 5; }
.mbw-book-grid-has-calendar .mbw-top-field,
.mbw-book-grid-has-calendar .mbw-calendar-select-field { grid-column: span 4; }
.mbw-col-15pct { grid-column: span 3; }
.mbw-col-20pct { grid-column: span 4; }
.mbw-col-30pct { grid-column: span 6; }
.mbw-col-35pct { grid-column: span 7; }
.mbw-col-full { grid-column: span 20; }

.mbw-book-field {
    min-width: 0;
}

.mbw-book-field > label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 4px;
}

.mbw-book-form input[type="text"],
.mbw-book-form input[type="email"],
.mbw-book-form input[type="tel"],
.mbw-book-form input[type="number"],
.mbw-book-form select,
.mbw-book-form textarea {
    appearance: none;
    background: #ffffff;
    border: 2px solid #727985;
    border-radius: 0;
    box-shadow: none;
    color: #111111;
    font: inherit;
    font-size: 18px;
    line-height: 1.3;
    margin: 0;
    outline: 0;
    width: 100%;
}

.mbw-book-form input[type="text"],
.mbw-book-form input[type="email"],
.mbw-book-form input[type="tel"],
.mbw-book-form input[type="number"],
.mbw-book-form select {
    min-height: 72px;
    padding: 0 24px;
}

.mbw-book-form select {
    background-image:
        linear-gradient(45deg, transparent 50%, #111111 50%),
        linear-gradient(135deg, #111111 50%, transparent 50%);
    background-position:
        calc(100% - 23px) 50%,
        calc(100% - 17px) 50%;
    background-repeat: no-repeat;
    background-size: 6px 6px, 6px 6px;
    padding-right: 48px;
}


.mbw-time-select-wrap {
    position: relative;
}

.mbw-book-form .mbw-time-input {
    background-image: none;
    cursor: pointer;
    padding-right: 54px;
}

.mbw-field-icon {
    fill: none;
    height: 22px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    width: 22px;
}

.mbw-time-icon {
    pointer-events: none;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}


.mbw-book-form select:disabled {
    background-color: #f5f5f5;
    color: #737373;
    cursor: not-allowed;
}

.mbw-book-form textarea {
    min-height: 88px;
    padding: 22px 24px;
    resize: vertical;
}

.mbw-book-form input::placeholder,
.mbw-book-form textarea::placeholder {
    color: #111111;
    opacity: 1;
}

.mbw-book-form input:focus,
.mbw-book-form select:focus,
.mbw-book-form textarea:focus {
    border-color: #111111;
    box-shadow: 0 0 0 1px #111111;
}

.mbw-date-picker {
    position: relative;
}

.mbw-date-display {
    cursor: pointer;
    padding-right: 50px !important;
}

.mbw-calendar-trigger {
    background: transparent;
    border: 0;
    cursor: pointer;
    height: 70px;
    margin: 0;
    padding: 0;
    position: absolute;
    right: 2px;
    top: 2px;
    width: 46px;
}

.mbw-calendar-trigger .mbw-field-icon {
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}


.mbw-calendar {
    background: #ffffff;
    border: 1px solid #c7c7c7;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    left: 0;
    min-width: 300px;
    padding: 14px;
    position: absolute;
    top: calc(100% + 6px);
    width: 100%;
    z-index: 2147483000;
}

.mbw-calendar[hidden] {
    display: none !important;
}

.mbw-calendar.mbw-calendar-portal {
    margin: 0;
    max-height: calc(100vh - 24px);
    max-width: calc(100vw - 24px);
    overflow: auto;
    position: fixed;
}

.mbw-calendar-header {
    align-items: center;
    display: grid;
    grid-template-columns: 38px 1fr 38px;
    margin-bottom: 10px;
}

.mbw-calendar-month {
    font-size: 16px;
    text-align: center;
}

.mbw-calendar-nav {
    align-items: center;
    background: transparent;
    border: 1px solid transparent;
    color: #111111;
    cursor: pointer;
    display: inline-flex;
    font-size: 26px;
    height: 36px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    width: 36px;
}

.mbw-calendar-nav:hover,
.mbw-calendar-nav:focus {
    border-color: #111111;
    outline: 0;
}

.mbw-calendar-nav:disabled {
    cursor: default;
    opacity: 0.25;
}

.mbw-calendar-weekdays,
.mbw-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(30px, 1fr));
    gap: 3px;
}

.mbw-calendar-weekdays {
    color: #666666;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
    text-align: center;
}

.mbw-calendar-weekdays span {
    padding: 5px 0;
}

.mbw-calendar-day,
.mbw-calendar-empty {
    aspect-ratio: 1 / 1;
    min-height: 34px;
}

.mbw-calendar-day {
    align-items: center;
    background: #ffffff;
    border: 1px solid transparent;
    color: #111111;
    cursor: pointer;
    display: flex;
    font: inherit;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.mbw-calendar-day:hover,
.mbw-calendar-day:focus {
    border-color: #111111;
    outline: 0;
}

.mbw-calendar-day.is-selected {
    background: #111111;
    color: #ffffff;
}

.mbw-calendar-day:disabled,
.mbw-calendar-day.is-unavailable {
    background: #f5f5f5;
    color: #aaaaaa;
    cursor: not-allowed;
    text-decoration: line-through;
}

.mbw-book-consent label {
    align-items: flex-start;
    display: flex;
    font-size: 14px;
    font-weight: 400;
    gap: 9px;
    line-height: 1.5;
}

.mbw-book-consent input[type="checkbox"] {
    flex: 0 0 auto;
    margin: 4px 0 0;
}

.mbw-book-submit {
    appearance: none;
    background: var(--mbw-book-button-color);
    border: 0;
    border-radius: 0;
    color: var(--mbw-book-button-text-color);
    cursor: pointer;
    display: block;
    font: inherit;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    min-height: 52px;
    padding: 13px 24px;
    text-align: center;
    width: 100%;
}

.mbw-book-submit:hover,
.mbw-book-submit:focus {
    filter: brightness(0.9);
    outline: 2px solid currentColor;
    outline-offset: -4px;
}

.mbw-book-notice {
    border: 1px solid currentColor;
    margin: 14px 0 0;
    padding: 12px 16px;
}

.mbw-book-success {
    background: var(--mbw-book-notice-bg, #5D6E76);
    color: var(--mbw-book-notice-color, #FFFFFF);
}

.mbw-book-error {
    background: #fff4f4;
}

.mbw-book-hp {
    height: 1px !important;
    left: -10000px !important;
    overflow: hidden !important;
    position: absolute !important;
    width: 1px !important;
}

.mbw-hours {
    max-width: 760px;
}

.mbw-hours-row {
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(110px, 0.8fr) minmax(160px, 1.2fr);
    padding: 0.45rem 0;
}

.mbw-hours-day {
    font-weight: 600;
}


.mbw-book-response:not(:empty) {
    margin-top: 14px;
}

.mbw-book-submit[disabled] {
    cursor: wait;
    opacity: 0.72;
}
@media (max-width: 980px) {
    .mbw-top-field,
    .mbw-book-grid-has-calendar .mbw-top-field,
    .mbw-book-grid-has-calendar .mbw-calendar-select-field,
    .mbw-col-15pct,
    .mbw-col-20pct,
    .mbw-col-30pct,
    .mbw-col-35pct {
        grid-column: span 10;
    }
}

@media (max-width: 620px) {
    .mbw-book-grid {
        gap: 14px;
        grid-template-columns: 1fr;
    }

    .mbw-top-field,
    .mbw-book-grid-has-calendar .mbw-top-field,
    .mbw-book-grid-has-calendar .mbw-calendar-select-field,
    .mbw-col-15pct,
    .mbw-col-20pct,
    .mbw-col-30pct,
    .mbw-col-35pct,
    .mbw-col-full {
        grid-column: 1;
    }

    .mbw-book-form input[type="text"],
    .mbw-book-form input[type="email"],
    .mbw-book-form input[type="tel"],
    .mbw-book-form input[type="number"],
    .mbw-book-form select {
        min-height: 60px;
        padding-left: 18px;
    }

    .mbw-calendar-trigger {
        height: 58px;
    }

    .mbw-calendar-trigger::before {
        top: 19px;
    }

    .mbw-calendar-trigger::after {
        top: 15px;
    }

    .mbw-calendar {
        min-width: 280px;
    }
}


.mbw-hours-selector > label { display:block; font-weight:600; margin:0 0 6px; }
.mbw-hours-selector > select { min-height:48px; padding:0 42px 0 14px; width:100%; max-width:420px; margin:0 0 18px; }
.mbw-hours-panel[hidden] { display:none !important; }
