/* ==========================================================================
   JP CARS ACCESORIOS - STYLESHEET OFICIAL (MODELO 2 + INTRO ANIMADA)
   Estilo: Cyber Racing / Automotive Stealth / Spotlight & Neón Rojo
   100% Responsivo y Blindado contra desbordes horizontales en móviles
   ========================================================================== */

:root {
  --bg-dark: #070709;
  --bg-surface: #0e0e13;
  --bg-surface-elevated: #15151e;
  --bg-card: rgba(18, 18, 25, 0.85);

  --red-neon: #ff1234;
  --red-crimson: #d40c26;
  --red-glow: 0 0 20px rgba(255, 18, 52, 0.6);
  --red-glow-strong: 0 0 35px rgba(255, 18, 52, 0.85);
  --red-glow-epic: 0 0 55px rgba(255, 18, 52, 0.95);

  --chrome-bright: #ffffff;
  --silver-light: #e2e8f0;
  --silver-mid: #94a3b8;
  --silver-dark: #475569;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-neon: rgba(255, 18, 52, 0.4);

  --font-logo: 'Syne', sans-serif;
  --font-display: 'Orbitron', 'Syne', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset y bloqueo de overflow */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-dark);
  color: var(--silver-light);
  font-family: var(--font-body);
  line-height: 1.5;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
}

img, svg, picture {
  max-width: 100%;
  display: block;
}

/* ==========================================================================
   OVERLAY INTRO ANIMADA (PANTALLA DE APERTURA SHOWROOM)
   ========================================================================== */
.intro-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #050507;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

.intro-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-carbon-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 30% 20%, rgba(25, 25, 38, 0.5) 0%, #050507 90%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.015) 0, rgba(255, 255, 255, 0.015) 2px, transparent 2px, transparent 8px);
  z-index: 1;
}

/* Foco cenital de la intro */
.intro-spotlight {
  position: absolute;
  top: -200px;
  left: -200px;
  width: min(850px, 90vw);
  height: min(850px, 90vw);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, rgba(255, 18, 52, 0.16) 42%, transparent 70%);
  filter: blur(85px);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  animation: introIgnition 1.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

@keyframes introIgnition {
  0% { opacity: 0; transform: scale(0.6); }
  20% { opacity: 0.15; }
  30% { opacity: 0.05; }
  45% { opacity: 0.8; }
  60% { opacity: 0.4; }
  100% { opacity: 1; transform: scale(1); }
}

/* Línea láser de barrido inicial */
.intro-laser-line {
  position: absolute;
  top: 50%;
  left: -100%;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--red-neon), #fff, var(--red-neon), transparent);
  box-shadow: 0 0 20px var(--red-neon);
  z-index: 3;
  animation: introLaser 1.5s cubic-bezier(0.65, 0, 0.35, 1) 0.6s forwards;
}

@keyframes introLaser {
  0% { left: -100%; opacity: 0; }
  30% { opacity: 1; }
  70% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* Escenario Central de la Intro */
.intro-stage {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  max-width: 550px;
  width: 100%;
}

.intro-logo-box {
  position: relative;
  width: clamp(180px, 45vw, 240px);
  height: clamp(180px, 45vw, 240px);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.7) translateY(25px);
  animation: introLogoReveal 1.3s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards;
}

@keyframes introLogoReveal {
  0% {
    opacity: 0;
    transform: scale(0.7) translateY(25px);
    filter: brightness(0);
  }
  50% {
    filter: brightness(1.5) drop-shadow(0 0 35px var(--red-neon));
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: brightness(1) drop-shadow(0 15px 35px rgba(0, 0, 0, 0.9));
  }
}

.intro-halo {
  position: absolute;
  width: 90%;
  height: 90%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 18, 52, 0.5) 0%, transparent 70%);
  filter: blur(28px);
  z-index: 1;
  opacity: 0;
  animation: introHaloBreathe 3s ease-in-out 2s infinite alternate;
}

@keyframes introHaloBreathe {
  0% { opacity: 0.5; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1.15); filter: blur(35px); }
}

.intro-emblem-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(255, 18, 52, 0.45);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.85), 0 0 30px rgba(255, 18, 52, 0.4);
  overflow: hidden;
}

.intro-sheen {
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.6) 50%, transparent 80%);
  transform: skewX(-25deg);
  z-index: 3;
  pointer-events: none;
  animation: introChromeSheen 1.6s ease-in-out 2.2s infinite;
}

