/* ==========================================================================
   TankAndBarrel.com - product listing cards (tb_listing_cards)
   2026-11-29  v=20261129a
   CSS only. No PHP, no markup changes.

   Scoped to #products, the product listing module used on category pages,
   manufacturer pages, search results, specials, and new products.
   Does not change product detail pages, checkout, or the category tiles
   (.category-listing / .category-images-item).

   1. Product names: font-weight 600, navy #1f3a93, still 16px.
   2. Card chrome matches the category tiles in tb_catgrid.css:
      6px radius, #e3e8ee border, light shadow, blue border + deeper
      shadow on hover. Existing 10px padding is left alone so Buy Now,
      prices, SKU rows, and finance badges keep their current layout.
   ========================================================================== */

/* ---- product names: grid and list view (JS swaps these classes) ---- */
#products h2.grid-group-title > a,
#products h2.grid-group-title > a span,
#products h2.list-group-title > a,
#products h2.list-group-title > a span {
  font-weight: 600;
  color: #1f3a93;
  text-decoration: none;
}

#products h2.grid-group-title > a,
#products h2.grid-group-title > a span {
  font-size: 16px;
}

#products h2.grid-group-title > a:hover,
#products h2.grid-group-title > a:hover span,
#products h2.grid-group-title > a:focus,
#products h2.grid-group-title > a:focus span,
#products h2.list-group-title > a:hover,
#products h2.list-group-title > a:hover span,
#products h2.list-group-title > a:focus,
#products h2.list-group-title > a:focus span {
  color: #152a6e;
  text-decoration: underline;
}

/* ---- card box: same chrome as .category-listing .category-images-item ---- */
#products .item .productHolder {
  background: #fff;
  border: 1px solid #e3e8ee;
  border-radius: 6px;
  -webkit-box-shadow: 0 1px 3px rgba(19, 37, 58, .06);
          box-shadow: 0 1px 3px rgba(19, 37, 58, .06);
  -webkit-transition: border-color .15s ease, box-shadow .15s ease;
     -o-transition: border-color .15s ease, box-shadow .15s ease;
          transition: border-color .15s ease, box-shadow .15s ease;
  /* padding stays 10px from custom.css; overflow stays visible so
     finance badges and focus rings are not clipped */
}

#products .item .productHolder:hover,
#products .item .productHolder:focus-within {
  border-color: #1e6fc4;
  -webkit-box-shadow: 0 4px 12px rgba(19, 37, 58, .12);
          box-shadow: 0 4px 12px rgba(19, 37, 58, .12);
}

#products .item .productHolder:focus-within {
  outline: 2px solid #1e6fc4;
  outline-offset: 2px;
}
