/* 
 Theme Name:     OTSTR
 Author:         On The Spot
 Author URI:     https://www.sambafoot.fr/
 Template:       Divi
 Version:        Version 1.0
 Description:   A Child Theme built using the elegantmarketplace.com Child theme maker
Developed by Andrew Palmer for Elegant Marketplace www.elegantmarketplace.com Free to use and duplicate as many times as you like
 Wordpress Version: 5.4.4
*/


/* ----------- PUT YOUR CUSTOM CSS BELOW THIS LINE -- DO NOT EDIT ABOVE THIS LINE --------------------------- */

/* ---- GLOBAL STYLES ---- */
:root {
	--primary: #990304;
	--secondary: #be161d; 
	--brightred: #ed1c24;
	--darkgray: #707070;
	--lightgray: #EAEAEA;
	--black: #141414;
}

/* ---- DESKTOP HEADER & NAVIGATION ---- */
#main-header {
	position: fixed !important;
	top: 0;
	width: 100%;
	z-index: 999;
}

#header-top-container {
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
	padding: 20px 30px;
	max-width: 1200px;
    margin: auto;
}

.header-logo-container {
	display: flex;
	align-items: center;
}

.header-logo-container img {
	height: auto;
	width: 194px;
}

/* ---- TOPBAR NAVIGATION ---- */
#topbar-navigation nav,
#topbar-navigation ul {
	display: flex;
	flex-wrap: nowrap;
	justify-content: flex-end;
	align-items: center;
}

#topbar-navigation a {
	transition: 0.3s color ease-in-out;
	font-size: 20px;
}

#topbar-navigation li {
	padding: 0 20px;
}

#topbar-navigation a:hover {
	color: var(--secondary);
}

#topbar-navigation li:last-of-type a:hover {
	color: #fff;
	background-color: var(--secondary);
}

#topbar-navigation li:first-of-type a {
	font-weight: 700;
}

#topbar-navigation li:last-of-type a {
	color: #ffffff;
	text-transform: uppercase;
	background-color: var(--primary);
	border-radius: 30px;
	padding: 5px 10px;
	margin-right: 10px;
	transition: 0.3s all ease-in-out;
}

#topbar-navigation li:last-of-type a:hover {
	background-color: var(--secondary);
}

.et-cart-info {
	color: #000 !important;
}

/* ---- UTILITY CLASSES ---- */
.mrgn-bttm-0 {
	margin-bottom: 0 !important;
}
.mrgn-lft-neg-10 {
	margin-left: -10px !important;
}

@media(max-width: 980px) {
	.mbl-row-col-rvrs {
	  display: flex;
    flex-direction: column-reverse;
		
 }
	.mbl-row-col-rvrs .et_pb_column:last-child {
		margin-bottom: 30px !important;
	}
	

.mbl-row-col-rvrs .mbl-img-cntr {
  display: flex;
	justify-content: center;
  margin: 0 auto; 
}
	
}


/* ---- MAIN MENU ---- */
#main-navigation {
	background-color: #000;
}

#main-navigation nav {
	display: flex;
	align-items: center;
	justify-content: center;
}

#main-navigation ul {
	display: flex;
	flex-wrap: nowrap;
}

#main-navigation li {
	padding: 10px 0;
}

#main-navigation a {
	font-size: 16px;
	color: #ffffff;
	padding: 0 20px;
	text-transform: uppercase;
	transition: 0.3s color ease-in-out;
}

#main-navigation a:hover {
	color: var(--lightgray);
}


/* ---- MOBILE MENU ---- */
.mobile-menu-toggle {
	display: none;
	flex-direction: column;
	cursor: pointer;
	padding: 10px;
}

.mobile-menu-toggle span {
	background-color: #000;
	height: 8px;
	margin: 4px 0;
	width: 60px;
	border-radius: 5px;
}

.mobile-menu {
	display: none;
}


