/* Keeps fixed booking actions from being clipped by transformed bottom sheets on iOS. */
.single-woo-tour .booking-action-bar .total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 2px solid var(--line);
    font-weight: 600;
}

.single-woo-tour .booking-action-bar .toolbar {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.single-woo-tour .booking-action-bar .ghost,
.single-woo-tour .booking-action-bar .primary {
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
}

.single-woo-tour .booking-action-bar .ghost {
    border: 1px solid var(--line);
    background: #fff;
}

.single-woo-tour .booking-action-bar .primary {
    flex: 1;
    border: 1px solid #000;
    background: #111;
    color: #fff;
}

@media (max-width: 992px) {
    .single-woo-tour .summary.entry-summary.description_single.is_open,
    .single-woo-tour .summary.entry-summary.description_single.is_open .affix-sidebar,
    .single-woo-tour .summary.entry-summary.description_single.is_open .entry-content-tour,
    .single-woo-tour .summary.entry-summary.description_single.is_open .booking,
    .single-woo-tour .summary.entry-summary.description_single.is_open .scroll-form,
    .single-woo-tour .summary.entry-summary.description_single.is_open #tourBookingForm,
    .single-woo-tour .summary.entry-summary.description_single.is_open .sidebar-pax {
        transform: none !important;
        contain: none !important;
    }

    .single-woo-tour .summary.entry-summary.description_single .booking-action-bar {
        position: fixed !important;
        bottom: env(safe-area-inset-bottom);
        right: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        margin: 0 !important;
        padding: 10px max(15px, env(safe-area-inset-right)) 12px max(15px, env(safe-area-inset-left));
        box-sizing: border-box !important;
        background: #fff;
        border-top: 1px solid var(--line);
        box-shadow: 0 -8px 20px rgba(23, 32, 51, .10);
        z-index: 3;
    }

    .single-woo-tour .summary.entry-summary.description_single .booking-action-bar .total {
        min-height: 42px;
        margin: 0;
        padding: 0 0 8px;
        border-top: 0;
        border-bottom: 1px solid var(--line);
    }

    .single-woo-tour .summary.entry-summary.description_single .booking-action-bar .toolbar {
        min-height: 48px;
        margin: 10px 0 0;
    }
}
