/* .archive-sidebar {
  background: #ffffff;
  border: 1px solid #f0f0f0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  position: sticky;
  top: 24px;
  height: fit-content;
} */


/* ==========================================================================
   SIDEBAR COMPONENTE
   ========================================================================== */
.archive-sidebar {
  background: #f9f9f9;
  padding: 25px;
  border-radius: 20px;
  height: fit-content;
  border: 1px solid #eaeaea;
  position: sticky;
  top: 170px;
}

.sidebar-form .form-group input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 0.95rem;
  outline: none;
  transition: border 0.3s ease;
}

.sidebar-form .form-group input:focus {
  border-color: var(--accent-orange);
}

.btn-filter {
  width: 100%;
  margin-top: 12px;
  padding: 12px;
  background: var(--accent-orange, #ff6b35);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-filter:hover {
  background: #e05626;
}


/* Título del Sidebar */
.sidebar-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f7f7f7;
  letter-spacing: -0.02em;
  /* font-family: var(--font-heading); */
}


/* Estructura del Formulario */
.sidebar-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Grupos de campos (Labels + Inputs) */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #666666;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Inputs de Texto y Selectores unificados */
.sidebar-form input[type="text"],
.sidebar-form select {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  color: #333333;
  background-color: #f9f9f9;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  outline: none;
  transition: all 0.25s ease-in-out;
  font-family: inherit;
}

/* Reset de estilos nativos para el Select (Flecha personalizada) */
.sidebar-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23888888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
  /* Evita que el texto pise la flecha */
  cursor: pointer;
}

/* Estados de Foco (Focus) - Estilo Activo */
.sidebar-form input[type="text"]:focus,
.sidebar-form select:focus {
  background-color: #ffffff;
  border-color: #d97706;
  /* Color cálido en sintonía con "planes y servicios" */
  box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.1);
}

/* Placeholder del buscador */
.sidebar-form input[type="text"]::placeholder {
  color: #a3a3a3;
  font-size: 0.9rem;
}

/* Opcional: Pequeña animación de hover para los campos */
.sidebar-form input[type="text"]:hover:not(:focus),
.sidebar-form select:hover:not(:focus) {
  border-color: #cbd5e1;
  background-color: #f4f4f4;
}

@media (max-width: 992px) {
  .archive-sidebar {
    top: 140px;
    z-index: 10;
    padding: 15px;
  }

  .sidebar-form {
    flex-direction: unset;
  }

  .sidebar-title {
    margin-bottom: 15px;
    color: #222;
    padding-bottom: unset;
    font-size: 1rem;
  }
}