@keyframes introChromeSheen {
  0% { left: -150%; }
  40%, 100% { left: 150%; }
}

.intro-title {
  font-family: var(--font-logo);
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 6px;
  opacity: 0;
  transform: translateY(15px);
  animation: introTextUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 1.6s forwards;
}

.intro-title span {
  color: var(--red-neon);
  text-shadow: var(--red-glow);
}

.intro-subtitle {
  font-family: var(--font-display);
  font-size: clamp(0.7rem, 2.2vw, 0.82rem);
  color: var(--silver-mid);
  letter-spacing: 4px;
  font-weight: 700;
  margin-bottom: 24px;
  opacity: 0;
  animation: introSubtitleIn 0.9s ease 1.9s forwards;
}

@keyframes introTextUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes introSubtitleIn {
  to { opacity: 1; letter-spacing: 5px; }
}

.intro-actions {
  opacity: 0;
  animation: introActionsFade 0.8s ease 2.3s forwards;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
}

@keyframes introActionsFade {
  to { opacity: 1; }
}

.btn-intro-enter {
  background: linear-gradient(135deg, var(--red-neon) 0%, var(--red-crimson) 100%);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 14px 32px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--red-glow);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
  cursor: pointer;
}

.btn-intro-enter:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--red-glow-epic);
  background: linear-gradient(135deg, #ff2a4b 0%, var(--red-neon) 100%);
}

.intro-progress-track {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.intro-progress-fill {
  width: 0%;
  height: 100%;
  background: var(--red-neon);
  box-shadow: 0 0 10px var(--red-neon);
  border-radius: 4px;
  animation: introAutoProgress 4s linear 2.4s forwards;
}

@keyframes introAutoProgress {
  0% { width: 0%; }
  100% { width: 100%; }
}

.intro-countdown-text {
  font-size: 0.74rem;
  color: var(--silver-mid);
}

.btn-skip-intro {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--silver-mid);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 20;
  transition: var(--transition);
}

.btn-skip-intro:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* ==========================================================================
   LUCES AMBIENTALES DE FONDO (PORTAL / LANDING)
   ========================================================================== */
.ambient-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.ambient-spotlight-topleft {
  position: absolute;
  top: -160px;
  left: -160px;
  width: min(750px, 90vw);
  height: min(750px, 90vw);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 18, 52, 0.12) 40%, transparent 70%);
  filter: blur(85px);
}

.ambient-glow-side {
  position: absolute;
  top: 45%;
  right: -150px;
  width: min(600px, 80vw);
  height: min(600px, 80vw);
  background: radial-gradient(circle, rgba(255, 18, 52, 0.06) 0%, transparent 70%);
  filter: blur(100px);
}

.container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   ANNOUNCEMENT BAR
   ========================================================================== */
.announcement-bar {
  background: #040406;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
  padding: 8px 0;
  color: var(--silver-mid);
  width: 100%;
}

.bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red-neon);
  box-shadow: 0 0 10px var(--red-neon);
  animation: pulse 1.6s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 15px var(--red-neon); }
}

.bar-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.bar-right .divider {
  color: rgba(255, 255, 255, 0.15);
}

.bar-whatsapp {
  color: #22c55e;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.bar-whatsapp:hover {
  color: #4ade80;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(7, 7, 9, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 0;
  z-index: 1000;
  transition: var(--transition);
  width: 100%;
}

.navbar.scrolled {
  background: rgba(4, 4, 6, 0.98);
  border-bottom-color: rgba(255, 18, 52, 0.25);
  padding: 10px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255, 18, 52, 0.5);
  box-shadow: var(--red-glow);
  transition: var(--transition);
  flex-shrink: 0;
}

.brand:hover .brand-logo {
  transform: scale(1.05);
  box-shadow: var(--red-glow-strong);
}

.brand-titles {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: var(--font-logo);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fff;
}

.accent-red {
  color: var(--red-neon);
  text-shadow: 0 0 12px rgba(255, 18, 52, 0.6);
}

