/**
 * PrestaHU
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Commercial License
 * you can't distribute, modify or sell this code
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file
 * If you need help please contact info@presta.hu
 *
 * @author    PrestaHU <info@presta.hu>
 * @copyright PrestaHU
 * @license   commercial
 */

/* Smart slider on the shop. The theme sets the look through the --pshuss-* variables (colours, font, radius); the
   values below are neutral defaults that read on any theme. */
.pshuss {
    --pshuss-ink-light: #ffffff;
    --pshuss-ink-dark: #111111;
    --pshuss-shade-light: #000000;
    --pshuss-shade-dark: #ffffff;
    --pshuss-control-bg: rgba(17, 17, 17, 0.72);
    --pshuss-control-ink: #ffffff;
    --pshuss-control-hover: #111111;
    --pshuss-media-bg: #1a1a1a;
    --pshuss-card-bg: #ffffff;
    --pshuss-card-ink: #111111;
    --pshuss-cta-bg: #ffffff;
    --pshuss-cta-ink: #111111;
    --pshuss-cta-dark-bg: #111111;
    --pshuss-cta-dark-ink: #ffffff;
    --pshuss-radius: 0;
    --pshuss-cta-radius: 0;
    --pshuss-font: inherit;
    --pshuss-title-font: inherit;
    --pshuss-title-size: clamp(1.75rem, 1.1rem + 2.6vw, 3.5rem);
    --pshuss-gap: clamp(16px, 3vw, 48px);
    --pshuss-speed: 600ms;
    position: relative;
    overflow: hidden;
    font-family: var(--pshuss-font);
    border-radius: var(--pshuss-radius);
    isolation: isolate;
}

.pshuss--contained { max-width: var(--pshuss-max-w, 1320px); margin-inline: auto; }

.pshuss__track {
    position: relative;
    display: grid;
    aspect-ratio: var(--pshuss-ratio, 21 / 9);
    max-height: var(--pshuss-max-h, none);
    width: 100%;
}

.pshuss__slide {
    grid-area: 1 / 1;
    position: relative;
    display: grid;
    min-height: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--pshuss-speed) ease, visibility 0s linear var(--pshuss-speed), transform var(--pshuss-speed) ease;
}

.pshuss__slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
    transition: opacity var(--pshuss-speed) ease, visibility 0s, transform var(--pshuss-speed) ease;
}

.pshuss--slide .pshuss__slide { transform: translateX(4%); }
.pshuss--slide .pshuss__slide.is-active { transform: none; }

.pshuss__media {
    grid-area: 1 / 1;
    position: relative;
    overflow: hidden;
    background: var(--pshuss-media-bg);
}

.pshuss__media picture,
.pshuss__img,
.pshuss__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.pshuss__img,
.pshuss__video {
    object-fit: cover;
    object-position: var(--pshuss-focus, 50% 50%);
}

.pshuss__video { opacity: 0; transition: opacity 400ms ease; }
.pshuss__slide.has-video .pshuss__video { opacity: 1; }

.pshuss__shade {
    position: absolute;
    inset: 0;
    background: var(--pshuss-shade-light);
    pointer-events: none;
}

.pshuss__slide--dark .pshuss__shade { background: var(--pshuss-shade-dark); }

/* Text block: nine places, from the corners to the centre. */
.pshuss__content {
    grid-area: 1 / 1;
    position: relative;
    z-index: 2;
    align-self: end;
    justify-self: start;
    max-width: min(640px, 88%);
    margin: var(--pshuss-gap);
    margin-bottom: calc(var(--pshuss-gap) + 36px);
    color: var(--pshuss-ink-light);
    pointer-events: none;
}

.pshuss__content a,
.pshuss__content button { pointer-events: auto; }

.pshuss__slide--dark .pshuss__content { color: var(--pshuss-ink-dark); }
.pshuss__slide--left-top .pshuss__content,
.pshuss__slide--center-top .pshuss__content,
.pshuss__slide--right-top .pshuss__content { align-self: start; margin-bottom: var(--pshuss-gap); }
.pshuss__slide--left-middle .pshuss__content,
.pshuss__slide--center-middle .pshuss__content,
.pshuss__slide--right-middle .pshuss__content { align-self: center; }
.pshuss__slide--center-top .pshuss__content,
.pshuss__slide--center-middle .pshuss__content,
.pshuss__slide--center-bottom .pshuss__content { justify-self: center; text-align: center; }
.pshuss__slide--right-top .pshuss__content,
.pshuss__slide--right-middle .pshuss__content,
.pshuss__slide--right-bottom .pshuss__content { justify-self: end; text-align: right; }

