.rhm-ticket-fields {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px 24px;
    width: 100%;
}

#rhm_visit_date_display {
    width: 100%;
}

.single-product form.cart.rhm-ticket-product-form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 16px 24px;
}

.single-product form.cart .rhm-ticket-fields .form-row {
    width: 100%;
    margin: 0;
}

.single-product form.cart .rhm-ticket-fields + .single-quantity {
    flex: 0 0 auto;
    margin: 0 !important;
}

.single-product form.cart .rhm-ticket-fields + .single-quantity + .single_add_to_cart_button {
    flex: 1 1 260px;
    width: auto !important;
    margin: 0 !important;
}

.single-product form.cart .rhm-ticket-fields + .single-quantity,
.single-product form.cart .rhm-ticket-fields + .single-quantity + .single_add_to_cart_button {
    align-self: center;
}

@media (max-width: 767px) {
    .rhm-ticket-fields {
        grid-template-columns: 1fr;
    }

    .single-product form.cart .rhm-ticket-fields + .single-quantity {
        flex: 0 0 120px;
    }

    .single-product form.cart .rhm-ticket-fields + .single-quantity + .single_add_to_cart_button {
        flex: 1 1 calc(100% - 144px);
    }
}

.ui-datepicker.rhm-datepicker {
    z-index: 999999 !important;
    width: 320px;
    padding: 10px;
    border: 1px solid #d9d9d9;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    font-family: inherit;
}

.ui-datepicker.rhm-datepicker .ui-datepicker-header {
    position: relative;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ececec;
    background: transparent;
}

.ui-datepicker.rhm-datepicker .ui-datepicker-title {
    margin: 0 56px;
    text-align: center;
    font-weight: 700;
    color: #222;
}

.ui-datepicker.rhm-datepicker .ui-datepicker-prev,
.ui-datepicker.rhm-datepicker .ui-datepicker-next {
    position: absolute;
    top: 10px;
    width: 60px;
    height: 28px;
    line-height: 28px;
    cursor: pointer;
}

.ui-datepicker.rhm-datepicker .ui-datepicker-prev {
    left: 0;
}

.ui-datepicker.rhm-datepicker .ui-datepicker-next {
    right: 0;
}

.ui-datepicker.rhm-datepicker table {
    margin: 0;
    border-collapse: collapse;
    background: #fff;
}

.ui-datepicker.rhm-datepicker th,
.ui-datepicker.rhm-datepicker td {
    padding: 4px;
    text-align: center;
    border: 0;
    background: #fff;
}

.ui-datepicker.rhm-datepicker th {
    font-size: 12px;
    font-weight: 700;
    color: #666;
}

.ui-datepicker.rhm-datepicker td a,
.ui-datepicker.rhm-datepicker td span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    color: #222;
    text-decoration: none;
}

.ui-datepicker.rhm-datepicker td a:hover,
.ui-datepicker.rhm-datepicker td a.ui-state-active {
    background: #ec1e24;
    color: #fff;
}

.ui-datepicker.rhm-datepicker .ui-state-disabled span {
    opacity: 0.35;
}

.rhm-ticket-only-checkout.woocommerce-checkout #customer_details.col2-set {
    display: block;
}

.rhm-ticket-only-checkout.woocommerce-checkout #customer_details.col2-set > .col-2 {
    display: none !important;
}

.rhm-ticket-only-checkout.woocommerce-checkout #customer_details.col2-set > .col-1 {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100%;
    margin-right: 0;
}
