/* =========================================
   PRODUCTS SECTION
========================================= */

.products-section {
    padding: 90px 0;
    background: #f8f9fc;
    overflow: hidden;
}


/* =========================================
   SECTION HEADING
========================================= */

.products-section .section-heading {
    text-align: center;
    margin-bottom: 50px;
}

.products-section .section-heading span {
    display: block;
    color: #d4a017;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.products-section .section-heading h2 {
    margin: 0 0 15px;
    color: #0d2d73;
    font-size: 52px;
    line-height: 1.2;
    font-weight: 800;
}

.products-section .section-heading p {
    margin: 0;
    color: #666;
    font-size: 18px;
}


/* =========================================
   PRODUCTS GRID
   DESKTOP = 4 COLUMNS
========================================= */

.featured-products-grid {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 30px;

    padding: 0 20px;

    box-sizing: border-box;
}


/* =========================================
   PRODUCT CARD
========================================= */

.featured-product-card {
    width: 100%;
    min-width: 0;

    background: #fff;

    border: 1px solid #eef1f7;
    border-radius: 18px;

    overflow: hidden;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

    display: flex;
    flex-direction: column;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.featured-product-card:hover {
    transform: translateY(-6px);

    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
}


/* =========================================
   PRODUCT IMAGE
========================================= */

.featured-product-image {
    position: relative;

    width: 100%;

    aspect-ratio: 1 / 1;

    background: #fff;

    overflow: hidden;
}

.featured-product-image a {
    display: block;

    width: 100%;
    height: 100%;
}

.featured-product-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;

    display: block;

    transition: transform 0.4s ease;
}

.featured-product-card:hover
.featured-product-image img {
    transform: scale(1.03);
}


/* =========================================
   FEATURED BADGE
========================================= */

.featured-badge {
    position: absolute;

    top: 15px;
    right: 15px;

    z-index: 5;

    background: #0d2d73;
    color: #fff;

    padding: 8px 14px;

    border-radius: 30px;

    font-size: 13px;
    font-weight: 700;

    white-space: nowrap;

    box-shadow: 0 5px 15px rgba(13, 45, 115, 0.20);
}

.featured-badge i {
    margin-right: 5px;
}


/* =========================================
   PRODUCT CONTENT
========================================= */

.featured-product-content {
    padding: 22px;

    display: flex;
    flex-direction: column;

    flex: 1;

    box-sizing: border-box;
}


/* =========================================
   PRODUCT TITLE
========================================= */

.featured-product-title {
    margin: 0 0 15px;

    min-height: 57px;
}

.featured-product-title a {
    color: #222;

    font-size: 19px;
    line-height: 1.5;
    font-weight: 700;

    text-decoration: none;

    display: -webkit-box;

    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden;
}

.featured-product-title a:hover {
    color: #0d2d73;
}


/* =========================================
   PRODUCT PRICE
========================================= */

.featured-product-price {
    margin-top: auto;
    margin-bottom: 20px;

    min-height: 28px;
}

.featured-product-price del {
    color: #999;

    margin-right: 10px;

    font-size: 16px;
}

.featured-product-price ins {
    color: #d4a017;

    text-decoration: none;

    font-size: 20px;
    font-weight: 700;
}


/* =========================================
   CART BUTTON
========================================= */

.featured-cart-btn {
    width: 100%;

    min-height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    background: linear-gradient(
        135deg,
        #0d2d73,
        #1747b8
    );

    color: #fff !important;

    border-radius: 10px;

    font-size: 17px;
    font-weight: 700;

    text-decoration: none;

    box-sizing: border-box;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.featured-cart-btn:hover {
    color: #fff !important;

    transform: translateY(-2px);

    box-shadow: 0 10px 20px rgba(13, 45, 115, 0.25);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1100px) {

    .featured-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 24px;

        max-width: 850px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .products-section {
        padding: 55px 0;
    }


    /* Heading */

    .products-section .section-heading {
        margin-bottom: 35px;

        padding: 0 15px;
    }

    .products-section .section-heading span {
        font-size: 13px;
        letter-spacing: 1.8px;
    }

    .products-section .section-heading h2 {
        font-size: 36px;
        line-height: 1.15;
    }

    .products-section .section-heading p {
        font-size: 15px;
        line-height: 1.5;
    }


    /* 2 x 2 Grid */

    .featured-products-grid {
        width: 100%;

        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 14px;

        padding: 0 10px;

        box-sizing: border-box;
    }


    /* Card */

    .featured-product-card {
        border-radius: 14px;

        box-shadow: 0 7px 20px rgba(0, 0, 0, 0.07);
    }


    /* Image */

    .featured-product-image {
        width: 100%;

        aspect-ratio: 1 / 1;

        height: auto;
    }

    .featured-product-image img {
        object-fit: cover;
    }


    /* Badge */

    .featured-badge {
        top: 8px;
        right: 8px;

        padding: 6px 9px;

        font-size: 9px;
    }

    .featured-badge i {
        margin-right: 3px;
    }


    /* Content */

    .featured-product-content {
        padding: 12px;
    }


    /* Title */

    .featured-product-title {
        min-height: 40px;

        margin-bottom: 10px;
    }

    .featured-product-title a {
        font-size: 14px;

        line-height: 1.4;
    }


    /* Price */

    .featured-product-price {
        min-height: 22px;

        margin-bottom: 12px;
    }

    .featured-product-price del {
        font-size: 11px;

        margin-right: 4px;
    }

    .featured-product-price ins {
        font-size: 15px;
    }


    /* Cart */

    .featured-cart-btn {
        min-height: 44px;

        padding: 0 8px;

        border-radius: 8px;

        font-size: 13px;

        gap: 5px;
    }

}


/* =========================================
   VERY SMALL MOBILE
========================================= */

@media (max-width: 380px) {

    .featured-products-grid {
        gap: 10px;

        padding: 0 7px;
    }

    .featured-product-content {
        padding: 10px;
    }

    .featured-product-title a {
        font-size: 13px;
    }

    .featured-product-price del {
        font-size: 10px;
    }

    .featured-product-price ins {
        font-size: 14px;
    }

    .featured-cart-btn {
        min-height: 42px;

        font-size: 12px;
    }

    .featured-badge {
        font-size: 8px;

        padding: 5px 7px;
    }

}