/* ===========================================================
   All Products page — extends styles.css + product.css
=========================================================== */

/* ---------- Hero banner ---------- */
.products-hero { position: relative; overflow: hidden; background: #141414; }
.products-hero .hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
}
.products-hero .hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, #141414 38%, rgba(20,20,20,.55) 62%, rgba(20,20,20,.15) 85%);
}

/* ---------- Search box ---------- */
.search-box {
  display: flex; align-items: center; gap: 8px; border: 1px solid #e5e7eb; border-radius: 9999px;
  padding: 10px 16px; background: #fff; width: 100%; max-width: 260px;
}
.search-box input { border: 0; outline: none; font-size: 13px; width: 100%; background: transparent; }
.search-box svg { width: 16px; height: 16px; color: #9ca3af; flex-shrink: 0; }

/* ---------- Product grid card ---------- */
.product-card {
  display: block; border-radius: 14px; overflow: hidden; background: #fff;
  border: 1px solid #f0f0f0; transition: box-shadow .25s ease, transform .25s ease;
  position: relative;
}
.product-card:hover { box-shadow: 0 10px 26px rgba(0,0,0,.10); transform: translateY(-3px); }
.product-card .product-card-img { width: 100%; height: 220px; object-fit: cover; display: block; }
.product-card .product-card-body { padding: 14px 16px 16px; }
.product-card .product-card-name { font-weight: 700; font-size: 14px; color: #111827; margin-bottom: 10px; }
.product-card .product-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product-card .meta-stack { display: flex; flex-direction: column; gap: 8px; }
.product-card .meta-item { display: flex; flex-direction: column; gap: 2px; }
.product-card .meta-row { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #6b7280; }
.product-card .meta-row svg { width: 13px; height: 13px; color: #E01B3D; flex-shrink: 0; }
.product-card .meta-item strong { color: #111827; font-weight: 600; font-size: 12px; }
.product-card .card-arrow {
  width: 32px; height: 32px; border-radius: 9999px; border: 1.5px solid #E01B3D; color: #E01B3D;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background .2s ease, color .2s ease;
}
.product-card:hover .card-arrow { background: #E01B3D; color: #fff; }
.product-card .card-arrow svg { width: 14px; height: 14px; }
.product-card.hidden-by-search { display: none; }

/* ---------- Info tabs (Benefits / Types / Materials / Indications) ---------- */
.info-tabs { display: flex; gap: 4px; border-bottom: 1px solid #eee; overflow-x: auto; scrollbar-width: none; }
.info-tabs::-webkit-scrollbar { display: none; }
.info-tab-btn {
  padding: 12px 16px; font-size: 13px; font-weight: 600; color: #6b7280; white-space: nowrap;
  border-bottom: 2px solid transparent; cursor: pointer; transition: color .2s ease, border-color .2s ease;
}
.info-tab-btn:hover { color: #E01B3D; }
.info-tab-btn.active { color: #E01B3D; border-color: #E01B3D; }