.logo-tagline {
  font-size: 0.62rem;
  color: var(--silver-mid);
  letter-spacing: 2px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-item {
  text-decoration: none;
  color: var(--silver-mid);
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-item:hover,
.nav-item.active {
  color: #fff;
}

.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--red-neon);
  box-shadow: 0 0 10px var(--red-neon);
  border-radius: 2px;
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-replay-intro {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--silver-mid);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-replay-intro:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn-neon-red {
  background: linear-gradient(135deg, var(--red-neon) 0%, var(--red-crimson) 100%);
  color: #fff;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--red-glow);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.2);
  white-space: nowrap;
}

.btn-neon-red:hover {
  transform: translateY(-2px);
  box-shadow: var(--red-glow-strong);
}

.btn-lg {
  padding: 13px 24px;
  font-size: 0.96rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 1.2rem;
  cursor: pointer;
}

/* ==========================================================================
   1. HERO CAROUSEL / SLIDER
   ========================================================================= */
.hero-carousel-section {
  position: relative;
  background: #09090d;
  width: 100%;
  overflow: hidden;
}

.heroSwiper {
  width: 100%;
  height: auto;
  min-height: 560px;
  position: relative;
}

.hero-slide {
  position: relative;
  display: flex;
  align-items: center;
  padding: 50px 0;
  overflow: hidden;
  width: 100%;
}

.slide-lighting {
  background: radial-gradient(circle at 75% 40%, rgba(255, 18, 52, 0.15) 0%, #0a0a0f 75%);
}

.slide-covers {
  background: radial-gradient(circle at 75% 40%, rgba(200, 30, 30, 0.18) 0%, #0a0a0f 75%);
}

.slide-wheels {
  background: radial-gradient(circle at 75% 40%, rgba(100, 100, 120, 0.15) 0%, #0a0a0f 75%);
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #070709 30%, rgba(7, 7, 9, 0.6) 70%, transparent 100%);
  z-index: 1;
}

.slide-container {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 30px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.slide-text {
  max-width: 650px;
  width: 100%;
}

.slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 18, 52, 0.1);
  border: 1px solid rgba(255, 18, 52, 0.35);
  color: #ff6e80;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  max-width: 100%;
}

.slide-title {
  font-family: var(--font-logo);
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
  word-break: break-word;
}

.neon-text {
  color: var(--red-neon);
  text-shadow: 0 0 20px rgba(255, 18, 52, 0.7);
}

.slide-desc {
  color: var(--silver-mid);
  font-size: clamp(0.92rem, 2.5vw, 1.05rem);
  line-height: 1.6;
  margin-bottom: 28px;
}

.slide-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: linear-gradient(135deg, var(--red-neon) 0%, var(--red-crimson) 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--red-glow);
  transition: var(--transition);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--red-glow-strong);
}

.btn-hero-outline {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.slide-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.visual-halo {
  position: relative;
  background: radial-gradient(circle, #1a1a24 0%, #0e0e13 80%);
  border: 1px solid rgba(255, 18, 52, 0.25);
  padding: 18px;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), var(--red-glow);
  width: 100%;
  max-width: 320px;
}

.hero-brand-emblem {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
}

/* Controles Swiper Hero */
.hero-next, .hero-prev {
  color: #fff !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50%;
  background: rgba(18, 18, 25, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.hero-next::after, .hero-prev::after {
  font-size: 1rem !important;
}

.hero-next:hover, .hero-prev:hover {
  background: var(--red-neon);
  border-color: var(--red-neon);
  box-shadow: var(--red-glow);
}

.hero-pagination .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.4);
  width: 8px;
  height: 8px;
  transition: var(--transition);
}

.hero-pagination .swiper-pagination-bullet-active {
  background: var(--red-neon);
  width: 24px;
  border-radius: 6px;
  box-shadow: var(--red-glow);
}

/* ==========================================================================
   2. QUICK SEARCH BAR (ACSIPOS)
   ========================================================================== */
.quick-search-section {
  margin-top: -30px;
  position: relative;
  z-index: 10;
  margin-bottom: 40px;
  width: 100%;
}

.search-card {
  background: rgba(18, 18, 25, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 18, 52, 0.3);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), var(--red-glow);
  width: 100%;
}

.search-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.search-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.search-info h3 {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 2px;
}

.search-info p {
  font-size: 0.82rem;
  color: var(--silver-mid);
}

.search-info strong {
  color: var(--red-neon);
}

.search-form-mock {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-grow: 1;
  max-width: 480px;
}

.input-group {
  position: relative;
  flex-grow: 1;
}

.input-group i {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: var(--silver-dark);
}

.input-group input {
  width: 100%;
  background: rgba(8, 8, 12, 0.9);
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 10px 14px 10px 38px;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  outline: none;
  transition: var(--transition);
}

.input-group input:focus {
  border-color: var(--red-neon);
  box-shadow: 0 0 15px rgba(255, 18, 52, 0.3);
}

.btn-search-trigger {
  background: var(--red-neon);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-search-trigger:hover {
  background: #ff2b48;
  box-shadow: var(--red-glow);
}

/* ==========================================================================
   3. PRODUCT CAROUSEL SECTIONS
   ========================================================================== */
.carousel-section {
  padding: 50px 0;
  position: relative;
  width: 100%;
  overflow: hidden;
}

.section-lighting-bg {
  background: linear-gradient(180deg, transparent 0%, rgba(20, 15, 20, 0.4) 50%, transparent 100%);
  border-top: 1px solid rgba(255, 18, 52, 0.1);
  border-bottom: 1px solid rgba(255, 18, 52, 0.1);
}

.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 26px;
  gap: 14px;
}

.sub-label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--silver-mid);
  display: block;
  margin-bottom: 4px;
}

