/*==========================================================
HERO PRODUCTOS
==========================================================*/

.hero-productos{

  position:relative;

  width:100%;

  height:620px;

  overflow:hidden;

  display:flex;

  align-items:center;

}

.hero-productos-img{

  position:absolute;

  inset:0;

  width:100%;

  height:100%;

  object-fit:cover;

  object-position:center;

  z-index:1;

}

.hero-productos-overlay{

  position:absolute;

  inset:0;

  background:linear-gradient(
    90deg,
    rgba(14,42,71,.78) 0%,
    rgba(14,42,71,.60) 35%,
    rgba(14,42,71,.18) 100%
  );

  z-index:2;

}

.hero-productos-content{

  position:relative;

  z-index:3;

  width:90%;

  max-width:1300px;

  margin:auto;

}

.hero-productos-content span{

  display:inline-block;

  margin-bottom:20px;

  color:#7DC8FF;

  font-size:14px;

  font-weight:700;

  letter-spacing:3px;

  text-transform:uppercase;

}

.hero-productos-content h1{

  max-width:620px;

  color:#FFF;

  font-size:64px;

  font-weight:700;

  line-height:1.08;

  margin-bottom:24px;

}

.hero-productos-content p{

  max-width:600px;

  color:rgba(255,255,255,.90);

  font-size:18px;

  line-height:1.8;

}


/*==========================================================
CATÁLOGO
==========================================================*/

.catalogo{

  padding:100px 0;

  background:#F8FAFC;

}

.catalogo-container{

  width:90%;

  max-width:1400px;

  margin:auto;

  display:grid;

  grid-template-columns:280px 1fr;

  gap:50px;

  align-items:start;

}


/*==========================================================
SIDEBAR
==========================================================*/

.sidebar{

  background:#FFF;

  padding:35px;

  border-radius:24px;

  box-shadow:0 12px 35px rgba(16,38,63,.06);

  position:sticky;

  top:120px;

  height:max-content;

}

.sidebar h3{

  color:var(--azul);

  font-size:22px;

  margin-bottom:18px;

}

.sidebar input{

  width:100%;

  padding:15px 18px;

  border:1px solid #E5EAF0;

  border-radius:14px;

  outline:none;

  font-size:15px;

  transition:.3s;

}

.sidebar input:focus{

  border-color:var(--celeste);

}

.sidebar-divider{

  margin:35px 0;

  border-top:1px solid #ECECEC;

}

.sidebar ul{

  list-style:none;

  padding:0;

  margin:0;

}

.sidebar li{

  padding:14px 0;

  color:#647282;

  cursor:pointer;

  font-weight:500;

  transition:.3s;

}

.sidebar li:hover{

  color:var(--azul);

  padding-left:10px;

}

.sidebar li.active{

  color:var(--celeste);

  font-weight:700;

}


/*==========================================================
GRID
==========================================================*/

.productos-grid{

  display:grid;

  grid-template-columns:repeat(auto-fill,minmax(280px,1fr));

  gap:35px;

}


/*==========================================================
PRODUCT CARD
==========================================================*/

.product-card{

  background:#FFF;

  border-radius:24px;

  height: 360px;

  overflow:hidden;

  border:1px solid #EEF2F6;

  transition:.45s;

  box-shadow:0 8px 30px rgba(15,42,71,.05);

}

.product-card:hover{

  transform:translateY(-10px);

  box-shadow:0 28px 60px rgba(15,42,71,.12);

}

.product-image{

  height:240px;

  display:flex;

  justify-content:center;

  align-items:center;

  padding:18px;

  background:#FFF;

  overflow:hidden;

}

.product-image img{

  margin-top: 25px ;
  width:125%;
  height:125%;
  object-fit:contain;
  filter: drop-shadow(0 18px 25px rgba(0,0,0,.12));
  transition:.6s;


}

.product-card:hover .product-image img{

  transform:scale(1.05);

}

.product-content{

  padding:18px 22px 22px;

  text-align:center;

  border-top:1px solid #F1F4F7;

}

.product-content h3{

  color:var(--azul);

  font-size:20px;

  margin-bottom:12px;

  font-weight:700;

  line-height:1.25;

}

