.products .catalog-product-card--product {
    margin: 0;
    width: 100%;
}

.catalog-product-card {
    height: 100%;
    overflow: hidden;
    background: var(--white);
}

.catalog-product-card__container {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.catalog-product-card__image-wrap-container {
    position: relative;
    height: 344px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalog-product-card__image-wrap {
    height: 100%;
    width: 100%;
    padding: 0px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-dark-line);
    border-radius: 4px;
}

.catalog-product-card__image-wrap .product__labels-list {
    position: absolute;
    top: 20px;
    left: 20px;
    margin: 0;
    z-index: 2;
    flex-direction: column;
    align-items: flex-start;
}

.catalog-product-card__image-wrap .product__label {
    width: auto;
    max-width: none;
}

.catalog-product-card__image {
    width: 100%;
    height: 100%;
    max-width: 259px;
    max-height: 165px;
    aspect-ratio: 259 / 165;
    object-fit: contain;
}

.catalog-product-card__hover-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% + 10px));
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--red);
    color: var(--white);
    border-radius: 50%;
    opacity: 0;
    transition: opacity .25s ease, transform .25s ease;
    pointer-events: none;
    z-index: 3;
}

.catalog-product-card__image-wrap:hover .catalog-product-card__hover-btn,
.catalog-product-card__image-wrap:focus-within .catalog-product-card__hover-btn {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.catalog-product-card__actions-list {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.catalog-product-card__content {
    display: flex;
    flex-direction: column;
}

.catalog-product-card__title {
    margin: 20px 0 0;
    transition: var(--transition);
}

.catalog-product-card__title:hover {
    color: var(--red);
}

.catalog-product-card__meta {
    display: flex;
    flex-direction: column;
}

.catalog-product-card__colors {
    margin: 20px 0px 0px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.catalog-product-card__colors-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.catalog-product-card__variation-color {
    display: inline-block;
    padding: 5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid var(--gray);
}

.catalog-product-card__price {
    margin: 8px 0px 0px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

@media (max-width: 1023px) {
    .catalog-product-card__image-wrap-container {
        height: 237px;
    }
}

@media (max-width: 767px) {
    .catalog-product-card__image-wrap-container {
        height: 195px;
    }
    .catalog-product-card__colors-label,
    .catalog-product-card__price-label {
        display: none;
    }

    .catalog-product-card__image-wrap .product__labels-list {
        top: 14px;
        left: 14px;
    }

    .catalog-product-card__actions-list {
        top: 14px;
        right: 14px;
    }

    .catalog-product-card__colors {
        margin: 8px 0px 0px;;
    }
    .catalog-product-card__price {
        margin: 10px 0px 0px;
    }
    .catalog-product-card__title {
        margin: 14px 0 0;
    }
}

@media (max-width: 479px) {
    .catalog-product-card__image-wrap-container {
        height: 250px;
    }
}
