/*
==================================================================
Theme Name: Esto es la Selva
Version: 1.0
Author: Neobrand®
Author URI: https://neobrand.com
==================================================================
*/

/* Reset y Box-sizing */

#loader {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 1;
  transition: opacity 0.8s ease;
}
#loader img {
  max-width: 180px;
}
body.loaded #loader {
  opacity: 0;
  pointer-events: none;
}
.animate-scroll-lateral {
    display: none;
}

.giro-movil {
    display: none;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --dark: var(--wp--preset--color--dark);
    --white: var(--wp--preset--color--white);
    --black: var(--wp--preset--color--black);
    --gris: var(--wp--preset--color--gris);
    --gris-oscuro: var(--wp--preset--color--gris-oscuro);
    --fontUno: var(--wp--preset--font-family--work-sans);
    --fontDos: var(--wp--preset--font-family--host-grotesk);
    -ms-overflow-style: none;
    scrollbar-width: none;
}

::-webkit-scrollbar{
  width:0;
  height:0;
}

::selection {
	background-color: var(--white);
	text-shadow: none;
	color: var(--dark);
}

::placeholder {
	color: var(--gris-oscuro);
}

:root :where(.wp-site-blocks .contenido-interior) > h1,
:root :where(.wp-site-blocks .contenido-interior) > h2,
:root :where(.wp-site-blocks .contenido-interior) > h3,
:root :where(.wp-site-blocks .contenido-interior) > h4,
:root :where(.wp-site-blocks .contenido-interior) > h5,
:root :where(.wp-site-blocks .contenido-interior) > h6 {
    font-family: var(--font-head);
    margin-block-start: 1.5rem;
    margin-block-end: 1.5rem;
}
.wp-block-separator {
    border: none;
    border-top: 1px solid !important;
}

body {
    font-family: var(--fontUno);
    font-size: var(--wp--preset--font-size--medium);
    font-weight: 400;
    line-height: 1.4;
    color: var(--gris);
    background-color: var(--dark);
    position: relative;
}

div#aviso-movil-horizontal {
    display: none;
}

.noise::before{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    content: "";
    opacity: .05;  
    z-index: 1;
    pointer-events: none;
    background-image: url(images/ruido.gif) ;
}

.contenido-interior{
    max-width: 1200px;
    padding: 150px 25px;
    margin: 0 auto;
}

img{
	max-width: 100%;
}

p, a, li, h1, h2, h3, .btn{
    filter: contrast(1);
}

h1, h2, h3 {
    margin-bottom: 1rem;
    font-weight: 400;
}

input:not([type="checkbox"]):not([type="submit"]),
textarea,
select,
button {
    width: 100%;
    max-width: 100%;
    font-size: var(--wp--preset--font-size--small);
    outline: none;
    border-left: none;
    border-top: none;
    border-right: none;
    border-bottom: 1px solid var(--gris-oscuro);
    color: var(--gris);
    background: transparent;
    box-shadow: none;
    appearance: none;
    padding-bottom: 10px;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* Botones */

.btn, input[type="submit"]{
    border: 1px solid var(--gris);
    background-color: transparent;
    color: var(--gris);
    padding: 10px 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
}

.btn:hover, input[type="submit"]:hover{
    background-color: var(--gris);
    color: var(--dark);
    cursor: pointer;
    text-decoration: none;
}

.btn.btn-gris{
    border: 1px solid var(--gris-oscuro);
    color: var(--gris-oscuro);
}

.btn.btn-gris:hover{
    background-color: var(--gris-oscuro);
    color: var(--dark);
}


/* Enlaces */

a {
    color: currentColor;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a img,
input[type="submit"]{
    transition: all 250ms ease;
}

figure{
    width: 100%;
    height: 100%;
}

figure img, figure video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/*Custom*/

header{
    position: fixed;
    width: 100%;
    height: 90px;
    padding: 30px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 99;
    background-color: transparent;
}

header .title{
    margin: 0;
    color: white;
    font-size: 30px;
    text-wrap: nowrap;
}

header .logo {
  position: absolute;
  left: 50%;
  transform: translate(-50%, 20px);
}

header .pagination-secciones{
    display: flex;
    justify-content: end;
}

header .pagination-secciones .swiper-pagination-bullet{
    background-color: white;
    opacity: 0.3;

    /*añadido para pasar kit digital*/
    width: 8px;
    height: 8px;
    padding: 8px;
    
    box-sizing: content-box; 
    background-clip: content-box;
    margin: 0 4px;
}

header .pagination-secciones .swiper-pagination-bullet.swiper-pagination-bullet-active{
    opacity: 1;
}

.bloque-hover{
    overflow: hidden;
    position: relative;
}

.bloque-hover .hover{
    display: none;
}

.bloque-hover:hover .destacada{
    display: none;
}

.bloque-hover:hover .hover{
    display: block;
    position: absolute;
    left: 0;
    top: 0;
}

.bloque-in-out{
    overflow: hidden;
    position: relative;
}

.bloque-in-out video {
  object-fit: cover;
  display: block;
}

.bloque-in-out video, .bloque-in-out img {
    mix-blend-mode: lighten;
}


/*Inicio*/

#inicio {
    padding: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#inicio .fondosPortada {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

#inicio .fondosPortada img,
#inicio .fondosPortada video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.5;
}

#inicio .bloques{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

#inicio .bloques span.titulo_menu{
    display: none;
}

