/* Dark catalogue cards, direction C "Lightbox" (owner, 28 Nov 2026: "I LIKE THIS ONE"; C4 a5f0e0c7, sheet 50b32d056):
   the vial sits on a soft light stage, as in light mode, above a dark body, so the baked stills read as bright as by
   day. Dark theme only: light mode is unchanged. ".product-grid" is C4's :is(--shop, --more, --featured, --compact): every
   grid carries one of the four, and the specificity is the same (one class), in a third of the bytes.
   DSN-13 (owner, 2 Dec 2026): the product page's stage (Render and Studio view, .vial-media__stack) and its thumbnails take
   the same Lightbox; :where() keeps them at (0,2,0), above catalog.css's dark stage and vial-media.css's thumbnail panel
   (0,1,0), below the COA view's plain stage (0,3,0). */
:root[data-theme="dark"] .product-grid .product-card { background: #15141b; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
:root[data-theme="dark"] .product-grid .product-card__media, :root[data-theme="dark"] :where(.vial-media__stack, .vial-media__thumb) { background-color: #e4e2eb; background-image: radial-gradient(30% 5% at 50% 87%, rgba(40,30,70,.22), transparent), radial-gradient(46% 44% at 50% 50%, rgba(140,105,210,.22), rgba(140,105,210,0) 72%), linear-gradient(180deg, #efeef4 0%, #d9d6e3 100%); }
:root[data-theme="dark"] .product-grid .product-card__media .usa-chip, :root[data-theme="dark"] .product-grid .product-card .usa-chip { background: #ffffff; color: #15141b; }
:root[data-theme="dark"] .product-grid .product-card__title { color: #ffffff; }
:root[data-theme="dark"] .product-grid .product-card__spec { color: #c4c1d1; }
:root[data-theme="dark"] .product-grid .product-card__buy .price__current { color: #ffffff; }
:root[data-theme="dark"] .product-grid .product-card__add { background: #65419a; border-color: #65419a; color: #ffffff; }
:root[data-theme="dark"] .product-grid .product-card__add:disabled, :root[data-theme="dark"] .product-grid .product-card__add[aria-disabled="true"] { background: #24222d; border-color: #3a3747; color: #d0cddb; }
:root[data-theme="dark"] .product-grid .product-card__details { border-color: rgba(255,255,255,.55); color: #ffffff; }

/* /catalog's card vial, both themes (VIA-01; the Coordinator, 30 Nov 2026): its cap clears the card's pill row (whose
   bottom sits about 38 px below the stage's top at every width) by 4 px or more at the float's highest point, and its floor
   shadow stays inside the stage at the lowest (vial-float.css: 6 px down). The still's box is placed so the cap (0.101 of a
   card still's height) sits 43 px down, at the stage's own zoom or, where that would cut the shadow (0.957), just small
   enough that the shadow ends 7 px above the stage's bottom. The pills do not move. */
.shop-page .product-grid--shop .vial-stage { --cat-h: min(calc(var(--vial-zoom) * 100%), calc((100% - 50px) / .855)); }
.shop-page .product-grid--shop .vial-stage > img { top: calc(43px - .102 * var(--cat-h)); right: auto; bottom: auto; left: 50%; width: auto; max-width: none; height: var(--cat-h); translate: -50% 0; transform: none; }