.pshuss__eyebrow {
    margin: 0 0 8px;
    color: inherit; /* a theme colour of paragraphs must not reach it */
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.pshuss__title {
    margin: 0;
    font-family: var(--pshuss-title-font);
    font-size: var(--pshuss-title-size);
    font-weight: 700;
    line-height: 1.08;
    color: inherit;
    text-wrap: balance;
}

.pshuss__text { margin-top: 12px; font-size: 1.0625rem; line-height: 1.5; }
.pshuss__text p { margin: 0 0 8px; color: inherit; }
.pshuss__text a { color: inherit; text-decoration: underline; }

.pshuss__price { margin: 12px 0 0; font-size: 1.25rem; font-weight: 700; }
.pshuss__price s { margin-right: 8px; font-weight: 400; opacity: 0.8; }

.pshuss__countdown {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 14px;
    margin: 14px 0 0;
    font-size: 0.9375rem;
}

.pshuss__slide--center-top .pshuss__countdown,
.pshuss__slide--center-middle .pshuss__countdown,
.pshuss__slide--center-bottom .pshuss__countdown { justify-content: center; }
.pshuss__countdown b { font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.pshuss__countdown-label { flex-basis: 100%; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.75rem; }

.pshuss__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 0; }
.pshuss__slide--center-top .pshuss__actions,
.pshuss__slide--center-middle .pshuss__actions,
.pshuss__slide--center-bottom .pshuss__actions { justify-content: center; }
.pshuss__slide--right-top .pshuss__actions,
.pshuss__slide--right-middle .pshuss__actions,
.pshuss__slide--right-bottom .pshuss__actions { justify-content: flex-end; }

.pshuss__cta {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 28px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--pshuss-cta-ink);
    background: var(--pshuss-cta-bg);
    border: 2px solid var(--pshuss-cta-bg);
    border-radius: var(--pshuss-cta-radius);
    transition: background 200ms ease, color 200ms ease;
}

.pshuss__cta:hover,
.pshuss__cta:focus-visible { color: var(--pshuss-cta-bg); background: transparent; text-decoration: none; }
.pshuss__cta--second { color: var(--pshuss-cta-bg); background: transparent; }
.pshuss__cta--second:hover,
.pshuss__cta--second:focus-visible { color: var(--pshuss-cta-ink); background: var(--pshuss-cta-bg); }

.pshuss__slide--dark .pshuss__cta { color: var(--pshuss-cta-dark-ink); background: var(--pshuss-cta-dark-bg); border-color: var(--pshuss-cta-dark-bg); }
.pshuss__slide--dark .pshuss__cta:hover,
.pshuss__slide--dark .pshuss__cta:focus-visible { color: var(--pshuss-cta-dark-bg); background: transparent; }
.pshuss__slide--dark .pshuss__cta--second { color: var(--pshuss-cta-dark-bg); background: transparent; }

/* The whole slide links when it has no button. */
.pshuss__cover { position: absolute; inset: 0; z-index: 1; }
.pshuss__cover:focus-visible { outline: 3px solid var(--pshuss-control-ink); outline-offset: -6px; box-shadow: inset 0 0 0 6px var(--pshuss-control-bg); }

/* Product list slide: tall picture cards under the title, over the picture of the slide or, without one, a blurred
   picture of the first product, so a short list does not leave an empty slide. */
.pshuss__slide--products .pshuss__media { display: flex; align-items: stretch; justify-content: center; }
.pshuss__products-bg {
    position: absolute;
    inset: -60px;
    background-position: center;
    background-size: cover;
    filter: blur(48px) saturate(1.1);
    opacity: 0.45;
    transform: scale(1.1);
    pointer-events: none;
}

.pshuss__products {
    position: relative;
    z-index: 2;
    display: grid;
    grid-auto-columns: minmax(0, 340px);
    grid-auto-flow: column;
    justify-content: center;
    gap: clamp(12px, 1.4vw, 24px);
    width: 100%;
    margin: 0;
    padding: calc(var(--pshuss-gap) + clamp(64px, 6vw, 110px)) clamp(72px, 6vw, 112px) 68px; /* room for the dots below */
    list-style: none;
}

