/*
Theme Name: ONLINE VALLES
Template: hello-elementor

*/


/* Theme admin customization starts here
-------------------------------------------------------------- */
.sbi_notice,
.trp-notice.error,
.sbi_notice.sbi_review_notice_step,
.trp-notice.trp-narrow.notice.notice-info,
.trp-notice.trp-narrow {
	display: none;
}

.grecaptcha-badge {
	visibility: hidden !important;
}



/* Theme customization starts here
-------------------------------------------------------------- */
body {
	overflow-x: hidden;
}

.burguer-menu .elementor-button .elementor-button-content-wrapper {
	display: flex;
	align-items: center;
}


.burguer-menu .elementor-button .elementor-button-icon {
	font-size: 20px;
}

@media (max-width: 766px) {
	.burguer-menu .elementor-button .elementor-button-text {
		display: none;
	}
}



#hide_header {
	
	top: 0;
	width: 100%;
	z-index: 999;
	transition: all 0.3s ease;
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

#hide_header.sticky-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
	animation: slideDown 0.3s ease-out;
}

/* Animación sólo al aparecer */
@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-100px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}







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

.align-center .elementor-icon-wrapper {
	display: flex;
	align-items: center;
}


.no-decoration a {
	text-decoration: none !important;
}

.body-color a {
	color: var(--e-global-color-e2b70b1) !important;
}

.arrow-link a .elementor-button-icon {
	padding-right: 4px;
	font-size: 8px;
}



.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
	margin-top: 1.5em;
	/* Margen por defecto */
	margin-bottom: 0.5em;
}

/* Si un heading sigue a otro heading, sin margen */
.post-content :is(h2, h3, h4, h5, h6)+ :is(h2, h3, h4, h5, h6) {
	margin-top: 0;
}

/* 1) Si el heading es el primer elemento dentro de .post-content → sin margen */
.post-content> :is(h2, h3, h4, h5, h6):first-child {
	margin-top: 0;
}


.post-content ul,
.post-content ol {
	margin-bottom: 1.5em;
}

.post-content .wp-block-image,
.post-content .wp-block-embed,
.post-content .wp-block-table {
	margin: 1.5em auto;
}

.post-content a {
	text-decoration: underline !important;
}




.post-content table td,
.post-content table th {
	padding: 6px 6px;
	font-size: 10px;
	line-height: 1.2;
}

@media (min-width: 1024px) {

	.post-content table td,
	.post-content table th {
		padding: 8px 16px;
		font-size: 12px;
	}
}



.product-content .elementor-widget-text-editor> :is(h2, h3, h4, h5, h6):first-child {
	margin-top: 0;
}

.product-content h2,
.product-content h3,
.product-content h4,
.product-content h5,
.product-content h6 {
	color: var(--e-global-color-primary);
}


.product-content table strong,
.product-content table b {
	color: var(--e-global-color-primary);
}





.product-image a {
	width: 100%;
	height: 0;
	padding-bottom: 100%;
	position: relative;
}

.product-image a img {
	height: 100%;
	width: auto;
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	object-fit: cover;
}




.iconos-caracteristicas {
	display: flex;
	flex-wrap: wrap;
	/* permite que bajen a la siguiente línea si hay muchas */
	gap: 5px;
	/* espacio entre iconos */
	align-items: center;
	/* centra verticalmente si hay diferentes alturas */
	justify-content: flex-end;
	margin-bottom: -20px;
	position: relative;
	z-index: 99;
	position: absolute;
	top: 0;
	right: 0;
}

.elementor .iconos-caracteristicas img {
	max-width: 20px !important;
	/* ancho máximo 50px */
	height: auto !important;
	/* mantiene proporción */
	border: 1px solid #ccc;
	background-color: #fff;
	border-radius: 50%;
}

@media (min-width: 1024px) {
	.iconos-caracteristicas {
		margin-bottom: -30px;
	}

	.elementor .iconos-caracteristicas img {
		max-width: 40px !important;
		/* ancho máximo 50px */
	}
}


.caracteristicas-single-post {
	display: flex;
	flex-wrap: wrap;
	/* permite que bajen a la siguiente línea si hay muchas */
	gap: 5px;
	/* espacio entre iconos */
	align-items: center;
	/* centra verticalmente si hay diferentes alturas */
	justify-content: center;
	margin-bottom: 0;
	position: relative;
	z-index: 99;
}

