/* STORE_RATING_ON (storerate.py): Brandon's Edit batch 20261117-5ea689 option C, store ratings (Design 16:05Z e5.css, 17:41Z; Law 15:10Z). Linked only on a
   page with a row or tag of its own; 404 while off */
/* the store's rating: the maker line's muted star, never the product's stars; never broken mid-phrase (Design 17:41Z (7)) */
.sr-rate{font-size:12px;color:var(--muted);text-decoration:none;white-space:nowrap}
.sr-rate b,.pm-sl .sr-rate b,.cx-card .pm-sl .sr-rate b,.cx-list :not(.as-list)>.cx-card .pm-sl .sr-rate b{font-size:inherit;line-height:inherit;font-weight:650;color:var(--ink)}  /* not the store name's (.pm-sl b) */
.sr-star{display:inline-block;width:12px;height:12px;margin-right:3px;vertical-align:-1px;fill:var(--muted)}
a.sr-rate{position:relative;z-index:1}
@media (hover:hover) and (pointer:fine){a.sr-rate:hover{text-decoration:underline}}
a.sr-rate:focus-visible{outline:2px solid var(--green);outline-offset:2px;border-radius:2px}

/* the row: a <div> with the row's look; its yellow end is the store's link, stretched over the whole row, the rating's link above it. The row's hover
   (cat-v2.css, pv2.css: hover devices only) and press (.pm-srow:active) reach the <div> as they reached the <a>; keyboard focus on the store's link
   outlines the whole row, one tappable row (Design 17:41Z (1)) */
.sr-row{position:relative}
.cx-buy .sr-row{z-index:1}
.cx-buy .sr-row .sr-go,.sr-row .sr-go{position:static;z-index:auto;text-decoration:none}  /* a flex item keeps a z-index static: none, so the rating's link stays over it */
.sr-go::after{content:"";position:absolute;inset:0}
.sr-row .sr-go:focus-visible{outline:none}
.sr-row:has(.sr-go:focus-visible){outline:2px solid var(--green);outline-offset:2px}
@supports not selector(:has(a)){.sr-row .sr-go:focus-visible{outline:2px solid var(--green);outline-offset:-2px}}

/* 1. list card: the unit price as a second photo tag, bottom right: the kind tag mirrored in whichever look it has (Design 17:41Z (5)). Where it sits:
   the kind tag's left offset as its right (8px, 6px on narrow cards; flush with LIST_CHIP_EDGE_ON) */
.cx-ph .cx-tag.sr-utag{left:auto;right:8px;max-width:none;white-space:nowrap}
@container (max-width:230px){html:not(.g-list-chip) .cx-list :not(.as-list)>.cx-card .cx-ph .cx-tag.sr-utag{right:6px}}
/* the plain look (a sticker, cat-v2.css): its border, corners and padding are the same on both sides, so nothing to turn */
/* LIST_CHIP_EDGE_ON, live's look (cat-v2.css .g-list-chip): flush in the bottom-right corner, the 4px corner on its free top-left, padding 3px 8px,
   the line on its top and left, the kind tag's colour and width */
.g-list-chip .cx-ph .cx-tag.sr-utag{right:0;padding:3px 8px;border-radius:4px 0 0 0;border:1px solid var(--line);border-right:0;border-bottom:0}
/* KIND_TAB_ON (e817395.css .g-kind-tab): the tab's corner, padding and line (its ::before) turned to the left */
.g-kind-tab .cx-ph .cx-tag.sr-utag{border:0 solid var(--line);border-radius:6px 0 0 0;padding:4px 12px 4px 11px}
.g-kind-tab .cx-ph .cx-tag.sr-utag::before{border-right:0;border-left:1px solid var(--line);border-top-right-radius:0;border-top-left-radius:inherit}
.g-kind-tab .cx-list .as-list>.cx-card .cx-ph .cx-tag.sr-utag{border-width:1px 0 0 1px;padding:3px 12px 3px 10px}
.cx-list .as-list>.cx-card .cx-ph .cx-tag.sr-utag{display:block}
/* phones (cards two across): only the unit-price tag */
@media (max-width:480px){.cx-ph:has(.sr-utag) .cx-tag:not(.sr-utag){display:none}}

/* 2. Buying panel row, option C: the rating left, the seller's unit price right, under the store's name. Both share line two when they fit; when
   not, the unit price drops to its own line, right (Design 17:41Z (7)) */
.sr-cl{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:8px;margin-top:2px;font-size:12px;color:var(--muted)}
.sr-cu{flex:none;margin-left:auto;white-space:nowrap;color:var(--muted)}
.sr-cu .sr-un{font-size:13px;font-weight:600;color:var(--ink)}
.sr-cu .sr-uu{font-size:9px;font-weight:500;margin-left:1px}
