/* ArgKeyShop — estilos compartidos. Incluir en todas las páginas. */

body {
  background-color: #0b0f12;
  color: #e0e2e8;
}

.bg-card {
  background-color: #181c20;
  border: 1px solid rgba(60, 73, 78, 0.4);
  transition: all 0.3s ease;
}
.bg-card:hover {
  border-color: rgba(0, 209, 255, 0.3);
  box-shadow: 0 8px 30px rgba(0, 209, 255, 0.08);
  transform: translateY(-2px);
}

.celeste-glow {
  box-shadow: 0 4px 14px rgba(0, 209, 255, 0.25);
}
.celeste-glow:hover {
  box-shadow: 0 6px 20px rgba(0, 209, 255, 0.35);
}

.soft-gradient {
  background: linear-gradient(145deg, rgba(24, 28, 32, 1) 0%, rgba(11, 15, 18, 1) 100%);
}

/* Placeholder de "box art" para productos sin imagen fotográfica.
   Reproduce la estética premium/neón del hero usando solo CSS. */
.box-art {
  position: relative;
  background: radial-gradient(120% 120% at 30% 20%, rgba(0, 209, 255, 0.16) 0%, rgba(11, 15, 18, 0) 60%),
    linear-gradient(160deg, #1c2024 0%, #0b0f12 100%);
  border: 1px solid rgba(60, 73, 78, 0.5);
  overflow: hidden;
}
.box-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0, 209, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 209, 255, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(circle at 50% 40%, black 0%, transparent 75%);
}
.box-art .box-art-icon {
  filter: drop-shadow(0 0 24px rgba(0, 209, 255, 0.35));
}

/* Nota: los inputs de formulario usan utilidades de Tailwind directamente
   (bg-surface-container-low/60, border-outline-variant/50, etc.) en vez de
   una clase custom acá, porque el <style> que inyecta el CDN de Tailwind
   se agrega al <head> después de este archivo y gana la cascada. */

/* Tabs del panel de perfil desplegable del header (assets/partials.js) */
.hdr-tab-btn.active { background-color: #00d1ff; color: #0b0f12; }
.hdr-tab-btn:not(.active) { color: #bbc9cf; }

/* Tabs genéricos tipo pill (ej: selector de tipo de stock en admin/stock.html) */
.tab-toggle-btn.active { background-color: #00d1ff; color: #0b0f12; }
.tab-toggle-btn:not(.active) { color: #bbc9cf; }

/* Estrellas de reseñas */
.star-filled {
  color: #00d1ff;
}
.star-empty {
  color: rgba(187, 201, 207, 0.25);
}

/* Scrollbar global del sitio (reemplaza la del navegador por una acorde al tema) */
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(60, 73, 78, 0.85) #0b0f12;
}
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}
::-webkit-scrollbar-track {
  background: #0b0f12;
}
::-webkit-scrollbar-thumb {
  background-color: rgba(60, 73, 78, 0.85);
  border-radius: 9999px;
  border: 3px solid #0b0f12;
  transition: background-color 0.2s ease;
}
::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 209, 255, 0.5);
}
::-webkit-scrollbar-corner {
  background: #0b0f12;
}

/* Scrollbar más fina para paneles internos (carrito, filtros, modales) */
.thin-scroll {
  scrollbar-width: thin;
  scrollbar-color: rgba(60, 73, 78, 0.7) transparent;
}
.thin-scroll::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.thin-scroll::-webkit-scrollbar-thumb {
  background: rgba(60, 73, 78, 0.7);
  border-radius: 9999px;
  border: none;
}
.thin-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 209, 255, 0.55);
}
.thin-scroll::-webkit-scrollbar-track {
  background: transparent;
}

/* Slider de precio (filtros) — reemplaza el control nativo del navegador */
.price-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 9999px;
  background: rgba(60, 73, 78, 0.5);
  cursor: pointer;
  outline: none;
}
.price-slider::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 9999px;
  background: transparent;
}
.price-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  margin-top: -6px;
  border-radius: 9999px;
  background: #00d1ff;
  border: 3px solid #0b0f12;
  box-shadow: 0 0 0 1px rgba(0, 209, 255, 0.4), 0 2px 8px rgba(0, 209, 255, 0.35);
  cursor: pointer;
  transition: transform 0.15s ease;
}
.price-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}
.price-slider::-moz-range-track {
  height: 4px;
  border-radius: 9999px;
  background: rgba(60, 73, 78, 0.5);
}
.price-slider::-moz-range-progress {
  height: 4px;
  border-radius: 9999px;
  background: #00d1ff;
}
.price-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 9999px;
  background: #00d1ff;
  border: 3px solid #0b0f12;
  box-shadow: 0 0 0 1px rgba(0, 209, 255, 0.4), 0 2px 8px rgba(0, 209, 255, 0.35);
  cursor: pointer;
}

/* Skeleton / loading shimmer opcional */
.animate-shimmer {
  background: linear-gradient(90deg, rgba(60, 73, 78, 0.15) 25%, rgba(60, 73, 78, 0.35) 37%, rgba(60, 73, 78, 0.15) 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
}
@keyframes shimmer {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}
