/*
 Theme Name:     Divi Child Theme
 Theme URI:      https://www.vision64.de/
 Description:    Divi Child Theme from Vision64
 Author:         Vision64
 Author URI:     https://www.vision64.de/
 Template:       Divi
 Version:        1.0.2
*/

/*** ------------------------------------------------------------
 CART PAGE											
-------------------------------------------------------------***/
	@media all and (min-width: 981px) {
		.woocommerce-cart table.cart td.product-thumbnail {
			display: flex;
			justify-content: flex-end;
			flex-direction: row;
		}
		
		th.product-price,
		th.product-quantity,
		th.product-subtotal,
		td.product-price,
		td.product-subtotal {
			text-align: center;
		}
		
		div.quantity {
			margin: auto!important;
			text-align: center;
		}
		
		.woocommerce-cart table.cart .product-thumbnail {
			min-width: 100px!important;
		}
	}

	@media all and (max-width: 981px) {
		.woocommerce-page .quantity,
		.woocommerce a.remove {
				margin-left: auto;
			}
			
		.et_pb_wc_cart_products table.shop_table_responsive tr td::before {
			content: attr(data-title) ": ";
			font-weight: 700;
			float: left;
			font-size: 14px!important;
			margin-right: 5px;
		}
		
		td.product-name a {
			font-size: 14px!important;
		}
		
		.product-thumbnail:before,
		.product-remove:before	{
			display: none;
		}
		
		.woocommerce-Price-amount {
			font-size: 16px!important;
			font-weight: 700;
		}
	}
	
	.et_pb_wc_cart_products table.cart img {
		width: auto;
	}

	@media all and (max-width: 767px) {
		.woocommerce .quantity input.qty {
			width: 4.3em!important;
		}
		
		.woocommerce div.product form.cart .variations {
			width: 98%;
		}
	}
	
	th.product-thumbnail {
		width: 5%;
	}
	
	th.product-name {
		width: 40%;
	}
	
	tr.cart_item td {
		width: 80%;
	}
	
	td.product-remove {
		width: 30px!important;
	}
	
	.woocommerce div.product .stock {
		color: green;
		font-weight: 700;
		font-size: 14px!important;
}

.et_pb_wc_images_0_tb_body .woocommerce-product-gallery>div:not(.flex-viewport) .woocommerce-product-gallery__image, .et_pb_wc_images_0_tb_body .woocommerce-product-gallery>.woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image, .et_pb_wc_images .flex-viewport, .woocommerce div.product div.images .flex-control-thumbs li img {
    border-color: #e5e5e5;
    border-style: solid;
    border-width: 1px;
}

.woocommerce .woocommerce-error {
	    margin-bottom: 0px;
		    text-align: left !important;
		background: #52274F !important;
    color: white !important;
}

.checkout-inline-error-message {
	font-size: 14px!important;
	color: red;
}

.woocommerce-NoticeGroup-checkout {
	border-top: solid white 25px;
}

.woocommerce-NoticeGroup-checkout a {
	color: white!important;
}

@media all and (min-width: 981px) {
	.xoo-wsc-markup-notices {
		right: -100%;
		top: 50%;
		transform: translate(-80%, -50%);
		left: auto;
		position: fixed;
		box-shadow: 2px 2px 9px 3px #eee;
		transition: all 0.5s;
		z-index: 999997;
		width: 0;
		max-width: 400px;
	}
}

body.pp-hide-paylater .ppcp-messages,
body.pp-hide-paylater #ppcp-messages,
body.pp-hide-paylater .ppcp-message,
body.pp-hide-paylater [data-pp-message],
body.pp-hide-paylater paypal-message,
body.pp-hide-paylater iframe[src*="paypal"][src*="message"],
body.pp-hide-paylater iframe[src*="paypal"][src*="messaging"]{
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
  pointer-events: none !important;
}


/*** ------------------------------------------------------------
	Variations reset button										
-------------------------------------------------------------***/

.woocommerce div.product form.cart .reset_variations {
	margin-top: 20px;
    background: black;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
		
}

.et_pb_wc_add_to_cart form.cart .variations td.value span:after {
    display: none;

}

/* Make pagination always sit on its own full-width row under the products */
.woocommerce ul.products,
.woocommerce-page ul.products {
  display: flex;
  flex-wrap: wrap;
}

.woocommerce nav.woocommerce-pagination,
.woocommerce-page nav.woocommerce-pagination {
  width: 100%;
  flex: 0 0 100%;
  clear: both;
  margin-top: 20px;
}

	
/*** ------------------------------------------------------------
		Woo Commerce Message										
-------------------------------------------------------------***/
.woocommerce a.button,
.woocommerce a.button:hover {
	background: #51284F!important;
    color: white;
	float: none!important;
    font-size: 16px!important;
    display: block;
    margin-bottom: 5px;
    width: 150px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
}

