.popular {
    font-family: "Proxima Nova", sans-serif;
    margin-top: 60px;
    margin-bottom: 60px;
}

.popular .row * {
    margin: 0;
}

.popular__title {
    font-weight: 600;
    font-size: 30px;
    color: #000;
    text-transform: uppercase;
}
.popular__list {
    display: flex;
    flex-wrap: wrap;
    margin: 40px -40px;
}

.popular-item {
    flex: 0 0 auto;
    width: 25%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
    font-size: 16px;
    font-weight: 400;
    color: #000;
}

.popular-item__image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 6px;
}

.popular-item__image img {
    max-width: 100%;
    max-height: 100%;
}

@media (max-width: 1240px) {
    .popular .row {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 900px) {
    .popular-item {
        width: 50%;
    }
}

@media (max-width: 600px) {
    .popular-item {
        width: 100%;
    }
}


.new-collection__list {
    display: flex;
    gap: 40px;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.collection-card {
    display: flex;
    flex-direction: column;
    width: 260px;
    text-decoration: none;
    color: #000;
}

.card-labels {
    position: absolute;
    display: flex;
    gap: 8px;
    padding: 14px;
    z-index: 10;
}

.label-fav {
    background: #ff0f6d;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.label-fav svg {
    width: 16px;
    fill: #fff;
}

.label-new {
    background: #000;
    color: #fff;
    padding: 5px 12px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
}

.card-image {
    position: relative;
    background: #f3f3f3;
    width: 100%;
    padding: 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-image img {
    width: 80%;
    height: auto;
}

.card-rating {
    margin-top: 16px;
    font-size: 15px;
    letter-spacing: 2px;
    color: #000;
    text-align: center;
}

.card-name {
    margin-top: 6px;
    font-size: 14px;
    text-align: center;
    text-transform: uppercase;
    font-weight: 600;
}

.card-price {
    margin-top: 5px;
    font-size: 14px;
    text-align: center;
}

.new-collection__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    width: 100%;
}

.collection-card {
    display: flex;
    flex-direction: column;
    position: relative;
    text-decoration: none;
    color: #000;
    border-radius: 8px;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

.collection-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.card-labels {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 10;
    display: flex;
    gap: 8px;
}

.label-fav {
    background: #ff0f6d;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    display: flex;
    align-items: center;
}
/* GRID */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    width: 100%;
    margin-top: 20px!important;
}

@media (max-width: 1100px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 800px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

/* CARD */
.product-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #000;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: .25s ease;
    padding-bottom: 16px;
}

.product-card:hover {
    box-shadow: 0 10px 28px rgba(0,0,0,0.15);
    transform: translateY(-4px);
}

/* IMAGE */
.product-card__img-wrap {
    position: relative;
    background: #f5f5f5;
    width: 100%;
    padding: 30px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-card__img {
    max-width: 80%;
    height: auto;
}

/* BADGE NEW */
.product-card__badge {
    position: absolute;
    top: 0px;
    left: 36px;
    background: #000;
    color: #fff;
    padding: 7px 10px;
    font-size: 12px;
    border-radius: 4px;
    font-weight: 300;
}

/* FAVORITES */
.product-card__fav {
    position: absolute;
    top: 0;
    left: 0;
    background: #333;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

/* иконка всегда видна */
.product-card__fav svg {
    width: 18px;
    fill: #fff;
    opacity: 0.7;
    transition: opacity .25s, transform .25s;
}

/* hover — лёгкое усиление */
.product-card__fav:hover svg {
    opacity: 1;
    transform: scale(1.12);
}

/* active — ЗАКРАШЕННОЕ сердце */
.product-card__fav.active svg {
    opacity: 1;
    fill: #ffffff;
    transform: scale(1.12);
}

.product-card__img-wrap {
    position: relative;
}

.product-card__fav {
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 5;
    border: none;
}

/* TITLE */
.product-card__title {
    margin-top: 14px!important;
    text-align: center;
    padding: 0 10px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
}

/* PRICE */
.product-card__price {
    margin-top: 8px;
    text-align: center;
    font-size: 15px;
}

.price-old {
    text-decoration: line-through;
    color: #888;
    margin-right: 6px;
}

.price-current {
    font-weight: 400;
    color: #000;
}

.product-card__rating {
    text-align: center;
    margin-top: 10px;
    font-size: 18px;
    letter-spacing: 2px;
}

.star {
    color: #C4C4C4;
}

.star--filled {
    color: #000000;
}