@charset "utf-8";
@import url('reset.css');
@font-face {
  font-family: 'ArgentumSans';
  src: url('../../resources/fuentes/ArgentumSans-Bold.ttf') format('truetype');
  /* font-weight: bold; */
  font-style: normal;
}
@font-face {
  font-family: 'ArgentumSans-Light';
  src: url('../../fuentes/ArgentumSans-Light.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'ArgentumSans-ExtraBold';
  src: url('../../resources/fuentes/ArgentumSans-ExtraBold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Saira-Bold';
  src: url('../../resources/fuentes/Saira-Bold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
:root {
  --fondo-claro: #f6f7fa;
  --azul--osc: #0056bc;
  --azul-claro: #0072ce;
  --color-morado: #582c83;
  --color-gris: #3b5266;
  --color-negro: #000;
  --fuente-principal: 'Saira', sans-serif;
  --fuente-secundaria: 'ArgentumSans', sans-serif;
  --fuente-secundaria-ExtraBold: 'ArgentumSans-ExtraBold', sans-serif;
  --fuente-Saira-Bold: 'Saira-Bold', sans-serif;
}

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #ffffff;
  overflow-x: hidden;
}

/*---------TAMBIEN TE PUEDE INTERESAR------*/
.container-interesar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(5, 1fr);
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  padding: 4%;
  background-color: #ffffff;
}

.interesar-text {
  grid-area: 1 / 1 / 2 / 3;
}
.interesar-text h1 {
  color: var(--azul-claro);
  font-family: var(--fuente-secundaria-ExtraBold);
  font-size: 1.5rem;
  font-style: normal;
  line-height: 40px; /* 114.286% */
  letter-spacing: -0.35px;
}
.producto-1 {
  grid-area: 2 / 1 / 6 / 2;
  margin: auto;
  text-align: center;
}
.producto-2 {
  grid-area: 2 / 2 / 6 / 3;
  margin: auto;
  text-align: center;
}
.producto-3 {
  grid-area: 2 / 3 / 6 / 4;
  margin: auto;
  text-align: center;
}
.producto-4 {
  grid-area: 2 / 4 / 6 / 5;
  margin: auto;
  text-align: center;
}
.img-interesar {
  width: 80%;
  height: 300px;
  margin: auto;
  object-fit: contain;
}

.mobile {
  background-color: #fff;
  padding-bottom: 1rem;
}

.tittle-producto {
  color: var(--color-gris);
  font-family: var(--fuente-secundaria);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-style: normal;
  line-height: 2rem;
  font-weight: 600;
}
@media (max-width: 1050px) {
  .text-productSlider {
    text-align: center;
    margin: auto;
  }
}

@media (max-width: 768px) {
  .text-productSlider h1 {
    font-family: var(--fuente-Saira-Bold);
    color: var(--color-gris);
    font-size: 1.625rem;
    margin-bottom: -10px;
  }

  .text-productSlider p {
    font-family: var(--fuente-Saira-Bold);
    color: var(--color-gris);
    font-size: 1rem;
    margin-bottom: 15px;
  }

  button {
    font-size: 1em;
  }
  .producto-4 {
    display: none;
  }
  .container-interesar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .table1 h1 {
    font-size: 16px;
    line-height: 16px;
  }
  .banner-caracteristicas {
    min-height: auto;
  }
  #button-comprar {
    margin-bottom: 50%;
  }
}
@media (min-width: 786px) {
  .btn-descarga__movil {
    display: none;
  }
  .text-productSlider {
    display: none;
  }
}

@media (max-width: 785px) {
  .slider-content {
    height: 100%;
  }
  .btn-descarga {
    margin: auto;
    margin-top: 10%;
  }
  .pulgadas {
    display: none;
  }
  #button-comprar {
    margin-bottom: 19%;
    font-family: var(--fuente-secundaria-ExtraBold);
  }
  .morado {
    color: var(--color-morado);
  }
  .caracteristica2,
  .caracteristica3 {
    display: none;
  }
  .caracteristicas-imageText {
    grid-template-columns: 33% 77%;
    margin: auto;
  }
  .interesar-text h1 {
    font-size: 1.25rem;
    line-height: 27px;
    font-family: var(--fuente-secundaria-ExtraBold);
  }
  .table1 h1 {
    font-size: 20px;
    line-height: 21px;
    margin-left: 18px;
  }

  .imagen {
    display: none;
  }
  .container-tablaDescripcion {
    grid-area: 1 / 1 / 6 / 7;
    overflow: auto;
    margin-bottom: 20px;
  }
  .container-tablaDescripcion h1 {
    color: var(--azul-claro);
    font-size: 30px;
  }
  .tabla-descripcion th,
  td {
    padding: 0 5%;
  }
  .descargar-fichaText {
    grid-area: 6 / 2 / 6 / 6;
    display: flex;
    flex-direction: column;
  }
  .desktop {
    display: none;
  }
  .slider {
    position: relative;
    width: 100%;
  }
  .myslide {
    width: 100%;
    max-height: 46rem;
    display: none;
    overflow: hidden;
  }
  .fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 0.5s;
    animation-name: fade;
    animation-duration: 1.5s;
  }

  @-webkit-keyframes fade {
    from {
      opacity: 0.8;
    }
    to {
      opacity: 1;
    }
  }

  @keyframes fade {
    from {
      opacity: 0.8;
    }
    to {
      opacity: 1;
    }
  }

  .slider-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(6, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    background-color: #ffffff;
  }
  .interesar-text {
    grid-area: 1 / 1 / 2 / 6;
    align-self: end;
    margin-left: 8%;
  }
  .producto-1,
  .producto-2,
  .producto-3,
  .producto-4 {
    grid-area: 2 / 2 / 6 / 6;
    margin-top: 7%;
  }
  .prev {
    grid-area: 4 / 1 / 6 / 2;
    text-align: -webkit-right;
  }
  .next {
    grid-area: 4 / 6 / 6 / 7;
  }
  .titulo_codigo__morado,
  .titulo_codigo__azul {
    font-size: 1.75rem;
  }
}

