/* =========================================================
   FEATURED SECTION
========================================================= */

.featured-section {
    padding: 70px 0;

    background: #f9f9f9;
}

.section-title {
    position: relative;

    text-align: center;

    font-size: 2rem;
    font-weight: 700;

    color: #222;

    margin-bottom: 42px;

    padding-bottom: 15px;
}

.section-title::after {
    content: '';

    position: absolute;

    bottom: 0;
    left: 50%;

    transform: translateX(-50%);

    width: 80px;
    height: 3px;

    background: #e65540;

    border-radius: 999px;
}


/* =========================================================
   PRODUCT CARD
========================================================= */

.product-card {
    position: relative;

    height: 100%;

    display: flex;
    flex-direction: column;

    background: #fff;

    border-radius: 16px;

    overflow: hidden;

    cursor: pointer;

    box-shadow:
        0 2px 14px rgba(0, 0, 0, 0.05);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.08);
}

.product-card:active {
    transform: scale(0.99);
}


/* =========================================================
   BADGES
========================================================= */

.product-badge {
    position: absolute;

    top: 12px;
    left: 12px;

    z-index: 3;

    background: #e65540;

    color: #fff;

    padding: 4px 10px;

    border-radius: 6px;

    font-size: 0.72rem;
    font-weight: 600;

    letter-spacing: 0.2px;
}

.product-badge.sale {
    background: #2ecc71;
}

.discount-badge {
    position: absolute;

    top: 12px;
    right: 54px;

    z-index: 3;

    background: rgba(255, 255, 255, 0.95);

    color: #e65540;

    border: 1px solid #e65540;

    padding: 3px 8px;

    border-radius: 6px;

    font-size: 0.7rem;
    font-weight: 700;

    backdrop-filter: blur(4px);
}


/* =========================================================
   PRODUCT IMAGE
========================================================= */

.product-image {
    position: relative;

    width: 100%;

    aspect-ratio: 4 / 5;

    overflow: hidden;

    background: #f3f3f3;
}

.product-img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}

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


/* =========================================================
   WISHLIST
========================================================= */

.product-wishlist-container {
    position: absolute;

    top: 12px;
    right: 12px;

    z-index: 4;
}

.wishlist-btn {
    width: 36px;
    height: 36px;

    border: none;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.92);

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    color: #555;

    backdrop-filter: blur(6px);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;
}

.wishlist-btn i {
    font-size: 0.88rem;

    transition:
        transform 0.25s ease;
}

.wishlist-btn:hover {
    transform: scale(1.08);

    background: #fff;

    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.08);
}

.wishlist-btn.active {
    background: #e65540;

    color: #fff;

    box-shadow:
        0 6px 18px rgba(230, 85, 64, 0.35);
}

.wishlist-btn.active i {
    transform: scale(1.08);
}


/* =========================================================
   PRODUCT DETAILS
========================================================= */

.product-details {
    display: flex;
    flex-direction: column;

    flex-grow: 1;

    padding: 14px;
}

.product-title {
    min-height: 44px;

    margin-bottom: 12px;

    font-size: 0.98rem;
    font-weight: 600;

    line-height: 1.45;

    color: #222;

    display: -webkit-box;

    -webkit-box-orient: vertical;

    overflow: hidden;
}


/* =========================================================
   PRICING
========================================================= */

.price-container {
    display: flex;
    align-items: center;

    gap: 8px;

    flex-wrap: wrap;

    margin-bottom: 12px;
}

.product-price {
    font-size: 1.08rem;
    font-weight: 700;

    color: #e65540;
}

.original-price {
    font-size: 0.86rem;

    color: #999;

    text-decoration: line-through;
}


/* =========================================================
   BESTSELLER
========================================================= */

.best-seller-badge {
    width: fit-content;

    display: inline-flex;
    align-items: center;

    margin-top: auto;

    background: #f5f5f5;

    color: #e65540;

    padding: 5px 10px;

    border-radius: 999px;

    font-size: 0.7rem;
    font-weight: 600;
}


/* =========================================================
   BUTTON
========================================================= */

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 12px 30px;

    border: none;

    border-radius: 999px;

    background: #e65540;

    color: #fff;

    text-decoration: none;

    font-size: 0.9rem;
    font-weight: 600;

    letter-spacing: 0.5px;

    transition:
        background 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.btn-primary:hover {
    background: #d64c38;

    transform: translateY(-2px);

    box-shadow:
        0 8px 18px rgba(230, 85, 64, 0.25);
}


/* =========================================================
   TABLET RESPONSIVE
========================================================= */

@media (max-width: 992px) {

    .section-title {
        font-size: 1.8rem;
    }

    .product-title {
        font-size: 0.92rem;
    }

}


/* =========================================================
   MOBILE RESPONSIVE
========================================================= */

@media (max-width: 768px) {

    .featured-section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.6rem;

        margin-bottom: 30px;
    }

    .product-details {
        padding: 12px;
    }

    .product-title {
        min-height: 40px;

        font-size: 0.88rem;

        margin-bottom: 10px;
    }

    .product-price {
        font-size: 1rem;
    }

    .original-price {
        font-size: 0.76rem;
    }

    .discount-badge {
        right: 48px;

        font-size: 0.64rem;

        padding: 2px 6px;
    }

    .product-badge {
        font-size: 0.64rem;

        padding: 2px 7px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 576px) {

    .row {
        margin-left: -8px;
        margin-right: -8px;
    }

    .row>div {
        padding-left: 8px;
        padding-right: 8px;
    }

    .product-card {
        border-radius: 14px;
    }

    .product-image {
        aspect-ratio: 4 / 5.4;
    }

    .product-details {
        padding: 11px;
    }

    .product-title {
        min-height: 38px;

        font-size: 0.84rem;

        line-height: 1.4;
    }

    .product-price {
        font-size: 0.95rem;
    }

    .best-seller-badge {
        font-size: 0.64rem;
    }

    .btn-primary {
        width: 100%;
        max-width: 240px;
    }

}


/* =========================================================
   EXTRA SMALL DEVICES
========================================================= */

@media (max-width: 420px) {

    .product-details {
        padding: 10px;
    }

    .product-title {
        font-size: 0.8rem;
    }

    .product-price {
        font-size: 0.88rem;
    }

    .discount-badge {
        top: 10px;
        right: 44px;
    }

    .wishlist-btn {
        width: 32px;
        height: 32px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

}