/* ---- MOBILE HEADER ADJUSTMENTS ---- */
@media(max-width: 600px) {
	#header-top-container {
		padding: 0 15px;
	}
		#topbar-navigation li {
		padding: 10px;
	}
		#topbar-navigation a {
		font-size: 1.1rem;
	}
	.mobile-menu-toggle {
    padding: 0;
}
	.mobile-menu-toggle span {
		height: 6px;
    margin: 3px 0;
    width: 40px;
	}
}
@media(max-width: 1281px) and (min-width: 600px) {
			.et_header_style_split #main-header {
		padding: 0;
	}
}
@media(max-width: 1312px) {
	#main-navigation a {
		padding: 0 15px;
	}
}

/* Media query for mobile screens */
@media (max-width: 981px) {
	#page-container {
		padding-top: 137px;
	}

	#main-header,
	#main-header .nav li ul,
	.et-search-form,
	#main-header .et_mobile_menu {
		background-color: #ffffff !important;
	}

	.header-logo-container {
		height: initial;
		width: initial;
		max-width: 35%;
	}

	#topbar-navigation {
		flex-grow: 1;
	}

	#topbar-navigation li:last-of-type {
		display: none;
	}

	#topbar-navigation a {
		font-size: 1.5rem;
	}

	.mobile-menu-toggle {
		display: flex;
	}

	#main-navigation {
		display: none;
	}

	.menu-cart-icon {
		display: none;
	}

	.mobile-menu.open {
		display: flex !important;
		flex-direction: column;
		font-size: 20px;
		position: relative;
		bottom: 0;
		font-size: 20px;
	}

	.mobile-menu nav {
		display: flex;
		flex-direction: column;
		background-color: #fff;
	}

	.mobile-menu .menu {
		padding: 40px;
	}

	.mobile-menu li {
		padding-bottom: 20px;
	}

	.mobile-menu li:last-of-type {
		padding-bottom: 0;
	}

	.mobile-menu a {
		text-transform: uppercase;
		color: #000;
		text-decoration: none;
	}

	.mobile-menu a:hover,
	.mobile-menu a:focus {
		color: var(--primary);
	}
	.mobile-menu-footer {
		color: #000;
		background-color: var(--lightgray);
		text-align: center;
		padding: 40px;
	}

	.mobile-menu-footer .social-icons {
		padding-top: 20px;
	}
}


/* ---- SOCIAL ICONS ---- */
.social-icons {
	display: flex;
	justify-content: center;
	padding: 10px 0 10px 0;
}

.social-icons li {
	background-color: var(--primary);
	padding: 0;
	margin: 5px;
	width: 40px;
	height: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: 0.3s all ease-in-out;
}

.social-icons li:hover {
	background-color: var(--secondary);
}

.social-icons li i {
	color: #fff;
	font-size: 20px;
	padding-top: 5px;
}

.hours {
	font-weight: 900;
}

/* ---- MAIN / BODY ---- */
.et_pb_section_0_tb_body.et_pb_section {
	padding-top: 0 !important;
}

h3,
h4,
h5,
h6,
a {
	font-family: "Archivo", sans-serif;
}

/* ---- GALLERY ---- */
.zoomgal .et_pb_with_border {
	border: none;
}

/* Force 2 column on mobile */
@media only screen and (max-width: 479px) {
	.three-column .et_pb_column {
		width: 33.333% !important;
	}
}
@media only screen and (max-width: 980px) {
	.three-column .et_pb_column {
		width: 33.333% !important;
	}

}