#inicio .bloque-hover, #inicio .bloque-in-out {
    display: flex;
    max-height: 100%;
    justify-content: center;
    align-items: center;
    z-index: 9;
}

.swiper.secciones > .swiper-wrapper > .swiper-slide{
    width: 100vw;
    height: 100dvh;
}

#inicio .bloques figure{
    aspect-ratio: 9 / 16;
    position: relative;
    max-height: 450px;
}

/*Contenido*/

#contenido-vertical .bloques{
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: space-between;
    align-items: center;
}

#contenido-vertical .bloques > * {
    flex: 1;
    height: 100%;
    display: flex;
    position: relative;
}

#contenido-vertical .bloques .central{
    display: flex;
    padding-top: 30px;
    justify-content: center;
    align-items: center;
}

.nav-portfoleo-vertical::before {
  top: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), transparent);
}

.nav-portfoleo-vertical::after {
  bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
}

.nav-portfoleo-vertical .swiper-slide,
.nav-portfoleo-horizontal .swiper-slide{
    filter: contrast(1);
    text-align: center;
    font-size: 18px;
    color: white;
    opacity: 0.1;
    cursor: pointer;
}

.nav-portfoleo-vertical .swiper-slide.swiper-slide-prev,
.nav-portfoleo-vertical .swiper-slide.swiper-slide-next,
.nav-portfoleo-horizontal .swiper-slide.swiper-slide-prev,
.nav-portfoleo-horizontal .swiper-slide.swiper-slide-next{
    opacity: 0.4;
}

.nav-portfoleo-vertical .swiper-slide.swiper-slide-active,
.nav-portfoleo-horizontal .swiper-slide.swiper-slide-active{
    opacity: 1;
}

.nav-portfoleo-horizontal .swiper-slide {
    width: fit-content;
    width: auto !important;
    flex-shrink: 0;
}

#contenido-vertical .play-video img{
    cursor: pointer;
}

.play-video{
    z-index: 1;
}

.play-video video {
    object-fit: cover;
    opacity:0;
    transition:opacity .2s;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.play-video.active video {
    opacity:1;
    pointer-events:auto
}

.play-video span.play {
    cursor: pointer;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    z-index: 9;
    width: 50px;
    height: 50px;
    background-image: url(images/icon-play.svg);
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: center;
}

.play-video span.play:hover {
    background-size: 30px;
}

#contenido-horizontal .navegacion {
    position: absolute;
    z-index: 1;
    width: 100%;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 0;
}

#contenido-horizontal .navegacion .nav-portfoleo-horizontal {
    width: 50%;
}

#contenido-horizontal .navegacion .nav-portfoleo-horizontal .swiper-wrapper{
    display: flex;
    align-items: center;
}

#contenido-horizontal iframe{
    width: 100%;
    height: 100%;
    z-index: -1;
}

