/* BRND home finder card + trust badges (Nov 10 2026, Zev m:4433a5ad; wording + structure m:e47212a2).
   Title "Find your perfect scent" + "For you or as a gift · pick any, skip the rest" (the site is not gifts-only; no step count, every tab is optional).
   Tabs: 3 up front (For, Scent, Budget) + a "More filters +" toggle (assets/finder.js) that opens Occasion, Season, Style, Vibe, Intensity in place;
   a gold check marks any tab with a pick. 44px+ chips; a full-width "See N fragrances" button; 4 gold trust badges whose claims match /authenticity, /shipping, /returns, /faq.
   .tbadges is reusable on any page: <div class="tbadges"><a class="tb" href="..."><svg class="tb-i">..</svg><span><b>Label</b><small>sub</small></span></a>...</div> */
.fcard{display:flex;flex-direction:column;gap:16px;padding:20px 16px 18px}
.fcard .fhd{display:flex;align-items:flex-start;gap:12px;margin:0;font:inherit}
.fcard .fh-t{min-width:0}
.fcard .fh-h{text-wrap:balance}
.fcard .fh-s span{white-space:nowrap}
.fcard .fh-h{font-family:"Didot","Bodoni 72","BRND Display","Playfair Display",Georgia,"Times New Roman",serif;font-size:25px;font-weight:600;line-height:1.12;letter-spacing:-.005em;margin:0;color:var(--tx)}
.fcard .fh-s{margin:4px 0 0;font-size:14px;line-height:1.4;color:var(--mu);font-weight:500}
.fcard #freset{margin-left:auto;float:none!important;flex:none;font-size:14px!important;line-height:1.6;color:var(--gold)}
/* tabs: label 13px, value 15.5px. One grid of 60 columns: For / Scent / Budget / "More filters" take a quarter each;
   the 5 extra tabs share the next row (desktop) or 3+2 (phone) and only show while the card has .fx-open */
