header {
  background-color: transparent;
  transition: all 0.3s;
}

#logoNobili {
  background-image: url("/content/images/header-footer/logo-nobili-blanco.svg");
}

#openNav {
  background-image: url("/content/images/header-footer/Hamburger-White.svg");
}

main {
  box-sizing: border-box;
}

/* Hero */

.heroLineaProducto {
  height: 90vh;
  justify-content: flex-end;
  gap: 0.625rem;
  color: white;
  padding: 1rem 1rem 1.875rem 1rem;
}

.heroLineaProducto a {
  text-decoration: none;
  color: white;
  font-size: 0.625rem;
  font-weight: 500;
  line-height: 9.57px;
  text-transform: uppercase;
}

.heroLineaProducto h1 {
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 23px;
  margin-bottom: 0.625rem;
}

.heroLineaProducto p {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 17.23px;
}

/* Modelos */

.modelos {
  gap: 3.5rem;
  padding: 3.5rem 1rem;
  cursor: pointer;
}

.modelos>p:first-of-type {
  font-size: 0.875rem;
  line-height: 16px;
}

/* Colores */
.containerProductos {
  width: 100%;
  text-align: center;
}

.imagenProducto {
  width: 60%;
  height: auto;
  transition: opacity 0.3s ease;
}

.opcionesColores {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin: 1rem auto 1.5rem auto;
}

.bordeColor,
.bordeColorArticulo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 0.5px solid transparent;
  padding: 2px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.bordeColor:first-of-type {
  border-color: var(--color-black);
}

.bordeColor:first-of-type[data-selected="false"] {
  border-color: transparent;
}

.circuloColor {
  width: 1.25rem;
  height: 1.25rem;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  border-radius: 50%;
}

.bordeSeleccionado {
  border-color: var(--color-black);
}

.colorName {
  position: absolute;
  top: 26px;
  margin-top: 0.5rem;
  font-size: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateY(5px);
}

.bordeColor[data-selected="true"] + .colorName {
  opacity: 1;
  transform: translateY(0);
}

/* Opciones Modelos */

