/*
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
-------------------------------------------------------------- */

@font-face {
	font-display: swap;
}


body {

	overflow-x: hidden;
}


.uk-container {
	padding: 20px 0;
}


.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
	margin: 0;
}


.product-loop-image img {
	object-fit: cover;
	aspect-ratio: 400 / 400;
	width: 100%;
	height: auto;
	display: block;
}

.product-loop .img-featured {
	width: 100%;
	opacity: 0;
	transition: opacity 200ms ease;

}

.product-loop:hover .img-featured {
	width: 100%;
	opacity: 1;

}


/* Contenedor cantidad */
.quantity {
    display: flex;
    align-items: center;
}

/* Botones + y - */
.quantity button {
    width: 35px;
    height: 35px;
    background: #eee;
    border: 1px solid #ccc;
    cursor: pointer;
    font-size: 18px;
	padding: 0 !important;
	margin: 0 !important;
}

/* Input cantidad */
.quantity input.qty {
    width: 50px;
    text-align: center;
    border-left: 0;
    border-right: 0;
	 pointer-events: none;
	border: 0;
	width: 2.5rem !important;
}

/* Quitar flechas en Chrome, Safari, Edge */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Quitar flechas en Firefox */
input[type=number] {
    -moz-appearance: textfield;
}







body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
	font-weight: 700;
}


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




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

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

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


.post-content table td,
.post-content table th {
	padding: 6px 6px;
	line-height: 1.2;
	text-align: left;
}

@media (min-width: 1024px) {

	.post-content table td,
	.post-content table th {
		padding: 8px 16px;
	}
}
.price ins {
	text-decoration: none;
}

/* product */

.product-content h2,
.product-content h3,
.product-content h4,
.product-content h5,
.product-content h6 {
	margin-top: 3rem;
	/* Margen por defecto */
	margin-bottom: 0.5em;
	font-weight: 700;
}




.product-content ul,
.product-content ol {
	margin-bottom: 2em;
}

.product-content img,
.product-content .wp-block-embed,
.product-content .wp-block-table {
	margin: 3rem auto;
}

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


.product-content table td,
.product-content table th {
	padding: 6px 6px;
	line-height: 1.2;
	text-align: left;
}

@media (min-width: 1024px) {

	.product-content table td,
	.product-content table th {
		padding: 8px 16px;
	}
}





