/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/



body { overflow-x: hidden; }

ul {
    list-style: square;
}

.fa, .fas {
    padding-right: 5px;
}

.site-branding-container .site-logo {
	margin-right: 1.7em;
}

.site-description {
	padding: 0 5px;
	color: #000;
}

.site-branding {
	border-top: 2px solid #000;
	border-bottom: 2px solid #000;
}

.site-logo {
    min-width: 130px;
}

.site-header .header-image {
    width: 130px;
}

.top-bar {
    margin-bottom: 1rem;
}

.header-widget {
    width: 100%;
    margin-left: 4rem;
}

.widget-area .widget {
    padding: 30px 30px 0 30px;
}

.main-navigation, .main-navigation ul ul {
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
}

.line {
  flex: 1; /* Makes the lines grow to fill available space */
  height: 1px;
  background-color: black; /* Your line color */
}

.footer-contact {
    background: #007CB5;
}

.footer-contact .footer-widgets-container {
    padding: 40px 40px 20px;
}

.site-footer {
	margin-top: 5rem;
}

.below-footer-notice-wrapper {
    background: #0071A5;
    padding: 40px;
}

.below-footer-notice {
    color: #eee;
    max-width: 1440px;
    margin: 0 auto;
}


ul.foot-links a {
	text-decoration: none;
}

ul.foot-links a:hover,
ul.foot-links a:focus {
	text-decoration: underline;
	color: #7FADDC;
}


.footnote {
	color: #fff;
	font-size: 0.6rem;
}


.foot-tagline-txt p {
	margin-bottom: 0;
}


.foot-block {
	color: #fff;
	text-decoration: none;
}

.foot-block:hover, .foot-block:focus {
	color: #7FADDC;
}

.foot-block:hover .foot-icon svg,
.foot-block:focus .foot-icon svg {
	stroke: #7FADDC;
	animation: bounce 1s ease-in-out;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0); /* Start and end at original position */
  }
  40% {
    transform: translateY(-10px); /* Move up 20px (peak of the bounce) */
  }
  60% {
    transform: translateY(-5px); /* Fall slightly, then rise again */
  }
}

.foot-logo {
	max-width: 150px;
}

/*.is-left-sidebar {
    width: 25%;
}

.archive .site-content .content-area {
	width: 75%;
}
*/

.foot-cat-btn .gb-shape svg {
	height: 30px !important;
	width: 30px !important;
}


.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
	z-index: 98;
}

.post-type-archive-product .is-left-sidebar {
    width: 0;
    display: none;
}

.post-type-archive-product .site-content .content-area {
    width: 100%;
}

#wcf_filter_group-3 {
    padding-top: 0 !important;
}

#wcf_filter_group-3 .wcf-filter .wcf-filter-filterbycategories {
    margin-top: 1rem !important;
}

.rt-r-jc-end {
	justify-content: flex-start !important;
}

.rt-Flex.rt-r-ai-center.rt-r-jc-space-between.rt-r-w.wcf-active-filters-container {
	flex-wrap: wrap !important;
}


.has-inline-mobile-toggle #site-navigation {
	flex-basis: auto;
}

.home .site-main {
	margin-top: 0;
}

.home .inside-article {
	padding: 0 30px 30px;
}

.vertmenu-Heading {
    position: relative;
    color: #fff;
    display: flex;
    min-height: 40px;
    align-items: center;
    font-size: 1.2rem;
    text-transform: uppercase;
    font-weight: 500;
    padding-left: 6px;
}

.vertmenu-Heading:before {
	font-size: 24px;
    color: #ddd;
    margin: 0 5px 0 0;
	content: "\f333";
	font-weight: 400;
 	font-family: "dashicons";
}


h4.mega-block-title {
	letter-spacing: 0.05rem;
	font-size: 1rem;
	font-weight: 500;
}

.menu-spacer {
	padding: 14px 0;
}


.wcf-filter-dropdown .wcf-filter-title {
	display: none;
}

.wcf-filter-checkboxes .wcf-filter-title {
	display: block;
}

body.admin-bar .posts-table-controls .select2-container {
    z-index: 97 !important;
}

.wcf-filter-group h3.rt-Heading {
	font-size: 1rem;

}

.rt-r-gap-5 {
 gap: 10px !important;
}

.wcf-filter.wcf-filter-productseries, .wcf-filter.wcf-filter-p_category {
	margin: 0 0 1.5rem;
}


button.rt-SelectTrigger {
	height: 33px !important;
}

