#avp-popup {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.avp-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    width: 90%;
    max-width: 600px;
}


#avp-content {
    background: #6D0204;
    padding: 60px 40px 60px 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2); /* Добавляем тень для лучшего визуального выделения */
    text-align: left;
    max-width: 600px; /* Максимальная ширина */
    min-height: 250px; /* Минимальная высота */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Центрирование содержимого по вертикали */
    align-items: center; /* Центрирование содержимого по горизонтали */
    position: relative;
    border-radius: 20px;
}


#avp-content img.popup_img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 1001;
    border-radius: 20px;
}

#avp-content > div {
    z-index: 1002;
}


#avp-content p.head {
    font-size: 56px;
    line-height: 1.1em;
    font-weight: 700;
    color: white;
    margin: 0;
    padding: 0 0 30px 0;

}

@media (max-width: 992px) {
    #avp-content p.head {
        font-size: 48px;
    }
}

#avp-content p.slug {
    font-size: 24px;
    line-height: 1.1em;
    font-weight: 500;
    color: white;
    margin: 0;
    padding: 0;
    padding: 0 0 40px 0;
}

#avp-content .buttons {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 20px;
}

#avp-content button {
    font-size: 22px;
    background: white;
    border-radius: 50px;
    color: #6D0204;
    border-color: white;
    font-weight: 500;
    width: 200px;
}

#avp-content button:hover {
    background: #6D020400;
    border-radius: 50px;
    color: white;
    border-color: white;
    font-weight: 500;
}

#avp-content #avp-no {
    background: #6D020400;
    color: white;
}

#avp-content #avp-no:hover {
    background: white;
    color: #6D0204;
}


