/* =========================================================
   SUMMIT DISTRIBUTION
   WooCommerce + Auto Parts Garage Theme
   MASTER STYLESHEET
========================================================= */

:root {
    --summit-blue: #24579a;
    --summit-blue-dark: #173b6b;
    --summit-charcoal: #333333;
    --summit-gray: #6b6b6b;
    --summit-light: #f5f6f8;
    --summit-border: #e3e5e8;
    --summit-white: #ffffff;
}


/* =========================================================
   GLOBAL
========================================================= */

body {
    color: var(--summit-charcoal);
    background: var(--summit-white);
    font-family: Arial, Helvetica, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--summit-charcoal);
    font-weight: 700;
}

a {
    color: var(--summit-blue);
}

a:hover {
    color: var(--summit-blue-dark);
}


/* =========================================================
   FORM FIELDS
========================================================= */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"],
input[type="number"],
select,
textarea {
    border: 1px solid var(--summit-border);
    border-radius: 4px;
    padding: 11px 12px;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--summit-blue);
    outline: none;
}


/* =========================================================
   GENERAL BUTTONS
========================================================= */

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
input[type="submit"] {
    background: var(--summit-blue) !important;
    color: var(--summit-white) !important;
    border-radius: 4px;
    border: none;
    font-weight: 700;
    padding: 12px 22px;
    transition: all 0.2s ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
input[type="submit"]:hover {
    background: var(--summit-blue-dark) !important;
    color: var(--summit-white) !important;
}


/* =========================================================
   AUTO PARTS GARAGE HEADER
========================================================= */

/* Categories outer box */
.home-page-header .search-cat-box .border-cat {
    background: var(--summit-blue) !important;
    border-color: var(--summit-blue) !important;
}

/* Categories button */
.home-page-header .search-cat-box button.product-btn {
    background: var(--summit-blue) !important;
    color: var(--summit-white) !important;
    border: none !important;
    box-shadow: none !important;
}

/* Categories icon + text */
.home-page-header .search-cat-box button.product-btn,
.home-page-header .search-cat-box button.product-btn * {
    color: var(--summit-white) !important;
}

/* Search submit button */
.home-page-header .main-pro-search button,
.home-page-header .main-pro-search input[type="submit"] {
    background: var(--summit-blue) !important;
    color: var(--summit-white) !important;
    border-color: var(--summit-blue) !important;
}

/* Navigation */
.main-navigation a {
    transition: color 0.2s ease, border-color 0.2s ease;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a,
.main-navigation .current-menu-ancestor > a {
    color: var(--summit-blue) !important;
    border-color: var(--summit-blue) !important;
}

/* Summit Distributions - Homepage Hero Size */
.home .wp-block-cover,
.home .hero-section {
    min-height: 420px !important;
    max-height: 420px !important;
}

.home .wp-block-cover img,
.home .hero-section img {
    object-fit: cover !important;
    object-position: center !important;
}

/* =========================================================
   CART COUNT BUBBLE
========================================================= */

.home-page-header .cartbox span.cart-value,
.cartbox span.cart-value,
.cart-count,
.cart-contents-count,
.header-cart-count,
[class*="cart-count"],
[class*="cart_count"] {
    background: var(--summit-blue) !important;
    color: var(--summit-white) !important;
    border-radius: 50% !important;
}


/* =========================================================
   HOMEPAGE CLEANUP
========================================================= */

/* Hide breadcrumb on homepage */
body.home .breadcrumbs {
    display: none !important;
}

/* Hide page title if theme outputs one */
body.home #maincontent h1:first-of-type,
body.home .entry-title,
body.home .page-title {
    display: none !important;
}

/* Reduce extra space above homepage */
body.home #maincontent,
body.home #maincontent .container,
body.home .site-content,
body.home .content-area,
body.home main,
body.home article,
body.home .entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Breadcrumb styling on other pages */
.breadcrumbs span,
.breadcrumbs a:hover {
    background: var(--summit-blue) !important;
    color: var(--summit-white) !important;
}


/* =========================================================
   WOOCOMMERCE PRODUCT CARDS
========================================================= */

.woocommerce ul.products li.product {
    background: var(--summit-white);
    border: 1px solid var(--summit-border);
    border-radius: 6px;
    padding: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: var(--summit-charcoal);
    font-size: 17px;
    font-weight: 700;
}

.woocommerce ul.products li.product .price {
    color: var(--summit-blue);
    font-size: 18px;
    font-weight: 700;
}


/* =========================================================
   PRODUCT PAGE
========================================================= */

.woocommerce span.onsale {
    background: var(--summit-blue) !important;
    color: var(--summit-white) !important;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: var(--summit-blue);
    font-weight: 700;
}


/* =========================================================
   CATEGORY CARDS
========================================================= */

.woocommerce ul.products li.product-category {
    background: var(--summit-white);
    border: 1px solid var(--summit-border);
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.woocommerce ul.products li.product-category:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.10);
}

.woocommerce ul.products li.product-category img {
    margin-bottom: 0 !important;
}

.woocommerce ul.products li.product-category h2 {
    padding: 18px 16px !important;
    margin: 0 !important;
    color: var(--summit-charcoal) !important;
    font-size: 17px !important;
    font-weight: 700 !important;
}

.woocommerce ul.products li.product-category:hover h2 {
    color: var(--summit-blue) !important;
}

.woocommerce ul.products li.product-category .count {
    display: none !important;
}


/* =========================================================
   WHY SHOP SUMMIT DISTRIBUTION
========================================================= */

.summit-benefits {
    margin-top: 55px;
    margin-bottom: 55px;
}

.summit-benefit-card {
    background: var(--summit-white);
    border: 1px solid var(--summit-border);
    border-top: 4px solid var(--summit-blue);
    border-radius: 6px;
    padding: 28px 24px;
    height: 100%;
    box-sizing: border-box;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.summit-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.10);
}

.summit-benefit-card h3 {
    color: var(--summit-blue);
    font-size: 20px;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.summit-benefit-card p {
    color: #555555;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 0;
}

.summit-benefits-title {
    color: var(--summit-charcoal);
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
}

.summit-benefits-subtitle {
    color: var(--summit-gray);
    font-size: 17px;
    margin-bottom: 30px;
}


/* =========================================================
   FOOTER
========================================================= */

#footer-2,
#footer-2 .copyright,
#footer-2 .copyright-container {
    background: var(--summit-blue) !important;
    color: var(--summit-white) !important;
}

#footer-2 p,
#footer-2 a {
    color: var(--summit-white) !important;
}


/* =========================================================
   BACK TO TOP BUTTON
========================================================= */

html body .scrollup i,
html body .scrollup .fas,
html body .scrollup .fa-long-arrow-alt-up {
    background: var(--summit-blue) !important;
    background-color: var(--summit-blue) !important;
    color: var(--summit-white) !important;
}

html body .scrollup:hover i,
html body .scrollup:hover .fas,
html body .scrollup:hover .fa-long-arrow-alt-up {
    background: var(--summit-blue-dark) !important;
    background-color: var(--summit-blue-dark) !important;
    color: var(--summit-white) !important;
}


/* =========================================================
   GENERAL UTILITY CLASSES
========================================================= */

.summit-light-section {
    background: var(--summit-light);
    padding: 60px 20px;
}

.summit-center {
    text-align: center;
}

.summit-section-title {
    font-size: 32px;
    margin-bottom: 12px;
}

.summit-section-subtitle {
    color: var(--summit-gray);
    font-size: 17px;
    margin-bottom: 35px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .summit-benefit-card {
        margin-bottom: 18px;
        padding: 24px 20px;
    }

    .summit-benefits-title {
        font-size: 27px;
    }

    .woocommerce ul.products li.product-category h2 {
        font-size: 15px !important;
        padding: 14px 10px !important;
    }
}