.pshuss__product { min-width: 0; min-height: 0; }
.pshuss__product a {
    position: relative;
    display: block;
    height: 100%;
    min-height: 220px;
    overflow: hidden;
    color: var(--pshuss-ink-light);
    text-decoration: none;
    background: var(--pshuss-media-bg);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
.pshuss__product a:hover, .pshuss__product a:focus { color: var(--pshuss-ink-light); text-decoration: none; }
.pshuss__product a:focus-visible { outline: 3px solid var(--pshuss-ink-light); outline-offset: 3px; }
.pshuss__product img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms ease; }
.pshuss__product a:hover img { transform: scale(1.05); }
.pshuss__product-text {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    gap: 4px;
    padding: 48px 16px 14px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.82));
}
.pshuss__product-name { display: -webkit-box; overflow: hidden; font-size: 1rem; font-weight: 700; line-height: 1.25; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pshuss__product .pshuss__price { margin: 0; font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.pshuss__product .pshuss__price s { opacity: 0.7; }
.pshuss__slide--products .pshuss__content { align-self: start; margin-bottom: 0; }

/* Product finder slide: the questions on a dark panel on the left, the picture wall of the result on the right. The
   first question shows picture tiles (grey until chosen), a later one round pictures, the others plain buttons. A big
   number between the two halves counts the result; the cards of the wall slide in one after the other on each change.
   The slider grows when the finder needs more room than its shape gives (phones). */
.pshuss {
    --pshuss-finder-bg: #0b0b0b;
    --pshuss-finder-ink: #ffffff;
    --pshuss-finder-quiet: rgba(255, 255, 255, 0.66);
    --pshuss-finder-line: rgba(255, 255, 255, 0.22);
    --pshuss-finder-hover: rgba(255, 255, 255, 0.08);
    --pshuss-wall-bg: #161616;
    --pshuss-big-bg: #ffffff;
    --pshuss-big-ink: #0b0b0b;
    --pshuss-ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
}
/* A finder slide has the height of the other slides (ratio, at most the highest height). When its questions need
   more room, the finder script sets --pshuss-finder-h to the height of its content and the track grows to it. */
.pshuss__track:has(.pshuss__slide--finder) { min-height: var(--pshuss-finder-h, 0px); }
.pshuss__slide--finder { min-height: 0; grid-template-rows: minmax(0, 1fr); container-type: inline-size; }
.pshuss__slide--finder .pshuss__finder { grid-template-rows: minmax(0, 1fr); min-height: 0; }

.pshuss__finder {
    grid-area: 1 / 1;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    min-height: 100%;
    color: var(--pshuss-finder-ink);
}

.pshuss__finder-panel {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    min-width: 0;
    padding: clamp(28px, 4vw, 64px) clamp(28px, 4.2vw, 80px) clamp(56px, 5vw, 80px) clamp(76px, 6vw, 112px);
    background: var(--pshuss-finder-bg);
}

/* Entrance of the panel each time the slide comes into view. */
.pshuss__finder-panel > * { opacity: 0; transform: translate3d(0, 14px, 0); }
.pshuss__slide.is-active .pshuss__finder-panel > * {
    opacity: 1;
    transform: none;
    transition: opacity 500ms ease, transform 600ms var(--pshuss-ease-out);
}
.pshuss__slide.is-active .pshuss__finder-panel > :nth-child(2) { transition-delay: 70ms; }
.pshuss__slide.is-active .pshuss__finder-panel > :nth-child(3) { transition-delay: 140ms; }
.pshuss__slide.is-active .pshuss__finder-panel > :nth-child(4) { transition-delay: 210ms; }
.pshuss__slide.is-active .pshuss__finder-panel > :nth-child(5) { transition-delay: 280ms; }
.pshuss__slide.is-active .pshuss__finder-panel > :nth-child(6) { transition-delay: 350ms; }
.pshuss__slide.is-active .pshuss__finder-panel > :nth-child(n+7) { transition-delay: 420ms; }

.pshuss__finder .pshuss__finder-eyebrow { margin: 0 0 10px; color: var(--pshuss-finder-quiet); }
.pshuss__finder-title { margin: 0; font-size: clamp(1.75rem, 1.1rem + 2vw, 3.25rem); line-height: 1.04; color: inherit; }
.pshuss__finder .pshuss__finder-text { margin-top: 10px; font-size: 1rem; color: var(--pshuss-finder-quiet); }
.pshuss__finder .pshuss__finder-text p { margin: 0; }

.pshuss__question { min-width: 0; margin: clamp(16px, 1.8vw, 26px) 0 0; padding: 0; border: 0; }

.pshuss__legend {
    display: flex;
    align-items: center;
    gap: 10px;
    float: none;
    width: auto;
    margin: 0 0 12px;
    padding: 0;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.3;
    text-transform: uppercase;
    color: inherit;
}

.pshuss__step {
    position: relative;
    display: inline-grid;
    flex: none;
    place-items: center;
    width: 26px;
    height: 26px;
    font-size: 0.75rem;
    letter-spacing: 0;
    border: 1.5px solid var(--pshuss-finder-line);
    border-radius: 50%;
    transition: background 250ms ease, border-color 250ms ease, color 250ms ease;
}
.pshuss__step > * { grid-area: 1 / 1; }
.pshuss__step-ok { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 22; stroke-dashoffset: 22; }
.pshuss__question.is-done .pshuss__step { color: var(--pshuss-big-ink); background: var(--pshuss-big-bg); border-color: var(--pshuss-big-bg); }
.pshuss__question.is-done .pshuss__step-n { opacity: 0; }
.pshuss__question.is-done .pshuss__step-ok { stroke-dashoffset: 0; transition: stroke-dashoffset 350ms var(--pshuss-ease-out) 80ms; }

.pshuss__question { transition: opacity 250ms ease; }
.pshuss__question.is-void { opacity: 0.45; }
.pshuss__hint { margin: -4px 0 12px; font-size: 0.875rem; line-height: 1.4; color: var(--pshuss-finder-quiet); }

.pshuss__options { display: flex; flex-wrap: wrap; gap: 8px; }

.pshuss__option {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    font: inherit;
    font-size: 0.9375rem;
    line-height: 1.2;
    text-align: left;
    color: var(--pshuss-finder-ink);
    background: transparent;
    border: 1.5px solid var(--pshuss-finder-line);
    border-radius: 999px;
    cursor: pointer;
    touch-action: manipulation;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease, opacity 180ms ease, transform 180ms ease;
}
.pshuss__option-count { font-size: 0.75rem; font-variant-numeric: tabular-nums; color: var(--pshuss-finder-quiet); }
.pshuss__option:hover { border-color: var(--pshuss-finder-ink); background: var(--pshuss-finder-hover); }
.pshuss__option:active { transform: scale(0.97); }
.pshuss__option[aria-pressed="true"] { color: var(--pshuss-big-ink); background: var(--pshuss-big-bg); border-color: var(--pshuss-big-bg); }
.pshuss__option[aria-pressed="true"] .pshuss__option-count { color: inherit; opacity: 0.7; }
.pshuss__option.is-empty { cursor: not-allowed; opacity: 0.3; }
.pshuss__option.is-empty:hover { border-color: var(--pshuss-finder-line); background: transparent; }
.pshuss__option:focus-visible,
.pshuss__finder-reset:focus-visible,
.pshuss__finder-go:focus-visible,
.pshuss__card a:focus-visible { outline: 3px solid var(--pshuss-finder-ink); outline-offset: 3px; }

/* Picture tiles: grey pictures that turn to colour on hover and when chosen; the count in a corner. */
.pshuss__options--tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(64px, 1fr)); gap: 10px; max-width: 620px; }
.pshuss__option--tiles {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    text-align: center;
    border-radius: 14px;
}
.pshuss__option--tiles .pshuss__option-pic { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--pshuss-wall-bg); }
.pshuss__option--tiles .pshuss__option-pic img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.05) brightness(0.85);
    transform: scale(1.04);
    transition: filter 400ms ease, transform 700ms var(--pshuss-ease-out);
}
.pshuss__option--tiles:hover .pshuss__option-pic img,
.pshuss__option--tiles.is-preview .pshuss__option-pic img,
.pshuss__option--tiles[aria-pressed="true"] .pshuss__option-pic img { filter: none; transform: scale(1.12); }
.pshuss__option--tiles .pshuss__option-label {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 6px 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.15;
    text-transform: uppercase;
}
.pshuss__option--tiles .pshuss__option-count {
    position: absolute;
    top: 8px;
    right: 8px;
    display: grid;
    place-items: center;
    min-width: 26px;
    height: 26px;
    padding: 0 6px;
    box-sizing: border-box;
    font-weight: 700;
    color: var(--pshuss-big-ink);
    background: var(--pshuss-big-bg);
    border-radius: 999px;
}
.pshuss__option--tiles[aria-pressed="true"] .pshuss__option-count { color: var(--pshuss-big-bg); background: var(--pshuss-big-ink); opacity: 1; }
.pshuss__option--tiles.is-preview { border-color: var(--pshuss-finder-ink); }
.pshuss__option--tiles.is-preview::after {
    content: "";
    position: absolute;
    inset: -1.5px;
    border: 2px solid var(--pshuss-finder-ink);
    border-radius: inherit;
    animation: pshuss-ping 1.4s ease-out infinite;
    pointer-events: none;
}
@keyframes pshuss-ping { 0% { opacity: 0.9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.08); } }
.pshuss__slide.is-active .pshuss__option--tiles { animation: pshuss-rise 560ms var(--pshuss-ease-out) both; animation-delay: calc(260ms + var(--i, 0) * 60ms); }
@keyframes pshuss-rise { from { opacity: 0; transform: translate3d(0, 18px, 0); } }

