/* Scroll the page naturally; only the catalogue presentation stays in view. */
.catalog-scroll,.swatch-sequence{position:relative;min-width:0}
.catalog-scroll.sequence-layout>.catalog-layout{position:sticky;top:calc(var(--header) + 14px);align-items:stretch}
.sequence-layout .swatch-stage{height:min(570px,calc(100svh - var(--header) - 44px));min-height:min(570px,calc(100svh - var(--header) - 44px))}
.sequence-fan>.catalog-layout{display:block}
.sequence-fan .catalog-menu{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:24px;padding-top:0}
.sequence-fan .catalog-menu .catalog-help{grid-column:1/-1;justify-self:start;margin-top:0}
.sequence-fan .swatch-stage{position:sticky;top:calc(var(--header) + 14px);height:clamp(385px,calc(100svh - var(--header) - 110px),520px);min-height:0}
.sequence-fan .swatch-sequence{margin-bottom:27px}
.sequence-fan .card-details{max-width:720px;margin-inline:auto}
.sequence-fan .card-details>.button{margin-top:0}
.fabric-leaf{transition:none;backface-visibility:hidden;transform-origin:50% 12%;will-change:transform,opacity}
.fan-choosing .fabric-leaf{transition:transform .5s var(--ease),opacity .35s}
.swatch-step{position:absolute;right:24px;top:24px;font-size:10px;line-height:1.8;letter-spacing:.04em;color:var(--muted);z-index:25}
.stage-kicker{right:150px;z-index:25}
.swatch-progress{position:absolute;bottom:0;left:0;right:0;height:2px;background:#234ce20b}
.swatch-progress>span{display:block;width:100%;height:100%;background:linear-gradient(90deg,var(--red),var(--blue));transform:scaleX(0);transform-origin:left;will-change:transform}
.card-photo-wrap{display:grid;place-items:center;max-height:62dvh;background:#e9e9e5;border-radius:3px}
.card-photo-wrap img{width:auto;height:auto;max-width:100%;max-height:62dvh;object-fit:contain}
.card-photo-wrap.zoomed{display:block}
.card-photo-wrap.zoomed img{width:150%;max-width:none;max-height:none;margin:0}
.card-dialog .fineprint{font-size:11px;line-height:1.75}
@media(max-width:900px){.sequence-fan .swatch-fan{max-width:610px;width:100%;margin-inline:auto}.sequence-fan .card-details{max-width:620px}}
@media(max-width:700px){
 .sequence-fan .catalog-menu{gap:12px;margin-bottom:24px}
 .sequence-fan .catalog-menu .catalog-help{margin-top:0}
 .swatch-step{right:20px;top:18px;font-size:9px}
 .stage-kicker{right:130px;font-size:8px;top:20px}
 .card-photo-wrap,.card-photo-wrap img{max-height:56dvh}
}
@media(max-width:370px){.sequence-fan .catalog-menu{gap:10px}.swatch-step{font-size:8px}.stage-kicker{right:122px;font-size:7px}}
.reduce .catalog-scroll,.reduce .swatch-sequence{height:auto!important}
.reduce .catalog-layout,.reduce .swatch-stage{position:relative!important;top:0!important}
.reduce .swatch-progress{display:none}
@media(prefers-reduced-motion:reduce){.catalog-scroll,.swatch-sequence{height:auto!important}.catalog-layout,.swatch-stage{position:relative!important;top:0!important}.swatch-progress{display:none}}