span.rt-SelectTriggerInner {
	font-size: 0.8rem !important;
}

.wcf-filter-group h2.widget-title {
	margin-bottom: 0.5rem;
	font-size: 1.15rem;
}

.rt-CheckboxGroupRoot.wcf-checkbox-group {
	gap: 0.5rem !important;
}



.tab-buttons {
    gap: 1rem;
    justify-content: flex-end;
}

.tab-button {
	cursor: pointer;
}

    .tab-content {
        display: none;
    }

    .tab-content.active {
        display: block;
    }

    .tab-button.active {
        background-color: #000 !important;
        color: #fff !important;
    }


    @media (max-width: 730px) {

        .tab-buttons {
            flex-direction: column;
        }

        .tab-buttons>div {
            width: 100%;
        }

        .tab-buttons a {
            width: 100%;
        }

    }


    @media (max-width: 1024px) {

        .rep-forms .tab-buttons {
            flex-direction: column;
            border-bottom: 0px;
            gap: 1rem;
        }

        .rep-forms .tab-buttons>div {
            width: 100%;
        }

        .rep-forms .tab-buttons a {
            width: 100%;
        }

    }

    /* Vertical  */

    .tab-vertical {
        display: grid;
        grid-template-columns: 150px auto;
        gap: 20px;
    }

    .tab-vertical .tab-buttons {
        height: 200px;
    }

    .tab-vertical .tab-buttons * {
        width: 100%;
    }

    .tab-vertical .tab-content {
        margin: 0 !important;
    }

    .tab-vertical .tab-content-group {
        margin-block-start: 0 !important;
    }

    @media (max-width: 600px) {

        .tab-vertical {
            grid-template-columns: 1fr;
        }
    }



a.banner-wrapper, a.splash-bkg  {
	text-decoration: none;
	color: #000;
}



.woocommerce div.product .product_title, .woocommerce-products-header__title {
    color: #000;
    text-transform: uppercase;
}

.woocommerce-product-details__short-description ul {
    line-height: 1.7;
}

   ul.products {
      display: flex;
      flex-wrap: wrap; 
   }
 
   ul.products li.product .dial-product-wrapper {
      display: flex;
      height: 100%;
      flex-direction: column;
   }
 
 .woocommerce ul.products li.product a.woocommerce-loop-product__link {
 	margin-top: auto;
 }


 .wc-block-product-template__responsive {
 	grid-gap: 0.5em;
 }

/*ul.products.columns-3, ul.products.columns-4, ul.products.columns-5 {
	margin: 0;
	display: flex;
	flex-flow: row wrap;
}*/

.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
	margin: 0 0.5em 0.5em 0;
	width: 24.02%;
}



.dial-category-wrapper, .dial-product-wrapper {
	border-width: 1px;
	border-style: solid;
	border-color: #eee;
}

/*.dial-product-wrapper:hover img {
	transform: scale(1.1);
	transition: scale 0.5s ease-out;
}
*/

.dial-product-wrapper img,
.dial-category-wrapper img {
	padding: 20px;
}

ul.products {
    margin-left: 0;
    list-style: none;
}

.woocommerce ul.products li.product a img {
	margin-bottom: 0;
}

.woocommerce ul.products li.product .woocommerce-loop-category__title {
	background: #000000;
	color: #fff;
	text-align: center;
    margin-bottom: 0;
}

.woocommerce ul.products li.product .woocommerce-loop-category__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	padding: 10px;
	font-weight: 500;
	font-size: 0.85rem;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	color: #000;
}


/* Ensure product container is relative */
.woocommerce ul.products li.product {
    position: relative;
}

/* Only show hover image for AC Disconnects */
.woocommerce ul.products li.product .ac-disconnect-hover .hover-gallery-image {
    position: absolute;
    top: 0;
    left: 0;
/*    width: 100%;
    height: 100%;*/
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 1;
}

/* Show hover image on hover */
.woocommerce ul.products li.product:hover .ac-disconnect-hover .hover-gallery-image {
    opacity: 1;
}

.product-badge {
	white-space: pre-line;
	font-size: 0.8rem;
    position: absolute;
    top: 10px;
    right: 0px; /* Adjust position as needed */
    background: #000; /* Customize colors */
    color: white;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 1px;
    z-index: 10; /* Ensures the badge is on top of other elements */
}

.product-badge p {
	margin: 0;
}


.product-note {
	font-size: 0.7rem;
    margin-top: 2rem;
}

.product-sku {
	background: #469ECB;
	margin-top: auto;
    color: #fff;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 5px 10px;
    letter-spacing: -0.3px;
}

