/* Стили для попапа */
.cocon-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cocon-popup.active {
    opacity: 1;
    visibility: visible;
}

.cocon-popup__content {
    background-color: #fff;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.cocon-popup.active .cocon-popup__content {
    transform: translateY(0);
}

.cocon-popup__close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 50px;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10001;
}

.cocon-popup__title {
    font-size: 22px;
    margin-bottom: 15px;
    color: #222;
    padding-right: 30px;
}

.cocon-popup__text {
    font-size: 16px;
    line-height: 1.6;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .cocon-seotext-content {
        margin-top: 50px;
    }


    .cocon-item__info {
        padding: 0;
    }

    .cocon-popup__content {
        padding: 20px;
    }

    .cocon-popup__title {
        font-size: 20px;
    }

    .cocon-popup__text {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .cocon-grid {
        gap: 10px;
    }

    .cocon-popup__content {
        width: 95%;
        padding: 15px;
    }

    .cocon-popup__title {
        font-size: 18px;
    }

    .cocon-popup__text {
        font-size: 14px;
    }
}