.elementor-kit-7{--e-global-color-primary:#FFCC53;--e-global-color-secondary:#051B2E;--e-global-color-text:#68747A;--e-global-color-accent:#09243C;--e-global-color-5cfd91d:#FF0000;--e-global-color-1338026:#FFFFFF;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;}.elementor-kit-7 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1320px;}.e-con{--container-max-width:1320px;--container-default-padding-top:0px;--container-default-padding-right:0px;--container-default-padding-bottom:0px;--container-default-padding-left:0px;}.elementor-widget:not(:last-child){--kit-widget-spacing:0px;}.elementor-element{--widgets-spacing:0px 0px;--widgets-spacing-row:0px;--widgets-spacing-column:0px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}
/* Start custom CSS *//* =========================================
   1. MPS Industrial Form Styles (Global)
   ========================================= */
.modern-form {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.modern-form label {
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
    display: block;
}

.modern-form input.form-control,
.modern-form textarea.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    background-color: #fff;
    transition: border-color 0.3s;
}

.modern-form input.form-control:focus,
.modern-form textarea.form-control:focus {
    border-color: #0056b3;
    outline: none;
}

.modern-form .custom-btn {
    background-color: #0056b3;
    color: #ffffff;
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s;
}

.modern-form .custom-btn:hover {
    background-color: #004494;
}

/* =========================================
   2. Mobile Header Adjustments
   ========================================= */
@media screen and (max-width: 1200px) {
    /* Logo Sizing: This stops the stretching by forcing auto height */
    #pxl-header-default .pxl-header-branding img, 
    #pxl-header-elementor .pxl-header-branding img,
    .pxl-header-mobile .pxl-logo-mobile img,
    .pxl-header-mobile img,
    .pxl-logo img {
        height: auto !important;       /* CRITICAL: Stops vertical stretching */
        width: auto !important;        /* Maintains aspect ratio */
        max-width: 80% !important;
        max-height: 60px !important;   /* Limits height so it's not huge */
        object-fit: contain !important;
    }

    /* Background Color Update */
    #pxl-header-elementor #pxl-header-mobile.style-dark,
    #pxl-header-elementor #pxl-header-mobile.style-dark .pxl-header-menu {
        background-color: #203950 !important; /* Your New Blue */
    }
}

/* =========================================
   3. Main Content Spacing
   ========================================= */
#pxl-main, 
.elementor-page:not(.single-product) #pxl-main {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* =========================================
   4. Document Library (Grid Layout Fixes)
   ========================================= */
.barn2-document-library .doc-item,
.barn2-document-library .dlp-grid-card-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important; 
    text-align: center !important;
    padding: 15px !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 8px !important;
    background: #fff !important;
    height: 100% !important;
}

.barn2-document-library .doc-item .doc-image,
.barn2-document-library .dlp-grid-card-image {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    margin-bottom: 15px !important;
}

.barn2-document-library .doc-item .doc-image img,
.barn2-document-library .dlp-grid-card-image img {
    height: 140px !important; 
    width: auto !important;   
    max-width: 100% !important;
    object-fit: contain !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); 
    margin: 0 auto !important; 
}

.barn2-document-library .doc-item .doc-title,
.barn2-document-library .dlp-grid-card-title {
    font-size: 15px !important;
    line-height: 1.4 !important;
    margin-bottom: 10px !important;
    width: 100% !important;
    text-align: center !important;
}

.barn2-document-library .doc-item .doc-link,
.dlp-grid-card-document-link-wrap {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: auto !important;
    text-align: center !important;
}

.dlp-grid-card-document-link-wrap a,
.document-library-pro-button,
.dlp-download-link {
    display: inline-flex !important;
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
    margin-bottom: 0 !important;
}

/* =========================================
   5. Search Box & Navigation Styling
   ========================================= */
