/* Listing card v3 — shared base for the three proposals (M4, 12 Nov 2026); variant A approved by the owner, 12 Nov 2026. The regular card only:
   every rule is under html:not(.ls-card-arch), so the festive Arch card is untouched. Colours from tokens only.
   G9: one colour shows its swatch beside its name; the product card only (.pc-cell), so the pick card's name keeps card-v2's box. */
html:not(.ls-card-arch) .pc-cell .pc__colours--name { display: inline-flex; align-items: center; gap: 6px; }
html:not(.ls-card-arch) .pc-cell .pc__colours--name .pc__swatch { flex: none; display: inline-block; }
/* Swatch edge (owner, 12 Nov 2026): every dot on the card, the one beside a colour's name and the colourways' row, takes a
   ring in --ui-border-strong (about 3.4:1 on the page), so a pale colour (white, beige, mint, lavender) reads as a dot. The
   frozen 1.5px ground-coloured border stays as the gap between the colour and its ring. */
html:not(.ls-card-arch) .pc-cell .pc__swatch { box-shadow: 0 0 0 1px var(--ui-border-strong); }
/* A fact that wraps (a sold card's "Ask us for something similar" at 320–360 px): the frozen facts line hides each row's leading
   dot by shifting 19px left and clipping it, which also cut the first letters of a wrapped second line. A hanging indent keeps the
   first line where it was (dot hidden, text in place) and starts the following lines after the clipped strip. */
html:not(.ls-card-arch) .pc-cell .pc__facts > span { padding-left: 19px; text-indent: -19px; }

/* ── Variant A · Editorial ─────────────────────────────────────────────────────────────────────────────────────────
   A taller photograph and nothing over it but what must be there; the name in the editorial serif; price below the name,
   colours under the price; "Add to cart" a quiet square outline that fills on hover. No panel: the photograph is the card. */
html:not(.ls-card-arch) .pc-cell { gap: 10px; }
html:not(.ls-card-arch) .pc-cell .pc { gap: 12px; }
html:not(.ls-card-arch) .pc-cell .pc__media { aspect-ratio: 3 / 4; box-shadow: none; }
/* The inner frame only on hover, where it says "this opens"; at rest it read as a crop guide across the cloth. */
html:not(.ls-card-arch) .pc-cell .pc__mat { opacity: 0; transition: opacity var(--ui-dur-slow) var(--ui-ease), inset var(--ui-dur-slow) var(--ui-ease); }
html:not(.ls-card-arch) .pc-cell .pc__tag { top: 10px; left: 10px; padding: 5px 8px 4px; font-size: 10px; }
html:not(.ls-card-arch) .pc-cell .pc__seal { left: 10px; bottom: 10px; padding: 4px 8px 3px 6px; font-size: 10px; letter-spacing: 0.08em;
  background: color-mix(in srgb, var(--ui-surface) 80%, transparent); }
html:not(.ls-card-arch) .pc-cell .pc__body { gap: 5px; padding-inline: 0; }
html:not(.ls-card-arch) .pc-cell .pc__eyebrow { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.35;
  font-size: 10px; letter-spacing: 0.12em; font-weight: var(--ui-weight-medium); color: var(--ui-text-muted); }
html:not(.ls-card-arch) .pc-cell .pc__title { font-family: var(--ui-font-editorial); font-weight: 400; letter-spacing: 0;
  font-size: 1.125rem; line-height: 1.3; min-height: 2.6em; color: var(--ui-text); }
html:not(.ls-card-arch) .pc-cell .pc__facts { font-size: 12px; }
html:not(.ls-card-arch) .pc-cell .pc__foot { flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 2px; padding-top: 0; border-top: 0; }
html:not(.ls-card-arch) .pc-cell .pc__price .ui-price { font-size: 1.0625rem; }
html:not(.ls-card-arch) .pc-cell .pa__bag.pc__bag {
  height: 44px; min-height: 44px; border-radius: var(--ui-radius-md); border: 1px solid var(--ui-border-strong);
  background: transparent; box-shadow: none; color: var(--ui-text);
  text-transform: none; letter-spacing: 0.02em; font: 600 13px / 1 var(--ui-font-body); }
html:not(.ls-card-arch) .pc-cell .pa__bag.pc__bag .sc-icon { width: 16px; height: 16px; }
html:not(.ls-card-arch) .pc-cell .pa__bag.pc__bag:hover { background: var(--ui-accent); border-color: var(--ui-accent); color: var(--ui-accent-fg); }
html:not(.ls-card-arch) .pc-cell .pa__bag.pc__bag:active { background: var(--ui-accent-hover); border-color: var(--ui-accent-hover); color: var(--ui-accent-fg); }
@media (hover: hover) {
  html:not(.ls-card-arch) .pc-cell .pc:hover .pc__mat { opacity: 1; }
  html:not(.ls-card-arch) .pc-cell .pc:hover .pc__media { transform: translateY(-2px); box-shadow: var(--ui-shadow-md); }
}
@media (max-width: 719px) {
  html:not(.ls-card-arch) .pc-cell { gap: 8px; }
  html:not(.ls-card-arch) .pc-cell .pc { gap: 10px; }
  html:not(.ls-card-arch) .pc-cell .pc__tag { top: 8px; left: 8px; font-size: 9.5px; }
  html:not(.ls-card-arch) .pc-cell .pc__seal { left: 8px; bottom: 8px; font-size: 9px; padding: 3px 6px 2px 5px; }
  html:not(.ls-card-arch) .pc-cell .pc__title { font-size: 1rem; }
  html:not(.ls-card-arch) .pc-cell .pc__price .ui-price { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html:not(.ls-card-arch) .pc-cell .pc__mat { transition: none; }
  html:not(.ls-card-arch) .pc-cell .pc:hover .pc__media { transform: none; }
}
