/*
Theme Name: Heiman PPE Care and Maintenance
Version: 52.0
*/

@import url('https://fonts.googleapis.com/css2?family=Saira+Extra+Condensed:wght@400;500;600;700;800;900&display=swap');

/* --- 1. RESET & BASE --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Saira Extra Condensed', sans-serif !important; background: #fff; color: #1e3063; overflow-x: hidden; }

/* --- 2. HEADER TOP BAR --- */
.top-blue-bar { background: linear-gradient(90deg, #1e3063 0%, #4c92d1 50%, #1e3063 100%) !important; width: 100%; padding: 8px 0; }
.header-container { max-width: 1600px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: flex-end; }
.top-utility-nav { display: flex; gap: 20px; }
.top-utility-nav a { color: #fff; text-decoration: none; font-size: 18px; font-weight: 600; text-transform: uppercase; transition: color 0.3s ease; }
.top-utility-nav a.blog-link { color: #ffcc00; }

/* --- 3. MAIN HEADER --- */
.header-main-row { background: #fff; width: 100%; position: relative; border-bottom: 1px solid #eee; }
.header-container-main { display: flex; justify-content: space-between; align-items: flex-end; max-width: 1600px; margin: 0 auto; padding: 10px 20px; }
.main-logo { height: 98px !important; width: auto; display: block; }
.tagline { font-size: 15px; font-weight: 800; color: #1e3063; text-transform: uppercase; display: block; }

.hdr-col-center { flex: 1; display: flex; justify-content: center; position: relative; }
.nav-list { display: flex; list-style: none; gap: 30px; margin: 0; padding: 0 0 10px 0; }
.nav-list a { text-decoration: none; color: #1e3063; font-size: 22px; font-weight: 700; text-transform: uppercase; transition: color 0.3s ease; }

.hdr-col-right { flex: 0 0 auto; text-align: right; padding-bottom: 5px; }
.call-text { font-weight: 900; font-size: 38px; line-height: 0.85; }
.location-text { font-size: 13px; font-weight: 700; text-transform: uppercase; display: block; }
.search-link { font-size: 13px; font-weight: 800; color: #4c92d1; text-decoration: none; transition: color 0.3s ease; }

/* --- 4. ROLLOVER / HOVER COLORS --- */
.nav-list a:hover,
.top-utility-nav a:hover,
.footer-nav a:hover,
.search-link:hover {
    color: #ffcc00 !important;
}

.newsletter-input-group button:hover {
    background-color: #e6b800; 
    color: #fff;
}

/* --- 5. MOBILE MENU --- */
.menu-toggle { display: none; }

@media (max-width: 1150px) {
    .menu-toggle { display: flex; flex-direction: column; justify-content: space-between; width: 30px; height: 21px; background: transparent; border: none; cursor: pointer; z-index: 1001; }
    .menu-toggle .bar { width: 100%; height: 3px; background-color: #1e3063; }
    .nav-list { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: #1e3063; flex-direction: column; padding: 20px 0; z-index: 1000; list-style: none; border-top: 5px solid #ffcc00; }
    .nav-list.active { display: flex !important; }
    .nav-list li { text-align: center; padding: 15px 0; }
    .nav-list a { color: #fff !important; }
    .hdr-col-right { display: none; }
}

/* --- 6. FOOTER STRUCTURE --- */
.site-footer {
    background-color: #1e3063;
    color: #fff;
    padding: 60px 0 0 0;
    border-top: 12px solid #ffcc00;
    font-family: 'Saira Extra Condensed', sans-serif !important;
}

.footer-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.footer-socials a i {
    color: #fff;
    font-size: 18px;
    border: 2px solid #fff;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-socials a:hover i {
    color: #ffcc00;
    border-color: #ffcc00;
}

.footer-nav-split {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    width: 100%;
}

.footer-nav-split li {
    width: 50%;
    margin-bottom: 10px;
}

.footer-nav-split a {
    color: #ffffff !important; 
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-bottom-bar {
    background-color: #0d152b; 
    color: #fff;
    text-align: center;
    padding: 25px 0;
    margin-top: 40px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* --- 7. HERO SECTION --- */
.hero-video-section {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video-section video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(4, 55, 92, 0.5);
    z-index: 1;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1360px;
    padding: 0 20px;
}

.hero-inner-box {
    width: 100%;
    height: 220px;
    background-color: rgba(24, 150, 203, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-inner-box h1 {
    color: #ffffff !important;
    margin: 0;
    font-size: clamp(30px, 6vw, 48px); 
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.hero-inner-box h1 span { color: #ffcc00; }

.hero-inner-box p {
    color: #ffffff !important;
    margin: 5px 0 0;
    font-weight: 500;
    font-size: clamp(18px, 3vw, 22px);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- 8. CTA & BUTTONS --- */
.cta-bar {
    max-width: 1360px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.btn-quote {
    display: inline-block;
    background-color: #1896cb !important;
    color: #ffffff !important;
    padding: 12px 30px !important;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 18px; 
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
    line-height: 1;
}

.btn-quote:hover {
    background-color: #ffcc00 !important;
    color: #04375c !important;
}

.isp-badge-group { display: flex; align-items: center; gap: 20px; }
.isp-text { font-weight: 700; color: #1a365d; font-size: 22px; text-transform: uppercase; line-height: 1; }
.isp-logo { height: 55px; width: auto; display: block; }

/* --- 9. SERVICES GRID --- */
.services-section-wrapper { width: 100% !important; background-color: #eae8e8 !important; padding: 60px 0 !important; display: flex !important; justify-content: center !important; }
.services-grid { display: flex !important; flex-direction: column !important; gap: 40px !important; width: 90% !important; max-width: 480px; margin: 0 auto !important; }

@media screen and (min-width: 1025px) {
    .services-grid { flex-direction: row !important; gap: 10px !important; max-width: 1319px !important; width: 100% !important; }
    .service-card { flex: 1; }
}

.service-card { display: flex !important; flex-direction: column !important; position: relative !important; overflow: visible !important; }
.service-header-bar { position: absolute; top: 0; left: 0; width: 100%; background-color: rgba(0, 7, 30, 0.8) !important; padding: 15px 20px; z-index: 20 !important; }
.service-header-bar h3 { margin: 0; color: #ffffff !important; font-size: 28px; font-weight: 800; text-transform: uppercase; line-height: 1; }
.service-header-bar h3 span { color: #1896cb; }

.service-image-chevron { width: 100%; aspect-ratio: 4/3; overflow: hidden; clip-path: polygon(0% 0%, 100% 0%, 100% 85%, 50% 100%, 0% 85%); z-index: 5; }
.service-image-chevron img { width: 100% !important; height: 100% !important; object-fit: cover !important; display: block !important; }

.service-content-nest { width: 100% !important; background-color: #f1f7fd !important; padding: 60px 25px 30px !important; margin-top: -38px !important; text-align: left !important; position: relative; z-index: 1; clip-path: polygon(0% 0%, 50% 12%, 100% 0%, 100% 100%, 0% 100%); }
.service-content-nest h4 { color: #1a365d; font-size: 24px; font-weight: 800; margin: 10px 0 !important; text-transform: uppercase; line-height: 1.1; }
.service-content-nest p { color: #444; font-size: 15px; line-height: 1.4; font-family: Arial, sans-serif !important; }

/* --- 10. CTA LOGO BAR --- */
.cta-logo-bar { width: 100%; background-color: #ffffff; padding: 30px 0; border-top: 1px solid #eeeeee; }
.cta-container { max-width: 1319px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 30px; }
.tour-link { display: flex; align-items: center; text-decoration: none; gap: 15px; transition: transform 0.2s ease; }
.tour-link:hover { transform: translateX(5px); }
.tour-icon { width: 45px; height: 45px; background-color: #4099d4; color: white; display: flex; align-items: center; justify-content: center; border-radius: 4px; }
.tour-text { font-size: 32px; font-weight: 800; color: #1a365d; text-transform: uppercase; }
.logo-group { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; }
.partner-logo { height: 50px; width: auto; filter: grayscale(100%); opacity: 0.8; transition: all 0.3s ease; }

@media screen and (max-width: 980px) {
    .cta-container { justify-content: center; text-align: center; }
    .logo-group { justify-content: center; }
}

/* --- 11. NFPA SECTION (PITA - Tread Carefully) --- */
.nfpa-wrapper {
  width: 100%;
  padding-left: 15.68vw;  
  padding-right: 15.46vw; 
  box-sizing: border-box;
  margin: 50px 0;
}

.nfpa-row {
  display: flex;
  width: 100%;
  height: 12.8vw;
  min-height: 220px;
  max-height: 280px;
  gap: 0.64vw; 
}

.nfpa-card { background-color: #7ba2d1; display: flex; align-items: center; overflow: hidden; height: 100%; }
.info-card { flex: 846; padding: 0 3vw; box-sizing: border-box; }
.image-card { flex: 433; }
.image-card img { width: 100%; height: 100%; object-fit: cover; display: block; }

.text-col { font-family: 'Saira Extra Condensed', sans-serif; padding-left: 2vw; }
.text-col h1 { margin: 0; font-size: 3.8vw; line-height: 0.85; font-weight: 900; color: #2d3e5e; text-transform: uppercase; }
.text-col h1 span { color: #ffffff; }
.text-col p { color: #ffffff; font-size: 1.15vw; line-height: 1.2; margin: 0.6vw 0; font-weight: 500; }
.summary-link { color: #2d3e5e; text-decoration: none; font-weight: 800; font-size: 1.3vw; text-transform: uppercase; }

/* Image Column for the Helmet */
.helmet-col { flex: 0 0 20%; }
.helmet-col img { width: 100%; height: auto; transform: scale(1.1); filter: drop-shadow(0 10px 15px rgba(0,0,0,0.3)); }

@media (max-width: 1200px) {
  .nfpa-wrapper { padding-left: 5vw; padding-right: 5vw; }
  .text-col h1 { font-size: 3rem; }
  .text-col p { font-size: 1rem; }
  .summary-link { font-size: 1.1rem; }
}

@media (max-width: 850px) {
  .nfpa-row { flex-direction: column; height: auto; max-height: none; gap: 15px; }
  .info-card, .image-card { width: 100%; padding: 40px 20px; }
  .image-card { height: 250px; }
}

/* --- 12. SEARCH & FORMS --- */
.forminator-custom-form { max-width: 1360px !important; margin: 0 auto !important; width: 100%; }

.btn-schedule { display: none !important; }

@media screen and (max-width: 767px) {
    .btn-schedule { display: inline-flex !important; background-color: #003366 !important; color: #ffffff !important; }
}

.header-search-wrap form { display: flex; justify-content: flex-end; margin-top: 15px; }
.header-search-wrap input[type="search"] { border: 1px solid #ccc; padding: 6px 10px; border-radius: 4px 0 0 4px; outline: none; }
.header-search-wrap button[type="submit"] { background: #004a99; color: white; border: none; padding: 6px 15px; border-radius: 0 4px 4px 0; cursor: pointer; }

.content-container-1360 { max-width: 1360px; margin: 0 auto; padding: 0 20px; width: 100%; box-sizing: border-box; }

/* --- 13. WP CORE & CUSTOM OVERRIDES --- */

/* Ensure the video/image doesn't overflow its 50% box */
.wp-block-column figure, 
.wp-block-column img, 
.wp-block-column video {
    width: 100% !important;
    margin: 0 !important;
}

/* Mobile: Only wrap when we actually need to */
@media (max-width: 782px) {
    .wp-block-columns {
        flex-wrap: wrap !important;
    }
    .wp-block-column {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}
/* --- 14. SPECTRA CONTAINER OVERRIDES --- */

/* Force the Spectra inner container to stay side-by-side */
.wp-block-spectra-container .uagb-container-inner-wrapper {
    display: flex !important;
    flex-wrap: nowrap !important; 
    flex-direction: row !important;
    justify-content: center !important;
    align-items: stretch !important; /* This makes the boxes the same height */
    gap: 40px !important;
}

/* Ensure the child containers stay at 50% */
.wp-block-spectra-container .uagb-container-inner-wrapper > .wp-block-spectra-container {
    flex: 0 0 calc(50% - 20px) !important;
    max-width: calc(50% - 20px) !important;
    width: calc(50% - 20px) !important;
}

/* Mobile Fix for Spectra */
@media (max-width: 782px) {
    .wp-block-spectra-container .uagb-container-inner-wrapper {
        flex-wrap: wrap !important;
    }
    .wp-block-spectra-container .uagb-container-inner-wrapper > .wp-block-spectra-container {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
}
/* End of Normal CSS */
/* Final Polish Fixes */
button, input { font-family: 'Saira Extra Condensed', sans-serif !important; }
.hero-inner-box { max-width: 1200px; margin: 0 auto; }
.btn-schedule:hover { background-color: #ffcc00 !important; color: #1e3063 !important; }

/* Ensure the dark blue button actually shows up on mobile */
@media screen and (max-width: 767px) {
    .btn-schedule { display: inline-flex !important; align-items: center; justify-content: center; }
}

/* --- SECTION 15 --- */
.proc-img-holder {
    position: relative;
    overflow: hidden; /* Keeps the zoom inside the border */
    transition: all 0.3s ease;
}

.proc-img-holder img {
    transition: transform 0.5s ease;
}

.proc-card:hover .proc-img-holder img {
    transform: scale(1.1); /* Subtle zoom */
}

.proc-card:hover .proc-img-holder {
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    transform: translateY(-5px); /* Card lifts up slightly */
}
@media (min-width: 1025px) {
    .proc-card {
        position: relative;
    }
    /* Adds a small gray arrow between items */
    .proc-card:not(:nth-child(4n)):after {
        content: '\203A'; /* Chevron character */
        position: absolute;
        top: 100px; /* Center with the image */
        right: -25px;
        font-size: 40px;
        color: #eee;
        font-weight: 100;
    }
}
.proc-badge {
    background: #00aeef; /* Your Cyan color */
    color: #fff;
    display: inline-block;
    padding: 2px 12px;
    border-radius: 2px;
    font-family: 'Saira Extra Condensed', sans-serif;
    font-weight: 800;
    font-size: 0.8rem;
    margin-bottom: 10px;
    align-self: center; /* Keeps it centered in the card */
}
/* Mobile Optimization */
@media (max-width: 768px) {
    /* Hide the actual video element */
    .hero-video-section video {
        display: none;
    }

    /* Set the hero section to show the image as a background instead */
    .hero-video-section {
        background-image: url('https://heimanfireisp.com/wp-content/uploads/2026/02/extractor-image-low-2.jpg');
        background-size: cover;
        background-position: center;
        min-height: 300px; /* Adjust height as needed for mobile */
    }
}
/* --- PPE PRICE LIST STYLES --- */
.ppe-price-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    max-width: 1360px; /* Matching your theme's content width */
    margin: 40px auto;
    font-family: 'Saira Extra Condensed', sans-serif !important;
}

.price-section-title {
    background: #1e3063; /* Your Navy Blue */
    color: #ffffff;
    padding: 10px 15px;
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 8px;
    border-bottom: 2px dotted #4c92d1; /* Your Light Blue */
    padding-bottom: 4px;
}

.price-item-name {
    font-size: 20px;
    font-weight: 600;
    color: #1e3063;
    text-transform: uppercase;
    background: #fff; /* Masks the dots behind the text */
    padding-right: 10px;
    margin-bottom: -6px;
}

.price-item-value {
    font-size: 22px;
    font-weight: 800;
    color: #1896cb; /* Your accent blue */
    background: #fff;
    padding-left: 10px;
    margin-bottom: -6px;
}

/* Handling the product items (Cleaners) */
.price-row.has-image {
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: none;
    margin-top: 20px;
}

.price-product-img {
    max-width: 150px;
    height: auto;
    margin-bottom: 10px;
}

/* Responsive Fix */
@media (max-width: 1024px) {
    .ppe-price-container {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
}
.price-section-header {
    background: #1e3063;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    margin-bottom: 15px;
}

.price-section-title {
    color: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

.ppe-schedule-btn {
    background-color: #ffbf00; /* The Yellow-Gold */
    color: #1e3063 !important; /* Navy Text */
    padding: 6px 15px;
    border-radius: 3px;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
}
/* --- 16. THE "STOP EXPLODING" EMERGENCY FIX --- */

/* Target the specific container the plugin uses */
shopify-product, 
.shopify-product-card, 
.shopify-buy-frame {
    display: block !important;
    max-width: 500px !important; /* Forces the whole block to be sane */
    margin: 0 auto !important;
}

/* Force the image to shrink no matter what */
shopify-product img, 
.shopify-product-card img, 
[class*="shopify-product"] img {
    width: 100% !important;
    max-width: 400px !important; /* Adjust this number to the size you want */
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
}

/* Ensure the title doesn't wrap weirdly */
.shopify-product-card__title {
    font-family: 'Saira Extra Condensed', sans-serif !important;
    font-size: 2rem !important;
    text-align: center !important;
}
/* --- 17. THE DEFINITIVE SHOPIFY FIX --- */

/* Fix 1: Stop the Collection images from expanding like crazy */
.wps-products, .wps-product {
    max-width: 1360px !important;
    margin: 0 auto !important;
}

/* Fix 2: Force the Product Cards into a neat grid */
.wps-product-card {
    height: auto !important;
    max-width: 350px !important; /* Forces the box to be sane */
    margin: 10px !important;
    border: 1px solid #eee !important;
}

/* Fix 3: Target the actual <img> tag deep inside the plugin */
.wps-product-image-wrapper img, 
.wps-product-image,
.wps-product-image img {
    width: 100% !important;
    height: 250px !important; /* Constrains the height */
    object-fit: contain !important; /* Stops the stretching/distortion */
    max-width: 100% !important;
}

/* Fix 4: Force the Buy Button to match your Navy/Gold theme */
.wps-btn {
    background-color: #1e3063 !important; /* Heiman Navy */
    color: #fff !important;
    font-family: 'Saira Extra Condensed', sans-serif !important;
    text-transform: uppercase !important;
    font-weight: 800 !important;
    border-radius: 0 !important;
}

.wps-btn:hover {
    background-color: #ffcc00 !important; /* Heiman Gold */
    color: #1e3063 !important;
}
/* --- 18. THE "OBEY ME" OVERRIDE --- */

/* This targets the main wrapper that often causes the 'explosion' */
.wps-products, 
.wps-product-single, 
#wps-shop-container, 
.shopwp-products {
    max-width: 1200px !important;
    margin: 0 auto !important;
    display: block !important;
}

/* Force every image in any shopify-related block to stay small */
[class*="shopify"] img, 
[class*="wps-"] img, 
.shopwp-product-image img {
    max-width: 300px !important; /* Forces boots and reels to a normal size */
    height: auto !important;
    width: 100% !important;
    margin: 0 auto !important;
    display: block !important;
}

/* Fix for the "Dog Shit" collection grid */
.wps-products, .shopwp-products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important; /* Forces 3 columns */
    gap: 30px !important;
}

@media (max-width: 900px) {
    .wps-products, .shopwp-products {
        grid-template-columns: 1fr !important; /* 1 column on mobile */
    }
}
/* --- 19. ISP SERVICES GEAR GRID (SDK OVERRIDE) --- */

/* 1. The Main Grid Container */
#collection-component-isp-services {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Forces 4 columns like the screenshot */
    gap: 20px;
    max-width: 1360px;
    margin: 40px auto;
    padding: 0 20px;
}

/* 2. Individual Product Cards */
.hf-custom-product {
    background: #ffffff;
    border: 1px solid #e1e1e1; /* Subtle border from screenshot */
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hf-custom-product:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

/* 3. Product Images - Force uniform height */
.hf-custom-product img {
    width: 100%;
    height: 220px;
    object-fit: contain; /* Prevents stretching */
    margin-bottom: 15px;
    background: #fff;
}

/* 4. Product Titles */
.hf-custom-product h3 {
    font-family: 'Saira Extra Condensed', sans-serif !important;
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #1e3063; /* Heiman Navy */
    margin: 10px 0;
    line-height: 1.1;
    min-height: 45px; /* Keeps buttons aligned if titles are different lengths */
}

/* 5. Pricing */
.hf-custom-product p {
    font-family: 'Saira Extra Condensed', sans-serif !important;
    font-size: 1.4rem;
    font-weight: 800;
    color: #1896cb; /* Heiman Light Blue */
    margin-bottom: 20px;
}

/* 6. "Add to Gear Bag" Button */
.hf-buy-btn {
    background-color: #1896cb !important; /* Match your theme blue */
    color: #ffffff !important;
    border: none !important;
    width: 100%;
    padding: 10px 0 !important;
    font-family: 'Saira Extra Condensed', sans-serif !important;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: auto; /* Pushes button to bottom of card */
}

.hf-buy-btn:hover {
    background-color: #ffcc00 !important; /* Heiman Gold hover */
    color: #1e3063 !important;
}

/* 7. Responsive Adjustments */
@media (max-width: 1100px) {
    #collection-component-isp-services { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    #collection-component-isp-services { grid-template-columns: 1fr; }
}
/* --- 20. THE IMAGE EXPLOSION FIX --- */

/* Force the card to have a set height so images can't push it down */
.hf-custom-product {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Keeps button at the very bottom */
    background: #fff;
    border: 1px solid #e1e1e1;
    padding: 15px;
}

/* THE CRITICAL FIX: Container for the image */
.hf-custom-product img {
    width: 100% !important;
    height: 250px !important; /* Forces every image (even the shovel) to this height */
    object-fit: contain !important; /* Shrinks the image to fit inside the 250px box without cropping */
    margin-bottom: 15px;
    display: block;
}

/* Center the titles and price */
.hf-custom-product h3 {
    font-size: 1.1rem;
    min-height: 44px; /* Room for 2 lines of text */
    margin: 5px 0;
}

.hf-custom-product p {
    margin-bottom: 15px;
}