/* =========================================================
   CATEGORY HERO
   ========================================================= */

.category-hero {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
    background: #0d2b52;
}

.category-hero-image {
    position: relative;
    inset: 0;

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center center;

    z-index: 1;
}

/* Overlay */
.category-hero-overlay {
    position: absolute;
    inset: 0;

    z-index: 2;

    background: linear-gradient(
        90deg,
        rgba(4, 29, 62, 0.78) 0%,
        rgba(4, 29, 62, 0.48) 35%,
        rgba(4, 29, 62, 0.12) 70%,
        rgba(4, 29, 62, 0.02) 100%
    );
}

/* Content */
.category-hero-content {
    position: absolute;

    top: 50%;
    left: 8%;

    transform: translateY(-50%);

    z-index: 3;

    width: calc(100% - 16%);
    max-width: 650px;

    color: #fff;
}

.category-label {
    display: inline-block;

    margin-bottom: 15px;

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 2px;

    color: #f5b900;
}

.category-hero-content h1 {
    margin: 0 0 18px;

    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.05;
    font-weight: 700;

    color: #fff;
}

.category-hero-content p {
    max-width: 600px;

    margin: 0;

    font-size: 18px;
    line-height: 1.7;

    color: rgba(255, 255, 255, 0.92);
}


/* PRODUCTS */

.category-products-section {
    padding: 75px 0 90px;
    background: #fff;
}

.section-heading {
    text-align: center;
    max-width: 750px;

    margin: 0 auto 50px;
}

.section-heading > span {
    display: block;

    margin-bottom: 10px;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 2px;

    color: #159dcc;
}

.section-heading h2 {
    margin: 0 0 12px;

    font-size: 38px;
    font-weight: 700;

    color: #15294a;
}

.section-heading p {
    margin: 0;

    font-size: 16px;
    line-height: 1.7;

    color: #666;
}


/* GRID */

.products-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 30px;
}


/* CARD */

.product-card {
    background: #fff;

    border-radius: 14px;

    overflow: hidden;

    border: 1px solid #edf0f4;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.07);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.12);
}


/* IMAGE */

.product-image {
    height: 300px;

    background: #f5f6f7;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    padding: 20px;

    transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-placeholder {
    font-size: 60px;
    color: #b8c1cc;
}


/* CONTENT */

.product-content {
    padding: 25px 25px 28px;

    text-align: center;
}

.product-content h3 {
    margin: 0 0 12px;

    font-size: 23px;
    line-height: 1.3;

    color: #111;
}

.product-content p {
    min-height: 72px;

    margin: 0 0 20px;

    font-size: 15px;
    line-height: 1.7;

    color: #666;
}

.product-learn {
    display: inline-flex;

    align-items: center;
    gap: 8px;

    color: #09a7d8;

    font-size: 16px;
    font-weight: 600;

    text-decoration: none;

    transition: gap 0.2s ease;
}

.product-learn:hover {
    gap: 13px;
    color: #078db7;
}


/* NO PRODUCTS */

.no-products {
    padding: 70px 20px;

    text-align: center;

    border-radius: 15px;

    background: #f7f9fb;
}

.no-products i {
    font-size: 55px;
    color: #13a5d4;
}

.no-products h3 {
    margin: 20px 0 8px;
}

.no-products p {
    margin: 0;
    color: #777;
}


/* RESPONSIVE */

@media (max-width: 991px) {

    .products-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .category-hero {
        height: 380px;
    }

}

@media (max-width: 767px) {

    .category-hero {
        height: 360px;
    }

    .category-hero-content {
        left: 25px;
        right: 25px;
    }

    .category-hero-content h1 {
        font-size: 40px;
    }

    .category-hero-content p {
        font-size: 15px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .section-heading h2 {
        font-size: 30px;
    }

}