/* ==========================================================================
   PIM Mobile Video Element
   ========================================================================== */

.pim-mobile-video-outer {
    display: block;
    width: 100%;
}

.pim-mobile-video-inner {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 480 / 854;
    border-radius: 17% / 9%;
    overflow: hidden;
    isolation: isolate;
    background: #000;
}

.pim-mobile-video-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 0;
}

.pim-mobile-video-phone {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    -webkit-user-select: none;
    user-select: none;
    z-index: 1;
}

.pim-mobile-video-sound {
    position: absolute;
    top:   6%;
    right: 9%;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;
    width: 9%;
    aspect-ratio: 1;
    min-width: 28px;
    max-width: 48px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease, transform 0.15s ease;
    -webkit-tap-highlight-color: transparent;
    outline-offset: 3px;
}

.pim-mobile-video-sound:hover {
    background: rgba(0, 0, 0, 0.75);
    transform: scale(1.08);
}

.pim-mobile-video-sound:focus-visible {
    outline: 2px solid currentColor;
}

.pim-mobile-video-sound svg {
    width: 55%;
    height: 55%;
    flex-shrink: 0;
}

.pim-mobile-video-sound .pim-mvid-icon-muted   { display: block; }
.pim-mobile-video-sound .pim-mvid-icon-unmuted { display: none;  }

.pim-mobile-video-sound.is-unmuted .pim-mvid-icon-muted   { display: none;  }
.pim-mobile-video-sound.is-unmuted .pim-mvid-icon-unmuted { display: block; }