/* ---- USED TRUCKS PRODUCT POPUP FORM ---- */
.open-gravity-form-popup {
	background-color: var(--primary);
	color: white;
	text-transform: uppercase;
	font-size: 20px;
	padding: 8px 15px;
	border: none;
	border-radius: 50px;
	transition: 0.3s all ease-in-out;
	-moz-transition: all 0.3s;
	-webkit-transition: all 0.3s;
}
.open-gravity-form-popup:hover {
	background-color: var(--secondary);
}
#gravity-form-popup {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 650px;
	height: auto;
	background: white;
	padding: 30px;
	z-index: 9999;
	color: var(--black);
}
#gravity-form-popup .popup-header {
	display: flex;
	justify-content: space-between;
}
#gravity-form-popup .popup-close-btn {
	font-weight: 900;
	cursor: pointer;
}
#gravity-form-popup .gform-field-label {
	font-size: 16px;
	font-weight: 500;
	margin-bottom: 8px;
}
#gravity-form-popup input,
#gravity-form-popup textarea {
	border: 1px solid black;
}
#gravity-form-popup .gform_button{
	border: none;
}
#overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 9998;
	display: none;
}
#gravity-form-popup .gfield_validation_message {
	display: none;
}
#gravity-form-popup .gform_wrapper.gravity-theme .gform_footer, .gform_wrapper.gravity-theme .gform_page_footer {
    padding: 0;
}
@media(max-width: 768px) {
	#gravity-form-popup {
		overflow-y: auto;
		max-width: 650px;
		max-height: 90vh;
		width: 90%;
	}
}


/* ---- GRAVITY FORMS ---- */
.gform_wrapper .gform_footer input.button,
.gform_wrapper .gform_footer input[type=submit] {
	background-color: var(--primary);
	color: white;
	text-transform: uppercase;
	font-size: 20px;
	padding: 8px 15px;
	border: none;
	border-radius: 50px;
	transition: 0.3s all ease-in-out;
	-moz-transition: all 0.3s;
	-webkit-transition: all 0.3s;
}
/* Contact Page Button */
#gform_submit_button_1 {
	color: #ffffff;
    text-transform: uppercase;
    background-color: #990403;
    border-radius: 30px;
    padding: .5rem 1rem;
    margin-right: 10px;
    transition: 0.3s all ease-in-out;
    font-size: 20px;
}

/*** BUTTON HOVER STYLING ***/
.gform_wrapper .gform_footer input.button:hover,
.gform_wrapper .gform_footer input[type=submit]:hover {
	background: var(--secondary) !important;

}

#gravity-form-popup .gform_wrapper.gravity-theme .gfield_required {
	display: none;
}

#gravity-form-popup .gform_wrapper.gravity-theme .gfield_required {
	display: none;
}

.gform_wrapper .field_sublabel_below .ginput_complex.ginput_container label,
.gform_wrapper .field_sublabel_below div[class*=gfield_time_].ginput_container label {
	display: none;
}

/* set the transition for the spacing shrinking action */
.pa-header .et_pb_row {
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
}

/* set the background color of the fixed header when scrolling */
.pa-fixed-header .et_pb_row {
	padding: 0px 0;
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
}

/* set the transition for the font size shrinking action */
.pa-header .et_pb_menu ul li a {
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
}

/* change the menu font size when the header shrinks */
.pa-fixed-header .et_pb_menu ul li a {
	font-size: 12px !important;
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
}


/* ---- HOME PAGE HERO ---- */
.home-hero-bttn-row {
	margin-top: 30px;
}

.home-hero-bttn-row a:not(:last-of-type) {
    margin-right: 15px;
}

.bttn {
	color: white;
	background: #990304;
	padding: .5rem 1rem;
	border-radius: 29px;
}
@media(max-width: 980px) {
	#home-hero {
	background-image: linear-gradient(90deg, rgba(196, 196, 196, 0) 0%, rgba(255, 255, 255, 0.69) 0%), url(https://www.sambafoot.fr/wp-content/uploads/2024/09/otstr-homepage-banner-truck.jpg) !important;
	}
}

@media (max-width: 584px) {
	.home-hero-bttn-row {
        display: flex;
        flex-direction: column;
    }
	.home-hero-bttn-row a {
        text-align: center;
    }
    .home-hero-bttn-row a:not(:last-of-type) {
        margin-bottom: 30px;
        margin-right: 0 !important;
    }
}

.service-bttn-col {
	display: flex;
	flex-direction: column;
}
.service-bttn-col a {
	width: fit-content;
}
.service-bttn-col a:not(:last-of-type) {
	margin-bottom: 30px;
}