.product-model {
    padding: 5px 10px;
    letter-spacing: -0.3px;
    font-size: 0.8rem;
}

.product .type-product .product_meta {
	display: flex;
	flex-direction: column;
	gap: 0.3em;
}

.product_meta .sku_wrapper {
	font-weight: 500;
	font-size: 1.1em;
	margin-bottom: 0.6em;
}




.main {
    min-width: 0;
}

/* wrapper */
.gb-cat-scroll-wrapper {
    position: relative;
    overflow: hidden;
}

/* track */
.gb-cat-grid {
    display: flex;
    transition: transform 0.4s ease;
    will-change: transform;
}

/* page = 8 items */
.gb-cat-page {
    flex: 0 0 100%;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 16px;
}

/* mobile = 2x2 per page */
@media (max-width: 768px) {
    .gb-cat-page {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* cards */

.gb-cat-item {
    text-align: center;
    border: 1px solid #f0f0f0;
}

.gb-cat-item a {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: #000;
    text-decoration: none;
}

.gb-cat-item h3 {
	font-size: 0.8rem;
	margin: 0;
	text-transform: uppercase;
}

.gb-cat-item img {
    height: auto;
    max-width: 150px;
    display: block;
    padding: 15px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
}

.gb-cat-title {
    margin-top: auto;
    padding: 5px 10px;
	background: #f0f0f0;
}

/* arrows */
.gb-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;

    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;

    background: rgba(0,0,0,0.6);
    color: #fff;
    cursor: pointer;
    padding: 0;
}

.gb-scroll-btn.prev { left: 8px; }
.gb-scroll-btn.next { right: 8px; }

/* dots */
.gb-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.gb-slider-dots button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: #ccc;
    cursor: pointer;
    padding: 0;
}

.gb-slider-dots button.active {
    background: #000;
}





.scriptlesssocialsharing__buttons {
	display: flex;
    gap: 0.5em;
    flex-wrap: wrap;
}

h3.scriptlesssocialsharing__heading {
	font-size: 0.9rem;
	margin-top: 2rem;
	font-weight: 400;
}

.scriptlesssocialsharing__buttons a.button {
	border-radius: 0;
	color: #000;
	background: rgba(0, 0, 0, .055);
}

.scriptlesssocialsharing__buttons a.button:hover,
.scriptlesssocialsharing__buttons a.button:focus {
	border-radius: 0;
	color: #fff;
	background: #000;
}


