/* ============================================================
   LUMINA ENERGY — producto.css
   Páginas de detalle de producto con ficha técnica imprimible
   ============================================================ */

/* ============================================================
   BREADCRUMB
   ============================================================ */

.product-breadcrumb {
  padding: 200px 0 0;
}

.product-breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}

.product-breadcrumb-list a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}

.product-breadcrumb-list a:hover { color: #8BC53F; }

.product-breadcrumb-list .sep {
  color: rgba(255,255,255,0.2);
  padding: 0 2px;
}

/* ============================================================
   PRODUCT DETAIL HERO
   ============================================================ */

.product-detail-section {
  padding: 32px 0 80px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
}

/* Gallery */
.product-gallery-main {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px;
  transition: transform 0.4s ease;
}

.product-gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.gallery-thumb {
  width: 74px;
  height: 74px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
  transition: border-color 0.2s;
  background: rgba(255,255,255,0.03);
}

.gallery-thumb:hover,
.gallery-thumb.active {
  border-color: #8BC53F;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product info panel */
.product-info-panel {
  position: sticky;
  top: 120px;
}

/* Lumina distributor badge */
.lumina-distributor-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(139,197,63,0.07);
  border: 1px solid rgba(139,197,63,0.2);
  border-radius: 8px;
  padding: 10px 16px;
  margin-bottom: 22px;
}

.lumina-distributor-badge img {
  height: 26px;
  width: auto;
}

.lumina-distributor-badge span {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8BC53F;
}

/* Title area */
.product-model-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  margin-bottom: 8px;
}

.product-detail-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

/* Type badges */
.product-type-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.type-badge {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}

.type-badge--green {
  background: rgba(139,197,63,0.12);
  border: 1px solid rgba(139,197,63,0.3);
  color: #8BC53F;
}

.type-badge--white {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.65);
}

/* Key spec pills */
.product-key-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 28px;
}

.key-spec-pill {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 12px 14px;
}

.key-spec-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.66rem;
  color: rgba(255,255,255,0.38);
  margin-bottom: 5px;
  display: block;
}

.key-spec-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #8BC53F;
  line-height: 1.1;
}

/* Cert badges */
.detail-cert-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 28px;
}

.detail-cert-badge {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(139,197,63,0.08);
  border: 1px solid rgba(139,197,63,0.2);
  color: #8BC53F;
}

/* CTA buttons */
.product-detail-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-detail-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 14px 24px;
  border-radius: 10px;
  background: #8BC53F;
  color: #0D0D0D;
  text-decoration: none;
  transition: opacity 0.2s;
  text-align: center;
}

.btn-detail-primary:hover { opacity: 0.86; }

.btn-detail-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.62);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  text-align: center;
}

.btn-detail-secondary:hover {
  border-color: rgba(139,197,63,0.4);
  color: #8BC53F;
}

.btn-detail-print {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.35);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
}

.btn-detail-print:hover {
  border-color: rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.65);
}

/* ============================================================
   FULL SPECS SECTION
   ============================================================ */

.full-spec-section {
  padding: 60px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.full-spec-section > .container > h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 32px;
}

.full-spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.spec-group {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 22px 24px;
}

.spec-group-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8BC53F;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(139,197,63,0.12);
}

.spec-group table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
}

.spec-group table tr {
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.spec-group table tr:last-child {
  border-bottom: none;
}

.spec-group table td {
  padding: 7px 0;
  line-height: 1.4;
  vertical-align: top;
}

.spec-group table td:first-child {
  color: rgba(255,255,255,0.36);
  width: 44%;
  padding-right: 10px;
}

.spec-group table td:last-child {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

.spec-group table td em {
  color: #8BC53F;
  font-style: normal;
  font-weight: 700;
}

/* ============================================================
   PRINT HEADER & FOOTER (hidden on screen)
   ============================================================ */

.print-header,
.print-footer {
  display: none;
}

/* ============================================================
   PRINT STYLES — Ficha Técnica LUMINA ENERGY
   ============================================================ */

@media print {
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }

  body {
    background: #fff !important;
    color: #111 !important;
  }

  /* Hide screen-only elements */
  .navbar,
  .whatsapp-float,
  .product-detail-ctas,
  .footer,
  .product-type-badges,
  .btn-detail-print {
    display: none !important;
  }

  /* Show print elements */
  .print-header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 3px solid #8BC53F;
    margin-bottom: 24px;
  }

  .print-header-logo {
    height: 52px;
    width: auto;
  }

  .print-header-meta {
    text-align: right;
    font-family: 'Montserrat', sans-serif;
  }

  .print-header-meta .meta-title {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #8BC53F;
  }

  .print-header-meta .meta-sub {
    font-size: 0.7rem;
    color: #666;
    margin-top: 2px;
  }

  .print-footer {
    display: block !important;
    margin-top: 32px;
    padding-top: 10px;
    border-top: 1px solid #ddd;
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    color: #999;
    text-align: center;
  }

  /* Breadcrumb */
  .product-breadcrumb { padding-top: 0; }
  .product-breadcrumb-list { color: #999; }
  .product-breadcrumb-list a { color: #666; }

  /* Detail grid */
  .product-detail-section { padding: 16px 0 40px; }
  .product-detail-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .product-info-panel { position: static; }

  /* Lumina badge */
  .lumina-distributor-badge {
    background: #f2fae8 !important;
    border-color: #8BC53F !important;
  }
  .lumina-distributor-badge span { color: #5a8a2a !important; }

  /* Titles */
  .product-model-label { color: #888 !important; }
  .product-detail-title { color: #111 !important; }

  /* Gallery */
  .product-gallery-main {
    background: #f5f5f5 !important;
    border-color: #ddd !important;
  }

  /* Key specs */
  .product-key-specs { margin-bottom: 20px; }
  .key-spec-pill {
    background: #f5f5f5 !important;
    border-color: #ddd !important;
  }
  .key-spec-label { color: #777 !important; }
  .key-spec-value { color: #5a8a2a !important; }

  /* Cert badges */
  .detail-cert-badge {
    background: #f2fae8 !important;
    border-color: #8BC53F !important;
    color: #5a8a2a !important;
  }

  /* Full specs */
  .full-spec-section { border-top-color: #ddd !important; padding: 32px 0; }
  .full-spec-section > .container > h2 { color: #111 !important; }
  .full-spec-grid { grid-template-columns: repeat(2, 1fr); }
  .spec-group {
    background: #f9f9f9 !important;
    border-color: #e0e0e0 !important;
    break-inside: avoid;
  }
  .spec-group-title { color: #5a8a2a !important; border-bottom-color: #c8e6a0 !important; }
  .spec-group table td:first-child { color: #777 !important; }
  .spec-group table td:last-child { color: #111 !important; }
  .spec-group table td em { color: #5a8a2a !important; }
  .spec-group table tr { border-bottom-color: #eeeeee !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .product-info-panel { position: static; }
  .full-spec-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .product-breadcrumb { padding-top: 160px; }
  .product-key-specs { grid-template-columns: repeat(2, 1fr); }
}
