/**LAYOUT**/

.woocommerce-page #content {
	margin-top:109px;
}

.wpbf-post.product:not(li) {
	display:flex;
	gap:10%;
	flex-wrap:wrap;
}

.product h1 {
	text-transform:uppercase;
}

.wpbf-post.product p,
.wpbf-post.product h1,
.wpbf-post.product h3{
	margin-bottom:0;
}

.wpbf-post.product h4 {
	margin-bottom:5px;
}

/*PRODUCT IMAGE*/

.ec_product_image {
	flex:1;
	width:40%;
}

.ec_product_image .image_sticky_container {
	position:sticky;
	top:150px;
}

.ec_product_image * {
	max-height:50vh;
	object-fit:contain;
}

.woocommerce-product-gallery {
	width:100% !important;
}

.woocommerce .ec_product_image .flex-viewport {
	margin-bottom:15px;
}

.ec_product_image .flex-control-nav {
	display: flex;
    justify-content: center;
    gap:2%;
}

.ec_product_image .flex-control-nav li {
	flex:1;
	max-width:100px;
	display:flex;
	align-items:center;
}

.ec_product_image .flex-control-nav li {
	border:solid 2px var(--gold);
	border-radius:15px;
	padding:5px;
}

/*PRODUCT INFO*/

.ec_product_info {
	flex:1;
}

.ec_product_info .var_selector {
	max-width:10%;
}

.ec_product_info .var_dropdown {
	max-width:50%;
}

.ec_product_info .variation_price {
	margin-left:auto;
	text-align:right;
}

.ec_product_info .woocommerce-variation-price {
	display:none;
}

.ec_product_info .woocommerce-variation-add-to-cart {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.infograph_container {
	display:flex;
	align-items: center;
	justify-content: space-evenly;
	gap:10px;
	width:100%;
}

.infograph_container > div {
	flex:1;
}

.infograph_container .image_container {
	text-align:center;
}

.infograph_container .gradient_bar {
	min-width:70px;
}

/*INFO TABLE*/

.info_table {
	flex:100%;
	border-bottom: solid 1px var(--gold);
}

.info_table_row {
	display: flex;
	padding: 10px 0;
	border-top: solid 1px var(--gold);
}

.table_title {
	flex:30%;
}

.table_title h4 {
	display:inline-block;
	margin-right:10px;
}

.table_content {
	flex:70%:
}

/*INFO CARDS*/

.product .card_container {
	display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.ec_product_info_card {
	flex:1 100%;
}

.ec_product_info_card.short {
	flex:1;
}

.ec_product_info_card .card_header {
	background:var(--gold_gradient_down);
	border-top:solid 1px var(--gold);
	padding:5px 10px;
	border-radius:5px;
}

.ec_product_info_card .card_content_wrapper {
	padding:5px 10px 0;
}

.up-sells .products {
	position:relative;
}

.up-sells .products li {
	flex:1;
}

/*ENSEMBLES*/
.ensembles-product {
	margin-bottom:30px;
}

.ensembles-product h4 span {
	font-size:14px;
	font-weight:400;
	margin-left:10px;
}

.ensembles-product .infograph_container{
	padding:10px 0 5px;
}

.ensembles-product .infograph_container > div {
	flex:0;
	min-width:10%;
}

.ensembles-product .origin_info {
	display:flex;
	gap:20px;
}

.ensembles-product .origin_info div {
	display:flex;
	gap:10px;
	align-items: center;
}

.ensembles-product .origin_info h4 {
	margin-bottom:0;
}

@media only screen and (max-width:600px) {
	.single.woocommerce #inner-content {
		max-width:100%;
	}
	
	.wpbf-post.product:not(li) {
		flex-direction:column;
		flex-wrap:nowrap;
		gap:3vh;
	}
	
	.product .ec_product_image {
		width:100%;
		position:initial;
	}
	
	.ec_product_image * {
		max-height:none;
	}
	
	.product .ec_product_image .image_sticky_container {
		position:initial;
	}
	
	.woocommerce .ec_product_image .image_sticky_container .woocommerce-product-gallery {
		margin-bottom:0;
	}
	
	.ec_product_image .flex-control-nav {
		align-items:center;
	}
	
	.ec_product_image .flex-control-nav li{
		border-bottom:none;
	}
	
	.ec_product_info .var_selectors {
		flex-wrap: wrap;
    	justify-content: center;
		height:auto;
	}
	
	.ec_product_info .var_selector {
		max-width: 23%;
        height: 50px;
	}
	
	.ec_product_info .variation_price {
		margin:initial;
	}
	
	.ec_product_info .woocommerce-variation-add-to-cart {
		flex-wrap:wrap;
		gap:20px;
	}
	
	.ec_product_info .woocommerce-variation-add-to-cart .wpbf-quantity {
		order:-2;
	}
	
	.ec_product_info .woocommerce-variation-add-to-cart .variation_price {
		order:-1;	
	}
	
	.product .ec_product_info .single_add_to_cart_button {
		width:100%;
		padding:15px !important;
	}
	
	.ec_product_info .infograph_container {
		flex-wrap:wrap;
	}
	
	.ec_product_info_card.short {
		flex:0 100%;
	}
}