/* Equal card tracks, with stable text slots and readable light surfaces. */
.bear-home-2026 .home-product-carousel,.product-grid {
  align-items: stretch !important;
  grid-auto-rows: 1fr;
}
.bear-home-2026 .home-product-card,.product-grid .product {
  display: flex;
  flex-direction: column;
  height: 100%;
  align-self: stretch;
  box-sizing: border-box;
  background: #fff;
  color: #172e38;
}
.bear-home-2026 .home-product-info { flex: 1; }
.bear-home-2026 .home-product-brand,.product-grid .product .brand {
  min-height: 1.5em;
  line-height: 1.5;
}
.bear-home-2026 .home-product-info h3,.product-grid .product h3 {
  height: 4.05em;
  min-height: 4.05em;
  flex-shrink: 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.bear-home-2026 .home-product-stock,.product-grid .product .availability {
  min-height: 2.8em;
  line-height: 1.4 !important;
}
.bear-home-2026 .home-product-buy { margin-top: auto; }
.product-grid .product .buy-row { margin-top: auto; min-height: 42px; }
.product-grid .product :is(.pack,.sku,.price-label) { min-height: 1.5em; }
.product-grid .product .pack { min-height: 3em; }
.bear-home-2026 .home-product-card :is(h3,h3 a,.home-product-price),
.product-grid .product :is(h3,h3 a,.price) { color: #172e38; }
.bear-home-2026 .home-product-card :is(.home-product-brand,.home-product-sku,.home-product-stock,.home-product-price small,.product-checkout-note),
.product-grid .product :is(.brand,.sku,.pack,.availability,.price-label,.representative,.product-checkout-note) {
  color: #435966 !important;
}
.bear-home-2026 .home-quantity { background: #f4f7f8; }
.bear-home-2026 .home-quantity :is(button,input) { color: #172e38; }
#shop-mega .menu-category-image,.menu-mobile-v2 .menu-category-image { background: #fff; }
#shop-mega .menu-category-label small,.menu-mobile-v2 .menu-category-label small { color: #43594d; }
/* Invoice scanner is a light surface, including review and result states. */
.invoice-experience,.invoice-dialog { color: #172e38; color-scheme: light; }
.invoice-experience :is(h1,h2,h3,h4,label),.invoice-dialog :is(h1,h2,h3,label) { color: #172e38; }
.invoice-experience :is(p,small),.invoice-dialog p { color: #43594d; }
.invoice-experience .invoice-action-card>span:not(.eyebrow),
.invoice-experience .invoice-drop-zone,.invoice-experience .invoice-drop-zone small { color: #43594d; }
.invoice-experience .invoice-document .text-btn { color: #8e3f17; }
.invoice-experience :is(input,textarea,select),.invoice-dialog :is(input,textarea,select) {
  background: #fff;
  color: #172e38;
  border-color: #869990;
}
.invoice-experience :is(input,textarea)::placeholder,.invoice-dialog :is(input,textarea)::placeholder { color: #52675c; opacity: 1; }
@media(max-width:767px) {
  .bear-home-2026 .home-product-info h3,.product-grid .product h3 { height: 5.4em; min-height: 5.4em; -webkit-line-clamp: 4; }
  .bear-home-2026 .home-product-price { min-height: 2.5em; }
  .bear-home-2026 .home-product-stock { min-height: 4.2em; }
}
