.ws-terms {
    position: relative;
    isolation: isolate;
    background: #d4d4d4;
    color: #171717;
}
.ws-terms__stage {
    position: relative;
    display: grid;
    justify-items: center;
    align-content: center;
    min-height: 100svh;
    padding: 12svh 0 8svh;
    overflow: hidden;
}
.ws-terms__background {
    position: absolute;
    z-index: -1;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
}
.ws-terms__sheet {
    position: relative;
    display: grid;
    place-items: center;
    width: min(80vw, 55svh);
    aspect-ratio: 4 / 5;
    background: #fff;
    container-type: inline-size;
}
.wholesale .ws-terms__sheet h2 {
    position: absolute;
    top: 2.6%;
    inset-inline: 0;
    margin: 0;
    color: #141414;
    text-align: center;
    font: 400 18.5cqw/.98 var(--wb-display, Prata, serif);
    letter-spacing: -.062em;
    text-transform: uppercase;
    white-space: nowrap;
}
.ws-terms__window {
    width: 29.2%;
    height: 33.33%;
    overflow: hidden;
}
.ws-terms__window img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 72%;
}
.wholesale .ws-terms__note {
    position: absolute;
    bottom: 3.4%;
    inset-inline: 6%;
    margin: 0;
    color: #171717;
    font: 400 clamp(13px, 3.05cqw, 20px)/1.3 var(--ff-body, HelveticaNeue, sans-serif);
    text-align: center;
}
.ws-terms__catalog {
    width: min(80vw, 55svh);
    padding: 0 20px 22px;
    background: #fff;
    text-align: center;
}
.wholesale .ws-terms__catalog h3 {
    margin: 0;
    font: 400 clamp(32px, 3.2vw, 76px)/.98 var(--wb-display, Prata, serif);
    text-transform: uppercase;
    letter-spacing: -.04em;
}
.ws-terms__catalog h3 span {
    display: block;
    font-family: var(--ws4-script, var(--wb-script, cursive));
    font-size: 1.08em;
    text-transform: none;
    letter-spacing: 0;
}
.ws-terms__catalog nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0 1rem;
    margin-top: 12px;
}
.ws-terms__catalog a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #171717;
    font: 500 clamp(14px, 1.06vw, 20px)/1.25 var(--ff-body, HelveticaNeue, sans-serif);
    text-decoration: underline;
    text-underline-offset: .27em;
}
@media (max-width: 760px) {
    .ws-terms__sheet, .ws-terms__catalog { width: min(calc(100% - 40px), 48svh); }
    .ws-terms__sheet { aspect-ratio: .88889; }
    .wholesale .ws-terms__sheet h2 { top: 4%; }
    .ws-terms__window { height: 37%; }
}
@media (max-height: 499px) {
    .ws-terms__sheet, .ws-terms__catalog { width: min(calc(100% - 40px), 22rem); }
    .ws-terms__sheet {
        aspect-ratio: auto;
        padding: 16px;
        gap: 16px;
    }
    .wholesale .ws-terms__sheet h2, .wholesale .ws-terms__note { position: static; }
    .ws-terms__window { width: 29.2%; height: auto; aspect-ratio: 4 / 5; }
}
@media (min-width: 761px) and (min-height: 500px) and (prefers-reduced-motion: no-preference) {
    .ws-terms[data-pin] { height: 365svh; }
    .ws-terms[data-pin] .ws-terms__stage {
        position: sticky;
        top: 0;
        height: 100svh;
        min-height: 0;
        padding: 0;
    }
    .ws-terms[data-pin] .ws-terms__background {
        height: 133%;
        transform: translate3d(0, var(--paper-bg-y, 0px), 0);
    }
    .ws-terms[data-pin] .ws-terms__sheet {
        position: absolute;
        top: 50%;
        left: 0;
        width: 100%;
        transform: translateY(-50%) translate3d(0, var(--paper-y, 100svh), 0) scale(var(--paper-scale, .3333333));
    }
    .ws-terms[data-pin] .ws-terms__window {
        width: 50%;
        height: auto;
        aspect-ratio: 3 / 2;
        transform: scale(var(--paper-window-scale, 1.25));
        clip-path: inset(0 var(--paper-crop, 26.66%));
    }
    .wholesale .ws-terms[data-pin] .ws-terms__note {
        font-size: max(clamp(36px, 2.72vw, 72px), calc(12px / var(--paper-start-scale, .333333)));
        transform: scale(var(--paper-text-scale, 1));
        transform-origin: center bottom;
    }
    .ws-terms[data-pin] .ws-terms__catalog {
        position: absolute;
        inset: 0;
        width: auto;
        padding: 0;
        background: none;
        text-align: left;
        opacity: var(--paper-caption, 0);
        pointer-events: none;
    }
    .ws-terms[data-pin] .ws-terms__catalog h3,
    .ws-terms[data-pin] .ws-terms__catalog nav {
        position: absolute;
        transform: translate3d(0, var(--paper-caption-y, 25px), 0);
    }
    .ws-terms[data-pin] .ws-terms__catalog h3 {
        left: 8%;
        top: max(82px, 13%, calc(50% - 16.66vw));
        text-align: right;
    }
    .ws-terms[data-pin] .ws-terms__catalog nav {
        left: 78%;
        bottom: max(12%, calc(50% - 16.66vw));
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        margin: 0;
    }
    .ws-terms[data-pin][data-catalog-visible] .ws-terms__catalog a { pointer-events: auto; }
}