.woocommerce div.product .product_title,
.woocommerce-products-header__title {
	font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.features-container {
    display: grid;
    /* Creates two columns of equal width (1fr) on a large screen */
    grid-template-columns: 1fr 3fr;
    gap: 1rem; /* Adds space between columns */
}


.column-item.specs {
	padding: 20px 30px;
	background: #000;
	color: #fff;
}

ul.item-specs {
	list-style: none;
	margin: 0;
}

ul.item-specs li {
	line-height: 2;
	font-size: 0.85rem;
	font-weight: 700;
	padding: 0 10px;
    border-bottom: 1px solid;
}

ul.item-specs li:last-child {
	border-bottom: none;
}


.column-item.features {
	padding: 20px 20px 0;
}

ul.item-features li {
	line-height: 1.7;
	font-size: 0.85rem;
}

ul.ms-features li h3 {
    margin-bottom: 0;
    font-weight: 500;
}

ul.ms-features li p {
    margin-bottom: 7px;
}


.woocommerce div.product .woocommerce-tabs ul.tabs li {
	text-transform: uppercase;
	color: #000;
	font-weight: 700;
	background-color: #fff;
	padding: 0.4em 1.5em;
	border-radius: 1px 1px 0 0;
	border: 1px solid #cfc8d8;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	color: #000;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
	color: var(--accent);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a:hover {
	color: var(--base);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
	color: #fff;
	border: 1px solid #cfc8d8;
	background-color: #000;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
	height: 0;
	width: 0;
}

.woocommerce table.shop_attributes {
	border-top: 1px dotted rgba(0, 0, 0, .5)
}

.woocommerce table.shop_attributes th {
	text-transform: uppercase;
	width: 25%;
    font-weight: 500;
}


.woocommerce table.shop_attributes td, .woocommerce table.shop_attributes th {
	border-bottom: 1px dotted rgba(0, 0, 0, .5);
	text-align: left;
    font-size: 0.85rem;
}

.woocommerce table.shop_attributes td {
	font-style: normal;
}

.woocommerce table.shop_attributes tr:nth-child(even) td, .woocommerce table.shop_attributes tr:nth-child(even) th {
    background: rgba(0, 0, 0, .055);
}

.woocommerce table.shop_attributes td.woocommerce-product-attributes-item__value {
	padding: 0 25px;
}

.upsells {
	margin-top: 5rem;
}

.upsells h2 {
	font-size: 1.4rem;
	text-transform: uppercase;
	font-weight: 700;
}

.upsells h2.woocommerce-loop-product__title {
	font-size: 0.9rem;
	font-weight: 400;
}


.mtrTbl {
  text-transform: uppercase;
  border-spacing: 0;
}

.crossRef-dial {
  font-weight: 700;
}

.crossRef {
  width: 30%;
}


.mtrTbl th, .mtrTbl td {
border-bottom: 1px dotted rgba(0, 0, 0, .5);
 text-align: left;
    padding: 8px;
  line-height: 1.2;
}

.mtrTbl td {
    border: 1px solid rgba(0, 0, 0, .1);
}

.mtrTbl tr:nth-child(even) td, .mtrTbl tr:nth-child(even) th {
  background: rgba(0, 0, 0, .055);
}


.product-series {
	padding: 5px;
    margin-bottom: 1rem;
    background: #000;
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 0.7rem;
    width: 155px;
    text-align: center;
}


.pro-product-series {
	padding: 5px;
    margin-bottom: 1rem;
    background: var(--base);
    color: #000;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 0.7rem;
    width: 155px;
    text-align: center;
}



.product-type-grouped .sku_wrapper {
	opacity: 0.6;
}

.grouped-card {
    border: 1px solid #eee;
    border-radius: 3px;
    background: #fff;
    margin-bottom: 5px;
}

/* 2-column layout */
.grouped-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* SKU (left column) */
.grouped-sku {
    width: 95px;
    flex-shrink: 0;
    font-size: 0.8rem;
    background: #eee;
    padding: 5px;
    font-weight: 600;
    line-height: 1;
}

/* Title (right column fills space) */
.grouped-title {
    flex: 1;
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1;
}

/* Mobile stacking */
@media (max-width: 768px) {
    .grouped-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .grouped-sku {
        width: auto;
    }
}



.wp-block-details {
    margin-bottom: 15px;
}


ul.home-product {
	margin-left: 0;
}

.home-product li h2 {
	margin-bottom: 0;
}

.home-product li a {
	color: #000;
}

.home-product li {
	background: #fff;
	border: 1px solid #000;
	box-sizing: border-box;
	flex-direction: column;
	display: flex;
}


.home-product img {
		padding: 15px 15px 0px;
}

.home-product h2.wp-block-post-title {
	padding: 0 10px;
	text-align: left;
	text-transform: uppercase;
}

.item_meta {
	padding: 5px 10px;
	background: #000;
	color: #fff;
	margin-top: auto;
}


.home-product li:hover .home-product-img img {
	transform: scale(1.05);
	transition: scale 0.5s ease-out;
}



.banner-wrapper:is(:hover,:focus) img {
    transform: translate3d(-5px, 0px, 0px) scale(1.01);
    transition: transform 0.5s ease-in-out 0s;
}

.banner-bg ul {
	margin: 0 0 2em;
	list-style: none;
}


.error404 .site-content .content-area {
	width: 100%;

}

.custom-404-message p {
	font-size: 0.8rem;
}








@media only screen and (max-width: 1084px) {
	.vertmenu-Heading {
		display: none;
	}
	
	.slide-block {
		margin-left: 0px !important;
	}

	.home-cat-splash {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.home-main {
		grid-template-columns: 2fr !important;

	}

    .features-container {
        /* Changes to a single column layout */
        grid-template-columns: 1fr 2fr;
    }

}


@media only screen and (max-width: 1024px) {

    .woocommerce ul.products[class*=columns-] li.product, .woocommerce-page ul.products[class*=columns-] li.product {
        width: 31.5%;
        float: left;
        clear: both;
        margin: 0 0.5em 0.5em 0;
    }

  }

@media only screen and (max-width: 994px) {

    .menu-toggle {
        display: none !important;
    }


    .about-wrapper {
        grid-template-columns: 1fr !important;
        row-gap: 2rem;
    }

    .about-img {
        order: 1;
    }

    .about-txt {
        order: 2;
    }

}

@media only screen and (max-width: 900px) {

.header-wrapper {
    display: flex;
    flex-direction: column-reverse;
    }

    .main-navigation .inside-navigation {
        justify-content: end;
    }

    .main-navigation, .main-navigation ul ul {
        border: 0;
    }
}


@media only screen and (max-width: 845px) {

    .woocommerce ul.products[class*=columns-] li.product, .woocommerce-page ul.products[class*=columns-] li.product {
        width: 48%;
        float: left;
        clear: both;
        margin: 0 0.5em 0.5em 0;
    }

    .crossRef {
  		width: 50%;
	}

    .tax-product_cat .site-content .content-area, 
    .site-content, .content-area, .is-left-sidebar, .is-right-sidebar {
		width: 100%;
	}

	.is-left-sidebar.sidebar, .is-right-sidebar.sidebar {
        order: 1;
    }

    .site-content {
        flex-direction: column;
    }

    .container .site-content .content-area {
        order: 2;
    }

    .home-cat-splash {
		grid-template-columns: 1fr !important;
	}

	.banner-bg {
		max-width: 480px !important;
	}


	.gb-cat-item img {
    	max-width: 100%;
	}

    .header-widget {
        width: 100%;
    }

}


@media only screen and (max-width: 768px) {


	.home-space {
		height: 8rem;
	}


	.Catbar-btn {
		display: none !important;
	}

	.homeSplash {
		margin-left: 0 !important;
	}

	    .features-container {
        /* Changes to a single column layout */
        grid-template-columns: 1fr;
    }

    .gb-cat-item img {
    	max-width: 75%;
	}

	.gb-cat-grid {
    	grid-template-columns: repeat(2, 1fr);
	}

    .inside-footer-widgets {
        flex-wrap: wrap;
        flex-direction: row;
    }

    .inside-footer-widgets > div {
        flex: 0 0 50%;
        max-width: 50%;
        box-sizing: border-box;
    }


/*    .woocommerce ul.products[class*=columns-] li.product, .woocommerce-page ul.products[class*=columns-] li.product {
    	margin: 0 0.5em 0.5em 0;
    }*/

/*    .woocommerce ul.products li.product, .woocommerce-page ul.products li.product,
    .woocommerce ul.products li.product.first, .woocommerce-page ul.products li.product.first,
    .woocommerce ul.products li.product.first:nth-child(8n+5), .woocommerce-page ul.products li.product.first:nth-child(8n+5) {
    	border-width: 1px;
    }*/
}


@media only screen and (max-width: 767px) {


	.tax-product_cat .inside-left-sidebar,
	.tax-product_tag .inside-left-sidebar{
		display: none;
	}

	.home-full-block {
		grid-column: span 1 !important;
	}

	#wcf-mobile-drawer.wcf-group {
		margin: 2em 0;
	}

}

@media only screen and (max-width: 685px) {
    .footer-contact {
        flex-direction: column;
        align-items: start !important;
        row-gap: 1.5rem;
    }

}

@media only screen and (max-width: 600px) {

    .head-search {
        flex-direction: column-reverse;
        gap: 1rem;
    }

    .slide-heading {
        top: 5vh !important;
        left: 0 !important;
    }

        .inside-footer-widgets {
            flex-direction: column;
    }

    .inside-footer-widgets > div {
        flex: 1 1 0;
        max-width: 100%;
    }

    .inside-footer-widgets>div:not(:last-child) {
        margin-bottom: 20px;
    }


}


@media only screen and (max-width: 580px) {

	.splash-overlay {
		min-height: 240px !important;
	}

	.splash-txt {
		max-width: 220px !important;
	}

}

@media only screen and (max-width: 525px) {

	.site-branding-container .site-logo {
		margin-right: 0;
	}

	.site-branding-container {
		/*flex-direction: column;*/
		gap: 1rem;
	}

}


@media only screen and (max-width: 500px) {
	.site-branding {
		display: none;

	}

	.site-branding-container .site-logo {
		margin-right: 1.7rem;
	}

    .footer-contact-section {
        flex-direction: column;
        row-gap: 1.5rem;
        align-items: start !important;
    }


}

@media only screen and (max-width: 425px) {

    .woocommerce ul.products[class*=columns-] li.product, .woocommerce-page ul.products[class*=columns-] li.product {
        width: 100%;
        float: none;
        clear: both;
        margin: 0 0.5em 0.5em 0;
    }

    .slide-pec-img-sm {
        bottom: -30px !important;
    }

    .slide-pec-img-lg {
        bottom: -40px !important;
    }


    .slide-heading-lg {
        font-size: 1.5rem !important;
    }
   }