/****ADMIN COLORS PRESETS****/
.has-lima-background-color{ background-color: var(--lima) !important; }
.has-lima-color{ color: var(--lima) !important; }
.has-black-background-color{ background-color: var(--black) !important; }
.has-black-color{ color: var(--black) !important; }
.has-verde-background-color{ background-color: var(--verde) !important; }
.has-verde-color{ color: var(--verde) !important; }
.has-light-background-color{ background-color: var(--light) !important; }
.has-light-color{ color: var(--light) !important; }
.has-blanco-background-color{ background-color: var(--white) !important; }
.has-blanco-color{ color: var(--white) !important; }

*{
	scroll-margin-top: 4.4444rem;
}

/****************************************** 404 ***************************************/

.page_error{
	position: relative;
	min-height: 100vh;
	background-image: url("https://dev.cocoa.pe/veggowp/wp-content/uploads/2024/08/image_hero-1.jpg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.page_error::before{
	content:'';
	position: absolute;
	top:0;
	left:0;
	width: 100%;
	height: 100%;
	background: -webkit-linear-gradient(rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.42) 55%, rgba(0, 0, 0, 0.42) 100%);
    background: -o-linear-gradient(rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.42) 55%, rgba(0, 0, 0, 0.42) 100%);
    background: linear-gradient(rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.42) 55%, rgba(0, 0, 0, 0.42) 100%);
}

/****************************************** UTILITIES ***************************************/

.vector_flower{
	position: relative;
}

.vector_flower::before{
	content: '';
	display: block;
	position: absolute;
	width: 15.3rem;
	height: 15.3rem;
	background-image: url("../../images/vector_flower.svg");
	background-repeat: no-repeat;
	background-size: cover;
	top: 0;
	left: -14%;
	pointer-events: none;
}

.block_title{
	position: relative;
	display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
	align-items: center;
	gap: .5rem;
}

.block_title::after,
.block_title::before{
	content: '';
	display: block;
	height: 1px;
	width: 100%;
	flex: 1 0 0%;
	background-color: var(--lima);
}

/****************************************** WHATSAPP ***************************************/

.block_wa{
	position: fixed;
	right: 1.5rem;
	bottom: 1.5rem;
	z-index: 4;
}

.block_wa_link:hover,
.block_wa_link{
	color: var(--white);
	text-decoration: none;
}

.block_wa_link .icon{
	display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--whatsapp);
	border-radius: 50%;
	width: 3.25rem;
	height: 3.25rem;
	transition: transform .3s ease;
	-webkit-box-shadow: 6px 6px 9px 0 rgba(0,0,0,.15);
	box-shadow: 6px 6px 9px 0 rgba(0,0,0,.15);
}
.block_wa_link .icon svg{
	display: block;
	width: 55%;
	height: auto;
}
.block_wa_link .label{
	display: block;
	position: absolute;
	right: 100%;
	top: 50%;
	transform: translateY(-50%) translateX(-.5rem);
	white-space: nowrap;
	background-color: var(--whatsapp);
	padding: .7rem .75rem;
	border-radius: .5rem;
	font-size: .8889rem;
	line-height: 1;
	margin-bottom: 0;
	opacity: 0;
	pointer-events: none;
	transition: opacity .3s ease;
}
.block_wa_link:hover .label{
	opacity: 1;
}
.block_wa_link:hover .icon{
	transform: scale(1.1);
}

/****************************************** HEADER ***************************************/

.site_header{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background-color: transparent;
	z-index: 999;
}

.site_header.scrolled{
	background-color: var(--light);
	-webkit-box-shadow: 0 6px 10px 0 rgba(0,0,0,.1);
	box-shadow: 0 6px 10px 0 rgba(0,0,0,.1);
}

.site_header .site_brand{
	padding-top: 1rem;
	padding-bottom: 1rem;
}
.site_header.scrolled .site_brand{
	padding-top: .555556rem;
	padding-bottom: .555556rem;
}
.site_brand .logo_neg{
	max-height: 4.222rem;
	width: auto;
}
.site_header.scrolled .site_brand .logo_neg,
.site_brand .logo_pos{display: none;}

.site_header.scrolled .site_brand .logo_pos{ display: block;}

.site_nav ul{
	list-style: none;
	margin: 0;
	padding: 0;
	justify-content: flex-end;
	align-items: center;
}

.site_nav ul li:not(.cta) a{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	align-items: center;
	min-height: 3rem;
	padding: .25rem 1rem;
}

