/* RESET & ESTILOS BASE */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}



/* CONTENEDOR PRINCIPAL */
.product-container {
  max-width: 1200px;
  margin: 20px auto 60px auto;
  padding: 0 20px;
}

.breadcrumb {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 25px;
}

.breadcrumb a {
  color: #2563eb;
  text-decoration: none;
}

/* SECCIÓN PRINCIPAL DEL PRODUCTO */
.product-main {
  display: flex;
  gap: 40px;
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  margin-bottom: 40px;
}

/* GALERÍA */
.product-gallery {
  flex: 1;
}

.main-image {
  width: 100%;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #f1f5f9;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 15px;
}

.main-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.thumbnail-list {
  display: flex;
  gap: 10px;
}

.thumb {
  width: 75px;
  height: 75px;
  border: 2px solid #e2e8f0;
  border-radius: 6px;
  cursor: pointer;
  object-fit: cover;
  transition: border-color 0.2s;
}

.thumb:hover, .thumb.active {
  border-color: #2563eb;
}

/* INFORMACIÓN DEL PRODUCTO */
.product-info {
  flex: 1.2;
}

.category-tag {
  font-size: 13px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.product-title {
  font-size: 28px;
  color: #0f172a;
  margin: 5px 0 15px 0;
}

.product-highlights {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.badge {
  background-color: #eff6ff;
  color: #1d4ed8;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid #bfdbfe;
}

.product-short-desc {
  font-size: 15px;
  color: #475569;
  margin-bottom: 20px;
}

.spec-quick-list ul {
  list-style: none;
  margin-bottom: 25px;
}

.spec-quick-list li {
  font-size: 14px;
  margin-bottom: 8px;
  padding-left: 15px;
  position: relative;
}

.spec-quick-list li::before {
  content: "•";
  color: #2563eb;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.product-actions {
  display: flex;
  gap: 15px;
}

.btn-primary {
  background-color: #f59e0b; /* Botón amarillo estilo tu web */
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.2s;
  display: inline-block;
}

.btn-primary:hover {
  background-color: #d97706;
}

.btn-secondary {
  border: 2px solid #2563eb;
  color: #2563eb;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
  display: inline-block;
}

.btn-secondary:hover {
  background-color: #2563eb;
  color: #ffffff;
}

/* ESPECIFICACIONES GRID */
.section-title {
  font-size: 22px;
  color: #0f172a;
  margin-bottom: 20px;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 8px;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.spec-card {
  background: #ffffff;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.spec-card.highlight-card {
  border-left: 4px solid #f59e0b;
  background-color: #fffbeb;
}

.spec-card h3 {
  font-size: 16px;
  color: #1e3a8a;
  margin-bottom: 12px;
}

.spec-card p {
  font-size: 13.5px;
  margin-bottom: 6px;
  color: #334155;
}

/* EN LA CAJA */
.in-box-section {
  background: #ffffff;
  padding: 25px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.in-box-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  list-style: none;
}

.in-box-list li {
  background: #f8fafc;
  padding: 10px 15px;
  border-radius: 6px;
  font-size: 14px;
  border: 1px solid #e2e8f0;
}

/* RESPONSIVE DESIGN (Móviles y Tablets) */
@media (max-width: 768px) {
  .product-main {
    flex-direction: column;
  }
  .navbar .nav-container {
    flex-direction: column;
    gap: 15px;
  }
  .product-actions {
    flex-direction: column;
  }
  .btn-primary, .btn-secondary {
    text-align: center;
  }
}

/* Estilos para cursor interactivo en la imagen principal */
.main-image img {
  cursor: zoom-in;
}

/* MODAL / LIGHTBOX A PANTALLA COMPLETA */
.lightbox {
  display: none; /* Oculto por defecto */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9); /* Fondo oscuro semitransparente */
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
}

/* Imagen dentro del lightbox */
.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  animation: zoomIn 0.25s ease-out;
}

/* Animación de apertura */
@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Botón de cerrar (X) */
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #ffffff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s;
}

.lightbox-close:hover {
  color: #f59e0b; /* Color amarillo de acento */
}