.ctnr {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 15px;
}

.product-category-page {
    padding: 100px 0;
}

.page-title-fade {
    font-size: clamp(48px, 10vw, 120px);
    font-weight: 700;
    color: #bfc9d157;
    margin-bottom: 70px;
    text-transform: uppercase;
    letter-spacing: -5px;
    line-height: 1.1;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.product-image-wrapper {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f8f9fa;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-info {
    padding: 20px 20px 25px;
    background-color: #fff;
}

.product-title {
    font-size: 18px;
    font-weight: 700;
    color: #374151;
    margin: 0;
}

/* Subcategory Section */
.product-subcat-section {
    padding: 60px 0;
}

.hero-banner-card {
    position: relative;
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.hero-banner-img {
    width: 100%;
    display: block;
    object-fit: cover;
    min-height: 200px;
}

.hero-banner-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 60px 50px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #fff;
}

.hero-banner-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.btn-learn-more1 {
    display: inline-block;
    padding: 10px 24px;
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-learn-more1:hover {
    background-color: #fff;
    color: #005fb6;
}

.subcat-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.subcat-card {
    position: relative;
    background-color: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.subcat-card.subcat-card-full {
    grid-column: 1 / -1;
}

.subcat-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}


.subcat-img {
    width: 100%;
    display: block;
    object-fit: cover;
    min-height: 300px;
    /* Ensures it has some height */
}

.subcat-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 60px 50px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.subcat-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: #005fb6;
    margin-bottom: 20px;
}

.subcat-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.subcat-links li {
    margin-bottom: 12px;
}

.subcat-links a {
    color: #6b7280;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s ease;
}

.subcat-links a:hover {
    color: #005fb6;
}



/* Accessories Section */
.accessories-section {
    padding: 60px 0;
    background-color: #fff;
}

.section-title-center {
    text-align: center;
    color: #005fb6;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 50px;
}

.accessories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.accessory-card {
    border: 1px solid #eaeaea;
    border-radius: 4px;
    padding: 40px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
}

.accessory-title {
    color: #005fb6;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.accessory-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: #005fb6;
}

.accessory-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.btn-outline {
    border: 1px solid #ccc;
    color: #666;
    padding: 8px 16px;
    font-size: 14px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.btn-outline:hover {
    border-color: #005fb6;
    color: #005fb6;
}

.accessory-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 40px;
    flex: 1;
    /* pushes image to bottom */
}

.accessory-desc ul {
    padding-left: 15px;
    margin-bottom: 10px;
    list-style-type: disc;
}

.accessory-desc p {
    margin-bottom: 10px;
}

.accessory-img-box {
    text-align: center;
}

.accessory-img-box img {
    max-width: 100%;
    height: auto;
}

/* Nova Cloud Services (Layout 3) */
.l3-services {
    margin-top: 60px;
    padding-top: 20px;
}

.l3-services h3 {
    font-size: 22px;
    font-weight: 700;
    color: #005fb6;
    margin: 0 0 35px 0;
    line-height: 1.3;
}

.l3-services-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, max-content));
    column-gap: 80px;
    row-gap: 35px;
    align-items: center;
}

.l3-service-item {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.l3-service-item:hover {
    transform: translateY(-2px);
    opacity: 0.85;
}

.l3-service-item img {
    height: 44px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    border-radius: 0 !important;
}

/* Responsive */

@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* .subcat-grid {
        grid-template-columns: 1fr 1fr;
    } */

    /* .subcat-card-full .subcat-content {
        max-width: 55%;
    } */

    .hero-banner-content h2 {
        font-size: 40px;
    }
}


@media (min-width: 1024px) {

    .subcat-grid,
    .accessories-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-banner-content h2 {
        font-size: 48px;
    }
}

@media (max-width: 768px) {

    .hero-banner-content,
    .subcat-content {
        padding: 25px 25px;
        /* min-height: 150px; */
    }

    .hero-banner-content h2 {
        font-size: 20px;
    }

    .btn-learn-more1 {
        font-size: 12px;
        padding: 6px 15px;
    }

    .subcat-content h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .subcat-links a {
        font-size: 13px;
    }

    .subcat-links li {
        margin-bottom: 8px;
    }

    .subcat-img {
        min-height: 125px;
    }

    .l3-services {
        margin-top: 40px;
        padding-top: 10px;
    }

    .l3-services h3 {
        font-size: 19px;
        margin-bottom: 22px;
    }

    .l3-services-list {
        grid-template-columns: 1fr;
        row-gap: 22px;
    }

    .l3-service-item img {
        height: 38px;
        max-width: 260px;
    }

    .accessory-card {
        padding: 20px;
    }

    .btn-outline {
        font-size: 11px;
    }

    .section-title-center {
        font-size: 28px;
    }

    .hero-banner-img {
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .l3-services h3 {
        font-size: 18px;
        margin-bottom: 18px;
    }

    .l3-service-item img {
        height: 32px;
        max-width: 220px;
    }

    .product-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .product-category-page {
        padding: 50px 0;
    }
}