.site_nav ul li:not(.cta) a.active,
.site_nav ul li:not(.cta) a:hover{
	text-decoration: none;
	color: var(--lima);
}
.site_nav ul li:not(.cta) a.active{
	font-weight: 700;
}

.site_nav ul li.cta{
	margin-left: 1rem;
}
.site_nav ul li:not(.cta){
	background-color: var(--light);
}
.site_nav ul li:has(+ .cta){
	padding-right: 1rem;
	border-bottom-right-radius: 50em;
	border-top-right-radius: 50em;
}
.site_nav ul li:first-child{
	padding-left: 1rem;
	border-bottom-left-radius: 50em;
	border-top-left-radius: 50em;
}

@media only screen and (max-width: 1199px){
	
	.site_header{
		background-color: var(--light);
	}
	.site_brand .logo_neg{
		display: none;
	}
	
	.site_brand .logo_pos{
		display: block;
	}
	.site_header .site_brand{
		padding-top: .555556rem;
		padding-bottom: .555556rem;
	}
	.site_nav{
		position: fixed;
		left: 0;
		width: 100%;
		top: calc(60px + 1.1111rem);
		height: calc(100vh - (60px + 1.1111rem));
		overflow: hidden;
		overflow-y: auto;
		background-color: var(--light);
		border-top: 1px solid var(--lima);
		padding: 1.5rem 1rem;
		display: none;
	}

	.site_header.show .site_nav{
		display: block;
	}

	.site_nav ul{
		flex-direction: column;
	}
	.site_nav ul li:has(+ .cta),
	.site_nav ul li:first-child{
		padding: 0;
		border-radius: 0;
	}
	.site_nav ul li:not(.cta){
		background-color: transparent;
	}
	.site_nav ul li.cta{
		margin-left: 0;
	}
	
	main{
		margin-top: calc(60px + 1.1111rem);
	}
	
}

/****************************************** CONTACTO ***************************************/

#contacto{
	position: relative;
	background-image: url("../../images/vector_leaf.svg");
	background-repeat: no-repeat;
	background-position: left 10% bottom 2rem;
	background-size: auto 40%;
}
#contacto::before{
	content: '';
	display: block;
	background-image: url("../../images/vector_icons.svg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	height: 3rem;
	width: 100%;
	pointer-events: none;
	position: absolute;
	top: -1.5rem;
}

.block_rrss{
	gap: 1rem;
	flex-direction: column;
}

.block_rrss .link_rrss{
	color: var(--white);
	text-decoration: none;
}
.link_rrss svg{
	width: 2rem;
	height: auto;
}
.block_rrss .link_rrss:hover{
	color: var(--lima);
}

.block_contact{
	gap: 1rem;
}

.link_contact{
	padding: .25rem 1.5rem;
	min-height: 3rem;
	align-items: center;
	border: 1px solid var(--light);
	border-radius: 50em;
	color: var(--light);
	width: 100%;
}

.link_contact:hover{
	text-decoration: none;
	background-color: var(--lima);
	color: var(--black);
	border-color: var(--lima);
}

.site_footer{
	border-top: .4rem solid var(--lima);
}
.site_footer .logo_footer{
	max-height: 2.2222rem;
	width: auto;
}
@media only screen and (max-width: 767px){
	.block_rrss{
		flex-direction: row;
		justify-content: center;
	}
}

/****************************************** HERO ***************************************/

.block_hero .block_image{
	height: 100vh;
}

.block_hero .block_content{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
	background: -webkit-linear-gradient(rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.42) 55%, rgba(0,0,0,0.42) 100%);
	background: -o-linear-gradient(rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.42) 55%, rgba(0,0,0,0.42) 100%);
	background: linear-gradient(rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.42) 55%, rgba(0,0,0,0.42) 100%);
}

@media only screen and (max-width: 1199px){
	.block_hero .block_image{
		height: calc(100vh - (60px + 1.1111rem));
	}
}

/****************************************** CARDS ***************************************/

.card_icon{
	padding-top: 1px;
}

.card_icon .card_image{
	max-width: 5.4rem;
	margin-top: -2.7rem;
	margin-left: auto;
	margin-right: auto;
}

.card_testimonio .quotemark img{
	max-height: 3.555556rem;
	width: auto;
	margin-top: -1.77778rem;
}

.card_producto .card_image{
	max-width: 23.33333rem;
	margin-left: auto;
	margin-right: auto;
}