.main-heading {
  font-family: var(--font-logo);
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.carousel-nav-arrows {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.nav-arrow {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.nav-arrow:hover {
  background: var(--red-neon);
  border-color: var(--red-neon);
  box-shadow: var(--red-glow);
}

/* SLIDE PRODUCT CARD */
.productSwiper {
  padding: 8px 4px 24px;
  overflow: hidden;
  width: 100%;
}

.product-slide-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition);
  position: relative;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  width: 100%;
}

.product-slide-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 18, 52, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 18, 52, 0.2);
}

.card-glow-red:hover {
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.8), var(--red-glow);
}

.product-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 3px 7px;
  border-radius: 4px;
  z-index: 2;
}

.tag-hot {
  background: var(--red-neon);
  box-shadow: 0 0 10px rgba(255, 18, 52, 0.6);
}

.tag-new {
  background: #3b82f6;
}

.tag-volume {
  background: #10b981;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.product-img-box {
  height: 170px;
  background: radial-gradient(circle at center, #1b1b24 0%, #0d0d12 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  width: 100%;
  position: relative;
  overflow: hidden;
}

.product-real-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-slide-card:hover .product-real-img {
  transform: scale(1.08);
}

.product-icon-art {
  font-size: 2.5rem;
  color: var(--silver-dark);
  transition: var(--transition);
}

.product-slide-card:hover .product-icon-art {
  transform: scale(1.1);
  color: var(--red-neon);
  filter: drop-shadow(0 0 12px rgba(255, 18, 52, 0.5));
}

.product-details {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.product-category {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--silver-mid);
  font-weight: 600;
}

.product-code-tag {
  font-size: 0.65rem;
  color: #7d889b;
  font-family: monospace;
  background: rgba(255, 255, 255, 0.05);
  padding: 1px 5px;
  border-radius: 4px;
}

.product-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}

.product-desc {
  font-size: 0.78rem;
  color: var(--silver-mid);
  line-height: 1.5;
  margin-bottom: 12px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.3em;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
}

.product-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-display, 'Syne', sans-serif);
}

.product-price.promo {
  color: var(--red-neon);
  text-shadow: 0 0 10px rgba(255, 18, 52, 0.4);
}

.product-original-price {
  font-size: 0.8rem;
  color: #707b8c;
  text-decoration: line-through;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.stock-badge {
  font-size: 0.7rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.stock-badge.in-stock {
  color: #22c55e;
}

.stock-badge.out-stock {
  color: #f59e0b;
}

.btn-card-whatsapp {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-card-whatsapp:hover {
  background: #22c55e;
  border-color: #22c55e;
  color: #000;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.5);
}


/* ==========================================================================
   4. GARANTÍA & SISTEMA ACSIPOS
   ========================================================================== */
.guarantee-section {
  padding: 60px 0;
  width: 100%;
}

.guarantee-card {
  background: radial-gradient(circle at top, #18151f 0%, #0b0b0f 100%);
  border: 1px solid rgba(255, 18, 52, 0.3);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 18, 52, 0.15);
  width: 100%;
}

.guarantee-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 36px;
}

.brand-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 18, 52, 0.1);
  border: 1px solid rgba(255, 18, 52, 0.3);
  color: #ff6e80;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.guarantee-header h2 {
  font-family: var(--font-logo);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.2;
}