.two-lines .product_title {
	display: -webkit-box !important;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

.two-lines a {
	display: block;
}




.woocommerce   table.shop_attributes td p {
    margin: 0;
    padding: 0;
}
.woocommerce  table.shop_attributes td {
	padding: 8px;
}
.woocommerce table.shop_attributes th {
	width: 30%;
}
.tabla table td, .tabla table th {
	border: 0;
}

/* Caddy plugin
-------------------------------------------------------------- */
.cc_cart_items_list {
	color: #fff !important;
	font-size: 12px;
	margin-bottom: 4px;
	position: relative;
}

.cc_cart_items_list .ccicon-cart {
	font-size: 26px;
}

.cc_cart_items_list .ccicon-cart:before {
	content: "\eaae";
	font-family: elementskit !important;
}

.cc_cart_items_list .cc_cart_count {
	margin: 0;
	width: 16px;
	height: 16px;
	font-size: 10px;
	background-color: red;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	position: absolute;
	top: -8px;
	right: 0;
}

.cc-fs-meter-used {
	background-color: #6dc83c;
}

.cc-fs-meter-used.cc-bar-active {
	background-color: #6dc83c;
	background: linear-gradient(90deg, rgba(100, 200, 60, 1) 0%, rgb(74 218 172) 55%);
}


.cc-compass .licon::before {
	content: "\eaae";
	font-family: elementskit !important;
	font-size: 20px;
}

.cc-compass.cc-compass-open .licon::before {
	content: "\e870" !important;
}


.cc-compass .cc-compass-count {
	margin: 0;
	width: 16px;
	height: 16px;
	font-size: 10px;
	background-color: red;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	position: absolute;
	top: -8px;
	right: 0;
	left: auto;
}

.cc-compass {
	background-color: var(--e-global-color-secondary) !important;
	box-shadow: none;
	    width: 20px;
    height: 20px;
}

.cc-compass:hover {
	background-image: none;
    background-color: #fff !important;
}

.cc-compass:hover .licon::before {
	color: var(--e-global-color-secondary) !important;
}
.cc-compass.cc-compass-open {
	background-color: #fff !important;
}



/* Wishlist */

.yith-wcwl-add-to-wishlist-button .yith-wcwl-add-to-wishlist-button__label {
	display: none;
}

.yith-wcwl-add-to-wishlist-button.yith-wcwl-theme-button-style {
	border: 0;
}

.elementor-shortcode .yith-add-to-wishlist-button-block {
	margin: 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: 600 !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;
}





.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-mismo-altura img {
	width: auto;
	height: 100%;
	/* importante */
	display: block;
	transition: transform 300ms ease-in-out;
}


.slide-partners .swiper-wrapper {
	-webkit-transition-timing-function: linear !important;
	-o-transition-timing-function: linear !important;
	transition-timing-function: linear !important;
}

.slide-partners img {
	max-width: 150px !important;
	width: 100%;
	max-height: 100px;
	object-fit: contain;
}

.slide-partners .elementor-image-carousel-wrapper {
	overflow: visible;
}





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

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





/* formulari */

.drets {
	text-align: left;
	font-size: 12px;
	line-height: 1.1;
	margin: 16px 0;
}

.formulari-footer .drets {
	color: #fff;
}

.formulari-footer .drets a {
	color: #fff !important;
	text-decoration: underline !important;
}

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

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

.drets .wpcf7-list-item-label {
	width: calc(100% - 30px);
	text-align: left;
}






.wpcf7-acceptance [type=checkbox] {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	width: 16px;
	height: 16px;
	border: 1px solid #1e1e1c;
	background: transparent;
	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;
}

.text-white .wpcf7-acceptance [type=checkbox] {
	border: 1px solid #fff;
}

.text-white .wpcf7-acceptance input[type="checkbox"]:checked {
	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='white'%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");

}

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

.formulari input:focus {
	outline: none;
}




.subscriute {
	display: flex;
	justify-content: space-between;
	flex-direction: column;
}


.subscriute .col-mail {
	width: 100%;
}

.subscriute .col-btn {
	width: 100%;
}



@media (min-width: 767px) {
	.subscriute {
		flex-direction: row;
	}

	.subscriute .col-mail {
		width: 66.666%;
	}

	.subscriute .col-btn {
		width: 33.333%;
	}
}





.subscriute p {
	margin: 0;
}

.subscriute .label {
	visibility: hidden;
	height: 0;
	overflow: hidden;
	position: absolute;
	left: -9999px;
}

.subscriute .col-mail label {
	width: 100%;
}

.subscriute input[type=email] {
	border-radius: 0;
	border-top: 0;
	border-left: 0;
	border-right: 0;
	border: 1px solid var(--e-global-color-secondary);
	background-color: #fff;
	line-height: 1;
	padding: 12px;
	font-size: 15px;
	line-height: 1.2;
	width: 100%;
}

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

.subscriute [type=submit] {
	border-radius: 0;
	border-color: var(--e-global-color-secondary);
	color: #fff;
	background-color: var(--e-global-color-secondary);
	text-transform: none;
	padding: 12px 24px;
	font-size: 15px;
	line-height: 1.2;
	width: 100%;
}

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



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






.text-white {
	color: #fff;
}

.text-white a {
	color: #fff !important;
	text-decoration: underline !important;
}

.subscriute-footer {
	display: flex;
	justify-content: space-between;
	flex-direction: row;
}


.subscriute-footer .col-mail {
	width: calc(100% - 40px);
}

.subscriute-footer .col-btn {
	width: 40px;
}




.subscriute-footer p {
	margin: 0;
}

.subscriute-footer .label {
	visibility: hidden;
	height: 0;
	overflow: hidden;
	position: absolute;
	left: -9999px;
}

.subscriute-footer .col-mail label {
	width: 100%;
}

.subscriute-footer input[type=email] {
	border-radius: 0;
	border-top: 0;
	border-left: 0;
	border-right: 0;
	border: 1px solid var(--e-global-color-secondary);
	background-color: #fff;
	line-height: 1;
	padding: 8px 10px;
	font-size: 15px;
	width: 100%;
}


.subscriute-footer input[type=email]::placeholder {
	color: #fff;
}



.subscriute-footer [type=submit] {
	border-radius: 0;
	border-color: #fff;
	color: #fff;
	text-transform: none;
	padding: 8px 24px;
	font-size: 15px;
	width: 100%;
}

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



.subscriute-footer input[type=submit] {
	font-size: 0;
	/* oculta texto */
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M2 21l21-9L2 3v7l15 2-15 2z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 18px;
	min-height: 40px;
	padding: 8px;
}

.subscriute-footer input[type=email] {
	min-height: 40px;
	padding: 4px;
	border: 0;
	border-bottom: 1px solid #fff;
	background-color: transparent;
	color: #fff;
}


.subscriute-footer .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 p.drets {
	margin: 1rem 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: #0F200F;
	padding: 8px 32px;
	text-transform: none;
	border: 0;
	font-weight: 600;
	margin-top: 20px;
	font-size: 15px;
}

.formulari .enviar .wpcf7-submit:hover,
.formulari .enviar .wpcf7-submit:focus {
	
	background-color: #0F200F;
	color: var(--e-global-color-primary);
	
}



.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;
	}

}
