﻿/* ==========================
   FEATURED PRODUCTS
========================== */

.products-section {
    padding: 80px 0;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 2px;
}

    .section-title span {
        color: #b11226;
    }

.product-card {
    position: relative;
    background: rgba(20,20,20,.9);
    border: 1px solid rgba(177,18,38,.15);
    border-radius: 22px;
    overflow: hidden;
    transition: .35s;
    height: 100%;
}

    .product-card:hover {
        transform: translateY(-12px);
        border-color: #b11226;
        box-shadow: 0 20px 45px rgba(177,18,38,.25);
    }

.product-image {
    height: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #0e0e0e;
    overflow: hidden;
}

    .product-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        transition: .35s;
    }

.product-card:hover img {
    transform: scale(1.06);
}

.product-body {
    padding: 25px;
}

.product-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.product-price {
    color: #e63946;
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 25px;
}

.btn-cart {
    width: 100%;
    border-radius: 12px;
    padding: 14px;
    background: #b11226;
    color: white;
    border: none;
    font-weight: 600;
    transition: .3s;
}

    .btn-cart:hover {
        background: #d31f36;
    }

.btn-details {
    width: 100%;
    margin-top: 12px;
    border: 1px solid #555;
    color: white;
    background: transparent;
    border-radius: 12px;
    padding: 14px;
    transition: .3s;
}

    .btn-details:hover {
        background: white;
        color: black;
    }

.product-card {
    position: relative;
}

.favorite-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background: rgba(20,20,20,.85);
    color: white;
    cursor: pointer;
    transition: .3s;
    z-index: 10;
}

    .favorite-btn:hover {
        background: #b11226;
        transform: scale(1.1);
    }

    .favorite-btn i {
        font-size: 20px;
    }
.remove-favorite-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background: #b11226;
    color: white;
    cursor: pointer;
    transition: .3s;
    z-index: 20;
}

    .remove-favorite-btn:hover {
        transform: scale(1.1);
        background: #8d0f20;
    }
.product-card.removing {
    opacity: 0;
    transform: scale(0.9);
    transition: all .35s ease;
}

.remove-favorite-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: #b11226;
    color: white;
    cursor: pointer;
    z-index: 10;
}

/* ===========================
   PRODUCTS RESPONSIVE
=========================== */

/* Tablet */
@media (max-width:992px) {

    .products-section {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 34px;
        margin-bottom: 40px;
    }

    .product-image {
        height: 240px;
    }

    .product-name {
        font-size: 20px;
    }

    .product-price {
        font-size: 26px;
    }
}

/* Telefon */

@media (max-width:768px) {

    .products-section {
        padding: 45px 15px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .product-card {
        border-radius: 18px;
    }

    .product-image {
        height: 170px;
    }

    .product-body {
        padding: 16px;
    }

    .product-name {
        font-size: 17px;
        margin-bottom: 10px;
    }

    .product-price {
        font-size: 22px;
        margin-bottom: 16px;
    }

    .btn-cart,
    .btn-details {
        padding: 11px;
        font-size: 15px;
    }

    .favorite-btn,
    .remove-favorite-btn {
        width: 38px;
        height: 38px;
        top: 10px;
        right: 10px;
    }

        .favorite-btn i {
            font-size: 17px;
        }
}

@media(max-width:768px) {

    .product-image {
        height: 220px;
    }

    .product-name {
        font-size: 18px;
    }

    .product-price {
        font-size: 24px;
    }

    .btn-cart,
    .btn-details {
        padding: 12px;
        font-size: 15px;
    }
}