/* Estilos del front-end */
/* Estilos del front-end */
.accordion-menu {
  position: relative;
  width: 60%;
  max-width: 600px;
  margin: 20px auto;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: #f7f6f2; /* Color perla de la Versión Básica */
  background-image: none !important; /* <--- CRUCIAL: Asegura que no haya imagen de fondo */
}

.accordion-item {
  border-bottom: 1px solid #ddd;
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  padding: 15px 20px;
  cursor: pointer;
  font-weight: bold;
  color: #333;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  background-color: transparent; /* Permite ver el fondo perla del menú */
  transition: background-color 0.5s ease;
}

.accordion-header.active {
  background-color: #fff;
}

.accordion-header:hover {
  background-color: #e6e5e0;
}

.accordion-header .icon {
  width: 30px;
  height: auto;
  margin-right: 15px;
}

.accordion-header::after {
  content: '+';
  font-size: 24px;
  font-weight: normal;
  transition: transform 0.3s ease;
  margin-left: auto;
}

.accordion-header.active::after {
  content: '−';
  transform: rotate(180deg);
}

.accordion-content {
  background-color: #fff;
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.7s cubic-bezier(0.8, 0.0, 0.2, 1), padding 0.7s cubic-bezier(0.8, 0.0, 0.2, 1);
}

.accordion-content.open {
  max-height: 200px;
  padding: 15px 20px;
}

/* Media Queries (Responsividad) */
@media (min-width: 768px) and (max-width: 1024px) {
  .accordion-menu {
    width: 75%;
  }
}

@media (max-width: 767px) {
  .accordion-menu {
    width: 90%;
  }
}