/* Product blocks + affiliate disclosure (scripts/lib/affiliate.mjs, 11.11.2026).
   V3 tokens: cream #f3ebd7, paper #fbf7ee, wine #7f3341, navy #0e3d63, mint #1feab0,
   ink #3a2a2e. Card corners like the bridge cards (16px) and the r3 list cards
   (4px 20px). Linked after r3.css, so equal-specificity rules win by order. */
.cm-shop{margin:28px 0;padding:20px;border-radius:16px;background:#fbf7ee;border:1px solid rgba(127,51,65,.2);box-shadow:0 8px 24px rgba(14,61,99,.08);color:#3a2a2e;font-family:'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
.cm-shop p.cm-shop-k{margin:0 0 4px;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#0e3d63;line-height:1.4}
.cm-shop p.cm-shop-t{margin:0 0 14px;font-family:'Outfit',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-weight:800;font-size:21px;line-height:1.3;color:#7f3341}
.cm-shop ul.cm-shop-list,.cm-shop-grid{list-style:none;margin:0;padding:0;display:grid;gap:12px;grid-template-columns:repeat(auto-fill,minmax(210px,1fr))}
.cm-shop-list li.cm-shop-item,.cm-shop-grid li.cm-shop-item{display:flex;flex-direction:column;gap:8px;margin:0;padding:16px;border-radius:4px 20px 4px 20px;background:#fff;border:1px solid rgba(127,51,65,.18);box-shadow:none;transition:transform .2s ease-out,box-shadow .2s ease-out}
.cm-shop-item:hover{transform:translateY(-4px);box-shadow:0 10px 22px rgba(14,61,99,.12)}
.cm-shop-item .cm-shop-top{display:flex;align-items:center;gap:10px}
.cm-shop-item .cm-shop-ico{flex:0 0 40px;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:4px 14px 4px 14px;background:#f3ebd7;border:1px solid rgba(127,51,65,.2);color:#7f3341}
.cm-shop-ico svg{display:block;width:26px;height:26px}
.cm-shop-ico .df{fill:#1feab0;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round}
.cm-shop-ico .dp{fill:#fbf7ee;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round}
.cm-shop-ico .dl{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round}
.cm-shop-ico .dd{fill:currentColor}
.cm-shop-ico .dh{fill:none;stroke:#fbf7ee;stroke-linecap:round}
.cm-shop-item p.cm-shop-cat{margin:0;font-size:13px;font-weight:700;line-height:1.3;color:#5c4a4f}
.cm-shop-item p.cm-shop-n,.cm-shop-item h3.cm-shop-n{margin:0;font-family:'Outfit',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-weight:700;font-size:18px;line-height:1.3;color:#0e3d63}
.cm-shop-item p.cm-shop-b{flex:1 1 auto;margin:0;font-size:15px;line-height:1.55;color:#3a2a2e}
.cm-shop-item a.cm-shop-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;margin-top:4px;padding:10px 18px;border-radius:999px;background:#7f3341;color:#fff;font-weight:700;font-size:15px;line-height:1.2;text-align:center;text-decoration:none;transition:transform .2s ease-out,background .2s ease-out,box-shadow .2s ease-out}
.cm-shop-item a.cm-shop-btn:hover{background:#5f2431;color:#fff;text-decoration:none;transform:scale(1.02);box-shadow:0 6px 16px rgba(127,51,65,.25)}
.cm-shop-item a.cm-shop-btn:focus-visible{outline:3px solid #0e3d63;outline-offset:3px}
.cm-shop p.cm-shop-note{margin:14px 0 0;font-size:14px;line-height:1.5;color:#5c4a4f}
.cm-shop p.cm-shop-note a{color:#7f3341;font-weight:700;display:inline-block;padding:12px 0;min-height:24px}
.cm-vh{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
p.cm-aff-disc{margin:12px 0 16px;font-size:14px;line-height:1.5;color:#5c4a4f;font-style:normal}
p.cm-aff-disc a{color:#7f3341}
footer p.cm-aff-foot,p.cm-aff-foot{box-sizing:border-box;max-width:1120px;margin:8px auto 0;padding:0 16px;font-size:13px;line-height:1.5;color:inherit}
footer p.cm-aff-foot a{display:inline;min-height:0;color:inherit;text-decoration:underline;text-underline-offset:3px}
@media (max-width:520px){.cm-shop{padding:16px}.cm-shop ul.cm-shop-list{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){.cm-shop-item,.cm-shop-item a.cm-shop-btn{transition:none}.cm-shop-item:hover{transform:none}.cm-shop-item a.cm-shop-btn:hover{transform:none}}
/* Four cards in a post column: two rows of two, not three plus an orphan. */
.cm-shop ul.cm-shop-list:has(>li:nth-child(4):last-child){grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}
/* One card (a single Prime Video Channel, 11.11.2026): a full-width row, not a narrow column. */
.cm-shop ul.cm-shop-list:has(>li:only-child){grid-template-columns:1fr}
.cm-shop ul.cm-shop-list>li.cm-shop-item:only-child{max-width:34rem}
/* LightVow cross-promo (our own product, scripts/lib/affiliate.mjs own): one full-width card with the LightVow mark. */
.cm-xp ul.cm-shop-list{grid-template-columns:1fr}
.cm-xp-item .cm-shop-ico{background:none;border:0;border-radius:10px;overflow:hidden}
.cm-shop-ico img.cm-xp-mark{display:block;width:40px;height:40px;border-radius:10px}
