/* The finder screens (site/pages/finder.py). One screen shows at a time by its URL fragment (:target), so it works with no script; with no fragment, or one
   that is not a screen, the start screen shows. Each screen is one section inside the height budget (page plan 0.1): 788 at 390x844, 876 at 430x932,
   656 at 1280x720, 836 at 1440x900. Brand v2 tokens from storefront.css (.sf). Form text is 16 px or more. */
.sf .finder{display:block}
.sf .fstep{display:none;padding:clamp(14px,2.6vh,56px) 0;scroll-margin-top:var(--hdr)}
.sf .fstep:target,.sf .finder:not(:has(.fstep:target)) #start{display:block}
@media(prefers-reduced-motion:no-preference){.sf .fstep:target,.sf .finder:not(:has(.fstep:target)) #start{animation:fin .18s ease-out}}
@keyframes fin{from{opacity:0}to{opacity:1}}
.sf .fstep h1{font-family:var(--f-display);font-weight:900;color:var(--plum);letter-spacing:-.03em;line-height:1.05;font-size:clamp(28px,4.4vw,46px);text-wrap:balance;margin:4px 0 0}
.sf .fstep h1:focus{outline:none}
.sf .fstep h1:focus-visible{box-shadow:none!important}
.sf .fsub{margin-top:8px;color:var(--mute);font-size:16px}
.sf .fstep .kick{display:inline-block;color:var(--plum);background:none;padding:0}
.sf .fnav{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;margin:0}
.sf .fnav .back{display:inline-flex;align-items:center;min-height:44px;padding:0 4px;font-weight:700;color:var(--plum);text-decoration:none}
.sf .fnav .back:before{content:"\2190";margin-right:8px}
.sf .fnav .back:hover{text-decoration:underline}
.sf .fnav .ctx{min-width:0;font-family:var(--f-data);font-size:12.5px;letter-spacing:.05em;text-transform:uppercase;color:var(--mute);text-align:right}
/* options */
.sf .fopts{list-style:none;margin:clamp(14px,2.4vh,24px) 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.sf .fopts.f3,.sf .fopts.looks{grid-template-columns:minmax(0,1fr)}
.sf .ftile{display:flex;align-items:center;gap:10px;min-height:64px;height:100%;padding:10px 12px;border-radius:14px;background:var(--white);box-shadow:inset 0 0 0 2px var(--rule);text-decoration:none;color:var(--ink);transition:box-shadow .15s,transform .15s}
.sf .ftile:hover{box-shadow:inset 0 0 0 2px var(--plum);transform:translateY(-2px)}
.sf .ftile:focus-visible{box-shadow:var(--ring)!important}
.sf .ftile i{flex:none;width:6px;height:34px;border-radius:4px;background:var(--lilac)}
.sf .ftile.ho i{background:var(--apricot)}.sf .ftile.js i{background:var(--plum)}
.sf .ftile>span{min-width:0;flex:1}
.sf .ftile b{display:block;font-weight:700;font-size:15px;line-height:1.25}
.sf .ftile small{display:block;margin-top:2px;color:var(--mute);font-size:13px;line-height:1.3}
.sf .ftile svg{flex:none;color:var(--plum);margin-left:auto;display:none}
.sf .ftile.more{background:var(--lilac-pale);box-shadow:none}
.sf .fopts.f3 .ftile,.sf .fopts.looks .ftile{min-height:72px;padding:12px 16px}
.sf .fopts.f3 .ftile b,.sf .fopts.looks .ftile b{font-size:18px}
.sf .fopts.f3 .ftile svg,.sf .fopts.looks .ftile svg{display:block}
.sf .fopts.f3 .ftile i{height:44px;width:8px}
.sf .fend{display:flex;flex-wrap:wrap;gap:4px 24px;margin-top:clamp(12px,2vh,20px)}
.sf .fend a{display:inline-flex;align-items:center;min-height:44px;font-weight:700;color:var(--plum)}
/* results */
.sf .fres{list-style:none;margin:clamp(8px,1.4vh,20px) 0 0;padding:0;display:grid;gap:6px}
.sf .fp{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 12px;padding:8px 12px 10px;border-radius:16px;background:var(--white);box-shadow:inset 0 0 0 2px var(--rule);text-decoration:none;color:var(--ink);position:relative}
.sf .fp:hover{box-shadow:inset 0 0 0 2px var(--plum)}
.sf .fp:focus-visible{box-shadow:var(--ring)!important}
.sf .fp .th{grid-row:1;width:56px;height:56px;border-radius:10px;overflow:hidden;background:var(--lilac-pale);align-self:start}
.sf .fp .th picture,.sf .fp .th img{display:block;width:100%;height:100%}
.sf .fp .th img{object-fit:cover;object-position:top}
.sf .fp .tx{display:contents}
.sf .fp .nm{grid-column:2;grid-row:1;align-self:center}.sf .fp .why{grid-column:1/-1;grid-row:2}.sf .fp .look{grid-column:1/-1;grid-row:3}
.sf .fp .nm{display:flex;align-items:center;flex-wrap:wrap;gap:2px 8px;padding-right:76px}
.sf .fp .nm b{font-family:var(--f-display);font-weight:900;font-size:16px;line-height:1.2;color:var(--plum)}
.sf .fp .best{font-style:normal;font-family:var(--f-data);font-size:11px;letter-spacing:.05em;text-transform:uppercase;background:var(--apricot);color:var(--plum);border-radius:6px;padding:1px 6px}
.sf .fp .why{font-size:14.5px;line-height:1.38}
.sf .fp .look{font-size:13px;line-height:1.3;color:var(--mute)}
.sf .fp .pr{position:absolute;top:8px;right:12px;display:flex;align-items:center;gap:6px}
.sf .fp .pr b{font-family:var(--f-display);font-weight:900;font-size:24px;line-height:1;letter-spacing:-.02em;color:var(--plum)}
.sf .fp .go{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:var(--plum);color:var(--paper)}
.sf .fp .go svg{width:16px;height:16px}
.sf .fbundle{display:flex;align-items:center;gap:8px 20px;flex-wrap:wrap;margin-top:6px;padding:12px 14px;border-radius:16px;background:var(--plum);color:var(--paper)}
.sf .fbundle>div{flex:1 1 260px;min-width:0}
.sf .fbundle b{font-family:var(--f-display);font-weight:900;font-size:20px;line-height:1.2}
/* the bundle's name and price share the first row, so the offer stays inside the screen budget */
.sf .fbundle>div{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;align-items:baseline}.sf .fbundle>div>*{grid-column:1/-1}.sf .fbundle>div>b{grid-column:1}
.sf .fbundle>div>.bprice{grid-column:2;grid-row:1}
.sf .fbundle .bprice{display:flex;align-items:baseline;gap:6px;margin:0}.sf .fbundle .bprice .price{font-family:var(--f-display);font-weight:900;font-size:32px;line-height:1;color:var(--paper)}.sf .fbundle .bprice small{font-size:14px;font-weight:700;color:var(--lilac)}
.sf .fbundle .saving{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;margin-top:6px}.sf .fbundle .sv-was{color:var(--lilac);font-size:15px}.sf .fbundle .sv-chip{background:var(--apricot);color:var(--plum);font-weight:800;font-size:16px;line-height:24px;border-radius:999px;padding:4px 12px}
.sf .fbundle p{margin-top:3px;color:var(--lilac);font-size:14.5px;line-height:1.38}
.sf .fbundle .btn{margin-left:auto;min-height:46px}
@media(max-width:559px){.sf .fbundle .btn{margin-left:0;width:100%;justify-content:center}}
@media(min-width:560px){.sf .fopts{grid-template-columns:repeat(2,minmax(0,1fr))}.sf .ftile svg{display:block}.sf .ftile b{font-size:16px}}
@media(min-width:760px){.sf .fopts.f3{grid-template-columns:repeat(3,minmax(0,1fr))}.sf .fopts.f3 .ftile{align-items:flex-start;flex-wrap:wrap;min-height:120px}.sf .fopts.f3 .ftile svg{margin-top:4px}
 .sf .fopts.looks{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:900px){.sf .fopts{grid-template-columns:repeat(4,minmax(0,1fr))}.sf .fopts.f3{grid-template-columns:repeat(3,minmax(0,1fr))}.sf .fopts.looks{grid-template-columns:repeat(3,minmax(0,1fr))}
 .sf .fres{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.sf .fres:has(li:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}.sf .fres:has(li:only-child){grid-template-columns:minmax(0,640px)}
 .sf .fp{grid-template-columns:minmax(0,1fr);gap:8px;padding:12px}.sf .fp .th{grid-row:auto;width:100%;height:clamp(96px,15vh,170px)}.sf .fp .th.kit img{object-position:top}.sf .fp .th:not(.kit){height:clamp(120px,20vh,200px)}.sf .fp .th:not(.kit) img{object-fit:contain;object-position:center}.sf .fp .tx{display:flex;flex-direction:column;gap:4px;grid-column:1;grid-row:auto}.sf .fp .nm,.sf .fp .why,.sf .fp .look{grid-column:auto;grid-row:auto}
 .sf .fp .pr{top:auto;right:auto;position:static;justify-content:space-between;margin-top:auto}
 .sf .fp .nm{padding-right:0;justify-content:flex-start}.sf .fp .nm b{text-align:left}.sf .fp .nm b{font-size:17px}
 .sf .fbundle{margin-top:12px;padding:16px 22px}}
