/* howe-listing.css · R24 (5 Oct 2026). Shop listing controls and phone card treatment, ported from the R26d/R27 Design pack
   (mbh-v7-filters.css, mbh-r27-mobile.css, howe-card-gallery.css). HOWE tokens only; every rule is scoped to the listing (.fx-*) or
   to a shop gallery (.gg.fx-two, [data-cg]). Nothing restyles a shared component globally. */
.fx-top{padding-top:0;}
/* listing heading + count, one line */
.fx-head{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 14px;margin:0 var(--gutter) 14px;}
.fx-h{margin:0;font-family:var(--ff-serif);font-weight:400;font-size:clamp(26px,2.4vw,34px);line-height:1.15;color:var(--ink);}
.fx-head--hidden{display:block;margin:0;height:0;overflow:hidden;}
.fx-count{font-family:var(--ff-body);font-size:15px;color:var(--label);font-variant-numeric:tabular-nums;}
/* categories */
.fx-types{position:relative;margin:0 var(--gutter);}
.fx-cats{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;column-gap:24px;row-gap:0;}
.fx-cat{-webkit-appearance:none;appearance:none;position:relative;display:flex;align-items:center;min-height:44px;padding:0;border:0;border-radius:0;background:transparent;color:var(--body);font-family:var(--ff-body);font-size:16px;line-height:1.2;cursor:pointer;white-space:nowrap;}
.fx-cat:hover{color:var(--ink);}
.fx-cat:focus-visible{outline:2px solid var(--ink);outline-offset:2px;}
.fx-cat[aria-pressed="true"]{color:var(--ink);font-weight:600;}
.fx-cat[aria-pressed="true"]::after{content:"";position:absolute;left:0;right:0;bottom:9px;height:1px;background:var(--ink);} /* R25k (Guy): ONE line weight across the shop controls, 1px as the nav spine bar */
.fx-cats-nav{display:none;}
/* utility row */
.fx-bar{display:flex;flex-wrap:wrap;align-items:center;gap:0 28px;margin:6px var(--gutter) 0;padding:0;border-top:1px solid var(--hairline);border-bottom:1px solid var(--hairline);}
.fx-av{display:flex;align-items:center;gap:18px;}
/* R69: the row is a labelled fieldset, "Show", so it cannot be read as the category row repeated */
.fx-show{border:0;padding:0;margin:0;min-width:0;}
.fx-show-l{flex:none;font-family:var(--ff-display);font-weight:600;text-transform:uppercase;letter-spacing:.14em;font-size:11px;color:var(--label);margin-right:4px;line-height:44px;padding:0;}
.fx-show-l+.fx-av-o::before{display:none;}
.fx-show-l+.fx-av-o{margin-left:-6px;}
.fx-av-o{position:relative;display:flex;align-items:center;min-height:44px;cursor:pointer;}
.fx-av-o input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer;}
.fx-av-o span{font-family:var(--ff-body);font-size:15px;color:var(--label);white-space:nowrap;padding:3px 0;border-bottom:1px solid transparent;}
.fx-av-o:hover span{color:var(--ink);}
.fx-av-o input:checked+span{color:var(--ink);border-bottom-color:var(--ink);}
.fx-av-o input:focus-visible+span{outline:2px solid var(--ink);outline-offset:3px;}
.fx-av-o+.fx-av-o::before{content:"";width:1px;height:16px;background:var(--border);position:absolute;left:-9px;top:50%;margin-top:-8px;}
.fx-named{display:flex;align-items:center;gap:22px;}
.fx-sortw{margin-left:auto;}
.fx-wrap{position:relative;}
.fx-trig{position:relative;-webkit-appearance:none;appearance:none;display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:0;border:0;border-radius:0;background:transparent;color:var(--ink);font-family:var(--ff-body);font-size:15px;cursor:pointer;white-space:nowrap;}
/* R25k (Guy): the Sort / facet triggers take the same 1px ink line as the selected category and availability, under the whole control, on hover and while open; no text underline */
.fx-trig::after{content:none;}   /* R90b: the line is drawn under the words (.fx-tl) on every trigger; the old line ran past the last letter */
.fx-trig:hover::after,.fx-trig[aria-expanded="true"]::after{opacity:1;}
.fx-trig:focus-visible{outline:2px solid var(--ink);outline-offset:2px;}
.fx-trig .fx-n{color:var(--label);}
.fx-badge{display:none;}
.fx-trig .fx-sv{color:var(--ink);}
.fx-caret{width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:5px solid var(--label);transition:transform .15s;}
.fx-trig[aria-expanded="true"] .fx-caret{transform:rotate(180deg);}
/* desktop anchored panel, sized to its contents */
.fx-panel{position:absolute;top:calc(100% + 1px);left:-16px;z-index:40;width:max-content;min-width:220px;max-width:min(520px,calc(100vw - 2 * var(--gutter)));background:var(--near-white);border:1px solid var(--border);box-shadow:0 12px 32px rgba(43,42,40,.10);padding:8px 16px 14px;}
.fx-panel[hidden]{display:none;}
.fx-panel--right,.fx-panel--flip{left:auto;right:-16px;}
.fx-panel-head{display:none;}
.fx-panel-t{margin:0;font-weight:400;}
.fx-panel--multi .fx-panel-body{display:grid;grid-template-columns:repeat(2,minmax(160px,auto));column-gap:28px;}
.fx-fs{border:0;margin:0;padding:0;min-width:0;}
.fx-fs-h{padding:0;margin:8px 0 2px;font-family:var(--ff-display);font-weight:600;text-transform:uppercase;letter-spacing:.14em;font-size:12px;color:var(--ink);}   /* R92g: 12px ink (was 10.5px grey) */
.fx-opt{display:flex;align-items:center;gap:10px;min-height:40px;font-family:var(--ff-body);font-size:15px;color:var(--ink);cursor:pointer;}
.fx-opt input{width:16px;height:16px;margin:0;accent-color:var(--ink);flex:none;}
.fx-opt input:focus-visible{outline:2px solid var(--ink);outline-offset:2px;}
.fx-foot{display:flex;align-items:center;gap:18px;margin-top:8px;padding-top:12px;border-top:1px solid var(--hairline);}
.fx-link{-webkit-appearance:none;appearance:none;padding:0;min-height:44px;border:0;background:transparent;color:var(--ink);font-family:var(--ff-body);font-size:14.5px;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px;cursor:pointer;}
/* R25k: text links take the canonical 1px ink underline (howe.css), no pale-to-ink colour change */
.fx-link:focus-visible{outline:2px solid var(--ink);outline-offset:2px;}
.fx-x{-webkit-appearance:none;appearance:none;width:44px;height:44px;border:0;background:transparent;color:var(--ink);font-size:24px;line-height:1;cursor:pointer;}
.fx-x:focus-visible{outline:2px solid var(--ink);outline-offset:-4px;}
/* applied secondary refinements */
.fx-chips{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin:10px var(--gutter) 0;}
.fx-chips.fx-res--count{margin-top:12px;min-height:22px;}
#fxChips .fx-count--line{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;}   /* R82b: announced, not shown, at every width (the phone rule, now site-wide) */
.fx-chips[hidden]{display:none;}
/* R69 (Guy): an applied filter is plain text with its removal cross, one generous target (label and cross together), no pill, fill or radius.
   Labels may wrap to the next line; nothing collides. */