.product-link{

  display:inline-flex;

  align-items:center;

  gap:10px;

  color:var(--azul);

  text-decoration:none;

  font-weight:600;

  transition:.35s;

}

.product-link i{

  transition:.35s;

}

.product-card:hover .product-link{

  color:var(--celeste);

}

.product-card:hover .product-link i{

  transform:translateX(6px);

}

/*==========================================================
RESPONSIVE CATÁLOGO
==========================================================*/

@media(max-width:1100px){

  .catalogo-container{

    grid-template-columns:1fr;

  }

  .sidebar{

    position:relative;

    top:0;

  }

}

@media(max-width:992px){

  .hero-productos{

    height:520px;

  }

  .hero-productos-content h1{

    font-size:48px;

  }

  .productos-grid{

    display:grid;

    grid-template-columns:repeat(auto-fill,minmax(240px,1fr));

    gap:24px;

  }

}

@media(max-width:768px){

  .hero-productos{

    height:450px;

  }

  .hero-productos-content{

    width:92%;

  }

  .hero-productos-content h1{

    font-size:36px;

  }

  .hero-productos-content p{

    font-size:16px;

  }

  .productos-grid{

    grid-template-columns:1fr;

  }

}


/*==========================================================
PÁGINA DE PRODUCTO
==========================================================*/

.product-breadcrumb{
  padding:36px 7% 16px;
  color:#8A98A5;
  font-size:13px;
}

.product-breadcrumb a{
  color:var(--celeste);
  text-decoration:none;
}

.product-hero{
  display:grid;
  grid-template-columns:0.95fr 1.05fr;
  gap:60px;
  align-items:center;
  padding:10px 7% 60px;
  max-width:1150px;
  margin:auto;
}

.product-hero-gallery{
  position:relative;
}

/* Halo de color detrás del producto: le da "peso" comercial
   sin saturar, usando tu mismo celeste de marca */
.product-hero-gallery::before{
  content:"";
  position:absolute;
  top:50%;
  left:50%;
  width:85%;
  height:85%;
  background:radial-gradient(circle, rgba(0,168,232,.10) 0%, rgba(0,168,232,0) 72%);
  transform:translate(-50%,-50%);
  border-radius:50%;
  z-index:0;
}

.product-main-image{
  position:relative;
  z-index:1;
  width:100%;
  min-height:460px;
  max-height:560px;
  border-radius:24px;
  background:#F8FAFC;
  object-fit:contain;
  padding:36px;
  box-shadow:0 20px 50px rgba(14,42,71,.08);
}

.product-thumbs{
  display:flex;
  gap:12px;
  margin-top:14px;
}

.product-thumbs img{
  width:70px;
  height:70px;
  object-fit:contain;
  border-radius:12px;
  background:#F8FAFC;
  border:2px solid transparent;
  cursor:pointer;
  transition:.3s;
  padding:8px;
}

.product-thumbs img.active,
.product-thumbs img:hover{
  border-color:var(--celeste);
}

.product-category-tag{
  display:inline-block;
  margin-bottom:14px;
  color:var(--celeste);
  font-size:11px;
  font-weight:700;
  letter-spacing:2px;
  text-transform:uppercase;
}

.product-hero-info h1{
  margin:0 0 16px;
  color:var(--azul);
  font-size:40px;
  font-weight:700;
  letter-spacing:-1px;
}

.product-short-desc{
  color:#647282;
  font-size:17px;
  line-height:1.75;
  margin-bottom:26px;
  max-width:460px;
}

.product-presentations{
  display:flex;
  gap:10px;
  margin-bottom:32px;
}

.tag{
  padding:7px 18px;
  border-radius:20px;
  background:#EEF6FA;
  color:var(--azul);
  font-size:13px;
  font-weight:600;
}

.product-cta-group{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

.btn-cotizar{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:15px 28px;
  border-radius:30px;
  background:#25D366;
  color:#FFFFFF;
  font-weight:600;
  text-decoration:none;
  transition:.3s;
}

.btn-cotizar:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 25px rgba(37,211,102,.3);
}

