/*
Theme Name: Wincarayen
Author: Elinous
Author URI: https://elinous.cl/
Theme URI: https://elinous.cl/
Tags: full-site-editing, block-patterns
Text Domain: wincarayen
Requires at least: 6.4
Requires PHP: 7.4
Tested up to: 6.4
Version: 100.0

License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
:root {
  --wp--preset--spacing--40: 1rem;
  --wp--preset--spacing--80: 5.06rem;
	
}
:root :where(.wp-block-navigation a:where(:not(.wp-element-button))) {
    text-decoration: none;
}
:root :where(.wp-block-navigation a:where(:not(.wp-element-button)):hover) {
    color: var(--wp--preset--color--primary) !important;
    text-decoration: none;
}
/* Styles intended only for the front.*/
html {
	scroll-behavior: smooth;
}



@media screen and (prefers-reduced-motion: reduce) {

	html {
		scroll-behavior: auto;
	}
}

body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}


.splw-main-wrapper  p , .splw-main-wrapper  br {
	display:none;
}

.splw-weather-attribution {
	display:none;
}
.has-border-background-color {
    width: 100%;
}

.wp-block-separator {
    border-top: 0px solid;
}


.wp-block-button__link.wp-element-button {
	display:flex;
}
.wp-block-button__link.wp-element-button img {
	margin-right:0.5rem;
} 
.wp-block-button__link{
	transition: background-color 0.3s ease; /* Transición suave */
	border:0 !important;
	
}

.wp-block-button__link:hover {
	background-color: var(--wp--preset--color--secondary);
	color: #fff;
	border-color:var(--wp--preset--color--secondary);
}

.wp-block-button__link:hover svg {
	fill: #fff !important;
}

.is-style-outline .wp-block-button__link {
	border:1px solid var(--wp--preset--color--border) !important;
}

.is-style-outline .wp-block-button__link:hover {
	background-color:#F0F9F6;
	border-color:var(--wp--preset--color--primary) !important;
}

.wp-block-image {
	display:flex;
}

.fondo-page .imagen-extra img {
    height: 48px !important;
    width: 48px;
	margin:0 auto;
}

.imagen-extra {
	text-align:center;
}
/* details */
details {
	margin: 0;
	padding: 0;
}

summary {
	list-style: none;      /* Elimina la flechita en algunos navegadores */
	outline: none;
	padding: 0.5rem 1rem;
	margin: 0;
	cursor: pointer;
	padding-right: 1.5em; /* espacio para la flecha */
	transition: background-color 0.3s ease; /* Transición suave */
	position:relative;
	border-bottom:1px solid #F1F1F1;
}

details summary::after {
	content: "";
	background-image: url('assets/img/arrow-details.svg');
	background-size: contain;
	background-repeat: no-repeat;
	width: 1em;
	height: 1em;
	position: absolute;
	bottom: 0;
	right:1rem;
	top: 0;
	transition: transform 0.3s ease;
	margin: auto;
}

details[open] summary::after {
  transform: rotate(90deg); /* Gira la flecha hacia abajo */
}

summary:hover {
	background:#F0F9F6;
}

summary::-webkit-details-marker {
  display: none;         /* Elimina la flechita en WebKit (Chrome, Safari) */
}

.wp-block-separator {
    border-top: 1px solid;
}



/* Plugins tiempo */
#splw-location-weather-121.splw-main-wrapper {
	margin-right:0;
}

/* Block cover */
.item-turismo.wp-block-cover img.wp-block-cover__image-background {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.item-turismo.wp-block-cover:hover img.wp-block-cover__image-background {
	    transform: scale(1.2);
}
.item-turismo.wp-block-cover a{
	text-decoration:none;
}

.item-turismo .wp-block-heading {
	min-height:81px;
}


/* servicios */
.service-card {
	overflow:hidden;
}

.service-card .descripicion-servicio {
	min-height:123px;
}


/*  Chips*/
.chips-list .chip{
	min-height: 36px !important;
}


/* Etiqueta descuento */

.descuento {
	line-height:1.2rem;
}



.bg-cabana {
	height:543px;
}



/*  Menu sticky */
.is-position-sticky.scrolled {
  background-color: #ffffff !important;
  transition: background-color 0.3s ease;
}

.is-position-sticky.scrolled .has-base-color {
    color: var(--wp--preset--color--titles) !important;
}

.slider-principal .splw-main-wrapper{
		display:block;
	}

/*  Responsive*/

/* Extra pequeño (320px - 767px) */
@media (min-width: 320px) and (max-width: 767px) {
	:root {
		--wp--preset--spacing--80: var(--wp--preset--spacing--40);
	}
	/* Amenidades */
	.lista-amenidades .amenidad {
		flex-basis: 169px;
	}
	/* turismo local */
	.list-turismo-local {
        gap: 0rem;
		overflow:auto;
	}
	.list-turismo-local  .item-turismo {
		flex-shrink: 0;
		flex-basis: 87% !important;
		display: flex;
	}
	.list-turismo-local  .item-turismo article {
		min-height: 230px !important;
	}
	
	.list-turismo-local  .item-turismo .wp-block-heading {
		padding-left:2rem;
		padding-right:2rem;
	}
	
	.splw-weather-details.splw-other-opt{
		display:none !important;
	}
	
	.gutslider-content-inner {
		
	}


	.bg-cabana {
		height:350px;
	}
	
	.slider-principal .splw-main-wrapper{
		display:none;
	}
	
	.custom-logo-link img  {
		max-width: 155px;
	}

}
/* Mediano (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {

}

/* Grande (1024px - 1279px) */
@media (min-width: 1024px) and (max-width: 1279px) {

}

/* Extra grande (1280px - 1535px) */
@media (min-width: 1280px) and (max-width: 1535px) {

}

/* XXL (1536px - 1919px) */
@media (min-width: 1536px) and (max-width: 1919px) {

}

/* Ultra-wide (1920px o más) */
@media (min-width: 1920px) {

}