.woocommerce a.button:hover {
	padding: 0.3em 1em 0.3em 1em!important;
}

@media all and (max-width: 767px) {
	.woocommerce a.button,
	.woocommerce a.button:hover {
		font-size: 14px;
	}
}

.woocommerce button.button:hover:after {
	opacity: 0;
}

.woocommerce-page a.button:after {
	display: none;
}

.woocommerce-message, ul.woocommerce-error {
    font-size: 16px !important;
    background: #dddada!important;
    text-align: center!important;
    color: black !important;
}

.wc-proceed-to-checkout a.checkout-button {
	    width: auto!important;
}
	
/*** ------------------------------------------------------------
			Checkout											
-------------------------------------------------------------***/
.et_pb_wc_checkout_payment_info form .form-row {
    margin: 0.5em 0 0;
}

/*** ------------------------------------------------------------
	Product Page										
-------------------------------------------------------------***/
.woocommerce div.product div.images img {
	margin: auto!important;
	width: auto!important;
}
	
.et_pb_gallery_fullwidth .et_pb_gallery_image img {
	width: auto!important;
}
	
.woocommerce ul.products li.product a img {
    width: auto!important;
	min-width: 100%;
}

.woocommerce ul.products li.product a img {
    margin: auto !important;
}

.et_shop_image {
	border: 1px solid #e5e5e5;
	margin-bottom: 20px;
	line-height: 0px;
}

#v64-shop-no-image-border .et_shop_image {
	border: 0px solid #e5e5e5;
}

.et_pb_wc_related_products .et_shop_image {
	border: 1px solid #e5e5e5;
}

.et_pb_wc_related_products .woocommerce-Price-amount {
	color: #52274F;
    font-weight: 600;
    font-size: 16px;
}
	
.product .related h2 {
    padding-bottom: 50px;
}

.woocommerce div.product form.cart {
    margin-bottom: 1em !important;
}

.woocommerce div.product form.cart .variations td {
    width: 100%;
    float: left;
}

.et_pb_wc_add_to_cart .variations th.label {
	float: left;
}

.et_pb_wc_add_to_cart span.price {
	color: #52274f!important;
}

.woocommerce-variation-price {
	margin-bottom: 20px;
}

.woocommerce div.product form.cart .variations td select {
    height: 40px;
    font-size: 14px;
}

.woocommerce div.product form.cart .variations td:last-child {
    padding-bottom: 0px!important;
}

.et_pb_wc_add_to_cart form.cart .variations td.value span:after {
    margin-top: -5px;
}

.woocommerce div.product .out-of-stock {
    color: red;
    font-size: 16px!important;
    font-weight: 700;
}

@media all and (max-width: 767px) {
	.woocommerce div.product .out-of-stock {
		font-size: 14px!important;
	}
		
}

.et_pb_wc_title h1 {
	text-align: center!important;
}

a.showcoupon,
a.showlogin {
	color: #52274F!important;
	text-decoration: underline;
}

.woocommerce-checkout-review-order .ppcp-messages {
	padding: 20px;
}




/*** ------------------------------------------------------------
	Product cat									
-------------------------------------------------------------***/

.v64-price-style .price .amount {
    font-weight: 600;
    font-size: 18px;
    color: #52274f!important;
}

.v64-price-style  .price,
.woocommerce ul.products li.product .price {
text-align:center!important;
display: block;
}	

.woocommerce-loop-product_title {
	text-align:center;
}

.et_overlay {
    display: none!important;
}

/*** ------------------------------------------------------------
.woocommerce-page .entry-content .et_pb_row,
.woocommerce-page .et-l--body .et_pb_row {
	width: 96%;
	max-width: 96%;
}								
-------------------------------------------------------------***/




/*** ------------------------------------------------------------
	Search Bar									
-------------------------------------------------------------***/
.aws-search-result .aws_result_price {
    color: #52274F;
    font-weight: 700;
}

.aws-search-result .aws_results.style-big-grid .aws_result_title {
    font-weight: 500;
}

/*** ------------------------------------------------------------
	Category Page								
-------------------------------------------------------------***/

.out-of-stock {
	color: red;
    font-weight: 700;
}

.woocommerce-loop-product_title {
	padding-bottom: 10px!important;
}


/*** ------------------------------------------------------------
	Product Page - Additional Information						
-------------------------------------------------------------***/

@media all and (min-width: 981px) {
	.v64-additional-info table.shop_attributes th {
		width: 250px;
		font-weight: 600;
		color: #666666;
	}
}

