.div-contenedor-desplegables {
  position: relative;
  width: 95%;
  margin: 0 auto;
  padding: 2% 1% 4%;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.desplegable {
  width: 100%;
  position: relative;
  margin: 0.5%;
  min-width: 50px;
  max-width: 200px;
  text-align: center;
}

.desplegableHead {
  position: relative;
  background: linear-gradient(135deg, #F2F2F2 0%, #E8E8E8 100%);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 1.2rem;
  border-radius: 12px 12px 0 0;
  cursor: pointer;
  user-select: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #ddd;
  font-weight: 500;
  color: #333;
}

.desplegableHead:hover {
  background: linear-gradient(135deg, #E8E8E8 0%, #DCDCDC 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.chevron {
  transition: transform 0.3s ease;
  width: 16px;
  height: 10px;
  flex-shrink: 0;
  margin-left: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chevron.rotated {
  transform: rotate(180deg);
}

.desplegableOptions {
  position: absolute;
  width: 100%;
  max-height: 550px;
  top: 100%;
  z-index: 2;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  border-radius: 0 0 12px 12px;
  border: 1px solid #ddd;
  border-top: 1px solid #ddd;
  background: #ffffff;
  overflow: hidden;
  overflow-y: auto;
}

.desplegableOptions .item {
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #333;
  font-weight: 500;
}

.desplegableOptions .item:last-child {
  border-bottom: none;
}

.item {
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.item:hover {
  background: #007bff;
  padding-left: 1.2rem;
}

@media(max-width: 950px) {
  .desplegable {
    max-width: 150px;
  }
}

@media(max-width: 700px) {
  .desplegable {
    max-width: 125px;
  }
}