/* Refil Slider — galería estilo Imerys (v1.0.1) */

.rfs-cw{
  --rfs-peek: 90;
  --rfs-side-scale: 0.86;
  --rfs-side-opacity: 0.55;
  --rfs-gap: 24;
  display:flex;
  flex-direction:column;
  align-items:center;
  font-family:inherit;
}

.rfs-stage-wrap{
  position:relative;
  width:100%;
  max-width:1160px;
  margin:0 auto;
}

.rfs-stage{
  position:relative;
  width:100%;
  height:560px;
  overflow:hidden;
}

.rfs-slide{
  position:absolute;
  top:0;
  left:50%;
  height:100%;
  border-radius:14px;
  overflow:hidden;
  will-change:transform,opacity;
  transition:transform .55s cubic-bezier(.4,0,.2,1),opacity .55s cubic-bezier(.4,0,.2,1);
  transform:translateX(-50%);
}

.rfs-slide__img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.rfs-slide__veil{
  position:absolute;
  inset:0;
  background:rgba(190,190,190,.45);
  opacity:0;
  transition:opacity .55s ease;
  pointer-events:none;
}
.rfs-slide:not(.is-active) .rfs-slide__veil{opacity:1}
.rfs-slide:not(.is-active){cursor:pointer}

.rfs-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:40;
  width:56px;
  height:56px;
  padding:0;
  border:none;
  border-radius:8px;
  background:#0f6b6b;
  color:#fff;
  font-size:26px;
  line-height:1;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:background .2s,transform .2s,opacity .2s;
  -webkit-appearance:none;
  appearance:none;
}
.rfs-nav:hover{background:#0b5555}
.rfs-nav:active{transform:translateY(-50%) scale(.94)}
.rfs-nav svg{width:1em;height:1em;fill:currentColor}
.rfs-nav--prev{left:26px}
.rfs-nav--next{right:26px}
.rfs-cw--no-nav .rfs-nav{display:none}

.rfs-caption{
  margin-top:22px;
  text-align:center;
  font-size:19px;
  line-height:1.5;
  color:#8a8f94;
}
.rfs-caption__count{font-variant-numeric:tabular-nums}
.rfs-caption__count::after{content:" ";white-space:pre}
.rfs-caption__text{color:#8a8f94}

.rfs-empty{
  padding:40px 20px;
  text-align:center;
  border:1px dashed #c5c7c9;
  border-radius:8px;
  color:#6d7882;
  font-size:14px;
  line-height:1.6;
}

@media(max-width:1024px){
  .rfs-stage{height:440px}
  .rfs-nav{width:46px;height:46px;font-size:22px}
  .rfs-nav--prev{left:14px}
  .rfs-nav--next{right:14px}
}
@media(max-width:767px){
  .rfs-slide{
    top:50%;
    height:auto;
  }
  .rfs-slide__img{
    height:auto;
    object-fit:contain;
  }
}
@media(max-width:600px){
  .rfs-stage{height:320px}
  .rfs-caption{font-size:16px;margin-top:16px}
  .rfs-nav{width:40px;height:40px;font-size:20px}
  .rfs-nav--prev{left:8px}
  .rfs-nav--next{right:8px}
}
