/* =========================================================
   PRODUCTS HERO
========================================================= */

.products-hero {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(
            135deg,
            #07111f,
            #12304d
        );
    overflow: hidden;
}

.products-hero::before {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.08);
    right: -150px;
    top: -150px;
}

.products-hero::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.06);
    left: -100px;
    bottom: -130px;
}

.products-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.45),
            rgba(0,0,0,.05)
        );
}

.products-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 800px;
}

.products-badge {
    display: inline-block;
    padding: 7px 16px;
    border-radius: 50px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    font-size: 14px;
    margin-bottom: 18px;
}

.products-hero h1 {
    font-size: clamp(38px, 6vw, 64px);
    font-weight: 800;
    margin-bottom: 15px;
}

.products-hero p {
    font-size: 18px;
    color: rgba(255,255,255,.8);
    margin: 0;
}


/* =========================================================
   FILTER
========================================================= */

.products-filter-box {
    padding: 22px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 35px rgba(0,0,0,.07);
}

.products-filter-box .form-control,
.products-filter-box .form-select {
    min-height: 48px;
    border-radius: 10px;
}

.products-filter-box .btn {
    min-height: 48px;
    padding-left: 24px;
    padding-right: 24px;
}


/* =========================================================
   SECTION
========================================================= */

.products-section {
    background: #f8fafc;
}

.products-result-label {
    color: #0d6efd;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.products-section-title {
    font-size: 34px;
    font-weight: 800;
    color: #132238;
}


/* =========================================================
   PRODUCT CARD
========================================================= */

.product-card {
    height: 100%;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 8px 30px rgba(0,0,0,.06);
    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.product-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 45px rgba(0,0,0,.12);
}


/* =========================================================
   IMAGE
========================================================= */

.product-card-image {
    position: relative;
    height: 245px;
    overflow: hidden;
    background: #eef2f7;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.product-card:hover
.product-card-image img {
    transform: scale(1.06);
}

.product-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 60px;
}

.product-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #fff;
    color: #0d6efd;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0,0,0,.12);
}


/* =========================================================
   CARD BODY
========================================================= */

.product-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    min-height: 205px;
}

.product-card-title {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
}

.product-card-title a {
    color: #172033;
    text-decoration: none;
}

.product-card-title a:hover {
    color: #0d6efd;
}

.product-card-description {
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 18px;
}

.product-view-btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0d6efd;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
}

.product-view-btn i {
    transition: transform .25s ease;
}

.product-view-btn:hover i {
    transform: translateX(5px);
}


/* =========================================================
   EMPTY
========================================================= */

.products-empty {
    background: #fff;
    border-radius: 18px;
    padding: 70px 20px !important;
}

.products-empty-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #eef5ff;
    color: #0d6efd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
}

.products-empty h3 {
    font-weight: 800;
    color: #172033;
}


/* =========================================================
   PAGINATION
========================================================= */

.pagination .page-link {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 3px;
    border-radius: 8px !important;
    border: 1px solid #e2e8f0;
    color: #334155;
}

.pagination .page-item.active .page-link {
    color: #fff;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 767px) {

    .products-hero {
        min-height: 300px;
    }

    .products-hero h1 {
        font-size: 40px;
    }

    .products-hero p {
        font-size: 16px;
    }

    .products-section-title {
        font-size: 27px;
    }

    .products-filter-box {
        padding: 15px;
    }

    .product-card-image {
        height: 220px;
    }

}