/* =========================================================
   BASE GENERAL
========================================================= */

body {
  background-color: #222222;
  max-width: 100%;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  background-image: url('');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}

/* =========================================================
   ESTADO ACTIVO DEL MENÚ
========================================================= */

.titulo.active-page {
  color: #d884ff;
  text-shadow: 0 0 8px rgba(216, 132, 255, 0.35);
}

/* =========================================================
   SELECTOR DE IDIOMA
========================================================= */

.lang-switcher {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 12px;
  margin-left: auto;
  margin-right: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
}

.lang-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  padding: 6px 4px;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.lang-btn:hover {
  opacity: 0.85;
  transform: scale(1.04);
  color: #d884ff;
}

.lang-btn.active {
  color: #d884ff;
}

.lang-separator {
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  user-select: none;
}

.inner-container .lang-switcher {
  flex: 0 0 auto;
}

/* separación entre RAEE y selector */
.titulo[data-i18n="nav_raee"] {
  margin-right: 50px;
}

/* evita que el texto largo en chino se parta en desktop */
.titulo {
  white-space: nowrap;
}

/* Responsive del selector */
@media (max-width: 900px) {
  .lang-switcher {
    order: 2;
    margin: 8px 0 4px;
  }

  .lang-btn {
    font-size: 12px;
  }
}

@media (max-width: 600px) {
  .lang-switcher {
    width: auto;
    margin-bottom: 10px;
  }

  .lang-btn {
    font-size: 12px;
    padding: 6px 2px;
  }

  .titulo {
    white-space: normal;
  }
}

/* =========================================================
   ANIMACIONES
========================================================= */

@keyframes parpadeo {
  0%, 41%, 45%, 47%, 49.5%, 100% {
    opacity: 1;
  }

  42%, 44%, 46%, 48%, 50% {
    opacity: 0;
  }
}

@keyframes glow {
  to {
    text-shadow:
      0 0 4px #aaaaaa,
      0 0 8px #585858,
      0 0 12px #c2c2c2,
      0 0 16px #742385,
      0 0 20px #742385,
      0 0 24px #742385,
      0 0 28px #742385;
  }
}

@keyframes zoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.1);
  }
}

/* =========================================================
   HEADER / MENÚ SUPERIOR
========================================================= */

.cont-2 {
  width: 100%;
}

.inner-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo img {
  width: 200px;
  max-width: 80%;
  height: auto;
}

.titulo {
  flex: 1;
  padding: 10px;
  text-align: center;
  color: #ffffff;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-style: normal;
  font-weight: 500;
}

.titulo:hover {
  color: #ffffff;
}

@media (max-width: 600px) {
  .inner-container {
    flex-direction: column;
    align-items: center;
  }

  .logo {
    order: 1;
    margin-bottom: 10px;
  }

  .logo img {
    width: 150px;
    max-width: 100%;
    height: auto;
  }

  .titulo {
    order: 3;
    width: 100%;
    font-size: 14px;
  }
}

/* =========================================================
   SLIDER PRINCIPAL
========================================================= */

.slider-container {
  position: relative;
  width: 100%;
  padding: 0;
  overflow: hidden;
}

.slider {
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
  position: relative;
  flex: 0 0 100%;
}

.slide img {
  display: block;
  width: 100%;
  height: auto;
  padding: 0;
}

.slide a {
  display: block;
  position: relative;
}

