.page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(255, 255, 255, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.page-loader.is-visible {
  opacity: 1;
  visibility: visible;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.page-loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.page-loader__spinner {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 4px solid #d9e3ec;
  border-top-color: #104570;
  animation: loaderSpin 0.9s linear infinite;
}

.page-loader__text {
  margin: 0;
  font-size: 0.95rem;
  color: #1d4f7a;
  font-weight: 600;
}

@keyframes loaderSpin {
  to {
    transform: rotate(360deg);
  }
}


/* HERO */

.products-hero{
    padding-bottom: 50px;
}

.products-hero__inner {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 80px 20px 20px 20px;
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;
  overflow: hidden;
  background: url('../../assets/img/productos/cover-productos.jpg') center/cover no-repeat;
  min-height: 400px;
  
}

.products-hero__inner .container{
  display: grid;
  grid-template-columns:1fr;
  gap: 30px;
}

.products-hero__content {
  align-self: center;
  color: #fff;
}


.products-hero__featured {
  align-self: center;
  justify-self: end;
  width: 100%;
  width: 250px;
  background:#F2F3F2;
  backdrop-filter: blur(60px);
    box-shadow: 0px 0px 12px 0px #0C0C0C1A;

  border-radius: 16px;
  padding: 18px;
  backdrop-filter: blur(8px);
}

.products-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #164f81;
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.products-hero__badge .icon{
    width: 30px;
    height: 30px;
    background: #114470;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.products-hero__badge .icon img{
    width: 75%;
}

.products-hero__featured-body {
  display: grid;
  grid-template-columns:1fr;
  gap: 10px;
  align-items: center;
}

.products-hero__featured-img {
  width: 150px;
  aspect-ratio: 1/1;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.products-hero__featured-img img {
  width: 75%;
}

.products-hero__featured-info h5 {
  color: #1E1E1E;
  font-weight: 700;
  margin-bottom: 0;
}

.products-hero__featured-info p {
  margin: 0;
  color: #7C7C7C;
  font-weight: 500;
}

/* Custom Bullets */
.custom-pagination {
  position: absolute;
bottom: 0px !important;
display: flex;
justify-content: center;
gap: 0px;
z-index: 10;
padding-right: 10px;
padding-left: 10px;
}

.custom-pagination .swiper-pagination-bullet {
  width: 40px;
  height: 4px;
  background: #FFFFFF8F;
  opacity: 1;
  border-radius: 20px;
  transition: background 0.3s;
}

.custom-pagination .swiper-pagination-bullet-active {
  background: #fff;
}

/* CATEGORIAS */
.products-categories {
  padding: 0 0 28px;
}

.products-categories__track {
  display: flex;
  justify-content: center;
  padding-bottom: 10px;
  padding-top: 10px;
}


.products-categories__track .swiper-slide{
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.category-chip {
      width: 130px;
    border: 0;
    background: transparent;
    text-align: center;
    padding: 0;
    cursor: pointer;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

.category-chip__img {
  width: 130px;
  height: 130px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #F2F3F2;
  margin-bottom: 10px;
  transition: .3s ease;
}

.category-chip__img img {
  width: 70%;
  object-fit: contain;
}

.category-chip__name {
  display: block;
  color: #114470;
  font-weight: 500;
  margin-bottom: 0;
}

.category-chip.is-active .category-chip__img,
.category-chip:hover .category-chip__img {
  background: #DBEBF4;
  transform: translateY(-4px);
  
}

.category-chip.is-active .category-chip__name{
    color:#ECB500;
  font-weight:700;
} 

/* LAYOUT */


.grid-filter{
  display: grid;
  grid-template-columns: 1fr;
  gap:20px;
}

.filters-box {
  background: #DBEAF4;
  border-radius: 10px;
  overflow: hidden;
  position: sticky;
  top: 110px;
}

.filters-box__head {
  padding: 14px 16px;
  color: #1E1E1E;
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1px solid #10457080;
}

.filter-group {
  border-bottom: 1px solid #10457080;
}

.filter-group:last-child {
  border-bottom: 0;
}

.filter-group__toggle {
  width: 100%;
  background: transparent;
  border: 0;
  text-align: left;
  padding: 12px 16px 8px;
  font-size: 14px;
  font-weight: 600;
  color: #1E1E1E;
}

.filter-group__body {
  padding: 0 16px 14px;
}

.filter-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 14px;
  color: #4b4b4b;
}

.products-toolbar {
  margin-bottom: 18px;
}

.products-toolbar__count {
  margin: 0;
  color: #4f4f4f;
  font-size: .92rem;
}

/* GRID */
.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.product-card {
  height: 100%;
}

.product-card__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 250px;
  padding: 10px;
  border-radius: 10px;
  background: #F7F7F7;
  text-decoration: none;
  transition: .3s ease;
}

.product-card__inner:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 26px rgba(0,0,0,.08);
}

.product-card__img {
    width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  display: grid;
  place-items: center;
  margin-bottom: 0px;
  background-color: #fff;
  border-radius: 10px;
}

.product-card__img img {
  max-width: 100%;
  max-height: 120px;
  object-fit: contain;
}

.product-card__body {
  text-align: center;
  margin-top: 15px;
}

.product-card__body h6 {
  color: #104570;
  font-weight: 700;
  margin-bottom: 5px;
}

.product-card__body p {
  margin: 0;
  color: #7C7C7C;
}

.product-card__body #marca{
    font-size: 12px;
    text-transform: uppercase;
}

/* RESPONSIVE */

/* xxs */ @media (max-width: 430px) {}
/* xs  */ @media (min-width: 431px) {

.products-hero__featured-body {
  grid-template-columns: 120px 1fr;
  gap: 20px;
}

.products-hero__featured-img {
  width: 120px;
}

.products-grid {grid-template-columns: repeat(2, 1fr);gap: 15px;}

.product-card__inner {
  padding: 15px;
}

} /* @media (max-width: 575px) {} */
/* sm  */ @media (min-width: 576px) {

  .products-hero__featured-body {
  grid-template-columns: 150px 1fr;
  gap: 20px;
}

.products-hero__featured-img {
  width: 150px;
}

  .grid-filter{
  grid-template-columns: 200px auto;
  gap:20px;
}
.products-grid {grid-template-columns: repeat(2, 1fr);gap: 15px;}

}
/* md  */ @media (min-width: 768px) {

  .grid-filter{
  grid-template-columns: 250px auto;
  gap:20px;
}

.products-hero__inner .container{
  grid-template-columns:auto 350px;
  gap: 30px;
}

.products-hero__featured-body {
  grid-template-columns: 120px 1fr;
  gap: 20px;
}

.products-hero__featured-img {
  width: 120px;
}

.products-grid {grid-template-columns: repeat(2, 1fr);gap: 15px;}


} /* ipad Portrait */
/* lg  */ @media (min-width: 992px) {

.products-hero__inner .container{
  grid-template-columns:auto 400px;
  gap: 30px;
}

.products-hero__featured-body {
  grid-template-columns: 150px 1fr;
  gap: 30px;
}

.products-hero__featured-img {
  width: 150px;
}

.products-grid {grid-template-columns: repeat(3, 1fr);gap: 15px;}



} /* ipad Landscape */
/* xl  */ @media (min-width: 1200px) {

.products-grid {grid-template-columns: repeat(4, 1fr);gap: 15px;}

}
/* xxl */ @media (min-width: 1400px) {}




@media (max-width: 991.98px) {
  
  .products-hero__featured {
    justify-self: start;
    max-width: 100%;
  }

  .filters-box {
    position: static;
  }


}

@media (max-width: 575.98px) {



  .products-hero__featured-img {
    margin: 0 auto;
  }

 

  .category-chip {
    min-width: 110px;
  }
}





/* ===================================
    Producto detalle
====================================== */
.bg-detalle{
  border: 1px solid;
border-image-source: linear-gradient(96.21deg, #EFEFEF 0.85%, #CFCFCF 53.28%, #F5F4F4 100%);
backdrop-filter: blur(50px);
background: #FFFFFF;
border-radius: 16px;
}

.stiky{
  position: sticky;
top: 100px;
}

.video{
  width: 100%;
  height: 250px;
  border-radius: 16px;
}

#blog-detalle .deco{
  width: 65px;
  height: 2px;
  background: #4657A3;
  margin-top: 10px;
  margin-bottom: 10px;
}

#blog-detalle h2{
  color: #114470;
  font-weight: 600;
}