.barn2-search-form-wrapper {
    text-align: center;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.barn2-search-form-wrapper input[type="search"] {
    width: 100%;
    padding: 15px 20px;
    font-size: 16px;
    border: 2px solid #e1e1e1;
    border-radius: 50px;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
}

.barn2-search-form-wrapper input[type="search"]:focus {
    border-color: #005696;
    background-color: #fff;
    outline: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.barn2-search-form-wrapper button[type="submit"] {
    display: none;
}

/* =========================================
   6. Product Type Badges
   ========================================= */
.mps-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.mps-badge-tank {
    background-color: #e3f2fd;
    color: #005696;
    border: 1px solid #005696;
}

.mps-badge-base {
    background-color: #fce4ec;
    color: #c2185b;
    border: 1px solid #c2185b;
}

/* =========================================
   8. Omega Tech Tables Styling
   ========================================= */
.mps-tech-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin-top: 0;
}

.mps-tech-table th {
    background-color: #051b2e;
    color: #ffffff;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    border: none !important;
}

.mps-tech-table td {
    border: none !important;
    padding: 10px 15px;
    color: #333;
}

.mps-tech-table tr:nth-child(even) {
    background-color: #f2f4f7;
}

.mps-tech-table tr:nth-child(odd) {
    background-color: #ffffff;
}

.mps-tech-table tr:hover {
    background-color: #e3f2fd;
}

.elementor-accordion .elementor-tab-content {
    padding: 0 !important;
    border-top: none !important;
}

/* =========================================
   9. Mobile Layout & Slider Fixes
   ========================================= */
@media only screen and (max-width: 767px) {
    .elementor-20 .elementor-element.elementor-element-9f69c6f {
        margin-top: 0px !important;
    }
    
    .elementor-section.has-slider,
    .elementor-column.has-slider {
        display: none !important;
    }
}

/* =========================================
   10. Apple Style Product Specs (WooCommerce)
   ========================================= */
ul.apple-specs {
    list-style: none !important;
    padding: 0 !important;
    margin: 10px 0 0 0 !important;
}

ul.apple-specs li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #86868b;
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 6px;
    line-height: 1.4;
}

ul.apple-specs li i {
    color: #1d1d1f;
    width: 20px;
    text-align: center;
}

ul.apple-specs li img.spec-icon {
    width: 16px;
    height: 16px;
    opacity: 0.8;
}

/* =========================================
   11. Stock Status Badges
   ========================================= */
@keyframes slow-flash {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(0.98); } 
    100% { opacity: 1; transform: scale(1); }
}

.elementor-widget-woocommerce-product-stock {
    height: 34px !important;          
    min-width: 110px !important;      
    border-radius: 50px !important;
    box-shadow: 0 3px 6px rgba(0,0,0,0.15) !important;
    padding: 0 !important;
    margin: 0 !important;
}

.elementor-widget-woocommerce-product-stock .elementor-widget-container {
    display: flex !important;
    align-items: center !important;     
    justify-content: center !important; 
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 13px !important;       
    font-weight: 800 !important;      
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    line-height: 1 !important;        
}

.elementor-widget-woocommerce-product-stock .elementor-widget-container * {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

.instock .elementor-widget-woocommerce-product-stock {
    background-color: #28a745 !important;  
    color: #ffffff !important;             
    border: 1px solid #28a745 !important;
    animation: slow-flash 2.5s infinite ease-in-out !important; 
}

.outofstock .elementor-widget-woocommerce-product-stock {
    background-color: #d93025 !important;  
    color: #ffffff !important;             
    border: 1px solid #d93025 !important;  
    opacity: 1 !important;                 
}

/* =========================================
   12. Image Carousel Fix (Height & Fit)
   ========================================= */
.elementor-widget-image-carousel .elementor-widget-container,
.elementor-widget-image-carousel .swiper-container {
    height: 300px !important; 
}

.elementor-widget-image-carousel .swiper-slide,
.elementor-widget-image-carousel img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important; 
}

.elementor-widget-image-carousel img {
    border-top-left-radius: 18px !important;
    border-top-right-radius: 18px !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    display: block !important;
}

/* =========================================
   13. DESKTOP HEADER SHRINK
   ========================================= */
/* Shrink Logo */
.pxl-header-elementor-main .pxl-logo img,
.pxl-header-elementor-sticky .pxl-logo img {
    max-height: 70px !important;
    width: auto !important;
}

