/*
Theme Name: hello-custom-child-theme
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Custom Elementor Child is a child theme of Hello Elementor.
Author: Dinesh
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* new design changes */

:root{
	--u: 1px;
}

/* new design changes */
html{
	scroll-behavior: auto !important;
}

/* new design changes */
@media only screen and (min-width: 992px){
	:root{
		--u: clamp(0.6px, min(calc(100vw / 1920), calc((100vh - 101px) / 870)), 1px);
	}
}

/* new design changes */
@media only screen and (min-width: 992px){

	/* new design changes */
	.btn-style-one{
		font-size: calc(16 * var(--u));
		letter-spacing: calc(3 * var(--u));
		padding: calc(19 * var(--u)) calc(30 * var(--u)) calc(15 * var(--u));
	}

	/* new design changes */
	.region-one{
		padding: calc(40 * var(--u)) 0px calc(80 * var(--u)) calc(50 * var(--u));
	}

	.region-one.style-two{
		padding-bottom: calc(80 * var(--u));
	}

	.region-one h2{
		font-size: calc(36 * var(--u));
		line-height: calc(40 * var(--u));
		margin-bottom: calc(25 * var(--u));
	}

	/* new design changes */
	.region-one.style-two .como-box .image{
		max-width: calc(1456 * var(--u));
	}

	/* new design changes */
	.region-one .arrow_one{
		position: absolute;
		right: calc(55 * var(--u));
		top: calc(60 * var(--u));
		z-index: 5;
		width: calc(320 * var(--u));
		cursor: pointer;
		font-size: calc(16 * var(--u));
		line-height: calc(26 * var(--u));
		font-weight: 300;
		letter-spacing: 0.2em;
		font-family: 'Nohemi';
		padding-bottom: calc(50 * var(--u));
		color: #5E2E30;
		text-transform: uppercase;
		white-space: nowrap;
		transition: opacity 400ms ease, visibility 400ms ease;
	}

	.region-one .arrow_one:before{
		position: absolute;
		content: '';
		left: 0px;
		bottom: 0px;
		width: calc(320 * var(--u));
		height: calc(42 * var(--u));
		background: url(assets/images/icons/long-arrow6.svg) no-repeat;
		background-size: contain;
	}

	/* new design changes */
	.region-one .arrow_two{
		position: absolute;
		left: calc(60 * var(--u));
		bottom: calc(345 * var(--u));
		z-index: 5;
		font-size: calc(16 * var(--u));
		letter-spacing: calc(5 * var(--u));
		padding-bottom: calc(40 * var(--u));
		transition: opacity 400ms ease, visibility 400ms ease;
	}

	.region-one .arrow_two:before{
		top: calc(-105 * var(--u));
		right: calc(140 * var(--u));
		width: calc(43 * var(--u));
		height: calc(321 * var(--u));
		background-size: contain;
	}

	/* new design changes */
	.region-one.slider-at-end .arrow_one,
	.region-one.slider-at-end .arrow_two{
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
	}

	/* new design changes */
	.region-one .arrow_back{
		position: absolute;
		right: calc(55 * var(--u));
		top: calc(94 * var(--u));
		z-index: 5;
		width: calc(320 * var(--u));
		height: calc(42 * var(--u));
		cursor: pointer;
		background: url(assets/images/icons/long-arrow3.svg) no-repeat;
		background-size: contain;
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transition: opacity 400ms ease, visibility 400ms ease;
	}

	.region-one.slider-at-end .arrow_back{
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}

	/* new design changes */
	.como-box .image .content{
		margin-top: calc(-79 * var(--u));
		padding-right: calc(80 * var(--u));
	}

	.como-box .image .content h1,
	.alumia-box h1,
	.todos-box h1,
	.trigo-box h1{
		font-size: calc(96 * var(--u));
		line-height: calc(96 * var(--u));
	}

	/* new design changes */
	.mundo-box,
	.alumia-box,
	.historia-box{
		margin-top: calc(105 * var(--u));
	}

	.region-one.style-two .mundo-box .image{
		max-width: calc(738 * var(--u));
	}

	.region-one.style-two .mundo-box .content{
		max-width: calc(658 * var(--u));
		margin-left: calc(80 * var(--u));
		padding-top: calc(180 * var(--u));
	}

	.mundo-box p,
	.historia-box p,
	.todos-box p,
	.trigo-box .overlay-content p{
		font-size: calc(24 * var(--u));
		line-height: calc(40 * var(--u));
	}

	.mundo-box p{
		padding-right: calc(90 * var(--u));
		margin-bottom: calc(10 * var(--u));
	}

	.mundo-box h2,
	.historia-box h2{
		font-size: calc(36 * var(--u));
		line-height: calc(44 * var(--u));
	}

	.mundo-box h2{
		margin-top: calc(120 * var(--u));
	}

	/* new design changes */
	.region-one.style-two .alumia-box .image{
		max-width: calc(1432 * var(--u));
	}

	/* new design changes */
	.alumia-box .content,
	.todos-box .content{
		margin-top: calc(-180 * var(--u));
		padding-right: calc(80 * var(--u));
	}

	/* new design changes */
	.region-one.style-two .historia-box .content{
		max-width: calc(738 * var(--u));
		padding-top: calc(140 * var(--u));
	}

	.historia-box .image{
		margin-top: calc(40 * var(--u));
	}

	.historia-box p{
		padding-right: calc(170 * var(--u));
		margin-bottom: calc(5 * var(--u));
	}

	.region-one.style-two .historia-box h2{
		margin-top: calc(205 * var(--u));
	}

	/* new design changes */
	.todos-box{
		margin-top: calc(100 * var(--u));
	}

	.region-one.style-two .todos-box .image{
		max-width: calc(1044 * var(--u));
		margin-top: calc(10 * var(--u));
	}

	.region-one.style-two .todos-box .text-content{
		max-width: calc(525 * var(--u));
		padding-top: calc(120 * var(--u));
		padding-left: calc(60 * var(--u));
		padding-bottom: calc(220 * var(--u));
	}

	/* new design changes */
	.trigo-box{
		margin-top: calc(225 * var(--u));
	}

	.region-one.style-two .trigo-box .image{
		max-width: calc(1020 * var(--u));
	}

	.trigo-box .content{
		margin-bottom: calc(-83 * var(--u));
		padding-right: calc(80 * var(--u));
	}

	.trigo-box .overlay-content{
		left: calc(60 * var(--u));
		top: calc(230 * var(--u));
		max-width: calc(530 * var(--u));
	}

	.trigo-box .overlay-content p{
		margin-bottom: calc(8 * var(--u));
	}

	/* new design changes */
	.tourism-one{
		padding-top: calc(80 * var(--u));
	}

	.tourism-one:before{
		top: calc(160 * var(--u));
	}

	.tourism-one .tourism-title h2{
		font-size: calc(96 * var(--u));
		line-height: calc(96 * var(--u));
	}

	.tourism-one .upper-box{
		margin-top: calc(100 * var(--u));
		padding-left: calc(110 * var(--u));
		padding-right: calc(380 * var(--u));
	}

	.tourism-one .upper-box:before{
		width: calc(42 * var(--u));
		height: calc(320 * var(--u));
		background-size: contain;
	}

	.tourism-one .upper-box p{
		font-size: calc(24 * var(--u));
		line-height: calc(40 * var(--u));
		padding-right: calc(72 * var(--u));
		margin-bottom: calc(80 * var(--u));
	}

	.tourism-one .upper-box h3{
		font-size: calc(36 * var(--u));
		line-height: calc(40 * var(--u));
	}

	.tourism-one .button-box{
		display: block;
		bottom: calc(90 * var(--u));
	}

	.tourism-one .blocks_outer{
		margin-top: calc(-25 * var(--u));
	}

	.tourism-block_one{
		padding-bottom: calc(20 * var(--u));
	}

	.tourism-block_one .content{
		padding-left: calc(20 * var(--u));
	}

	.tourism-block_one .tourism-block_one-number{
		font-size: calc(36 * var(--u));
		line-height: calc(40 * var(--u));
	}

	.tourism-block_one h2{
		font-size: calc(96 * var(--u));
		line-height: calc(96 * var(--u));
		margin-top: calc(30 * var(--u));
	}

	.tourism-block_one .text{
		font-size: calc(24 * var(--u));
		line-height: calc(40 * var(--u));
		margin-top: calc(25 * var(--u));
		max-width: calc(650 * var(--u));
		margin-left: calc(70 * var(--u));
	}

	.tourism-block_one .image{
		margin-left: calc(-48 * var(--u));
		border-radius: calc(30 * var(--u)) calc(30 * var(--u)) 0px 0px;
	}

	/* new design changes */
	.products-one{
		padding-top: calc(120 * var(--u));
		padding-bottom: calc(70 * var(--u));
	}

	.products-one:before{
		bottom: calc(420 * var(--u));
	}

	.products-one .swiper-container{
		padding-top: calc(120 * var(--u));
		margin-top: calc(-120 * var(--u));
	}

	.products-one .products-title{
		margin-bottom: calc(40 * var(--u));
	}

	.products-one .products-title h2{
		font-size: calc(96 * var(--u));
		line-height: calc(96 * var(--u));
	}

	.products-one_arrows .four-item_carousel-next{
		font-size: calc(16 * var(--u));
		margin-right: calc(100 * var(--u));
		letter-spacing: calc(3.2 * var(--u));
		padding-bottom: calc(50 * var(--u));
	}

	.products-one_arrows .four-item_carousel-next:before{
		width: calc(320 * var(--u));
		height: calc(42 * var(--u));
		background-size: contain;
	}

	.product-block_one{
		margin-bottom: calc(30 * var(--u));
	}

	.product-block_one-inner:before{
		top: calc(40 * var(--u));
		border-radius: calc(20 * var(--u));
	}

	.product-block_one-content{
		padding: 0px calc(30 * var(--u)) calc(30 * var(--u));
	}

	.product-block_one .product-block_one-ribbon{
		left: calc(25 * var(--u));
		top: calc(65 * var(--u));
		font-size: calc(16 * var(--u));
		letter-spacing: calc(2 * var(--u));
		padding: calc(8 * var(--u)) calc(16 * var(--u)) calc(6 * var(--u));
	}

	.product-block_one .product-block_one-tag{
		font-size: calc(16 * var(--u));
		letter-spacing: calc(2 * var(--u));
		padding: calc(9 * var(--u)) calc(18 * var(--u)) calc(8 * var(--u));
		border-radius: calc(20 * var(--u));
	}

	.product-block_one h6{
		font-size: calc(16 * var(--u));
		line-height: calc(28 * var(--u));
	}

	.product-block_one .overlay-box .like-post{
		right: calc(30 * var(--u));
		top: calc(32 * var(--u));
		font-size: calc(30 * var(--u));
	}

	.products-one .button-box{
		margin-top: calc(35 * var(--u));
	}

	/* new design changes */
	.contact-one .left-column .inner-column{
		max-width: calc(890 * var(--u));
		padding: calc(100 * var(--u)) calc(70 * var(--u)) calc(40 * var(--u)) 15px;
	}

	.contact-one .left-column h2{
		font-size: calc(96 * var(--u));
		line-height: calc(96 * var(--u));
		margin-bottom: calc(70 * var(--u));
	}

	.contact-form{
		margin-bottom: calc(70 * var(--u));
	}

	.contact-form .form-group{
		margin-bottom: calc(35 * var(--u));
	}

	.contact-form .form-group input[type="text"],
	.contact-form .form-group input[type="password"],
	.contact-form .form-group input[type="tel"],
	.contact-form .form-group input[type="email"],
	.contact-form .form-group select{
		font-size: calc(24 * var(--u));
		line-height: calc(40 * var(--u));
		height: calc(55 * var(--u));
	}

	.contact-form .form-group textarea{
		font-size: calc(24 * var(--u));
		line-height: calc(40 * var(--u));
		height: calc(60 * var(--u));
	}

	.contact-form .form-group .submit-btn{
		font-size: calc(16 * var(--u));
		letter-spacing: calc(3 * var(--u));
		padding: calc(17 * var(--u)) calc(32 * var(--u));
	}

	.contact-form .check-box label{
		font-size: calc(16 * var(--u));
		letter-spacing: calc(2 * var(--u));
		padding-left: calc(45 * var(--u));
	}

	.contact-form .check-box label:before{
		width: calc(27 * var(--u));
		height: calc(27 * var(--u));
	}

	.contact-form .check-box label:after{
		left: calc(5 * var(--u));
		height: calc(30 * var(--u));
		line-height: calc(30 * var(--u));
		font-size: calc(18 * var(--u));
	}

	.contact-one .contact-list li{
		font-size: calc(24 * var(--u));
		line-height: calc(40 * var(--u));
		margin-bottom: calc(14 * var(--u));
	}

	.contact-one .contact-list li span{
		font-size: calc(16 * var(--u));
	}

	.contact-one .right-column .copyright{
		font-size: calc(16 * var(--u));
		right: calc(60 * var(--u));
		bottom: calc(50 * var(--u));
	}

	/* new design changes */
	.main-footer{
		/*padding: calc(38 * var(--u)) 0px;*/
	}

	.main-footer .inner-container{
		padding-left: calc(100 * var(--u));
	}

	.main-footer .icons{
		display: inline-block;
		margin: 0 30px 0 10px;
	}

	.main-footer .icons.right{
		margin: 0;
	}

	/* new design changes */
	.main-menu_box .lower-box{
		padding-top: calc(120 * var(--u));
		padding-bottom: calc(60 * var(--u));
	}

	.main-menu_box .lower-box .lower-box_inner{
		padding-left: calc(190 * var(--u));
	}

	.main-menu_navs li a{
		font-size: calc(80 * var(--u));
	}

	.menu-image_outer{
		padding-top: calc(20 * var(--u));
		padding-left: calc(90 * var(--u));
	}

	.menu-image_outer .menu-add{
		left: calc(-140 * var(--u));
		top: calc(-40 * var(--u));
	}

	.menu-image_outer .menu-add img{
		width: calc(288 * var(--u));
	}

	.menu-image_outer .main-image{
		margin-bottom: calc(28 * var(--u));
	}

	.menu-image_outer .main-image img{
		max-width: calc(687 * var(--u));
	}

	.menu-lower_navs{
		margin-top: calc(80 * var(--u));
		padding-left: calc(195 * var(--u));
	}

	/* new design changes */
	.search-popup .form-group input[type="text"],
	.search-popup .form-group input[type="search"]{
		font-size: calc(80 * var(--u));
		line-height: calc(80 * var(--u));
		height: calc(90 * var(--u));
	}

}

