@import url('https://fonts.googleapis.com/css?family=Fjalla+One|Montserrat:300,400,700,800|Open+Sans:300');

body {
  /*background-image: linear-gradient(to right bottom,
            #b91eda,
            #a02ae0,
            #8234e5,
            #5d3be8,
            #1241eb); */
  background: url('../img/fondo2.jpg') no-repeat center center/cover;
  height: 100%;
  margin: 0;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

main {
  margin: 0 auto;
  max-width: 720px;
  /* Center the card vertically and horizontally */
  min-height: 100vh;
  display: flex;
  align-items: center;
  /* vertical centering */
  justify-content: center;
  /* horizontal centering */
  padding: 5% 0;
  /* keep some breathing room on small screens */
}

.background-image {
  background-color: rgba(51, 51, 51, 0.4);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  /* Ensure it stays behind other content */
}

/* =========================================
   HEADER PRINCIPAL (main-header)
   ========================================= */


.main-header {
  color: #fff;
  padding: 20px;
  font-family: "Jost", sans-serif;
  /* Cambiar la fuente */
  width: 100%;
  /* Asegura que ocupe todo el ancho */
  box-sizing: border-box;
  /* Incluye el padding dentro del ancho */
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  transition: background-color 0.3s ease;
}

.main-header.scrolled {
  background-color: rgba(51, 51, 51, 0.5);
  /* Slightly opaque gray when scrolling */
}

/* Logo */
.main-header__logo {
  float: left;
  font-size: 24px;

}

/* Navegación */
.main-header__nav {
  float: right;
}

.main-header__menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-header__item {
  display: inline-block;
  margin-left: 20px;
}

.main-header__item a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.main-header__item a:hover {
  opacity: 0.7;
}

/* Limpieza de floats */
.main-header.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* =========================================
   Titulo Principal
   ========================================= */

.tittle-prin {
  margin-top: 50px;
  text-align: center;
  font-family: 'Birthstone', cursive;
  font-size: 150px;
  color: #fff;
  font-weight: 300;
  /* Quitar Bold */
  text-shadow: 0 2px 10px rgba(0, 0, 0, 2);
  margin-bottom: -80px;
  /* Acercar titulo de la Card */
}

/* =========================================
   card profile
   ========================================= */

.card {
  box-shadow: 0 6px 6px rgba(#000, 0.3);
  transition: 200ms;
  background: #fff;

  .card__title {
    display: flex;
    align-items: center;
    padding: 30px 40px;

    h3 {
      flex: 0 1 200px;
      text-align: right;
      margin: 0;
      color: #252525;
      font-family: sans-serif;
      font-weight: 600;
      font-size: 20px;
      text-transform: uppercase;
    }

    .icon {
      flex: 1 0 10px;
      background: linear-gradient(135deg, #6a00f4, #00c6ff);
      color: #fff;
      padding: 10px 10px;
      transition: 200ms;

      >a {
        color: #fff;
      }

      &:hover {
        background: #252525;
      }
    }
  }

  .card__body {
    padding: 0 40px;
    display: flex;
    flex-flow: row no-wrap;
    margin-bottom: 25px;

    >.half {
      box-sizing: border-box;
      padding: 0 15px;
      flex: 1 0 50%;
    }

    .featured_text {
      h1 {
        margin: 0;
        padding: 0;
        font-weight: 800;
        font-family: "Montserrat", sans-serif;
        font-size: 64px;
        line-height: 50px;
        color: #181e28;
      }

      p {
        margin: 0;
        padding: 0;

        &.sub {
          font-family: "Montserrat", sans-serif;
          font-size: 26px;
          text-transform: uppercase;
          color: #686e77;
          font-weight: 300;
          margin-bottom: 5px;
        }

        &.price {
          font-family: "Fjalla One", sans-serif;
          color: #252525;
          font-size: 26px;
        }
      }
    }

    .image {
      padding-top: 15px;
      width: 100%;

      img {
        border-radius: 10px;
        display: block;
        max-width: 100%;
        height: auto;
      }

    }


    .description {
      margin-bottom: 25px;

      p {
        margin: 0;
        font-family: "Open Sans", sans-serif;
        font-weight: 300;
        line-height: 27px;
        font-size: 16px;
        color: #555;
      }
    }

    span.stock {
      font-family: "Montserrat", sans-serif;
      font-weight: 600;
      color: #1FD878;
    }

    .reviews {
      .stars {
        display: inline-block;
        list-style: none;
        padding: 0;

        >li {
          display: inline-block;

          .fa {
            color: #f7c01b;
          }
        }
      }

      >span {
        font-family: "Open Sans", sans-serif;
        font-size: 14px;
        margin-left: 5px;
        color: #555;
      }
    }
  }

  .card__footer {
    padding: 30px 40px;
    display: flex;
    flex-flow: row no-wrap;
    align-items: center;
    position: relative;

    &::before {
      content: "";
      position: absolute;
      display: block;
      top: 0;
      left: 40px;
      width: calc(100% - 40px);
      height: 3px;
      background: linear-gradient(to right, #00c6ff 0%, #6a00f4 20%, #ddd 20%, #ddd 100%);
    }

    .recommend {
      flex: 1 0 10px;

      p {
        margin: 0;
        font-family: "Montserrat", sans-serif;
        text-transform: uppercase;
        font-weight: 600;
        font-size: 14px;
        color: #555;
      }

      h3 {
        margin: 0;
        font-size: 20px;
        font-family: "Montserrat", sans-serif;
        font-weight: 600;
        text-transform: uppercase;
        /* Aplica el degradado al texto */
        background: linear-gradient(155deg, #6a00f4, #00c6ff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;


      }
    }

    .action {
      button {
        cursor: pointer;
        border: 1px solid #6a00f4;
        padding: 14px 30px;
        border-radius: 200px;
        color: #fff;
        background: linear-gradient(135deg, #6a00f4, #00c6ff);
        font-family: "Open Sans", sans-serif;
        font-size: 16px;
        transition: 200ms;

        &:hover {
          background: #fff;
          color: #6a00f4;
        }
      }
    }
  }
}




/* === Overlay para imagen ampliada === */
.overlay {
  display: none;
  /* oculto por defecto */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.overlay img {
  max-width: 80%;
  max-height: 80%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  animation: zoomIn 0.3s ease;
}

/* animación */
@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}



/* Styles moved from prueba.html to central CSS */
.icon {
  display: inline-block;
  background: #115dd8;
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
}

.icon a {
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.back-date {
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
}



.card {
  /* ensure the card sits close to the title */
  margin-top: 6px;
}

.verificado {
  width: 30px;
  height: auto;
  vertical-align: middle;
  margin-bottom: 5px;
}

/* Ensure the card profile is positioned below the title */
.card {
  margin-top: 0;
  /* Reset margin to align properly below the title */
}



/* Tags */
.tags-title {
  font-family: "Jost", sans-serif;
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.tags-container {
  display: flex;
  flex-wrap: wrap;
  /* permite que bajen a otra línea */
  gap: 10px;
  /* espacio entre tags */
}

.tag {
  font-family: "Jost", sans-serif;
  background: linear-gradient(135deg, #6a00f4, #00c6ff);
  color: white;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.9em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tag:hover {
  transform: scale(1.1);
  box-shadow: 0 0 10px #6a00f4;
}

/* =========================================
    Footer
   ========================================= */

:root {
  --bg: #151515;
  --text: #a8a8a8;
  --muted: #8d8d8d;
  --white: #ffffff;

  /* Paleta acento */
  --accent-color: #00c6ff;
  /* cian sólido para bordes y color */
  --accent-color-2: #6a00f4;
  /* violeta (segunda referencia) */
  --accent-gradient: linear-gradient(135deg, #6a00f4, #00c6ff);
}

.site-footer {
  font-family: 'Birthstone', cursive;
  /* font-family: "Jost", sans-serif; */
  background: var(--bg);
  color: var(--text);
  padding: 70px 16px 40px;
}

.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  text-align: center;
}

.brand-footer {
  font-size: 30px;
  font-weight: 800;
  margin: 0 0 26px;
  letter-spacing: 0.3px;
  /* Texto con degradado violeta→cian */
  background: white;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-nav-footer ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 26px;
}

.footer-nav-footer a {
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.12em;
  font-size: 20px;
  /* Texto con degradado */
  background: #a8a8a8;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-nav-footer a:hover {
  color: var(--white);
  /* fallback visual en hover */
  -webkit-text-fill-color: var(--white);
}

.social-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin: 22px 0 34px;
}

.social-btn-footer {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
  z-index: 1;
}

/* Capa que simula el borde degradado */
.social-btn-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 2px;
  /* grosor del borde */
  background: linear-gradient(135deg, #6a00f4, #00c6ff);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
}



/* Fondo degradado al pasar el mouse */
.social-btn-footer:hover {
  background: var(--accent-gradient);
  color: #111;
  transform: translateY(-2px);
}



.copy-footer {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.copy-footer {
  font-family: "Jost", sans-serif;
  display: inline-block;
  margin: 0 0.35em;
  color: #7b7b7b;
  font-size: 13px;
}

/* Enlaces de copy con degradado */
.copy-footer a {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
}

.copy-footer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 480px) {
  .brand-footer {
    font-size: 26px;
  }

  .social-footer {
    gap: 16px;
  }
}

.image-gallery {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
}

/* Imagen principal */
.main-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.gallery-main-img {
  width: 100%;
  max-width: 350px;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-main-img:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Miniaturas verticales */
.gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  max-height: 400px;
  overflow-y: auto;
  padding-right: 5px;
}

/* Estilo de las miniaturas */
.gallery-thumbs .gallery-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0.8;
  border: 2px solid transparent;
  transition: transform 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
}

.gallery-thumbs .gallery-img:hover {
  transform: scale(1.1);
  opacity: 1;
  border-color: #ff4d79; /* color destacado */
}

/* Scroll elegante */
.gallery-thumbs::-webkit-scrollbar {
  width: 6px;
}

.gallery-thumbs::-webkit-scrollbar-thumb {
  background-color: rgba(255, 77, 121, 0.6);
  border-radius: 10px;
}

.gallery-video-thumb {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0.8;
  border: 2px solid transparent;
  transition: transform 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
}

.gallery-video-thumb:hover {
  transform: scale(1.1);
  opacity: 1;
  border-color: #ff4d79;
}

.main-video {
  width: 100%;
  max-width: 350px; /* igual que gallery-main-img */
  border-radius: 12px;
  object-fit: cover;
  display: block;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.main-video:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* 🔹 Video dentro del modal */
#overlay video {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  object-fit: contain;
}