.guarantee-header p {
  color: var(--silver-mid);
  font-size: 0.95rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 20px;
  margin-bottom: 36px;
  width: 100%;
}

.step-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  transition: var(--transition);
  width: 100%;
}

.step-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 18, 52, 0.3);
  transform: translateY(-4px);
}

.step-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--red-neon);
  margin-bottom: 8px;
  text-shadow: 0 0 15px rgba(255, 18, 52, 0.4);
}

.step-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.step-card p {
  font-size: 0.82rem;
  color: var(--silver-mid);
  line-height: 1.55;
}

.guarantee-footer-cta {
  background: rgba(8, 8, 12, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  width: 100%;
}

.guarantee-footer-cta h3 {
  font-size: 1.08rem;
  color: #fff;
  margin-bottom: 2px;
}

.guarantee-footer-cta p {
  font-size: 0.84rem;
  color: var(--silver-mid);
}

/* ==========================================================================
   5. FOOTER
   ========================================================================== */
.footer {
  background: #040406;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 50px 0 20px;
  width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
  width: 100%;
}

.brand-col {
  max-width: 380px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255, 18, 52, 0.4);
  flex-shrink: 0;
}

.footer-title {
  font-family: var(--font-logo);
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
}

.footer-title span {
  color: var(--red-neon);
}

.footer-text {
  font-size: 0.82rem;
  color: var(--silver-mid);
  line-height: 1.55;
}

.footer-heading {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a, .footer-links span {
  color: var(--silver-mid);
  text-decoration: none;
  font-size: 0.82rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

.sub-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--silver-dark);
}

.text-red {
  color: var(--red-neon);
}

/* ==========================================================================
   RESPONSIVE MÓVIL
   ========================================================================== */
