/* OPENER */ .opener { max-width: 20rem; margin: 0 auto var(--s5); } /* GRID */ .gallery.square { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } .gallery.square img { aspect-ratio: 1; image-rendering: auto; object-fit: cover; } .tile h2 { font-size: 0.95rem; } .tile p.num { color: var(--fg); } /* STRIP */ .strip { display: flex; flex-wrap: wrap; gap: var(--s2); margin: var(--s4) 0; } .strip img { width: 88px; height: 88px; image-rendering: pixelated; border: var(--hair); border-radius: var(--r1); background: var(--art); } .strip a:hover img { border-color: var(--accent); } /* DOWNLOADS */ [data-downloads] { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s3); align-items: baseline; } [data-downloads] a { font-family: var(--mono); font-size: 0.75rem; } /* CONTROLS */ .price { font-size: 1.4rem; margin-bottom: var(--s3); } .sizes { margin-bottom: var(--s3); } .sizes button[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); } button.primary[data-add] { width: 100%; justify-content: center; background: var(--accent); color: var(--on-accent); border-color: var(--accent); } button.primary[data-add]:disabled { opacity: 0.4; cursor: not-allowed; } .buy { display: flex; align-items: center; justify-content: center; min-height: 2.25rem; margin-top: var(--s2); border: var(--hair); border-radius: var(--r2); color: var(--fg); } .buy:hover { border-color: var(--accent); text-decoration: none; } .buy[aria-disabled] { opacity: 0.4; pointer-events: none; } .count { font-family: var(--mono); font-size: 0.8rem; color: var(--dim); margin: var(--s3) 0; } [data-share] { width: 100%; justify-content: center; } .controls > .button { width: 100%; margin-top: var(--s3); } .filter { display: block; font-family: var(--mono); padding: var(--s2) 0; } .tabs.stack { flex-direction: column; gap: var(--s1); margin-top: var(--s3); } .tabs.stack a { display: block; padding: var(--s1) var(--s2); color: var(--dim); } .tabs.stack a:hover { color: var(--fg); text-decoration: none; } /* CART */ .item { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto auto; gap: var(--s3); align-items: center; padding: var(--s3) 0; border-bottom: var(--hair); } .item img { width: 88px; height: 88px; object-fit: cover; border-radius: var(--r1); background: var(--art); } .item .who a { color: var(--fg); font-weight: 600; } .qty { display: flex; align-items: center; gap: var(--s2); margin-top: var(--s2); } .qty button { min-width: 2rem; justify-content: center; padding: 0; } .sum { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); margin-top: var(--s5); } .sum .buy { flex: 1 1 12rem; background: var(--accent); color: var(--on-accent); border-color: var(--accent); font-weight: 600; } @media (max-width: 40rem) { .item { grid-template-columns: 64px minmax(0, 1fr); } .item img { width: 64px; height: 64px; } } /* ELSEWHERE */ .elsewhere { margin-top: var(--s5); } .elsewhere h2 { font-size: 0.95rem; margin-bottom: var(--s3); } .elsewhere ul { margin: 0; } .elsewhere a { font-size: 0.85rem; }