/* Hide native Booking Activities / WooCommerce booking controls on controlled course pages. */
    body.soa-controlled-course-product form.cart,
    body.soa-controlled-course-product form.variations_form,
    body.soa-controlled-course-product .bookacti-booking-form,
    body.soa-controlled-course-product .bookacti-booking-system-container,
    body.soa-controlled-course-product .bookacti-booking-system,
    body.soa-controlled-course-product .bookacti-form-field-container[data-type="calendar"],
    body.soa-controlled-course-product .bookacti-calendar {
        display: none !important;
    }

    .soa-controlled-product-booking {
        margin: 18px 0;
        padding: 15px;
        background: #fffaf0;
        border: 1px solid #d4af37;
        border-radius: 13px;
    }

    .soa-controlled-product-booking > strong,
    .soa-controlled-product-booking > span {
        display: block;
    }

    .soa-controlled-product-booking > strong {
        color: #111;
        font-size: 15px;
    }

    .soa-controlled-product-booking > span {
        margin: 4px 0 12px;
        color: #625f58;
        font-size: 12px;
        line-height: 1.4;
    }

    .soa-controlled-course-open,
    .soa-course-add-button {
        width: 100%;
        min-height: 46px;
        padding: 11px 14px !important;
        border: 1px solid #d4af37 !important;
        border-radius: 10px !important;
        background: #d4af37 !important;
        color: #111 !important;
        font-weight: 800 !important;
        cursor: pointer;
    }

    .soa-course-booking-drawer {
        position: fixed;
        z-index: 2147483100;
        top: 0;
        right: -460px;
        bottom: 0;

        display: flex;
        flex-direction: column;

        width: min(410px, 100vw);
        max-width: 100%;

        background: #f8f2e6;
        box-shadow: -14px 0 35px rgba(0,0,0,.22);

        transition: right .28s cubic-bezier(.22,.61,.36,1);
    }

    .soa-course-booking-drawer.active {
        right: 0;
    }

    .soa-course-booking-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;

        flex: 0 0 auto;

        padding: 15px 16px 12px;

        background: #fffaf0;
        border-bottom: 1px solid #d4af37;
    }

    .soa-course-booking-header strong,
    .soa-course-booking-header small {
        display: block;
    }

    .soa-course-booking-header strong {
        color: #111;
        font-size: 17px;
    }

    .soa-course-booking-header small {
        margin-top: 2px;
        color: #555;
        font-size: 11px;
    }

    .soa-course-booking-close {
        width: 42px;
        height: 42px;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        color: #111 !important;
        font-size: 30px !important;
        line-height: 1 !important;
        cursor: pointer;
    }

    .soa-course-booking-content {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        padding: 16px;
    }

    .soa-course-booking-screen h3 {
        margin: 0 0 7px;
        color: #111;
        font-size: 20px;
    }

    .soa-course-booking-note,
    .soa-course-format-help {
        margin: 0 0 12px;
        color: #675f52;
        font-size: 12px;
        line-height: 1.4;
    }

    .soa-course-format-picker {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-bottom: 9px;
    }

    .soa-course-format-picker button {
        min-height: 42px;
        padding: 9px 8px !important;
        border: 1px solid #d4af37 !important;
        border-radius: 9px !important;
        background: #fff !important;
        color: #111 !important;
        font-weight: 700 !important;
        cursor: pointer;
    }

    .soa-course-format-picker button.is-active {
        background: #d4af37 !important;
    }

    .soa-course-date-select {
        width: 100%;
        min-height: 46px;
        padding: 10px 12px;
        background: #fff;
        border: 1px solid #d7bf78;
        border-radius: 9px;
        color: #111;
        font-size: 13px;
    }

    .soa-course-selected-summary {
        margin: 12px 0;
        padding: 11px 12px;
        background: #fff;
        border-left: 3px solid #d4af37;
        border-radius: 8px;
    }

    .soa-course-selected-summary small,
    .soa-course-selected-summary strong {
        display: block;
    }

    .soa-course-selected-summary small {
        color: #7b6e50;
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
    }

    .soa-course-selected-summary strong {
        margin-top: 3px;
        color: #111;
        font-size: 13px;
        line-height: 1.35;
    }

    .soa-course-add-button {
        margin-top: 5px !important;
    }

    .soa-course-add-button:disabled {
        opacity: .48;
        cursor: not-allowed;
    }

    .soa-course-add-status {
        min-height: 18px;
        margin: 8px 0 0;
        color: #675f52;
        font-size: 11px;
    }

    .soa-course-empty {
        padding: 14px;
        background: #fff;
        border: 1px solid #eadcae;
        border-radius: 10px;
        color: #675f52;
        font-size: 12px;
    }

    .soa-course-booking-overlay {
        position: fixed;
        z-index: 2147483099;
        inset: 0;

        display: none;

        background: rgba(9,16,24,.52);
        backdrop-filter: blur(2px);
    }

    .soa-course-booking-overlay.active {
        display: block;
    }

    html.soa-course-booking-open,
    body.soa-course-booking-open {
        overflow: hidden !important;
    }

    @media screen and (max-width: 544px) {
        .soa-course-booking-drawer {
            bottom: 54px;
            height: calc(100dvh - 54px);
        }

        .soa-course-booking-overlay {
            bottom: 54px;
        }
    }
