/* =========================================================
   VZUTA_UA — PRODUCT-CARD.CSS
   product cards / badges / colors / favorite
   ========================================================= */

.products-grid{
    display:grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:28px;
}

.product-card{
    position:relative;
    background:#fff;
    border-radius:14px;
    overflow:hidden;
    color:#111;
    box-shadow:0 8px 28px rgba(0,0,0,.06);
    transition:.25s ease;
}

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

.product-card::after{
    display:none !important;
    content:none !important;
}

.product-card-link{
    display:block;
    color:inherit;
}

.product-image{
    position:relative;
    width:100%;
    aspect-ratio:3 / 4;
    background:#f4f4f4;
    overflow:hidden;
}

.product-image img,
.product-image .product-card-link,
.product-image .product-card-link img{
    width:100%;
    height:100%;
    display:block;
}

.product-image img,
.product-image .product-card-link img{
    object-fit:cover;
    object-position:center;
    transition:.35s ease;
}

.product-card:hover .product-image img{
    transform:scale(1.035);
}

.product-info{
    padding:20px 22px 8px;
}

.product-info h3{
    margin:0;
    color:#111;
    font-size:18px;
    font-weight:800;
    line-height:1.25;
}

.price-row{
    display:flex;
    align-items:center;
    gap:12px;
    margin-top:12px;
    flex-wrap:wrap;
}

.price{
    color:#000;
    font-size:20px;
    font-weight:800;
}

.old-price{
    color:#9a9a9a;
    font-size:14px;
    font-weight:700;
    text-decoration:line-through;
}

.product-color{
    margin:12px 0 0;
    color:#666;
    font-size:14px;
    font-weight:600;
}

.product-badge{
    position:absolute;
    left:14px;
    z-index:2;
    padding:7px 11px;
    border-radius:999px;
    color:#fff;
    font-size:12px;
    font-weight:800;
    line-height:1;
}

.new-badge{
    top:14px;
    background:#050505;
}

.sale-badge{
    top:48px;
    background:#ff1e1e;
}

.catalog-color-dots{
    display:flex;
    align-items:center;
    gap:10px;
    padding:0 22px 22px;
    margin-top:10px;
}

.catalog-color-dot{
    width:24px;
    height:24px;
    border-radius:50%;
    border:1px solid #d8d8d8;
    display:block;
    cursor:pointer;
    transition:.2s ease;
}

.catalog-color-dot:hover{
    border-color:#111;
    transform:scale(1.05);
}

.product-favorite-btn,
.product-image .product-favorite-btn{
    position:absolute;
    top:14px;
    right:14px;
    z-index:20;
    width:42px;
    height:42px;
    border-radius:50%;
    background:#fff;
    color:#111;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:23px;
    line-height:1;
    box-shadow:0 6px 18px rgba(0,0,0,.08);
    transition:.25s ease;
}

.product-favorite-btn:hover,
.product-favorite-btn.active,
.product-image .product-favorite-btn:hover,
.product-image .product-favorite-btn.active{
    background:#111;
    color:#fff;
    transform:scale(1.06);
}
