/* RESET RULES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/* :root {
    --white: #fff;
    --red: #e74c3c;
    --black: #000;
    --img-color: #ededed;
    --overlay: rgba(0, 0, 0, 0.75);
  } */

/* ---------------------- Encavezado de prodcutos -------------------- */
.product-header {
  text-align: center;
  margin-top: -2em;
  margin-bottom: 2em;
}

.title {
  font-size: 2rem;
  /* Para tamaño de texto 3xl */
  font-weight: bold;
  color: #1f2937;
  /* color text-gray-900 */
  letter-spacing: -0.05em;
  /* Ajuste de tracking-tight */
  margin: 0;
}

@media (min-width: 640px) {
  .title {
    font-size: 2.25rem;
    /* Para tamaño de texto 4xl en pantallas sm */
  }
}

.underline-container {
  display: flex;
  justify-content: center;
  /* Asegura que la underline esté centrada */
  margin-top: 10px;
}

.underline {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 5px;
}

.colorUnderline {
  width: 25%;
  height: 3px;
  border-radius: 50px;
  background-image: linear-gradient(to top, #63b7cc 40%, #66bace);
}


/* -----------------------CAROUSEL -------------------------------- */

.slideshow-theme {
  --white: #fff;
  --red: #e74c3c;
  --black: #000;
  --img-color: #ededed;
  --overlay: rgba(0, 0, 0, 0.75);
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

ul {
  list-style: none;
}

.featured-wrapper img {
  display: block;
  max-width: 100%;
  height: auto;
  /* background-color: var(--img-color); */
  background-color: white;

}

/* label {
  display: block;
  cursor: pointer;
} */
label {
  display: block;
  cursor: pointer;
  user-select: none;
  /* Evita que el texto sea seleccionado accidentalmente */
}

a {
  text-decoration: none;
  color: inherit;
}

input[type="radio"] {
  position: absolute;
  bottom: 0;
  left: -9999px;
}

body {
  color: var(--white);
  margin: 20px 0;
  font-family: sans-serif;
}

.container {
  max-width: 450px;
  padding: 0 20px;
  margin: 0 auto;
}

/* SLIDESHOW
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
.featured-wrapper {
  position: relative;
}

.featured-list {
  display: flex;
  width: 100%;
  mask-image: linear-gradient(black 60%, transparent);
}

.featured-list li {
  flex: 1;
  width: 100%;
  height: 400px;
  /* Altura ajustada según tus necesidades */
  overflow: hidden;
  /* Oculta cualquier parte de la imagen que se salga del contenedor */
}

.featured-list img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  mask-image: linear-gradient(black 80%, transparent);
}


.featured-wrapper .featured-list {
  display: grid;
}

.featured-wrapper .featured-list li {
  grid-column: 1;
  grid-row: 1;
  opacity: 0;
  transition: opacity 0.25s;
}

.featured-wrapper .arrows label::before,
.featured-wrapper .arrows label::after {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--black);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 24px 24px;
  background-color: var(--white);
  opacity: 0.5;
  transition: opacity 0.25s;
}

.featured-wrapper .arrows label::before {
  left: 10px;
}

.featured-wrapper .arrows label::after {
  right: 10px;
}

.featured-wrapper .dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
}

.featured-wrapper .dots li:not(:last-child) {
  margin-right: 8px;
}

.featured-wrapper .dots label {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid var(--white);
  transition: background 0.25s;
}

.featured-wrapper .dots label:hover {
  background: currentColor;
}

.thumb-list {
  display: flex;
  justify-content: center;
  /* Centra horizontalmente las imágenes */
  align-items: center;
  /* Centra verticalmente las imágenes (opcional) */
  gap: 20px;
  /* Ajusta el espacio entre las imágenes */
  margin-top: 20px;
}

.thumb-list label {
  display: grid;
}

.thumb-list img,
.thumb-list .outer {
  grid-column: 1;
  grid-row: 1;
}

.thumb-list .outer {
  display: grid;
  place-items: center;
  transition: background 0.25s;
}

.thumb-list .inner {
  font-size: 18px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.25s;
}

/* MIMIC CLICK EVENT */
[id="image1"]:checked~.container .featured-list li:nth-child(1),
[id="image2"]:checked~.container .featured-list li:nth-child(2),
[id="image3"]:checked~.container .featured-list li:nth-child(3),
[id="image4"]:checked~.container .featured-list li:nth-child(4),
[id^="image"]:checked~.container .arrows [for^="image"]:hover::before,
[id^="image"]:checked~.container .arrows [for^="image"]:hover::after {
  opacity: 1;
}