/* Round pictures. */
.pshuss__option--chips { padding-left: 5px; }
.pshuss__option--chips .pshuss__option-pic { display: block; flex: none; width: 34px; height: 34px; overflow: hidden; border-radius: 50%; background: var(--pshuss-wall-bg); }
.pshuss__option--chips .pshuss__option-pic img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter 300ms ease; }
.pshuss__option--chips:hover .pshuss__option-pic img,
.pshuss__option--chips[aria-pressed="true"] .pshuss__option-pic img { filter: none; }

.pshuss__finder-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: clamp(20px, 2.2vw, 32px); }

.pshuss__finder .pshuss__finder-go {
    gap: 12px;
    min-height: 54px;
    padding: 0 30px;
    color: var(--pshuss-big-ink);
    background: var(--pshuss-big-bg);
    border-color: var(--pshuss-big-bg);
    border-radius: 999px;
    transition: transform 200ms ease, box-shadow 200ms ease;
}
.pshuss__finder .pshuss__finder-go:hover { color: var(--pshuss-big-ink); background: var(--pshuss-big-bg); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255, 255, 255, 0.18); }
.pshuss__finder-arrow { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 200ms ease; }
.pshuss__finder-go:hover .pshuss__finder-arrow { transform: translateX(4px); }
.pshuss__finder .pshuss__finder-go[aria-disabled="true"] { cursor: not-allowed; opacity: 0.4; pointer-events: none; }