/* Alignment Section */
#align-prices p {
    white-space: nowrap;
    width: 35%;
    display: flex;
    justify-content: space-between;
}
.align-bttns a:first-child {
		margin-right: 2rem;
}
@media(max-width: 500px) {
	.align-bttns  {
		display: flex;
		flex-direction: column;
		width: fit-content;
		text-align:center;
	}
	.align-bttns a:first-child {
		margin: 0 0 2rem 0;
	}
}

/* ---- FOOTER ---- */
#main-footer {
	color: var(--black);
	background-color: #fff;
	text-align: center;
	border-top: 2px solid var(--brightred);
	font-family: "Archivo", sans-serif;
	line-height: 1.2rem;
	position: relative;
	z-index: 300;
	-webkit-box-shadow: 0px 5px 18px -3px rgba(0, 0, 0, 0.498);
	-moz-box-shadow: 0px 5px 18px -3px rgba(0, 0, 0, 0.498);
	box-shadow: 0px 5px 18px -3px rgba(0, 0, 0, 0.498);
}

.footer-logo-container {
	margin-top: -28px;
	padding-bottom: 10px;
}

.footer-logo-container img {
	width: 194px;
	height: auto;
}

#main-footer .social-icons {
	padding: 10px 0px 25px 0;
}

.footer-copyright {
	color: #fff;
	background: var(--black);
	padding: 15px 0;
	margin: 30px 0;
}


/* Product Shortcode template styles */
.prod-cols {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	/* align-items: stretch; */
}

.prod-cols-2 .prod-col {
	max-width: 45%;
}

.prod-cols-3 .prod-col {
	max-width: 30%;
}

.prod-cols-4 .prod-col {
	max-width: 23%;

}

.prod-cols-5 .prod-col {
	max-width: 18%;
}

.prod-cols-6 .prod-col {
	max-width: 15%;
}

.prod-col {
	position: relative;
	display: flex;
	flex-direction: column;
}
@media(max-width: 901px) {
	.prod-col {
		max-width: 45% !important;
		margin-bottom: 15px;
	}
}
@media(max-width: 601px) {
	.prod-cols {
		justify-content: center;
	}
	.prod-col {
		max-width: 80% !important;
		margin: auto;
	}
}

/* Warranty Bar Shortcode */
.parts-distribution-centers {
	padding: 10px 16px 20px;
	margin-bottom: 16px;
	text-align: center;
}
.parts-distribution-centers__title {
    margin: 0 0 0px;
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1.1;
    color: #000;
    font-family: 'Lato', Helvetica, Arial, Lucida, sans-serif;
	padding-bottom: 5px;
}
.parts-distribution-centers__locations {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px 24px;
	padding-top: 8px;
	border-top: 2px solid #b7b7b7;
}
.parts-distribution-centers__locations span {
	color: #910101;
	font-size: 1.1rem;
	font-weight: 500;
}
#warranty-bar {
	display: flex;
	justify-content: space-between;
	border: solid 1px #000;
	flex-wrap: nowrap;
}
.woocommerce-page #warranty-bar {
	margin-bottom: 30px;
}
#warranty-bar .benefit {
	display: flex;
    flex-wrap: nowrap;
	align-items: center;
	padding: 10px;
}
#warranty-bar div:first-of-type {
	display: flex;
	justify-content: center;
	color: #fff;
	background-color: #990304;
	font-weight: 800;
	padding-left: 20px;
}
#warranty-bar .benefit img {
	width: 60px;
}
@media(max-width: 1000px) {
	.parts-distribution-centers__locations {
		justify-content: center;
	}
	#warranty-bar {
		flex-wrap: wrap;
	}
	#warranty-bar div:first-of-type {
		width: 100%;
		font-size: 1.4rem;
	}
	#warranty-bar .benefit {
		width: 25%;
	}
}
@media(max-width: 768px) {
	.parts-distribution-centers {
		padding-left: 12px;
		padding-right: 12px;
	}
	.parts-distribution-centers__title {
		font-size: 1.7rem;
	}
	.parts-distribution-centers__locations {
		gap: 10px 18px;
	}
	.parts-distribution-centers__locations span {
		width: calc(50% - 9px);
	}
	#warranty-bar .benefit {
		width: 50%;
	}
}