[id="image1"]:checked~.container .arrows [for="image5"]::before,
[id="image2"]:checked~.container .arrows [for="image1"]::before,
[id="image3"]:checked~.container .arrows [for="image2"]::before,
[id="image4"]:checked~.container .arrows [for="image3"]::before {
  content: '';
  background-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/162656/arrow-prev-slideshow.svg);
}

[id="image1"]:checked~.container .arrows [for="image2"]::after,
[id="image2"]:checked~.container .arrows [for="image3"]::after,
[id="image3"]:checked~.container .arrows [for="image4"]::after,
[id="image5"]:checked~.container .arrows [for="image1"]::after {
  content: '';
  background-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/162656/arrow-next-slideshow.svg);
}

[id="image1"]:checked~.container .dots [for="image1"],
[id="image2"]:checked~.container .dots [for="image2"],
[id="image3"]:checked~.container .dots [for="image3"],
[id="image4"]:checked~.container .dots [for="image4"] {
  background: currentColor;
}

[id="image1"]:checked~.container [for="image1"] .outer,
[id="image2"]:checked~.container [for="image2"] .outer,
[id="image3"]:checked~.container [for="image3"] .outer,
[id="image4"]:checked~.container [for="image4"] .outer {
  background: var(--overlay);
}

[id="image1"]:checked~.container [for="image1"] .inner,
[id="image2"]:checked~.container [for="image2"] .inner,
[id="image3"]:checked~.container [for="image3"] .inner,
[id="image4"]:checked~.container [for="image4"] .inner {
  opacity: 1;
  transform: none;
}

/* Estilos para la lista de miniaturas (thumb-list) */
.slideshow-theme .thumb-list {
  display: flex;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
  mask-image: linear-gradient(black 60%, transparent);
}

.slideshow-theme .thumb-list li {
  /* overflow: hidden; */
  width: 100%; /* Adjust as necessary */
  height: 300px; /* Ensure this matches the height set for the images */
  display: flex;
  justify-content: center;
  align-items: center;
  /* Oculta cualquier parte de la imagen que exceda el contenedor */
}

.slideshow-theme .thumb-list img {
  /* width: 100%; */
  /* width: 250px;
  height: 240px;
  object-fit: cover; */
  /* width: 250px; */
  /* Ensures the image fills the parent container */
  height: 300px;
  /* Adjust this value to your desired height */
  object-fit: cover;
  /* Ensures the image maintains its aspect ratio */
  display: block;
  /* Removes any inline spacing */
  /* Asegura que la imagen cubra completamente el contenedor */
}



/* FOOTER
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
.page-footer {
  color: var(--black);
  text-align: right;
  padding-right: 20px;
  margin-top: 20px;
}

.page-footer span {
  color: var(--red);
}




/* //////////////////////////////////// */


.productos-card {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  border-radius: 15px;
  overflow: hidden;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
}

.productos-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/barco.jpg');
  /* Verifica esta ruta */
  background-size: cover;
  background-position: center;
  filter: blur(10px);
  /* Aplica el desenfoque */
  z-index: 1;
}

.productos-content {
  position: relative;
  z-index: 2;
  /* Coloca el contenido sobre la imagen de fondo */
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  color: white;
}

.productos-description {
  text-align: left;
  color: white;
}

.productos-description h1 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 15px;
}

.productos-description p {
  font-size: 20px;
  margin-bottom: 10px;
}

.productos-description h6 {
  font-size: 16px;
  margin-bottom: 10px;
}

.productos-description ul {
  list-style-type: disc;
  padding-left: 20px;
}

.productos-button {
  /* background-color: transparent; */
  background-color: #007bff;
  border: 1px solid #007bff;
  color: #007bff;
  border-radius: 10px;
  padding: 10px 20px;
  cursor: pointer;
  margin-top: 15px;
}

.productos-button a {
  text-decoration: none;
  color: inherit;
  color: white;
}

.productos-button:hover {
  background-color: #007bff;
  color: white;
}

.productos-image {
  display: block;
  /* Asegura que la imagen sea un elemento de bloque */
  margin: 0 auto;
  /* Centra la imagen horizontalmente */
  width: 350px;
  height: 280px;
  object-fit: cover;
  border-radius: 15px;
  z-index: 3;
  /* Asegura que la imagen esté por encima de la capa de fondo */
}

/* ************************************************************** */

/* Estilo para el botón activo */
.tab-button.active {
  background-color: #64b8cc !important;
  color: #fff !important;
  /* Cambia el color del texto a blanco para mejor visibilidad */
}

/* Estilo para el botón no activo */
.tab-button {
  background-color: #f8f9fa;
  /* Color de fondo por defecto */
  color: #000 !important;
  /* Color del texto por defecto */
}