/* Keep Smart Slider's image dimensions and responsive layers intact. */
#n2-ss-2 .jm-video-host {
    position: relative;
    display: block;
    overflow: hidden;
}

/* Supply the dimensions previously provided by the optional banner images. */
#n2-ss-2 .jm-video-layer {
    width: 100%;
    align-self: stretch;
}

#n2-ss-2 .jm-video-host--standalone {
    width: 100%;
    aspect-ratio: 2680 / 1104;
}

#n2-ss-2 .jm-video-layer--mobile,
#n2-ss-2 .jm-empty-video-layer {
    display: none;
}

@media (orientation: landscape) and (max-width: 900px),
       (orientation: portrait) and (max-width: 700px) {
    #n2-ss-2 .jm-video-layer--desktop { display: none; }
    #n2-ss-2 .jm-video-layer--mobile { display: block; }
    #n2-ss-2 .jm-video-host--standalone { aspect-ratio: 750 / 830; }
}

#n2-ss-2 .jm-video-host > .jm-slide-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    opacity: 0;
}

#n2-ss-2 .jm-video-host > .jm-slide-video.is-playing {
    opacity: 1;
}

.jm-coupon-notice {
    position: fixed;
    z-index: 100000;
    max-width: calc(100% - 40px);
    padding: 8px 14px;
    border-radius: 6px;
    background: #244e48;
    color: #fff;
    font: 500 15px/1.4 sans-serif;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.jm-coupon-notice.is-visible {
    opacity: 1;
    visibility: visible;
}

.jm-coupon-notice.is-visible.is-copy-success {
    animation: jm-coupon-blink 2.4s ease-in-out both;
}

@keyframes jm-coupon-blink {
    0%, 100% { opacity: 0; }
    10%, 45%, 70%, 90% { opacity: 1; }
    58%, 82% { opacity: .4; }
}

@media (prefers-reduced-motion: reduce) {
    .jm-coupon-notice.is-visible.is-copy-success { animation: none; }
}

.jm-coupon-copy-field {
    position: fixed;
    top: 0;
    left: -9999px;
    width: 1px;
    height: 1px;
}