/* I was hoping the onsale class would inherit the og styles but alas they're too specifically targeted */
/* .product .onsale  */
.woocommerce span.onsale, .woocommerce-page span.onsale,
.prod-col .onsale {
	position: absolute;
	top: .5rem;
	left: .5rem;
	color: #fff;
	background-color: #ED1C24 !important;
	font-weight: bold !important;
	padding: .25rem 1rem;
	text-transform: uppercase;
}

.prod-title {
	color: #141414;
	font-weight: 900;
	line-height: 1;
	padding-bottom: 5px;
}

.woocommerce ul.products li.product .price, .woocommerce-page ul.products li.product .price,
.woocommerce-Price-amount.amount,
.woocommerce ul.products li.product .price del, .woocommerce-page ul.products li.product .price del,
.prod-price {
	color: #990304 !important;
}
.woocommerce ul.products li.product a img, .woocommerce-page ul.products li.product a img,
.prod-img {
	max-width: 100%;
	margin-bottom: 15px;
	aspect-ratio: 1 / 1;  /* defining the aspect ratio of the image */
  	object-fit: cover; 
	border: solid 1px black;
}

 .prod-img {
	background-color: white;
 }


/* Add text to (mobile only) Parts Menu on category pages */
div#parts-menu-mobile:before {
    content: 'Parts Categories';
    display: block;
    position: absolute;
    top: 5px;
    right: 50px;
		color: #ed1c24;
}
#parts-menu-mobile {
    position: relative;
}
.et_divi_100_custom_hamburger_menu__icon {
    padding-right: 50px!important;
    width: 77px!important;
}


/* ---- SIDEBAR PARTS MENU ---- */

/* Using WOO TEMPLATE */
#main-content .container:before {
	background-color: transparent;
}
.woocommerce-content-wrapper {
    display: flex;
}

.woocommerce-sidebar {
    width: 300px; /* Fixed width for the sidebar */
    padding-right: 15px; 
}

.woocommerce-main-content {
    flex: 1; /* Take remaining space */
	margin-left: 15px;
}
#sidebar {
	width: 100% !important;
	padding: 15px !important;
	background-color: var(--lightgray);
}
/* removing the Parts parent category from the sidebar widget */
#sidebar a[href$="/product-category/parts/"]  {
	display: none;
}
/* removing the Uncategorized from the sidebar widget */
#sidebar a[href$="/product-category/uncategorized/"]  {
	display: none;
}
#sidebar .wc-block-product-categories-list-item {
	margin-left: 0;
}

#sidebar h2{
	color: white;
	text-transform: uppercase;
	background-color: var(--primary);
	margin: -15px;
	padding: 0;
	padding: 15px;
	font-family: 'Lato', Helvetica, Arial, Lucida, sans-serif;
	font-size: 25px;
	font-weight: 800;
}
#sidebar .wc-block-product-categories-list {
	list-style: none;
	padding-left: 8px;
}
#sidebar .wc-block-product-categories-list .wc-block-product-categories-list--depth-2 {
	padding-left: 20px;
}

#sidebar .wc-block-product-categories-list-item__name {
	text-transform: capitalize;
}


/* ---- COLLAPSE MOBILE PARTS MENU---- */