.slide-btn {
  position: absolute;
  left: 50%;
  bottom: 85%;
  width: 18%;
  transform: translateX(-50%);
  background-color: #9648aa;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  font-size: 20px;
  font-family: "Lexend Zetta", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.slide-btn:hover {
  background-color: #a05fb1;
  color: #dfd8d8;
}

.cursor {
  position: absolute;
  top: 40%;
  z-index: 10;
  width: 40px;
  height: 40px;
  transform: translateY(-50%);
  cursor: pointer;
  color: #2e2e2e5b;
  font-size: 90px;
  transition: width 0.3s, height 0.3s;
}

.cursor.prev {
  left: 15px;
}

.cursor.next {
  right: 15px;
}

@media screen and (max-width: 600px) {
  .slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 570px) {
  .cursor {
    font-size: 40px;
  }
}

@media (max-width: 500px) {
  .slide-btn {
    width: 50%;
    bottom: 75%;
    padding: 5px 25px;
    font-size: 15px;
  }
}

/* =========================================================
   BOTONES SUPERIORES
========================================================= */

.button-wrapper {
  display: flex;
  justify-content: center;
  padding: 20px 0;
  margin-bottom: 20px;
}

.button-container {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 20px;
  background-color: #9648aa;
  border-radius: 5px;
  box-shadow: 0 10px 10px rgba(255, 255, 255, 0.1);
  cursor: pointer;
  color: #fffdfd;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  font-size: 23px;
  font-family: "Pathway Gothic One", sans-serif;
  font-weight: 400;
  font-style: normal;
  transition: background-color 0.3s, transform 0.2s;
}

.button:hover {
  background-color: #9648aa;
  transform: scale(1.05);
  color: #ffffff;
}

.icon {
  margin-right: 8px;
  color: #ffffff;
  font-size: 18px;
}

.comprar {
  font-size: 20px;
  text-shadow:
    0 0 1px #e9e9e9,
    0 0 2px #8a8a8a,
    0 0 8px #d3d3d3,
    0 0 10px #dddcdd,
    0 0 10px #e4e4e4,
    0 0 12px #ebebeb,
    0 0 14px #e6e6e6;
  animation: glow .59s infinite alternate;
}

.fa-shopping-cart {
  text-shadow:
    0 0 1px #fff,
    0 0 2px #fff,
    0 0 8px #454549,
    0 0 10px #424244,
    0 0 10px #424244,
    0 0 12px #676768,
    0 0 14px #5e5e5f;
  animation: glow .59s infinite alternate;
}

@media (max-width: 768px) {
  .button-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .button {
    flex-basis: calc(22.22% - 15px);
    padding: 5px 10px;
    font-size: 17px;
  }

  .comprar {
    font-size: 20px;
  }

  .icon {
    font-size: 15px;
  }
}

/* =========================================================
   BOTÓN / ENLACE SECUNDARIO
========================================================= */

.boton-l {
  display: inline-flex;
  align-items: center;
  margin: 1px;
  padding: 10px 20px;
  color: #fff;
  text-decoration: underline;
  font-size: 20px;
  border-radius: 5px;
  font-family: "Unica One", sans-serif;
  font-weight: 400;
  font-style: normal;
  transition: background-color 0.3s ease;
}

.boton-l:hover {
  color: #ffffff;
}

.icono {
  margin-right: 10px;
  font-size: 20px;
}

@media (max-width: 968px) {
  .boton-l {
    font-size: 25px;
  }
}

@media (max-width: 570px) {
  .boton-l {
    font-size: 20px;
  }
}

/* =========================================================
   TIPOGRAFÍA GENERAL
========================================================= */

h3 {
  color: #ffffff;
  text-align: center;
  font-size: 70px;
  font-family: "Pathway Gothic One", sans-serif;
  font-weight: 400;
  font-style: normal;
}

h4 {
  color: #ffffff;
  font-size: 25px;
  font-family: "Pathway Gothic One", sans-serif;
  font-weight: 400;
  font-style: normal;
}

h5 {
  color: #ffffff;
  font-size: 20px;
  font-family: "Pathway Gothic One", sans-serif;
  font-weight: 400;
  font-style: normal;
}

h6 {
  color: #ffffff;
  text-align: center;
  justify-content: center;
  font-size: 25px;
  font-family: "Palanquin Dark", sans-serif;
  font-weight: 600;
  font-style: normal;
}

h2 {
  color: #ffffff;
  text-align: left;
  font-size: 0.7rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-style: normal;
}

@media (max-width: 768px) {
  h2 {
    font-size: 0.8rem;
  }
}

@media (max-width: 576px) {
  h2 {
    font-size: 0.75rem;
  }

  h3 {
    font-size: 25px;
  }

  h4 {
    font-size: 20px;
  }

  h5 {
    font-size: 15px;
  }
}

@media (max-width: 300px) {
  h2 {
    font-size: 0.65rem;
  }
}

@media (max-width: 968px) {
  h6 {
    font-size: 30px;
  }
}

@media (max-width: 570px) {
  h6 {
    font-size: 15px;
  }
}

/* =========================================================
   TÍTULOS DE SECCIÓN
========================================================= */

.title-container {
  text-align: center;
  border: 2px solid #9648aa;
  border-radius: 50px;
  margin-left: 10%;
  margin-right: 10%;
  background-color: #22222200;
}

.responsive-title {
  display: inline-block;
  color: #ffffff;
  text-align: center;
  font-size: 18px;
  font-family: "Lexend Zetta", sans-serif;
  font-weight: 900;
  font-style: normal;
}

@media (max-width: 600px) {
  .responsive-title {
    font-size: 10px;
  }
}

@media (max-width: 400px) {
  .responsive-title {
    font-size: 10px;
  }

  .title-container {
    border: 1px solid #9648aa;
  }
}

/* =========================================================
   BANNER INTERMEDIO
========================================================= */

.contenedor-2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.contenedor-imagen2 {
  width: 100%;
  overflow: hidden;
  padding: 0;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.contenedor-imagen2 img {
  display: block;
  width: 100%;
  height: auto;
}

.imagen-pequeña {
  display: none;
}

@media (max-width: 600px) {
  .imagen-grande {
    display: none;
  }

  .imagen-pequeña {
    display: block;
  }

  .contenedor-imagen2 {
    max-width: 100%;
  }
}

/* =========================================================
   FRASE ANIMADA
========================================================= */

.glow-zoom-text {
  color: #f5f5f5;
  text-align: center;
  justify-content: center;
  font-size: calc(1rem + 2.5vw);
  font-family: "Staatliches", sans-serif;
  font-weight: 400;
  font-style: normal;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.6),
    0 0 15px rgba(255, 255, 255, 0.4),
    0 0 15px rgba(255, 255, 255, 0.4);
  animation: zoom 3s infinite alternate;
}

@media (max-width: 600px) {
  .glow-zoom-text {
    font-size: calc(1rem + 1vw);
  }
}

/* =========================================================
   GRID DE IMÁGENES / REDES / RAEE
========================================================= */

.cont-img {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  width: 100%;
  max-width: 1200px;
  padding: 20px;
  margin: 0 auto;
}

.cont-imagen {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 150%;
  overflow: hidden;
}

.cont-imagen img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 480px) {
  .cont-img {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   SECCIÓN CONTACTO
========================================================= */

.cont-4 {
  padding: 40px;
}

.cont-4-1 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.column {
  flex: 1;
  min-width: 250px;
  box-sizing: border-box;
  padding: 10px;
  color: #ffffff;
  border-left: 1px solid #a1a1a1;
}

@media (max-width: 768px) {
  .column {
    flex: 100%;
    align-items: center;
    border-left: none;
    border-top: 1px solid #a1a1a1;
  }
}

.img-logo {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  padding: 5px;
  margin: 0 auto;
}

.img-logo img {
  width: 18%;
  height: auto;
}

@media (max-width: 768px) {
  .img-logo img {
    width: 30%;
    height: auto;
  }
}

.images {
  display: flex;
  justify-content: space-between;
}

.images img {
  max-width: 48%;
  height: auto;
}

@media (max-width: 768px) {
  .images img {
    width: 30%;
    height: auto;
  }
}

.text {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.t1 {
  font-size: 0.9rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.t2 {
  font-size: 0.8rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-style: normal;
}

/* =========================================================
   FOOTER
========================================================= */

.container-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}

.column-footer {
  display: flex;
  flex: 1 1 30%;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  padding: 15px;
  margin: 10px;
  color: #ffffff;
  border: 2px solid #6e6e6e;
  border-radius: 20px;
  font-family: "Pathway Gothic One", sans-serif;
}

.column-footer h2 {
  margin-bottom: 8px;
  color: #d884ff;
  text-align: center;
  font-size: 23px;
}

.column-footer h3 {
  margin-top: 8px;
  margin-bottom: 8px;
  color: #d884ff;
  text-align: center;
  font-size: 23px;
}

.column-footer p {
  margin: 4px 0;
  text-align: center;
  font-size: 20px;
}

@media (max-width: 1200px) {
  .column-footer {
    flex: 1 1 45%;
    padding: 5px;
    margin: 5px;
  }
}

@media (max-width: 768px) {
  .column-footer {
    flex: 1 1 100%;
    padding: 5px;
    margin: 5px;
  }

  .column-footer h2,
  .column-footer h3,
  .column-footer p {
    font-size: 14px;
  }
}

footer {
  background-color: #9648aa;
  color: #ffffff;
  text-align: center;
  font-family: "Pathway Gothic One", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/* =========================================================
   BARRA INFERIOR
========================================================= */

.bottom-bar {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #9648aa;
  color: #fff;
  font-size: 20px;
  font-family: "Oswald", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.bar-column {
  flex: 1;
  padding: 5px;
  text-align: center;
}

.bar-column a {
  color: #fff;
  text-decoration: none;
}

.bar-column a:hover {
  text-decoration: underline;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .bottom-bar {
    display: none;
  }
}

/* =========================================================
   BOTÓN FLOTANTE COMPRAR
========================================================= */

.print-container {
  position: fixed;
  left: 20px;
  bottom: 20px;
  text-align: center;
}

.print-title {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 10px;
  font-family: "Oswald", sans-serif;
  font-weight: 400;
  font-style: normal;
  text-shadow:
    0 0 1px #fff,
    0 0 2px #fff,
    0 0 6px #292736,
    0 0 8px #292736,
    0 0 10px #292736,
    0 0 12px #292736,
    0 0 14px #292736;
  animation: glow .59s infinite alternate;
}

.print-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background-color: #c7c6c7;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.3s, transform 0.3s;
}

.print-btn:hover {
  background-color: #7a2c8e;
  transform: scale(1.1);
}

.print-icon {
  width: 40px;
  height: 40px;
}

@media (max-width: 767px) {
  .print-title {
    font-size: 15px;
  }

  .print-btn {
    display: flex;
  }
}

@media (min-width: 768px) {
  .print-btn,
  .print-title {
    display: none;
  }
}

/* =========================================================
   ELEMENTO DE PRUEBA / DEMO
========================================================= */

.square {
  width: 150px;
  max-height: 100px;
  padding: 8px;
  margin: 20px auto;
  background-color: lightcoral;
  border-radius: 8px;
  text-align: center;
  align-items: center;
  transition-property: width;
  transition-duration: 1s;
}

.square.ttf-cubic {
  transition-timing-function: cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.square:is(:hover, :focus) {
  width: 50%;
}