#contenido-horizontal .texto_video{
    position: absolute;
    bottom: 100px;
    width: 100%;
    text-align: center;
    padding: 0 25px;
    text-transform: uppercase;
    color: var(--gris);
}

/*Separador*/

.swiper-slide.transicion {
  width: auto !important;
  flex-shrink: 0;
  justify-content: space-between;
  gap: 20px;
}

.transicion {
    display: flex;
    gap: 40px;
    position: relative;
    width: 100vw;
    height: 100dvh;
    overflow: hidden;
}
.transicion img {
  width: auto;
  height: 100%;
}
.transicion img:nth-of-type(odd) {
  padding-top: 10%;
}
.transicion img:nth-of-type(even) {
  padding-bottom: 10%;
}
.bullet-transicion{
    display: none;
}

.tooltip{
  position:absolute;
  background:#000;
  color:#fff;
  padding:4px 8px;
  border-radius:4px;
  font-size:12px;
  pointer-events:none;
  white-space:nowrap;
  z-index:9999;
}

/*Productos Drops*/

#drops{
    padding: 150px 25px 50px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#drops > div {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
}

#drops > div:first-child {
    height: 60%;
}

#drops > div:last-child {
    height: 40%;
}

#drops .bloque-hover{
    height: 100%;
}

#drops div.destacado {
    gap: 50px;
    align-items: center;
    padding-bottom: 50px;
}

#drops div.destacado figure{
    aspect-ratio: 1 / 1;
    width: auto;
    margin: 0 auto;
}

#drops div.destacado .datos_producto{
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    color: var(--gris-oscuro);
    max-width: 550px;
}

#drops div.destacado h2{
    margin: 0;
    color: var(--gris-oscuro);
    font-size: var(--wp--preset--font-size--x-large);
}

.carousel_productos{
    height: 100%;
}

.carousel_productos .swiper-wrapper {
  height: 100% !important;
}

.carousel_productos .swiper-slide {
  height: 100% !important;
  width: auto;
}

.carousel_productos figure {
    aspect-ratio: 1/1;
    height: 100%;
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

#drops .destacado .bloque-hover figure img,
#drops .destacado .bloque-hover figure video,
.carousel_productos .bloque-hover figure img,
.carousel_productos .bloque-hover figure video{
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
    height: auto;
    display: flex;
}

#drops .destacado .bloque-hover figure img.hover,
#drops .destacado .bloque-hover figure video.hover,
.carousel_productos .bloque-hover figure img.hover,
.carousel_productos .bloque-hover figure video.hover,
#drops .destacado .bloque-hover:hover figure img.destacada,
#drops .destacado .bloque-hover:hover figure video.destacada,
.carousel_productos .bloque-hover:hover figure img.destacada,
.carousel_productos .bloque-hover:hover figure video.destacada{
    display: none;
}

#drops .destacado .bloque-hover:hover figure img.hover,
#drops .destacado .bloque-hover:hover figure video.hover,
.carousel_productos .bloque-hover:hover figure img.hover,
.carousel_productos .bloque-hover:hover figure video.hover,
#drops .destacado .bloque-hover figure img.destacada,
#drops .destacado .bloque-hover figure video.destacada,
.carousel_productos .bloque-hover figure img.destacada,
.carousel_productos .bloque-hover figure video.destacada{
    display: flex;
}

.carousel_productos .swiper-slide,
.carousel_productos .bloque-hover{
    aspect-ratio: 1 / 1;
}

#drops .galeria_productos {
    display: flex;
    align-items: center;
    gap: 50px;
    justify-content: center;
}

.galeria_producto figure{
    display: flex;
    justify-content: center;
    align-items: center;
}

.galeria_producto figure img{
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
}

#drops .galeria_productos a.nav img{
    width: 25px;
    height: auto;
    max-width: none;
}

.galeria_producto .swiper-pagination .swiper-pagination-bullet{
    background-color: white;
    opacity: 0.3;
}

.galeria_producto .swiper-pagination .swiper-pagination-bullet-active{
    opacity: 1;
}

.popup-hide{
    display: none;
}

