/* Separación del header del contenido superior */
body {
  padding-top: 20px;
}

/* Flex container para header */
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 40px; 
}

/* Logo imagen */
.logo-img {
  max-width: 200px;
  height: auto;
}
.search-btn {
  width: 16px; 
  height: 16px; 
  object-fit: contain; /* asegura que la imagen mantenga proporciones */
}
/* Barra de búsqueda más corta y más redonda */
.header-search {
  flex: 1 1 200px;
  display: flex;
  gap: 5px;
  justify-content: center;
}
.header-search {
  display: flex;
  align-items: center;
}

.header-search input {
  flex: 1;
  padding: 5px 10px;
  font-size: 14px;
}

.header-search .search-btn {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0 0 0 5px; /* separación opcional del input */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.header-search .search-btn img {
  width: 20px;   
  height: 20px;
  object-fit: contain;
  display: block;
}

.header-search input {
  flex: 1;
  padding: 10px 15px;
  border-radius: 35px; 
  border: 1px solid #ccc;
  outline: none;
}

.header-search input:focus {
  border-color: #ff6600;
}

/* Botón de lupa */
.search-btn {
  background-color: #ff6600;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Info adicional */
.header-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Banderas */
.header-languages img {
  width: 25px;
  height: auto;
  cursor: pointer;
}

/* Correo */
.header-contact a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}
.header-contact a:hover {
  text-decoration: underline;
}


/* ======== Banderas / idiomas ======== */
.mega-header-languages {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mega-header-languages img {
    width: 25px;
    height: auto;
    cursor: pointer;
    transition: 0.2s;
}

.mega-header-languages img:hover {
    transform: scale(1.1);
}
