/* General */
body {
  background: #fff9e6; /* Amarillo pastel muy suave */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #5a5a3d; /* Verde grisáceo suave para texto */
  margin: 20px;
}

/* Navegación */
nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  background: #fff3b0; /* Amarillo pastel */
  border-radius: 10px;
  max-width: 1200px;
  margin: 0 auto 30px;
}

nav ul li {
  margin: 0 20px;
}

nav ul li a {
  text-decoration: none;
  color: #6b5e0e; /* Amarillo mostaza oscuro */
  font-weight: 600;
  padding: 12px 25px;
  display: block;
  border-radius: 8px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

nav ul li a:hover {
  background: #ffed85; /* Amarillo pastel brillante */
  color: #4a4200; /* Mostaza oscuro */
}

/* Contenedores principales */
.col-md-4, .col-md-8 {
  background: #fffdf2; /* Blanco amarillento suave */
  box-shadow: 0 4px 12px rgb(255 237 110 / 0.25);
  border-radius: 12px;
  padding: 30px 35px;
  margin-bottom: 30px;
  max-width: 520px;
}

/* Layout lado a lado en pantallas grandes */
@media (min-width: 992px) {
  body > div.col-md-4, body > div.col-md-8 {
    display: inline-block;
    vertical-align: top;
    margin-right: 30px;
  }
  body > div.col-md-8 {
    max-width: 680px;
  }
}

/* Títulos */
h3 {
  color: #d9ba41; /* Amarillo pastel intenso */
  margin-bottom: 22px;
  font-weight: 700;
}

/* Formulario */
.form-group label {
  font-weight: 600;
  color: #857e29; /* Mostaza grisáceo */
}

.form-control {
  border-radius: 10px;
  border: 1.8px solid #d9ba41;
  padding: 12px 18px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background-color: #fffbe6;
}

.form-control:focus {
  border-color: #ffea50;
  box-shadow: 0 0 7px #ffea5088;
  outline: none;
}

/* Botón guardar */
.btn-primary {
  background-color: #ffea50; /* Amarillo pastel */
  border: none;
  font-weight: 700;
  padding: 12px 30px;
  border-radius: 10px;
  box-shadow: 0 5px 14px rgb(255 234 80 / 0.7);
  transition: background-color 0.3s ease;
  color: #6b5e0e;
}

.btn-primary:hover {
  background-color: #d9ba41;
  color: #fff;
  box-shadow: 0 7px 18px rgb(217 186 65 / 0.9);
}

/* Lista compras */
.list-group-item {
  border-radius: 12px;
  margin-bottom: 14px;
  background: #fff9cc; /* Amarillo pastel muy suave */
  transition: background-color 0.3s ease;
  cursor: pointer;
  color: #4a4400;
}

.list-group-item:hover, .list-group-item.active {
  background-color: #fff373;
  color: #6b5e0e;
  font-weight: 700;
}

/* Contenedor compra actual */
#xml-compra {
  font-weight: 600;
  font-size: 1.15rem;
  color: #d9ba41;
  margin-bottom: 20px;
  border-radius: 10px;
  padding: 12px 18px;
  background: #fffbe6;
  box-shadow: 0 2px 6px rgb(217 186 65 / 0.3);
}

/* Botones anterior y siguiente */
.mb-3 button {
  min-width: 115px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgb(217 186 65 / 0.45);
  border-radius: 10px;
  transition: background-color 0.3s ease, color 0.3s ease;
  background-color: #fff9cc;
  color: #6b5e0e;
  border: 1.5px solid #d9ba41;
  margin-right: 10px;
}

.mb-3 button:hover {
  background-color: #d9ba41;
  color: #fff;
  box-shadow: 0 7px 20px rgb(217 186 65 / 0.9);
}

/* Imagen */
img {
  max-width: 100%;
  margin-bottom: 22px;
  border-radius: 10px;
}