/* ── Lotte Stack Card Widget ── */

.ls-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ls-stack-wrap {
    position: relative;
    display: flex;
    justify-content: center;
}

/* The clickable stack container */
.ls-stack {
    position: relative;
    width: min(82vw, 330px);   /* overridden by Elementor slider */
    aspect-ratio: 4/5;         /* overridden by Elementor select */
    cursor: pointer;
    touch-action: manipulation;
    outline: none;
}

.ls-stack:focus-visible {
    box-shadow: 0 0 0 3px #c09a7a;
}

/* Individual photo card */
.ls-pcard {
    position: absolute;
    inset: 0;
    margin: 0;
    border-radius: 3px;
    overflow: hidden;
    background: #fff;
    border: 11px solid #fff;
    box-shadow: 0 18px 42px rgba(47, 40, 35, .22);
    transition:
        transform  .62s cubic-bezier(.22, .61, .36, 1),
        opacity    .5s  ease;
    will-change: transform;
    backface-visibility: hidden;
}

.ls-pcard img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* object-position set inline per card */
}

/* Hint text */
.ls-hint {
    margin-top: clamp(18px, 3vw, 32px);
    font-style: italic;
    color: #7a6f65;
    font-size: 1rem;
    text-align: center;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .ls-pcard { transition: none; }
}
