/* ===== ACTIVE NAV ===== */
.active-nav { color: var(--primary) !important; }

/* ===== BREADCRUMB ===== */
.breadcrumb-bar {
  background: var(--light-bg);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  margin-top: 102px;
}
.breadcrumb-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--gray);
  flex-wrap: wrap;
}
.breadcrumb-inner a { color: var(--gray); transition: color 0.2s; }
.breadcrumb-inner { justify-content: flex-start; }
.back-btn {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  padding: 5px 14px;
  border-radius: 50px;
  transition: all 0.2s;
}
.back-btn:hover { background: var(--primary); color: var(--white); }
.breadcrumb-inner i.fa-chevron-right { font-size: 0.65rem; color: var(--border); }
.breadcrumb-inner span { color: var(--primary); font-weight: 600; }

/* ===== DETAIL SECTION ===== */
.detail-section { padding: 60px 0 80px; }
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}

/* IMAGE */
.detail-img-wrap { position: sticky; top: 120px; }
.detail-img-main {
  background: linear-gradient(135deg, #1c0d00, #3d2010);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  cursor: zoom-in;
}
.detail-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.15s ease;
  pointer-events: none;
}
.detail-zoom-btn {
  position: absolute;
  bottom: 14px; right: 14px;
  width: 38px; height: 38px;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  color: var(--white);
  font-size: 0.9rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}
.detail-zoom-btn:hover { background: var(--primary); }

.detail-badge {
  position: absolute;
  top: 18px; left: 18px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}
.detail-badge.new { background: #10B981; }
.detail-badge:empty { display: none; }

/* Thumbnails */
.detail-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.detail-thumb {
  width: 72px; height: 72px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid var(--border);
  background: linear-gradient(135deg, #1c0d00, #3d2010);
  transition: all 0.2s;
  flex-shrink: 0;
}
.detail-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-thumb:hover { border-color: var(--primary); transform: translateY(-2px); }
.detail-thumb.active { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(232,96,10,0.2); }

/* Lightbox */
.detail-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  align-items: center;
  justify-content: center;
}
.detail-lightbox.open { display: flex; }
.detail-lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.94);
  cursor: pointer;
}
.detail-lightbox-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 90vw;
  max-height: 90vh;
}
.detail-lightbox-content img {
  max-width: 80vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  background: #1a1a1a;
  padding: 10px;
  display: block;
}
.detail-lb-close {
  position: fixed;
  top: 20px; right: 24px;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}
.detail-lb-close:hover { background: var(--primary); }
.detail-lb-nav {
  position: fixed;
  top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}
.detail-lb-nav:hover { background: var(--primary); }
.detail-lb-prev { left: 16px; }
.detail-lb-next { right: 16px; }

/* INFO */
.detail-cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}
.detail-info h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 14px;
}
.detail-info > p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 28px;
}

.detail-features-box,
.detail-specs-box {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-bottom: 20px;
}
.detail-features-box h4,
.detail-specs-box h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.detail-features-box h4 i { color: var(--primary); }
.detail-specs-box h4 i { color: var(--primary); }

.detail-features-box ul { display: flex; flex-direction: column; gap: 10px; }
.detail-features-box li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--gray);
}
.detail-features-box li i { color: var(--primary); font-size: 0.75rem; flex-shrink: 0; }

.detail-specs-box table { width: 100%; border-collapse: collapse; }
.detail-specs-box tr { border-bottom: 1px solid var(--border); }
.detail-specs-box tr:last-child { border-bottom: none; }
.detail-specs-box td {
  padding: 9px 4px;
  font-size: 0.85rem;
}
.detail-specs-box td:first-child { color: var(--gray); width: 45%; font-weight: 500; }
.detail-specs-box td:last-child { color: var(--dark); font-weight: 600; }

.detail-btns { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.detail-btns .btn-primary { flex: 1; justify-content: center; min-width: 160px; }
.detail-btns .btn-whatsapp { flex: 1; justify-content: center; min-width: 160px; }

.detail-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.detail-trust span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray);
}
.detail-trust i { color: var(--primary); }

/* ===== RELATED PRODUCTS ===== */
.related-section { background: var(--light-bg); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.pcard {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.35s;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  text-decoration: none;
  color: inherit;
}
.pcard::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  opacity: 0;
  transition: opacity 0.3s;
}
.pcard:hover::before { opacity: 1; }
.pcard:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(232,96,10,0.15); border-color: rgba(232,96,10,0.2); }
.pcard-img {
  background: linear-gradient(135deg, #1c0d00, #3d2010);
  height: 200px;
  overflow: hidden;
  position: relative;
}
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.pcard:hover .pcard-img img { transform: scale(1.07); }
.pcard-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.pcard-body h3 { font-size: 0.95rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; line-height: 1.4; }
.pcard-body p { font-size: 0.82rem; color: var(--gray); line-height: 1.6; flex: 1; margin-bottom: 14px; }
.pcard-body .btn { justify-content: center; font-size: 0.85rem; padding: 10px; }

/* ===== CTA STRIP ===== */
.cta-strip {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 60px 24px;
}
.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-strip h2 { font-size: 1.8rem; font-weight: 800; color: var(--white); margin-bottom: 6px; }
.cta-strip p { color: rgba(255,255,255,0.75); font-size: 0.95rem; }
.cta-strip-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-strip .btn-primary { background: var(--white); color: var(--primary); box-shadow: none; }
.cta-strip .btn-primary:hover { background: var(--light-bg); transform: translateY(-2px); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .detail-grid { grid-template-columns: 1fr; gap: 30px; }
  .detail-img-wrap { position: static; }
  .detail-img-main { aspect-ratio: 4/3; }
  .detail-info h1 { font-size: 1.6rem; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .detail-thumb { width: 60px; height: 60px; }
}
@media (max-width: 600px) {
  .breadcrumb-bar { margin-top: 90px; }
  .back-btn { display: none; }
  .detail-section { padding: 30px 0 50px; }
  .detail-info h1 { font-size: 1.3rem; }
  .detail-btns { flex-direction: column; }
  .detail-btns .btn { width: 100%; justify-content: center; }
  .detail-trust { gap: 12px; }
  .detail-trust span { font-size: 0.72rem; }
  .products-grid { grid-template-columns: 1fr; }
  .cta-strip { padding: 40px 16px; }
  .cta-strip h2 { font-size: 1.3rem; }
  .cta-strip-inner { flex-direction: column; text-align: center; }
  .cta-strip-btns { justify-content: center; width: 100%; flex-direction: column; }
  .cta-strip-btns .btn { width: 100%; justify-content: center; }
}
@media (max-width: 400px) {
  .detail-features-box, .detail-specs-box { padding: 14px 16px; }
  .detail-info h1 { font-size: 1.2rem; }
}
