/* ===== Furnishing Banner ===== */
.furnishing-banner {
  max-height: 400px;
}

.furnishing-banner img {
  max-height: 400px;
}

/* Main container: relative positioning context */
.furnishing-banner .cmp-container {
  position: relative;
  overflow: hidden;
}

/* Carousel fills the entire container */
.furnishing-banner .we-carousel {
  width: 100%;
  max-height: 400px;
}

.furnishing-banner .cmp-carousel {
  position: relative;
  width: 100%;
}

.furnishing-banner .cmp-carousel__content {
  position: relative;
  width: 100%;
  height: 400px;
}

/* All items stacked absolute for crossfade */
.furnishing-banner .cmp-carousel__item {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s ease-in-out, visibility 1.2s ease-in-out;
  z-index: 1;
}

/* Active slide visible */
.furnishing-banner .cmp-carousel__item--active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.furnishing-banner .cmp-carousel__item .cmp-image__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hide carousel navigation arrows & indicators */
.furnishing-banner .cmp-carousel__actions {
  display: none;
}

.furnishing-banner .cmp-carousel__indicators {
  display: none;
}

/* ===== Gradient Overlay ===== */
.furnishing-banner .teaser::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.15) 30%,
    rgba(0, 0, 0, 0.45) 60%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* ===== Teaser: overlay on top of carousel ===== */
.furnishing-banner .teaser {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.furnishing-banner .cmp-teaser {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: auto;
  position: relative;
  z-index: 2;
  bottom: 40px;
}

/* Teaser logo image */
.furnishing-banner .cmp-teaser__image {
  margin-bottom: 8px;
}

.furnishing-banner .cmp-teaser__image .cmp-image__image {
  max-width: 158px;
  max-height: 70px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* "Fabrics" heading */
.furnishing-banner .cmp-teaser__title {
  font-size: 36px;
  font-weight: 400;
  color: #ffffff;
  margin: 4px 0;
  font-family: serif;
}

/* Pretitle / tagline */
.furnishing-banner .cmp-teaser__pretitle {
  font-size: 24px;
  font-weight: 400;
  color: #ffffff;
  font-family: Archivo;
  line-height: 120%;
  margin-top: 16px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .furnishing-banner,
  .furnishing-banner img,
  .furnishing-banner .we-carousel,
  .furnishing-banner .cmp-carousel__content {
    max-height: 400px;
    height: 400px;
  }

  .furnishing-banner .cmp-teaser__image .cmp-image__image {
    max-width: 115px;
    height: 50px;
  }

  .furnishing-banner .cmp-teaser__title {
    font-size: 28px;

  }
.furnishing-banner .cmp-carousel__item .cmp-image__image{
    height: 400px;
}

  .furnishing-banner .cmp-teaser__pretitle {
    font-size: 20px;
    margin-top: 5px;
  }
}
/* Override AEM default display:none on inactive items */
.furnishing-banner .cmp-carousel__item[aria-hidden="true"] {
  display: block !important;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
}

.furnishing-banner .cmp-carousel__item[aria-hidden="false"],
.furnishing-banner .cmp-carousel__item:not([aria-hidden]) {
  display: block !important;
  opacity: 1;
  visibility: visible;
  z-index: 2;
}