/* Hardware wallets (pages/wallets.js, owner 17 Nov 2026): the cards and pop-up are the mining containers' own (containers.css,
   loaded first); these are the few wallet differences. Site tokens only, so dark mode follows. Nested corners: inner
   radius = outer radius − padding. */

/* the list sits in the hardware store layout (category panel left); cards a little narrower than containers' */
.hw-main .wl-grid, .co-pane .wl-grid, .section .wl-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.wl-feats { margin-bottom: 14px; }

/* product photos are square, on white, whole (containers' are 16:10 and cropped) */
.wl-card .wl-pic { aspect-ratio: 1 / 1; background: #fff; box-shadow: inset 0 0 0 1px hsl(var(--border)); }
.wl-card .wl-pic img { width: 82%; height: 82%; object-fit: contain; }
.wl-card .wl-tag { color: hsl(var(--foreground)); box-shadow: 0 0 0 1px hsl(var(--border)); }
.wl-rate { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 4px; font-size: 13px; }
.wl-card .ct-price { align-items: center; }
.wl-card .wl-go { flex: none; padding: 8px 12px; font-size: 13.5px; font-weight: 700; border-radius: calc(var(--r) - var(--p) - 2px); white-space: nowrap; }

/* the product (pop-up and page) */
.wl-photo { aspect-ratio: 1 / 1; max-height: 440px; }
.wl-photo img { width: 80%; height: 80%; object-fit: contain; margin: auto; }
.wl-rates { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 6px 0 2px; }
.wl-rates .wl-rate { margin: 0; font-size: 14px; }
.wl-rates .rv-chip { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; color: inherit; }
.wl-page .ct-big b { font-size: 17px; }
.wl-hl { margin: 20px 0 0; padding-left: 18px; display: grid; gap: 4px; font-size: 14.5px; }
.wl-page .ct-secs { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.wl-page .ct-desc h2 { font-size: 15px; margin: 0 0 6px; }
.wl-page .ct-desc p { line-height: 1.6; margin: 0 0 10px; }
.wl-quotes { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-bottom: 6px; }
.wl-q { margin: 0; padding: 14px; border: 1px solid hsl(var(--border)); border-radius: 12px; display: grid; gap: 6px; }
.wl-q blockquote { margin: 0; line-height: 1.5; font-size: 14px; }
/* reviews and Q&A inside the product: the same spacing as the other sections there */
.wl-page > .section { margin-top: 28px; padding-top: 0; }
.wl-page > .section h2 { font-size: 17px; }

@media (max-width: 640px) {
  .hw-main .wl-grid, .co-pane .wl-grid, .section .wl-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .wl-card .ct-price { flex-direction: column; align-items: stretch; }
  .wl-card .wl-go { text-align: center; justify-content: center; padding: 8px 6px; font-size: 13px; }
  .wl-card .ct-pk { display: none; }
  .wl-card .wl-rate { font-size: 12px; }
  .wl-photo { max-height: 240px; max-width: 240px; margin: 0 auto; }
}
