/* =========================================================
   酷玩街机秀官网 · 产品介绍 products.html
   ========================================================= */

/* ---------------- Product grid ---------------- */
.product-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.product-card { border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.product-image { position: relative; height: 200px; overflow: hidden; background: linear-gradient(145deg, #141a3a, #2b2f6b); }
.product-image::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(8, 14, 34, 0.62)); }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.product-card:hover .product-image img { transform: scale(1.05); }
.product-image > span {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(6, 14, 32, 0.6);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  backdrop-filter: blur(6px);
}
.product-body { padding: 16px; }
.product-body small { color: var(--primary-2); font-size: 11px; font-weight: 700; }
.product-body h3 { margin: 4px 0 6px; font-size: 18px; font-weight: 700; }
.product-body p { margin-bottom: 14px; font-size: 12px; color: var(--ink-3); }
.product-body button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: none;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.product-body button span { color: var(--primary-2); }

@media (min-width: 768px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .product-image { height: 240px; }
  .product-body { padding: 20px; }
  .product-body h3 { font-size: 21px; }
}

@media (min-width: 1200px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .product-image { height: 260px; }
}
