/* =========================
   Container
========================= */
.all-products {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    font-family: "Inter", sans-serif;
    color: #333;
}

/* =========================
   FULL-WIDTH PAGE HEADER
========================= */
.page-header-overlay {
    position: relative;

    /* Break out of the centered container */
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);

    background:
        linear-gradient(rgba(42, 93, 143, 0.85), rgba(42, 93, 143, 0.85)),
        url("../images/slide1.png");

    background-size: cover;
    background-position: center;

    padding: 120px 20px;
    margin-bottom: 80px;
}

.page-header-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
}

.page-header-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.page-header-content p {
    font-size: 1.2rem;
    color: #fff !important;
    line-height: 1.6;
}

/* =========================
   Product Sections
========================= */
.product-info-section {
    margin-bottom: 70px;
    padding: 40px 30px;
}

.product-info-section h2 {
    font-size: 2rem;
    color: #2a5d8f;
    margin-bottom: 15px;
    border-bottom: 2px solid #2a5d8f;
    display: inline-block;
    padding-bottom: 5px;
}

.product-info-section p {
    font-size: 1rem;
    margin-bottom: 20px;
}

/* =========================
   Brand List Grid
========================= */
.product-info-section ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.product-info-section li {
    background: #fff;
    padding: 15px 20px;
}

.product-info-section li strong {
    color: #2a5d8f;
}

/* =========================
   Section Images
========================= */
.product-section-img {
    width: 100%;
    max-width: 400px;
    display: block;
    margin-top: 25px;
}

/* =========================
   Reverse Layout
========================= */
.product-info-section.reverse {
    text-align: right;
}

.product-info-section.reverse ul {
    justify-items: end;
}

.product-info-section.reverse .product-section-img {
    margin-left: auto;
}

/* =========================
   Responsive
========================= */
@media (max-width: 1024px) {
    .product-info-section ul {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .page-header-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 650px) {

    /* Header */
    .page-header-overlay {
        padding: 70px 18px 60px 18px;   /* reduce height */
        margin-bottom: 50px;            /* tighter spacing */
        background-position: center;
    }

    .page-header-content {
        max-width: 95%;
    }

    .page-header-content h1 {
        font-size: 1.9rem;
        line-height: 1.2;
        margin-bottom: 12px;
    }

    .page-header-content p {
        font-size: 0.95rem;
        line-height: 1.5;
        opacity: 0.95;
    }

    /* Product sections */
    .product-info-section {
        padding: 25px 15px;
        margin-bottom: 50px;
    }

    .product-info-section h2 {
        font-size: 1.5rem;
        border-bottom-width: 1px;
    }

    .product-info-section p {
        font-size: 0.95rem;
    }

    .product-info-section ul {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .product-info-section li {
        padding: 14px 16px;
        /* border-radius: 6px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05); */
    }

    /* Remove reverse alignment on mobile */
    .product-info-section.reverse {
        text-align: left;
    }

    .product-info-section.reverse ul {
        justify-items: start;
    }

    .product-info-section.reverse .product-section-img {
        margin-left: 0;
    }

    .product-section-img {
        max-width: 100%;
        margin-top: 20px;
    }
}
