/* =========================================================
   LOTE USADO — gallery / carousel extras (uses .ln + .nb)
   ========================================================= */

.ln-gallery {
  padding: 8px 0 0;
  background: #fff;
}

.ln-gallery__head {
  width: var(--ln-shell);
  max-width: var(--ln-max);
  margin: 0 auto;
  padding: 8px 20px 14px;
  box-sizing: border-box;
}

.ln-gallery__kicker {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ln-green-dark);
}

.ln-gallery__title {
  margin: 0;
  font-family: 'Raleway', sans-serif !important;
  font-size: clamp(22px, 3vw, 32px) !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  color: var(--ln-black) !important;
}

.ln-gallery__title span {
  color: var(--ln-green-dark) !important;
  font-weight: 800;
}

.ln-gallery__sub {
  margin: 6px 0 0;
  font-size: 13.5px;
  color: var(--ln-text-light);
}

.ln-gallery__stage {
  width: 100%;
  max-width: none;
  margin: 0;
  background: #1a1816;
  position: relative;
}

.ln-gallery .carouselProyecto {
  margin: 0;
  position: relative;
}

.ln-gallery .carouselProyecto .owl-stage-outer {
  overflow: hidden;
}

.ln-gallery .carouselProyecto .owl-item {
  float: left;
}

.ln-gallery .carouselProyecto .item,
.ln-gallery .carouselProyecto .owl-item > div {
  position: relative;
  margin: 0;
}

.ln-gallery .carouselProyecto img.ficha-img-header,
.ln-gallery .carouselProyecto img.imgCenter {
  display: block;
  width: 100%;
  height: clamp(240px, 42vw, 480px);
  object-fit: cover;
  object-position: center;
  margin: 0 auto;
  background: #2a2623;
}

.ln-gallery .linkVerMasCarouselProyecto {
  display: block;
  position: relative;
  color: inherit;
}

.ln-gallery .linkVerMasCarouselProyecto::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(0, 0, 0, 0.28));
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}

.ln-gallery .linkVerMasCarouselProyecto:hover::after {
  opacity: 1;
}

.ln-gallery .boxTextoSupDer,
.ln-gallery .boxTextoSupIzq {
  position: absolute;
  z-index: 2;
  top: 14px;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.2;
}

.ln-gallery .boxTextoSupIzq {
  left: 14px;
  background: var(--ln-green);
}

.ln-gallery .boxTextoSupIzq.bgAmarilloSolido,
.ln-gallery .boxTextoSupIzq.bgAmarillo {
  background: #f6c92b;
  color: #1a1816;
}

.ln-gallery .boxTextoSupIzq.bgNaranja {
  background: #e67a2e;
}

.ln-gallery .boxTextoSupDer {
  right: 14px;
  background: #c0392b;
}

/* Override style.css floats/margins that stacked arrows top-left */
.ln-gallery .carouselProyecto .owl-nav {
  position: static;
  margin: 0;
  height: 0;
  z-index: 3;
}

.ln-gallery .carouselProyecto .owl-nav .owl-prev,
.ln-gallery .carouselProyecto .owl-nav .owl-next,
.ln-gallery .carouselProyecto .owl-prev,
.ln-gallery .carouselProyecto .owl-next {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%);
  float: none !important;
  margin: 0 !important;
  width: 48px !important;
  height: 48px !important;
  z-index: 5;
  cursor: pointer;
  background-color: transparent !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: 48px 48px !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none;
}

.ln-gallery .carouselProyecto .owl-nav .owl-prev,
.ln-gallery .carouselProyecto .owl-prev {
  left: 16px !important;
  right: auto !important;
  background-image: url("../images/btn-carousel-main-anterior.png") !important;
}

.ln-gallery .carouselProyecto .owl-nav .owl-next,
.ln-gallery .carouselProyecto .owl-next {
  right: 16px !important;
  left: auto !important;
  background-image: url("../images/btn-carousel-main-siguiente.png") !important;
}

.ln-gallery .carouselProyecto .owl-prev:hover {
  background-image: url("../images/btn-carousel-proyecto-anterior.png") !important;
}

.ln-gallery .carouselProyecto .owl-next:hover {
  background-image: url("../images/btn-carousel-proyecto-siguiente.png") !important;
}

.ln-gallery .carouselProyecto .owl-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  text-align: center;
  z-index: 3;
}

.ln-gallery .carouselProyecto .owl-dots .owl-dot {
  display: inline-block;
  margin: 0 3px;
}

.ln-gallery .carouselProyecto .owl-dots .owl-dot span {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transition: background 0.15s, transform 0.15s;
}

.ln-gallery .carouselProyecto .owl-dots .owl-dot.active span,
.ln-gallery .carouselProyecto .owl-dots .owl-dot:hover span {
  background: #fff;
  transform: scale(1.15);
}

/* Products block on lote usado (no sidebar filters) */
.ln-products {
  padding: 28px 0 8px;
}

.ln-products__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.ln-products__head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--ln-black);
}

.ln-products__head p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ln-text-light);
}

.ln-products .nb-grid {
  margin-top: 0;
}

@media (max-width: 768px) {
  .ln-gallery .carouselProyecto img.ficha-img-header,
  .ln-gallery .carouselProyecto img.imgCenter {
    height: clamp(200px, 58vw, 320px);
  }

  .ln-gallery .carouselProyecto .owl-nav .owl-prev,
  .ln-gallery .carouselProyecto .owl-nav .owl-next,
  .ln-gallery .carouselProyecto .owl-prev,
  .ln-gallery .carouselProyecto .owl-next {
    width: 40px !important;
    height: 40px !important;
    background-size: 40px 40px !important;
  }

  .ln-gallery .carouselProyecto .owl-nav .owl-prev,
  .ln-gallery .carouselProyecto .owl-prev {
    left: 8px !important;
  }

  .ln-gallery .carouselProyecto .owl-nav .owl-next,
  .ln-gallery .carouselProyecto .owl-next {
    right: 8px !important;
  }

  .ln-products__head {
    flex-direction: column;
    align-items: flex-start;
  }
}
