@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

body,html {
  font-family: "Montserrat", sans-serif!important;
  font-optical-sizing: auto!important;
  font-weight: 400!important;
  font-style: normal!important;
}

body.bg-light, .featured .bg-light{
background-color: #ffffff !important;
}
.product-info.bg-light {
  background-color: #ffffff !important;
}
.bg-light.module_header_bc {
  background-color: #ffffff !important;
}


/* ================= IMAGE GRID FIX ================= */

.img_grid_div_25460 {
    max-width: 1600px !important;
    width: 100% !important;
    margin: 0 auto 20px auto !important;
}

/* force single row */
.img_grid_div_25460 #r1,
.img_grid_div_25460 .row {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: stretch !important;
    gap: 14px !important;
}

/* override bootstrap columns */
.img_grid_div_25460 .column-style,
.img_grid_div_25460 [class*="col-"] {
    flex: 0 0 calc(16.66% - 14px) !important;
    max-width: calc(16.66% - 14px) !important;
    width: calc(16.66% - 14px) !important;
    padding: 0 !important;
}

/* image styling */
.img_grid_div_25460 .image_grid {
    display: block;
    width: 100% !important;
    height: auto !important;
    border-radius: 12px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.img_grid_div_25460 .image_grid:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

/* allow scroll on smaller screens instead of breaking */
@media only screen and (max-width: 991px) {
    .img_grid_div_25460 {
        overflow-x: auto;
    }

    .img_grid_div_25460 #r1,
    .img_grid_div_25460 .row {
        flex-wrap: nowrap !important;
    }

    .img_grid_div_25460 .column-style,
    .img_grid_div_25460 [class*="col-"] {
        flex: 0 0 220px !important;
        max-width: 220px !important;
    }
}


/* ================= EXISTING STYLES (UNCHANGED) ================= */

.categoryboxes {
    gap: 10px !important;
}

.categoryboxes .categorybox {
    height: 240px;
    border-radius: 14px;
}

.categoryboxes .text-overlay {
    height: 62px;
    padding: 14px;
}

.categoryboxes .text-overlay h2 {
    font-size: 1.25em;
}

.categoryboxes .text-overlay p {
    font-size: 1em;
}

.product_grid_div_23988 .colmd4 {
    padding: 18px !important;
}

.grid-header-title {
    font-size: 18px;
    margin-bottom: 12px !important;
}

.grid-sub-titles {
    font-size: 15px;
    margin-bottom: 8px !important;
}

.grid-img-box {
    max-height: 180px;
}

.printer_module_div_23989 .d-flex.bg-white {
    padding: 18px !important;
}


/* PRODUCT FINDER */

#product_finder {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
}

#product_finder .d-flex.bg-white {
    padding: 16px !important;
}

#product_finder p:first-child {
    font-size: 1.8rem !important;
    margin-bottom: 5px;
}

#product_finder .text-muted {
    font-size: 1rem !important;
}

#product_finder .chosen-container {
    width: 100% !important;
    font-size: 14px;
}

#product_finder .chosen-single {
    height: 38px;
    line-height: 38px;
    border-radius: 8px;
}

#product_finder .pb-2 {
    padding-bottom: 8px !important;
}

#product_finder input.form-control {
    height: 38px;
    font-size: 14px;
    border-radius: 8px;
}

#product_finder .btn {
    height: 40px;
    border-radius: 8px;
    font-size: 15px;
}

#product_finder .col-md-5 img {
    max-height: 200px;
    padding: 10px !important;
}

#product_finder hr {
    margin: 8px 0;
}

@media only screen and (max-width: 768px) {
    #product_finder {
        max-width: 100%;
    }

    #product_finder .d-flex {
        flex-direction: column;
    }

    #product_finder .col-md-5 img {
        max-height: 150px;
        margin-top: 10px;
    }
}