/* =========================================================
   SANA TRADERS — prod-style.css
   Products-page-only styling. Loaded AFTER css/style.css on
   products.html, so these rules override the shared stylesheet
   even if an old cached/deployed copy of style.css is being
   served (new filename = no stale cache anywhere).
   ========================================================= */

/* ---------- PRODUCT IMAGE (no cropping) ---------- */
.product-img {
  position: relative;
  background: var(--bg-alt);
  overflow: hidden;
  line-height: 0;
}
.product-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.product-card:hover .product-img img { transform: scale(1.04); }

/* ---------- PRODUCT SHOWCASE ---------- */
.product-tag.flagship { background: var(--green-900); }
.product-tag.signature { background: var(--earth-700); }

.product-card { position: relative; }
.product-body-lead { color: var(--text-muted); margin: 0; }

.product-specs {
  display: grid;
  gap: 8px;
  margin: 2px 0 4px;
  padding: 14px 16px;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
}
.product-specs .spec-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.83rem;
  line-height: 1.4;
}
.product-specs dt {
  margin: 0;
  color: var(--text-muted);
  font-weight: 500;
  flex-shrink: 0;
}
.product-specs dd {
  margin: 0;
  color: var(--green-900);
  font-weight: 600;
  text-align: right;
}
.product-note {
  font-size: 0.83rem;
  color: var(--text-muted);
  margin: 0;
}

/* Guarantee 3-column grid at wide widths even if a stale
   style.css still has repeat(4, 1fr) for 4 old products. */
@media (min-width: 1080px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- TV / VIDEO SHOWCASE ---------- */
.tv-showcase { background: linear-gradient(180deg, var(--bg) 0%, var(--earth-100) 100%); }
.tv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
.tv-content .eyebrow { margin-bottom: 12px; }
.tv-points {
  margin: 18px 0 26px;
  display: grid;
  gap: 10px;
}
.tv-points li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
}
.tv-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green-600);
  box-shadow: 0 0 0 4px var(--green-100);
}

.video-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #0d1a12;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(31, 77, 43, 0.12);
}
.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #0d1a12;
}
.video-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gold-500);
  color: var(--green-900);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  z-index: 3;
  box-shadow: var(--shadow-sm);
}
.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 30, 20, 0.28);
  border: 0;
  cursor: pointer;
  z-index: 2;
  padding: 0;
  transition: background var(--transition);
}
.video-play-btn:hover { background: rgba(15, 30, 20, 0.42); }
.video-play-btn .play-icon {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition);
}
.video-play-btn:hover .play-icon { transform: scale(1.08); }
.video-play-btn .play-icon svg { width: 26px; height: 26px; margin-left: 4px; fill: var(--green-700); }
.video-frame.is-playing .video-play-btn { display: none; }

@media (min-width: 880px) {
  .tv-grid { grid-template-columns: 1fr 1.1fr; gap: 60px; }
}
