.catalog__el {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 4px;
    border: 1px solid #DFDFDF;
    padding: 12px;
    gap: 5px;
    justify-content: space-between;
    max-height: fit-content;
    transition: 0.3s;
    overflow: hidden;
}

.catalog__el:hover,
.el_card:hover {
    background: #6EC1F90F;
}
.catalog__el:hover .limitations{
    color: var(--font-blue);
}


.catalog__el .items {
    cursor: pointer;
    position: absolute;
    top: 26px;
    right: 24px;
    z-index: 3;
}

.catalog__el img {
    border-radius: 4px;
    width: 100%;
    aspect-ratio: 1;
}
.catalog__el_banner{
    padding: 0;
}
.catalog__el.catalog__el_banner img{
    object-fit: cover;
    height: 100%;
    width: 100%;
    object-position: center;
    border-radius: 0;
}
.catalog__el .price_container{
    display: flex;
    flex-direction: column;
}
.catalog__el .price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.catalog__el-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 16px;
    height: 100%;
}
.catalog__el-content.big_card{
    gap: 2px;
}

/* кнопки карт лайк и статистика */
.catalog__el .lights {
    transition: all 0.3s ease;
    cursor: pointer;
}

.catalog__el .lights.active path:nth-child(5),
.catalog__el .lights.active path:nth-child(4),
.catalog__el .lights.active path:nth-child(3) {
    fill: var(--icon-card-red) !important;
    stroke: white !important;
}
.catalog__el .lights.hover path:nth-child(5),
.catalog__el .lights.hover path:nth-child(4),
.catalog__el .lights.hover path:nth-child(3) {
    fill: var(--font-blue) !important;
    stroke: white !important;
}
.catalog__el .lights.active path:nth-child(4) {
    fill: var(--icon-card-red) !important;
    stroke: white !important;
}
.catalog__el .heart {
    transition: all 0.3s ease;
    cursor: pointer;
}

.catalog__el .heart.hover path:nth-child(2) {
    fill: var(--font-blue) !important;
    stroke: white !important;
}

.catalog__el .heart.active path:nth-child(2) {
    fill: var(--icon-card-red) !important;
    stroke: white !important;
}

/* ========== АНИМАЦИИ ДЛЯ ПЕРЕКЛЮЧЕНИЯ ========== */
.catalog__el .lights.active,
.catalog__el .heart.active {
    animation: iconPulse 0.3s ease;
}

@keyframes iconPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.catalog__el .lights path:nth-child(1),
.catalog__el .heart path:nth-child(3) {
    transition: fill 0.3s ease;
}

@media (max-width: 480px) {
    .catalog__el .items {
        top: 14px;
        right: 12px;
    }
}

.items.bg {
    display: flex;
    align-items: center;
    gap: 4px;
    background: white;
    border: 1px solid var(--icon-card-red);
    width: fit-content;
    padding: 4px 8px;
    border-radius: 4px;
}

