#popup_elements.popup_elements {
    width: 100%;
    max-width: 1006px !important;
    padding: 60px !important;
}

#popup_elements.popup_elements .addseo {
    display: none !important;
}

.catalog__products .container .row {
    padding: 20px;
}

.catalog__products {
    background-color: #EDEDED;
}

.catalog__products .col-md-4 {
    margin-bottom: 24px;
}

.catalog__products .catalog-main__item {
    background-color: #fff;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    height: 100%;
    display: flex;
    flex-direction: column;
    max-width: none;
    margin: 0;
    text-align: left;
}

.catalog__products .catalog-main__image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: auto;
    max-height: none;
    margin-bottom: 0;
    padding: 16px 16px 0;
}

.catalog-main__actions {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.catalog-main__actions .product-item_wish,
.catalog-main__actions .add-to-compare {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    outline: none;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.catalog-main__actions .product-item_wish:hover,
.catalog-main__actions .add-to-compare:hover {
    opacity: 0.8;
    transform: scale(1.04);
}

.catalog-main__actions .product-item_wish img,
.catalog-main__actions .add-to-compare img {
    display: block;
    max-width: 22px;
    max-height: 20px;
}

.catalog-main__photo-link {
    display: block;
    width: 100%;
}

.catalog-main__photo {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 250px;
    object-fit: contain;
}

.catalog__products .catalog-main-price {
    text-align: left;
    margin: 14px 16px 8px;
    color: #086027;
    font-size: 24px;
    line-height: 1.2;
}

.catalog__products .catalog-main-price b {
    font-weight: 700;
}

.catalog__products .catalog-main__name {
    margin: 0 0 16px;
    padding: 0 16px;
    font-size: 18px;
    line-height: 1.35;
    text-align: left;
    flex-grow: 1;
    max-width: none;
    min-height: 0;
}

.catalog-main__name-link {
    color: #000;
    text-decoration: none;
    transition: color 0.2s ease;
}

.catalog-main__name-link:hover {
    color: #e30611;
    text-decoration: none;
}

.catalog-main__buy {
    padding: 0 16px 16px;
    margin-top: auto;
}

.catalog-main__buy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 44px;
    padding: 0 24px;
    border-radius: 9999px;
    border: 1.5px solid #e30611;
    outline: none !important;
    background: #e30611;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
    text-transform: none;
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.catalog-main__buy-btn:hover {
    background: #c0050f;
    border-color: #c0050f;
    color: #fff;
}

.catalog-main__buy-btn.is-loading {
    opacity: 0.7;
    pointer-events: none;
}

.add-to-compare.jsToggleCompare.active path,
.product-item_wish._active path {
    fill: green;
}

.add-to-compare.jsToggleCompare.active img,
.product-item_wish._active img {
    filter: invert(21%) sepia(68%) saturate(1431%) hue-rotate(119deg) brightness(92%) contrast(106%);
}

@media (max-width: 767px) {
    .catalog__products .catalog-main__photo {
        height: 220px;
    }

    .catalog__products .catalog-main-price {
        font-size: 22px;
    }

    .catalog__products .catalog-main__name {
        font-size: 16px;
    }
}
