﻿/* =========================================
   FEATURED PRODUCTS
========================================= */

.featured-product-section {
    background-color: #f7f7f7;
}

/* Heading row */

.section-heading-row {
    display: flex;
    margin-bottom: 42px;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
}

    .section-heading-row > div {
        max-width: 760px;
    }

    .section-heading-row h2 {
        margin: 0 0 14px;
        color: #171717;
        font-size: clamp(2rem, 4vw, 3rem);
        font-weight: 700;
        letter-spacing: -1px;
    }

    .section-heading-row p {
        margin: 0;
        color: #727272;
        font-size: 1.05rem;
        line-height: 1.7;
    }

.view-all-button {
    min-width: 205px;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 600;
    white-space: nowrap;
}

/* Product card */

.product-card {
    height: 100%;
    overflow: hidden;
    background-color: #ffffff;
    border: 1px solid #e7e7e7;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

    .product-card:hover {
        transform: translateY(-8px);
        border-color: rgba(220, 53, 69, 0.22);
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.11);
    }

/* Product image */

.product-image-area {
    position: relative;
    overflow: hidden;
    height: 320px;
    background-color: #f2f0ed;
}

    .product-image-area > a:first-of-type {
        display: block;
        width: 100%;
        height: 100%;
    }

.product-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

/* Badges */

.product-badge {
    position: absolute;
    z-index: 4;
    top: 18px;
    left: 18px;
    display: inline-flex;
    min-height: 36px;
    padding: 8px 15px;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.2px;
    text-transform: uppercase;
}

.new-badge {
    background-color: #15955f;
}

.offer-badge {
    background-color: #dc2438;
}

.best-badge {
    background-color: #171717;
}

/* Quick view */

.product-quick-view {
    position: absolute;
    z-index: 4;
    right: 18px;
    bottom: 18px;
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    color: #202020;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
    opacity: 0;
    text-decoration: none;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.product-card:hover .product-quick-view {
    opacity: 1;
    transform: translateY(0);
}

.product-quick-view:hover {
    color: #ffffff;
    background-color: #dc3545;
}

/* Product body */

.product-card-body {
    display: flex;
    min-height: 300px;
    padding: 25px 26px 27px;
    flex-direction: column;
}

.product-brand {
    margin-bottom: 8px;
    color: #858585;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.product-title-link {
    color: inherit;
    text-decoration: none;
}

    .product-title-link:hover {
        color: #dc3545;
    }

    .product-title-link h5 {
        margin-bottom: 13px;
        color: #171717;
        font-size: 1.17rem;
        font-weight: 700;
        line-height: 1.42;
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .product-title-link:hover h5 {
        color: #dc3545;
    }

.product-short-description {
    margin-bottom: 20px;
    color: #727272;
    font-size: 0.94rem;
    line-height: 1.65;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

/* Price */

.product-price-area {
    display: flex;
    margin-top: auto;
    margin-bottom: 20px;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.current-price {
    color: #111111;
    font-size: 1.45rem;
    font-weight: 800;
}

.old-price {
    color: #999999;
    font-size: 0.95rem;
    text-decoration: line-through;
}

/* Product button */

.product-view-button {
    padding: 13px 20px;
    color: #ffffff;
    background-color: #202427;
    border-color: #202427;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 600;
}

    .product-view-button:hover,
    .product-view-button:focus {
        color: #ffffff;
        background-color: #dc3545;
        border-color: #dc3545;
    }
