/*
Theme Name: TOUS Preloved
Theme URI: https://splendour.themerex.net/
Template: splendour
Author: Vertically
Author URI: https://www.vertically.es/
Description: Tema personalizado para el proyecto Tous Pre-Loved.
Version: 1.1
Updated: 2025-05-30 13:17:44
*/


/* @Start AJUSTE ANCLA FORM */

.offset-anchor {
	padding-top: 110px; /* Ajusta este valor al alto exacto de tu cabecera fija */
    margin-top: -110px; /* Mismo valor pero negativo para "compensar" el padding */
    position: relative; /* Necesario para que funcione el z-index si lo necesitas */
    z-index: 1; /* Asegura que el contenido esté por encima de otros elementos si hay solapamiento */
}

/* Opcional: Para dispositivos móviles si la altura de la cabecera cambia */
@media (max-width: 768px) { /* Ajusta el breakpoint si es necesario */
    .offset-anchor {
        padding-top: 60px; /* Nueva altura de la cabecera en móvil */
        margin-top: -60px;
    }
}

/* @End AJUSTE ANCLA FORM */


/* Eliminar borde img principal de la galeria */

img.attachment-full {
	border: 0px !imporntat;
	border: none !important;
}


/* @Start CARROUSEL */

/* Para adaptarlo y que la altura encaje con la altura del texto. Modificar altura del wrapper y de img de los 3 break points */

.elementor-image-carousel-wrapper {
    height: 500px !important;
    overflow: hidden !important;
}

.elementor-image-carousel-wrapper .swiper-slide img {
    width: 100% !important;
	height: 600px !important; /*Este valor ayuda a centrar la imagen en vertical */
    object-fit: cover !important;
    object-position: center center !important;
}

/* Para Tablet - entre 768px y 1024px de ancho de pantalla */
@media (min-width: 768px) and (max-width: 1024px) {
    .elementor-image-carousel-wrapper {
        height: 480px !important; /* **ALTURA DESEADA PARA TABLET** */
    }
	.elementor-image-carousel-wrapper .swiper-slide img {
    	height: 480px !important; /*Este valor ayuda a centrar la imagen en vertical */
	}
}

@media (max-width: 767px) {
    .elementor-image-carousel-wrapper {
        height: 300px !important; /* **ALTURA DESEADA PARA MÓVIL** */
    }
	.elementor-image-carousel-wrapper .swiper-slide img {
    	height: 400px !important; /*Este valor ayuda a centrar la imagen en vertical */
	}
}

.elementor-image-carousel-wrapper .swiper-slide {
    width: 100% !important;
    height: 100% !important;
}

/* @End CARROUSEL */



/* @Start HOTSPOT */

/* Contenido Tooltip */
.e-hotspot__tooltip h4 {
    font-family: "tous-font", sans-serif !important;
	font-size: 20px;
	padding: 0px;
    margin: 20px 0px 6px 0px;    
    /* Propiedades para evitar la separación de palabras */
    -webkit-hyphens: none !important;
    -moz-hyphens: none !important;
    -ms-hyphens: none !important;
    hyphens: none !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    white-space: normal !important;
}

.e-hotspot__tooltip p {
	font-family: 'Roboto', sans-serif !important;
	margin: 0 !important;
	padding: 0 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
	line-height: 20px !important;
	color: #000000 !important;
}

/* @End HOTSPOT */



/* @Start GENERIC */

.text-generic {
	font-family: 'Roboto', sans-serif !important;
	margin: 0 !important;
	padding: 0 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
	line-height: 20px !important;
	color: #000000 !important;
}

/* @End GENERIC */


/* @Start HEADER */

/* Eliminar el menu */
.elementor-element-8b68e06, 
.elementor-element-8610d7e {
	display: none !important;
}

/* Correcion texto para que no parta palabras */
.elementor-heading-title span {
    white-space: nowrap;
	-webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
}


/* Sticky header */
.my-sticky-header {
    background-color: transparent !important;
    transition: background-color 0.4s ease !important;
    box-shadow: none !important;
}

/* Sticky header. Al hacer scroll */
.my-sticky-header.elementor-sticky--effects {
	background-color: #FFFFFF !important; 
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1) !important; 
}

.my-sticky-header.elementor-sticky--effects .logo-tous img {
    filter: brightness(0) invert(0) !important;
}


