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

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

.furnishing-banner .teaser+.image img {
    max-height: 25px;
    position: absolute;
    /* top: 20px; */
    left: 20px;
    z-index: 99;
    width: 182px;
    bottom: 16px;
    object-fit: contain;
}

/* 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: rgba(0, 0, 0, 40%);
  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;
}
/* .large-banner .teaser::before{
  background: 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;
}

.furnishing-banner.banner-logo .cmp-teaser__image .cmp-image__image {
  max-width: 285px;
  max-height: 221px;
}

/* "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: 30px;
  font-weight: 500;
  color: #ffffff;
  font-family: "Playfair Display", serif !important;
  line-height: 120%;
  margin-top: 16px;
  font-style: italic;
}

.large-banner {
  max-height: 600px;
}

.large-banner .cmp-carousel__item img {
  max-height: 600px;
}

.large-banner .cmp-carousel__item .cmp-image__image {
  min-height: 600px;
}

.large-banner .cmp-carousel__content {
  height: 600px;
}

.large-banner .cmp-teaser__image .cmp-image__image {
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
}

/* 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;
}

@media (min-width: 1200px) and (max-width: 1439px) {
  .furnishing-banner {
    max-height: 470px;
  }

  .furnishing-banner {
    min-height: 470px;
  }

  .furnishing-banner .we-carousel {
    max-height: 470px;
  }

  .furnishing-banner .cmp-carousel__content {
    height: 470px;
  }

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

    .large-banner {
    max-height: 600px;
  }

  .large-banner {
    min-height: 600px;
  }

  .large-banner .we-carousel {
    max-height: 600px;
  }

  .large-banner .cmp-carousel__content {
    height: 600px;
  }

  .large-banner .cmp-carousel__item .cmp-image__image {
    min-height: 600px;
  }
    body.bh-header-transparent .large-banner {
      height: calc(100vh + 17.5vh);
      max-height: unset;
  }

 body.bh-header-transparent .large-banner .cmp-carousel__item .cmp-image__image {
      height: calc(100vh + 17.5vh);
       max-height: unset;
  }

 body.bh-header-transparent .large-banner .cmp-carousel__item .cmp-image__image {
      height: calc(100vh + 17.5vh);
       max-height: unset;
  }

  body.bh-header-transparent .large-banner .cmp-carousel__content {
      height: calc(100vh + 17.5vh);
       max-height: unset;
  }
}
@media (min-width: 1400px) {
    body.bh-header-transparent .large-banner {
    max-height: unset;
    height: calc(100vh);
  }

 body.bh-header-transparent .large-banner .cmp-carousel__item .cmp-image__image {
    max-height: unset;   height: calc(100vh);
  }

 body.bh-header-transparent .large-banner .cmp-carousel__item .cmp-image__image {
    min-height: unset;   height: calc(100vh);
  }

  body.bh-header-transparent .large-banner .cmp-carousel__content {
   height: calc(100vh);
  }
}

@media (min-width: 1800px) {

  body.bh-header-transparent .large-banner {
      height: calc(100vh - 13vh);
  }

 body.bh-header-transparent .large-banner .cmp-carousel__item .cmp-image__image {
      height: calc(100vh - 13vh);
  }

 body.bh-header-transparent .large-banner .cmp-carousel__item .cmp-image__image {
      height: calc(100vh - 13vh);
  }

  body.bh-header-transparent .large-banner .cmp-carousel__content {
      height: calc(100vh - 13vh);
  }
}
/* ===== Responsive ===== */
@media (max-width: 768px) {

  .furnishing-banner,
  .furnishing-banner .cmp-carousel__item img,
  .furnishing-banner .we-carousel,
  .furnishing-banner .cmp-carousel__content {
    max-height: calc(100dvh);
    height: calc(100dvh);
  }
 .large-banner,
  .large-banner .cmp-carousel__item img,
  .large-banner .we-carousel,
  .large-banner .cmp-carousel__content {
    max-height: calc(100dvh);
    height: calc(100dvh);
  }
    .furnishing-banner .teaser+.image img {
      left: 50%;
      transform: translateX(-50%);
      bottom: 30px;
      width: 135px;
      height: 17px;
      z-index: 22;
      object-fit: contain;
    }

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

  .furnishing-banner.banner-logo .cmp-teaser__image .cmp-image__image {
    max-width: 154px;
    max-height: 120px;
    height: unset;
  }

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

  }

  .furnishing-banner .cmp-carousel__item .cmp-image__image {
    height: calc(100dvh);
  }

  .furnishing-banner .cmp-teaser__pretitle {
    font-size: 20px;
    margin-top: 5px;
    padding: 0 5px;
    text-align: center;
    font-weight: 400;
    line-height: 120%;
  }

    .furnishing-banner .cmp-teaser {
      padding: 0 20px;
      bottom: 50%;
      transform: translateY(59%);
    }

  .banner-logo.furnishing-banner .cmp-teaser__pretitle {
    padding: 0 44px;
  }

  .large-banner {
    max-height: calc(100dvh);
  }

  .large-banner .cmp-carousel__item .cmp-image__image {
    max-height: calc(100dvh);
  }

  .large-banner .cmp-carousel__item .cmp-image__image {
    min-height: calc(100dvh - 40px);
  }

  .large-banner .cmp-carousel__content {
    height: calc(100dvh);
  }

  .large-banner .cmp-teaser__image .cmp-image__image {
    width: 145px;
    height: auto;
    object-fit: contain;
  }
}
 .furnishing-banner.center-content .cmp-teaser{
  z-index: 22;
 }
@media (min-width:767px){
  .furnishing-banner.center-content .cmp-teaser {
    bottom: 45%;
    transform: translateY(60%);
    max-width: 550px !important;
  }
   .furnishing-banner .cmp-teaser {
        max-width: 370px;
   }
}