/* new design changes */
@media only screen and (max-width: 991px){

	.mobile-region-one{
		padding-bottom: 110px;
	}

	.mobile-como-box,
	.mobile-como-box .image,
	.mobile-mundo-box,
	.mobile-alumia-box,
	.mobile-trigo-box .image,
	.mobile-todos-box,
	.mobile-historia-box{
		max-width: calc(100vw - 90px);
	}

	.mobile-mundo-box .image{
		height: auto;
	}

	.mobile-mundo-box .image img{
		position: absolute;
		left: 0px;
		top: 0px;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.mobile-historia-box{
		flex-wrap: wrap;
		gap: 30px;
	}

	.mobile-historia-box .content{
		max-width: 100%;
	}

	.mobile-todos-box{
		flex-wrap: wrap;
	}

	.mobile-todos-box .image{
		width: 100%;
		flex: 0 0 100%;
	}

	.mobile-todos-box .text-content{
		flex: 1 1 200px;
	}

	.mobile-como-box h1 span,
	.mobile-alumia-box h1 span,
	.mobile-todos-box h1 span,
	.mobile-trigo-box h1 span{
		white-space: nowrap;
	}

	.mobile-trigo-box .overlay-content{
		max-width: calc(100% - 60px);
	}

	.mobile-region-one .arrow_one{
		position: absolute;
		right: 30px;
		bottom: 20px;
		z-index: 5;
		width: 200px;
		cursor: pointer;
		font-size: 11px;
		line-height: 18px;
		font-weight: 300;
		letter-spacing: 0.2em;
		font-family: 'Nohemi';
		padding-bottom: 32px;
		color: #5E2E30;
		text-transform: uppercase;
		white-space: nowrap;
		transition: opacity 400ms ease, visibility 400ms ease;
	}

	.mobile-region-one .arrow_one:before{
		position: absolute;
		content: '';
		left: 0px;
		bottom: 0px;
		width: 200px;
		height: 27px;
		background: url(assets/images/icons/long-arrow6.svg) no-repeat;
		background-size: contain;
	}

	.mobile-region-one .arrow_back{
		position: absolute;
		right: 30px;
		bottom: 20px;
		z-index: 5;
		width: 200px;
		height: 27px;
		cursor: pointer;
		background: url(assets/images/icons/long-arrow3.svg) no-repeat;
		background-size: contain;
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transition: opacity 400ms ease, visibility 400ms ease;
	}

	.mobile-region-one.slider-at-end .arrow_one{
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
	}

	.mobile-region-one.slider-at-end .arrow_back{
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}

}

/* new design changes */
@media only screen and (max-width: 575px){

	.mobile-region-one{
		padding-left: 24px;
		padding-top: 50px;
	}

	.mobile-como-box,
	.mobile-como-box .image,
	.mobile-mundo-box,
	.mobile-alumia-box,
	.mobile-trigo-box .image,
	.mobile-todos-box,
	.mobile-historia-box{
		width: calc(100vw - 96px);
		max-width: calc(100vw - 96px);
	}

	.mobile-region-one h2{
		font-size: 15px;
		line-height: 22px;
		margin-bottom: 20px;
	}

	.mobile-region-one h2 br{
		display: none;
	}

	.mobile-como-box .image .content h1,
	.mobile-alumia-box h1,
	.mobile-todos-box h1,
	.mobile-trigo-box h1{
		font-size: 30px;
		line-height: 34px;
	}

	.mobile-como-box .image .content,
	.mobile-alumia-box .content,
	.mobile-todos-box .content{
		margin-top: -26px;
		padding-right: 20px;
	}

	.mobile-alumia-box h1{
		font-size: 26px;
		line-height: 30px;
	}

	.mobile-alumia-box .content{
		margin-top: -23px;
	}

	.mobile-mundo-box .image{
		width: 45%;
		flex: 0 0 45%;
	}

	.mobile-mundo-box .content{
		margin-left: 15px;
	}

	.mobile-todos-box .image{
		width: 100%;
		flex: 0 0 100%;
	}

	.mobile-todos-box .text-content{
		padding-top: 0px;
	}

	.mobile-todos-box p,
	.mobile-historia-box p{
		font-size: 13px;
		line-height: 22px;
	}

	.mobile-trigo-box .image img{
		height: 380px;
		object-fit: cover;
	}

	.mobile-trigo-box .content{
		margin-bottom: -30px;
		padding-right: 12px;
	}

	.mobile-trigo-box .overlay-content{
		left: 15px;
		top: 70px;
		max-width: calc(100% - 30px);
	}

	.mobile-trigo-box .overlay-content p{
		font-size: 12px;
		line-height: 18px;
	}
	.main-footer .inner-container .icons{
		display: inline-block;
		margin: 12px;
		text-align: center;
	}

}


/* =========================================================================
   1. Top menu / header — remove the default gray <button> background.
   The "Menu", "Loja" (search) triggers are real <button> elements, so the
   user-agent gray background + border was showing. Reset them to blend in
   with the surrounding anchor links.
   ========================================================================= */
.main-header button,
.main-header .menu_button,
.main-header .search-box-btn,
.main-menu_box button,
.main-menu_box .menu_button,
.main-menu_box .search-box-btn {
	background: transparent;
	background-color: transparent;
	border: 0;
	outline: none;
	box-shadow: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	padding: 0;
}

.main-header button:hover,
.main-header button:focus,
.main-menu_box button:hover,
.main-menu_box button:focus {
	background: transparent;
	background-color: transparent;
	box-shadow: none;
}

/* =========================================================================
   3. Wishlist heart (YITH) inside the product overlay.
   The static design used ".like-post.fa-heart"; we now drop the YITH
   [yith_wcwl_add_to_wishlist] output inside ".like-post" and style it to
   look/behave like that heart icon.
   ========================================================================= */
.product-block_one .overlay-box .like-post {
	line-height: 1;
	font-family: inherit; /* the FA glyph now comes from YITH's own icon */
}
.product-block_one .overlay-box .like-post .yith-wcwl-add-to-wishlist,
.product-block_one .overlay-box .like-post .yith-wcwl-add-button {
	margin: 0;
	padding: 0;
	display: inline-block;
	line-height: 1;
}
.product-block_one .overlay-box .like-post a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #5e2e30;
	text-decoration: none;
	transition: color 300ms ease, transform 300ms ease;
}
.product-block_one .overlay-box .like-post a:hover {
	color: #b5121b;
	transform: scale(1.12);
}
/* Hide the "Add to wishlist / Browse wishlist" text label — icon only. */
.product-block_one .overlay-box .like-post a > span {
	display: none;
}
.product-block_one .overlay-box .like-post svg,
.product-block_one .overlay-box .like-post .yith-wcwl-icon-svg {
	width: 30px;
	height: 30px;
	stroke: currentColor;
}
.product-block_one .overlay-box .like-post i {
	font-size: 30px;
	color: currentColor;
}
/* Product already in the wishlist -> filled/active colour. */
.product-block_one .overlay-box .like-post .yith-wcwl-wishlistaddedbrowse a,
.product-block_one .overlay-box .like-post .yith-wcwl-wishlistexistsbrowse a,
.product-block_one .overlay-box .like-post a.exists {
	color: #b5121b;
}
/* YITH "added" feedback tooltip — keep it unobtrusive. */
.product-block_one .overlay-box .like-post .yith-wcwl-add-to-wishlist .feedback {
	display: none !important;
}