@media all and (max-width: 981px) {
	.v64-additional-info  table td {
		text-align: left;
	}
	
	.v64-additional-info table.shop_attributes th {
		width: auto;
		padding: 8px 8px 8px 0px;
		font-weight: 600;
		color: #666666;
	}
}

.et_pb_wc_additional_info table.shop_attributes {
    border-style: none;
}

.v64-additional-info table.shop_attributes th,
.v64-additional-info table.shop_attributes td {
    border-bottom: 1px none rgba(0,0,0,.1);
}

.v64-additional-info table.shop_attributes tr:nth-child(even) td,
.v64-additional-info table.shop_attributes tr:nth-child(even) th {
    background: none;
}

.v64-product-title h1 {
	font-size: 32px!important;
	line-height: clamp(32px, 8vw, 50px)!important;
}



@media all and (min-width: 768px) and (max-width: 980px) {
	.v64-product-title h1 {
		font-size: 26px!important;
	}
	
	.woocommerce table.shop_table td {
		width: 100%!important;
	}
}

@media all and (max-width: 767px) {
	.v64-product-title h1 {
		font-size: 21px!important;
	}
	
	.woocommerce table.shop_table td {
		width: 100%!important;
	}
}

.v64-product-title-left h2 {
	text-align: left!important;
}

td.product-remove {
	width: 30px;
}


/*** ------------------------------------------------------------
	Product Page - Information Box					
-------------------------------------------------------------***/

.wc-block-components-notice-banner__content {
	background: #e3e3e3!important;
    color: black!important;
    text-align: center;
	padding: 15px;
    font-size: 16px!important;
    display: flex;
    flex-direction: column-reverse;
}

.wc-block-components-notice-banner__content a {
	color: #51284F;
    font-weight: 700;
    text-decoration: underline;
}


.wc-block-components-notice-banner svg {
	display: none;
}

@media all and (min-width: 981px) {
	.v64-woo-notice button {
		height: 55.4px!important;
	}
}

/*** ------------------------------------------------------------
	Woof Filter Styling				
-------------------------------------------------------------***/


 /* Popup for Filters*/
  .woof_show_filter_for_mobile.woof {
    padding-top: 150px !important;
    opacity: 1 !important;
    height: 100vh !important;
    margin: 0px !important;
    top: 0 !important;
    background-color: #DCDCDC !important; 
    color: white !important; 
	
  }  
  
 
  .irs--round .irs-grid-text {
    color: #4d4d4d!important;
}
	
	/* Adjust Z-Index */ 
	.v64-husky .v64-husky-column {
		z-index:1;  /* default is 2 */
	}

	

	/* Filter and Reset Button*/
	button.woof_submit_search_form,
    button.woof_reset_search_form {
		Background-color: green !important;
		width: 125px;
		border: 0;
		height:40px;
		margin: 5px 0;
		border-radius: 5px;
		text-align: center;
		cursor: pointer;
		color: #fff !important;
		transition: all .4s;
	}
	
	button.woof_submit_search_form:hover,
	button.woof_reset_search_form:hover{
		color: #fff !important;
		padding: 10px 0!important;
		background-color: #50284E !important;
	}

	/* Align the filter/reset Button*/
  .woof_submit_search_form_container{
    display:inline-block;
    width: 100%;
  	}
  .woof_submit_search_form {
    float: none;
	}

@media screen and (max-width: 980px) { 
	/* Adjust DropDown Fonts */
	.woof_redraw_zone input,
	.woof_redraw_zone select{
 		font-size: 1em !important;
		font-weight: bold;
	}
}
	

	/* Hide amount of products and default filter*/
	.woocommerce-result-count, 
	.woocommerce-ordering{
		display: none;
	}
	

	
	/* Close Icon Filter in white*/

	
	/* Close / Open Text */
	.woof_show_mobile_filter span,
	.woof_hide_mobile_filter span{
		font-size:1.1em !important;
		font-weight: 500;
	}
	
		/* Open Filter on mobile */
	.woof_show_mobile_filter  {
		    border: 0px #DCDCDC solid;
		border-radius: 2px;
		background-color: #027E02;
		box-shadow: 2px 2px 4px #675b5b;
		padding-top: 5px;
		padding-bottom: 5px;
		padding-left: 3px;
		color: white;
		width: 200px;
		align-items: center;
		display: flex;
		justify-content: center;
		margin: 0 auto;
	}
	
	.woof_show_mobile_filter img {
		margin-right: 5px;
		filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7500%) hue-rotate(233deg) brightness(98%) contrast(104%);
	}
	
	/* Align Filter Area*/
	.v64-husky-mobile-placeholder{
		text-align:center;
	}
	.woof_show_mobile_filter img {
		width: 25px;
		height: 25px;
	}
	
	
	.woof_products_top_panel_ul  button{
		color: #000;
		border: 2px solid #007AB9;
		background: #fff;
	}
	
	/*2 Products on Mobile */