.btn-cotizar-secundario{
  display:inline-flex;
  align-items:center;
  padding:15px 28px;
  border-radius:30px;
  border:1.5px solid var(--azul);
  color:var(--azul);
  font-weight:600;
  text-decoration:none;
  transition:.3s;
}

.btn-cotizar-secundario:hover{
  background:var(--azul);
  color:#FFFFFF;
}


/*==========================================================
USOS RECOMENDADOS
==========================================================*/

.product-usos{
  padding:20px 7% 60px;
  max-width:1150px;
  margin:auto;
}

.product-usos h2{
  color:var(--azul);
  font-size:24px;
  margin-bottom:24px;
}

.usos-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(130px,1fr));
  gap:16px;
}

.uso-item{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
  padding:24px 16px;
  border-radius:18px;
  background:#F8FAFC;
  border:1px solid #EEF2F6;
  transition:.3s;
}

.uso-item:hover{
  background:#EEF6FA;
  transform:translateY(-3px);
}

.uso-item i{
  font-size:26px;
  color:var(--celeste);
}

.uso-item span{
  color:var(--azul);
  font-size:14px;
  font-weight:600;
  text-align:center;
}


/*==========================================================
DETALLES / FICHA
==========================================================*/

.product-details{
  padding:60px 7% 20px;
  background:#F8FAFC;
}

.product-details-inner{
  max-width:780px;
  margin:auto;
}

.product-details-inner h2{
  color:var(--azul);
  font-size:22px;
  margin:30px 0 12px;
}

.product-details-inner h2:first-child{
  margin-top:0;
}

.product-details-inner p{
  color:#6E7F90;
  font-size:15px;
  line-height:1.75;
}


/*==========================================================
DOCUMENTOS (FICHA TÉCNICA / HOJA DE SEGURIDAD)
==========================================================*/

.product-documents{
  padding:20px 7% 80px;
  background:#F8FAFC;
}

.product-documents-inner{
  max-width:780px;
  margin:auto;
}

.product-documents-inner h2{
  color:var(--azul);
  font-size:22px;
  margin-bottom:20px;
}

.documents-grid{
  display:grid;
  gap:14px;
}

.document-card{
  display:flex;
  align-items:center;
  gap:16px;
  padding:18px 22px;
  border-radius:16px;
  background:#FFFFFF;
  border:1px solid #EEF2F6;
  box-shadow:0 8px 25px rgba(15,42,71,.05);
  text-decoration:none;
  transition:.3s;
}

.document-card:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 30px rgba(15,42,71,.1);
}

.document-icon{
  flex-shrink:0;
  width:46px;
  height:46px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#EEF6FA;
  color:var(--celeste);
  font-size:18px;
}

.document-icon-alert{
  background:#FFF3E0;
  color:#E8A008;
}

.document-text{
  flex:1;
  display:flex;
  flex-direction:column;
  gap:2px;
}

.document-text strong{
  color:var(--azul);
  font-size:15px;
}

.document-text span{
  color:#8A98A5;
  font-size:13px;
}

.document-download-icon{
  color:#8A98A5;
  font-size:14px;
}


/*==========================================================
RELACIONADOS
==========================================================*/

.product-related{
  padding:80px 7%;
  max-width:1150px;
  margin:auto;
}

.product-related h2{
  color:var(--azul);
  font-size:26px;
  margin-bottom:30px;
}

.product-related-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:20px;
}

.related-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  padding:20px;
  border-radius:18px;
  background:#FFFFFF;
  box-shadow:0 8px 25px rgba(15,42,71,.06);
  text-decoration:none;
  transition:.3s;
}

.related-card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 40px rgba(15,42,71,.1);
}

.related-card img{
  width:100px;
  height:100px;
  object-fit:contain;
  margin-bottom:12px;
}

.related-card span{
  color:var(--azul);
  font-size:14px;
  font-weight:600;
  text-align:center;
}


/*==========================================================
RESPONSIVE PRODUCTO
==========================================================*/

@media(max-width:768px){

  .product-hero{
    grid-template-columns:1fr;
    gap:30px;
  }

  .product-main-image{
    min-height:320px;
    max-height:380px;
    padding:24px;
  }

  .usos-grid{
    grid-template-columns:repeat(2,1fr);
  }

}
