/* Electric-section position and full-width editorial home-furniture gallery. */

body.muf-modern.home .muf-electric-showcase {
  padding-top: clamp(51px, 4.1vw, 66px);
  padding-bottom: clamp(30px, 2.7vw, 44px);
}

body.muf-modern.home .muf-home-luxury {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #171914;
}

body.muf-modern.home .muf-home-luxury__stage {
  position: relative;
  width: 100%;
  height: clamp(520px, 42vw, 720px);
  margin: 0;
  overflow: hidden;
  background: #262822;
}

body.muf-modern.home .muf-home-luxury__stage::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 11, 9, .22) 0, transparent 43%), linear-gradient(0deg, rgba(10, 11, 9, .28) 0, transparent 38%);
  content: "";
  pointer-events: none;
}

body.muf-modern.home .muf-home-luxury__main {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 49%;
  transform: scale(1);
  transition: opacity .24s ease, transform .45s ease;
}

body.muf-modern.home .muf-home-luxury.is-switching .muf-home-luxury__main {
  opacity: .35;
  transform: scale(1.012);
}

body.muf-modern.home .muf-home-luxury__panel {
  position: absolute;
  z-index: 3;
  bottom: 0;
  left: clamp(24px, 4vw, 72px);
  width: min(570px, calc(100% - 210px));
  margin: 0;
  padding: clamp(24px, 2vw, 34px) clamp(26px, 2.6vw, 42px);
  background: rgba(27, 29, 27, .94);
  backdrop-filter: blur(8px);
}

body.muf-modern.home .muf-home-luxury__panel p {
  max-width: 58ch;
  margin: 0;
  color: #f6f5f1;
  font-family: inherit;
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.62;
}

body.muf-modern.home .muf-home-luxury__panel a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
  padding: 0 25px;
  border: 1px solid var(--muf-mustard, #f5b83b);
  color: #171914;
  background: var(--muf-mustard, #f5b83b);
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  transition: color .2s ease, background .2s ease;
}

body.muf-modern.home .muf-home-luxury__panel a:hover,
body.muf-modern.home .muf-home-luxury__panel a:focus-visible {
  color: #fff;
  background: transparent;
}

body.muf-modern.home .muf-home-luxury__panel a span {
  font-size: 18px;
}

body.muf-modern.home .muf-home-luxury__thumbs {
  position: absolute;
  z-index: 4;
  top: 50%;
  right: clamp(20px, 2.8vw, 52px);
  display: grid;
  gap: 10px;
  transform: translateY(-50%);
}

body.muf-modern.home .muf-home-luxury__thumb {
  position: relative;
  width: clamp(86px, 6.2vw, 116px);
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, .72);
  border-radius: 3px;
  background: #171914;
  box-shadow: 0 5px 18px rgba(0, 0, 0, .2);
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease, opacity .2s ease;
}

body.muf-modern.home .muf-home-luxury__thumb::after {
  position: absolute;
  inset: 0;
  background: rgba(20, 22, 18, .2);
  content: "";
  transition: opacity .2s ease;
}

body.muf-modern.home .muf-home-luxury__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.muf-modern.home .muf-home-luxury__thumb:hover,
body.muf-modern.home .muf-home-luxury__thumb:focus-visible {
  border-color: #fff;
  transform: translateX(-3px);
}

body.muf-modern.home .muf-home-luxury__thumb.is-active {
  border-color: var(--muf-mustard, #f5b83b);
  transform: translateX(-5px);
}

body.muf-modern.home .muf-home-luxury__thumb.is-active::after,
body.muf-modern.home .muf-home-luxury__thumb:hover::after {
  opacity: 0;
}

@media (max-width: 700px) {
  body.muf-modern.home .muf-electric-showcase {
    padding-top: 44px;
    padding-bottom: 31px;
  }

  body.muf-modern.home .muf-home-luxury__stage {
    height: 690px;
  }

  body.muf-modern.home .muf-home-luxury__main {
    object-position: 52% 50%;
  }

  body.muf-modern.home .muf-home-luxury__stage::after {
    background: linear-gradient(0deg, rgba(10, 11, 9, .5) 0, transparent 58%);
  }

  body.muf-modern.home .muf-home-luxury__panel {
    right: 14px;
    bottom: 14px;
    left: 14px;
    width: auto;
    padding: 21px 20px;
  }

  body.muf-modern.home .muf-home-luxury__panel p {
    font-size: 13px;
    line-height: 1.55;
  }

  body.muf-modern.home .muf-home-luxury__panel a {
    min-height: 46px;
    margin-top: 16px;
  }

  body.muf-modern.home .muf-home-luxury__thumbs {
    top: 16px;
    right: 13px;
    gap: 7px;
    transform: none;
  }

  body.muf-modern.home .muf-home-luxury__thumb {
    width: 66px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.muf-modern.home .muf-home-luxury__main,
  body.muf-modern.home .muf-home-luxury__thumb {
    transition: none;
  }
}