.pshuss__finder-reset {
    min-height: 44px;
    padding: 0 4px;
    font: inherit;
    font-size: 0.9375rem;
    color: var(--pshuss-finder-quiet);
    text-decoration: underline;
    text-underline-offset: 3px;
    background: none;
    border: 0;
    cursor: pointer;
}
.pshuss__finder-reset:hover { color: var(--pshuss-finder-ink); }
.pshuss__finder-reset[hidden] { display: none; }

/* Picture wall of the result. */
.pshuss__wall {
    position: relative;
    display: grid;
    align-items: center;
    min-width: 0;
    padding: clamp(28px, 3.4vw, 64px) clamp(72px, 6vw, 112px) clamp(56px, 5vw, 80px) clamp(84px, 5.5vw, 104px);
    background: var(--pshuss-wall-bg);
    contain: size; /* the cards fit the height of the panel, they do not set it */
}
.pshuss__wall-bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    filter: blur(48px) saturate(1.2) brightness(0.7);
    opacity: 0.32;
    transform: scale(1.15);
    transition: background-image 600ms ease;
}
.pshuss__wall::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 90% at 70% 40%, rgba(0, 0, 0, 0.15) 0, rgba(0, 0, 0, 0.7) 100%);
    pointer-events: none;
}

.pshuss__cards {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: clamp(10px, 1.2vw, 18px);
    max-width: 820px;
    height: min(100% - 72px, 720px);
    margin: 0 auto;
    padding: 0;
    list-style: none;
    width: 100%;
}
.pshuss__card { position: relative; min-width: 0; margin: 0; }
.pshuss__card:first-child { grid-row: 1 / 3; }
.pshuss__card:nth-child(n+4) { transform: translateY(clamp(16px, 2vw, 36px)); }
.pshuss__card:nth-child(2), .pshuss__card:nth-child(3) { transform: translateY(calc(-1 * clamp(8px, 1vw, 18px))); }
.pshuss__card a {
    position: relative;
    display: block;
    height: 100%;
    min-height: 120px;
    overflow: hidden;
    color: var(--pshuss-finder-ink);
    text-decoration: none;
    background: var(--pshuss-finder-bg);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
.pshuss__card img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform 900ms var(--pshuss-ease-out);
}
.pshuss__card a:hover, .pshuss__card a:focus { color: var(--pshuss-finder-ink); text-decoration: none; }
.pshuss__card img { aspect-ratio: auto; position: absolute; inset: 0; }
.pshuss__card a:hover img { transform: scale(1.06); }
.pshuss__card-text {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    gap: 2px;
    padding: 36px 12px 10px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.82));
}
.pshuss__card-name { display: -webkit-box; overflow: hidden; font-size: 0.8125rem; font-weight: 700; line-height: 1.25; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pshuss__card-price { font-size: 0.8125rem; font-variant-numeric: tabular-nums; opacity: 0.85; }
.pshuss__card:first-child .pshuss__card-name { font-size: 1rem; }

.pshuss__slide.is-active .pshuss__cards.is-in .pshuss__card a { animation: pshuss-card-in 700ms var(--pshuss-ease-out) both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes pshuss-card-in {
    from { opacity: 0; transform: translate3d(0, 40px, 0) scale(0.94); clip-path: inset(18% 0 0 0 round 16px); }
    to { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 16px); }
}
.pshuss__cards.is-out .pshuss__card a { opacity: 0; transform: translate3d(0, -14px, 0) scale(0.98); transition: opacity 160ms ease, transform 160ms ease; }

.pshuss__wall-none {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 1.125rem;
    text-align: center;
    color: var(--pshuss-finder-quiet);
}
.pshuss__wall-none[hidden] { display: none; }

/* The count between the two halves. */
.pshuss__big {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 0;
    display: grid;
    place-items: center;
    align-content: center;
    width: 132px;
    height: 132px;
    margin: 0;
    color: var(--pshuss-big-ink);
    background: var(--pshuss-big-bg);
    border-radius: 50%;
    box-shadow: 0 0 0 8px var(--pshuss-finder-bg), 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.pshuss__big b { font-size: 2.75rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.pshuss__big small { box-sizing: border-box; max-width: 100%; margin-top: 6px; padding: 0 18px; font-size: 0.5625rem; font-weight: 700; letter-spacing: 0.08em; line-height: 1.25; text-align: center; text-transform: uppercase; }
.pshuss__big.is-bump { animation: pshuss-bump 450ms cubic-bezier(0.3, 1.6, 0.5, 1); }
@keyframes pshuss-bump { 40% { transform: translate(-50%, -50%) scale(1.14); } }

/* Controls: 48 px targets, on their own dark plate so they read on any picture. */
.pshuss__arrow,
.pshuss__pause {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    color: var(--pshuss-control-ink);
    background: var(--pshuss-control-bg);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: background 200ms ease, transform 200ms ease;
}

.pshuss__arrow:hover,
.pshuss__pause:hover { background: var(--pshuss-control-hover); }
.pshuss__arrow:active { transform: scale(0.94); }
.pshuss__arrow:focus-visible,
.pshuss__pause:focus-visible,
.pshuss__dot:focus-visible { outline: 3px solid var(--pshuss-control-ink); outline-offset: 2px; box-shadow: 0 0 0 6px var(--pshuss-control-bg); }

.pshuss__arrow { top: 50%; margin-top: -24px; }
.pshuss__arrow--prev { left: 16px; }
.pshuss__arrow--next { right: 16px; }
.pshuss__pause { top: 16px; right: 16px; }

.pshuss__icon { width: 22px; height: 22px; fill: currentColor; }
.pshuss__arrow .pshuss__icon { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pshuss__pause .pshuss__icon--play,
.pshuss__pause.is-paused .pshuss__icon--pause { display: none; }
.pshuss__pause.is-paused .pshuss__icon--play { display: block; }

.pshuss__dots {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 8px;
    display: flex;
    gap: 0;
    padding: 0 6px;
    transform: translateX(-50%);
    background: var(--pshuss-control-bg);
    border-radius: 24px;
}

.pshuss__dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 44px;
    padding: 0;
    background: none;
    border: 0;
    cursor: pointer;
}

.pshuss__dot span {
    width: 10px;
    height: 10px;
    border: 2px solid var(--pshuss-control-ink);
    border-radius: 50%;
    transition: background 200ms ease, width 200ms ease;
}

.pshuss__dot[aria-current="true"] span { width: 22px; background: var(--pshuss-control-ink); border-radius: 6px; }

.pshuss__counter {
    position: absolute;
    z-index: 3;
    right: 16px;
    bottom: 16px;
    margin: 0;
    padding: 6px 12px;
    color: var(--pshuss-control-ink);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.1em;
    background: var(--pshuss-control-bg);
}

.pshuss__sr {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Phones: own ratio, own focus point, text over a stronger shade, arrows hidden (swipe and dots remain). */
/* A low screen: the finder keeps its questions and button in view. */
@media (min-width: 768px) and (max-height: 900px) {
    .pshuss__finder-panel { padding-top: 28px; padding-bottom: 32px; }
    .pshuss__finder .pshuss__finder-eyebrow { margin-bottom: 6px; }
    .pshuss__finder-title { font-size: clamp(1.5rem, 1rem + 1.3vw, 2.25rem); }
    .pshuss__finder .pshuss__finder-text { margin-top: 6px; font-size: 0.9375rem; }
    .pshuss__question { margin-top: 14px; }
    .pshuss__legend { margin-bottom: 8px; }
    .pshuss__hint { margin: -2px 0 8px; font-size: 0.8125rem; }
    .pshuss__finder { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .pshuss__finder-panel { padding-right: clamp(24px, 3vw, 56px); }
    .pshuss__finder .pshuss__finder-text { margin-top: 4px; }
    .pshuss__options { gap: 6px; }
    .pshuss__option { padding: 0 13px; font-size: 0.875rem; }
    .pshuss__option--chips { padding-left: 5px; }
    .pshuss__options--tiles { max-width: 440px; }
    .pshuss__option--tiles { padding: 0; }
    .pshuss__option--tiles .pshuss__option-pic { aspect-ratio: 1 / 1; }
    .pshuss__option--tiles .pshuss__option-label { min-height: 32px; padding-top: 4px; padding-bottom: 4px; }
    .pshuss__finder-actions { margin-top: 16px; }
    .pshuss__wall { padding-top: 24px; padding-bottom: 24px; }
}

/* A narrow slider (next to other content): wider question panel with room for the count, two cards. */
@container (max-width: 1240px) {
    .pshuss__finder { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
    .pshuss__finder-panel { padding-right: 76px; padding-left: 68px; }
    .pshuss__options--tiles { grid-template-columns: repeat(auto-fit, minmax(60px, 1fr)); gap: 6px; }
    .pshuss__option--tiles .pshuss__option-label { padding: 6px 3px; font-size: 0.625rem; letter-spacing: 0.03em; }
    .pshuss__wall { padding: 24px 72px 24px 72px; }
    .pshuss__cards { grid-template-columns: minmax(0, 1fr); height: calc(100% - 24px); }
    .pshuss__card:first-child { grid-row: auto; }
    .pshuss__card:nth-child(n+3) { display: none; }
    .pshuss__card:nth-child(2) { transform: none; }
    .pshuss__big { width: 112px; height: 112px; }
    .pshuss__big b { font-size: 2.25rem; }
    .pshuss__big small { padding: 0 14px; font-size: 0.5rem; }
}

/* A very narrow slider: the picture wall becomes a band above the questions, as on a phone. */
@container (max-width: 900px) {
    .pshuss__slide--finder .pshuss__finder { grid-template-columns: minmax(0, 1fr); grid-template-rows: 300px minmax(0, 1fr); }
    .pshuss__wall { order: -1; padding: 24px 72px 56px; }
    .pshuss__cards { grid-template-columns: 1.2fr 1fr 1fr; grid-template-rows: minmax(0, 1fr); height: 100%; }
    .pshuss__card:nth-child(3) { display: block; }
    .pshuss__card:nth-child(2) { transform: translateY(-10px); }
    .pshuss__card:nth-child(3) { transform: translateY(12px); }
    .pshuss__big { top: auto; bottom: 0; left: 50%; width: 96px; height: 96px; transform: translate(-50%, 50%); }
    .pshuss__big.is-bump { animation-name: pshuss-bump-down; }
    .pshuss__big b { font-size: 2rem; }
    .pshuss__finder-panel { padding: 68px 72px 68px 68px; justify-content: flex-start; } /* room for the dots below */
}
@keyframes pshuss-bump-down { 40% { transform: translate(-50%, 50%) scale(1.14); } }

@media (max-width: 767px) {
    .pshuss__track { aspect-ratio: var(--pshuss-ratio-m, 4 / 5); max-height: none; }
    .pshuss__track:has(.pshuss__slide--finder) { min-height: auto; }
    .pshuss__slide--finder { min-height: auto; grid-template-rows: none; container-type: normal; }
    .pshuss__slide--finder .pshuss__finder { grid-template-rows: none; }
    .pshuss__img { object-position: var(--pshuss-focus-m, var(--pshuss-focus, 50% 50%)); }
    .pshuss__content,
    .pshuss__slide--right-top .pshuss__content,
    .pshuss__slide--right-middle .pshuss__content,
    .pshuss__slide--right-bottom .pshuss__content { justify-self: stretch; max-width: none; margin: 20px; margin-bottom: 64px; }
    .pshuss__text { font-size: 1rem; }
    .pshuss__arrow { display: none; }
    .pshuss__pause { top: 12px; right: 12px; }
    .pshuss__products { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-columns: auto; grid-auto-rows: auto; align-content: start; gap: 10px; padding: 120px 16px 56px; }
    .pshuss__products li:nth-child(n+5) { display: none; }
    .pshuss__products li:only-child { grid-column: 1 / -1; justify-self: center; width: 70%; }
    .pshuss__product a { height: auto; min-height: 0; aspect-ratio: 3 / 4; border-radius: 12px; }
    .pshuss__product-text { padding: 32px 10px 10px; }
    .pshuss__product-name { font-size: 0.875rem; }
    .pshuss__cta { padding: 0 22px; }
    .pshuss__finder { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
    .pshuss__wall { order: -1; height: 346px; padding: 68px 16px 46px; } /* the cards start under the pause button */
    .pshuss__cards { grid-template-columns: 1.2fr 1fr 1fr; grid-template-rows: minmax(0, 1fr); height: 100%; }
    .pshuss__card:first-child { grid-row: auto; }
    .pshuss__card:nth-child(n+4) { display: none; }
    .pshuss__card:nth-child(2) { transform: translateY(-10px); }
    .pshuss__card:nth-child(3) { transform: translateY(12px); }
    .pshuss__card img, .pshuss__card:first-child img { position: absolute; inset: 0; aspect-ratio: auto; }
    .pshuss__card-text { padding: 26px 8px 8px; }
    .pshuss__card-name, .pshuss__card:first-child .pshuss__card-name { font-size: 0.75rem; -webkit-line-clamp: 1; }
    .pshuss__big { top: auto; bottom: 0; left: 50%; width: 92px; height: 92px; transform: translate(-50%, 50%); }
    .pshuss__big b { font-size: 2rem; }
    .pshuss__big small { margin-top: 3px; padding: 0 12px; font-size: 0.5rem; letter-spacing: 0.04em; }
    @keyframes pshuss-bump { 40% { transform: translate(-50%, 50%) scale(1.14); } }
    .pshuss__finder-panel { padding: 62px 18px 72px; justify-content: flex-start; }
    .pshuss__options--tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .pshuss__option--tiles .pshuss__option-pic { aspect-ratio: 1 / 1; }
    .pshuss__option--tiles .pshuss__option-label { font-size: 0.6875rem; letter-spacing: 0.03em; }
    .pshuss__question { margin-top: 18px; }
    .pshuss__option { padding: 0 14px; font-size: 0.875rem; }
    .pshuss__option--chips { padding-left: 5px; }
    .pshuss__option--tiles { padding: 0; }
    .pshuss__finder .pshuss__finder-go { flex: 1 1 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    .pshuss { --pshuss-speed: 1ms; }
    .pshuss--slide .pshuss__slide { transform: none; }
    .pshuss__finder-panel > *, .pshuss__slide.is-active .pshuss__finder-panel > * { opacity: 1; transform: none; transition: none; }
    .pshuss__slide.is-active .pshuss__option--tiles,
    .pshuss__slide.is-active .pshuss__cards.is-in .pshuss__card a,
    .pshuss__option--tiles.is-preview::after,
    .pshuss__big.is-bump { animation: none; }
    .pshuss__video { display: none; }
}
