/* ==========================================================================
   BISUN POWER — PRODUCT SYSTEM
   Archive + Single Product templates. Additive only — does not modify
   any existing frozen component styles.
   ========================================================================== */

/* ---------- Shared hero pattern (archive + single) ---------- */
.bp-arch-hero, .bp-pd-hero {
  position: relative; overflow: hidden; background: #080d0a;
  border-radius: 24px; padding: 90px 40px 70px; text-align: center;
}
.bp-arch-lines, .bp-pd-lines { position: absolute; inset: 0; opacity: 0.35; }
.bp-arch-hero-inner, .bp-pd-hero-inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.bp-arch-badge, .bp-pd-badge {
  display: inline-flex; align-items: center; gap: 8px; color: #8fd6ab;
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; margin: 0 0 20px;
  background: rgba(62,224,138,0.1); border: 1px solid rgba(62,224,138,0.25); padding: 6px 14px; border-radius: 999px;
}
.bp-arch-hero h1, .bp-pd-hero h1 { font-size: clamp(28px,4vw,44px); line-height: 1.15; color: #fff; margin: 0 0 16px; letter-spacing: -0.02em; }
.bp-arch-hero p, .bp-pd-hero p { color: #a9b3ad; font-size: 16px; line-height: 1.65; margin: 0; }
.bp-pd-sub { color: #8fd6ab !important; font-size: 14px !important; letter-spacing: 0.5px; margin-bottom: 10px !important; }

/* ---------- Archive grid ---------- */
.bp-arch-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.bp-arch-card {
  display: block; text-decoration: none; border-radius: 16px; overflow: hidden;
  border: 1px solid #E5E7EB; background: #fff; transition: box-shadow .3s ease, transform .3s ease;
}
.bp-arch-card:hover { box-shadow: 0 12px 28px -8px rgba(17,24,39,0.15); transform: translateY(-3px); }
.bp-arch-card-media { aspect-ratio: 3/2; overflow: hidden; background: #0d1310; }
.bp-arch-card-media img, .bp-arch-card-media svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.bp-arch-card-body { padding: 20px 22px; }
.bp-arch-card-tag { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #18A558; margin-bottom: 6px; }
.bp-arch-card-body h3 { font-size: 16.5px; margin: 0 0 4px; color: #111827; }
.bp-arch-card-body p { font-size: 13px; color: #6B7280; margin: 0; }

.bp-arch-empty { text-align: center; max-width: 560px; margin: 40px auto; }
.bp-arch-empty h2 { margin-bottom: 12px; }
.bp-arch-empty p { color: #6B7280; }
.bp-arch-btn { display: inline-block; padding: 14px 26px; border-radius: 10px; font-weight: 600; font-size: 14.5px; text-decoration: none; margin: 6px; background: #18A558; color: #fff; }
.bp-arch-btn-outline { background: transparent; color: #111827; border: 1px solid #E5E7EB; }

/* ---------- Single product ---------- */
.bp-pd-media { border-radius: 20px; overflow: hidden; }
.bp-pd-main-image { width: 100%; height: auto; display: block; }
.bp-pd-content { max-width: 760px; margin: 0 auto; font-size: 16px; line-height: 1.75; color: #374151; }

.bp-pd-dark { position: relative; overflow: hidden; background: #080d0a; border-radius: 24px; padding: 56px 40px; }
.bp-pd-dark-lines { position: absolute; inset: 0; opacity: 0.3; }
.bp-pd-dark-inner { position: relative; z-index: 2; }
.bp-pd-dark-inner .bp-head h2 { color: #fff; }
.bp-pd-spec-table { max-width: 720px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,0.1); }
.bp-pd-spec-row { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 14.5px; }
.bp-pd-spec-row span:first-child { color: #9aa39d; }
.bp-pd-spec-row span:last-child { color: #fff; font-weight: 600; text-align: right; }

.bp-pd-applications { max-width: 720px; margin: 0 auto; text-align: center; }
.bp-pd-applications p { font-size: 16px; color: #4B5563; line-height: 1.7; }

.bp-pd-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.bp-pd-gallery-item { border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; background: #F8FAFC; }
.bp-pd-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

.bp-pd-downloads { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.bp-pd-dl-item { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border: 1px solid #E5E7EB; border-radius: 14px; background: #fff; }
.bp-pd-dl-icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; background: #F0FBF4; color: #18A558; display: flex; align-items: center; justify-content: center; }
.bp-pd-dl-text h3 { font-size: 15px; margin: 0 0 4px; }
.bp-pd-dl-text a { color: #18A558; font-weight: 600; font-size: 14px; text-decoration: none; }
.bp-pd-dl-text a:hover { text-decoration: underline; }
.bp-pd-dl-flag { display: inline-block; margin-left: 10px; font-size: 11.5px; color: #9CA3AF; font-style: italic; }

.bp-pd-cta { position: relative; overflow: hidden; background: linear-gradient(135deg,#18A558,#0e6b38); border-radius: 24px; padding: 56px 40px; text-align: center; }
.bp-pd-cta h2 { color: #fff; margin-bottom: 12px; }
.bp-pd-cta p { color: rgba(255,255,255,0.9); max-width: 480px; margin: 0 auto 24px; }
.bp-pd-cta-btn { display: inline-block; padding: 15px 28px; border-radius: 10px; font-weight: 600; background: #fff; color: #0e6b38; text-decoration: none; }

@media (max-width: 900px) {
  .bp-pd-spec-row { flex-direction: column; gap: 4px; }
  .bp-pd-spec-row span:last-child { text-align: left; }
  .bp-arch-hero, .bp-pd-hero { padding: 64px 22px 50px; }
}
