html{
	scroll-padding-top: 120px;
	scroll-behavior: smooth;
}

b, strong {
	font-weight: bold;
}

/* 
--wp--preset--color--custom-red-900: #790a18;
--wp--preset--color--custom-red-700: #ca1518;
--wp--preset--color--custom-red-500: #ed4e4f;
--wp--preset--color--custom-red-300: #ff8384;
--wp--preset--color--custom-red-100: #ffc3c4;
--wp--preset--color--custom-red-50: #DF8E8F33;
--wp--preset--color--custom-grey-900: #727277;
--wp--preset--color--custom-grey-700: #808085;
--wp--preset--color--custom-grey-500: #737378b3;
--wp--preset--color--custom-grey-300: #72727780;
--wp--preset--color--custom-grey-100: #7272771a;
--wp--preset--color--custom-green-500: #177e35;
--wp--preset--color--custom-green-300: #4aad3c;

--wp--preset--font-size--small: 13px;
--wp--preset--font-size--medium: 20px;
--wp--preset--font-size--large: 36px;
--wp--preset--font-size--x-large: 42px;
--wp--preset--font-size--custom-1: 14px;
--wp--preset--font-size--custom-2: 16px;
--wp--preset--font-size--custom-3: clamp(24px, 1.5rem + ((1vw - 3.2px) * 0.714), 32px);
--wp--preset--font-size--custom-4: clamp(32px, 2rem + ((1vw - 3.2px) * 1.429), 48px);
--wp--preset--font-size--custom-5: clamp(48px, 3rem + ((1vw - 3.2px) * 1.429), 64px);
--wp--preset--font-family--signika: Signika, sans-serif;
--wp--preset--font-family--eb-garamond: "EB Garamond", serif;
--wp--preset--font-family--din-condensed: "DIN Condensed";
--wp--preset--spacing--20: 0.44rem;
--wp--preset--spacing--30: 0.67rem;
--wp--preset--spacing--40: 1rem;
--wp--preset--spacing--50: 1.5rem;
--wp--preset--spacing--60: 2.25rem;
--wp--preset--spacing--70: 3.38rem;
--wp--preset--spacing--80: 5.06rem;

*/



/* Clases generales */

.bloqueoculto{
	visibility: hidden;
	font-size: 0;
	margin: 0;
	padding: 0;
	position: absolute;
	left: -9999px;
}

.bloqueocultomovil{
	@media screen and (max-width: 768px){
		visibility: hidden;
		font-size: 0;
		margin: 0;
		padding: 0;
		position: absolute;
		left: -9999px;
	}
}

.contenedorocultomovil{
	@media screen and (max-width: 768px){
		display: none;
	}
}

.flexreverse{
	display: flex;
	flex-direction: column-reverse;
}

h1 > a,
h2 > a,
h3 > a{
	text-decoration: inherit;
	font-family: unset;
	color: inherit;
	font-size: inherit;
	font-style: inherit;
	font-weight: inherit;
}

/*
.wp-site-blocks{
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-self: flex-start;
	min-height: 100vh;

	footer{
		margin-top: auto;
	}
}
*/

/* HEADER */

.wp-block-navigation-item.menubuscar.wp-block-ollie-mega-menu{
	background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19 19L14.65 14.65M17 9C17 13.4183 13.4183 17 9 17C4.58172 17 1 13.4183 1 9C1 4.58172 4.58172 1 9 1C13.4183 1 17 4.58172 17 9Z' stroke='%231D1B20' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
	background-repeat: no-repeat;
	background-position: center;
	.wp-block-navigation-item__label{
		visibility: hidden;
	}
}

.has-modal-open{
	header.wp-block-template-part{
		.wp-block-navigation__responsive-container-content {
			padding-top: 0!important;
		}
	}
}


/* .home */

.home #wp--skip-link--target,
.home.page-template-pagina-sin-titulo .entry-content{
		margin-block-start: 0px!important;
		margin-block-end: 0;
}


/* WOOCOMMERCE */

.woocommerce-account .wp-block-post-title, 
.woocommerce-account main .woocommerce, 
.woocommerce-cart .wp-block-post-title, 
.woocommerce-cart main .woocommerce, 
.woocommerce-checkout .wp-block-post-title, 
.woocommerce-checkout main .woocommerce {
	max-width: var(--wp--style--global--content-size);
}


.post-type-archive-product.woocommerce-shop,
.tax-product_cat.woocommerce-page{
	.products{
		.product-category{
			
			border-bottom: 1px solid var(--wp--preset--color--custom-grey-500);
			
			.woocommerce-loop-category__title{
				text-align: center;
				font-family: var(--wp--preset--font-family--eb-garamond);
				font-style: italic;
				font-weight: 300;
				font-size: var(--wp--preset--font-size--custom-4);
				
					
				.count{
					display: none;
				}
			}
		}
	}
}

.wc-block-product-template.wp-block-woocommerce-product-template{
	.woocommerce-price-suffix{
		font-size: 0;
		visibility: hidden;
		position: absolute;
		left: -9999;
	}
}

.wc-block-catalog-sorting{
	select{
		font-family: var(--wp--preset--font-family--din-condensed);
		font-size: var(--wp--preset--font-size--custom-3);
		text-transform: uppercase;
		background: #FFF;
		border-radius: 0;
		padding-top: var(--wp--preset--spacing--20);
		padding-right: var(--wp--preset--spacing--40);
		padding-bottom: var(--wp--preset--spacing--20);
		padding-left: var(--wp--preset--spacing--40);
		box-shadow: none;
		border-width: 1px;
	}
}

