/* =========================
RESET + BASE
========================= */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  background: #f5f5f5;
  color: #333;
}

/* =========================
HEADER
========================= */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #ffe600;
  padding: 12px;
  z-index: 1000;
}

/* =========================
CONTENEDOR
========================= */
.contenedor {
  padding: 12px;
  margin-top: 70px; /* 👈 ESTE ES EL CLAVE */
  margin-bottom: 80px;
}

/* =========================
CARDS
========================= */
.card {
  background: white;
  border-radius: 10px;
  padding: 12px;
  border: 1px solid #ddd;
  transition: 0.2s;
}

.card:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* =========================
BOTONES
========================= */
button {
  border: none;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.2s;
}

button:hover {
  opacity: 0.9;
}

/* primario (acciones importantes) */
.btn-primary {
  background: #3483fa;
  color: white;
}

/* secundario */
.btn-secondary {
  background: #eee;
}

/* peligro */
.btn-danger {
  background: #ff4d4f;
  color: white;
}

/* =========================
INPUTS
========================= */
input, select, textarea {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  margin: 5px 0;
}

/* =========================
FOOTER
========================= */
.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: white;
  display: flex;
  justify-content: space-around;
  padding: 10px;
  border-top: 1px solid #ddd;
}

.footer button {
  flex: 1;
  margin: 0 5px;
}

/* =========================
PRECIO
========================= */
.precio {
  font-size: 20px;
  color: #00a650;
  font-weight: bold;
}

/* =========================
SECCIONES
========================= */
.seccion {
  background: white;
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 15px;
}

/* =========================
HEADER ML
========================= */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #ffe600; /* 🔥 amarillo ML */
  padding: 10px;
  z-index: 1000;
}

/* fila buscador */
.header-top {
  display: flex;
  gap: 8px;
}

/* buscador */
.search-input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 20px;
  border: none;
  outline: none;
}

/* botón redondo */
.btn-orden {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: white;
  font-size: 16px;
}

/* filtros abajo */
.header-filtros {
  margin-top: 8px;
  display: flex;
  gap: 6px;
}

.header-filtros select {
  flex: 1;
}

.header-top {
  display: flex;
  gap: 8px;
}

.search-input {
  flex: 1;
  padding: 10px;
  border-radius: 20px;
  border: none;
}

.btn-orden {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: white;
  border: none;
  font-size: 18px;
}