.popup{
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 99999;
    background: rgba(87, 87, 87, 0.8);
    padding: 60px;
}

.popup .cont{
    height: 100%;
    width: 100%;
    background-color: var(--dark);
}

.popup .cont_popup{
    height: 100%;
    background-color: var(--dark);
    display: flex;
}

.popup .cont_popup > *{
    width: 50%;
}

.popup .cont_popup .desc_popup {
    padding: 100px;
    overflow-x: scroll;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
}

.popup .cont_popup .desc_popup .cont_desc{
    width: 100%;
    max-width: 70%;
}

.popup .cont_popup .desc_popup .btn{
    margin-top: 25px;
}

.popup .close-popup.interior{
    position: absolute;
    z-index: 2;
    right: 120px;
    top: 120px;
    cursor: pointer;
    transition: all 250ms ease;
}

.popup .close-popup.interior:hover{
    transform: rotate(180deg);
}

/*Reserva*/

#reserva{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

#reserva .left{
    width: fit-content;
    height: 100%;
    display: flex;
    flex-direction: column;
}

#reserva .left img {
    height: 100%;
    width: auto;
}

#reserva .kit{
    margin-top: 50px;
}

#reserva .formulario{
    max-width: 550px;
}

#reserva .formulario .contenido{
    color: var(--gris-oscuro);
    margin-bottom: 25px;
    gap: 30px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

#reserva .formulario .contenido .enlaces{
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

#reserva .formulario .contenido .enlaces img{
    width: 25px;
    height: auto;
    opacity: 0.6;
}

#reserva .formulario .contenido .enlaces a:hover img{
    opacity: 1;
}

#reserva .formulario form{
    position: relative;
}

#reserva .formulario form > p > span{
    display: block;
}

#reserva .formulario .wpcf7-form-control.wpcf7-not-valid{
    border-bottom-color: red !important;
}

#reserva .formulario .wpcf7-not-valid-tip{
    display: none !important;
}

#reserva .formulario .wpcf7 form.invalid .wpcf7-response-output,
#reserva .formulario .wpcf7 form.unaccepted .wpcf7-response-output,
#reserva .formulario .wpcf7 form.payment-required .wpcf7-response-output {
    border-color: #ffb900;
    background-color: #ffb900;
    text-wrap: wrap;
    padding: 10px 15px;
    color: var(--dark);
    margin-left: 0;
    margin-right: 0;
    font-size: var(--wp--preset--font-size--small);
}

#reserva .formulario .wpcf7 form.sent .wpcf7-response-output{
    border-color: #46b450;
    background-color: #46b450;
    text-wrap: wrap;
    padding: 10px 15px;
    color: var(--dark);
    margin-left: 0;
    margin-right: 0;
    font-size: var(--wp--preset--font-size--small);
}

#reserva .formulario .wpcf7 form .wpcf7-spinner{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
}

#reserva .formulario .last{
    margin-top: 20px;
}

#reserva .formulario .last > p{
    display: flex;
    justify-content: space-between;
    gap: 25px;
}

#reserva .formulario .last .wpcf7-list-item{
    margin: 0;
    color: var(--gris-oscuro);
    font-size: var(--wp--preset--font-size--small);
}

#reserva .legal{
    margin-top: auto;
    padding: 25px;
}

#menu-legal {
  display: flex;
  gap: 15px;
  writing-mode: vertical-lr;
  transform: rotate(180deg);
}

#menu-legal a{
    transform: rotate(180deg);
    color: var(--gris-oscuro);
    font-size: var(--wp--preset--font-size--small);
}

.ticker-wrap {
    overflow: hidden;
    position: absolute;
    width: 100%;
    color: var(--gris);
    z-index: 9999;
    bottom: 0;
    left: 0;
    padding: 20px;
    text-transform: uppercase;
}

.ticker {
  display: inline-block;
  white-space: nowrap;
  animation: tickerMove 20s linear infinite;
}

.ticker span {
  display: inline-block;
}

@keyframes tickerMove {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

#cmplz-manage-consent .cmplz-manage-consent{
    width: auto;
    z-index: 9999;
}