/* Free, original storefront theme for the Pocket Tech affiliate catalogue. */
:root {
  --ink: #142035;
  --muted: #687386;
  --paper: #f5f4ef;
  --line: #e5e3dc;
  --lime: #d5f16f;
  --purple: #705ee8;
  --card: #fffefa;
}

body { background: var(--paper); }
header { background: rgba(255, 254, 250, .96); }
.nav { min-height: 68px; }
.nav-cta { border-radius: 12px; background: #18243a; }
.hero-grid { border-radius: 26px; }
.proof-inner { flex-wrap: wrap; }
#picks { scroll-margin-top: 86px; }
.section-head { align-items: center; }
.filters { margin: 22px 0 16px; }
.filter { min-height: 40px; padding-inline: 16px; }
.shop-tools { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.product-search-wrap { min-height: 44px; width: min(420px, 100%); display: flex; align-items: center; gap: 10px; padding: 0 13px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: #768093; }
.product-search-wrap span { font-size: 21px; line-height: 1; }
.product-search-wrap input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; font-size: 13px; }
.product-search-wrap:focus-within { border-color: #8b7bea; box-shadow: 0 0 0 3px rgba(112, 94, 232, .12); }
.product-count { margin: 0; color: var(--muted); font-size: 12px; font-weight: 700; }
.product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.product-card { display: flex; flex-direction: column; border-radius: 18px; }
.product-visual { height: 205px; }
.product-info { flex: 1; display: flex; flex-direction: column; }
.product-info p { min-height: 48px; }
.price-line { margin-top: auto; }
.amazon-price-details { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.amazon-data-meta { color: var(--muted); font-size: 10px; line-height: 1.4; }
.amazon-reviews-link { display: inline-block; margin-top: 10px; color: #4f5f32; font-size: 11px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.amazon-price-disclaimer { display: block; margin-top: 7px; color: var(--muted); font-size: 9px; line-height: 1.45; }
.buy-link { min-height: 40px; border-radius: 10px; }
.filter:focus-visible, a:focus-visible, button:focus-visible, .product-search-wrap:focus-within { outline: 3px solid rgba(112, 94, 232, .32); outline-offset: 3px; }

@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 650px) {
  .shop-tools { align-items: stretch; flex-direction: column; }
  .product-search-wrap { width: 100%; }
  .product-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .product-visual { height: 220px; }
  .product-info p { min-height: 0; }
  .price-line { flex-direction: row; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

