.catalog-custom-grid {
    grid-auto-flow: dense;
}

@media screen and (max-width: 1328px) {
    .catalog-custom-grid {
        grid-template-columns: repeat(3, minmax(0,1fr));
        gap: 15px;
    }
}

@media screen and (max-width: 1023px) {
    .catalog-custom-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
        gap: 15px;
    }

    .catalog-custom-list {
        margin-inline: -16px;
    }
}



.catalog-custom-list .c-product-card-actions {
    display: flex;
    background-color: #fff;
    margin-top: 0;
}

.catalog-custom-list .c-header-button__icon {
    color: var(--color-PowderBlue)
}

@media screen and (max-width: 1023px) {
    .catalog-custom-list .c-product-card-actions  {
        margin-top: 12px;
    }

    .catalog-custom-list .c-product-card-actions .yith-wcwl-add-to-wishlist {
        margin-left: 0;
    }
}


.catalog-custom-list .c-catalog-subcard {
    background-color: var(--color-white);
    grid-template-columns: minmax(300px, 7fr) minmax(286px, 5fr);
}

.catalog-custom-list .c-catalog-subcard__img-wrapper {
    display: none;
}

.catalog-custom-list .c-catalog-subcard__info {
    grid-template-columns: repeat(auto-fit, minmax(100px, auto) );
    gap: 10px;
    justify-content: space-between;
}


.catalog-custom-list__container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
    background-color: #fff;
    border-radius: 8px;

}

@media screen and (max-width: 1023px) {
    .catalog-custom-list__container {
        padding: 16px 0;
        row-gap: 20px;
        background-color: var(--color-white);
    }
}


.catalog-custom-list__info-block {
    margin-bottom: 12px;
}

@media screen and (max-width: 1023px) {
    .catalog-custom-list__container .catalog-custom-list__info-block {
        padding: 0 16px;
    }

    .catalog-custom-list__container .c-catalog-subcard-mobile {
        padding: 16px;
    }
}

.catalog-custom-list__info-block-title-category {
    margin-bottom: 30px;

}

.catalog-custom-list__info-block-characters {
    display: flex;
    flex-grow: 1;
    gap: 14px;
    flex-direction: column;
    overflow: hidden;
    word-break: break-word;
}

.catalog-custom-list__info-block-character-container {
    display: flex;
    gap: 4px;
    align-items: baseline;
}


@media screen and (max-width: 1023px) {
    .catalog-custom-list__info-block-character-container {
        flex-direction: column;
    }
}


.catalog-custom-list__info-block-dt {
    color: var(--color-PayneGray);
    font-weight: 400;
    font-size: 12px;
    line-height: 133%;
}

.catalog-custom-list__info-block-dd {
    color: var(--color-black);
    font-weight: 400;
    font-size: 13px;
    line-height: 138%;
    display: inline-flex;
}



.catalog-custom-list__info-block-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

@media screen and (max-width: 1023px) {
    .catalog-custom-list__info-block-container {
        flex-direction: column;
        gap: 26px;
    }
}

.catalog-custom-list__info-block-image-wrapper {
    aspect-ratio: 1.55 / 1;
    width: 222px;
    min-width: 222px;
    flex-shrink: 0;
}

@media screen and (max-width: 640px) {
    width: 100%;
    min-width: 100%;
}

.catalog-custom-list__info-block-image {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

/*кнопка подробнее в мобильной версии вида список*/
.catalog-custom-list .c-catalog-subcard-mobile .c-product-card-actions__price-wrapper {
    align-self: stretch;
}

.catalog-custom-list .c-catalog-subcard-mobile .c-product-card-actions__price-wrapper .product-card__moreInfo{
    height: 100%;
    padding-inline: 38px;
}

@media screen and (max-width: 1023px) {
    .c-product-card-actions .c-product-card-actions__price-wrapper {
        flex-grow: 1;
    }

    .c-product-card-actions .c-product-card-actions__price-wrapper .product-card__moreInfo {
        width: 100%;
    }

    .c-product-card-actions .c-product-card-actions__cart-button {
        flex-grow: 1;
    }
}