/*ESTILOS WIT*/

/*BANNER DE COOKIES (COMPLIANCE AGENCY MOOVE) TEMA CLARO*/
#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme {
    border-top: 0 !important;
    box-shadow: 0px 0px 10px rgb(0 0 0 / 20%) !important;
}

/*BANNER DE COOKIES (COMPLIANCE AGENCY MOOVE) TEMA OSCURO*/
#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme {
    border-top: 0 !important;
    box-shadow: 0px 0px 10px rgb(0 0 0 / 20%) !important;
}

/*OCULTA EL TÍTULO DE HELLO-ELEMENTOR SI SE ACTIVA POR ERROR LA PLANTILLA POR DEFECTO*/
.page-header {
  display: none;
}

.sin-margen p:last-child{
    margin-bottom: 0px;
}

/*PÁGINAS LEGALES */
#texto-legal h1,
#texto-legal h2,
#texto-legal h3,
#texto-legal h4,
#texto-legal h5,
#texto-legal h6{
    margin-top:30px;
}

#texto-legal h1{
    font-size: 30px;
}

#texto-legal h2{
    font-size: 26px;
}

#texto-legal h3{
    font-size: 24px;
}

#texto-legal h4{
    font-size: 22px;
}

#texto-legal h5{
    font-size: 20px;
}

#texto-legal h6{
    font-size: 18px;
}


#texto-legal ol,
#texto-legal ul{
    margin-bottom: 30px;
}

.iconos{
  line-height:0;
}

.woocommerce-form-login {
  height: auto !important;
}

/*ESTILOS CABECERA*/
#cabecera{
  mix-blend-mode: difference;
  position:absolute;
  z-index:10;
}

#cabecera.elementor-sticky--effects{
  padding: 0px 40px;
  background: #ffffffb0;
  mix-blend-mode: unset;
  transition: 0.3s;
  backdrop-filter: blur(10px);
}

.elementor-sticky--effects svg {
  color: #000 !important;
}

.elementor-sticky--effects #SVG_logo-header{
  width:110px;
  transition: 0.3s;
}

#cabecera #SVG_logo-header {
  color: #fff;
}

.page-id-20 #cabecera #SVG_logo-header {
  color: #000000;
}

.page-id-20 #cabecera{
  mix-blend-mode: unset;
}

.page-id-20 svg {
  color: #000 !important;
}

.elementor-menu-cart__product-name.product-name {
  line-height: 1em;
}

@media (max-width:767px){
  #SVG_logo-header{
    width: 90px;
  }

  .elementor-sticky--effects #SVG_logo-header{
    width:80px;
    transition: 0.3s;
  }

  #cabecera.elementor-sticky--effects{
    padding: 0px 15px;
  }
}

.dialog-close-button.dialog-lightbox-close-button {
  display: none !important;
}

a.glink {
  color: #fff !important;
  font-size: 22px;
}

a.glink:hover{
  color:#f2f2f2 !important;
}

.elementor-sticky--effects a.glink{
  color:#000000 !important;
}
/*FIN ESTILOS CABECERA*/

.highlight{
  color: #FDD600 !important;
}

/* VOLTEAR TEXTO */
.flipped-text {
  /* Estado inicial: Al revés */
  transform: scaleX(-1);
  opacity: 0.5;
  
  /* Transición suave para el giro y la opacidad */
  transition: transform 2s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.6s ease;
  will-change: transform, opacity;
}

/* Estado final: Orientación normal */
.flipped-text.is-visible {
  transform: scaleX(1);
  opacity: 1;
}

e-preloader i:nth-child(4) {
  display: none !important;
}

/*********GALERÍA HOME**********/
/* --------------------------------------------------
   LAYOUT ESCRITORIO (Defecto)
   -------------------------------------------------- */
.gallery-container {
  display: grid;
  /* 4 columnas y definición de áreas */
  grid-template-columns: 40px 1fr 180px 60px;
  grid-template-areas: "dots main thumbs arrows";
  gap: 20px;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  padding: 30px;
  border-radius: 16px;
}

/* 1. Indicadores (Dots) */
.dots-navigation {
  grid-area: dots;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  justify-content: center;
}

.dot {
  width: 10px;
  height: 10px;
  background-color: #ffffff;
  border-radius: 50%;
  opacity: 0.3;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background-color: #ffcc00;
  opacity: 1;
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
}

/* 2. Imagen Principal */
.main-image {
  grid-area: main;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 10px;
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

/* 3. Miniaturas */
.thumbnails {
  grid-area: thumbs;
  display: flex;
  flex-direction: column;
  gap: 15px;
  height: 100%;
  justify-content: space-between;
}

.thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0.5;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.thumb:hover, .thumb.active {
  opacity: 1;
}

.thumb.active {
  border-color: #ffcc00;
}

/* 4. Flechas de Control */
.nav-arrows {
  grid-area: arrows;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

.arrow-btn {
  width: 55px;
  height: 55px;
  padding:0;
  border-radius: 12px;
  border: 0;
  background: transparent;
  color: #ffcc00;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.arrow-btn:hover {
  background-color: #ffcc00;
  color: #0d0d0d;
}

.arrow-btn:focus,
.arrow-btn:active,
.arrow-btn:focus-visible {
  background-color: transparent !important;
  color: #ffcc00 !important;
  border-color: #ffcc00 !important;
}

/* --------------------------------------------------
   MEDIA QUERY: Adaptación a <= 768px
   -------------------------------------------------- */
@media (max-width: 768px) {
  .gallery-container {
    /* Reordenación completa mediante áreas */
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "main   main"
      "dots   arrows"
      "thumbs thumbs";
    gap: 16px;
    padding: 16px;
  }

  /* Imagen adaptada a proporciones móviles */
  .main-image {
    aspect-ratio: 1 / 1;
  }

  /* Dots horizontales a la izquierda */
  .dots-navigation {
    flex-direction: row;
    justify-content: flex-start;
  }

  /* Flechas horizontales a la derecha */
  .nav-arrows {
    flex-direction: row;
    justify-content: flex-end;
  }

  .arrow-btn {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  /* Miniaturas flotan abajo en fila con scroll horizontal opcional */
  .thumbnails {
    flex-direction: row;
    height: auto;
    gap: 12px;
    overflow-x: auto;
  }

  .thumb {
    width: calc(33.333% - 8px);
    min-width: 80px;
    aspect-ratio: 4 / 3;
  }
}
/**********FIN GALERÍA HOME**********/

/*FICHA DE PRODUCTO*/
.vi-wpvs-variation-style{
  margin-bottom:0 !important;
}

.variations th{
  background: #f6f6f6 !important;
  text-align:left;
} 

/*PÁGINA DE CARRITO*/
.checkout-button {
  font-size: 20px !important;
}