@media (min-width: 786px) {
  .mobile {
    display: none !important;
  }
}

/*---- Estilos para la seccion tabla especificaciones */

.producto-details {
  font-family: 'ArgentumSans', sans-serif;
  background-color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 3rem 4rem;
  align-items: start;
}

.producto-media-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.image-slider {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  object-fit: contain;
}

/* Estilos para slides */
.image-slider .slide-img {
  position: absolute;
  top: 40;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
}

/* Comportamiento cuando es slider automático */
.image-slider.slider-auto .slide-img {
  transition: opacity 0.5s ease;
}

.image-slider.slider-auto .slide-img.active {
  opacity: 1;
}

/* Comportamiento cuando es single image */
.image-slider.single-image .slide-img {
  position: relative;
  opacity: 1;
  transition: none;
}

/* Ficha técnica */

.technical-sheet-section {
  text-align: center;
  margin-top: 20px;
}

.span-technical-sheet {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 600;
  color: var(--azul-claro);
  text-align: center;
  padding-bottom: 1rem;
}
.download-technical-sheet {
  font-family: var(--fuente-secundaria);
  font-weight: 600;
  font-size: clamp(14px, 2vw, 20px);
  background-color: var(--color-gris);
  border-radius: 10px;
  color: #fff;
  padding: 0.8rem 4rem;
  transition: all 0.3s ease-in-out;
}

.download-technical-sheet:hover {
  background-color: #2b3c4b;
}

/* Estilos para la tabla de especificaciones */

.spec-title {
  font-family: 'ArgentumSans-ExtraBold', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.3rem);
  margin-bottom: 1rem;
  color: var(--azul--osc);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  border-radius: 1rem 1rem 0 0;
  overflow: hidden;
}

/* Estilos generales para th y td */
.spec-table th,
.spec-table td {
  text-align: left;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #e0e0e0;
  vertical-align: middle; /* Centrado vertical */
}

/* Estilos específicos para el thead */
.spec-table-head tr th {
  padding: 1rem 2rem;
  font-weight: 800 !important;
  color: #fff;
  background-color: var(--azul--osc);
}

/* Estilos para el tbody */
.spec-table-body th,
.spec-table-body td {
  color: var(--color-gris);
  padding: 1rem 2rem;
}

.spec-table-body .description {
  font-family: var(--fuente-secundaria-ExtraBold);
}

.hidden-spec {
  display: none;
}

.show-more-container {
  display: flex;
  align-items: end;
  justify-content: end;
}
.show-more-specs {
  font-family: var(--fuente-secundaria);
  font-weight: 600;
  background: none;
  border: none;
  color: #0066cc;
  cursor: pointer;
  padding: 8px 18px;
  font-size: clamp(12px, 2vw, 18px);
  margin-top: 10px;
}

.show-more-specs:hover {
  text-decoration: underline;
}

.spec-row {
  transition: all 0.3s ease;
}

/* Responsive para tablets */
@media (max-width: 1024px) {
  .producto-details {
    padding: 2rem;
    gap: 1.5rem;
  }

  .producto-media {
    min-height: 250px;
  }
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .producto-details {
    grid-template-columns: 1fr;
    padding: 1.5rem;
    gap: 1.5rem;
    padding-bottom: 3.5rem;
  }

  .producto-media {
    min-height: 200px;
    max-width: 100%;
    order: -1; /* Mueve la imagen arriba en móviles */
  }

  .producto-media img {
    max-height: 300px;
    width: auto;
    max-width: 100%;
  }

  .spec-table th,
  .spec-table td {
    padding: 0.5rem;
    font-size: 0.9rem;
  }
  .title-flex .title {
    text-wrap: wrap;
  }
  .img-interesar {
    height: 300px;
    object-fit: contain;
  }
}

/* Pequeños móviles */
@media (max-width: 480px) {
  .producto-details {
    padding: 1rem;
    gap: 1rem;
    padding-bottom: 4rem;
  }

  .producto-media {
    min-height: 180px;
  }

  .spec-table {
    font-size: 0.85rem;
  }

  .spec-table-head th {
    font-size: 0.95rem;
    padding: 0.75rem 0.5rem;
  }
}