/* Remove vertical space in the Top Row */
.elementor-element-385cbc0, 
.elementor-element-3c9f159 {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

/* Tighten Contact Info icons */
.pxl-icon-box .pxl-item--inner {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Shrink Menu Bar height */
.elementor-element-42ddd7c {
    min-height: 45px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Center menu links */
.pxl-nav-menu .pxl-menu-primary > li > a {
    line-height: 45px !important;
    height: 45px !important;
}

/* =========================================
   14. MENU LINE FIX (Darker Blue)
   ========================================= */
/* Remove line from full width */
.elementor-element-42ddd7c, 
.elementor-element-3f1e744 {
    border-top: none !important;
}

/* Add line specifically to Menu List with new blue color */
ul.pxl-menu-primary {
    border-top: 1px solid #203950;
    width: fit-content !important;
    padding-top: 10px !important;
    margin-top: 0 !important;
    display: block;
}

/* Ensure Call Now aligns */
.elementor-widget-pxl_menu {
    width: auto !important;
    flex-grow: 0 !important;
}

/* =========================================
   15. DROP-DOWN MENU SPACING FIX (TIGHTEST)
   ========================================= */
/* 1. Container adjustments */
.pxl-menu-primary .sub-menu, 
.pxl-menu-primary .children {
    min-width: 220px !important; /* Slightly narrower */
    padding: 5px 0 !important;   /* Minimal padding on top/bottom of the box */
}

/* 2. Remove default margins on list items */
.pxl-menu-primary .sub-menu li, 
.pxl-menu-primary .children li {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important; 
}

/* 3. Tighten the actual link padding */
.pxl-nav-menu .sub-menu li a {
    padding-top: 3px !important;    /* Reduced to 3px */
    padding-bottom: 3px !important; /* Reduced to 3px */
    line-height: 1.2px !important;  /* Keeps text from overlapping */
    min-height: 0 !important;
    display: block !important;
}

/* 4. Text adjustments */
.pxl-nav-menu .sub-menu li a .pxl-menu-item-text {
    font-size: 14px !important;
}

/* =========================================
   16. Contact Form & Review Buttons (FIXED)
   ========================================= */

/* 1. Shared Styles for Both Buttons */
button.wpcf7-submit,
button.glsr-button,
input.wpcf7-submit[type="submit"] {
    background-color: #09243C !important;
    color: #ffffff !important;
    
    /* Force Theme Font Styles */
    font-family: inherit !important; /* Forces theme font */
    font-weight: 700 !important;
    font-size: 15px !important;
    text-transform: none !important; /* Prevents plugin from forcing uppercase */
    letter-spacing: 0.5px;
    
    /* Layout */
    line-height: 1;
    padding: 18px 35px;
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    
    /* Glossy Effect & Borders */
    border: none !important;
    border-radius: 4px;
    cursor: pointer;
    background-image: linear-gradient(to bottom, rgba(255,255,255,0.15) 0%, rgba(0,0,0,0.05) 100%);
    box-shadow: 0 5px 15px rgba(9, 36, 60, 0.2);
    
    /* Animation Setup */
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

/* 2. Hover Effects */
button.wpcf7-submit:hover,
button.glsr-button:hover,
input.wpcf7-submit[type="submit"]:hover {
    background-color: #051626 !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(9, 36, 60, 0.3);
}

/* 3. Icon Handling - Contact Form (Existing Icon) */
button.wpcf7-submit i {
    transition: transform 0.3s ease;
    margin-left: 10px;
}

button.wpcf7-submit:hover i {
    transform: translateX(5px);
}

/* 4. Icon Handling - Site Reviews (Injected Icon) */
/* This forces the FontAwesome arrow to appear */
button.glsr-button::after {
    content: "\f061";  /* Make sure there is a backslash before f061 */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;  /* Required for solid icons */
    margin-left: 10px;
    transition: transform 0.3s ease;
    display: inline-block;
    text-decoration: none;
    font-style: normal;
    line-height: 1;
}

button.glsr-button:hover::after {
    transform: translateX(5px);
}

/* =========================================
   17. CookieYes Banner Custom Styling
   ========================================= */

/* 1. Main Banner Bar */
.cky-consent-bar {
    background-color: #051B2E !important; /* Secondary Navy */
    border-top: 5px solid #FFCC53 !important; /* Primary Yellow Accent Top */
    box-shadow: 0 -4px 10px rgba(0,0,0,0.1) !important;
}

/* 2. Text Content */
.cky-consent-bar .cky-notice-desc,
.cky-consent-bar .cky-title {
    color: #ffffff !important; /* White text for readability on Navy */
    font-family: inherit !important; /* Uses your website's font */
}

/* 3. "Accept All" Button */
button.cky-btn-accept {
    background-color: #FFCC53 !important; /* Primary Yellow */
    color: #051B2E !important; /* Navy Text */
    border-radius: 4px !important;
    border: 2px solid #FFCC53 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
    padding: 10px 20px !important;
}

button.cky-btn-accept:hover {
    background-color: #e6b800 !important; /* Darker Yellow on hover */
    color: #000000 !important;
}

/* 4. "Reject All" Button */
button.cky-btn-reject {
    background-color: transparent !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
}

button.cky-btn-reject:hover {
    background-color: #ffffff !important;
    color: #051B2E !important;
}

/* 5. "Customize" Link/Button */
button.cky-btn-customize {
    color: #FFCC53 !important; /* Yellow text */
    text-decoration: underline !important;
    background: transparent !important;
}

/* --- Preference Center (The Popup) --- */
.cky-preference-center {
    font-family: inherit !important;
}

/* Header of the Popup */
.cky-preference-header {
    background-color: #051B2E !important; /* Navy */
}

/* *** TEXT COLOR FIX HERE *** */
/* Forces the title to be white despite inline styles */
.cky-preference-header .cky-preference-title,
.cky-preference-title {
    color: #ffffff !important;
}

/* Toggles (Switches) */
.cky-switch input:checked + span {
    background-color: #FFCC53 !important; /* Yellow when active */
}

/* "Save My Preferences" Button */
.cky-btn-preferences {
    background-color: #09243C !important; /* Accent Blue */
    color: #ffffff !important;
    border-radius: 4px !important;
}

/* Revisit Consent Badge (Floating Button) */
.cky-revisit-bottom-left, .cky-revisit-bottom-right {
    background-color: #09243C !important; /* Accent Blue */
    border: 2px solid #FFCC53 !important; /* Yellow Border */
}

/* =========================================
   18. FIX: Non-Composited Animations (Lighthouse)
   ========================================= */
/* Replaces CPU-heavy 'left' property with GPU 'transform' for scrolling text */
.metro-bouncing-text, 
.bounce-horizontal {
    left: auto !important; 
    right: auto !important;
    margin-left: 0 !important;
    position: relative !important;
    will-change: transform; /* Hint for browser to use GPU */
    animation-name: mps-gpu-slide !important; /* Override theme animation */
    animation-duration: 20s !important; /* Adjust speed: Lower # = Faster */
    animation-timing-function: linear !important;
    animation-iteration-count: infinite !important;
    white-space: nowrap !important; /* Keep text on one line */
    width: auto !important;
    transform: translateZ(0); /* Force hardware acceleration */
}

/* Define the new GPU-friendly sliding animation */
@keyframes mps-gpu-slide {
    0% {
        transform: translateX(100%); /* Start from far right */
    }
    100% {
        transform: translateX(-100%); /* End at far left */
    }
}

/* =========================================
   19. FIX: Image Layout Shift (CLS)
   ========================================= */
/* Reserves space for images to prevent jumping while loading */
.pxl-item--image img {
    width: 100%;
    height: auto;
    aspect-ratio: 768 / 1024; /* Explicitly reserves vertical space */
    object-fit: cover;
}

/* Fixes unsized SVG jumping (Maple Leaf) */
.metro-leaf-img {
    width: 40px; 
    height: auto;
    display: inline-block;
}/* End custom CSS */