/* You can change this file 
---------------------------
Please use the IDs provided as much as possible
This css file is for everything related to the #gallery section
*/

@media only screen and (min-width: 819px) {
    

#gallery {
    width: 100%;
    height: 38vw;
    position: relative;
    overflow: hidden;
    border: none;
}  

#gallery img {
    width:  100%;
    height: 40vw;
    object-fit: cover;
}

#gallery #halfblock {
    width: 49.5%;
    height: auto;
    margin: 0px;
    padding: 0;
    border: inherit;
    position: absolute;
    left: -5%;
    bottom: 15%;

}

#gallery #page {
	top:0;
	left:0;
	right:0;
	bottom:0;
	position:absolute;
}  


#gallery #halfblock #inset {
padding: 5%;
width: 90%;
height: auto;
}

button {
   width: auto;
   height:  auto;
   padding: 2% 5%;
   border:  none; 
}

#short-gallery {
	overflow:hidden;
}

#short-gallery,#short-gallery img {
	height:10vw;
	width:100%!important;
}

#short-gallery img  {
	height:40vw!important;
	object-fit:cover;
}


#gallery #thirdblock {
    width: 32.5%;
    height: auto;
    margin: 0px;
    padding: 0;
    border: inherit;
}

#gallery #quarterblock {
    width: 25% !important;
    height: auto;
    margin: 0px;
    padding: 0;
    border: none;
}

#front .wp-block-image>img {
    width: 100%;
    height: 20vw;
    object-fit: cover;
}

	#main ul {
		padding-left:5%;
	}
	
#main ul:not(ul.products, .wp-block-woocommerce-cart.alignwide ul.wc-block-grid__products ) {
		padding-left:5%;
		margin-left:auto;
		margin-right:auto;
		width:auto;
	max-width:50vw;
		text-align:left!important;
	}
	
.wp-block-button, button {
	text-transform:uppercase;
	font-weight:550!important;
	font-size:0.85vw!important;
	padding:0.8vw 1.5vw!important;
	font-family:'Justo', sans-serif;
}


/* product page css */	
.woocommerce div.product {
    margin-bottom: 0;
    position: relative;
}
	
.woocommerce-product-gallery.woocommerce-product-gallery--with-images.woocommerce-product-gallery--columns-4.images {
        opacity: 1 !important;
        transition: none !important;
        margin: 3% 0;
    }
	
.woocommerce #content div.product div.images, .woocommerce div.product div.images, .woocommerce-page #content div.product div.images, .woocommerce-page div.product div.images {
	float: left;
    width: 48%;
	}
	
/*.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
    background: #fff;
    border: none;
    box-sizing: content-box;
    border-radius: 100%;
    cursor: pointer;
    font-size: 2em;
    height: 36px;
    padding: 0;
    position: absolute;
    right: .5em;
    text-indent: -9999px;
    top: .5em;
    width: 36px;
    z-index: 99;
}*/
	
.woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary {
	float: right;
    width: 48%;
    clear: none;
}
	
.woocommerce div.product div.quantity {
    margin-bottom: 1em;
    border: 0;
    width: 100%;
}
	

	
#main:has(.woocommerce) #newscategories {
	display:none!important;
}
	
	
.woocommerce div.product div.quantity label{
	border: 0;
	display:inline-block;
    line-height: 2em;
    vertical-align: top;
}
	
	.woocommerce div.product div.quantity input {
		display:inline-block;
		width:46.5%;
		border:1px solid #eeeeee!important;
	}

	
	.woocommerce div.product form.cart button {
		font-size:16px!important;
		padding:10px 20px!important;
	}
	
/*shop page */
	
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering {
    margin: 0 0 1em;
}

.woocommerce .woocommerce-ordering {
	float:right;}
	
.woocommerce .woocommerce-result-count, .woocommerce-page .woocommerce-result-count {
    float: left;
}
	
.woocommerce:has(.orderby) ul.products,  .wp-block-woocommerce-product-new ul  {
	display:flex;
	flex-direction:row;
	clear:both;
	flex-wrap:wrap;}
	
 .wp-block-woocommerce-product-new ul li {
	list-style-type:none;
	flex-basis:22.5%!important;
	margin:2% 1%;
	}
	
.woocommerce:has(.orderby) ul.products img, .wp-block-woocommerce-product-new ul img{
	width:100%;
	object-fit:cover;
	object-position:center;
	height:16vw;
	border-radius:var(--rounded);}

.woocommerce:has(.orderby) ul.products h2{
	font-size:24px!important;}
	
.woocommerce:has(.orderby) ul.products span.price {
	display:block;}

/*.woocommerce:has(.orderby) ul.products .button, .wp-block-woocommerce-product-new ul .wp-block-button{
	border-radius: var(--rounded) !important;
    font-weight: bold !important;
    font-size: 20px !important;
    padding: 10px 30px !important;
    background: var(--button-background);
    color: var(--button-color);
    text-transform: uppercase;
    display: block;
    width: 49.5% !important;
    margin: 20px auto;
	
	}*/
	
.woocommerce:has(.orderby) .woocommerce-message .button {
	
background: var(--yellow);
    width: 14.5%;
    font-weight: 500;
    border-radius: var(--rounded);
    text-transform: uppercase;
    margin: 20px auto;
    display: block;
    padding: 10px;	
	}
	
.woocommerce:has(.orderby) .woocommerce-pagination ul li {
	display:inline-block;}
	
	.woocommerce:has(.orderby) .woocommerce-pagination ul  {
	margin-bottom:4%;}
	

	
}