.fx-chip{-webkit-appearance:none;appearance:none;display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:0 2px;border:0;border-radius:0;background:transparent;font-family:var(--ff-body);font-size:14.5px;color:var(--ink);cursor:pointer;text-align:left;}
.fx-chip-x{display:inline-block;width:auto;height:auto;border:0;background:transparent;color:var(--label);font-size:17px;line-height:1;transform:translateY(.5px);}
@media (hover:hover){.fx-chip:hover .fx-chip-x{color:var(--ink);}}
.fx-chip:focus-visible{outline:2px solid var(--ink);outline-offset:2px;}
.fx-clearall{min-height:36px;}
.mv-gridwrap{margin-top:clamp(20px,2.4vw,32px);}
.fx-scrim{position:fixed;inset:0;z-index:1000;background:rgba(43,42,40,.34);}
body.fx-locked{overflow:hidden;}
@media (max-width:820px){
  .fx-head{margin-bottom:6px;}
  .fx-h{font-size:24px;}
  .fx-cats{column-gap:20px;}
  .fx-cat{font-size:15px;}
  /* one scrolling row with a visible continuation cue (long lists) */
  .fx-types.is-scroll{margin-right:0;}
  .fx-types.is-scroll .fx-cats{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding-right:56px;scroll-padding-left:0;}
  .fx-types.is-scroll .fx-cats::-webkit-scrollbar{display:none;}
  .fx-types.is-scroll::after{content:"";position:absolute;top:0;bottom:0;right:0;width:72px;pointer-events:none;background:linear-gradient(to right,rgba(255,250,238,0),var(--cream,#FFFAEE) 62%);}
  .fx-types.is-scroll{margin-left:0;}
  .fx-types.is-scroll .fx-cats{padding-left:var(--gutter);scroll-padding-left:var(--gutter);}
  .fx-types.is-scroll::before{content:"";position:absolute;top:0;bottom:0;left:0;width:64px;pointer-events:none;z-index:1;background:linear-gradient(to left,rgba(255,250,238,0),var(--cream,#FFFAEE) 62%);}
  .fx-types.is-scroll.at-start::before,.fx-types.is-scroll.at-start .fx-cats-prev{display:none;}
  .fx-types.is-scroll .fx-cats-nav{display:flex;align-items:center;justify-content:center;position:absolute;top:0;z-index:2;width:44px;height:44px;padding:0;border:0;background:transparent;color:var(--ink);font-size:26px;line-height:1;cursor:pointer;}
  .fx-types.is-scroll .fx-cats-next{right:0;}
  .fx-types.is-scroll .fx-cats-prev{left:0;}
  .fx-types.is-scroll.at-end::after,.fx-types.is-scroll.at-end .fx-cats-next{display:none;}
  /* utility row: availability left, Filters + Sort right */
  .fx-bar{flex-wrap:wrap;justify-content:space-between;gap:0 10px;margin-top:4px;}
  .fx-av{gap:14px;}
  .fx-av-o+.fx-av-o::before{left:-7px;}
  .fx-tools{display:flex;align-items:center;gap:6px;margin-left:auto;}
  .fx-tools .fx-caret{display:none;}
  .fx-trig--badge{position:relative;padding-right:24px;}
  .fx-badge{position:absolute;right:2px;top:8px;display:block;min-width:18px;height:18px;padding:0 5px;box-sizing:border-box;border-radius:9px;background:var(--ink);color:var(--near-white);font-family:var(--ff-body);font-size:12px;font-weight:600;line-height:18px;text-align:center;font-variant-numeric:tabular-nums;}
  .fx-badge[hidden]{display:none;}
  .fx-chips.fx-res--count{margin-top:10px;}
  .fx-chips{margin-top:8px;}
  /* two products per row (local, until the shared gallery change lands); true image ratios kept */
  .gg.fx-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 12px;align-items:start;}
  .gg.fx-two .gg-row{display:contents;}
  .gg.fx-two .gg-tile{min-width:0;margin:0;}
  .gg.fx-two .gg-fig img{width:100%;height:auto;aspect-ratio:var(--gg-ar,auto);}
  /* R91 / C2 (Guy, 14 Oct): name, price and availability are the standard card sizes (no override here) */
}

@media (max-width:820px){
  .fx-cl-wrap .fx-cats{column-gap:20px;}
}

/* R26b spacing: controls-to-gallery gap (the shared stack rhythm gave 40px here) */
body.stack>.mv-gridwrap{margin-top:28px;}
@media (max-width:820px){
  body.stack>.mv-gridwrap{margin-top:20px;}
  .fx-chips.fx-res--count{margin-top:8px;}
  /* enlarged text / very narrow: reflow rather than overflow */
  /* R69: on phones the Show choices are one compact, accessible select ("Show: All"), so nothing is clipped and Filters / Sort stay on the same row */
  .fx-show-sel{display:inline-flex;align-items:center;gap:6px;min-height:44px;max-width:100%;}
  .fx-show-sel .fx-show-l{line-height:1;margin:0;}
  .fx-show-selw{position:relative;display:inline-flex;align-items:center;min-width:0;}
  .fx-show-selw select{-webkit-appearance:none;appearance:none;font-family:var(--ff-body);font-size:15px;color:var(--ink);background:transparent;border:0;border-radius:0;box-shadow:none;padding:10px 18px 10px 0;margin:0;max-width:100%;cursor:pointer;}
  /* no resting underline: the toolbar's keylines define the row */
  .fx-show-selw select:focus-visible{outline:2px solid var(--ink);outline-offset:3px;}
  .fx-show-selw::after{content:"";position:absolute;right:2px;top:50%;margin-top:-2px;width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:5px solid var(--ink);pointer-events:none;}
  /* the house caret, as on Sort by */
  .fx-bar{flex-wrap:nowrap;}
  /* R69: on two-column cards the Buy online control takes its own full-width row beneath price and state */
  .fx-on .mv-gg .gg.fx-two .gg-card .pc-buy{display:inline-flex;min-height:44px;margin:4px 0 0;padding:12px 12px 12px 0;}
  .fx-chip{max-width:100%;}
  .fx-chip>span{white-space:normal;overflow-wrap:anywhere;}
  /* R26b · Guy: lighter bookmark on two-column phone cards. 44x44 tap target; 28px visible backing, 3px radius,
     no border or shadow; 8px inset from the image corner (centred in the target). Saved keeps the locked ink + "Saved" treatment, 28px tall. */
  .gg.fx-two .gg-fig .pc-select{inset:0 0 auto auto;top:0;right:0;width:44px;min-width:44px;height:44px;outline:none;}
  .gg.fx-two .gg-fig .pc-select::before{width:28px;height:28px;border:0;border-radius:3px;background:rgba(255,253,247,.94);box-shadow:none;}
  .gg.fx-two .gg-fig .pc-select svg{width:16px;height:19px;}
  .gg.fx-two .gg-fig .pc-select.is-selected{width:64px;min-width:64px;}
  .gg.fx-two .gg-fig .pc-select.is-selected::before{width:48px;height:28px;background:var(--ink);}
  .gg.fx-two .gg-fig .pc-select:focus-visible{outline:none;}
  .gg.fx-two .gg-fig .pc-select:focus-visible::before{outline:2px solid var(--ink);outline-offset:2px;box-shadow:0 0 0 4px var(--near-white);}
}

/* R26b-2: listings without availability: Filters / Sort row starts at the content edge; same height as the full row */
.fx-bar--noav .fx-named{margin-left:0;}
@media (max-width:820px){
  .fx-bar--noav{justify-content:flex-end;}
  .fx-bar--noav .fx-tools{margin-left:auto;}
}

/* R26b-3 (Guy): phone sheet group rhythm. A <legend> sits in the fieldset's border area, so its margin-top had no effect and the
   heading touched the divider. Floating the legend puts it into normal flow inside the padding. Measured targets (rendered glyph
   edges, not box edges): divider -> heading 14px; heading -> first option text 12px (inside the 44px row); last option text -> divider 14px. */
@media (max-width:820px){
  
}

/* R26b-4 overlay scrolling. Phone Filters: full-height dialog; header (title + Close) and footer (Clear all + Show results) never scroll;
   ONE scrolling choices area between them; no scrolling inside groups. Sort stays a short bottom sheet with the same fixed header. */
body.fx-locked{position:fixed;left:0;right:0;width:100%;overflow:hidden;}
.fx-panel--fit{display:flex;flex-direction:column;}
.fx-panel--fit .fx-panel-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;}
.fx-panel--fit .fx-foot{flex:none;}
@media (max-width:820px){
  
}

/* ===== R26c corrections (review only) ===== */
/* 1 · Featured sits in the metadata, styled as the quiet product tag; the photograph is unobstructed */
.fx-feat{margin:0 0 2px;color:var(--ink);}
.gg-fig .pc-feature-flag,.img .pc-feature-flag{display:none;}
/* 7 · R91: the R26c rule that hid the demo note on listing cards for good is retired; howe-ui.css hides it until a click shows it for 3 seconds (R82s, 13 Oct), as on every card */
/* 4/5 · programmatic focus targets: no ring for pointer opening, clear ring for keyboard */
.fx-panel:focus{outline:none;}
.fx-panel:focus-visible{outline:none;} /* the panel container is only focused on pointer/URL opening; keyboard opening focuses an option, which keeps its ring */
.fx-panel-t:focus{outline:none;}
.fx-panel-t:focus-visible{outline:none;} /* R24 (queued S-heading): the sheet heading receives focus programmatically only; no ring */
/* 6 · panel above its trigger when that is where it fits */
.fx-panel.fx-panel--up{top:auto;bottom:calc(100% + 1px);box-shadow:0 -12px 32px rgba(43,42,40,.10);}
@media (max-width:820px){
  /* 3 · Filters and Sort together at the right; Sort >= 44 x 44; 8px between them */
  .fx-tools{gap:8px;margin-left:auto;}
  .fx-tools .fx-trig[data-fxopen="sort"]{min-width:44px;justify-content:flex-end;}
  .fx-bar{justify-content:space-between;}
  .fx-bar--noav{justify-content:flex-end;}
}

/* ===== R26d (review only) ===== */
/* Featured now fills the card's own tag line */
.product-tag.fx-feat,.product-tag>.fx-feat{color:var(--ink);}
/* capped desktop panel: the options area scrolls, the actions stay; keyboard focus inside is kept in view by the browser */
.fx-panel--fit .fx-panel-body{scroll-padding-block:8px;}

/* ===== R27 phone gallery: one square canvas per card, names aligned across a row, full names ===== */
.gg.fx-two{--r27-canvas:1/1;}
@media (max-width:820px){
  .gg.fx-two{row-gap:0;column-gap:12px;grid-auto-rows:auto;align-items:stretch;}
  .gg.fx-two .gg-tile{display:grid;grid-template-rows:subgrid;grid-row:span 7;row-gap:0;align-content:start;position:relative;}
  .gg.fx-two .gg-tile{grid-template-columns:minmax(0,1fr);}
  /* R39: the tile's own column is bounded by its track, so a long name wraps and a one-line tag can be measured for overflow (before, the implicit auto column grew to the content and text ran into the next card) */
  .gg.fx-two .product-tag,.gg.fx-two .product-name{min-width:0;max-width:100%;}
  .gg.fx-two .gg-card{display:contents;}
  .gg.fx-two .gg-fig{grid-row:1;aspect-ratio:var(--r27-canvas);height:auto !important;width:100% !important;margin:0 0 12px;background:var(--parchment);display:flex;align-items:center;justify-content:center;overflow:hidden;}
  .gg.fx-two .gg-fig img{width:100%;height:100%;aspect-ratio:auto;object-fit:contain;object-position:center;}
  .gg.fx-two .product-tag{grid-row:2;align-self:end;}
  .gg.fx-two .product-name{grid-row:3;align-self:start;}
  .gg.fx-two .product-meta{grid-row:4;align-self:start;}
  .gg.fx-two .pc-swatches{grid-row:5;align-self:start;}
  .gg.fx-two .pc-buy{grid-row:6;align-self:start;}
  .gg.fx-two .howe-tbc-note{grid-row:7;align-self:start;}
  .gg.fx-two .gg-tile::after{content:"";grid-row:7;height:28px;}
  .gg.fx-two .product-tag:empty{display:none;}
  .gg.fx-two .product-name{display:block;-webkit-line-clamp:unset;line-clamp:none;overflow:visible;overflow-wrap:break-word;max-height:none;}
  .gg.fx-two .gg-tile:hover .gg-fig img{transform:none;}
}
.fx-on .gg .product-tag:empty{display:none;}
/* R91: moved to howe-gallery.css (the card's own stylesheet) */
.fx-on .mv-gg .product-meta{display:flex;flex-direction:column;align-items:flex-start;gap:3px;}
/* R69: the Buy online control (.pc-buy) is a normal-flow block after the swatches; see howe.css */
.fx-on .mv-gg .gg-card .pc-buy{display:inline-flex;}
.fx-on .mv-gg .gg-card .pc-buy .hc-caret{display:block;}
.fx-on .product-tag.fx-feat,.fx-on .product-tag>.fx-feat{color:var(--ink);}
.fx-sortnote{font-family:var(--ff-body);font-size:13px;font-style:italic;color:var(--label);}

/* ===== card gallery (alternate views inside a shop card; howe-card-gallery.js) ===== */
.gg-fig[data-cg-fig]{position:relative;overflow:hidden;background:var(--parchment);}
.cg-vp{position:absolute;inset:0;z-index:2;display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;background:var(--parchment);cursor:pointer;}
.cg-vp::-webkit-scrollbar{display:none;}
.cg-slide{flex:0 0 100%;width:100%;height:100%;scroll-snap-align:start;scroll-snap-stop:always;display:flex;align-items:center;justify-content:center;}
.gg-fig[data-cg-fig] .cg-slide img{display:block;width:100%;height:100%;max-width:none;object-fit:contain;object-position:center;aspect-ratio:auto;transform:none !important;}
.gg-tile[data-cg="multi"] .pc-select{z-index:5;}
/* R27 Q3 (Guy, 5 Oct): desktop arrows are bare carets, no box, no infill. A faint radial vignette sits behind each so it reads
   on light and dark photographs without concealing product detail; it deepens a little on hover. The control for a direction
   that is not available (previous on the first image, next on the last) is not drawn at all. Hover only; phones swipe. */
.cg-btn{-webkit-appearance:none;appearance:none;position:absolute;top:50%;z-index:4;width:64px;height:88px;margin-top:-44px;padding:0;border:0;border-radius:0;background:radial-gradient(closest-side,rgba(43,42,40,.16),rgba(43,42,40,.07) 50%,rgba(43,42,40,0));color:var(--canvas);cursor:pointer;display:flex;align-items:center;justify-content:center;opacity:0;pointer-events:none;transition:opacity .15s;box-shadow:none;}
.cg-btn .hc-caret{width:9px;height:13px;display:block;fill:currentColor;filter:drop-shadow(0 0 1.5px rgba(43,42,40,.9)) drop-shadow(0 0 3px rgba(43,42,40,.35));} /* R28 (Guy): the caret carries its own legibility on pale grounds; the vignette behind it is now faint */
.cg-prev{left:0;}.cg-next{right:0;}
.cg-prev .hc-caret{transform:rotate(180deg);}
.cg-btn[aria-disabled="true"]{visibility:hidden;pointer-events:none;}
.cg-btn:focus-visible{opacity:1;pointer-events:auto;outline:2px solid var(--canvas);outline-offset:-10px;}
@media (hover:hover) and (min-width:821px){
  .gg-tile[data-cg="multi"] .gg-fig:hover .cg-btn{opacity:1;pointer-events:auto;}
  .gg-tile[data-cg="multi"] .cg-btn:not([aria-disabled="true"]):hover{background:radial-gradient(closest-side,rgba(43,42,40,.26),rgba(43,42,40,.12) 50%,rgba(43,42,40,0));}
  .gg-tile[data-cg="multi"] .cg-btn:not([aria-disabled="true"]):hover .hc-caret{animation:hc-caret-settle 260ms ease-out both;}
  .gg-tile[data-cg="multi"] .cg-prev:not([aria-disabled="true"]):hover .hc-caret{animation-name:hc-caret-settle-back;}
}
@keyframes hc-caret-settle-back{0%{transform:rotate(180deg) translateX(-3px);opacity:.45}70%{transform:rotate(180deg) translateX(2px);opacity:1}100%{transform:rotate(180deg) translateX(0);opacity:1}}
/* R49 (Q15): on phones the arrows are not drawn, but they remain in the accessibility tree (visually hidden, not display:none), so a
   screen-reader user can move between the photographs; the touch swipe is not the only route. A keyboard focus restores the control. */
@media (max-width:820px){
  .gg-tile[data-cg] .cg-btn{opacity:1;pointer-events:auto;width:1px;height:1px;margin:0;padding:0;overflow:hidden;clip-path:inset(50%);background:none;top:50%;}
  .gg-tile[data-cg] .cg-btn:focus-visible{width:64px;height:88px;margin-top:-44px;clip-path:none;background:radial-gradient(closest-side,rgba(43,42,40,.16),rgba(43,42,40,.07) 50%,rgba(43,42,40,0));}
}
/* R48 (Guy, 6 Oct, Q14): the swipe cue is an edge tab on the right edge of the PHOTOGRAPH, centred on its height (right/top are set by
   howe-card-gallery.js from the drawn image rectangle; the photo is contained in the canvas, so the canvas edge is not the photo edge).
   Square on the edge side, rounded on the inner side: it reads as "more continues this way", not as a caption. */
.cg-hint{position:absolute;right:0;top:50%;z-index:4;transform:translateY(-50%);display:inline-flex;align-items:center;gap:5px;height:30px;box-sizing:border-box;padding:0 10px 0 12px;border-radius:3px 0 0 3px;background:rgba(255,253,247,.96);font-family:var(--ff-body);font-size:13px;line-height:1;color:var(--ink);pointer-events:none;opacity:0;transition:opacity .3s;}
.cg-hint-t{display:block;line-height:1;transform:translateY(1px);} /* optical: the word is read by its cap band (S to baseline), not its descender; this puts that band on the tab's centre line */
.cg-hint.is-on{opacity:1;}
.cg-hint-a{display:block;width:5.07px;height:7.25px;fill:currentColor;flex:none;transform:translateY(1.75px);} /* R48: caret spans the x-height of the word exactly (top of the e to the baseline), tuned against the rendered ink at 4x */
@media (prefers-reduced-motion:reduce){.cg-btn,.cg-hint{transition:none;}}

/* ===== listing page glue ===== */
.fx-top{padding-top:0;}
.mv-vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;}
.mv-gridwrap{margin-top:28px;}
.mv-gallery{padding:0 var(--gutter);}
.mv-gallery[hidden]{display:none;}
.mv-empty{padding:clamp(28px,5vw,64px) var(--gutter);display:flex;flex-direction:column;align-items:flex-start;gap:14px;}
.mv-empty[hidden]{display:none;}
.mv-empty p{margin:0;font-size:16px;}
.fx-on .plp-top{padding-bottom:0;}
@media (max-width:820px){
  .mv-gridwrap{margin-top:20px;}
}

/* ===== pagination (R25m): canonical .pager drawing, house caret arrows, 1px current-page line ===== */
.fx-pager{display:flex;flex-direction:column;align-items:center;gap:13px;padding:clamp(28px,4vw,48px) var(--gutter) 0;text-align:center;}
.fx-pager[hidden]{display:none;}
.fx-pager .pager-num.is-current{border-bottom:1px solid transparent;}   /* R90b: line drawn under the number only (howe.css .pager-n); border kept transparent so the number does not move */
.fx-pager .pager-arrow{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;border-radius:0;background:transparent;color:var(--ink);} /* R25n (Guy): no keylines, the caret alone */
.fx-pager .pager-arrow .hc-caret{width:7px;height:10px;display:block;fill:currentColor;}
.fx-pager .pager-prev{transform:rotate(180deg);} /* the control is mirrored, so the CTA settle runs the same way for both */
.fx-pager .pager-arrow.is-off{color:var(--border);}
/* R25n (Guy): the pager arrows take the CTA caret motion (hc-caret-settle, howe-ui.css): a small settle on hover and keyboard focus */
@media (hover:hover) and (pointer:fine){
  .fx-pager .pager-arrow:hover:not(.is-off) .hc-caret,.fx-pager .pager-arrow:focus-visible .hc-caret{animation:hc-caret-settle 260ms ease-out both;}
}
@media (prefers-reduced-motion:reduce){.fx-pager .pager-arrow .hc-caret{animation:none!important;}}
.fx-pager .pager-viewall{text-decoration-thickness:1px;}
/* the unbuilt-page flag sits under the pager, centred */
.fx-pager .pager{position:relative;flex-wrap:wrap;justify-content:center;}
.fx-pager .pager:has(.howe-unbuilt-flag)::after{content:"";flex:0 0 100%;order:98;height:0;}
.fx-pager .howe-unbuilt-flag{order:99;flex:0 0 auto;margin:8px 0 0;}
@media (max-width:600px){
  .fx-pager .pager-num:not(.is-current),.fx-pager .pager-gap{display:none;}
  .fx-pager .pager{gap:14px;}
}

/* R91: moved to howe-gallery.css (the card's own stylesheet) */
/* R29b (Guy): on 2-up phone listings the tag line stays on one line (FEATURED chip + NEW ARRIVAL); type steps down with the card width.
   DECLARED EXCEPTION (C2, Guy 14 Oct): the only card text below the 12px floor, on two-up phone listings only, so FEATURED stays visible. */
@media (max-width:820px){
  .gg.fx-two .product-tag{white-space:nowrap;font-size:clamp(9.5px,2.8vw,11px)!important;letter-spacing:.09em;}
  .gg.fx-two .product-tag .pc-feat{padding:2px 4px 1px;margin-right:5px;}
  .gg.fx-two .product-tag{letter-spacing:.07em;}
  /* R30 QA: "FEATURED MADE BY HOWE" was 3px over the card at 360 */
  /* R39 (Codex review, 6 Oct): the collection never yields. howe-gallery.js fitTags() drops NEW ARRIVAL, then the FEATURED chip, when the line overflows. */
  .product-tag.tag-drop-new .pc-t1,.product-tag.tag-drop-new .pc-sep{display:none;}
  .product-tag.tag-drop-feat .pc-feat{display:none;}
}

/* R73 (Guy, 8 Oct): Antiques / Made by HOWE as two tick boxes in the desktop bar, no heading */
.fx-inline{display:inline-flex;align-items:center;gap:20px;margin:0 22px 0 4px;}
.fx-opt--inline{min-height:44px;font-size:15px;gap:8px;white-space:nowrap;}
/* R73f (Guy, 8 Oct): one filter system */
.fx-seg{margin-right:18px;}
.fx-sheet .fx-grp--toggle{padding:6px 0;border-bottom:1px solid var(--hairline);}
.fx-sheet .fx-grp--toggle .fx-fs{border-bottom:0;padding:0;}
.fx-panel--all .fx-fs-h{margin-top:0;}
/* R73f (Guy, 8 Oct): the choice is repeated beside a group heading only while the group is folded, as a reminder; when open, the ticked option says it */
.fx-grp-b[aria-expanded="true"] .fx-grp-s{visibility:hidden;}
/* R73f: on phones the Antique / Made by HOWE choice leads the drawer, always open, no heading (as on desktop); Filters and Sort span the bar */
.fx-sheet .fx-grp--lead{padding:8px 0 10px;border-bottom:1px solid var(--hairline);}
.fx-sheet .fx-grp--lead .fx-fs{border-bottom:0;padding:0;}
@media (max-width:820px){
  .fx-bar--noav .fx-tools{margin-left:0;width:100%;justify-content:space-between;}
}
.fx-help{margin:40px var(--gutter) 8px;font-family:var(--ff-body);font-size:15px;color:var(--label);}
.fx-help a{color:var(--ink);}
.fx-help .fx-help-a{color:var(--ink);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px;}
/* R73h (Guy, 8 Oct; Soho Home as the reference): phones show one quiet line, no boxes. "Filters (17 pieces)" left, the current order right
   ("Newest first" with the house caret). One hairline above, none below; the separate count line is not shown on phones (it stays for screen readers). */
@media (max-width:820px){
  .fx-bar.fx-bar--noav{border-bottom:0;margin-top:6px;}
  .fx-bar--noav .fx-tools{display:flex;align-items:center;justify-content:space-between;width:100%;margin:0;gap:12px;}
  .fx-bar--noav .fx-tools .fx-trig{min-height:48px;padding:0;border:0;font-size:16px;font-weight:500;color:var(--ink);}
  .fx-bar--noav .fx-tools .fx-trig::after{display:none;}
  .fx-bar--noav .fx-tools .fx-trig .fx-caret{display:none;}
  .fx-pc{font-weight:400;color:var(--label);margin-left:2px;}
  .fx-pc--solo{font-size:15px;}
  .fx-sortsel{position:relative;display:inline-flex;align-items:center;min-height:48px;}
  .fx-sortsel select{-webkit-appearance:none;appearance:none;border:0;border-radius:0;background:transparent;box-shadow:none;margin:0;padding:10px 20px 10px 6px;font-family:var(--ff-body);font-size:16px;color:var(--ink);text-align:right;text-align-last:right;cursor:pointer;}
  .fx-sortsel select{-webkit-tap-highlight-color:transparent;}
  .fx-sortsel select:focus,.fx-sortsel select:focus-visible{outline:none;}
  /* R73j (Guy): no black box round Sort after a tap */
  html:not([data-input="pointer"]) .fx-sortsel:has(select:focus-visible)::before{content:"";position:absolute;left:6px;right:0;bottom:10px;height:1px;background:var(--ink);pointer-events:none;}
  /* keyboard focus: the house 1px ink line under the control */
  .fx-sortsel::after{content:"";position:absolute;right:2px;top:50%;margin-top:-2px;width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:5px solid var(--ink);pointer-events:none;}
}
/* R73h, R82b site-wide: with nothing to show (no applied filter, no demo flag, no sort note) the results row takes no room; the count is in the bar */
.fx-chips:not(:has(.fx-chip, .howe-unbuilt-flag, .fx-sortnote)){margin:0;padding:0;min-height:0;height:0;overflow:hidden;}
@media (max-width:360px){
  .fx-bar--noav .fx-tools{gap:6px;}
  .fx-bar--noav .fx-tools .fx-trig,.fx-sortsel select{font-size:15px;}
  .fx-sortsel select{padding:10px 16px 10px 0;}
  html:not([data-input="pointer"]) .fx-sortsel:has(select:focus-visible)::before{left:0;}
}
/* R73i (Guy, 8 Oct; Soho Home's drawer as the reference): the drawer is titled for the page, its two yes/no choices are switches at the top,
   every choice carries a quiet count, and "Show N pieces" spans the foot */
.fx-oc{margin-left:8px;font-size:14.5px;line-height:20px;color:var(--label);font-variant-numeric:tabular-nums;}   /* R92g: one count style, no brackets */
@media (max-width:820px){
  
}
@media (prefers-reduced-motion:reduce){ .fx-sheet .fx-grp--toggle .fx-opt input,.fx-sheet .fx-grp--toggle .fx-opt input::before{transition:none;} }

/* R74 C5: an option that would show nothing reads as unavailable (muted, no pointer) but keeps its count */
.fx-opt.fx-opt--none{color:var(--label);opacity:.55;cursor:default;}
.fx-opt.fx-opt--none input{cursor:default;}

/* R77: the two Availability tick boxes sit in the bar as siblings of the others (same spacing); grouped for assistive technology */
.fx-tgroup{display:contents;}
/* R77: the Availability pair reads as one group in the phone drawer, set apart from "Can be bought online" */
@media (max-width:820px){
  
}

/* R82 (Guy, 12 Oct): one bar and one drawer at every width. The drawer rules above were written for phones (R73h, R73i) and now serve
   laptops too, as a side drawer; the bar is the phone bar: split left, Filters (count) and Sort right. */
/* bottom sheets */
  .fx-panel.fx-sheet{position:fixed;left:0;right:0;bottom:0;top:auto;z-index:1001;width:auto;max-width:none;max-height:80vh;overflow:auto;padding:0 var(--gutter) calc(14px + env(safe-area-inset-bottom));box-shadow:0 -12px 32px rgba(43,42,40,.12);}
.fx-sheet .fx-panel-head{display:flex;align-items:center;justify-content:space-between;margin-right:calc(-1 * var(--gutter) + 4px);}
.fx-panel-t{font-family:var(--ff-serif);font-size:22px;color:var(--ink);}
.fx-sheet .fx-fs{padding:4px 0 10px;border-bottom:1px solid var(--hairline);}
.fx-sheet .fx-opt{min-height:44px;font-size:16px;}
.fx-sheet .fx-foot{position:sticky;bottom:0;background:var(--near-white);border-top:0;}
.fx-sheet .fx-fs{padding:14px 0 2px;}
.fx-sheet .fx-fs-h{float:left;width:100%;margin:0;line-height:12px;font-size:12px;}
.fx-sheet .fx-fs-h+.fx-opt{clear:both;}
.fx-sheet .fx-opt{min-height:44px;line-height:20px;}
.fx-sheet .fx-panel-head{border-bottom:1px solid var(--hairline);}
.fx-panel.fx-sheet{display:flex;flex-direction:column;overflow:hidden;padding:0;max-height:calc(100% - 40px);}
.fx-panel.fx-sheet[hidden]{display:none;}
.fx-panel.fx-sheet.fx-sheet--full{top:0;bottom:0;max-height:none;box-shadow:none;}
.fx-sheet .fx-panel-head{flex:none;margin:0;padding:env(safe-area-inset-top,0px) 2px 0 var(--gutter);min-height:52px;}
.fx-sheet .fx-panel-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:0 var(--gutter) 8px;scroll-padding-block:12px;}
.fx-sheet .fx-foot{flex:none;position:static;margin:0;padding:10px var(--gutter) calc(10px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--hairline);background:var(--near-white);}
#fxP-sort.fx-sheet .fx-panel-body{padding-bottom:calc(8px + env(safe-area-inset-bottom,0px));}
/* disclosure groups (long sheets only) */
  .fx-grp{border-bottom:1px solid var(--hairline);}
.fx-grp-h{margin:0;font:inherit;}
.fx-grp-b{-webkit-tap-highlight-color:transparent;-webkit-appearance:none;appearance:none;display:flex;align-items:center;gap:12px;width:100%;min-height:52px;padding:0;border:0;background:transparent;color:var(--ink);text-align:left;cursor:pointer;}
.fx-grp-b:focus-visible{outline:2px solid var(--ink);outline-offset:-2px;}
.fx-grp-b.howe-tbc{cursor:default;}   /* R82c: a planned group is not a control (the site's To follow rule, howe-ui.css) */
.fx-grp-l{flex:none;font-family:var(--ff-display);font-weight:600;text-transform:uppercase;letter-spacing:.14em;font-size:12px;line-height:12px;color:var(--ink);}   /* R92g: 12px ink (was 10.5px grey) */
.fx-grp-s{flex:1 1 auto;min-width:0;font-family:var(--ff-body);font-size:14.5px;color:var(--ink);text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
/* R92b (module pack U9, Guy 14 Oct): a filter group opens with the one open/close indicator (.ic-pm, howe.css), in the drawer's ink; the turning arrow is retired */
.fx-grp-c[hidden]{display:none;}
.fx-sheet .fx-grp .fx-fs{padding:0 0 6px;border:0;}
.fx-sheet .fx-grp--toggle{padding:4px 0;border-bottom:0;}
.fx-sheet .fx-grp--toggle + .fx-grp--lead{border-top:1px solid var(--hairline);margin-top:8px;}
.fx-sheet .fx-grp--toggle .fx-opt{gap:12px;min-height:44px;font-size:16px;}
.fx-sheet .fx-grp--toggle .fx-opt input{-webkit-appearance:none;appearance:none;position:relative;flex:none;width:46px;height:26px;margin:0;border:1px solid var(--ink);border-radius:13px;background:transparent;cursor:pointer;transition:background .2s;}
.fx-sheet .fx-grp--toggle .fx-opt input::before{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:var(--ink);transition:transform .2s;}
.fx-sheet .fx-grp--toggle .fx-opt input:checked{background:var(--ink);}
.fx-sheet .fx-grp--toggle .fx-opt input:checked::before{transform:translateX(20px);background:var(--near-white);}
.fx-sheet .fx-grp--toggle .fx-opt input:focus-visible{outline:2px solid var(--ink);outline-offset:3px;}
.fx-sheet .fx-foot{gap:18px;}
.fx-sheet .fx-foot .fbtn{flex:1 1 auto;justify-content:center;min-height:52px;}
.fx-sheet .fx-grp--toggle:has(.fx-fs--multi){padding:14px 0 10px;border-bottom:1px solid var(--hairline);margin-bottom:6px;}
.fx-sheet .fx-fs--multi .fx-fs-h{margin-bottom:6px;}
.fx-bar--one{flex-wrap:wrap;justify-content:space-between;gap:0 24px;}
.fx-bar--one .fx-named{min-width:0;}
.fx-bar--one .fx-tools{display:flex;align-items:center;gap:28px;margin-left:auto;}
.fx-bar--one .fx-pc{color:var(--label);}
.fx-note{margin:18px var(--gutter) 0;color:var(--body);}
.fx-note[hidden]{display:none;}
.fx-note .cta-inline{margin-left:6px;}
@media (min-width:821px){
  .fx-panel.fx-sheet.fx-sheet--full{top:0;bottom:0;left:auto;right:0;width:440px;max-width:90vw;box-shadow:0 0 40px rgba(43,42,40,.18);}   /* R94 (L3, Hannah 22 Oct): opens on the right, beside the Filters button (was left) */
  .fx-bar--one .fx-tools{gap:28px;}
  .fx-bar--one .fx-tools .fx-caret{display:inline-block;}
}
@media (max-width:820px){.fx-bar--one .fx-tools{gap:6px;}}
.fx-types[hidden]{display:none;}

/* R92 (module pack U4): DECLARED EXCEPTION to the one editorial card title (.card-title, 24/19): this tile sits in a grid of product
   cards and keeps the product card's name and line sizes (20/16, 14.5), so the grid reads as one set (R82h). */
/* R82h (Guy, 13 Oct): the editorial tile in a shop grid (fxConf "tile"): the card's own type, without price, Save or availability.
   On two-column phones it runs across both columns. */
.gg-tile.card--ed{box-sizing:border-box;background:var(--parchment);padding:20px;}   /* the commission ground (as the materials commission band), wrapping picture and words */
.gg-tile.card--ed .gg-fig{margin:0;}
.gg-tile.card--ed .gg-fig img{width:100%;height:100%;object-fit:cover;}
.gg-tile.card--ed .gg-card{background:none;padding:18px 0 2px;margin:0;}
.gg-tile.card--ed .ed-line{margin:0;font-family:var(--ff-body);font-size:14.5px;line-height:1.55;color:var(--body);max-width:40ch;}
.gg-tile.card--ed .cta-inline{margin-top:14px;}
.gg-tile.card--ed .product-name{-webkit-line-clamp:unset;line-clamp:none;}
.gg.fx-two .gg-tile.card--ed{grid-column:1 / -1;display:block;padding:16px;}   /* across both columns on phones */
.gg.fx-two .gg-tile.card--ed{margin-bottom:12px;}   /* R84 (Guy, 13 Oct): the ground stops short of the cards below by the gallery's column gap (12px) */
.gg.fx-two .gg-tile.card--ed .gg-card{display:block;padding:16px 0 2px;}
.gg.fx-two .gg-tile.card--ed .gg-fig{aspect-ratio:4/3;margin:0;}   /* a 4:3 crop (not the cards' square canvas) */
.gg.fx-two .gg-tile.card--ed .gg-fig img{aspect-ratio:auto;}
.gg.fx-two .gg-tile.card--ed .product-name{font-size:var(--fs-cardname);}   /* the title keeps its card size, above the line */
/* R82t (Guy, 13 Oct): a collection listing filtered to one type (html.fx-typed, howe-listing.js) is a lower category: the site's
   lower-category header (breadcrumb, heading, rule) replaces the photograph introduction. */
html:not(.fx-typed) [data-fx-typed-only]{display:none !important;}
html.fx-typed [data-fx-untyped-only]{display:none !important;}   /* R92e: a category page opened on one of its sub-categories swaps its breadcrumb and heading */
[data-fx-type-parent][hidden]{display:none !important;}   /* R92e: the category step in a sub-category page's breadcrumb (Antiques > Antique Seating > Antique Benches) */
html.fx-typed .mv-intro{display:none !important;}
html.fx-typed .mv-intro ~ .cat-head[data-fx-typed-only]{margin-top:0;}   /* the hidden introduction leaves the header first, as in the HOWE Home view (howe-mbh.css) */
/* R82t (Guy, 13 Oct): one keyline between a listing page's header (photograph or heading) and its shop. The results bar keeps its top
   line only; a heading's own rule is dropped where the results bar follows it. Every listing page, L1 and L2. */
.fx-bar{border-bottom:0;}
.cat-head:has(~ .fx-top) .cat-rule{display:none;}
/* R82y (Guy, 13 Oct, after Soho Home): the Filters line marks the word "Filters" only, not the count beside it. Same line and timing as
   .fx-trig::after (1px ink, 2.5px under the text, fades in on hover and while the panel is open). */
.fx-trig[data-fxopen="filters"]::after{display:none;}
.fx-trig .fx-tl{position:relative;display:inline-flex;align-items:baseline;gap:7px;}   /* R90b: keeps the 7px between "Sort by:" and the order */
.fx-trig .fx-tl::after{content:"";position:absolute;left:0;right:0;bottom:-3.5px;height:1px;background:var(--ink);opacity:0;transition:opacity .15s;}
.fx-trig:hover .fx-tl::after,.fx-trig[aria-expanded="true"] .fx-tl::after{opacity:1;}
@media (max-width:820px){.fx-bar--noav .fx-tools .fx-trig .fx-tl::after{display:none;}}

/* R82z (Guy, 13 Oct): until the listing is drawn, the bar and the grid keep their place, so nothing below them shows and then drops */
#fxBar:empty{min-height:51px;}
@media (max-width:820px){#fxBar:empty{min-height:55px;}}
#fxGallery:empty:not([hidden]){min-height:100vh;}

/* R92g (Guy, 15 Oct; independent filter review): categories and sub-categories as links in two flat groups (howe-listing.js
   navGroupsHTML). Same 16px type as every drawer option (smaller would read worse); the current row semi-bold; the count after the
   name in the drawer's one count style (.fx-oc: 14.5px --label, no brackets); 44px rows; no indentation (one level per group). */
.fx-lnks{list-style:none;margin:0;padding:0 0 6px;}
.fx-lnk{display:flex;align-items:baseline;gap:8px;box-sizing:border-box;min-height:44px;padding:12px 0;font-family:var(--ff-body);font-size:16px;line-height:20px;font-weight:400;color:var(--ink);text-decoration:none;-webkit-tap-highlight-color:transparent;}
.fx-lnk[aria-current]{font-weight:600;}
.fx-lnk-c{font-size:14.5px;line-height:20px;font-weight:400;color:var(--label);font-variant-numeric:tabular-nums;}
.fx-lnk:focus-visible{outline:2px solid var(--ink);outline-offset:-2px;}
@media (hover:hover){ .fx-lnk:hover .fx-lnk-l{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px;} }

/* R94 (L1, Jane 23 Oct): the listing bar (Filters, Sort and the collection split) stays under the header while the listing scrolls.
   --fx-stick is the header's live bottom edge (howe-listing.js). z-index stays under the header (60 desktop, 25 phone) so menus,
   the phone drawer and the search cover it; the filter drawer and its scrim live on <body> and cover both. */
.fx-top{position:sticky;top:var(--fx-stick,0px);z-index:20;background:var(--canvas);}
.fx-mark{height:0;}
.fx-top.is-stuck{box-shadow:0 1px 0 var(--hairline);}   /* a hairline under the held bar, as under the header, so the cards pass under a rule, not a cut */

/* R97b (25 Nov): held under the header, the bar drops its own top line; the header's line directly above already divides them (the two
   sat on adjacent pixels and read as a double line). At rest the bar keeps its top line. */
.fx-top.is-stuck .fx-bar{border-top-color:transparent;}