.elementor .caracteristicas-single-post img {
	max-width: 20px !important;
	/* ancho máximo 50px */
	height: auto !important;
	/* mantiene proporción */
	border: 1px solid #ccc;
	background-color: #fff;
	border-radius: 50%;
}

@media (min-width: 1024px) {
	.elementor .caracteristicas-single-post img {
		max-width: 40px !important;
		/* ancho máximo 50px */
	}
}






ul.menu-shortcode {
	list-style: none;
	margin: 0;
	padding: 0;
}





.encima {
	position: relative;
	z-index: 10;
}

.overflow-x-h,
.econ.overflow-x-h {
	overflow-x: hidden !important;
}

.relative {
	position: relative;
}

b,
strong {
	font-weight: bold !important;
}

.align-top {
	margin-bottom: auto !important;
}

.align-right {
	margin-left: auto !important;
}

.align-bottom {
	margin-top: auto !important;
}

.align-left {
	margin-right: auto !important;
}






/* elementor */
.boton-100 .elementor-button-link {
	width: 100%;
}

.boton-100 .elementor-button-content-wrapper {
	width: 100%;
	display: flex;
	justify-content: space-between;
}





/* formulari */
.hola {
	text-align: center;
	font-size: 14px;
}

@media (min-width: 1024px) {
	.hola {

		font-size: 18px;
	}
}

.wpcf7 a {
	text-decoration: underline !important;
}

.formulari .wpcf7-not-valid-tip {
	position: absolute;
}

.formulari p.drets,
.drets {
	text-align: center;
	font-size: 10px;
	line-height: 1.1;
	margin: 5px auto;
}

.drets label {
	line-height: 1.1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.drets .wpcf7-list-item {
	margin: 0;
	width: 100%;
}

.drets .wpcf7-list-item-label {
	width: auto;
	text-align: left;
}


.wpcf7-acceptance [type=checkbox] {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	width: 16px;
	height: 16px;
	border: 1px solid #bababa;
	background-color: #fff;
	border-radius: 0;
	position: relative;
	cursor: pointer;

}

.wpcf7-acceptance input[type="checkbox"]:checked {
	background-color: transparent;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20' fill='%23000000'%3E%3Cpath d='M0 0h24v24H0V0z' fill='none'/%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 14px;
}


.subscriute .wpcf7-not-valid-tip,
.formulari .wpcf7-not-valid-tip {
	display: none !important;
}






.subscriute p {
	display: flex;
	justify-content: center;
	align-items: flex-start;
}

.subscriute label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}


.subscriute input[type=email] {
	border-radius: 0;
	border-top: 0;
	border-left: 0;
	border-right: 0;
	border-bottom: 1px solid #111;
	background-color: transparent;
	line-height: 1;
	padding: 8px 10px;
}

.subscriute input[type=email].wpcf7-not-valid {
	border-bottom: 1px solid red;
}

.subscriute [type=submit] {
	border-radius: 20px;
	border: 1px solid var(--e-global-color-primary) !important;
	color: #fff !important;
	background-color: var(--e-global-color-primary) !important;
	text-transform: none;
	line-height: 1;
	padding: 10px 24px;
	font-size: 16px;
	font-weight: 500;
}

.subscriute [type=submit]:hover,
.subscriute [type=submit]:focus {
	border-color: #111 !important;
	color: #fff !important;
	background-color: #111 !important;
}


.subscriute .wpcf7-spinner {
	display: none;
}




.formulari a {
	color: #000;
}

.formulari a:hover {
	color: #222;
}

.formulari .form-group {
	display: flex;
	align-items: center;
}

.formulari .form-group .label {
	display: block;
	white-space: nowrap;
	margin-right: 8px;
	font-size: 16px;

}

.formulari p {
	margin: 0;
}

.formulari .form-group .wpcf7-form-control {
	border-radius: 0;
	border-top: 0;
	border-left: 0;
	border-right: 0;
	border: 1px solid #bababa;
	background-color: #fff;
	padding: 4px 8px;
	font-size: 14px;
}

.formulari .form-textarea {
	width: 100%;
}

.formulari .form-textarea .wpcf7-form-control-wrap {
	display: block;
	margin-top: 10px;
}

