/*
Theme Name: Zasada
Author: Yprojects
Author URI: https://yprojects.pl/
Description: Zasada Wordpress Woo Theme
*/



@import url('https://fonts.googleapis.com/css2?family=Montserrat+Alternates:wght@400;700&display=swap');

body {
	background: #FCF7EB;
	font-family: 'Montserrat Alternates', sans-serif;
}


.products .product:hover img {
  filter: brightness(100%);
  transform: scale(1.1);
}

.main__search input {
	background: #FCF7EB;
}


.single-product .woocommerce-product-gallery {
  background: none;
}


.products .product .woocommerce-loop-product__title {
  opacity: 1;
  position: inherit;
	text-align: center;
	color: #000 !important;
}

.products .product .price {
	position: inherit;
  color: #000 !important;
	text-align: center;
  font-size: 16px !important;
  opacity: 1;
}



@media only screen and (max-width: 768px) {
	.header__logo img {
		max-height: 50px;
	}
	
	.main {
		padding-top: 125px;
	}
}


@keyframes rotlogo {
	0% {
		transform: rotate(0);
	}
	100% {
		transform: rotate(360deg);
	}
}


.header__logo img {
	display: block;
	animation: 15s rotlogo infinite linear;
}


.products .product .price {
  transform: translateY(0);
}

.products .product .woocommerce-loop-product__title {
  transform: translateY(0);
}

.woocommerce ul.products li.product .button {
  display: block;
	padding: 6px 13px;
	width: max-content;
	max-width: 100%;
	margin: 10px auto 0;
  background: #000;
	color: #fff;
	
	font-size: 12px;
	text-transform: uppercase;
	font-weight: 700;
}

.products .product .woocommerce-loop-product__title {
  min-height: 46px;
}


/* PRODUCT */
.single-product .product .product_title {
	font-weight: 700; 
	margin: 0;
	border-right: 1px solid #000;
	padding-right: 20px !important;
	margin-right: 20px;
}

.product-logos {
	margin-top: 25px;
}

/* .single-product .product .product_title::after {
	content: ''
} */

.single-product .product .price {
  font-weight: 700 !important;
}

.product_meta .posted_in a {
	font-weight: 700;
}

.titleprice {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

.product_meta {margin-bottom: 15px;}


.variations label {
	display: block;
	margin-bottom: 4px;
}
.variations .value select {
	border: 1px solid #000 !important;
	background: #FCF7EB !important; 
	min-width: inherit !important;
  width: 255px;
}

.woocommerce-variation-add-to-cart {
	display: flex;
	gap: 5px;
	align-items: center;
}

.woocommerce .quantity .qty {
  border: 1px solid #000 !important;
	background: #FCF7EB !important; 
	min-width: inherit !important;
	padding: 5px 0;
  width: 50px;
}


.single-product .single_add_to_cart_button {
  margin-top: 0 !important;
}

.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
  font-size: 12px !important;
  font-weight: 700 !important;
  padding: 8px 15px !important;
	text-transform: uppercase;
}



.single-product .woocommerce-product-gallery .flex-control-thumbs {
  width: 420px;
  margin: 25px auto 0 auto !important;
}

.product-info {
	margin-top: 35px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 40px;
}

.product-info__item {
	display: flex;
	align-items: center;
	gap: 5px;
}


.upsells.products ,
.related.products {
	display: block;
}

.upsells.products > h2 ,
.related.products > h2 {
	font-size: 12px;
	font-weight: 400;
	padding-bottom: 15px;
	border-bottom: 1px solid #000;
}

.other-products {
	display: flex;
	float: left;
  gap: 45px;
  justify-content: space-between;
}

.related, .upsells {
  margin-top: 45px !important;
}

@media only screen and (max-width: 1680px) {
	.other-products {
		display: block;
	}
}



.trees-title {
  margin: 45px 0 10px;
  text-transform: uppercase;
  font-size: 8px;
  font-weight: 400;
}

.trees-box {
  border: 0.597px dashed #000; 
  width: min(375px, 100%);
  padding: 16px 13px;
  display: grid;
  grid-template-columns: 24px auto;
  grid-gap: 16px;
}

.trees-box__title {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700; 
}

.trees-box a {
  text-decoration: underline;
  font-size: 10px;
}

.tns-nav {
	display: flex;
	gap: 10px;
	justify-content: center;
}
.tns-nav button {
	background: none;
	border-radius: 20px;
	border: 2px solid #292929;
	padding: 0;
	width: 20px;
	height: 10px;
}
.tns-nav button.tns-nav-active {
	background: #292929;
}



.woocommerce div.product div.images .woocommerce-product-gallery__wrapper .zoomImg {
  background-color: #FCF7EB;
}

.sku_wrapper {
	display: none;
}



.header__mobile-menu {
  height: calc(100% - 90px);
  top: 90px;
}

