/*
Theme Name: CWUBackflow Theme
Theme URI: https://cwubackflow.co.uk/
Template: Divi
Author: Website Energizers
Author URI: https://websiteenergizers.com/
Description: Divi child theme for CWU Backflow. Built by Website Energizers
Version: 4.25.2.1755617510
Updated: 2025-08-19 15:31:50

*/

body #page-container .et_pb_button:hover {
    border-radius: 100px !important;
    background-image: linear-gradient(90deg, #0a0c1b 0%, #10528e 100%) !important;
    background-color: transparent !important;
}

#menu-main-menu .sub-menu {
	width: fit-content !important;
}

.sub-menu li {
	width: 100% !important;
}

.sub-menu li a {
	white-space: nowrap !important;
}

.woo-products-grid {
  display: flex;
	flex-wrap: wrap;
	flex-direction:row;
/*   grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); */
  gap: 2rem;
  margin-top: 2rem;
	justify-content: center;
}

@media (max-width:915px) {
	.woo-product-card {
		width: 100% !important;
		min-width: 0 !important;
	}
}

.woo-product-card {
	display: flex;
	width: 30%;
    /*min-width: 350px;*/
	padding: 40px;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
	flex-shrink: 0;
	background: #FFF;
	box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

@media screen and (max-width: 1250px) {
	.woo-product-card {
		width: calc(30% - 20px);
	}
}

.woo-product-card a {
    text-align:center;
	width:100%;
}

.woo-product-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.woo-product-card img {
    height: 300px;
    object-fit: contain;
    margin-bottom: 1rem;
	flex-shrink: 0;
	align-self: stretch;
	aspect-ratio:1/1;
}

.woo-product-card h3 {
	color: #10528E;
	font-family: Ubuntu;
	font-size: 32px;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
	text-align:left;
	border-bottom: 2px solid #10528E;
	padding-bottom: 1rem;
}

.woo-product-card .price {
	color: #10528E;
	font-family: Ubuntu;
	font-size: 32px;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
	padding-bottom: 0px !important;
}

.woo-product-card .desc {
	color: #10528E;
	font-family: Ubuntu;
	font-size: 20px;
	font-style: normal;
	font-weight: 300;
	line-height: 35px; /* 175% */
	letter-spacing: 0.8px;
	padding-bottom: 2rem!important;
}

.woo-product-card a.et_pb_button {
	background-image: linear-gradient(90deg, #10528e 0%, #0a0c1b 100%);
	width: fit-content;
	margin-top: auto;
}


@media screen and (max-width: 767px) {
	.woo-product-card img {
		max-height: 190px;
		margin-bottom: 4rem;
	}
	
	.woo-product-card h3 {
		font-size: 20px;
	}
	
	.woo-product-card .price {
		font-size: 20px;
	}
	
	.woo-product-card .desc {
		font-size: 16px;
	}
	
	.woo-product-card .et_pb_button {
		font-size: 16px;
		padding: 10px 20px!important;
	}
	
	.products-shortcode .woo-filter-shortcode select {
		font-size: 20px!important;
	}
	
	.et_pb_code_0 .woo-pagination li button {
		font-size: 16px!important;
	}
}

.woo-product-card a.et_pb_button:hover {
  /* Use Default Styles */
}

.woo-pagination ul {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 2rem;
  padding-left: 0;
}

.woo-pagination button {
  background: none;
  border: 1px solid #ccc;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
}

.woo-pagination button.active {
  background-color: #163a76;
  color: #fff;
  border-color: #163a76;
}

/* filter */
.products-shortcode .woo-filter-shortcode {
  width: 94%;
  margin: 0 auto;
  margin-bottom: 150px;
}

.products-shortcode .woo-filter-shortcode select {
  height: 55px;
  background-color: #10528e;
  color: white;
  font-family: 'Ubuntu', Helvetica, Arial, Lucida, sans-serif!important;
  font-size: 20px;
  padding: 10px;
  font-weight: 500;
  letter-spacing: 0.8px;
  background-image: url(/wp-content/uploads/2025/09/DownArrow.svg);
    background-repeat: no-repeat;
    background-position-x: 95%;
    background-position-y: 55%;
      -webkit-appearance: none;
	min-width: 250px!important;
}

@media screen and (max-width: 980px) {
	.products-shortcode .woo-filter-shortcode {
		margin-bottom: 70px!important;
		width: 100%!important;
	}
	
	.products-shortcode .woo-products-grid {
		gap: 3rem;
	}
}

/* filter end */


@media screen and (max-width: 1250px) {
	.woo-product-card {
		width: calc(50% - 40px);
	}
}

.woocommerce-error, .woocommerce-info, .woocommerce-message {
	margin-bottom:0 !important;
	width: 95%;
    margin-left: auto;
	margin-right: auto;
    max-width: 2440px;
	background:none !important;
}

.woocommerce-error, .woocommerce-info, .woocommerce-message a.button {
	background-image: linear-gradient(90deg, #10528e 0%, #0a0c1b 100%) !important;
	border-radius: 100px !important;
}

.woocommerce-error, .woocommerce-info, .woocommerce-message a.button:hover {
	background-image: linear-gradient(90deg, #0a0c1b 0%, #10528e 100%) !important;
	border-radius: 100px !important;
}

.woocommerce-notices-wrapper {
	background: #10528f !important;
}




/* extra footer styles for training page */

#footer-row .et_pb_blurb_content {
	margin-left: 0px!important;
	margin-right: auto!important;
}

#footer-row .et_pb_blurb_content img {
	max-width: none!important;
	height: 32px!important;
	width: 32px!important;
}

@media screen and (max-width: 767px) {
	.et-db #et-boc .et-l #footer-row .et_pb_blurb_content {
		margin-left: auto!important;
		margin-right: auto!important;
	}
}


/*cart */

.woocommerce-shipping-calculator a {
	color: black!important;
}

@media screen and (max-width: 767px) {
	 body #page-container .et_pb_section .et_pb_wc_checkout_payment_info_0_tb_body #payment #place_order  {
		margin-top: 2rem!important;
	}
}