#filtrosproductos:not(:has(.wc-block-catalog-sorting)){
	display: none!important;
}


.wc-block-components-product-price{
	del{
		color: var(--wp--preset--color--custom-red-500);
		padding-right: 1rem;
	}
}


.woocommerce-tabs.wc-tabs-wrapper{
	ul.tabs.wc-tabs{
		border-bottom: 1px solid var(--wp--preset--color--custom-grey-500)!important;
		
		li{
			background: #FFF;
			border-radius: 0;
			box-shadow: none;
			border-width: 1px;
			
			a{
				font-family: var(--wp--preset--font-family--din-condensed)!important;
				font-size: var(--wp--preset--font-size--custom-3)!important;
				text-transform: uppercase;
				padding-top: var(--wp--preset--spacing--20);
				padding-right: var(--wp--preset--spacing--40);
				padding-bottom: var(--wp--preset--spacing--20);
				padding-left: var(--wp--preset--spacing--40);

			}
			
			&.active{
				color: #FFFFFF!important;
				Background-color:var(--wp--preset--color--custom-grey-500)!important;
			}
		}
	}
}


.wc-block-cart-items__header,
.wc-block-cart__totals-title,
.checkout.woocommerce-checkout h3{
	font-family: var(--wp--preset--font-family--din-condensed)!important;
	font-size: var(--wp--preset--font-size--custom-3)!important;
	text-transform: uppercase;
	color: var(--wp--preset--color--custom-red-900)!important;
	font-style: normal;
	font-weight: 700;
}


.editor-styles-wrapper table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name, 
table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name,
.editor-styles-wrapper table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total,
table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total {
	font-size: var(--wp--preset--font-size--custom-2);
}

.wc-block-cart__submit-container{
	margin-top: 1rem;
}


/* BLOCKS */

.wp-block-social-links .wp-social-link svg {
	height: inherit;
	width: inherit;
}

.wp-block-navigation{

}

.wp-block-quote{
	&.is-style-ehdlft26-blockquote{
		display: flex;
		flex-direction: column-reverse;
		font-size: var(--wp--preset--font-size--medium);
		
		.wp-block-paragraph{
			font-family: var(--wp--preset--font-family--eb-garamond);
			font-style: italic;
			font-size: 1.5rem;
		}
		
		cite{
			color:var(--wp--preset--color--custom-red-900);
			font-size: var(--wp--preset--font-size--custom-1);
			font-style: normal;
			text-transform: uppercase;
		}
	}
}

.wp-block-list{
	&.is-style-ehdlft26-list-cajasgris{
		padding: 0;
		list-style:none;
		display:flex;
		flex-direction:row;
		justify-content: center;
		flex-wrap: wrap;
		gap: 2rem;
		
		li{
			margin: 0;
			flex: 1 0 20%;
			background: var(--wp--preset--color--custom-grey-100);
			font-family: var(--wp--preset--font-family--eb-garamond);
			font-style: italic;
			font-size: 1.5rem;
			padding: 1rem;
			text-align: center;
		}
	}
	
	&.is-style-ehdlft26-list-columnas{
		display: grid;
		grid-template-columns: 1fr 1fr;
		//min-width: 320px;
		padding: 0;
		
		@media screen and (min-width: 768px){
			grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
		}
			
		li{
			flex: 1 0 calc(1 / 6);
			list-style-type: none;
		}
	}
}

.wp-block-woocommerce-product-collection{
	.taxonomy-product_cat > *{
		display: none;
	}
	.taxonomy-product_cat > :first-child{
		display: inline-block!important;
	}
}


/* CF7 */

.wpcf7-form{
	
	.clausulainfo{
		font-size: var(--wp--preset--font-size--custom-1);
		margin-top: 32px;
	}
	.wpcf7-list-item {
		display: inline-block;
		margin: 0;
	}

	label{
		display: block;
		margin-bottom: 1rem;
		max-width: 100%;
		width: 100%;
	}
	
	.wpcf7-form-control.wpcf7-text,
	.wpcf7-form-control.wpcf7-textarea {
		box-sizing: border-box;
		border: none;
		padding: 8px 16px;
		height: 48px;
		font-size: var(--wp--preset--font-size--custom-1);
		width: 100%;
		border-bottom: 1px solid var(--wp--preset--color--custom-black);
	}
	.wpcf7-form-control.wpcf7-textarea {
		height: 128px;
	}
	
	.campos{
		max-width: 480px;
		margin: 0 auto;
		padding: 1rem;
	}
	.newsletter{
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		gap: 0;
		margin: 1rem 0;
		{
			
		}
	}
	.enviar{
		margin: 2rem -1rem -21px -1rem;
		position: relative;
		display: flex;
		justify-content: center;
		height: 48px;
	
		&::before {
			content: "";
			position: absolute;
			left: 0;
			right: 0;
			top: 50%;
			transform: translateY(-50%);
			height: 1px;
			background: #000;
			z-index: 0;
		}
	}
	
	.wpcf7-form-control.wpcf7-submit{
		height: 48px;
		border: 1px solid var(--wp--preset--color--custom-red-900);
		border-radius: 0px;
		color: var(--wp--preset--color--white);
		font-family: var(--wp--preset--font-family--din-condensed);
		font-size: var(--wp--preset--font-size--custom-2);
		text-transform: uppercase;
		background: var(--wp--preset--color--custom-red-900);
		line-height: inherit;
		padding: calc(0.667em + 2px) calc(1.333em + 2px);
		text-decoration: none;
		text-transform: uppercase;
	
		z-index: 1;
	}
	.wpcf7-spinner{
		position: absolute;
		z-index: 3;
	}
}
