/* Category lists with CATEGORY_V2_ON (category_v2.py): Design's category-20261114 cat.css on the list's own markup. Tokens only; new shapes 6px at most.
   A, the photo grid: the results without .as-list. B, photo rows: .as-list (the Grid / List switch). Only inside .cx-list, a category list's layout. */

/* ---------- toolbar: one tidy block; on phones Filters and Sort sit side by side ---------- */
.cx-bar{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;grid-template-areas:"count . view sort" "quick quick quick quick";align-items:center;gap:12px;margin:0 0 16px}
.cx-filt{grid-area:filt;display:none}
.cx-count{grid-area:count;font-size:15px}
.cx-count strong{font-weight:700}
.cx-sort{grid-area:sort;min-width:0}
.cx-sort .sort-form{margin:0;display:block}
.cx-sort label{display:flex;align-items:center;gap:8px;margin:0}
.cx-sortl{font-size:14px;color:var(--muted);flex:none}
.cx-sort select{min-height:44px;font-size:16px;min-width:0;width:100%;max-width:260px;padding:0 32px 0 12px;border:1px solid var(--line);border-radius:6px;background-color:var(--surface);color:var(--ink)}
.cx-view{grid-area:view;display:flex;align-items:stretch;border:1px solid var(--line);border-radius:6px;overflow:hidden;background:var(--surface)}
.cx-view button,.cx-view a{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;min-width:44px;padding:0 12px;border:0;border-left:1px solid var(--line);background:var(--surface);color:var(--ink);font:inherit;font-size:14px;font-weight:600;text-decoration:none;cursor:pointer;box-sizing:border-box}
.cx-view>:first-child{border-left:0}
.cx-view svg{width:18px;height:18px;flex:none}
.cx-view button[aria-pressed=true],.cx-view a[aria-pressed=true]{background:var(--action-fill);color:var(--on-primary)}
.cx-view a.adv{font-weight:500;color:var(--muted)}
.cx-view a.adv[aria-current]{background:var(--action-fill);color:var(--on-primary)}
.cx-quick{grid-area:quick;display:flex;align-items:center;gap:8px;min-width:0;flex-wrap:wrap}
.cx-quick .score-sort{display:inline-flex;gap:0;flex:none}
.cx-quick .btn{min-height:40px;padding:0 12px;font-size:14px;border-radius:6px;white-space:nowrap;margin:0;flex:none}
.cx-quick .score-sort .btn:first-child{border-top-right-radius:0;border-bottom-right-radius:0}
.cx-quick .score-sort .score-edit{border-top-left-radius:0;border-bottom-left-radius:0;border-left:0;padding:0 10px}
.cx-quick .btn[aria-current]{border-color:var(--ink);font-weight:700}
.cx-quick .listed-toggle{margin-left:auto;min-height:40px;white-space:nowrap;flex:none}

