/* Public Shop uses the same palette, type and controls as the Studio portal. */
body.wn-portal-design .wps {
    max-inline-size: 68rem;
    margin-inline: auto;
    padding-block: clamp(1rem, 3vw, 2.5rem) 2rem;
    color: var(--ev-ink);
    font-family: "Times New Roman", Times, serif;
}
.wps > p, .wps section > p, .wps-detail > p { max-inline-size: 62ch; }
.wps > section { margin-block: clamp(2rem, 6vw, 4rem); }
.wps .wps-nav, .wps .wps-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem 1.1rem; }
.wps .wps-nav { border-block: 1px solid var(--ev-line); margin-block: 1.5rem; }
.wps .wps-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.wps .wps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: .85rem; }
.wps .wps-card, .wps .wps-detail {
    padding: clamp(1rem, 2.1vw, 1.5rem);
    border: 1px solid var(--ev-line);
    border-radius: .75rem;
    background: var(--pv-paper, var(--ev-paper));
    box-shadow: var(--pv-shadow);
}
.wps .wps-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.wps .wps-card h3 { font-size: 1.28rem; line-height: 1.2; margin: 0 0 .5rem; }
.wps .wps-card p, .wps .wps-detail p { margin: .25rem 0 .65rem; color: var(--ev-muted); }
.wps .wps-card .wps-price, .wps .wps-detail .wps-price { color: var(--ev-ink); }
.wps .wps-action { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; max-width: 100%; color: var(--ev-link); text-underline-offset: .2em; }
.wps .wps-action svg { flex: none; color: var(--pv-icon); fill: currentColor; }
.wps .wps-action svg .secondary { opacity: .65; }
.wps .wps-card .wps-action { margin-block-start: auto; }
.wps .wps-detail { margin-block: 1rem; max-width: 48rem; }
.wps .wps-detail h1 { margin-block-start: 0; }
.wps a:focus-visible { outline: 2px solid var(--ev-link); outline-offset: 3px; }
@media (max-width: 36rem) {
    .wps .wps-grid { grid-template-columns: minmax(0, 1fr); }
    .wps .wps-nav { column-gap: .85rem; }
}