@media screen and (max-width: 479px) { 
	.et_gallery_item:nth-child(n), 
	.et_pb_column .et_pb_filterable_portfolio .et_pb_portfolio_item.et_pb_grid_item:nth-child(n), 
	.et_pb_column .et_pb_grid_item:nth-child(n), 
	.et_pb_column .et_pb_shop_grid .woocommerce ul.products li.product:nth-child(n), 
	.et_pb_column .woocommerce ul.products li.product:nth-child(n), 
	.woocommerce-page ul.products li.product:nth-child(n) { 
		width: 47.5%!important; 
		margin: 0 4.5% 9.5% 0!important; 
	} 
	.et_gallery_item:nth-child(2n), 
	.et_pb_column .et_pb_grid_item:nth-child(2n), 
	.et_pb_column .et_pb_shop_grid .woocommerce ul.products li.product:nth-child(2n), 
	.et_pb_column .woocommerce ul.products li.product:nth-child(2n), 
	.woocommerce-page ul.products li.product:nth-child(2n) { 
		margin-right: 0!important; 
	} 
}	

@media screen and (max-width: 981px) { 
	div.woof_info_popup {
		top: 50%!important;
		left: 50%!important;
		transform: translate(-50%, -50%)!important;
	}
}
	
	/* Style Price */
	.v64-husky-products .price .amount {
		font-weight: 600;
		font-size: 1.2em;
		color: #52274f!important;
	}
	
	/* Filter Items */
	.woof_container {
    margin-bottom: 12px;
}


/* Colours on the price slider */


.irs--round .irs-from, .irs--round .irs-to {
	background-color: #52274F!important;
}

.irs--round .irs-to:before, .irs--round .irs-from:before {
	border-top-color: #52274F!important;
}

.irs--round .irs-handle {
    border: 4px solid #52274F!important;
}

.irs--round .irs-bar {
    background-color: #52274F!important;
}

/*General Zoom on products */

.woocommerce-product-gallery__image {
    overflow: hidden; /* Contain the zoom effect within the border */
}

.woocommerce-product-gallery__image img {
    transition: transform 0.3s ease; /* Smooth transition */
}

.woocommerce-product-gallery__image:hover img {
    transform: scale(1.5); /* Slight zoom on hover */
}

/*** ------------------------------------------------------------
	ADDITIONAL INFORMATION STYLING			
-------------------------------------------------------------***/

.et_pb_wc_additional_info h2 {
	text-align: left!important;
	font-size: 18px;
	margin-bottom:1%;
}

@media screen and (min-width: 981px) { 
.woocommerce table.shop_attributes tr:nth-child(even) td, .woocommerce table.shop_attributes tr:nth-child(even) th {
        background: #52274f24;
}
}



@media screen and (max-width: 981px) { 
.woocommerce table.shop_attributes td {
    text-align: left;
	padding: 8px;

}

.woocommerce table.shop_attributes tr:nth-child(even) td, .woocommerce table.shop_attributes tr:nth-child(even) th {
        background: white;
}
}


.et_pb_wc_additional_info tr {
	border: 1px solid #e1e1e1!important;
}

.et_pb_wc_additional_info table.shop_attributes {
	border-collapse: collapse!important;
}

.woocommerce table.shop_attributes th {
    width: 200px!important;
	border-bottom: 0px dotted rgba(0, 0, 0, .1);
}

/*** ------------------------------------------------------------
	Styling for when perfmatters is active		
-------------------------------------------------------------***/

.woocommerce ul.products.columns-4 li.product,
.woocommerce-page ul.products.columns-4 li.product,
.woocommerce.columns-4 ul.products li.product,
.woocommerce-page.columns-4 ul.products li.product {
  width: 22.05%;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  float: left;
  margin: 0 3.8% 2.992em 0;
  padding: 0;
  list-style: none;
  position: relative;
  width: 22.05%; /* overwritten per column count */
  margin-left: 0;
}

.woocommerce ul.products li.first,
.woocommerce-page ul.products li.first {
  clear: both;
}

.woocommerce ul.products li.last,
.woocommerce-page ul.products li.last {
  margin-right: 0;
}

.woocommerce ul.products.columns-3 li.product,
.woocommerce-page ul.products.columns-3 li.product,
.woocommerce.columns-3 ul.products li.product,
.woocommerce-page.columns-3 ul.products li.product {
  width: 30.75%;
}