/* Modals */
.hidden-modal{
    display: none;
}

.pdp-total__quantity{
    flex-wrap: wrap;
}
.pdp-total__quantity .quantity{
    flex: 0 0 auto;
    width: 20%;
}
.pdp-total__quantity .single_add_to_cart_button{
    flex: 0 0 auto;
    width: calc(100% - 102px - 22px);
}
.pdp-total__quantity .quick-order-button{
    flex: 0 0 auto;
    width: 100%;
    padding: 14px 16px !important;
    padding-block: 14px 16px !important;
    padding-inline: 16px 18px !important;
    background-color: rgba(243, 239, 232, 1) !important;
    border: 1px solid rgba(245, 124, 19, 1) !important;
}
.pdp-total__quantity .quick-order-button:hover{
    background-color: rgba(245, 124, 19, 1) !important;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    min-width: 100vw;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: start;
    padding: 3rem;
    z-index: 9999;
}

.modal-content {
    position: relative;
    max-width: 757px;
    max-height: calc(100vh - 60px);
    overflow: auto;
    border-radius: 14px;
    background-color: rgba(252, 252, 252, 0.81);
}

.modal-content .text-center{
    text-align: center;
}
.modal-content .modal-heading{
    display: block;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    font-weight: 400;
    /*noinspection CssUnresolvedCustomProperty*/
    font-family: var(--wp--preset--font-family--arsenal), sans-serif;
    text-transform: uppercase;
}
.modal-content .modal-subheading{
    margin-bottom: 1rem;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-header {
    display: flex;
    justify-content: end;
    padding: 1rem 5rem;
}

.modal-body {
    padding: 1.5rem 5rem 2.5rem 5rem !important;
}

.modal-body .wpcf7-form .wpcf7-spinner{
    position: absolute;
    right: 44px;
    bottom: 76px;
}

.modal-body .wpcf7-form .wpcf7-form-control-wrap{
    margin-bottom: 1rem;
}

.modal-body .wpcf7-form .wpcf7-submit{
    width: 100%;
    padding: 14px 16px !important;
}

.modal-close {
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    border: 0 !important;
    background: rgba(255, 255, 255, 0) !important;
}

.modal-close > span {
    position: relative;
    display: block;
    width: 24px;
    height: 24px;
    transition: all 0.33s;
}

.modal-close > span span {
    position: absolute;
    top: 10px;
    display: block;
    width: 100%;
    height: 2px;
    background-color: #000;
}

.modal-close > span span:first-of-type {
    transform: rotate(45deg);
}

.modal-close > span span:last-of-type {
    transform: rotate(-45deg);
}

.contact-form--row{
    display: flex;
    gap: 16px;
}

.modal-body .wpcf7-form .wpcf7-form-control-wrap.hidden_product_id,
.modal-body .wpcf7-form .wpcf7-form-control-wrap.hidden_variation_id,
.modal-body .wpcf7-form .wpcf7-form-control-wrap.hidden_page_url{
    display: none;
}

@media (max-width: 799px) {
    .modal{
        padding: 1rem;
    }
    .modal-header {
        padding: 1rem;
    }
    .modal-body {
        padding: 1rem;
    }
}