.fcard .ftabs{display:grid;grid-template-columns:repeat(60,minmax(0,1fr));gap:4px;padding:4px;margin:0;border-radius:14px;background:var(--s2);overflow:visible}
.fcard .ftab{grid-column:span 15;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:7px 8px;border-radius:10px;min-height:52px;cursor:pointer}
.fcard .ftab small{font-size:13px;line-height:1.2;font-weight:600;letter-spacing:.01em;text-transform:none;color:var(--mu);display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.fcard .ftab b{font-size:15.5px;line-height:1.25;font-weight:600;color:var(--tx);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.fcard .ftab.set b{color:var(--gold)}
.fcard .ftab.on{background:var(--bg);box-shadow:0 0 0 1.5px var(--gold) inset}
.fcard .ftab[data-tab=fr]{order:1}.fcard .ftab[data-tab=sf]{order:2}.fcard .ftab[data-tab=bud]{order:3}
.fcard .ftab[data-tab=oc]{order:5}.fcard .ftab[data-tab=ss]{order:6}.fcard .ftab[data-tab=mk]{order:7}.fcard .ftab[data-tab=vb]{order:8}.fcard .ftab[data-tab=in]{order:9}
.fcard .ftab:is([data-tab=oc],[data-tab=ss],[data-tab=mk],[data-tab=vb],[data-tab=in]){grid-column:span 12}
.fcard:not(.fx-open) .ftab:is([data-tab=oc],[data-tab=ss],[data-tab=mk],[data-tab=vb],[data-tab=in]){display:none}
/* a tab with a pick carries a gold check before its label */
.fcard .ftab.set small::before{content:"\2713";display:inline-grid;place-items:center;width:16px;height:16px;border-radius:50%;background:var(--gold);color:#fff;font-size:10.5px;font-weight:700;line-height:1}
html:not([data-theme=light]) .fcard .ftab.set small::before{color:#111}
/* "More filters +" toggle (drawn by finder.js inside #ftabs) */
.fcard .fmore{order:4;grid-column:span 15;position:relative;min-width:0;display:flex;align-items:center;justify-content:center;gap:6px;padding:6px 8px;min-height:52px;border:1.5px dashed rgba(176,141,87,.55);border-radius:10px;background:none;color:var(--gold);font:inherit;font-size:15px;font-weight:600;line-height:1.2;text-align:center;cursor:pointer}
.fcard .fmore:hover{border-style:solid;border-color:var(--gold)}
.fcard .fmore i{font-style:normal;font-size:19px;font-weight:500;line-height:1;flex:none}
.fcard .fmore em{position:absolute;top:-6px;right:-4px;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:var(--gold);color:#fff;font-style:normal;font-size:11.5px;font-weight:700;line-height:20px}
html:not([data-theme=light]) .fcard .fmore em{color:#111}
.fcard.fx-open .fmore{border-style:solid;border-color:var(--gold);background:var(--bg)}
/* chips: 46px, 15.5px; a chip with no matches right now is hidden (no greyed "dead" chips) */
.fcard .fchips{gap:8px;padding:0;margin:0}
.fcard .fchip{height:46px;padding:0 17px;font-size:15.5px;font-weight:500;color:var(--tx)}
.fcard .fchip:hover{border-color:var(--gold)}
.fcard .fchip.zero:not(.on){display:none}
/* primary action */
.fcard .fgo{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:52px;padding:0 22px;border:0;border-radius:999px;background:var(--gold);color:#111;font:inherit;font-size:16px;font-weight:600;letter-spacing:.01em;cursor:pointer;transition:filter .15s}
html[data-theme=light] .fcard .fgo{background:#111;color:#f0d595}
.fcard .fgo:hover{filter:brightness(1.08)}
html[data-theme=light] .fcard .fgo:hover{background:#2b2620;filter:none}
.fcard .fgo svg{width:18px;height:18px;flex:none}
/* trust badges (reusable) */
.tbadges{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px;margin:0;padding:16px 2px 0;border-top:1px solid var(--line)}
.tbadges .tb{display:flex;align-items:center;gap:10px;min-width:0;color:var(--tx);text-decoration:none;border:0;background:none;padding:0;border-radius:0;box-shadow:none}
.tbadges .tb-i{flex:none;width:38px;height:38px;padding:8px;border-radius:50%;color:var(--gold);background:rgba(176,141,87,.13);overflow:visible}
.tbadges .tb span{display:flex;flex-direction:column;min-width:0}
.tbadges .tb b{font-size:14.5px;line-height:1.25;font-weight:700;color:var(--tx)}
.tbadges .tb small{font-size:12.5px;line-height:1.3;color:var(--mu);font-weight:500}
.tbadges .tb:hover b{text-decoration:underline;text-decoration-color:var(--gold);text-underline-offset:3px}
/* reserve what v3.js draws after load (CLS) */
.fcard .ftabs:empty{min-height:60px}
.fcard .fchips:empty{min-height:46px}
@media(min-width:900px){
 .fcard{padding:24px 26px 20px}
 .fcard .fh-h{font-size:32px}
 .fcard .fh-s{font-size:15px}
 .fcard .fchips{flex-wrap:wrap;overflow:visible;align-content:flex-start}
 .fcard .ftabs:empty{min-height:60px}
 .tbadges{gap:14px 18px}
 .tbadges .tb b{font-size:15px}
 .tbadges .tb small{font-size:13px}
}
/* split (default since Nov 10 2026): the card is exactly as tall as the hero beside it; the chip area takes the space that is left
   and scrolls inside when a tab has more chips than fit, so there is no empty band above the title or below the badges */
@media(min-width:900px){
 html[data-hero-layout=split] .h3hero.hc{height:clamp(540px,calc(100vh - 196px),640px)}
 html[data-hero-layout=split] .h3>.h3g>.fcard{height:100%;min-height:0;justify-content:flex-start}
 html[data-hero-layout=split] .fcard .fchips{flex:1 1 0;min-height:100px;overflow-y:auto;scrollbar-width:thin;padding:2px 2px 6px;margin:-2px -2px 0;-webkit-mask-image:linear-gradient(180deg,#000 calc(100% - 22px),transparent);mask-image:linear-gradient(180deg,#000 calc(100% - 22px),transparent)}
 html[data-hero-layout=split] .fcard .fchips.fit{-webkit-mask-image:none;mask-image:none}
 html[data-hero-layout=split] .fcard .fchips:empty{min-height:100px}
}
/* full (?hero_layout=full): the card spans the page under the hero */
@media(min-width:900px){
 html[data-hero-layout=full] .fcard{padding:16px 28px 18px;gap:12px}
 html[data-hero-layout=full] .fcard .fhd{align-items:baseline}
 html[data-hero-layout=full] .fcard .fh-t{display:flex;align-items:baseline;gap:16px;flex-wrap:wrap}
 html[data-hero-layout=full] .fcard .fh-s{margin:0}
 html[data-hero-layout=full] .fcard .ftabs:empty{min-height:60px}
 html[data-hero-layout=full] .fcard .fchips:empty{min-height:100px}
 html[data-hero-layout=full] .fcard .fend{display:flex;flex-direction:row;align-items:center;gap:24px;border-top:1px solid var(--line);padding-top:16px}
 html[data-hero-layout=full] .fcard .fend .tbadges{flex:1;border:0;padding:0;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
 html[data-hero-layout=full] .fcard .fend .tbadges .tb{flex-direction:row;text-align:left;gap:10px}
 html[data-hero-layout=full] .fcard .fend .tbadges .tb span{align-items:flex-start}
 html[data-hero-layout=full] .fcard .fend .fgo{width:300px;flex:none;order:2}
}
.fcard .fend{display:flex;flex-direction:column;gap:16px}
@media(max-width:899px){
 .fcard .ftab{padding:7px 4px}
 .fcard .ftab small{font-size:12.5px;gap:4px}
 .fcard .ftab b{font-size:14.5px}
 .fcard .ftab:is([data-tab=oc],[data-tab=ss],[data-tab=mk]){grid-column:span 20}
 .fcard .ftab:is([data-tab=vb],[data-tab=in]){grid-column:span 30}
 .fcard .fmore{display:block;font-size:14px;line-height:1.25;padding:4px 6px}
 .fcard .fmore span{display:inline}
 .fcard .fmore i{display:inline;font-size:15px;margin-left:3px}
 .tbadges .tb{gap:8px}
 .tbadges .tb-i{width:34px;height:34px;padding:7px}
}
@media(max-width:899px){
 .tbadges .tb{flex-direction:column;align-items:center;text-align:center;gap:6px}
 .tbadges .tb span{align-items:center}
 .tbadges .tb b{font-size:14px;white-space:nowrap}
 .tbadges .tb small{font-size:12px;white-space:nowrap}
}
@media(min-width:600px) and (max-width:899px){.tbadges{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:380px){
 .fcard{padding:18px 14px 16px}
 .tbadges .tb b{font-size:13.5px}
 .tbadges .tb small{font-size:11.5px}
 .tbadges{gap:12px 8px}
}
