/* fixes.css v1 (2026-10-25): audit fixes. Loaded after page styles. */
/* Phone overflow: grid tracks were sized by content (398-404px on a 390px screen) */
@media (max-width: 760px){
  .cart-page, .design-sheet { grid-template-columns: minmax(0,1fr) !important; }
  .cart-page > *, .design-sheet > *, .design-art, .design-buy { min-width: 0; max-width: 100%; }
  #design-mock, .design-art img { max-width: 100%; height: auto; }
  .cart-lines li, .cart-summary { min-width: 0; overflow-wrap: anywhere; }
}
/* Contrast (WCAG AA 4.5:1 for small text) */
.kicker, .signup-kicker, .design .pcard-out .pc-out { color: #6e5442 !important; }
.vet-star { color: #a85d00; }
fieldset legend, .rv-form legend, .rv-form label, form[data-review] label, form[data-review] legend { color: #7a4a00 !important; }
.poll-opt.pc-pt, .cheer-btn.ch-dog { background: #b85600 !important; }
.finder-all { background: #c2185b !important; }
.am-sticky-add, .am-add3, .am-btn[style*="ff2e63"] { background: #c8174a !important; }
.poll-opt small, .cheer-btn small, .poll-opt .pc-n { color: #fff !important; opacity: .95; }
.fun-poll small, .poll small, section small { color: #4d4d4d; }
.cheer-btn small, .poll-opt small { color: #fff !important; }
.tug-knot { color: #fff !important; text-shadow: 0 1px 2px #000; }
/* Tap targets >= 44px */
.bar-nav .pill, .cart-link, .back-link, .tp-name, .fs-top, .trust-links a, .shop-links a, .footer a, footer a, .site-footer a, .design-flat a, .lane-go, .sp-all {
  display: inline-flex; align-items: center; min-height: 44px; }
.back-link, .cart-link { min-width: 44px; padding: 0 6px; }
input[type="radio"], input[type="checkbox"] { width: 22px; height: 22px; margin: 11px 8px 11px 0; }
label:has(> input[type="radio"]), label:has(> input[type="checkbox"]) { display: inline-flex; align-items: center; min-height: 44px; }
select, input[type="search"], input[type="email"], input[type="text"], button { min-height: 44px; }
input.hp { min-height: 0 !important; }
footer a, .site-footer a { padding: 0 4px; }
/* Dog/Cat side picks (equal treatment) */
.side-picks { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; margin: 10px 0 0; width: 100%; }
.side-picks[hidden] { display: none; }
.sp-card { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: #1a0f0a; font-weight: 700; font-size: 14px; line-height: 1.2; background: #fff; border-radius: 12px; padding: 6px; box-shadow: 0 2px 6px rgba(0,0,0,.1); }
.sp-card img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.sp-all { grid-column: 1 / -1; justify-content: center; font-weight: 800; color: #1a0f0a; }
.fun-side[data-side="dog"] .side-btn[data-side="dog"], .fun-side[data-side="cat"] .side-btn[data-side="cat"] { outline: 3px solid #1a0f0a; outline-offset: 2px; }
@media (max-width: 560px){ .side-picks { grid-template-columns: repeat(2, minmax(0,1fr)); } }
/* Honest sales helpers */
.ship-note { margin: 6px 0 0; font-weight: 700; }
.empty-help { margin: 14px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.empty-help a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; background: #1a0f0a; color: #fff; text-decoration: none; font-weight: 700; }
#cart-empty[hidden] + .empty-help, .empty-help[hidden] { display: none; }
.card-price, .tp-price, .design .muted, .vet-star { color: #6e5442 !important; }
.cart-link { min-height: 44px !important; display: inline-flex !important; align-items: center; }
.tp-head a, a[href="/ideas/"] { display: inline-flex; align-items: center; min-height: 44px; }
.trust-links a { min-width: 44px; justify-content: center; }
a[href*="cash.app"] { min-height: 44px; }
.design-buy span:not([class]) { color: #6e5442; }
