/**** Detalle de moto y de accesorio: diseño moderno compartido ****/
.detalle-producto { max-width: 1140px; }

.detalle-migas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: #1c2140;
}
.detalle-migas a { color: #1c2140; font-weight: 500; text-decoration: none; }
.detalle-migas a:hover { color: #696cff; text-decoration: underline; }
.detalle-migas span { color: #1c2140; font-weight: 700; }
.detalle-migas i { color: #1c2140; }

.panel-producto {
  background: #fff;
  border-radius: 18px;
  padding: 1.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  color: #2b2f45;
}

/* Datos principales */
.detalle-marca {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: #696cff;
}

.detalle-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: #eef0fb;
  color: #323390;
  text-transform: capitalize;
}
.detalle-chip-ok { background: #e3f6ec; color: #1a7f4b; }
.detalle-chip-agotado { background: #fde7e8; color: #c8323a; }

.detalle-titulo {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  line-height: 1.15;
  color: #1c2140;
  margin-bottom: 0.5rem;
}

.detalle-precio {
  font-size: 2rem;
  font-weight: 800;
  color: #323390;
  margin-bottom: 0.75rem;
}
.detalle-precio small { font-size: 0.8rem; font-weight: 500; color: #8a91a8; }
.detalle-precio-agotado { color: #c8323a; font-size: 1.5rem; }

/* Selectores de color / talla / cantidad */
.opcion-titulo {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #4a5068;
}

.btn-color,
.btn-talla {
  border-radius: 999px;
  padding: 0.35rem 1rem;
  font-weight: 600;
  text-transform: capitalize;
}

.cantidad-control .btn { width: 40px; height: 40px; padding: 0; font-weight: 700; }
.cantidad-control .form-control { width: 56px; height: 40px; padding: 0; font-weight: 700; background: #fff; }

.btn-agregar {
  padding: 0.75rem 2rem;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(105, 108, 255, 0.35);
}
.btn-agregar:disabled { box-shadow: none; }

/* Pestañas Descripción / Ficha técnica */
.detalle-tabs {
  gap: 0.25rem;
  border-bottom: 2px solid #eef0fb;
  margin-bottom: 1.25rem;
}
.detalle-tabs .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 0;
  background: none;
  color: #6b7189;
  font-weight: 600;
  padding: 0.6rem 1.1rem;
  margin-bottom: -2px;
  border-bottom: 3px solid transparent;
}
.detalle-tabs .nav-link:hover { color: #323390; }
.detalle-tabs .nav-link.active {
  color: #323390;
  background: none;
  border-bottom-color: #696cff;
}

.detalle-tab-contenido { color: #4a5068; line-height: 1.7; }
.detalle-tab-contenido p:last-child { margin-bottom: 0; }

.ficha-tecnica { margin: 0; }
.ficha-fila {
  display: grid;
  grid-template-columns: minmax(130px, 220px) 1fr;
  gap: 1rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
}
.ficha-fila:nth-child(odd) { background: #f5f6fc; }
.ficha-fila dt { font-weight: 600; color: #4a5068; }
.ficha-fila dd { margin: 0; color: #1c2140; }

.detalle-producto .detalle-seccion-titulo { color: #1c2140 !important; font-weight: 700; font-size: 1.25rem; }

@media (max-width: 576px) {
  .panel-producto { padding: 1.1rem; }
  .ficha-fila { grid-template-columns: 1fr; gap: 0.1rem; }
}