/* Hide sections for mobile and make them collapsible */
@media (max-width: 768px) {
	#sidebar .et_pb_widget {
		margin-bottom: 0; /* shows gray when accodion collapsed*/
	}
	
	 /* Initial setup: hide all sections except for the first */
	.woocommerce-sidebar .et_pb_widget:not(#block-2) {
		max-height: 0; 
		overflow: hidden; 
		/* padding: 0 15px; */
		/* transition: max-height 0.5s ease-out, padding 0.3s ease-out; */
		transition: max-height 0.5s ease-out;
	}

	/* Style the headers to make them look clickable */
	.woocommerce-sidebar .et_pb_widget h2 {
		cursor: pointer;
		padding: 10px;
		background-color: #990304; 
		color: #fff;
		font-size: 16px;
		margin: 5px 0;
		padding-left: 45px !important; /* make space for the toggle arrow */
	}

	/* Add a little transition to smooth the toggling effect */
	.woocommerce-sidebar .et_pb_widget div {
		transition: all 0.3s ease;
	}

	/* activated widget grows to full height */
	.woocommerce-sidebar .et_pb_widget.active:not(#block-2) {
		max-height: 1000px; /* just a large value to ensure expansion */
	}
	
	/* Add the arrow icon */
	.woocommerce-sidebar .et_pb_widget h2::before {
		content: "";
		position: absolute;
		left: -20px; 
		width: 10px;
		height: 10px;
		border-left: 4px solid white;
		border-bottom: 4px solid white;
		display: inline-block;
		margin-left: 40px;
		transform: rotate(-45deg); 
		transform-origin: center 12px;
		transition: transform 0.3s ease; 
	}

	.woocommerce-sidebar .et_pb_widget h2.active::before {
	  transform: rotate(135deg); /* Rotate the arrow to point up */
	}
}

/* ---- PARTS CATEGORY SUB-MENU DROPDOWNS  ---- */

/* Hide Product Subcategory items by default */
.wc-block-product-categories-list-item .wc-block-product-categories-list--depth-2 {
	display: none;
	margin-left: 1rem;
}

/* Ensure the <li> has relative positioning for the absolute arrow */
.wc-block-product-categories-list-item.has-children {
	position: relative;
}

/* Reset any link styling if needed */
.wc-block-product-categories-list-item.has-children > a {
	color: initial;
}

/* Style the arrow indicator on the <li> */
.wc-block-product-categories-list-item.has-children::after {
	content: "";
	position: absolute;
	top: 10px;
	left: -15px;
	transform: translateY(-50%) rotate(-45deg);
	height: 5px;
	width: 5px;
	border-left: 2px solid var(--primary);
	border-bottom: 2px solid var(--primary);
	display: inline-block;
	transition: transform 0.3s ease;
}

/* Expanded state shows the children */
.wc-block-product-categories-list-item.expanded .wc-block-product-categories-list--depth-2 {
	display: block;
}

/* Rotate arrow when expanded */
.wc-block-product-categories-list-item.expanded::after {
	transform: translateY(-10%) rotate(135deg);
}




/* ---- BREADCRUMBS ---- */

/* left area is actually on the right side because of sidebar */
.tax-product_cat #left-area {
	width: 100%;
}
/* hide the breadcrumbs on the category pages */
.tax-product_cat .woocommerce-breadcrumb {
	display: none;
}
/* since we're using the divi builder have to overwrite it's style, can't use the builder itself and keep the separators a diff color */
#main-content .et_pb_wc_breadcrumb_0_tb_body .woocommerce-breadcrumb {
	font-size: 1.5rem;
}
#main-content .et_pb_wc_breadcrumb_0_tb_body .woocommerce-breadcrumb a {
	color: var(--primary) !important;
}
.wc-block-product-categories-list-item__name {
	color: black;
	font-size: 20px;
}

/* current category selected */
.wc-block-product-categories-list-item.active .wc-block-product-categories-list-item__name {
	color: var(--primary);
}
/* unless we're on the parts category page since that's a hiden parent category */
.term-parts .wc-block-product-categories-list-item.active .wc-block-product-categories-list-item__name {
	color: black
}


/* ---- SINGLE PRODUCT PAGES ---- */

.single-product  {
	margin-top: 30px;
}