.chips_container{
    /*margin-bottom: auto;*/
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.chips_new {
    color: #FFFFFF;
    padding: 4px 8px;
    border-radius: 2px;
    font-size: 14px;
    line-height: 14px;
    font-weight: 400;
    width: fit-content;
}
/* новинка */
.chips_new[blue]{
    background: var(--swiper-theme-color);
}
/* уценка */
.chips_new[gray]{
    background:var(--surface-grey-m);
}
/* распродажа */
.chips_new[red]{
    background:var(--price-sale);
}
/* выгодное предложение */
.chips_new[green]{
    background: var(--price-main);
}
/* скидка % */
.chips_new[orange]{
    background: var(--surface-sale);
}

.product_art_in_list{
    display: flex;
    gap: 4px;
    align-items: center;
    cursor: pointer;
    font-family: Roboto;
    font-weight: 400;
    font-style: Regular;
    font-size: 12px;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: right;
    vertical-align: middle;
    text-decoration: underline;
    text-decoration-style: solid;
    text-decoration-offset: 0%;
    text-decoration-thickness: 0%;
    color:var(--font-gray);
}

.limitations {
    font-family: Roboto;
    margin-bottom: auto;
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 480px) {
    .limitations {
        font-size: 12px;
        line-height: 120%;
    }
    .event__item-new__price {
        font-size: 14px;
        line-height: 18px;
        font-weight: 500;
    }
}

.collection_all .splited_block .block_limitations{
    width: 100%;
}

.add-icon {
    cursor: pointer;
    overflow: visible;
}

.addList {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    border: 1px solid var(--font-blue);
    border-radius: 8px;
    height: 42px;
    width: 90px;
    padding: 0 8px;
}

.addList input {
    font-family: Roboto;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    color: var(--font-blue);
    width: 40px;
    text-align: center;
    border: 0;
    outline: 0;
}

.addList button {
    display: flex;
    align-items: center;
    border: none;
    background: none;
}

.addList button svg {
    height: 100%;
    cursor: pointer;
    transition: opacity 0.2s;
}

.addList button svg:hover {
    opacity: 0.7;
}

.btn-add,
.btn-dell {
    cursor: pointer;
    height: 100%;
}

.through{
    color: var(--font-gray2);
    text-decoration: line-through;
}

.copy-toast {
    position: absolute;
    background: #e0e0e0;
    color: #000;
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
    z-index: 9999;
}

.copy-toast.visible {
    opacity: 1;
    transform: translateY(0);
}



.img_wrapper {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #f5f5f5;

}

.img_wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}


.img_wrapper img.active {
    opacity: 1;
    z-index: 1;
}


.img_wrapper .dots {
    display: none;
    position: absolute;
    gap: 4px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.img_wrapper:hover .dots {
    display: flex;
}

.img_wrapper .dots .el {
    flex: 1;
    height: 100%;
    padding: 0 2px;
    cursor: pointer;
    position: relative;
}


.img_wrapper .dots .el .indicator {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    height: 4px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    background: transparent;
    box-sizing: border-box;
    pointer-events: none;
}

.img_wrapper .dots .el.active .indicator {
    border-color: #72C2F8;
    background: #72c2f8;
}

.benefit__item-new__price, .event__item-new__price {
    font-size: 16px;
    line-height: 16px;
    font-weight: 700;
    color: #1F1F1F;
}

.reqwest {
    width: 42px;
    height: 42px;
    border: none;
    background: var(--icons-black);
    border-radius: 100%;
    color: white;
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
    font-size: 5px;
    cursor: pointer;
    overflow: hidden;
    transition: font-size 0.3s ease, padding-right 0.3s ease;
}

.reqwest:hover {
    font-size: 8px;
    padding-right: 15px;
}

.h5-title {
    font-family: Roboto;
    font-weight: 500;
    font-style: Medium;
    font-size: 16px;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    vertical-align: middle;
}

.h5-title {
    @media (max-width: 800px) {
        font-size: 14px;
    }
}


#right {
    @media (max-width: 800px) {
        margin-top: 0 !important;
    }
}


.catalog_el_count {
    max-height: 20px;
}

.catalog_el_count img {
    width: auto;
}

.inStock {
    display: flex !important;
    gap: 5px;
    align-items: center;
    cursor: default !important;
}

.outOfStock {
    display: flex !important;
    gap: 5px;
    align-items: center;
    cursor: default !important;
}

.onstock-status a {
    display: flex !important;
    gap: 5px;
    align-items: center;
    cursor: default !important;
}

.div-onstock .icon {
    padding: 0 !important;
    margin: 0 !important;
}

.div-onstock {
    padding: 0 !important;
}

.catalog_el_count .label {
    color: #717171;
}

.catalog_el_count .label:hover {
    color: #717171;
}

.orange {
    font-size: 16px;
}

.main-product_tip {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    color: var(--text-white);
    padding: 4px 8px;
    display: inline-block;
}