.formulari.contacte .label {
	font-size: 16px;
	padding: 4px 8px;
	display: none;
}


.formulari .wpcf7-textarea {
	border-radius: 0;
	border-top: 0;
	border-left: 0;
	border-right: 0;
	border: 1px solid #bababa;
	background-color: #fff;
	font-size: 14px;
}

.formulari .wpcf7-form-control-wrap {
	width: 100%;
}

.formulari .enviar {
	text-align: center;
}

.formulari .enviar .wpcf7-submit {
	border-radius: 50px;
	background-color: var(--e-global-color-primary);
	color: #fff;
	padding: 8px 32px;
	text-transform: none;
	border: 0;
	font-weight: 500;
	margin-top: 20px;
}

.formulari .enviar .wpcf7-submit:hover,
.formulari .enviar .wpcf7-submit:focus {
	
	background-color: #000;
	color: #fff;
	
}



.formulari .enviar .wpcf7-spinner {
	display: none;
}




.formulari-row {
	display: grid;
	grid-template-columns: repeat(1, minmax(0, 1fr));
	column-gap: 10px;
	row-gap: 10px;
}



@media (min-width: 766px) {
	.formulari-row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.formulari-col-2 {
		grid-column: span 2;
	}

}


.hide-text .elementor-button-text {
	display: none;
}

.elementor-kit-6 a.skip-link {
	color: #000;
}


/*
.imagen-avanzada {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.imagen-avanzada img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.imagen-avanzada.land43 { padding-top: 75%; }
.imagen-avanzada.land32 { padding-top: 66.66%; }
.imagen-avanzada.land169 { padding-top: 56.25%; }
.imagen-avanzada.land21 { padding-top: 50%; }
.imagen-avanzada.land31 { padding-top: 33.33%; }
.imagen-avanzada.land41 { padding-top: 25%; }
.imagen-avanzada.port34 { padding-top: 133.33%; }
.imagen-avanzada.port23 { padding-top: 150%; }
.imagen-avanzada.square { padding-top: 100%; }

.imagen-avanzada img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
	transition: transform 300ms ease-in-out;
}
*/

.imagen-avanzada {
	width: 100%;
	overflow: hidden;
}

/* Proporciones aplicadas directamente a la imagen */
.imagen-avanzada.land43 img {
	aspect-ratio: 4 / 3;
}

.imagen-avanzada.land32 img {
	aspect-ratio: 3 / 2;
}

.imagen-avanzada.land169 img {
	aspect-ratio: 16 / 9;
}

.imagen-avanzada.land21 img {
	aspect-ratio: 2 / 1;
}

.imagen-avanzada.land31 img {
	aspect-ratio: 3 / 1;
}

.imagen-avanzada.land41 img {
	aspect-ratio: 4 / 1;
}

.imagen-avanzada.port34 img {
	aspect-ratio: 3 / 4;
}

.imagen-avanzada.port23 img {
	aspect-ratio: 2 / 3;
}

.imagen-avanzada.square img {
	aspect-ratio: 1 / 1;
}

.imagen-avanzada img {
	width: 100%;
	height: auto;
	/* importante */
	object-fit: cover;
	display: block;
	transition: transform 300ms ease-in-out;
}


.imagen-avanzada a:hover img {
	/* Escalar la imagen un 5% (ejemplo) */
	transform: scale(1.1) rotate(-3deg);

}




/* degradado metalico */
.stainless-satin {
	position: relative;
	overflow: hidden;

	/* Degradado base más realista: zonas oscuras y claras como la mesa */
	background: linear-gradient(90deg,
			#a8acb0 0%,
			#d3d5d7 25%,
			#f0f1f2 50%,
			#d2d4d6 75%,
			#a8acb0 100%);

	/* Reflejo muy suave para imitar el brillo satinado */
	background-blend-mode: normal;
}

/* Capa de brillo suave similar al reflejo real del acero */
.stainless-satin::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(180deg,
			rgba(255, 255, 255, 0.35) 0%,
			rgba(255, 255, 255, 0.08) 35%,
			rgba(255, 255, 255, 0.00) 60%,
			rgba(255, 255, 255, 0.12) 100%);

	mix-blend-mode: screen;
	opacity: 0.9;
}