/* Only the initialized carousel overrides the old timed CSS fade. */
[data-home-carousel].is-carousel-ready,
[data-pc-carousel].is-carousel-ready { touch-action: pan-y pinch-zoom; }
.is-carousel-ready .mall-home-reference__slide,
.mall-channel-pc .is-carousel-ready .mall-pc-home-hero__slide {
    position: absolute; inset: 0; margin: 0;
    animation: none !important; opacity: 1 !important;
    transition: transform .4s ease; will-change: transform;
}
.is-carousel-dragging .mall-home-reference__slide,
.is-carousel-resetting .mall-home-reference__slide,
.mall-channel-pc .is-carousel-dragging .mall-pc-home-hero__slide,
.mall-channel-pc .is-carousel-resetting .mall-pc-home-hero__slide { transition: none; }
.is-carousel-ready img { user-select: none; -webkit-user-drag: none; }
 .is-carousel-ready .mall-home-reference__dots { position: absolute; right: 24px; bottom: 22px; left: 24px; display: flex; justify-content: center; gap: 6px; }
.is-carousel-ready .mall-home-reference__dots,
.is-carousel-ready .mall-pc-home-hero__pagination { z-index: 3; }
.is-carousel-ready .mall-home-reference__dots button,
.is-carousel-ready .mall-pc-home-hero__pagination button {
    position: relative; width: 22px; height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer;
}
.is-carousel-ready .mall-home-reference__dots button::after,
.is-carousel-ready .mall-pc-home-hero__pagination button::after {
    content: ''; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: rgba(255,255,255,.5);
}
.is-carousel-ready .mall-home-reference__dots button.is-active::after,
.is-carousel-ready .mall-pc-home-hero__pagination button.is-active::after { background: #fff; }
.mall-carousel-toggle { position: absolute; z-index: 3; right: 12px; bottom: 19px; width: 32px; height: 32px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; background: rgba(0,0,0,.24); color: #fff; cursor: pointer; }
.mall-channel-pc .mall-carousel-toggle { right: 22px; bottom: 73px; }
.is-carousel-ready button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.is-carousel-ready [hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) {
    .is-carousel-ready .mall-home-reference__slide,
    .mall-channel-pc .is-carousel-ready .mall-pc-home-hero__slide { transition: none; }
}

[data-home-carousel] video,[data-pc-carousel] video { width:100%; height:100%; object-fit:cover; background:#111; }
.mall-pc-home-hero:has(video) .mall-pc-home-hero__content { pointer-events:none; bottom:90px; }
.mall-pc-home-hero:has(video) .mall-pc-home-hero__content a { pointer-events:auto; }
.mall-pc-home-hero__shade { pointer-events:none; }

[data-pc-carousel]:has(video) .mall-pc-home-hero__pagination,[data-home-carousel]:has(video) .mall-home-reference__dots { bottom:64px; }
[data-pc-carousel]:has(video) .mall-carousel-toggle,[data-home-carousel]:has(video) .mall-carousel-toggle { bottom:64px; }
