/*!
Theme Name: massagewptheme
Text Domain: massagewptheme
*/

.main-wrap {
    position: relative;
    overflow: hidden;
}

.main-wrap video {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-wrap__content {
    position: relative;
    z-index: 2;
}

.services {
    overflow: hidden;
}

.about-wrap__content--text p {
    margin-bottom: 33px;
}

.ttx a,
.how-wrap__list .item-text a {
    color: #000000CC;
    text-decoration: underline;
}

.ttx a:hover,
.how-wrap__list .item-text a:hover {
    text-decoration: none;
}

.loading {
    position: relative;
}

button {
    position: relative;
    overflow: hidden;
}

button::after,
.loading::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    z-index: 2;
    background-color: #fff;
}

button::before,
.loading::before {
    content: '';
    display: block;
    width: 25px;
    height: 25px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    background: url('./assets/img/main/loading.svg') no-repeat center center / contain;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    z-index: 3;
}

button:disabled::after,
button:disabled::before,
.loading::after,
.loading::before {
    opacity: 1;
    visibility: visible;
}

#productModal.loading {
    position: fixed;
}

.modal-wrap::before {
    width: 100px;
    height: 100px;
}

.book-wrap__list .item-text {
    max-width: 349px;
}

.empty {
    margin: 20px 0;
}

.book-wrap {
    min-height: 60vh;
}

.wp-block-woocommerce-cart {
    overflow: hidden;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

select::-ms-expand {
    display: none;
}


.cart-wrap__row--selects select,
.cart-wrap__row--selects input {
    border-radius: 16px;
    background: url('./assets/img/main/select.svg') no-repeat 95% center;
}

.cart-wrap__row--services .slick-track {
    margin: 0;
}

.cart-wrap__list .item-remove {
    color: #000;
}

.cart-wrap__total--info-submit .btn:disabled:after,
.cart-wrap__total--info-submit .btn:disabled:before {
    display: none;
}

.cart-wrap__total--info-submit .btn:disabled {
    opacity: .5;
}

.item-content__meta--price {
    margin: 5px 0;
}

html.loading {
    overflow: hidden;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

html.loading::after {
    z-index: 1000;
}

html.loading::before {
    z-index: 1001;
}

html.loading::before {
    width: 100px;
    height: 100px;
}

.err {
    display: none;
    margin-top: 5px;
    color: red;
}

.err-active {
    display: block;
}

.cart-wrap__total--info-meta .row-item:last-child span {
    display: inline;
    font-weight: 500;
    color: #000;
}

.woocommerce-form-coupon-toggle,
#customer_details,
.checkout-wrap__flex--total .shop_table,
.wc-stripe-save-source,
#order_review_heading,
.place-order {
    display: none !important;
}

.woocommerce-error {
    position: fixed;
    left: 0;
    bottom: 0;
    padding: 15px;
    z-index: 100;
    background-color: red;
    color: #fff;
    text-align: center;
    width: 100%;
    list-style-type: none;
}

.woocommerce-error li {
    width: fit-content;
    margin: 5px auto;
}

.woocommerce-error a {
    color: #fff;
}

.checkout-wrap__flex--total ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.checkout-wrap__flex--total li input {
    width: 20px;
    height: 20px;
    margin: 0 5px 0 0;
}

.thx {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 60vh;
}


.thx .checkout-wrap__flex--form-text {
    margin: 20px 0;
}

.thx .btn {
    width: 100%;
    max-width: 300px;
}

.default-wrap {
    padding-top: 50px;
    min-height: 60vh;
}

.cart-wrap__row--services-slider .item {
    margin-left: 0;
    margin-right: 16px;
}

#modalForm {
    justify-content: center;
    right: auto;
    left: 0;
}

#modalForm .modal-wrap {
    height: auto;
    max-height: 90vh;
}

.wpcf7 .btn {
    width: 100%;
}