/* =========================================================
   HIDE DEFAULT THEME FOOTER WIDGETS
========================================================= */

#footer .widget_search,
#footer .widget_archive,
#footer .widget_meta,
#footer .widget_categories {
    display: none !important;
}


/* =========================================================
   REMOVE DEFAULT AUTO PARTS GARAGE FOOTER WIDGETS
========================================================= */

#footer .footer_hide {
    display: none !important;
}

#footer > .container {
    display: none !important;
}


/* =========================================================
   SHOW FOOTER WIDGET COLUMNS
========================================================= */

#footer .footer_hide,
footer .footer_hide {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Footer menu headings */
#footer .widget-title,
#footer h3 {
    display: block !important;
    color: #ffffff !important;
}

/* Footer navigation links */
#footer .menu,
#footer .widget_nav_menu,
#footer .widget_nav_menu ul {
    display: block !important;
}

#footer .widget_nav_menu a {
    color: #ffffff !important;
}


/* =========================================================
   SUMMIT CUSTOM FOOTER
========================================================= */

.summit-custom-footer {
    background: #111111;
    color: #ffffff;
    margin-top: 0;
}

.summit-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 30px 42px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.summit-custom-footer h3 {
    color: #ffffff !important;
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 18px;
    letter-spacing: 0.5px;
}

.summit-custom-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.summit-custom-footer li {
    margin: 0 0 10px;
}

.summit-custom-footer a {
    color: #d9d9d9 !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.summit-custom-footer a:hover {
    color: #ffffff !important;
}

.summit-footer-about p {
    color: #d9d9d9;
    line-height: 1.7;
    margin: 0;
    max-width: 340px;
}

.summit-footer-bottom {
    background: #24579a;
    color: #ffffff;
    text-align: center;
    padding: 16px 20px;
    font-size: 14px;
}

/* Hide the theme's original copyright footer */
#footer-2 {
    display: none !important;
}

@media (max-width: 768px) {

    .summit-footer-inner {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 38px 24px;
    }
}


/* =========================================================
   HOMEPAGE SECTION SPACING
========================================================= */

body.home .summit-benefits {
    margin-top: 35px !important;
    margin-bottom: 45px !important;
}

body.home .summit-benefits-title {
    margin-top: 0 !important;
}

/* Keep footer snug against final homepage section */
body.home .summit-custom-footer {
    margin-top: 0 !important;
}


/* =========================================================
   HEADER POSITIONING + HIDE CART COUNT
========================================================= */

/* Hide cart quantity bubble */
.home-page-header .cartbox span.cart-value,
.cartbox span.cart-value {
    display: none !important;
}

/* Shift Categories + Search group to the right */
.home-page-header .search-cat-box {
    margin-left: auto !important;
    max-width: 900px;
}

/* Give the search area more room */
.home-page-header .main-pro-search {
    flex: 1 1 auto !important;
}

/* Keep categories button compact */
.home-page-header .border-cat {
    flex: 0 0 auto !important;
}

/* Desktop spacing */
@media (min-width: 992px) {

    .home-page-header .middle-header .row {
        align-items: center !important;
    }

    .home-page-header .search-cat-box {
        transform: translateX(60px);
    }
}


/* =========================================================
   PRODUCT CATEGORY PAGES
   5 PRODUCTS PER ROW ON DESKTOP
========================================================= */

body.tax-product_cat ul.products {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 20px !important;
}

body.tax-product_cat ul.products li.product {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
    box-sizing: border-box !important;
}

/* Product images */
body.tax-product_cat ul.products li.product img {
    width: 100% !important;
    height: 210px !important;
    object-fit: contain !important;
}

/* Product titles */
body.tax-product_cat ul.products li.product .woocommerce-loop-product__title {
    font-size: 16px !important;
    line-height: 1.3 !important;
}


/* =========================================================
   PRODUCT GRID - TABLET
   4 PRODUCTS PER ROW
========================================================= */

@media (max-width: 1100px) {

    body.tax-product_cat ul.products {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}


/* =========================================================
   PRODUCT GRID - SMALL TABLET
   3 PRODUCTS PER ROW
========================================================= */

@media (max-width: 850px) {

    body.tax-product_cat ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}


/* =========================================================
   PRODUCT GRID - MOBILE
   2 PRODUCTS PER ROW
========================================================= */

@media (max-width: 600px) {

    body.tax-product_cat ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
    }

    body.tax-product_cat ul.products li.product img {
        height: 160px !important;
    }

    body.tax-product_cat ul.products li.product .woocommerce-loop-product__title {
        font-size: 14px !important;
    }
}
/* =========================================================
   FINAL FIX - FORCE 5 PRODUCTS ON ONE ROW
========================================================= */

@media (min-width: 1101px) {

    body.tax-product_cat ul.products {
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        grid-auto-flow: row !important;
        gap: 18px !important;
        width: 100% !important;
    }

    body.tax-product_cat ul.products li.product,
    body.tax-product_cat ul.products li.product:nth-child(n) {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        margin: 0 !important;
        float: none !important;
        clear: none !important;
        grid-column: auto !important;
        grid-row: auto !important;
    }

    body.tax-product_cat ul.products li.product:nth-child(3n+1),
    body.tax-product_cat ul.products li.product:nth-child(4n+1),
    body.tax-product_cat ul.products li.product:nth-child(5n+1) {
        clear: none !important;
    }

	/* =========================================================
   FIX INVISIBLE WOOCOMMERCE GRID ITEMS
========================================================= */

body.tax-product_cat ul.products::before,
body.tax-product_cat ul.products::after,
body.tax-product_cat .woocommerce ul.products::before,
body.tax-product_cat .woocommerce ul.products::after {
    display: none !important;
    content: none !important;
}
	.search-cat-box {
  position: relative;
  z-index: 1000;
}

.search-cat-box .product-cat {
  max-height: 70vh;
  overflow-y: auto;
}
}