.my-sticky-header.elementor-sticky--effects .logo-tous,
.my-sticky-header.elementor-sticky--effects .logo-tous svg {
    fill: #000000 !important;
    color: #000000 !important;
}


/* Esto provoca que el boton no tenga hover */
.my-sticky-header.elementor-sticky--effects .elementor-button {
    background-color: #000000 !important;
    color: #FFFFFF !important;
    border-color: #000000 !important;
	display: inline-block;
}

.my-sticky-header.elementor-sticky--effects .elementor-button:hover {
    background-color: #FFFFFF !important;
    color: #000000 !important;
    border-color: #000000 !important;
	display: inline-block;
}

/* Ocultar botón hasta hacer scroll */
.my-sticky-header .elementor-button {
   display: none;
}

.my-sticky-header.elementor-sticky--effects .elementor-button {
	display: inline-block; /* Descomentar este si queremos el efecto que aparazca al hacer scroll */ 
	/* display: none; Comentar este para hacer aparecer el boton. Este se habilita para landings sin botón */
}

/* Arrow animacion Rebote (Bounce) */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0); /* Posición inicial */
  }
  40% {
    transform: translateY(-10px); /* Sube un poco */
  }
  60% {
    transform: translateY(-5px); /* Baja un poco menos */
  }
}

/* Aplicar la animación a la flecha */
.arrow-scroll-down {
  animation: bounce 2s infinite;
  cursor: pointer;
}

/* Opcional: Estilo al pasar el ratón */
.arrow-scroll-down:hover {
  opacity: 0.5;
}

/* @End HEADER */


/* @Start FORMULARIO INSCRIPCION (Ajustar el estilo de los campos) */

/*OCULTA EL FORMULARIO*/
#form_invitation_preloved {
	display: none !important;
}

.form-request-invitation .elementor-field {
	background: white !important;
	color: #000000 !important;
}

.form-request-invitation .elementor-field-type-select select {
	-webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
	padding: 10px 15px !important; 
    padding-right: 30px !important;
}

.form-request-invitation input,
.form-request-invitation select {
    font-family: 'Roboto', sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
	color: #000000 !important;
    background-color: #FFFFFF !important;
	border: 1px solid #000000 !important;
    padding: 10px 15px !important;
}

.form-request-invitation .elementor-message {	
    font-family: 'Roboto', sans-serif !important;
    font-size: 12px !important;
    font-weight: 400 !important;
	line-height: 15px;
}

.elementor-field-type-html {
	font-family: 'Roboto', sans-serif !important;
	margin-bottom: 0 !important;
	padding: 5px 5px 16px 5px !important;
    font-size: 11px !important;
    font-weight: 400 !important;
	line-height: 14px !important;
}

.elementor-field-type-html p.text-consentimiento a {
	text-decoration: underline;
	color: #000;
}

.elementor-field-type-html p.text-consentimiento a:hover {
	text-decoration: none;
}

/*
#button-submit-tous span {
	text-align: center !important;
	width: 100% !important;
}

#button-submit-tous .elementor-button[type="submit"]:active {
    transform: none !important;
    transition: none !important;
	min-width: 150px;
}
*/

#button-submit-tous {
    transform: none !important;
    transition: none !important;
    padding: var(--e-button-padding, 15px 30px) !important;
    margin: 0 !important;
    display: flex !important;
	justify-content: center !important;
    align-items: center !important;
}

#button-submit-tous .elementor-button-content-wrapper {
    transform: none !important;
    transition: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    justify-content: inherit !important;
    align-items: inherit !important;
}

#button-submit-tous .elementor-button-text {
    transform: none !important;
    transition: none !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
}

#button-submit-tous.elementor-loading .elementor-button-icon,
#button-submit-tous.elementor-loading .elementor-button-spinner {
    display: inline-block !important;
    margin: 0 5px !important;
    position: static !important;
    transform: none !important;
}



/* @End FORMULARIO INSCRIPCION */


/* @Start CONTENIDO PAGINAS LEGALES */

.legal-content h2,
.legal-content h3,
.legal-content a.elementor-accordion-title {
	font-family: 'roboto', sans-serif !important;
}

.legal-content h3,
.legal-content a.elementor-accordion-title {
	font-size: 14px !important;
	font-weight: 700 !important;
}

/* @End CONTENIDO PAGINAS LEGALES */