/* nn-cardx 2026-11-14 v1 (ux-fix1-cards, John 14 Nov 15:38 'We need to optimise'): the card is the decision point.
   1) whole card taps through: the card's ONE link (the 'Shop at X' button, same tracked retailer href, same target/rel) is stretched over the
      card with ::after (no nested anchors, no new link); the save star and colour swatches sit above it as their own tap targets.
   2) one key-fact line (from the shop's feed/title only) or the shop's own published rating, height reserved on every card.
   3) colour swatches for merged colour variants (overlay at the foot of the image, so card heights do not change). Loaded after nn-card-home. */
html body article.sf-card{position:relative!important}
html body article.sf-card a.sf-card-btn{position:static!important}
html body article.sf-card a.sf-card-btn::after{content:""!important;position:absolute!important;inset:0!important;z-index:1!important;display:block!important;background:none!important;border:0!important;width:auto!important;height:auto!important;transform:none!important;opacity:1!important;margin:0!important;padding:0!important;box-shadow:none!important}
html body article.sf-card a.sf-card-btn:focus-visible{outline:2px solid #5a1f47!important;outline-offset:2px!important}
html body article.sf-card:has(a.sf-card-btn:focus-visible){box-shadow:0 0 0 2px #5a1f47!important;border-radius:6px}
html body article.sf-card>button.nn-star{z-index:3!important}
html body article.sf-card{cursor:pointer}
/* fact line: always one line, same height on every card (cards without the line reserve the same space under the name) */
html body article.sf-card .sf-card-body>p.sf-card-fact.sf-card-fact.sf-card-fact.sf-card-fact.sf-card-fact.sf-card-fact.sf-card-fact.sf-card-fact{display:block!important;order:2!important;margin:0 0 4px!important;padding:0!important;font:500 .72rem/1.4 "NN Manrope",Manrope,system-ui,sans-serif!important;height:calc(.72rem * 1.4)!important;min-height:0!important;color:#5c5348!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;letter-spacing:normal!important;text-transform:none!important}
/* reserved only where cards get the line: catalogue v2 pages, the homepage card rows, site search */
html body .sf-root:has(.nncv2) article.sf-card .sf-card-body:not(:has(>p.sf-card-fact))>.sf-card-name.sf-card-name.sf-card-name.sf-card-name.sf-card-name.sf-card-name.sf-card-name,html body .sf-root.sf-home article.sf-card .sf-card-body:not(:has(>p.sf-card-fact))>.sf-card-name.sf-card-name.sf-card-name.sf-card-name.sf-card-name.sf-card-name.sf-card-name,html body article.sf-card.nns-card .sf-card-body:not(:has(>p.sf-card-fact))>.sf-card-name.sf-card-name.sf-card-name.sf-card-name.sf-card-name.sf-card-name.sf-card-name{margin-bottom:calc(8px + .72rem * 1.4)!important}
/* the shop's own rating (few cards) may take 2 short lines on phones so the review count is never cut off */
html body article.sf-card .sf-card-body>p.sf-card-fact.is-rt.is-rt.is-rt.is-rt.is-rt.is-rt.is-rt.is-rt.is-rt{color:#3d2b1f!important;white-space:normal!important;height:auto!important;max-height:calc(.72rem * 2.6)!important;line-height:1.3!important}
/* price label on merged colour cards: 'from £12 (Black)' */
html body article.sf-card .sf-card-price .sf-card-from{font-weight:500;font-size:.85em;color:#5c5348}
html body article.sf-card .sf-card-price .sf-card-vc{font-weight:500;font-size:.85em;color:#5c5348;white-space:nowrap}
/* colour swatches: overlay row at the foot of the (square) image area */
html body article.sf-card>.sf-card-sw{position:absolute!important;left:0!important;top:0!important;width:100%!important;aspect-ratio:1/1!important;display:flex!important;align-items:flex-end!important;justify-content:flex-start!important;gap:0!important;padding:0 4px 2px!important;margin:0!important;box-sizing:border-box!important;pointer-events:none!important;z-index:2!important;background:none!important;border:0!important}
html body article.sf-card>.sf-card-sw>button.sf-sw{pointer-events:auto!important;flex:0 0 auto!important;width:30px!important;height:30px!important;min-height:30px!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;display:flex!important;align-items:center!important;justify-content:center!important;cursor:pointer!important;box-shadow:none!important}
html body article.sf-card>.sf-card-sw>button.sf-sw::before{content:"";display:block;width:18px;height:18px;border-radius:50%;background:var(--sw,#ccc);box-shadow:0 0 0 1px rgba(0,0,0,.28),0 0 0 2px #fff,0 1px 3px 2px rgba(0,0,0,.18)}
html body article.sf-card>.sf-card-sw>button.sf-sw[aria-pressed=true]::before{box-shadow:0 0 0 2px #fff,0 0 0 4px #24191e}
html body article.sf-card>.sf-card-sw>button.sf-sw:focus-visible{outline:2px solid #5a1f47!important;outline-offset:-2px!important}
html body article.sf-card>.sf-card-sw>span.sf-sw-more{pointer-events:none;align-self:center;margin:0 0 0 2px;padding:1px 5px;border-radius:999px;background:rgba(255,255,255,.92);font:700 10.5px/1.4 "NN Manrope",Manrope,system-ui,sans-serif;color:#24191e;margin-bottom:6px}