/* Summit Distributions homepage: Modern Storefront */
body.home .top-bar { display: none; }
body.home .middle-header { padding: 12px 0; background: #fff; }
body.home .middle-header .custom-logo { max-height: 100px; width: auto; object-fit: contain; }
body.home .search-cat-box { position: relative; z-index: 1000; transform: none !important; }
body.home .search-cat-box .product-cat { z-index: 1001; max-height: 68vh; overflow-y: auto; }
body.home #header { background: #fff; border-top: 1px solid #e0e7ef; }
body.home #header .main-navigation a { color: #17314d; font-weight: 700; }
body.home #maincontent { padding-top: 0 !important; }
body.home #maincontent > .container { max-width: none; width: 100%; padding: 0; }
body.home #content-vw { margin: 0; }
body.home .breadcrumbs, body.home .vw-page-title, body.home #comments { display: none !important; }

.summit-v1, .summit-v1-section, .summit-v1-why { box-sizing: border-box; }
.summit-v1 *,.summit-v1-section *,.summit-v1-why * { box-sizing: border-box; }
.summit-v1-hero { position: relative; overflow: hidden; background: #172f48; color: #fff; }
.summit-v1-hero:after { content: ''; position: absolute; right: -12%; top: 4%; width: 56%; aspect-ratio: 1; background: #214b75; border-radius: 50%; opacity: .7; pointer-events: none; }
.summit-v1-hero-inner { position: relative; z-index: 1; max-width: 1290px; min-height: 470px; padding: 56px 28px; margin: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.summit-v1-eyebrow { display: block; color: #9dd1f3; font-size: 15px; font-weight: 800; letter-spacing: .055em; margin-bottom: 22px; }
.summit-v1-hero h1 { color: #fff; font-size: clamp(38px,4.2vw,63px); line-height: 1.16; margin: 0 0 22px; font-weight: 800; }
.summit-v1-hero-copy > p { color: #dceaf5; font-size: 20px; line-height: 1.55; max-width: 560px; margin: 0 0 30px; }
.summit-v1-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.summit-v1-button { display: inline-flex; min-height: 52px; padding: 13px 22px; align-items: center; justify-content: center; border-radius: 9px; font-weight: 800; font-size: 16px; text-decoration: none !important; }
.summit-v1-button-light { color: #172f48 !important; background: #fff; }
.summit-v1-button-outline { color: #fff !important; background: transparent; border: 1px solid #80b4de; }
.summit-v1-button:hover { opacity: .88; }
.summit-v1-hero-gallery { position: relative; min-height: 360px; }
.summit-v1-hero-card { position: absolute; display: flex; flex-direction: column; padding: 12px; border-radius: 17px; background: #fff; text-decoration: none !important; box-shadow: 0 12px 30px rgba(5,25,43,.18); }
.summit-v1-hero-card img { display: block; width: 100%; height: calc(100% - 34px); object-fit: contain; }
.summit-v1-hero-card span { color: #17314d; border-top: 1px solid #e2e9f0; font-size: 14px; font-weight: 800; padding: 8px 4px 0; }
.summit-v1-card-window { top: 0; left: 3%; width: 39%; height: 245px; }
.summit-v1-card-fender { top: 28px; right: 0; width: 45%; height: 260px; }
.summit-v1-card-light { bottom: 0; left: 22%; width: 43%; height: 132px; }
.summit-v1-trust { max-width: 1290px; margin: auto; padding: 27px 28px; display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.summit-v1-trust > div { display: flex; flex-direction: column; gap: 5px; padding-left: 19px; border-left: 3px solid #d7e9f8; }
.summit-v1-trust strong { color: #17314d; font-size: 17px; }
.summit-v1-trust span,.summit-v1-trust a { color: #607589; font-size: 15px; }

body.home .summit-v1-section { width: 100%; max-width: none; padding: 63px max(28px,calc((100vw - 1234px)/2)) 68px; }
body.home .summit-v1-categories { background: #f4f8fc; }
body.home .summit-v1-products { background: #fff; }
.summit-v1-section > h2 { color: #17314d; font-size: clamp(30px,3vw,39px); margin: 0 0 8px; }
.summit-v1-section > p { color: #607589; font-size: 17px; margin: 0 0 27px; }
.summit-v1-section ul.products { display: grid !important; gap: 22px; margin: 0 !important; padding: 0 !important; list-style: none; }
.summit-v1-section ul.products:before,.summit-v1-section ul.products:after { display: none !important; }
.summit-v1-categories ul.products { grid-template-columns: repeat(3,minmax(0,1fr)); }
.summit-v1-section ul.products li.product { float: none !important; width: auto !important; min-width: 0; margin: 0 !important; padding: 15px !important; border: 1px solid #dce6ef; border-radius: 14px; background: #fff; box-shadow: 0 8px 19px rgba(16,40,66,.04); }
.summit-v1-categories ul.products li.product-category a { display: flex; align-items: center; gap: 17px; min-height: 116px; text-decoration: none; }
.summit-v1-categories ul.products li.product-category img { width: 111px !important; height: 111px !important; flex: 0 0 111px; object-fit: contain; margin: 0 !important; padding: 6px; background: #f4f8fc; border-radius: 9px; }
.summit-v1-categories ul.products li.product-category h2 { color: #17314d; font-size: 18px !important; line-height: 1.3; padding: 0 !important; margin: 0 !important; text-align: left; }
.summit-v1-categories ul.products li.product-category .count { display: none; }
.summit-v1-view-all a { background: #25599a !important; color: #fff !important; border-radius: 9px !important; padding: 13px 26px !important; font-weight: 700; }
.summit-v1-categories .wp-block-buttons { margin-top: 30px; }
.summit-v1-products ul.products { grid-template-columns: repeat(4,minmax(0,1fr)); }
.summit-v1-products ul.products li.product { display: flex; flex-direction: column; text-align: left; }
.summit-v1-products ul.products li.product img { width: 100% !important; height: 210px !important; object-fit: contain; background: #f7f9fb; border-radius: 9px; margin: 0 0 17px !important; }
.summit-v1-products ul.products li.product h2 { color: #17314d; font-size: 17px !important; line-height: 1.35; min-height: 69px; }
.summit-v1-products ul.products li.product .price { color: #25599a !important; font-size: 21px !important; font-weight: 800; margin-top: auto; }
.summit-v1-products ul.products li.product .button { display: block; width: 100%; border-radius: 9px; background: #25599a; color: #fff; text-align: center; font-weight: 700; margin-top: 13px; }

.summit-v1-why { background: #eaf3fb; padding: 66px 28px 74px; }
.summit-v1-why-inner { max-width: 1234px; margin: auto; }
.summit-v1-why h2 { color: #17314d; font-size: clamp(30px,3vw,39px); margin: 0 0 7px; }
.summit-v1-why-intro { color: #607589; font-size: 17px; margin: 0 0 34px; }
.summit-v1-why-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 36px; }
.summit-v1-why-grid span { color: #25599a; font-weight: 800; }
.summit-v1-why-grid h3 { color: #17314d; font-size: 20px; margin: 10px 0; }
.summit-v1-why-grid p,.summit-v1-why-grid a { color: #5c7084; font-size: 16px; line-height: 1.6; }

@media (max-width: 960px) {
  .summit-v1-hero-inner { grid-template-columns: 1fr; padding: 52px 26px; }
  .summit-v1-hero-gallery { max-width: 600px; width: 100%; margin: 0 auto; }
  .summit-v1-categories ul.products,.summit-v1-products ul.products { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 620px) {
  body.home .middle-header .custom-logo { max-height: 78px; }
  .summit-v1-hero-inner { padding: 43px 20px 32px; }
  .summit-v1-hero h1 { font-size: 38px; }
  .summit-v1-hero-copy > p { font-size: 17px; }
  .summit-v1-hero-gallery { min-height: 255px; }
  .summit-v1-card-window { height: 175px; }
  .summit-v1-card-fender { height: 188px; }
  .summit-v1-card-light { height: 95px; }
  .summit-v1-hero-card span { font-size: 11px; }
  .summit-v1-trust { grid-template-columns: 1fr; gap: 17px; padding: 27px 22px; }
  body.home .summit-v1-section { padding: 47px 20px 55px; }
  .summit-v1-categories ul.products,.summit-v1-products ul.products { grid-template-columns: 1fr; }
  .summit-v1-products ul.products li.product img { height: 240px !important; }
  .summit-v1-why { padding: 49px 20px; }
  .summit-v1-why-grid { grid-template-columns: 1fr; gap: 18px; }
}

/* =========================================================
   FORM FIELDS
========================================================= */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"],
input[type="number"],
select,
textarea {
    border: 1px solid var(--summit-border);
    border-radius: 4px;
    padding: 11px 12px;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--summit-blue);
    outline: none;
}


/* =========================================================
   GENERAL BUTTONS
========================================================= */

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
input[type="submit"] {
    background: var(--summit-blue) !important;
    color: var(--summit-white) !important;
    border-radius: 4px;
    border: none;
    font-weight: 700;
    padding: 12px 22px;
    transition: all 0.2s ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
input[type="submit"]:hover {
    background: var(--summit-blue-dark) !important;
    color: var(--summit-white) !important;
}


/* =========================================================
   AUTO PARTS GARAGE HEADER
========================================================= */

/* Categories outer box */
.home-page-header .search-cat-box .border-cat {
    background: var(--summit-blue) !important;
    border-color: var(--summit-blue) !important;
}

/* Categories button */
.home-page-header .search-cat-box button.product-btn {
    background: var(--summit-blue) !important;
    color: var(--summit-white) !important;
    border: none !important;
    box-shadow: none !important;
}

/* Categories icon + text */
.home-page-header .search-cat-box button.product-btn,
.home-page-header .search-cat-box button.product-btn * {
    color: var(--summit-white) !important;
}

/* Search submit button */
.home-page-header .main-pro-search button,
.home-page-header .main-pro-search input[type="submit"] {
    background: var(--summit-blue) !important;
    color: var(--summit-white) !important;
    border-color: var(--summit-blue) !important;
}

/* Navigation */
.main-navigation a {
    transition: color 0.2s ease, border-color 0.2s ease;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a,
.main-navigation .current-menu-ancestor > a {
    color: var(--summit-blue) !important;
    border-color: var(--summit-blue) !important;
}


/* =========================================================
   CART COUNT BUBBLE
========================================================= */

.home-page-header .cartbox span.cart-value,
.cartbox span.cart-value,
.cart-count,
.cart-contents-count,
.header-cart-count,
[class*="cart-count"],
[class*="cart_count"] {
    background: var(--summit-blue) !important;
    color: var(--summit-white) !important;
    border-radius: 50% !important;
}


/* =========================================================
   HOMEPAGE CLEANUP
========================================================= */

/* Hide breadcrumb on homepage */
body.home .breadcrumbs {
    display: none !important;
}

/* Hide page title if theme outputs one */
body.home #maincontent h1:first-of-type,
body.home .entry-title,
body.home .page-title {
    display: none !important;
}

/* Reduce extra space above homepage */
body.home #maincontent,
body.home #maincontent .container,
body.home .site-content,
body.home .content-area,
body.home main,
body.home article,
body.home .entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Breadcrumb styling on other pages */
.breadcrumbs span,
.breadcrumbs a:hover {
    background: var(--summit-blue) !important;
    color: var(--summit-white) !important;
}


/* =========================================================
   WOOCOMMERCE PRODUCT CARDS
========================================================= */

.woocommerce ul.products li.product {
    background: var(--summit-white);
    border: 1px solid var(--summit-border);
    border-radius: 6px;
    padding: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: var(--summit-charcoal);
    font-size: 17px;
    font-weight: 700;
}

.woocommerce ul.products li.product .price {
    color: var(--summit-blue);
    font-size: 18px;
    font-weight: 700;
}


/* =========================================================
   PRODUCT PAGE
========================================================= */

.woocommerce span.onsale {
    background: var(--summit-blue) !important;
    color: var(--summit-white) !important;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: var(--summit-blue);
    font-weight: 700;
}


/* =========================================================
   CATEGORY CARDS
========================================================= */

.woocommerce ul.products li.product-category {
    background: var(--summit-white);
    border: 1px solid var(--summit-border);
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.woocommerce ul.products li.product-category:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.10);
}

.woocommerce ul.products li.product-category img {
    margin-bottom: 0 !important;
}

.woocommerce ul.products li.product-category h2 {
    padding: 18px 16px !important;
    margin: 0 !important;
    color: var(--summit-charcoal) !important;
    font-size: 17px !important;
    font-weight: 700 !important;
}

.woocommerce ul.products li.product-category:hover h2 {
    color: var(--summit-blue) !important;
}

.woocommerce ul.products li.product-category .count {
    display: none !important;
}


/* =========================================================
   WHY SHOP SUMMIT DISTRIBUTION
========================================================= */

.summit-benefits {
    margin-top: 55px;
    margin-bottom: 55px;
}

.summit-benefit-card {
    background: var(--summit-white);
    border: 1px solid var(--summit-border);
    border-top: 4px solid var(--summit-blue);
    border-radius: 6px;
    padding: 28px 24px;
    height: 100%;
    box-sizing: border-box;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.summit-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.10);
}

.summit-benefit-card h3 {
    color: var(--summit-blue);
    font-size: 20px;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.summit-benefit-card p {
    color: #555555;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 0;
}

.summit-benefits-title {
    color: var(--summit-charcoal);
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
}

.summit-benefits-subtitle {
    color: var(--summit-gray);
    font-size: 17px;
    margin-bottom: 30px;
}


/* =========================================================
   FOOTER
========================================================= */

#footer-2,
#footer-2 .copyright,
#footer-2 .copyright-container {
    background: var(--summit-blue) !important;
    color: var(--summit-white) !important;
}

#footer-2 p,
#footer-2 a {
    color: var(--summit-white) !important;
}


/* =========================================================
   BACK TO TOP BUTTON
========================================================= */

html body .scrollup i,
html body .scrollup .fas,
html body .scrollup .fa-long-arrow-alt-up {
    background: var(--summit-blue) !important;
    background-color: var(--summit-blue) !important;
    color: var(--summit-white) !important;
}

html body .scrollup:hover i,
html body .scrollup:hover .fas,
html body .scrollup:hover .fa-long-arrow-alt-up {
    background: var(--summit-blue-dark) !important;
    background-color: var(--summit-blue-dark) !important;
    color: var(--summit-white) !important;
}


/* =========================================================
   GENERAL UTILITY CLASSES
========================================================= */

.summit-light-section {
    background: var(--summit-light);
    padding: 60px 20px;
}

.summit-center {
    text-align: center;
}

.summit-section-title {
    font-size: 32px;
    margin-bottom: 12px;
}

.summit-section-subtitle {
    color: var(--summit-gray);
    font-size: 17px;
    margin-bottom: 35px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .summit-benefit-card {
        margin-bottom: 18px;
        padding: 24px 20px;
    }

    .summit-benefits-title {
        font-size: 27px;
    }

    .woocommerce ul.products li.product-category h2 {
        font-size: 15px !important;
        padding: 14px 10px !important;
    }
}


/* =========================================================
   HIDE DEFAULT THEME FOOTER WIDGETS
========================================================= */

#footer .widget_search,
#footer .widget_archive,
#footer .widget_meta,
#footer .widget_categories {
    display: none !important;
}


/* =========================================================
   REMOVE DEFAULT AUTO PARTS GARAGE FOOTER WIDGETS
========================================================= */

#footer .footer_hide {
    display: none !important;
}

#footer > .container {
    display: none !important;
}


/* =========================================================
   SHOW FOOTER WIDGET COLUMNS
========================================================= */

#footer .footer_hide,
footer .footer_hide {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Footer menu headings */
#footer .widget-title,
#footer h3 {
    display: block !important;
    color: #ffffff !important;
}

/* Footer navigation links */
#footer .menu,
#footer .widget_nav_menu,
#footer .widget_nav_menu ul {
    display: block !important;
}

#footer .widget_nav_menu a {
    color: #ffffff !important;
}


/* =========================================================
   SUMMIT CUSTOM FOOTER
========================================================= */

.summit-custom-footer {
    background: #111111;
    color: #ffffff;
    margin-top: 0;
}

.summit-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 30px 42px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.summit-custom-footer h3 {
    color: #ffffff !important;
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 18px;
    letter-spacing: 0.5px;
}

.summit-custom-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.summit-custom-footer li {
    margin: 0 0 10px;
}

.summit-custom-footer a {
    color: #d9d9d9 !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.summit-custom-footer a:hover {
    color: #ffffff !important;
}

.summit-footer-about p {
    color: #d9d9d9;
    line-height: 1.7;
    margin: 0;
    max-width: 340px;
}

.summit-footer-bottom {
    background: #24579a;
    color: #ffffff;
    text-align: center;
    padding: 16px 20px;
    font-size: 14px;
}

/* Hide the theme's original copyright footer */
#footer-2 {
    display: none !important;
}

@media (max-width: 768px) {

    .summit-footer-inner {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 38px 24px;
    }
}


/* =========================================================
   HOMEPAGE SECTION SPACING
========================================================= */

body.home .summit-benefits {
    margin-top: 35px !important;
    margin-bottom: 45px !important;
}

body.home .summit-benefits-title {
    margin-top: 0 !important;
}

/* Keep footer snug against final homepage section */
body.home .summit-custom-footer {
    margin-top: 0 !important;
}


/* =========================================================
   HEADER POSITIONING + HIDE CART COUNT
========================================================= */

/* Hide cart quantity bubble */
.home-page-header .cartbox span.cart-value,
.cartbox span.cart-value {
    display: none !important;
}

/* Shift Categories + Search group to the right */
.home-page-header .search-cat-box {
    margin-left: auto !important;
    max-width: 900px;
}

/* Give the search area more room */
.home-page-header .main-pro-search {
    flex: 1 1 auto !important;
}

/* Keep categories button compact */
.home-page-header .border-cat {
    flex: 0 0 auto !important;
}

/* Desktop spacing */
@media (min-width: 992px) {

    .home-page-header .middle-header .row {
        align-items: center !important;
    }

    .home-page-header .search-cat-box {
        transform: translateX(60px);
    }
}


/* =========================================================
   PRODUCT CATEGORY PAGES
   5 PRODUCTS PER ROW ON DESKTOP
========================================================= */

body.tax-product_cat ul.products {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 20px !important;
}

body.tax-product_cat ul.products li.product {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
    box-sizing: border-box !important;
}

/* Product images */
body.tax-product_cat ul.products li.product img {
    width: 100% !important;
    height: 210px !important;
    object-fit: contain !important;
}

/* Product titles */
body.tax-product_cat ul.products li.product .woocommerce-loop-product__title {
    font-size: 16px !important;
    line-height: 1.3 !important;
}


/* =========================================================
   PRODUCT GRID - TABLET
   4 PRODUCTS PER ROW
========================================================= */

@media (max-width: 1100px) {

    body.tax-product_cat ul.products {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}


/* =========================================================
   PRODUCT GRID - SMALL TABLET
   3 PRODUCTS PER ROW
========================================================= */

@media (max-width: 850px) {

    body.tax-product_cat ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}


/* =========================================================
   PRODUCT GRID - MOBILE
   2 PRODUCTS PER ROW
========================================================= */

@media (max-width: 600px) {

    body.tax-product_cat ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
    }

    body.tax-product_cat ul.products li.product img {
        height: 160px !important;
    }

    body.tax-product_cat ul.products li.product .woocommerce-loop-product__title {
        font-size: 14px !important;
    }
}
/* =========================================================
   FINAL FIX - FORCE 5 PRODUCTS ON ONE ROW
========================================================= */

@media (min-width: 1101px) {

    body.tax-product_cat ul.products {
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        grid-auto-flow: row !important;
        gap: 18px !important;
        width: 100% !important;
    }

    body.tax-product_cat ul.products li.product,
    body.tax-product_cat ul.products li.product:nth-child(n) {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        margin: 0 !important;
        float: none !important;
        clear: none !important;
        grid-column: auto !important;
        grid-row: auto !important;
    }

    body.tax-product_cat ul.products li.product:nth-child(3n+1),
    body.tax-product_cat ul.products li.product:nth-child(4n+1),
    body.tax-product_cat ul.products li.product:nth-child(5n+1) {
        clear: none !important;
    }

	/* =========================================================
   FIX INVISIBLE WOOCOMMERCE GRID ITEMS
========================================================= */

body.tax-product_cat ul.products::before,
body.tax-product_cat ul.products::after,
body.tax-product_cat .woocommerce ul.products::before,
body.tax-product_cat .woocommerce ul.products::after {
    display: none !important;
    content: none !important;
}
	.search-cat-box {
  position: relative;
  z-index: 1000;
}

.search-cat-box .product-cat {
  max-height: 70vh;
  overflow-y: auto;
}
}

/* Homepage display corrections */
body.home .summit-v1-hero h1 { display: block !important; }
body.home .search-cat-box button[type="submit"] { text-indent: 0 !important; width: 76px; font-size: 14px; }

/* Keep the new hero title visible above the theme page-title rule */
body.home #maincontent .summit-v1-hero h1:first-of-type { display: block !important; }
body.home .search-cat-box button.product-btn, body.home .search-cat-box button[type="submit"] { white-space: nowrap; }


/* Summit Distributions — Bold Industrial homepage, September 2026 */
body.home { --summit-night:#0b2035; --summit-navy:#102b45; --summit-blue:#1268c5; }
body.home .top-bar { display:none!important; }
body.home .middle-header { background:var(--summit-night)!important; padding:10px 0!important; }
body.home .middle-header .custom-logo { max-height:88px!important; width:auto; object-fit:contain; }
body.home .middle-header .search-cat-box { position:relative; z-index:1001; width:100%; transform:none!important; background:transparent; border:0; }
body.home .middle-header .search-cat-box > .row { display:flex; align-items:center; flex-wrap:nowrap; gap:16px; }
body.home .middle-header .search-cat-box .border-cat { flex:0 0 auto; width:auto; order:2; padding:0!important; border:0!important; background:transparent!important; }
body.home .middle-header .search-cat-box .product-btn { display:inline-flex; gap:8px; align-items:center; min-height:42px; padding:8px 12px; background:transparent!important; color:#fff!important; font-weight:800; border:0; white-space:nowrap; }
body.home .middle-header .search-cat-box .product-cat { background:#fff; color:#172f48; z-index:1100; max-height:68vh; overflow-y:auto; min-width:215px; }
body.home .middle-header .main-pro-search { flex:1 1 0; width:auto; min-width:140px; order:1; padding:0!important; }
body.home .middle-header .woocommerce-product-search { display:flex; align-items:stretch; width:100%; min-height:44px; }
body.home .middle-header .woocommerce-product-search input[type="search"] { flex:1 1 auto; min-width:0; width:auto; border-radius:6px 0 0 6px; background:#fff; color:#172f48; padding:8px 13px; }
body.home .middle-header .woocommerce-product-search button { position:static!important; flex:0 0 auto; width:auto!important; min-width:66px; height:auto; margin:0!important; padding:8px 13px!important; border-radius:0 6px 6px 0; background:var(--summit-blue)!important; color:#fff!important; font-size:14px!important; text-indent:0!important; white-space:nowrap; }
body.home .middle-header .cartbox a,body.home .middle-header .cartbox i { color:#fff!important; }
body.home #header { background:var(--summit-night)!important; border-top:1px solid rgba(255,255,255,.16)!important; }
body.home #header .main-navigation a { color:#fff!important; font-weight:800; }
body.home #header .main-navigation a:hover { color:#8cc8ff!important; }
body.home #maincontent { padding:0!important; }
body.home #maincontent > .container { width:100%; max-width:none; padding:0; }
body.home #content-vw { margin:0; padding:0; }
body.home .breadcrumbs,body.home .vw-page-title,body.home #comments,body.home #maincontent + footer { display:none!important; }
body.home footer[role="contentinfo"] { display:none!important; }

.summit-v2,.summit-v2 *,.summit-v2-section,.summit-v2-section *,.summit-v2-contact,.summit-v2-contact *,.summit-v2-footer,.summit-v2-footer * { box-sizing:border-box; }
.summit-v2-hero { position:relative; height:clamp(500px,42vw,625px); overflow:hidden; background:#101b25; }
.summit-v2-hero-image { display:block; width:100%; height:100%; object-fit:cover; object-position:center center; }
.summit-v2-mobile-copy { display:none; }
.summit-v2-hero-cta { position:absolute; left:max(4%,calc((100vw - 1280px)/2)); top:69%; display:inline-flex; align-items:center; gap:18px; padding:15px 24px; border-radius:5px; background:#1268c5; color:#fff!important; font-size:17px; font-weight:900; text-transform:uppercase; letter-spacing:.03em; text-decoration:none!important; box-shadow:0 7px 18px rgba(0,0,0,.22); }
.summit-v2-hero-cta:hover { background:#2583e5; color:#fff!important; }
.summit-v2-benefits { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:0; padding:20px max(3%,calc((100vw - 1290px)/2)); background:#081b2d; color:#fff; }
.summit-v2-benefits > div { display:grid; grid-template-columns:42px 1fr; grid-template-rows:auto auto; column-gap:12px; align-items:center; min-width:0; padding:0 13px; border-right:1px solid #2a689c; }
.summit-v2-benefits > div:last-child { border:0; }
.summit-v2-benefits span { grid-row:1/3; font-size:34px; font-weight:400; line-height:1; color:#fff; }
.summit-v2-benefits strong { font-size:15px; text-transform:uppercase; font-weight:850; white-space:nowrap; }
.summit-v2-benefits small { color:#d6e2ee; font-size:13px; }

body.home .summit-v2-section { width:100%; max-width:none; padding:42px max(26px,calc((100vw - 1290px)/2)) 44px; }
.summit-v2-section .summit-v2-kicker { color:#1262b4; font-size:14px; font-weight:900; letter-spacing:.1em; text-transform:uppercase; margin:0 0 4px; }
.summit-v2-section > h2 { color:#102b45; font-family:Impact,'Arial Narrow',Arial,sans-serif; font-stretch:condensed; text-transform:uppercase; font-size:clamp(31px,3.4vw,49px); line-height:1.05; letter-spacing:.015em; margin:0 0 12px; }
.summit-v2-section > p:not(.summit-v2-kicker) { color:#63758a; font-size:16px; margin:0 0 25px; }
.summit-v2-section ul.products { display:grid!important; margin:0!important; padding:0!important; gap:12px!important; list-style:none; }
.summit-v2-section ul.products:before,.summit-v2-section ul.products:after { display:none!important; }
.summit-v2-section ul.products li.product { float:none!important; clear:none!important; width:auto!important; max-width:none!important; margin:0!important; min-width:0; }
.summit-v2-categories { background:#f4f8fc; }
.summit-v2-categories ul.products { grid-template-columns:repeat(6,minmax(0,1fr)); }
.summit-v2-categories li.product-category { position:relative; overflow:hidden; min-height:210px; border-radius:5px; background:#1c354d; }
.summit-v2-categories li.product-category a { display:block; position:relative; height:100%; min-height:210px; text-decoration:none!important; }
.summit-v2-categories li.product-category a:after { content:''; position:absolute; inset:45% 0 0; background:linear-gradient(transparent,rgba(4,24,42,.95)); pointer-events:none; }
.summit-v2-categories li.product-category img { display:block; width:100%!important; height:210px!important; object-fit:cover!important; margin:0!important; background:#d8e1e9; }
.summit-v2-categories li.product-category h2 { position:absolute; bottom:8px; left:10px; right:10px; z-index:1; color:#fff!important; text-align:left; font-size:15px!important; font-weight:850; line-height:1.15; text-transform:uppercase; padding:0!important; margin:0!important; text-shadow:0 1px 3px #000; }
.summit-v2-categories li.product-category .count { display:none!important; }
.summit-v2-section-link { margin-top:20px; text-align:right; }
.summit-v2-section-link a { color:#0c5eb3; font-size:15px; font-weight:800; text-decoration:underline; }
.summit-v2-products { background:#fff; }
.summit-v2-products ul.products { grid-template-columns:repeat(4,minmax(0,1fr)); }
.summit-v2-products li.product { display:flex; flex-direction:column; padding:14px!important; border:1px solid #d7e2ed; border-radius:6px; background:#fff; box-shadow:0 7px 16px rgba(10,30,50,.04); }
.summit-v2-products li.product img { display:block; width:100%!important; height:195px!important; object-fit:contain; background:#f9fafc; margin:0 0 15px!important; }
.summit-v2-products li.product h2 { min-height:65px; color:#162c42; font-size:17px!important; line-height:1.3; text-align:left; }
.summit-v2-products li.product .price { color:#0f5db3!important; font-size:20px!important; font-weight:850; margin-top:auto; }
.summit-v2-products li.product .button { display:block; width:100%; margin-top:12px; padding:11px!important; border-radius:5px; background:#ed5b20!important; color:#fff!important; font-weight:800; text-align:center; }

.summit-v2-contact { display:grid; grid-template-columns:78px 290px minmax(0,1fr) 200px; gap:24px; align-items:center; max-width:1290px; margin:8px auto 14px; padding:24px 30px; border-radius:11px; background:#e7f2ff; color:#113759; }
.summit-v2-contact-icon { display:flex; align-items:center; justify-content:center; height:70px; width:70px; border-radius:50%; background:#1a558f; color:#fff; font-size:41px; }
.summit-v2-contact-phone span { display:block; font-size:20px; font-weight:800; }
.summit-v2-contact-phone a { display:block; color:#123251!important; text-decoration:none!important; font-size:clamp(25px,2.4vw,34px); font-weight:900; white-space:nowrap; }
.summit-v2-contact-copy { border-left:1px solid #b2cbe3; padding-left:30px; }
.summit-v2-contact-copy strong { color:#103454; font-size:19px; }
.summit-v2-contact-copy p { color:#436280; margin:3px 0 0; line-height:1.45; }
.summit-v2-contact-motto { font-family:Georgia,serif; font-size:27px; font-style:italic; font-weight:700; text-align:center; transform:rotate(-7deg); }
.summit-v2-footer { background:#0b2946; color:#e7eef6; padding:35px max(28px,calc((100vw - 1290px)/2)) 0; }
.summit-v2-footer-grid { display:grid; grid-template-columns:1.1fr .8fr 1.1fr 1.5fr 1fr; gap:25px; align-items:start; }
.summit-v2-footer-brand img { display:block; max-width:180px; width:100%; filter:brightness(0) invert(1); }
.summit-v2-footer h2 { color:#fff; margin:0 0 12px; font-size:14px; text-transform:uppercase; letter-spacing:.06em; }
.summit-v2-footer p { margin:0 0 8px; color:#d8e6f2; font-size:14px; line-height:1.5; }
.summit-v2-footer a { display:block; margin:0 0 7px; color:#e7eef6!important; text-decoration:none!important; font-size:14px; line-height:1.35; overflow-wrap:anywhere; }
.summit-v2-footer a:hover { text-decoration:underline!important; }
.summit-v2-footer-tagline { color:#fff; font-family:Georgia,serif; font-size:24px; font-style:italic; line-height:1.15; transform:rotate(-7deg); padding-left:22px; border-left:1px solid #3a6590; }
.summit-v2-copyright { margin-top:30px; padding:14px 0; border-top:1px solid #315473; color:#adc1d3; font-size:12px; text-align:center; }

@media (max-width:1100px) {
  .summit-v2-categories ul.products { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .summit-v2-contact { grid-template-columns:70px 1fr 1.4fr; margin:10px 20px; }
  .summit-v2-contact-motto { display:none; }
  .summit-v2-footer-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .summit-v2-footer-tagline { display:none; }
}
@media (max-width:760px) {
  body.home .middle-header .search-cat-box > .row { flex-wrap:wrap; }
  body.home .middle-header .search-cat-box .main-pro-search { order:2; flex-basis:100%; }
  body.home .middle-header .search-cat-box .border-cat { order:1; }
  .summit-v2-hero { height:440px; }
  .summit-v2-hero-image { object-position:75% center; filter:brightness(.48); }
  .summit-v2-mobile-copy { display:block; position:absolute; top:40px; left:24px; right:24px; color:#fff; }
  .summit-v2-mobile-copy h1 { display:block!important; max-width:520px; margin:0 0 15px; color:#fff; font-family:Impact,'Arial Narrow',Arial,sans-serif; font-size:clamp(42px,8vw,70px); line-height:1.03; text-transform:uppercase; }
  .summit-v2-mobile-copy p { max-width:460px; margin:0; color:#f1f6fc; font-size:17px; }
  .summit-v2-hero-cta { top:auto; bottom:22px; left:24px; font-size:14px; padding:12px 15px; }
  .summit-v2-benefits { grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px 0; }
  .summit-v2-benefits strong { white-space:normal; }
  .summit-v2-categories ul.products { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .summit-v2-products ul.products { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .summit-v2-contact { grid-template-columns:65px 1fr; gap:12px; padding:22px; }
  .summit-v2-contact-copy { grid-column:1/-1; border:0; padding:0; }
  .summit-v2-footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:500px) {
  .summit-v2-hero { height:430px; }
  .summit-v2-mobile-copy { top:34px; }
  .summit-v2-mobile-copy h1 { font-size:43px; }
  .summit-v2-benefits { padding:18px 12px; gap:13px 0; }
  .summit-v2-benefits > div { grid-template-columns:28px 1fr; padding:0 6px; column-gap:7px; }
  .summit-v2-benefits span { font-size:23px; }
  .summit-v2-benefits strong { font-size:12px; }
  .summit-v2-benefits small { font-size:11px; }
  body.home .summit-v2-section { padding:36px 18px; }
  .summit-v2-categories ul.products { gap:10px!important; }
  .summit-v2-categories li.product-category,.summit-v2-categories li.product-category a { min-height:150px; }
  .summit-v2-categories li.product-category img { height:150px!important; }
  .summit-v2-categories li.product-category h2 { font-size:12px!important; }
  .summit-v2-products ul.products { grid-template-columns:1fr; }
  .summit-v2-contact-phone a { font-size:22px; }
  .summit-v2-footer { padding:32px 20px 0; }
  .summit-v2-footer-grid { grid-template-columns:1fr 1fr; gap:20px; }
  .summit-v2-footer-brand { grid-column:1/-1; }
  .summit-v2-footer-grid > div:nth-child(4) { grid-column:1/-1; }
}

/* Final contrast and WordPress group wrapper adjustments */
body.home .middle-header img.custom-logo { filter:brightness(0) invert(1); }
body.home .summit-v2-section h2.wp-block-heading { color:#102b45; font-family:Impact,'Arial Narrow',Arial,sans-serif!important; font-size:clamp(31px,3.4vw,49px)!important; line-height:1.05; text-transform:uppercase; letter-spacing:.015em; margin:0 0 13px; }
body.home .summit-v2-categories ul.products li.product-category { padding:0!important; border:0!important; box-shadow:none!important; }
body.home .summit-v2-categories ul.products li.product-category h2.woocommerce-loop-category__title { color:#fff!important; }

body.home .summit-custom-footer,body.home .edit-link { display:none!important; }

/* Summit Distributions — Bold Industrial WooCommerce product pages, September 2026 */
body.single-product { --summit-night:#0b2035; --summit-navy:#102b45; --summit-blue:#1268c5; color:#24364a; background:#f4f7fb; }
body.single-product .top-bar { display:none!important; }
body.single-product .middle-header { background:var(--summit-night)!important; padding:10px 0!important; }
body.single-product .middle-header .custom-logo { max-height:88px!important; width:auto; object-fit:contain; filter:brightness(0) invert(1); }
body.single-product .middle-header .search-cat-box { position:relative; z-index:1001; width:100%; transform:none!important; background:transparent; border:0; }
body.single-product .middle-header .search-cat-box > .row { display:flex; align-items:center; flex-wrap:nowrap; gap:16px; }
body.single-product .middle-header .search-cat-box .border-cat { flex:0 0 auto; width:auto; order:2; padding:0!important; border:0!important; background:transparent!important; }
body.single-product .middle-header .search-cat-box .product-btn { display:inline-flex; gap:8px; align-items:center; min-height:42px; padding:8px 12px; background:transparent!important; color:#fff!important; font-weight:800; border:0; white-space:nowrap; }
body.single-product .middle-header .search-cat-box .product-cat { background:#fff; color:#172f48; z-index:1100; max-height:68vh; overflow-y:auto; min-width:215px; }
body.single-product .middle-header .main-pro-search { flex:1 1 0; width:auto; min-width:140px; order:1; padding:0!important; }
body.single-product .middle-header .woocommerce-product-search { display:flex; align-items:stretch; width:100%; min-height:44px; }
body.single-product .middle-header .woocommerce-product-search input[type="search"] { flex:1 1 auto; min-width:0; width:auto; border-radius:6px 0 0 6px; background:#fff; color:#172f48; padding:8px 13px; }
body.single-product .middle-header .woocommerce-product-search button { position:static!important; flex:0 0 auto; width:auto!important; min-width:66px; height:auto; margin:0!important; padding:8px 13px!important; border-radius:0 6px 6px 0; background:var(--summit-blue)!important; color:#fff!important; font-size:14px!important; text-indent:0!important; white-space:nowrap; }
body.single-product .middle-header .cartbox a,body.single-product .middle-header .cartbox i { color:#fff!important; }
body.single-product #header { background:var(--summit-night)!important; border-top:1px solid rgba(255,255,255,.16)!important; }
body.single-product #header .main-navigation a { color:#fff!important; font-weight:800; }
body.single-product #header .main-navigation a:hover { color:#8cc8ff!important; }

body.single-product #maincontent { background:#f4f7fb; padding-bottom:52px; }
body.single-product #maincontent > .container { width:calc(100% - 40px); max-width:1320px; }
body.single-product #maincontent .middle-align { padding-top:32px!important; }
body.single-product .woocommerce-breadcrumb { font-size:13px; font-weight:650; color:#687a8b; margin-bottom:26px!important; }
body.single-product .woocommerce-breadcrumb a { color:#1268c5; text-decoration:none; }
body.single-product .woocommerce-breadcrumb a:hover { text-decoration:underline; }

body.single-product div.product .woocommerce-product-gallery { width:49%!important; margin-bottom:40px!important; padding:24px; border:1px solid #dce5ee; border-radius:8px; background:#fff; box-shadow:0 10px 28px rgba(11,32,53,.05); }
body.single-product div.product .woocommerce-product-gallery .flex-viewport { border-radius:4px; }
body.single-product div.product .woocommerce-product-gallery img { object-fit:contain; }
body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs { display:flex; gap:10px; margin-top:16px!important; }
body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li { width:calc(25% - 8px)!important; float:none!important; border:1px solid #dce5ee; border-radius:5px; overflow:hidden; }
body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li:hover,body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li:has(img.flex-active) { border-color:#1268c5; }
body.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger { top:35px; right:35px; z-index:2; }

body.single-product div.product .summary { width:47%!important; margin-bottom:38px!important; padding:28px 30px 26px; border:1px solid #dce5ee; border-top:5px solid #1268c5; border-radius:8px; background:#fff; box-shadow:0 10px 28px rgba(11,32,53,.06); }
body.single-product div.product .summary h1.product_title { margin:0 0 14px!important; color:#102b45!important; font-family:Impact,'Arial Narrow',Arial,sans-serif!important; font-size:clamp(30px,3vw,42px)!important; line-height:1.12; letter-spacing:.01em; text-transform:uppercase; }
body.single-product div.product .summary > p.price,body.single-product div.product .summary .woocommerce-variation-price .price { margin:0 0 16px!important; color:#1268c5!important; font-size:31px!important; font-weight:850!important; }
body.single-product div.product .summary .price * { color:#1268c5!important; }
body.single-product div.product .woocommerce-product-details__short-description { color:#4a5b6c; font-size:15px; line-height:1.65; }
body.single-product div.product .woocommerce-product-details__short-description p { margin-bottom:18px; }
body.single-product div.product .summary .stock { display:inline-flex; align-items:center; gap:7px; margin:0 0 18px!important; padding:6px 10px; background:#eaf5ed; border-radius:3px; color:#20693a!important; font-size:13px; font-weight:800; }
body.single-product div.product .summary .stock:before { content:'●'; font-size:10px; }
body.single-product div.product .summary .stock.out-of-stock { background:#fff0ed; color:#a53627!important; }
body.single-product div.product .summary form.cart { display:flex; flex-wrap:wrap; align-items:stretch; gap:10px; margin:0 0 20px!important; padding:17px 0 20px; border-top:1px solid #e1e8f0; border-bottom:1px solid #e1e8f0; }
body.single-product div.product .summary form.cart .quantity { margin:0!important; float:none!important; }
body.single-product div.product .summary form.cart input.qty { width:76px!important; min-height:50px; border:1px solid #aebdca; border-radius:4px; color:#102b45; font-size:17px; font-weight:700; }
body.single-product div.product .summary form.cart button.single_add_to_cart_button { flex:1 1 220px; min-height:50px; margin:0!important; padding:11px 20px!important; border:0!important; border-radius:4px!important; background:#1268c5!important; color:#fff!important; font-size:16px!important; font-weight:850!important; text-transform:uppercase; letter-spacing:.03em; box-shadow:none; }
body.single-product div.product .summary form.cart button.single_add_to_cart_button:hover { background:#0c4e96!important; }
body.single-product div.product .summary form.cart .variations { width:100%; }
body.single-product div.product .summary form.cart .single_variation_wrap { width:100%; }
body.single-product div.product .summary form.cart .woocommerce-variation-add-to-cart { display:flex; gap:10px; align-items:center; }
body.single-product div.product .summary .wcpay-express-checkout-wrapper { margin:2px 0 20px; }
body.single-product div.product .summary .product_meta { padding-top:17px; border-top:1px solid #e1e8f0; color:#617185; font-size:13px; line-height:1.75; }
body.single-product div.product .summary .product_meta a { color:#145fa8; text-decoration:none; }

body.single-product div.product .woocommerce-tabs { clear:both; margin:10px 0 48px; padding:0 28px 28px; border:1px solid #dce5ee; border-radius:8px; background:#fff; }
body.single-product div.product .woocommerce-tabs ul.tabs { display:flex; flex-wrap:wrap; gap:0; margin:0 0 26px!important; padding:0!important; border-bottom:1px solid #dce5ee; }
body.single-product div.product .woocommerce-tabs ul.tabs:before,body.single-product div.product .woocommerce-tabs ul.tabs li:before,body.single-product div.product .woocommerce-tabs ul.tabs li:after { display:none!important; }
body.single-product div.product .woocommerce-tabs ul.tabs li { margin:0!important; padding:0!important; border:0!important; border-radius:0!important; background:transparent!important; }
body.single-product div.product .woocommerce-tabs ul.tabs li a { display:block; padding:17px 19px!important; color:#526579!important; font-size:14px; font-weight:800; }
body.single-product div.product .woocommerce-tabs ul.tabs li.active a { color:#1268c5!important; box-shadow:inset 0 -3px #1268c5; }
body.single-product div.product .woocommerce-tabs .panel { color:#45586b; line-height:1.7; }
body.single-product div.product .woocommerce-tabs .panel h2,body.single-product div.product .woocommerce-tabs .panel h3 { color:#102b45; }
body.single-product .related.products > h2,body.single-product .upsells.products > h2 { color:#102b45; font-family:Impact,'Arial Narrow',Arial,sans-serif; font-size:clamp(30px,3vw,42px); text-transform:uppercase; margin:0 0 25px; }
body.single-product .related.products ul.products li.product,body.single-product .upsells.products ul.products li.product { padding:14px!important; border:1px solid #dce5ee; border-radius:7px; background:#fff; box-shadow:0 5px 18px rgba(11,32,53,.04); }
body.single-product .related.products ul.products li.product img { border-radius:3px; }
body.single-product .related.products ul.products li.product h2 { color:#102b45!important; font-size:17px!important; line-height:1.35; }
body.single-product .related.products ul.products li.product .button { border-radius:4px!important; background:#1268c5!important; color:#fff!important; font-weight:800; }
body.single-product footer[role="contentinfo"] { display:none!important; }
body.single-product .summit-custom-footer { background:#081b2d; color:#e8f0f8; }
body.single-product .summit-custom-footer h3 { color:#fff; }
body.single-product .summit-custom-footer a { color:#d5e8fb; }
body.single-product .summit-custom-footer a:hover { color:#fff; }

@media (max-width:900px) {
  body.single-product div.product .woocommerce-product-gallery,body.single-product div.product .summary { width:100%!important; float:none!important; }
  body.single-product .middle-header .search-cat-box > .row { flex-wrap:wrap; }
  body.single-product .middle-header .search-cat-box .main-pro-search { order:2; flex-basis:100%; }
  body.single-product .middle-header .search-cat-box .border-cat { order:1; }
}
@media (max-width:600px) {
  body.single-product #maincontent > .container { width:calc(100% - 24px); }
  body.single-product #maincontent .middle-align { padding-top:20px!important; }
  body.single-product div.product .woocommerce-product-gallery { padding:12px; margin-bottom:18px!important; }
  body.single-product div.product .summary { padding:22px 18px; }
  body.single-product div.product .summary h1.product_title { font-size:32px!important; }
  body.single-product div.product .woocommerce-tabs { padding:0 15px 18px; }
  body.single-product div.product .woocommerce-tabs ul.tabs li a { padding:13px 10px!important; font-size:12px; }
}

/* Product purchase panel refinements */
body.single-product div.product .summary .price bdi { font-size:31px!important; font-weight:850!important; line-height:1.2; }
body.single-product div.product .woocommerce-product-details__short-description p { display:-webkit-box; -webkit-line-clamp:4; -webkit-box-orient:vertical; overflow:hidden; margin-bottom:18px; }
body.single-product div.product .summary .product_meta .tagged_as { display:none; }

/* Summit Distributions - Reduce Homepage Hero Height */
.home .wp-block-cover {
    min-height: 430px !important;
    height: 430px !important;
}

/* Keep hero background/image cropped correctly */
.home .wp-block-cover__image-background,
.home .wp-block-cover img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
}

/* Tablet */
@media (max-width: 1024px) {
    .home .wp-block-cover {
        min-height: 340px !important;
        height: 340px !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .home .wp-block-cover {
        min-height: 260px !important;
        height: 260px !important;
    }
}