/* ---------- the card (both views) ---------- */
.cx-list :is(#results,.product-grid){display:grid;gap:16px}
.cx-list :is(#results,.product-grid)>.cx-card{position:relative;container-type:inline-size;display:flex;flex-direction:column;grid-row:auto;grid-template-rows:none;row-gap:0;min-width:0;background:var(--surface);border:1px solid var(--line);border-radius:6px;overflow:hidden}
.cx-ph{position:relative;background:var(--image-surface);border-bottom:1px solid var(--line)}
.cx-phl{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}
.cx-phl picture{display:contents}
.cx-phl img{width:100%;height:100%;object-fit:contain;padding:10px;box-sizing:border-box;mix-blend-mode:var(--photo-blend)}
.cx-ph .no-photo{min-height:0;height:100%}
:where(html:not(.g-list-chip)) .cx-tag{position:absolute;left:8px;bottom:8px;max-width:calc(100% - 16px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600;line-height:1.3;padding:3px 7px;border-radius:4px;background:var(--surface);color:var(--muted);border:1px solid var(--line);pointer-events:none;box-sizing:border-box}
:where(html:not(.g-list-save-row)) .cx-save{position:absolute;top:0;right:0;width:44px;height:44px;display:grid;place-items:center;background:transparent;border:0;color:var(--image-control-ink);cursor:pointer;padding:0}
:where(html:not(.g-list-save-row)) .cx-save svg{width:20px;height:20px;padding:6px;box-sizing:content-box;background:var(--image-surface);border:1px solid var(--image-control-line);border-radius:6px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round}
:where(html:not(.g-list-save-row)) .cx-save[aria-pressed=true] svg{fill:currentColor}
:where(html:not(.g-list-save-row)) .cx-save:focus-visible{outline:2px solid var(--green);outline-offset:-2px}
/* LIST_CHIP_EDGE_ON: Brandon's Edit batch 20261115-2ca35f #2, as Design has it (00:25Z): the kind chip a label on the photo's edge, not a sticker:
   flush in its bottom-left corner, no edge where it meets the frame, the 4px corner only on its free top-right, the surface under muted words at 95%
   (Design's "about 92%": at 92% the light look's muted words read 4.33:1 over a black photo; 95% keeps 4.5:1) */
:where(.g-list-chip) .cx-tag{position:absolute;left:0;bottom:0;max-width:calc(100% - 16px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600;line-height:1.3;padding:3px 8px;border-radius:0 4px 0 0;background:color-mix(in srgb,var(--surface) 95%,transparent);color:var(--muted);border:1px solid var(--line);border-left:0;border-bottom:0;pointer-events:none;box-sizing:border-box}
.cx-b{display:flex;flex-direction:column;gap:10px;padding:12px 14px 6px;flex:1;min-width:0}
.cx-t{margin:0;font-size:16px;line-height:1.3;font-weight:700;overflow-wrap:anywhere}
.cx-t a{color:var(--ink);text-decoration:none}
.cx-t a::after{content:"";position:absolute;inset:0;z-index:0}
:where(html:not(.g-list-save-row)) .cx-meta a,:where(html:not(.g-list-save-row)) .cx-buy :is(a,label,.amazon-price-stamp){position:relative;z-index:1}
:where(html:not(.g-list-save-row)) .cx-phl,:where(html:not(.g-list-save-row)) .cx-save,:where(html:not(.g-list-save-row)) .cx-tag{z-index:1}
:where(.g-list-save-row) .cx-meta a,:where(.g-list-save-row) .cx-buy :is(a,label,button,.amazon-price-stamp){position:relative;z-index:1}
:where(.g-list-save-row) .cx-phl,:where(.g-list-save-row) .cx-tag{z-index:1}
.cx-meta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 12px;font-size:13px;color:var(--muted);min-width:0}
.cx-meta .loose-note{flex:0 0 100%;margin:0}
.cx-meta .tag{flex:none}
.cx-card .rating{margin:0;font-size:13px;color:var(--muted);min-width:0}
.cx-card .card-rating{display:inline-flex;align-items:center;flex-wrap:wrap;gap:2px 6px;min-height:24px;color:var(--muted);text-decoration:none}
.cx-card .card-rating>span:not(.rating-stars){color:var(--muted)}
.cx-card .evidence{display:inline-flex;align-items:center;flex-wrap:wrap;gap:0 5px;min-height:24px;font-size:13px;color:var(--muted);text-decoration:none;max-width:100%}
.cx-card .evidence svg{width:15px;height:15px;color:var(--green);flex:none}
.cx-card .evidence b{color:var(--ink);font-size:14px;font-weight:750}
.cx-card .card-rating::before,.cx-card .evidence::before{content:"";position:absolute;left:0;right:0;top:50%;height:44px;transform:translateY(-50%)}
.cx-figs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}
.cx-figs>div{min-width:0}
.cx-figs dt{font-size:12px;color:var(--muted);line-height:1.3}
.cx-figs dd{margin:0;font-size:15px;font-weight:700;line-height:1.3;color:var(--ink);overflow-wrap:anywhere}
.cx-figs dd.u{color:var(--muted);font-weight:500}
.cx-figs .unit-converted{font-weight:500}
/* the store part: the row (or the quiet box) full width, then Checked and Compare side by side; with LIST_SAVE_ROW_ON Checked under it, then one row
   with Compare at the left and Save at the right (2ca35f #3) */
:where(html:not(.g-list-save-row)) .cx-buy{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:8px;margin-top:auto;padding-top:2px;min-width:0}
:where(.g-list-save-row) .cx-buy{display:grid;grid-template-columns:minmax(0,1fr);align-items:center;column-gap:8px;margin-top:auto;padding-top:2px;min-width:0}
.cx-buy .price-sub{display:contents}
.cx-buy :is(.pm-srow,.cx-none,.amazon-price-stamp,.sort-reading){grid-column:1/-1}
.cx-buy .pm-checked{grid-column:1;margin:0;font-size:12px;line-height:1.35;color:var(--muted);min-width:0}
:where(html:not(.g-list-save-row)) .cx-buy .cx-cmp{grid-column:2}
/* a card too narrow for both on one line (two across on phones) keeps Compare at the left and takes Save to the right on the line below */
:where(.g-list-save-row) .cx-act{grid-column:1/-1;display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:4px;min-width:0}
/* Design 01:22Z: one row on every card; the row tightened so Compare and Save fit two-across cards (about 76 + 62 in 152px) */
:where(.g-list-save-row) .cx-act .cx-cmp{gap:6px}
:where(.g-list-save-row) .cx-sv{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:44px;min-width:44px;margin:0 0 0 auto;padding:0 4px;border:0;border-radius:6px;background:transparent;color:var(--ink);font:inherit;font-size:14px;font-weight:600;line-height:1.2;cursor:pointer;touch-action:manipulation;white-space:nowrap}
:where(.g-list-save-row) .cx-sv svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round}
:where(.g-list-save-row) .cx-sv[aria-pressed=true] svg{fill:currentColor}
:where(.g-list-save-row) .cx-sv:focus-visible{outline:2px solid var(--green);outline-offset:-2px}
.cx-buy .amazon-price-stamp{display:block;margin:4px 0 0;font-size:12px;line-height:1.35;color:var(--muted)}
.cx-buy .sort-reading{margin:0 0 6px;font-size:13px;color:var(--muted)}
/* the one-store row, option B (Brandon 9:55 AM PST): the white part names the store, the yellow end holds the price and the arrow */
.cx-card .pm-srow{display:flex;align-items:stretch;min-height:52px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--ink);text-decoration:none;overflow:hidden;touch-action:manipulation}
.cx-card .pm-sl{display:flex;flex-direction:column;justify-content:center;min-width:0;flex:1;padding:6px 10px}
.cx-card .pm-sl b{font-size:14px;font-weight:700;line-height:1.25;overflow-wrap:anywhere}
.cx-card .pm-sl small,.cx-card .pm-sl .unit-price{font-size:12px;font-weight:400;color:var(--muted);line-height:1.3}
.cx-card .pm-sgo{display:flex;align-items:center;justify-content:center;gap:2px;padding:0 6px 0 12px;background:var(--store-yellow);color:var(--on-store-yellow);border-left:1px solid var(--store-yellow-edge);white-space:nowrap;font-size:16px}
.cx-card .pm-sgo b{font-weight:800}
.cx-card .pm-chev{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.cx-card .pm-srow:active .pm-sgo{background:var(--store-yellow-hover)}
.cx-card .pm-srow:focus-visible{outline:2px solid var(--green);outline-offset:2px}
.cx-none{display:flex;flex-direction:column;justify-content:center;min-height:52px;box-sizing:border-box;padding:6px 10px;border-radius:6px;background:var(--surface-tint);font-size:13px;color:var(--muted);min-width:0}
.cx-none b{font-size:14px;color:var(--ink);font-weight:600}
.cx-none .unit-price{font-size:12px;font-weight:400;color:var(--muted)}
.cx-cmp{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:13px;color:var(--ink);cursor:pointer;white-space:nowrap;flex:none}
.cx-cmp input{width:18px;height:18px;margin:0;accent-color:var(--green)}
:where(html:not(.g-list-save-row)) .cx-buy:has(>.price-sub>.cx-none:only-child) .cx-none{grid-column:1}
/* LIST_SAVE_ROW_ON, Brandon's Edit batch 20261115-2ca35f #1: Price unavailable as wide as a priced card's store row, Compare on its own row under it */
:where(.g-list-save-row) .cx-buy:has(>.price-sub>.cx-none:only-child) .cx-none{grid-column:1/-1}
@media (hover:hover) and (pointer:fine){
  .cx-list .cx-card:hover{border-color:color-mix(in srgb,var(--ink) 30%,var(--line))}
  .cx-card:hover .cx-t a,.cx-card .card-rating:hover>span:last-child,.cx-card .evidence:hover{text-decoration:underline;text-underline-offset:3px}
  .cx-card .pm-srow:hover{border-color:var(--ink)}
  .cx-card .pm-srow:hover .pm-sgo{background:var(--store-yellow-hover)}
  .cx-quick .btn:hover,.cx-view a:hover{border-color:var(--green)}
  :where(html:not(.g-list-save-row)) .cx-save:hover svg{border-color:var(--green)}
  :where(.g-list-save-row) .cx-sv:hover{background:var(--surface-tint)}
}

/* ---------- A: photo grid ---------- */
.cx-list :is(#results,.product-grid):not(.as-list){grid-template-columns:repeat(3,minmax(0,1fr))}
.cx-list :is(#results,.product-grid):not(.as-list) .cx-ph{aspect-ratio:4/3}
.cx-tagline{display:none}
/* narrow cards (two across on phones): the store row stacks, the yellow end becomes its foot */
@container (max-width:230px){
  .cx-list :not(.as-list)>.cx-card .cx-b{padding:10px 10px 2px;gap:8px}
  .cx-list :not(.as-list)>.cx-card .cx-t{font-size:14px}
  .cx-list :not(.as-list)>.cx-card .cx-meta{flex-direction:column;flex-wrap:nowrap;align-items:flex-start;gap:2px}
  .cx-list :not(.as-list)>.cx-card .cx-figs{grid-template-columns:minmax(0,1fr);gap:4px}
  .cx-list :not(.as-list)>.cx-card .cx-figs dd{font-size:14px}
  .cx-list :not(.as-list)>.cx-card .pm-srow{flex-direction:column}
  .cx-list :not(.as-list)>.cx-card .pm-sl{padding:6px 8px}
  .cx-list :not(.as-list)>.cx-card .pm-sl b{font-size:13px}
  .cx-list :not(.as-list)>.cx-card .pm-sgo{border-left:0;border-top:1px solid var(--store-yellow-edge);min-height:40px;padding:0 4px 0 8px;justify-content:space-between;font-size:15px}
  .cx-list :not(.as-list)>.cx-card .cx-buy{grid-template-columns:minmax(0,1fr)}
  .cx-list :not(.as-list)>.cx-card .cx-buy>*,.cx-list :not(.as-list)>.cx-card .cx-buy .price-sub>*{grid-column:1}
  .cx-list :not(.as-list)>.cx-card .pm-checked{padding-top:4px}
  :where(html:not(.g-list-chip)) .cx-list :not(.as-list)>.cx-card .cx-tag{font-size:11px;left:6px;bottom:6px}
  :where(.g-list-chip) .cx-list :not(.as-list)>.cx-card .cx-tag{font-size:11px}
}
@container (max-width:230px){.cx-list :not(.as-list)>.cx-card .cx-ph{aspect-ratio:1/1}}
@container (max-width:170px){
  :where(.g-list-save-row) .cx-list :not(.as-list)>.cx-card .cx-sv{flex:none}
  .cx-list :not(.as-list)>.cx-card .card-rating{gap:2px 6px}
  .cx-list :not(.as-list)>.cx-card .evidence{white-space:normal}
  .cx-list :not(.as-list)>.cx-card .cx-tag{white-space:normal;text-overflow:clip;line-height:1.25}
  .cx-list :not(.as-list)>.cx-card .cx-b{padding:10px 8px 2px}
  .cx-list :not(.as-list)>.cx-card .pm-sgo{font-size:14px}
}

/* ---------- B: photo rows ---------- */
.cx-list :is(#results,.product-grid).as-list{grid-template-columns:minmax(0,1fr);gap:12px}
.cx-list :is(#results,.product-grid).as-list>.cx-card{display:grid;grid-template-columns:200px minmax(0,1fr) 300px;grid-template-rows:auto auto 1fr;grid-template-areas:"ph t buy" "ph meta buy" "ph figs buy"}
.cx-list .as-list>.cx-card .cx-ph{grid-area:ph;border-bottom:0;border-right:1px solid var(--line);min-height:180px}
.cx-list .as-list>.cx-card .cx-b{display:contents}
.cx-list .as-list>.cx-card .cx-t{grid-area:t;padding:16px 16px 0;font-size:17px}
.cx-list .as-list>.cx-card .cx-meta{grid-area:meta;padding:6px 16px 0;justify-content:flex-start}
.cx-list .as-list>.cx-card .cx-figs{grid-area:figs;padding:12px 16px 16px;align-content:start;grid-template-columns:repeat(2,minmax(0,180px))}
.cx-list .as-list>.cx-card .cx-buy{grid-area:buy;align-content:center;padding:16px 16px 8px;border-left:1px solid var(--line);margin:0}
@media (max-width:1100px) and (min-width:761px){.cx-list :is(#results,.product-grid).as-list>.cx-card{grid-template-columns:160px minmax(0,1fr) 250px}}

/* ---------- widths ---------- */
@media (max-width:1100px){.cx-list :is(#results,.product-grid):not(.as-list){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){
  .cx-bar{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"filt sort" "count view" "quick quick";gap:10px 8px}
  .cx-filt{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--ink);font:inherit;font-size:15px;font-weight:600;cursor:pointer;text-decoration:none;box-sizing:border-box}
  .cx-filt svg{width:18px;height:18px}
  .cx-sortl{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .cx-sort select{max-width:none;font-weight:600}
  .cx-view{justify-self:end}
  .cx-view :is(button,a[data-view]) span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .cx-view button,.cx-view a{padding:0 10px;font-size:13px}
  .cx-quick{flex-wrap:nowrap;margin:0 -16px;padding:0 16px 2px;overflow-x:auto;scrollbar-width:none;overscroll-behavior-x:contain;-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 28px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 28px),transparent)}
  .cx-quick::-webkit-scrollbar{display:none}
  .cx-quick .listed-toggle{margin-left:0}
  .cx-quick .btn,.cx-quick .listed-toggle{min-height:44px}
  .cx-list :is(#results,.product-grid):not(.as-list){grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .cx-list :is(#results,.product-grid).as-list{gap:10px}
  .cx-list :is(#results,.product-grid).as-list>.cx-card{grid-template-columns:112px minmax(0,1fr);grid-template-rows:auto auto auto auto;grid-template-areas:"ph t" "ph meta" "ph figs" "buy buy"}
  .cx-list .as-list>.cx-card .cx-ph{min-height:0;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
  .cx-list .as-list>.cx-card .cx-tag{display:none}
  .cx-list .as-list>.cx-card .cx-tagline{display:block;font-size:12px;color:var(--muted);line-height:1.3}
  .cx-list .as-list>.cx-card .cx-t{padding:10px 12px 0;font-size:15px}
  .cx-list .as-list>.cx-card .cx-meta{padding:4px 12px 0;flex-direction:column;flex-wrap:nowrap;align-items:flex-start;gap:0}
  .cx-list .as-list>.cx-card .cx-figs{padding:6px 12px 10px;grid-template-columns:repeat(2,minmax(0,1fr))}
  .cx-list .as-list>.cx-card .cx-figs dd{font-size:14px}
  .cx-list .as-list>.cx-card .cx-buy{border-left:0;padding:10px 12px 0}
  .cx-list .as-list>.cx-card .cx-buy:has(>.price-sub>.cx-none:only-child){padding-bottom:0}
}
@media (max-width:359px){
  .cx-list :is(#results,.product-grid).as-list>.cx-card{grid-template-columns:92px minmax(0,1fr)}
  .cx-list .as-list>.cx-card .cx-figs{grid-template-columns:minmax(0,1fr);gap:4px}
}

/* ---------- the filter panel: a sheet from below on phones (Filters, or the address #filters without script) ---------- */
.cx-shead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.cx-shead h2{margin:0;font-size:18px}
.cx-close{display:none}
@media (max-width:760px){
  html.cx-sheet-open{overflow:hidden}
  :is(html.cx-sheet-open .cx-list .filters,.cx-list .filters:target){display:block;position:fixed;left:0;right:0;bottom:0;top:72px;height:auto;max-height:none;box-sizing:border-box;width:auto;z-index:60;overflow-y:auto;overscroll-behavior:contain;border-radius:6px 6px 0 0;box-shadow:0 -8px 32px rgba(0,0,0,.25);padding:16px;margin:0;align-self:stretch;transition:none}
  :is(html.cx-sheet-open main,main:has(.cx-list .filters:target))::before{content:"";position:fixed;inset:0;background:rgba(10,20,22,.45);z-index:55}
  :is(html.cx-sheet-open .cx-list .filters,.cx-list .filters:target) .cx-shead{position:sticky;top:-16px;z-index:2;display:flex;align-items:center;justify-content:space-between;width:auto;height:auto;overflow:visible;clip:auto;white-space:normal;background:var(--surface);border-bottom:1px solid var(--line);margin:-16px -16px 12px;padding:4px 4px 4px 16px}
  :is(html.cx-sheet-open .cx-list .filters,.cx-list .filters:target) .cx-close{width:44px;height:44px;display:grid;place-items:center;color:var(--ink)}
  .cx-close svg{width:22px;height:22px}
  :is(html.cx-sheet-open .cx-list .filters,.cx-list .filters:target) .ux-filter-title{display:none}
  :is(html.cx-sheet-open .cx-list .filters,.cx-list .filters:target) .cx-fact{position:sticky;bottom:-16px;display:flex;align-items:center;gap:16px;margin:12px -16px -16px;padding:12px 16px;background:var(--surface);border-top:1px solid var(--line);z-index:2}
  :is(html.cx-sheet-open .cx-list .filters,.cx-list .filters:target) .cx-fact .btn{flex:1;min-height:48px;font-size:16px;margin:0}
  :is(html.cx-sheet-open .cx-list .filters,.cx-list .filters:target) .cx-fact .text-link{display:inline-flex;align-items:center;min-height:44px}
  .cx-list .filters :is(input,select){font-size:16px}
  .cx-list .filters :is(select,input[type=number]),.cx-list .filters .ux-mode button{min-height:44px}
}
@media (pointer:coarse){
  .cx-list .filters .ux-mode button,.cx-list .filters :is(select,input[type=number]){min-height:44px}
  .cx-list .filters :is(select,input){font-size:16px}
  .cx-quick .btn,.cx-quick .listed-toggle{min-height:44px}
  .cx-list .filters .text-link{display:inline-flex;align-items:center;min-height:44px}
  .nr-i{min-height:44px}
}
/* Design 01:22Z: a card under about 150px of content shows Save as its icon only: the same 44px target, the word kept for screen readers
   (the accessible name stays "Save {name}" or "Saved {name}"), a title tooltip */
@container (max-width:165px){:where(.g-list-save-row) .cx-list :not(.as-list)>.cx-card .cx-sv [data-save-label]{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;padding:0}}

/* ===== the first post-V2.1 fix head (Nov 16) ===== */
/* (2) the list view's row stacks while the LIST is under 620 px, whatever the sidebar takes (LE 15:44Z (a), 10q); the <=760 rule above stays as
   the fallback for browsers without container queries. The list is a named container, so the card's own container (the photo grid's) is untouched. */
.cx-list :is(#results,.product-grid).as-list{container:cxrows/inline-size}
@container cxrows (max-width:620px){
  .cx-list :is(#results,.product-grid).as-list>.cx-card{grid-template-columns:112px minmax(0,1fr);grid-template-rows:auto auto auto auto;grid-template-areas:"ph t" "ph meta" "ph figs" "buy buy"}
  .cx-list .as-list>.cx-card .cx-ph{min-height:0;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
  .cx-list .as-list>.cx-card .cx-tag{display:none}
  .cx-list .as-list>.cx-card .cx-tagline{display:block;font-size:12px;color:var(--muted);line-height:1.3}
  .cx-list .as-list>.cx-card .cx-t{padding:10px 12px 0;font-size:15px}
  .cx-list .as-list>.cx-card .cx-meta{padding:4px 12px 0;flex-direction:column;flex-wrap:nowrap;align-items:flex-start;gap:0}
  .cx-list .as-list>.cx-card .cx-figs{padding:6px 12px 10px;grid-template-columns:repeat(2,minmax(0,1fr))}
  .cx-list .as-list>.cx-card .cx-figs dd{font-size:14px}
  .cx-list .as-list>.cx-card .cx-buy{border-left:0;padding:10px 12px 0}
  .cx-list .as-list>.cx-card .cx-buy:has(>.price-sub>.cx-none:only-child){padding-bottom:0}
}
