.kbm-standalone-body {
    margin: 0;
    background: #f7f6f2;
}

.kbm-standalone-header {
    background: #656050;
    padding: 24px 20px;
    text-align: center;
}

.kbm-standalone-logo-link {
    display: inline-flex;
    line-height: 0;
    text-decoration: none !important;
}

.kbm-standalone-logo {
    display: inline-block;
    height: auto;
    max-width: 180px;
}

.kbm-standalone-main {
    background: #f7f6f2;
    min-height: calc(100vh - 220px);
    padding: 50px 20px;
}

.kbm-standalone-footer {
    background: #656050;
    color: #ffffff;
    padding: 28px 20px;
    text-align: center;
}

.kbm-standalone-footer a {
    color: #ffffff !important;
    margin: 0 12px;
    text-decoration: none !important;
}

.kbm-standalone-footer a:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}

.kbm-standalone-copyright {
    color: #ffffff;
    font-size: 14px;
    margin-top: 12px;
}

.kbm-booking-page {
    background: #f5f7fb;
    padding: 48px 16px 72px;
}

.kbm-booking-wrap {
    max-width: 1120px;
    margin: 0 auto;
}

.kbm-booking-hero {
    margin-bottom: 28px;
}

.kbm-widget-hero {
    margin: 0 0 24px;
    text-align: center;
}

.kbm-widget-hero h1 {
    color: #172033;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.1;
    margin: 0;
}

.kbm-booking-hero p {
    color: #2563eb;
    font-weight: 700;
    letter-spacing: 0;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.kbm-booking-hero h1 {
    color: #172033;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.05;
    margin: 0 0 14px;
}

.kbm-house-description {
    color: #516070;
    max-width: 760px;
}

.kbm-booking-button,
.kbm-calendar-book-link,
.kbm-primary-button,
.kbm-btn,
.kbm-button,
.kbm-submit,
.kbm-primary-cta {
    align-items: center;
    background: #656050 !important;
    border: 1px solid #656050 !important;
    border-radius: 14px;
    box-shadow: 0 14px 28px rgba(101, 96, 80, 0.18);
    color: #ffffff !important;
    cursor: pointer;
    display: inline-flex;
    font-weight: 600;
    justify-content: center;
    min-height: 50px;
    padding: 14px 24px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.kbm-booking-button:hover,
.kbm-calendar-book-link:hover,
.kbm-primary-button:hover,
.kbm-btn:hover,
.kbm-button:hover,
.kbm-submit:hover,
.kbm-primary-cta:hover {
    background: #575247 !important;
    border-color: #575247 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(87, 82, 71, 0.24);
}

.kbm-calendar-app {
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr);
}

.kbm-calendar-app[data-booking-form="1"] {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.7fr);
}

.kbm-calendar-shell,
.kbm-booking-form,
.kbm-notice,
.kbm-payment-status {
    background: #fff;
    border: 1px solid #e7ecf4;
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(23, 32, 51, 0.1);
    padding: 24px;
}

.kbm-payment-status {
    text-align: center;
}

.kbm-result-card {
    background: #fff;
    border: 1px solid #e7ecf4;
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(23, 32, 51, 0.1);
    margin: 0 auto;
    max-width: 720px;
    padding: 34px;
    text-align: center;
}

.kbm-result-card h1 {
    color: #172033;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.1;
    margin: 0 0 14px;
}

.kbm-result-card p {
    color: #516070;
    font-size: 18px;
    line-height: 1.6;
    margin: 0 0 24px;
}

.kbm-payment-status h1 {
    color: #172033;
    font-size: clamp(30px, 4vw, 48px);
    margin: 0 0 12px;
}

.kbm-payment-status p {
    color: #516070;
    font-size: 18px;
    font-weight: 700;
}

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

.kbm-calendar-head strong {
    color: #172033;
    font-size: 20px;
}

.kbm-calendar-head button {
    background: #eef4ff;
    border: 0;
    border-radius: 50%;
    color: #172033;
    cursor: pointer;
    font-size: 28px;
    height: 44px;
    line-height: 1;
    width: 44px;
}

.kbm-weekdays,
.kbm-days {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.kbm-weekdays span {
    color: #7a8796;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
}

.kbm-days {
    margin-top: 10px;
}

.kbm-days button,
.kbm-days > span {
    aspect-ratio: 1;
    border-radius: 14px;
    min-width: 0;
}

.kbm-days button {
    background: #f8fafc;
    border: 1px solid #edf1f7;
    color: #172033;
    cursor: pointer;
    font-weight: 800;
}

.kbm-days button:hover {
    border-color: #2563eb;
}

.kbm-days button.is-blocked {
    background: #edf0f4;
    color: #a1aab6;
    text-decoration: line-through;
}

.kbm-days button.is-selected {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

.kbm-days button.is-in-range {
    background: #dceafe;
    border-color: #bfdbfe;
    color: #1746a2;
}

.kbm-calendar-summary {
    color: #405064;
    font-weight: 700;
    margin: 18px 0;
    min-height: 26px;
}

.kbm-calendar-book-link {
    opacity: 0.48;
    pointer-events: none;
}

.kbm-calendar-book-link.is-ready {
    opacity: 1;
    pointer-events: auto;
}

.kbm-booking-form {
    align-self: start;
}

.kbm-booking-form h2 {
    color: #172033;
    font-size: 24px;
    margin: 0 0 18px;
}

.kbm-booking-form label {
    color: #405064;
    display: grid;
    font-weight: 800;
    gap: 7px;
    margin-bottom: 14px;
}

.kbm-booking-form input,
.kbm-booking-form textarea {
    border: 1px solid #d8e0eb;
    border-radius: 12px;
    font: inherit;
    min-height: 46px;
    padding: 0 13px;
}

.kbm-booking-form textarea {
    min-height: 96px;
    padding: 12px 13px;
    resize: vertical;
}

.kbm-selected-dates {
    background: #eef4ff;
    border-radius: 14px;
    color: #172033;
    display: grid;
    gap: 4px;
    margin-bottom: 16px;
    min-height: 54px;
    padding: 14px;
}

.kbm-form-message {
    color: #b42318;
    font-weight: 700;
    margin-top: 12px;
    min-height: 22px;
}

.kbm-primary-button {
    width: 100%;
}

.kbm-booking-form.is-loading {
    opacity: 0.72;
    pointer-events: none;
}

@media (max-width: 820px) {
    .kbm-calendar-app[data-booking-form="1"] {
        grid-template-columns: 1fr;
    }

    .kbm-calendar-shell,
    .kbm-booking-form {
        padding: 18px;
    }

    .kbm-weekdays,
    .kbm-days {
        gap: 5px;
    }

    .kbm-days button {
        border-radius: 10px;
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    .kbm-standalone-logo {
        max-width: 140px;
    }

    .kbm-standalone-main {
        padding: 30px 14px;
    }

    .kbm-standalone-footer-links {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .kbm-standalone-footer a {
        margin: 0;
    }
}
