/* ═══════════════════════════════════════════════════
   DOSERTECH — PRODUCTS PAGE STYLESHEET
═══════════════════════════════════════════════════ */

/* ── Nav active state ────────────────────────── */
.nav-active {
  color: var(--c-fire) !important;
  background: var(--c-fire-glow) !important;
  border-radius: var(--radius);
}

/* ── Page Hero ──────────────────────────────── */
.page-hero {
  min-height: 44vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 60px) 0 60px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(13,15,18,0.97) 0%, rgba(20,23,32,0.9) 60%, rgba(40,15,5,0.75) 100%),
    radial-gradient(ellipse at 70% 50%, rgba(232,82,10,0.10) 0%, transparent 65%);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.page-hero-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--c-light-2), transparent);
  pointer-events: none;
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero h1 { color: var(--c-white); margin-bottom: 16px; }
.page-hero-lead {
  font-size: 1.1rem;
  color: var(--c-steel-light);
  max-width: 680px;
  margin-bottom: 36px;
  line-height: 1.7;
}

/* ── Jump links ──────────────────────────────── */
.product-jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.product-jump-links a {
  padding: 8px 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--c-border-mid);
  border-radius: 24px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--c-steel-light);
  letter-spacing: 0.04em;
  transition: all 0.2s;
}
.product-jump-links a:hover {
  background: var(--c-fire-glow);
  border-color: rgba(232,82,10,0.35);
  color: var(--c-fire);
}

/* ── Product Section ─────────────────────────── */
.product-section { padding: 96px 0; }
.product-section + .product-section { border-top: 1px solid var(--c-border); }

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.product-layout.reverse { direction: rtl; }
.product-layout.reverse > * { direction: ltr; }

/* ── Product Visual ──────────────────────────── */
.product-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.product-img-frame {
  width: 100%;
  background: var(--c-white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 8px 40px rgba(0,0,0,0.1);
  min-height: 360px;
  overflow: hidden;
}
.product-img-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(232,82,10,0.04) 0%, transparent 60%);
}
.dark-frame {
  background: var(--c-surface-2);
  border-color: var(--c-border);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}
.dark-frame::before {
  background: linear-gradient(135deg, rgba(232,82,10,0.06) 0%, transparent 60%);
}

.product-category-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--c-fire);
  color: var(--c-white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
}

.product-svg {
  width: 100%;
  max-width: 360px;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.15));
}
.dark-frame .product-svg {
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.5));
}
/* Real product photos */
.product-photo {
  width: 100%;
  max-width: 420px;
  height: 360px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 6px 24px rgba(0,0,0,0.18));
  transition: transform 0.3s ease;
}
.product-photo:hover { transform: scale(1.03); }
.dark-frame .product-photo {
  filter: drop-shadow(0 6px 28px rgba(0,0,0,0.55));
}

/* ── Product Badges ──────────────────────────── */
.product-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.p-badge {
  background: rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.12);
  color: #3a4560;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
}
.p-badge--dark {
  background: var(--c-surface-3);
  border-color: var(--c-border-mid);
  color: var(--c-steel-light);
}
.p-badge--fire {
  background: rgba(232,82,10,0.12);
  border-color: rgba(232,82,10,0.3);
  color: var(--c-fire);
}

/* ── Product Info ────────────────────────────── */
.product-info { }
.product-info h2 { margin-bottom: 20px; }
.section-dark .product-info h2 { color: var(--c-white); }
.section-light .product-info h2 { color: #1a1e2b; }

.product-lead {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 20px;
}
.section-dark  .product-lead { color: var(--c-steel-light); }
.section-light .product-lead { color: #3a4560; }

.product-info > p {
  font-size: 0.95rem;
  line-height: 1.72;
  margin-bottom: 28px;
}
.section-dark  .product-info > p { color: var(--c-steel-light); }
.section-light .product-info > p { color: #4a5568; }

/* ── Product Features ────────────────────────── */
.product-features {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pf-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  line-height: 1.5;
}
.pf-item svg {
  color: var(--c-fire);
  flex-shrink: 0;
  margin-top: 2px;
}
.section-dark  .pf-item { color: var(--c-steel-light); }
.section-light .pf-item { color: #4a5568; }

/* ── Specs Table ─────────────────────────────── */
.product-specs-table {
  background: var(--c-white);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.product-specs-table.dark {
  background: var(--c-surface-2);
  border-color: var(--c-border);
  box-shadow: none;
}

.pst-header {
  background: #1a1e2b;
  color: var(--c-fire);
  font-family: var(--f-condensed);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 18px;
}
.product-specs-table.dark .pst-header {
  background: #0d0f12;
}

.product-specs-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}
.product-specs-table th {
  text-align: left;
  padding: 9px 18px;
  color: #6b7280;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(0,0,0,0.03);
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.product-specs-table.dark th {
  color: var(--c-steel);
  background: rgba(255,255,255,0.03);
  border-bottom-color: var(--c-border);
}
.product-specs-table td {
  padding: 10px 18px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  color: #1a1e2b;
  vertical-align: top;
}
.product-specs-table.dark td {
  color: var(--c-light);
  border-bottom-color: rgba(255,255,255,0.04);
}
.product-specs-table tr:last-child td { border-bottom: none; }
.product-specs-table td:first-child {
  font-weight: 600;
  color: #374151;
  width: 38%;
}
.product-specs-table.dark td:first-child {
  color: var(--c-steel-light);
}

/* ── Section-specific overrides ─────────────── */
.product-section.section-light .section-eyebrow { color: var(--c-fire-dark); }
.product-section.section-dark  .section-eyebrow { color: var(--c-fire); }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 900px) {
  .product-layout { grid-template-columns: 1fr; gap: 48px; }
  .product-layout.reverse { direction: ltr; }
  .product-visual { order: -1; }
  .page-hero-overlay { background: linear-gradient(to top, var(--c-surface), transparent); }
}

@media (max-width: 600px) {
  .product-jump-links a { font-size: 0.75rem; padding: 7px 14px; }
  .product-img-frame { padding: 24px 16px; min-height: 280px; }
  .product-specs-table td, .product-specs-table th { padding: 8px 12px; }
  .product-layout { grid-template-columns: 1fr; gap: 32px; }
  .product-layout.reverse { direction: ltr; }
  .product-photo { height: 260px; }
  .product-info h2 { font-size: 1.7rem; }
  .product-lead { font-size: 0.95rem; }
  .page-hero h1 { font-size: 1.8rem; }
  .page-hero-lead { font-size: 0.95rem; }
  .product-section { padding: 56px 0; }
}