.opcionesModelos {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.modelo {
  width: 45%;
  gap: 1.25rem;
}

.imgArticulo {
  width: 5.4rem;
  height: 6rem;
}

.imgArticulo img{
  width: auto;
  height: 100%;
}

.detalle p:first-child {
  color: var(--color-black);
  margin-bottom: 0.625rem;
}

.detalle p {
  color: #757070;
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 0.875rem;
}

.modelo .detalle .opcionesColores{
  align-items: center;
  justify-content: flex-start;
  gap: 0.625rem;
}

.modelo .detalle .opcionesColores p{
  color: var(--color-black);
  margin-bottom: 0;
}

.todosModelos {
  position: relative;
  background-color: var(--color-black);
  border: none;
  color: var(--color-white);
  font-size: 0.625rem;
  font-family: 'Gotham Pro', sans-serif;
  line-height: 9.57px;
  cursor: pointer;
  padding: 1rem 2.375rem 1rem 0.75rem;
}

.todosModelos::after {
  content: "";
  width: 1rem;
  height: 0.75rem;
  position: absolute;
  top: 50%;
  right: 0.75rem;
  transform: translateY(-50%);
  background-image: url("/content/images/producto/Icon-Flecha.svg");
  background-size: contain;
  background-repeat: no-repeat;
}

.todosModelos,
.verModelos {
  transition: all 0.5s;
}

/* Swiper */
.swiper {
  width: 100%;
  height: 225px;
}

.swiper-wrapper{
  cursor: grab;
}

.swiper-slide {
  width: auto;
}

.swiper-slide img {
  width: auto;
  height: 100%;
  object-fit: contain;
}

.swiper-slide {
  padding-bottom: 3.5rem;
}

/* Caracteristicas */

.caracteristica {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.caracteristica h2 {
  text-align: center;
  font-size: 1rem;
  color: var(--color-black);
  line-height: 18px;
  margin-bottom: 1.25rem;
}

.caracteristica p {
  text-align: center;
  font-size: 0.875rem;
  line-height: 18px;
}

.caracteristica img {
  width: 100%;
  margin-bottom: 3.125rem;
}

.grifosNobili {
  width: 100%;
}

.verModelos {
  background-color: var(--color-black);
  border: none;
  color: var(--color-white);
  font-size: 0.625rem;
  font-family: 'Gotham Pro', sans-serif;
  line-height: 9.57px;
  text-decoration: none;
  cursor: pointer;
  padding: 0.75rem;
  margin-top: 1.5rem;
}

@media only screen and (min-width: 480px) {
  .opcionesModelos {
    gap: 1.5rem;
  }

  .imgArticulo {
    width: 6rem;
    height: 8rem;
  }

  .swiper {
    height: 100%;
  }

  .swiper-slide img {
    height: 300px;
  }
}

/* Tablet */
@media only screen and (min-width: 660px) {
  .heroLineaProducto {
    padding: 3.125rem 3.75rem;
  }

  .heroLineaProducto h1 {
    font-size: 1.5rem;
  }

  .heroLineaProducto p {
    font-size: 1.25rem;
    line-height: 19px;
  }

  .modelos {
    padding: 3.5rem 3.75rem;
  }

  .modelos>p:first-of-type {
    font-size: 0.875rem;
  }

  .imagenProducto {
    max-width: 300px;
  }

  .caracteristica img {
    max-height: 370px;
    width: auto;
  }

  #modelos .opcionesColores{
    margin-top: 2rem;
  }

  .opcionesModelos {
    gap: 2rem;
  }

  .modelo>img {
    width: 9.375rem;
  }

  .swiper-slide img {
    height: 400px;
  }

  .caracteristica h2 {
    font-size: 1.125rem;
  }
}

@media only screen and (min-width: 850px) {
  .opcionesModelos {
    gap: 3rem;
  }

  .caracteristica {
    max-width: 644px;
  }
}

/* Desktop */
@media only screen and (min-width: 1080px) {
  /* Hero */
  .heroLineaProducto {
    height: 100vh;
    justify-content: space-between;
    padding: 6rem 5.625rem 3.125rem 5.625rem;
  }

  .heroLineaProducto a {
    width: max-content;
    position: relative;
    font-size: 0.75rem;
    line-height: 11.48px;
    transition: all 0.6s ease;
  }

  .heroLineaProducto a::after {
    content: "";
    width: 1rem;
    height: 0.75rem;
    position: absolute;
    top: 50%;
    left: -0.5rem;
    transform: translate(-150%, -50%) rotateY(180deg);
    background-image: url("/content/images/producto/Icon-Flecha.svg");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .heroLineaProducto a:hover {
    margin-left: 1.75rem;
  }

  .heroLineaProducto a:hover::after {
    opacity: 1;
    transform: translate(-100%, -50%) rotateY(180deg);
  }

  .heroLineaProducto h1 {
    font-size: 1.875rem;
    line-height: 28.71px;
    margin-bottom: 1.25rem;
  }

  .heroLineaProducto p {
    font-size: 1.375rem;
    line-height: 21.05px;
  }

  /* Modelos */
  .modelos {
    gap: 6.25rem;
    padding: 6.25rem 5.625rem;
  }

  .modelos>p:first-of-type {
    font-size: 1rem;
    line-height: 18px;
  }

  #modelos .opcionesColores{
    margin-top: 3rem;
  }

  /* Opciones Modelos */
  .imgArticulo {
    width: 8rem;
    height: 10rem;
  }

  .opcionesModelos {
    gap: 4.125rem;
    justify-content: space-evenly;
  }

  .modelo {
    width: 28.3%;
  }

  .detalle p:first-child,
  .detalle p {
    font-size: 0.875rem;
    line-height: 13.4px;
  }

  .detalle .detalleColor p {
    font-size: 0.75rem;
    line-height: 11.48px;
  }

  .todosModelos,
  .verModelos {
    font-size: 0.75rem;
    line-height: 11.48px;
  }

  /* Caracteristicas */
  .caracteristica {
    max-width: 670px;
  }

  .caracteristica p {
    font-size: 1rem;
  }

  .verModelos{
    margin-top: 4rem;
  }
}

@media only screen and (min-width: 1240px) {
  .caracteristica {
    max-width: 760px;
  }
}

@media only screen and (min-width: 1440px) {
  .caracteristica {
    max-width: 884px;
  }
}

@media only screen and (min-width: 1650px) {

  /* Hero */
  .heroLineaProducto a {
    font-size: 0.875rem;
  }

  .heroLineaProducto h1 {
    font-size: 2.125rem;
  }

  .heroLineaProducto p {
    font-size: 1.5rem;
  }

  /* Modelos */

  .modelos>p:first-of-type,
  .caracteristica p {
    font-size: 1.125rem;
    line-height: 20px;
  }

  .modelo {
    width: 21%;
  }

  .detalle p:first-child,
  .detalle p {
    font-size: 1rem;
    line-height: 18px;
  }

  .detalle .detalleColor p {
    font-size: 0.875rem;
    line-height: 16px;
  }

  .todosModelos,
  .verModelos {
    font-size: 0.875rem;
    line-height: 16px;
  }

  /* Swiper */

  .swiper-slide img {
    height: 500px;
  }

  /* Caracteristica */

  .caracteristica {
    max-width: 1014px;
  }

  .caracteristica h2 {
    font-size: 1.25rem;
    line-height: 22px;
    margin-bottom: 1.625rem;
  }

  .verModelos {
    margin-top: 1.625rem;
  }
}

@media only screen and (min-width: 1800px) {
  .caracteristica {
    max-width: 1106px;
  }
}

@media only screen and (min-width: 1920px) {
  .caracteristica {
    max-width: 1180px;
  }
}