/* =========================================================================
   5. wp-admin: the fixed theme header sits at a very high z-index (999999),
   which was covering the WordPress admin-bar dropdown menus. Push the admin
   bar (and therefore its dropdowns) above everything in the theme.
   ========================================================================= */
#wpadminbar {
	z-index: 2147483646 !important;
}

/* =========================================================================
   Shop: "COMPRAR" -> "VER CESTO" on the SAME button (AJAX add to cart).
   Hide WooCommerce's default appended "View cart" link; the product's own
   button turns into a filled cart link instead (script.js added_to_cart).
   ========================================================================= */
a.added_to_cart.wc-forward {
	display: none !important;
}
.product-block_two .tag.view-cart-active {
	color: #ffffff;
	border-color: #5e2e30;
	background-color: #5e2e30;
}

@media (min-width: 1025px) {

	/* --- page-level scale --- */
	#scale-outer {
		position: relative;
		width: 100%;
		overflow: hidden;
	}
	#scale-canvas {
		width: 1920px;                /*  Figma design width */
		transform-origin: top left;
		display: flex;
		flex-direction: column;
	}
	/* push footer to bottom on short pages; slack shows as background */
	#scale-canvas > :last-child { margin-top: auto; }

}

@media (min-width: 1025px) {
	.slider-one {
		height: calc(100vh / var(--page-scale, 1)) !important;  /* ×scale = exactly one screen */
		min-height: 0 !important;
		flex: 0 0 auto !important;                               /* no grow, no shrink */
	}
	.slider-one_content { padding-bottom: 180px; }   /* was 90px */
}

