/* A native-ratio exhibition shared by the seven authorised perfume stores.
   These rules affect the decorative hero, never customer review players. */
.es-store .hero.ec-has-video-stage {
  isolation: isolate;
  overflow: clip;
  padding-top: clamp(24px, 3.2vw, 42px);
  padding-bottom: clamp(28px, 3.5vw, 46px) !important;
}
.es-store .hero.ec-has-video-stage::before,
.es-store .hero.ec-has-video-stage::after {
  display: none !important;
}
.es-store .hero .hero-media.ec-video-stage {
  --ec-native-ratio: 1;
  --ec-stage-height: 72vh;
  --ec-poster-image: none;
  position: relative;
  isolation: isolate;
  width: min(100%, 960px, calc(var(--ec-stage-height) * var(--ec-native-ratio))) !important;
  max-width: 100%;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: var(--ec-native-ratio) !important;
  margin-inline: auto !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
@supports (height: 1svh) {
  .es-store .hero .hero-media.ec-video-stage { --ec-stage-height: 72svh; }
}
.es-store .hero .hero-media.ec-video-stage > .maison-media-backdrop,
.es-store .hero .hero-media.ec-video-stage > .media-halo {
  display: none !important;
}
.es-store .hero .hero-media.ec-video-stage::before {
  content: '';
  display: block !important;
  position: absolute;
  z-index: -1;
  inset: -7% -9%;
  border: 0;
  border-radius: 16%;
  background-image: var(--ec-poster-image);
  background-size: cover;
  background-position: center;
  opacity: .24;
  filter: blur(30px) saturate(.55);
  mix-blend-mode: normal;
  transform: none;
  animation: none !important;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse, #000 25%, transparent 72%);
  mask-image: radial-gradient(ellipse, #000 25%, transparent 72%);
}
.es-store .hero .hero-media.ec-video-stage > video.hero-visual {
  position: relative;
  z-index: 1;
  display: block;
  width: 100% !important;
  max-width: 100%;
  height: auto !important;
  min-height: 0 !important;
  max-height: none;
  aspect-ratio: var(--ec-native-ratio) !important;
  object-fit: contain !important;
  object-position: center;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: none;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  /* Feather only the outside 1.8%; the native frame and bottle stay intact. */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 1.8%, #000 98.2%, transparent), linear-gradient(180deg, transparent, #000 1.8%, #000 98.2%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 1.8%, #000 98.2%, transparent), linear-gradient(180deg, transparent, #000 1.8%, #000 98.2%, transparent);
  mask-composite: intersect;
}
.es-store .hero .hero-media.ec-video-stage::after {
  content: '';
  display: block !important;
  position: absolute;
  z-index: 2;
  inset: 0;
  background: var(--ec-poster-image) center / contain no-repeat;
  opacity: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 1.8%, #000 98.2%, transparent), linear-gradient(180deg, transparent, #000 1.8%, #000 98.2%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 1.8%, #000 98.2%, transparent), linear-gradient(180deg, transparent, #000 1.8%, #000 98.2%, transparent);
  mask-composite: intersect;
}
.es-store .hero .hero-media.ec-video-stage.ec-has-poster.ec-motion-reduced::after { opacity: 1; }
.es-store .hero .hero-media.ec-video-stage.ec-has-poster.ec-motion-reduced > video.hero-visual { opacity: 0; }
.es-store .hero .hero-media.ec-video-stage .hero-cta {
  left: 0 !important;
  right: 0 !important;
  bottom: clamp(23px, 4.8%, 38px) !important;
  z-index: 5;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.es-store .hero .hero-media.ec-video-stage .hero-cta .hero-button {
  pointer-events: auto;
  max-width: calc(100% - 32px);
  min-width: min(190px, calc(100% - 32px));
  min-height: 46px;
  padding: 14px 24px;
  border-radius: 2px;
  color: #28251f;
  background: rgba(255, 251, 241, .48);
  border: 1px solid rgba(255, 255, 255, .68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 8px 26px rgba(34, 28, 18, .12);
  backdrop-filter: blur(20px) saturate(110%);
  -webkit-backdrop-filter: blur(20px) saturate(110%);
}
.es-store .hero .hero-media.ec-video-stage .hero-cta .hero-button:hover {
  color: #28251f;
  background: rgba(255, 251, 241, .68);
  border-color: rgba(255, 255, 255, .86);
}
.es-store.theme-orbit .hero .hero-media.ec-video-stage .hero-cta .hero-button {
  color: #fff8eb;
  background: rgba(37, 29, 23, .47);
  border-color: rgba(255, 244, 222, .64);
}
.es-store.theme-orbit .hero .hero-media.ec-video-stage .hero-cta .hero-button:hover {
  color: #fff8eb;
  background: rgba(37, 29, 23, .67);
}
/* Native full-size GIF sources continue to animate in cards and variation galleries. */
.es-store :is(.woocommerce-product-gallery img, ul.products li.product img)[src*=".gif" i] {
  object-fit: contain !important;
  object-position: center;
  filter: none !important;
  transform: none !important;
  animation: none !important;
}
@media (max-width: 767px) {
  .es-store .hero.ec-has-video-stage { padding-top: 20px; padding-bottom: 29px !important; }
  .es-store .hero .hero-media.ec-video-stage { --ec-stage-height: 68vh; }
  @supports (height: 1svh) {
    .es-store .hero .hero-media.ec-video-stage { --ec-stage-height: 68svh; }
  }
  .es-store .hero .hero-media.ec-video-stage::before { inset: -5% -6%; filter: blur(20px) saturate(.55); opacity: .19; }
  .es-store .hero .hero-media.ec-video-stage .hero-cta .hero-button { min-width: min(174px, calc(100% - 32px)); min-height: 44px; padding: 13px 20px; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .es-store .hero .hero-media.ec-video-stage .hero-cta .hero-button { transition: none; }
}