#blog-detalle h5{
  color: #6D6D6D
}

#blog-detalle p{
    margin-bottom: 0px;
}

#blog-detalle .fecha{
  color:#4657A3;
  font-style: italic;
}

.img-portada{
  width: 100%;
  height: 550px;
  border-radius: 16px;
}

.img-portada img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.gallery-card{
  width: 100%;

}

.gallery-item{
  display:block;
  overflow:hidden;
  border-radius: 16px;
  background: #fff;
  border: 2px solid #F6F6F7;
  transform: translateZ(0);
  transition: transform .45s ease;
  position: relative;
}

.gallery-item .img-main{
  width: 100%;
  height: 100%;
  display:block;
  object-fit: contain;
  transition: transform .45s ease;
  background: #fff;
}

.gallery-item .img-main-galery{
  width: 100%;
  height: 100%;
  display:block;
  object-fit: cover;
  transition: transform .45s ease;
  background: #fff;
}

.mfp-figure:after{
  background: #fff!important;
}


/* HERO */
.gallery-hero{
  height: 300px;
  border-radius: 16px;
}

.gallery-hero .img-main{
  border-radius: inherit;
}

.icono-galery{
  position: absolute;
  top: 25px;
  right: 25px;
  width: 65px;
  z-index: 20;
}

/* THUMBS */
.gallery-thumbs{
  margin-top: 14px;
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.gallery-thumbs .gallery-item{
  aspect-ratio: 1 / 1;   /* o 1 / 1, 16 / 9 */
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
}

/* Hover */
.gallery-item:hover .img-main{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transform: scale(1.02);
   transition: transform .45 ease;
}


/* Hover */
.gallery-item:hover .img-main-galery{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
   transition: transform .45s ease;
}

/* ===================================
    Responsive
====================================== */

/* xxs */ @media (max-width: 430px) {}
/* xs  */ @media (min-width: 431px) {

  
.products-hero__featured {width: 400px;}

.content-section-select{
  min-width: 250px;
}

.grid-main{grid-template-columns: repeat(2,1fr);}

} /* @media (max-width: 575px) {} */
/* sm  */ @media (min-width: 576px) {

.gallery-thumbs{grid-template-columns: repeat(3, 1fr);}

.grid-main{grid-template-columns: repeat(2,1fr);}

}
/* md  */ @media (min-width: 768px) {

    .gallery-thumbs{grid-template-columns: repeat(4, 1fr);}
.gallery-hero{
  height: 450px;
}

.grid-main{grid-template-columns: repeat(3,1fr);}

} /* ipad Portrait */
/* lg  */ @media (min-width: 992px) {

.gallery-hero{
  height: 550px;
}

.grid-main{grid-template-columns: repeat(4,1fr);}

} /* ipad Landscape */
/* xl  */ @media (min-width: 1200px) {}
/* xxl */ @media (min-width: 1400px) {}