@media (min-width: 1025px) {
	.main-menu_box {
		display: flex;
		flex-direction: column;
		overflow: hidden;
	}
	.main-menu_box-lower {   /* liquid header, natural height, top */
		flex: 0 0 auto;
	}
	.mm-inner {              /* takes the leftover height */
		flex: 1 1 auto;
		display: flex;
		flex-direction: column;
		justify-content: center;
		transform-origin: center center;   /* scale from center -> no top clip */
	}
}

/* ===== BELOW 1025px: hand off to your mobile layout ===== */
@media (max-width: 1024px) {
	#scale-canvas { width: auto; transform: none; }
}
@media (min-width: 1025px) {
	/* force the full-1920 desktop values regardless of real viewport */
	.main-menu_box .auto-container,
	.main-menu_box .lower-box .auto-container { max-width: 1840px !important; }

	.main-menu_box .lower-box .lower-box_inner { padding-left: 190px !important; }
	.menu-lower_navs { padding-left: 195px !important; margin-top: 80px !important; }

	/* keep the desktop language switcher visible, mobile one hidden */
	.main-menu_box .language-options { display: block !important; }
	.main-menu_box .mobile-language_options { display: none !important; }
}
@media (min-width: 1025px) {
	.main-menu_box .lower-box { padding-top: 80px; padding-bottom: 40px; }  /* was 120 / 60 */
	.menu-lower_navs { margin-top: 40px; }                                  /* was 80 */
}

