/*   
Theme Name: Maracuya
Theme URI:
Description:
Author: Filipp Romaov
Author URI: 
*/

input, textarea {
    transition: all .3s;
}

input._error,
textarea._error {
    border-color: #ea8831;
}

.card-product__inf span > span,
.property-form__price span {
    text-decoration: line-through;
    font-size: .8rem;
}

.add__to--cart {
    position: relative;
}

.add__to--cart:after {
    content: '';
    width: 30px;
    height: 30px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translate(0, -50%);
    background: url('assets/img/icon-loader.svg') center center no-repeat;
    background-size: contain;
    opacity: 0;
    transition: all .3s;
}

.add__to--cart._loading:after {
    opacity: 1;
}

.bascket__content {
    position: relative;
}

.bascket__loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, .5);
    opacity: 0;
    visibility: hidden;
    z-index: -1;
}

.bascket__loader._active {
    opacity: 1;
    visibility: visible;
    z-index: 5;
}

.bascket__loader:after {
    content: '';
    width: 50px;
    height: 50px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: url('assets/img/icon-loader-dark.svg') center center no-repeat;
    background-size: contain;
}

.header__socials svg path{fill: #fff;}

.header__langs {
    display: flex;
    align-items: center;
    margin-left: 25px;
}

.header__langs a {
    text-transform: uppercase;
    color: #fff;
    margin-right: 10px;
}

.header__langs a._active {
    color: #e88832 !important;
}

.header__langs a:last-child {
    margin-right: 0;
}

.--black .header__langs a {
    color: #000;
}

.menu__body .header__langs {
    display: none;
}

.subscribe {
    padding-top: 67px;
}

.subscribe__big-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.subscribe__title {
    align-items: flex-start;
}

.subscribe__text {
    padding-top: 0;
    margin-top: 27px;
    max-width: 438px;
}

.subscribe .mailpoet_form {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0 !important;
}

.subscribe .mailpoet_text {
    min-width: 479px;
    max-width: 479px;
    height: 56px;
    padding: 0 25px !important;
    border-radius: 9px;
    border: 1px solid rgba(80, 112, 72, 1);
}

.subscribe .mailpoet_submit {
    display: block;
    height: 56px;
    width: 167px !important;
    max-width: 100%;
    background: rgba(80, 112, 72, 1);
    font-size: 16px;
    color: #fff;
    border-radius: 9px;
    margin-left: 8px !important;
}

#mailpoet_form_1 .mailpoet_paragraph {
    margin-bottom: 0 !important;
}

@media (max-width: 992px) {
    .subscribe__big-container {
        flex-wrap: wrap;
        justify-content: center;
    }

    .subscribe .mailpoet_form {
        justify-content: center;
    }

    .subscribe .mailpoet_text {
        min-width: 300px;
        max-width: 300px;
    }

    .subscribe__text {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 30px;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .header__langs {
        display: none;
    }

    .menu__body .header__langs {
        display: flex;
        margin-left: 0;
        margin-top: 20px;
    }

    .menu__body .header__langs a  {
        color: #000;
    }

    .subscribe {
        padding-top: clamp(2.5rem, 0.6776765376rem + 9.1116173121vw, 7.5rem);
    }

    .subscribe__text p {
        font-size: 14px;
    }

    .subscribe .mailpoet_form {
        flex-wrap: wrap;
    }

    .subscribe .mailpoet_text {
        max-width: 100% !important;
        min-width: 100% !important;
    }

    .mailpoet_form .mailpoet_submit {
        width: 100% !important;
        text-align: center !important;
        margin-left: 0 !important;
        margin-top: 15px !important;
    }

    #mailpoet_form_1 .mailpoet_paragraph {
        width: 100% !important;
    }
}