/* ==========================================================
   SEA STAR - 60 DEGREE PRODUCT SHOWCASE
   ========================================================== */

.hp3-product-showcase-60 {
    position: relative;

    overflow: hidden;

    perspective: 760px;

    user-select: none;

    touch-action: pan-y;

    cursor: ew-resize;

    isolation: isolate;
}


.hp3-showcase-60-stage {
    position: absolute;

    inset: 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform-style: preserve-3d;

    will-change: transform;
}


.hp3-showcase-60-image {
    position: relative;

    z-index: 3;

    width: 100%;
    height: 100%;

    object-fit: contain;

    user-select: none;
    -webkit-user-drag: none;

    transform-origin: center center;

    will-change:
        transform,
        filter;

    transition:
        transform .26s
        cubic-bezier(.22,.61,.36,1),
        filter .26s ease;
}


.hp3-showcase-60-shadow {
    position: absolute;

    z-index: 1;

    left: 22%;
    right: 22%;

    bottom: 10%;

    height: 12%;

    border-radius: 50%;

    background:
        rgba(18,24,27,.26);

    filter:
        blur(14px);

    transform:
        translate3d(0, 0, 0)
        scaleX(.92);

    opacity: .62;

    transition:
        transform .22s ease,
        opacity .22s ease;
}


.hp3-showcase-60-light {
    position: absolute;

    z-index: 4;

    inset: 0;

    pointer-events: none;

    background:
        radial-gradient(
            circle at
            var(--showcase-light-x, 50%)
            42%,
            rgba(255,255,255,.50),
            rgba(255,255,255,.12) 28%,
            transparent 58%
        );

    opacity: .36;

    transition:
        opacity .25s ease;
}


.hp3-showcase-60-badge {
    position: absolute;

    top: 14px;
    right: 14px;

    z-index: 8;

    min-width: 48px;
    height: 48px;

    padding: 0 9px;

    border-radius: 999px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        rgba(25,28,29,.90);

    color: #fff;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: .04em;

    box-shadow:
        0 9px 24px
        rgba(18,24,27,.18);

    pointer-events: none;
}


.hp3-showcase-60-hint {
    position: absolute;

    bottom: 13px;
    left: 50%;

    z-index: 8;

    transform:
        translateX(-50%);

    min-width: 86px;
    height: 30px;

    padding: 0 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 999px;

    background:
        rgba(255,255,255,.92);

    color:
        rgba(25,28,29,.84);

    border:
        1px solid
        rgba(25,28,29,.10);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .10em;

    box-shadow:
        0 7px 18px
        rgba(18,24,27,.11);

    pointer-events: none;

    transition:
        opacity .25s ease,
        transform .25s ease;
}


.hp3-product-showcase-60.has-interacted
.hp3-showcase-60-hint {

    opacity: 0;

    transform:
        translateX(-50%)
        translateY(6px);
}


/*
 * Disable the old hover/parallax transform
 * on this dedicated presentation mode.
 */
.hp3-product-showcase-60
.hp3-showcase-60-image {

    filter:
        drop-shadow(
            0 20px 18px
            rgba(18,24,27,.20)
        );
}


/* Mobile */

@media (max-width: 600px) {

    .hp3-showcase-60-badge {
        top: 10px;
        right: 10px;

        min-width: 42px;
        height: 42px;

        font-size: 11px;
    }

    .hp3-showcase-60-hint {
        bottom: 9px;
    }
}


/* Reduced motion */

@media (prefers-reduced-motion: reduce) {

    .hp3-showcase-60-image,
    .hp3-showcase-60-shadow,
    .hp3-showcase-60-light {

        transition: none !important;
    }
}
