/* Destacar el título de la sección */
.style-section .toggle-text {
    display: block;
    font-size: 1.25rem;        /* Aumenta el tamaño */
    font-weight: 600;          /* Un poco más de grosor */
    color: #E0E0FF;            /* Mantiene el color que usas en otras secciones */
    margin-bottom: 1rem;
    padding-left: 0.75rem;     /* Pequeño espacio a la izquierda */
    border-left: 3px solid #6366F1;  /* Línea vertical para destacar el título */
    transition: all 0.3s ease; 
  }

  .style-section {
    
    padding: 1.5rem;
    background: #1a1e28; /* Fondo oscuro */
    border-radius: 8px;
    border: 1px solid #2D3748;
  }
  
  
/* Estilo similar a .input-label */
.style-selector-label {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: #E0E0FF;
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
    transition: all 0.3s ease;
  }
  
/* Estilo similar a .model-selector */
.style-selector {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 100%;
  padding: 1rem 3rem 1rem 1.25rem;
  background: #2D2D42;
  border: 2px solid transparent;
  border-radius: 8px;
  color: #E0E0FF;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Flecha personalizada */
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23E0E0FF'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.2rem;
}

.style-selector:hover {
  border-color: #6366F1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.style-selector:focus {
  outline: none;
  border-color: #6366F1;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.25);
}

/* Opciones internas */
.style-selector option {
  background: #1E1E2F;
  color: #E0E0FF;
  padding: 0.5rem;
}


.color-legend {
  display: flex;            /* o display: grid; */
  flex-wrap: wrap;          /* para que los ítems hagan salto de línea */
  gap: 0.75rem;             /* espacio entre elementos */
  margin-top: 1rem;
  padding: 1rem;
  background: #161a22;
  border-radius: 8px;
  border: 1px solid #2D3748;
  color: #E0E0FF;
}

/* Estilo para leyenda activa */
.legend-item.active {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  box-shadow: 0 0 0 2px currentColor;
}

.legend-item {
  cursor: pointer;
  transition: all 0.2s;
  padding: 4px 8px;
  border-radius: 4px;
}

/* Ocultar tarjetas inicialmente (manejado por JS) */
.style-card {
  display: none;
}

.color-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 8px;
}

  /* Ocultar elementos hasta que se seleccione un estilo */
.oculto {
    display: none;
  }

.styles-grid {
  display: grid;
  /* Ajusta la lógica de columnas a tus necesidades */
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
  
/* Animación para el efecto "shine" */
@keyframes shine {
    0% {
      left: -100%;
    }
    100% {
      left: 100%;
    }
  }
  
/* Tarjeta base */
.style-card {
  position: relative;
  background: #1a1e28;
  border: 1px solid #2D3748;
  border-radius: 8px;
  padding: 1rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efecto al pasar el mouse: pequeña escala y sombra */
.style-card:hover {
  transform: scale(1.03);
  box-shadow: 0 5px 15px rgba(99,102,241,0.3);
}

/* Pseudo-elemento para el efecto "shine" */
.style-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: skewX(-25deg);
}

/* Al hacer hover se activa la animación shine */
.style-card:hover::before {
  animation: shine 0.95s forwards;
}


.hidden {
  display: none;
}