.sizes-table-wrapper {
	margin: 24px 0;
	display: flex;
	align-items: center;
	gap: 16px;
}
.sizes-table-wrapper img {
	width: 60px;
}
.sizes-table th, td {
	padding: 5px 7px;
	text-align: center;
	min-width: 40px;
}
.sizes-table th {
	background: #000;
	color: #fff;
}
.sizes-table td {
	background: #efefef;
}

@media only screen and (max-width: 768px) {
	.sizes-table-wrapper {
		display: block;
	}
	
	.sizes-table th, td {
		padding: 4px 0;
	}
	
	.header {
		background: #FCF7EB;
	}
	
	.header__mobile-menu {
  	background-color: #FCF7EB;
	}
	
	.main {
		padding-top: 90px;
	}
}


.tns-nav {
	margin-top: 16px;
}


.variations .value {
	display: flex !important;
}



.page-content .gallery .gallery-item img {
	border: 0 !important;
}



.cart-collaterals .woocommerce-shipping-destination {
	display: none;
}

.cart-collaterals .woocommerce-shipping-methods li {
	margin: 0 !important;
}



.small-label {
	margin: 15px 0 5px;
	font-weight: 700;
	font-size: 10px;
}

.pll-switcher-select,
.alg_currency_select
{
	width: 60px;
	border-radius: 0 !important;
	border: 1px solid #000;
	background: #fff;

	padding: 5px 10px;
	text-transform: uppercase;
}








.curlang select {
	color: #000 !important;
	height: 28px;
}

@media only screen and (max-width: 1024px) {
	.aside__cart-totals {
		display: none;
	}
	.aside__top {
		display: block;
	}
	
	.curlang {
		position: fixed;
		right: 120px;
		top: 32px;
		z-index: 6000;

		display: flex;
		align-items: center;
		gap: 6px;
	}
	
	.curlang .small-label {
		display: none;
	}
}



.sm {
  display: flex;
  gap: 26px;
  align-items: center;
  flex-wrap: wrap;
}

.sm a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-with-icon {
  margin: 16px 0;
  display: flex;
  gap: 8px;
  align-items: center;
}


.shipping-country-info {
	margin: 16px 0 8px;
}





/* LOGOS ON HOME */

.h-logos {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}

.h-logos {
	margin-top: -32px;
}

@media only screen and (max-width: 768px) {
	.h-logos img {
	  max-height: 18px;
	}	
}


/* KONTAKT */

.contact-page {
	width: 1000px;
	max-width: 100%;
	margin: 45px 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 100px;
	align-items: center;
}

.duo-col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 32px;
}

.contact-page .wpcf7-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.wpcf7-form .wpcf7-text,
.wpcf7-form .wpcf7-textarea {
	margin-top: 8px;
	font-family: 'Montserrat Alternates', sans-serif;
	display: block;
	width: 100%;
	padding: 8px 12px;
	border: 1px solid #000;
}
.wpcf7-form .wpcf7-textarea {
	height: 100px;
}

.wpcf7-submit {
	display: block;
  padding: 8px 14px;
  width: max-content;
	min-width: 140px;
  max-width: 100%;
  margin: 10px auto 0;
  background: #000;
	border: 0;
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 700;
	font-family: 'Montserrat Alternates', sans-serif;
}
.wpcf7-submit:hover {
	cursor: pointer;
	opacity: .8;
}

.custom-file-input .wpcf7-form-control-wrap {
	position: inherit;
}
.custom-file-input {
	position: relative;
	display: flex;
	gap: 16px;
	align-items: center;
}
.custom-file-input::before {
	content: '';
	background-image: url('prod/img/file.svg');
	background-repeat: no-repeat;
	background-position: center;
	width: 50px;
	height: 16px;
	display: block;
}
.custom-file-input .wpcf7-file {
	position: absolute;
	width: 100%;
	height: 100%;
	opacity: 0;
	left: 0;
	top: 0;
}

@media only screen and (max-width: 768px) {
	.contact-page {
		display: flex;
		flex-direction: column-reverse;
		gap: 24px;
	}
}









.blog-posts {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
}
@media only screen and (max-width: 768px) {
	.blog-posts {
		display: block;
	}
}


.post-teaser {

}

.post-teaser__image {
	aspect-ratio: 16 / 9;
	display: block;
	width: 100%;
}
.post-teaser__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.post-teaser__title {
	margin: 8px 0 16px;
}

.post-teaser__date {
	margin: 16px 0 8px;
	opacity: .7;
}

@media only screen and (max-width: 768px) {
	.post-teaser {
		margin: 24px 0;
	}
}







.post-wrapper {
	display: grid;
	grid-template-columns: 3fr 2fr;
	gap: 32px;
}
.post-wrapper__image {
	margin-top: 35px;
	width: 100%;
	display: block;
}

.post-wrapper a {
	text-decoration: underline;
}

.post-wrapper li {
	list-style-type: disc;
	margin: 8px 0;
}
@media only screen and (max-width: 768px) {
	.post-wrapper {
		display: block;
	}
}