.single-product .woocommerce-message {
	background-color: var(--primary) !important;
	margin-top: 15px;
}
[id^='product-'] button.button.alt,
.coupon .button,
.wc-proceed-to-checkout .button {
	background-color: var(--primary) !important;
	color: white !important;
	border-radius: 30px !important;
	border-color: var(--primary) !important;

}
.woocommerce-message .button.wc-forward,
.woocommerce-cart button {
	border-radius: 30px !important;
}
.woocommerce-message .button.wc-forward,
.woocommerce-message .button.wc-forward:hover  {
	color: var(--primary);
}
body .woocommerce-info {
	background: var(--primary) !important;
}
/* ---- CART ---- */
.wc-proceed-to-checkout .button {

}
/* [id^='product-'] .button:hover,
body #page-container .et_pb_section .et_pb_wc_add_to_cart_0_tb_body .button:hover {
	background-color: #ED1C24 !important;
	border-color: white !important;
	
} */

/* Product template page needed to overwrite weird et_right_sidebar from Divi */
.single-product #sidebar {
	display: none !important;
}
.single-product #left-area {
	width: 100%;
	padding-right: 0;
}

@media(max-width: 768px) {
	#main-content .container {
		padding-top: 30px !important;
	}
	.woocommerce-content-wrapper {
		flex-direction: column;
	}
	.woocommerce-sidebar {
		width: 80vw;
		margin-bottom: 30px;
		padding-right: 0;
	}
}

/* Parts Cat titles desktop spacing */
@media (min-width: 980px) {
	.parts-cat-titles {
		padding-top: 50px;
	}
}

/* Adjustments for Prod Cat pages */
.woocommerce-products-header__title {
	text-transform: uppercase;
	font-size: 35px;
	font-weight: 500;
}
.woocommerce-products-header .term-description {
	padding: 10px 0 20px;
}

/* Important overwriting woo styles */
@media(max-width: 479px) {
	.woocommerce-page ul.products li.product:nth-child(n) {
		width: 48% !important;
	} 
	.woocommerce-page .product .woocommerce-loop-product__title {
		font-size: .75rem !important;
	}
}

/* single prod custom tabs */
.product .woocommerce-tabs ul.tabs {
	background: #fff !important;
}
ul.tabs.wc-tabs li:not(:first-child) {
	border-left: 1px solid #d9d9d9 !important;
	border-right: 2px solid #d9d9d9 !important;
} 
ul.tabs.wc-tabs li.active:not(:first-child) {
	border-right: 1px solid #d9d9d9 !important;
	border-left: 1px solid #d9d9d9 !important;
}

/* ---- SEARCH ---- */
.search .woocommerce-breadcrumb {
	display: none;
}

.search #left-area {
    width: 100%;
}

.search #sidebar .et_pb_widget {
    width: 100%;
    float: none;
}

@media(min-width: 769px) {
	.search #sidebar .et_pb_widget {
		margin-bottom: 30px;
	}
}

/* Freight and call for avail styling on single prod pages*/
.single-product.stock-call-for-availability .call-for-availability-message {
    font-weight: 500;
    color: #990304;
    font-family: 'Archivo Black', Helvetica, Arial, Lucida, sans-serif;
    font-size: 1.2em;
    margin: 0px 0 15px;
}

/* Remove padding from price ONLY on "call for availability" products */
.single-product.stock-call-for-availability .product .price {
    padding: 0 !important;
}

/* Adjust title spacing ONLY on "call for availability" products */
.single-product.stock-call-for-availability .product .product_title {
    margin-bottom: 0px; /* tweak as needed */
        padding-bottom: 6px !important;
}


.archive .call-for-availability-message {
        color: #990304;
}
.single-product .freight-shipping-message {
	    font-weight: 500;
	    font-family: 'Archivo Black', Helvetica, Arial, Lucida, sans-serif;
}
.freight-shipping-message {
    color: #990304;
    line-height: 1.2;
    color: #990304 !important;
}

.woocommerce ul.products li.product .woocommerce-loop-category__title, .woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product h3 {
    line-height: 1.2;
}