@media (max-width: 992px) {
  .hero-slide {
    padding: 40px 0;
  }

  .slide-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 26px;
  }

  .slide-desc {
    margin: 0 auto 20px;
  }

  .slide-actions {
    justify-content: center;
  }

  .search-card {
    flex-direction: column;
    align-items: stretch;
  }

  .search-form-mock {
    max-width: 100%;
  }

  .guarantee-card {
    padding: 26px 18px;
  }

  .guarantee-footer-cta {
    flex-direction: column;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .bar-inner {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }

  .bar-right {
    justify-content: center;
    gap: 8px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #08080c;
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--border-subtle);
    gap: 12px;
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .slide-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-hero-primary,
  .btn-hero-outline {
    width: 100%;
    justify-content: center;
  }

  .search-form-mock {
    flex-direction: column;
    width: 100%;
  }

  .input-group,
  .input-group input,
  .btn-search-trigger {
    width: 100%;
  }

  .section-title-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .carousel-nav-arrows {
    align-self: flex-end;
  }

  .btn-neon-red {
    font-size: 0.8rem;
    padding: 8px 12px;
  }

  .guarantee-footer-cta .btn-neon-red {
    width: 100%;
    justify-content: center;
  }

  .sub-footer {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   MODAL DE CONFIGURACIÓN DE LA LANDING (ATAJO 9999) - 90% x 90% & AUTH
   ========================================================================== */
.config-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.config-modal-overlay.is-visible {
  display: flex;
  opacity: 1;
}

.config-modal-card {
  position: relative;
  background: linear-gradient(145deg, #13131c 0%, #08080d 100%);
  border: 1px solid rgba(255, 18, 52, 0.35);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95), 0 0 40px rgba(255, 18, 52, 0.2);
  border-radius: 18px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  padding: 28px;
  box-sizing: border-box;
  color: #fff;
  transform: scale(0.94) translateY(10px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Modal cuando está autenticado: se expande al 90% x 90% */
.config-modal-card.is-authenticated {
  max-width: 90vw;
  width: 90vw;
  height: 90vh;
  max-height: 90vh;
  padding: 24px 30px;
}

.config-modal-overlay.is-visible .config-modal-card {
  transform: scale(1) translateY(0);
}

/* Cabecera del Modal */
.config-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.config-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.config-modal-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 18, 52, 0.12);
  border: 1px solid rgba(255, 18, 52, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 0 15px rgba(255, 18, 52, 0.2);
  flex-shrink: 0;
}

.config-modal-title {
  margin: 0;
  font-family: var(--font-display, 'Syne', sans-serif);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.config-user-badge {
  font-size: 0.72rem;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-weight: 700;
  background: rgba(255, 18, 52, 0.15);
  border: 1px solid rgba(255, 18, 52, 0.4);
  color: #ff1234;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.config-modal-subtitle {
  margin: 3px 0 0 0;
  font-size: 0.82rem;
  color: var(--color-texto-secundario, #8e8e9f);
}

.config-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-save-config {
  background: linear-gradient(135deg, #ff1234 0%, #d40c26 100%);
  color: #fff;
  border: none;
  padding: 9px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.88rem;
  font-family: var(--font-display, 'Syne', sans-serif);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 0 16px rgba(255, 18, 52, 0.4);
  transition: all 0.2s ease;
}

.btn-save-config:hover {
  box-shadow: 0 0 24px rgba(255, 18, 52, 0.7);
  transform: translateY(-2px);
}

.btn-save-config.btn-saved-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.7) !important;
  transform: scale(1.03);
}


.btn-logout-config {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #bbb;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-logout-config:hover {
  background: rgba(255, 18, 52, 0.2);
  border-color: #ff1234;
  color: #fff;
}

.config-modal-close {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #aaa;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.config-modal-close:hover {
  background: var(--red-neon, #ff1234);
  border-color: var(--red-neon, #ff1234);
  color: #fff;
  transform: rotate(90deg);
}

/* Barra de Solapas (Tabs) */
.config-tabs-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.config-tabs-nav::-webkit-scrollbar {
  display: none;
}

.config-tab-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #9e9ea8;
  padding: 9px 18px;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 600;
  font-family: var(--font-body, 'Inter', sans-serif);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
  user-select: none;
}

.config-tab-btn:hover {
  color: #fff;
  background: rgba(255, 18, 52, 0.12);
  border-color: rgba(255, 18, 52, 0.35);
}

.config-tab-btn.active {
  background: linear-gradient(135deg, rgba(255, 18, 52, 0.25) 0%, rgba(212, 12, 38, 0.45) 100%);
  border-color: #ff1234;
  color: #fff;
  box-shadow: 0 0 14px rgba(255, 18, 52, 0.4);
  font-weight: 700;
}

/* Área de Contenido Scrollable de las Solapas */
.config-tab-content-wrapper {
  flex: 1;
  overflow-y: auto;
  padding: 20px 6px 10px 0;
  box-sizing: border-box;
}

.config-tab-content-wrapper::-webkit-scrollbar {
  width: 6px;
}

.config-tab-content-wrapper::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 4px;
}

.config-tab-content-wrapper::-webkit-scrollbar-thumb {
  background: rgba(255, 18, 52, 0.35);
  border-radius: 4px;
}

.config-tab-content-wrapper::-webkit-scrollbar-thumb:hover {
  background: #ff1234;
}

.config-tab-panel {
  display: none;
  animation: fadeInPanel 0.25s ease;
}

.config-tab-panel.active {
  display: block;
}

@keyframes fadeInPanel {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Sub-solapas para Carruseles */
.config-subtabs-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  flex-wrap: wrap;
}

.config-subtab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: #9aa0a6;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  font-family: var(--font-body, 'Inter', sans-serif);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.config-subtab-btn:hover {
  color: #fff;
  background: rgba(255, 18, 52, 0.1);
  border-color: rgba(255, 18, 52, 0.3);
}

.config-subtab-btn.active {
  background: rgba(255, 18, 52, 0.2);
  border-color: #ff1234;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 0 12px rgba(255, 18, 52, 0.3);
}

.config-subtab-panel {
  display: none;
}

.config-subtab-panel.active {
  display: block;
  animation: fadeInPanel 0.25s ease-out;
}

.config-card-header-badge {
  display: flex;
  justify-content: flex-end;
  margin-bottom: -10px;
}

.config-card-header-badge .active-badge {
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(255, 18, 52, 0.15);
  border: 1px solid rgba(255, 18, 52, 0.4);
  color: #ff3355;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Tarjetas y Grupos de Campos */
.config-group-card {
  background: rgba(20, 20, 28, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 20px;
}

.config-group-card h4 {
  margin: 0 0 16px 0;
  font-size: 0.96rem;
  font-family: var(--font-display, 'Syne', sans-serif);
  color: #ff1234;
  display: flex;
  align-items: center;
  gap: 8px;
}

.config-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.config-form-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 768px) {
  .config-form-grid-2col {
    grid-template-columns: 1fr;
  }
}

.config-subcard {
  background: rgba(10, 10, 16, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 14px;
}

.config-subcard:last-child {
  margin-bottom: 0;
}

.config-subcard-title {
  font-size: 0.76rem;
  font-weight: 700;
  color: #ff556b;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}


.config-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.config-field.full-width {
  grid-column: 1 / -1;
}

.config-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #bbb;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.config-input,
.config-textarea {
  background: rgba(10, 10, 15, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 10px 14px;
  color: #fff;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.88rem;
  outline: none;
  transition: all 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.config-input:focus,
.config-textarea:focus {
  border-color: #ff1234;
  box-shadow: 0 0 12px rgba(255, 18, 52, 0.35);
  background: rgba(15, 15, 22, 1);
}

.config-textarea {
  resize: vertical;
  min-height: 70px;
}

/* Selector Visual de Iconos (Icon Picker) */
.icon-picker-input-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-live-preview {
  width: 42px;
  height: 42px;
  background: rgba(255, 18, 52, 0.12);
  border: 1px solid rgba(255, 18, 52, 0.4);
  box-shadow: 0 0 10px rgba(255, 18, 52, 0.25);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: #ff1234;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.icon-live-preview:hover {
  transform: scale(1.08);
  box-shadow: 0 0 16px rgba(255, 18, 52, 0.5);
}

.icon-preset-picker {
  margin-top: 8px;
  padding: 10px 12px;
  background: rgba(10, 10, 15, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}

.icon-preset-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #8e9bb0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.icon-preset-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.icon-preset-btn {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #c5c9d1;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.icon-preset-btn:hover {
  background: rgba(255, 18, 52, 0.2);
  border-color: #ff1234;
  color: #fff;
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 0 10px rgba(255, 18, 52, 0.4);
}

.icon-preset-btn.active {
  background: linear-gradient(135deg, #ff1234 0%, #cc0a24 100%);
  border-color: #ff1234;
  color: #fff;
  box-shadow: 0 0 12px rgba(255, 18, 52, 0.5);
  transform: scale(1.05);
}

/* Vista de Login (Acceso Restringido) */
.config-login-view {
  padding: 20px 10px;
  text-align: center;
}

.config-login-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 18, 52, 0.12);
  border: 1px solid rgba(255, 18, 52, 0.4);
  color: #ff1234;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  box-shadow: 0 0 20px rgba(255, 18, 52, 0.25);
}

.config-login-view h3 {
  margin: 0 0 8px 0;
  font-family: var(--font-display, 'Syne', sans-serif);
  font-size: 1.3rem;
  color: #fff;
}

.config-login-view p {
  margin: 0 0 24px 0;
  font-size: 0.85rem;
  color: var(--color-texto-secundario, #8e8e9f);
  line-height: 1.4;
}

.config-login-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.btn-login-admin {
  background: linear-gradient(135deg, #ff1234 0%, #d40c26 100%);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: var(--font-display, 'Syne', sans-serif);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 0 16px rgba(255, 18, 52, 0.4);
  transition: all 0.2s ease;
  margin-top: 8px;
}

.btn-login-admin:hover {
  box-shadow: 0 0 25px rgba(255, 18, 52, 0.7);
  transform: translateY(-2px);
}

.config-login-error {
  color: #ff334b;
  font-size: 0.82rem;
  margin-top: 10px;
  display: none;
  background: rgba(255, 18, 52, 0.1);
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 18, 52, 0.3);
}

/* Selector Desplegable de Categorías */
select.config-input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ff1234' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
  padding-right: 38px;
  cursor: pointer;
}

select.config-input optgroup {
  background: #101018;
  color: #ff556b;
  font-weight: 700;
  font-size: 0.85rem;
}

select.config-input option {
  background: #181824;
  color: #fff;
  font-size: 0.88rem;
  padding: 8px 12px;
}

/* Checkbox y Controles de Filtros Avanzados */
.config-checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(10, 10, 16, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.config-checkbox-group:hover {
  border-color: rgba(255, 18, 52, 0.4);
  background: rgba(15, 15, 24, 0.85);
}

.config-checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #ff1234;
  cursor: pointer;
}

.config-checkbox-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #e2e8f0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}