/* Header language switcher (over the hero) */
.language-options {
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.language-options li { position: relative; }

.language-options li a {
	font-family: 'Nohemi';
	font-size: 20px;      /* design px, gets scaled down */
	font-weight: 300;
	margin: 0px 5px;
	line-height: 1;
	text-transform: uppercase;
	color: #ffffff;                 /* default = inactive, white on the image */
	transition: color 300ms ease, font-weight 300ms ease;
}
/* GTranslate EN/PT switcher — normalize everywhere, especially in the mega menu */
.gtranslate_wrapper.gt-cloned{
	display:inline-flex;
	align-items:center;
	gap:8px;
	line-height:1;
}

.gtranslate_wrapper.gt-cloned a.glink{
	/* kill inherited mega-menu link styling */
	display:inline-block;
	color: #5E2E30;
	margin: 0 5px;
	padding:0;
	border:0;
	background:none;
	text-transform:uppercase;
	font-size:20px;
	line-height:1;
	text-decoration:none;
	transition:opacity .2s ease;
}

.gtranslate_wrapper.gt-cloned a.glink:hover{
	opacity:1;
	text-decoration:none;
}

/* the active language */
.gtranslate_wrapper.gt-cloned a.glink.gt-current-lang{
	opacity:1;
	font-weight:700;
}

/* extra safety ONLY inside the mega menu so menu-link rules don't leak in */
.mm-inner .gtranslate_wrapper.gt-cloned a.glink{
	font-family:inherit;
	color:inherit;
}

/* active / current language */
.language-options li a.active,
.language-options li a[aria-current] {
	color: #5E2E30;
	font-weight: 700;
}
..main-menu_box.active .language-options li a,
.main-header.header-style-two .language-options li a {
	color: #5E2E30;
	margin: 0px 5px;
}

.language-options li a.gt-current-lang { color: #5E2E30; font-weight: 700; }

.main-header .cart-box > .number,
.main-header.header-style-two .cart-box .number {
	font-family: 'Nohemi';
	line-height: 25px !important;
}
.main-menu_box .cart-box .number {
	line-height: 26px !important;
}
.main-header.header-style-two ul.language-options li a {
	color: #5E2E30;
}

/* CF7 privacy checkbox — custom styled + clickable */
.contact-one .check-box .wpcf7-list-item { margin: 0; display: block; }

.contact-one .check-box label {
	position: static;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding-left: 0;
	cursor: pointer;
}

/* kill the theme's fake pseudo-box (it targets the wrong markup) */
.contact-one .check-box label::before,
.contact-one .check-box label::after { content: none !important; }

/* style the REAL checkbox as the box */
.contact-one .check-box input[type="checkbox"] {
	-webkit-appearance: none;
	appearance: none;
	position: static;
	opacity: 1;
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin: 0;
	padding: 0;
	border: 1px solid #fff;   /* box border  — adjust to brand */
	background: transparent;
	border-radius: 0;            /* square; use 4px for rounded */
	cursor: pointer;
	transition: background .15s ease, border-color .15s ease;
	clip: auto; clip-path: none;
}

.contact-one .check-box input[type="checkbox"]:checked {
	background: transparent;         /* fill when checked — adjust to brand */
	border-color: #fff;
}

/* the checkmark */
.contact-one .check-box input[type="checkbox"]:checked::after {
	content: "";
	display: block;
	width: 5px;
	height: 12px;
	margin: 1px auto 0;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.contact-one .check-box .wpcf7-list-item-label { line-height: 1; }

.price ins,
.price ins .woocommerce-Price-amount {
	text-decoration: none !important;
}
/* Add "/un." after the product price */
.product-block_two .price::after {
	content: "/un.";
}

/* Product slider: always put COMPRAR on its own line under the name */
.products-one .product-block_one-content .d-flex {
	flex-direction: column;
	/*align-items: flex-start!important;*/
}

.products-one .product-block_one-content .product-block_one-tag {
	margin-top: 10px;
}
.products-one .product-block_one-content h6 {
	min-height: 2.8em;   /* ~2 lines; tune to your line-height */
	margin-bottom: 0;
}

/* make product boxes same width height*/
/* Página da loja Favaios — imagens de tamanho fixo 590x681 */
.our-shop .product-block_two-image {
	width: 590px;
	height: 681px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
	overflow: hidden;
}

.our-shop .product-block_two-image a,
.our-shop .product-block_two-image img {
	width: 590px;
	height: 681px;
}

.our-shop .product-block_two-image img {
	object-fit: contain;      /* mostra a garrafa inteira, sem cortar */
	object-position: center;
}

/* Heritage page changes */

/* new design changes */
@media only screen and (max-width: 360px){

	.mobile-como-box .image .content h1,
	.mobile-alumia-box h1,
	.mobile-todos-box h1,
	.mobile-trigo-box h1{
		font-size: 22px;
		line-height: 26px;
	}

	.mobile-como-box .image .content,
	.mobile-alumia-box .content,
	.mobile-todos-box .content{
		margin-top: -20px;
	}

	.mobile-trigo-box .content{
		margin-bottom: -22px;
	}

	.mobile-trigo-box .overlay-content{
		top: 60px;
	}

	.mobile-mundo-box{
		flex-wrap: wrap;
	}

	.mobile-mundo-box .image{
		width: 100%;
		flex: 0 0 100%;
		height: 180px;
	}

	.mobile-mundo-box .content{
		margin-left: 0px;
		margin-top: 15px;
	}

}

/* new design changes */
.heritage_banner .auto-container{
	position: relative;
}

.heritage_banner-one .image img:nth-child(2){
	display: none;
}

.heritage_banner .arrow_one,
.heritage_banner .arrow_back{
	transition: opacity 400ms ease, visibility 400ms ease;
}

.heritage_banner .arrow_back{
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.heritage_banner.slider-at-end .arrow_one{
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.heritage_banner.slider-at-end .arrow_back{
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

/* new design changes */
@media only screen and (min-width: 992px){

	.heritage_banner{
		padding: 0px 30px;
	}

	.heritage_banner .auto-container{
		max-width: 1850px;
	}

	.heritage_banner .arrow_one{
		position: absolute;
		left: calc(15px + 1120 * var(--u));
		bottom: calc(115 * var(--u));
		z-index: 5;
		width: calc(320 * var(--u));
		cursor: pointer;
		color: #D9C6BD;
		font-size: calc(16 * var(--u));
		line-height: calc(26 * var(--u));
		font-weight: 300;
		letter-spacing: calc(3 * var(--u));
		font-family: 'Nohemi';
		padding-bottom: calc(58 * var(--u));
		text-transform: uppercase;
		white-space: nowrap;
	}

	.heritage_banner .arrow_one:before{
		position: absolute;
		content: '';
		left: 0px;
		bottom: 0px;
		width: calc(320 * var(--u));
		height: calc(42 * var(--u));
		background: url(assets/images/icons/long-arrow7.svg) no-repeat;
		background-size: contain;
	}

	.heritage_banner .arrow_back{
		position: absolute;
		left: calc(15px + 1120 * var(--u));
		bottom: calc(115 * var(--u));
		z-index: 5;
		width: calc(320 * var(--u));
		height: calc(42 * var(--u));
		cursor: pointer;
		background: url(assets/images/icons/long-arrow8.svg) no-repeat;
		background-size: contain;
	}

	.heritage_banner-one{
		padding: calc(70 * var(--u)) 0px calc(65 * var(--u));
	}

	.heritage_banner-one .content{
		padding-top: calc(85 * var(--u));
		max-width: calc(940 * var(--u));
	}

	.heritage_banner-one .content h1{
		font-size: calc(70 * var(--u));
		line-height: calc(70 * var(--u));
		padding-right: calc(80 * var(--u));
	}

	.heritage_banner-one .content h1 span{
		margin-top: calc(50 * var(--u));
	}

	.heritage_banner-one .image{
		margin-left: calc(50 * var(--u));
		padding-right: calc(300 * var(--u));
	}

	.heritage_banner-one .image img{
		max-width: calc(1353 * var(--u));
	}

	.heritage_banner-one .image:before{
		top: calc(-70 * var(--u));
		bottom: calc(-70 * var(--u));
	}

	.heritage_banner-year{
		max-width: calc(480 * var(--u));
		padding-top: calc(100 * var(--u));
	}

	.heritage_banner-year strong,
	.heritage_banner-year2 strong,
	.heritage_banner-three .year{
		font-size: calc(96 * var(--u));
		line-height: calc(96 * var(--u));
	}

	.heritage_banner-year p,
	.heritage_banner-year2 p,
	.heritage_banner-three p{
		font-size: calc(24 * var(--u));
		line-height: calc(40 * var(--u));
	}

	.heritage_banner-two p,
	.heritage_banner-four p{
		font-size: calc(24 * var(--u));
		line-height: calc(38 * var(--u));
		margin-bottom: calc(40 * var(--u));
	}

	.heritage_banner-year p{
		margin-top: calc(130 * var(--u));
	}

	.heritage_banner-year2{
		max-width: calc(690 * var(--u));
		margin-top: calc(7 * var(--u));
		padding: calc(100 * var(--u)) calc(80 * var(--u)) calc(70 * var(--u));
	}

	.heritage_banner-year2 p{
		margin-bottom: calc(300 * var(--u));
	}

	.heritage_banner-two{
		margin-top: calc(70 * var(--u));
		max-width: calc(1360 * var(--u));
	}

	.heritage_banner-two .image img{
		max-width: calc(1359 * var(--u));
	}

	.heritage_banner-three{
		max-width: calc(1960 * var(--u));
		padding: calc(140 * var(--u)) 0px calc(90 * var(--u)) calc(90 * var(--u));
	}

	.heritage_banner-three:before{
		right: calc(100 * var(--u));
	}

	.heritage_banner-three .column{
		margin-bottom: calc(30 * var(--u));
	}

	.heritage_banner-three .image{
		margin-left: calc(50 * var(--u));
	}

	.heritage_banner-three .image img{
		max-width: calc(982 * var(--u));
	}

	.heritage_banner-three .year{
		margin-bottom: calc(160 * var(--u));
	}

	.heritage_banner-three p{
		max-width: calc(580 * var(--u));
		margin-left: calc(80 * var(--u));
	}

	.heritage_banner-four{
		max-width: calc(405 * var(--u));
		margin-top: calc(130 * var(--u));
		padding-bottom: calc(160 * var(--u));
	}

	.cta-one.style-two{
		padding: calc(150 * var(--u)) 0px;
	}
	/*
  .cta-one.style-two .auto-container{
   max-width: calc(1660 * var(--u));
  }
 */
	.cta-one h2{
		font-size: calc(36 * var(--u));
		line-height: calc(40 * var(--u));
		margin-left: calc(90 * var(--u));
	}

	.cta-one .persa{
		font-size: calc(16 * var(--u));
		margin-right: calc(200 * var(--u));
		letter-spacing: calc(3.2 * var(--u));
		padding-bottom: calc(50 * var(--u));
	}

	.cta-one .persa:before{
		width: calc(320 * var(--u));
		height: calc(42 * var(--u));
		background-size: contain;
	}

}

/* new design changes */
@media only screen and (max-width: 991px){

	.heritage_banner{
		margin-bottom: 0px;
		padding: 0px 30px;
	}

	.heritage_banner-arrows{
		position: relative;
		z-index: 5;
		height: 100px;
		margin: 0px -45px;
		background-color: #ffffff;
	}

	.heritage_banner-one,
	.heritage_banner-one .content,
	.heritage_banner-one .image,
	.heritage_banner-year,
	.heritage_banner-year2,
	.heritage_banner-two,
	.heritage_banner-three,
	.heritage_banner-four{
		width: calc(100vw - 120px);
		max-width: calc(100vw - 120px);
	}

	.heritage_banner-one .image{
		margin-left: 0px;
		padding-right: 0px;
	}

	.heritage_banner-one .image img{
		max-width: 100%;
	}

	.heritage_banner-one .image{
		padding-right: 40px;
	}

	.heritage_banner-one .image img{
		display: block;
	}

	.heritage_banner-one .image:before{
		display: block;
		left: 50%;
		right: 0px;
		width: auto;
		top: -30px;
		bottom: -30px;
	}

	.heritage_banner-two .image img{
		max-width: 100%;
	}

	.heritage_banner-three{
		padding: 40px 30px 40px 40px;
	}

	.heritage_banner-three:before{
		right: 0px;
	}

	.heritage_banner-three .column{
		flex: 0 0 100%;
		max-width: 100%;
	}

	.heritage_banner-three .image{
		margin-left: 0px;
	}

	.heritage_banner-three p{
		margin-left: 0px;
		max-width: 100%;
	}

	.heritage_banner-four{
		margin-top: 40px;
		padding-bottom: 0px;
	}

	.heritage_banner .swiper-wrapper{
		transition-property: transform !important;
	}

	.heritage_banner .arrow_one{
		position: absolute;
		right: 30px;
		bottom: 15px;
		z-index: 5;
		width: auto;
		cursor: pointer;
		color: #5E2E30;
		font-size: 10px;
		line-height: 16px;
		font-weight: 300;
		letter-spacing: 0.12em;
		font-family: 'Nohemi';
		padding-bottom: 32px;
		text-transform: uppercase;
		text-align: right;
		white-space: nowrap;
	}

	.heritage_banner .arrow_one:before{
		position: absolute;
		content: '';
		right: 0px;
		bottom: 0px;
		width: 200px;
		height: 27px;
		background: url(assets/images/icons/long-arrow6.svg) no-repeat;
		background-size: contain;
	}

	.heritage_banner .arrow_back{
		position: absolute;
		right: 30px;
		bottom: 15px;
		z-index: 5;
		width: 200px;
		height: 27px;
		cursor: pointer;
		background: url(assets/images/icons/long-arrow3.svg) no-repeat;
		background-size: contain;
	}

}

/* new design changes */
@media only screen and (max-width: 575px){

	.heritage_banner{
		padding: 0px;
	}

	.heritage_banner-arrows{
		margin: 0px -15px;
	}

	.heritage_banner-one,
	.heritage_banner-one .content,
	.heritage_banner-one .image,
	.heritage_banner-year,
	.heritage_banner-year2,
	.heritage_banner-two,
	.heritage_banner-three,
	.heritage_banner-four{
		width: calc(100vw - 80px);
		max-width: calc(100vw - 80px);
	}

	.heritage_banner-one .image img:nth-child(1){
		display: none;
	}

	.heritage_banner-one .image img:nth-child(2){
		display: block;
		width: 100%;
	}

	.heritage_banner-year2{
		padding: 30px 25px;
	}

	.heritage_banner-two .column{
		flex: 0 0 100%;
		max-width: 100%;
	}

	.heritage_banner-two .image img:nth-child(2){
		width: 100%;
		object-fit: cover;
	}

	.heritage_banner-three{
		padding: 30px 25px;
	}

}

/* new design changes */
.heritage_banner-one .image:before{
	transition: opacity 500ms ease;
}

.heritage_banner.slider-at-start .heritage_banner-one .image:before{
	opacity: 0;
}

/* new design changes */
@media only screen and (min-width: 1901px){
	.heritage_banner{
		padding: 0px 35px;
	}
}

/* new design changes */
@media only screen and (max-width: 991px){
	.heritage_banner-three .image{
		display: block;
		margin-left: 0px;
		margin-top: 10px;
	}

	.heritage_banner-three .image img{
		display: block;
		width: 100%;
		max-width: 100%;
		height: auto;
	}
}

/* Lock the page behind the open menu (Android / desktop browsers) */
html.favaios-menu-open,
html.favaios-menu-open body {
	overflow: hidden !important;
	height: 100%;
}

/* Never let scroll "chain" from the menu to the page behind it */
.main-menu_box.active {
	overscroll-behavior: contain;
}

/* The menu's own content area keeps scrolling smoothly (iOS momentum) */
.main-menu_box.active .lower-box {
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}
.main-menu_box.active .mm-inner {
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	flex-direction: column;
}

.contact-three .wpcf7 .check-box span {
	text-decoration: none !important;
}

.contact-three .wpcf7 .calendar {
	right: 10px !important;
	top: 5px !important;
}
.favaios-unavailable {
	color: rgb(195, 133, 135);
	opacity: 0.3;
	font-size: 66px;
	line-height: 66px;
	font-weight: normal;
	margin-bottom: 40px;
	text-transform: uppercase;
	font-family: Trirong, serif;
}
@media only screen and (min-width: 992px) {
	.favaios-unavailable {
		font-size: calc(66 * var(--u));
		line-height: calc(66 * var(--u));
		margin-bottom: calc(40 * var(--u));
	}
}

.legal_prod_text {
	font-family: Nohemi;
	font-weight: 300;
	font-size: 24px;
	line-height: 40px;
	color: #CAC2BD;
	padding-top: 70px;
}

button.cart-submit_btn {
	position: relative;
	color: rgb(255, 255, 255);
	background-color: transparent;

}
button.cart-submit_btn:hover {
	color: #5e2e30;
	background-color: #fff;

}