.whatsapp-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0000001A;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.whatsapp-modal-overlay.active {
    display: flex;
}

.whatsapp-modal {
    background-color: #181818;
    background-image: url('/images/catalog/bg_modal.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 24px;
    padding: 92px 191px;
    width: 55%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 5px solid #FFCC8F;
    animation: slideUp 0.3s ease;
}

.whatsapp-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.whatsapp-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.whatsapp-modal-content {
    text-align: center;
}

.whatsapp-modal-title {
    font-family: 'Buyan', sans-serif;
    font-weight: 700;
    font-size: 65px;
    line-height: 105%;
    text-transform: uppercase;
    color: #FFFFFF;
    margin-bottom: 38px;
}

.whatsapp-modal-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 135%;
    text-align: center;
    color: #FFFFFF;
    margin-bottom: 38px;
}

.whatsapp-modal-button {
    background: linear-gradient(263.56deg, #FFE9C8 -4.53%, #FFD9AD 18.44%, #FFDDB5 51.46%, #FFDDB5 76.6%, #FFCC8F 111.92%), radial-gradient(55.13% 55.13% at 50% 2.23%, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 100%);
    box-shadow: 0px 5px 0px 0px #D8A86E;
    border-radius: 18px;
    width: 100%;
    height: 89px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 18px;
    line-height: 128%;
    text-transform: uppercase;
    color: #584D3E;
    transition: all 0.1s linear;
    text-decoration: none;
    max-width: 390px;
    margin: 0 auto;
}

.whatsapp-modal-button:hover {
    background: linear-gradient(264.11deg, #929292 -30.35%, #D0D0D0 5.5%, #E8E8E8 49.71%, #CECECE 95.1%, #8A8A8A 123.89%);
    box-shadow: 0px 3px 0px 0px #737373;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media screen and (max-width: 1210px) {
    .whatsapp-modal {
        width: 70%;
    }
}

@media screen and (max-width: 1055px) {
    .whatsapp-modal {
        width: 80%;
    }
}

@media screen and (max-width: 900px) {
    .whatsapp-modal {
        width: calc(100% - 60px);
    }
}

@media screen and (max-width: 768px) {
    .whatsapp-modal {
        width: calc(100% - 60px);
        background-image: url('/images/catalog/bg_modal_tablet.png');
        padding: 98px 172px;
    }

    .whatsapp-modal-title {
        font-size: 50px;
        margin-bottom: 33px;
    }

    .whatsapp-modal-text {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .whatsapp-modal-button {
        font-size: 16px;
    }
}

@media screen and (max-width: 670px) {
    .whatsapp-modal {
        width: calc(100% - 125px);
        background-image: url('/images/catalog/bg_modal_mobile.png');
        padding: 84px 41px;
    }

    .whatsapp-modal-button {
        height: 75px;
    }
}

@media screen and (max-width: 550px) {
    .whatsapp-modal {
        width: calc(100% - 25px);
        border: 3px solid #FFCC8F;
        border-radius: 20px;
        padding: 86px 30px;
    }

    .whatsapp-modal-title {
        font-size: 40px;
        margin-bottom: 15px;
    }

    .whatsapp-modal-text {
        font-size: 14px;
        margin-bottom: 26px;
    }

    .whatsapp-modal-button {
        font-size: 14px;
    }
}
