:root {
  --azul-marino: #0f2940;
  --blanco-calido: #f9f9f6;
  --celeste: #00a0df;
  --gris-texto: #555;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--blanco-calido);
  color: var(--azul-marino);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem;
  min-height: 100vh;
}

/* Header */
header {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 1rem 0;
  margin-bottom: 2rem;
}

header img {
  width: 160px;
}

/* Main */
main {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 600px;
}

h1 {
  text-align: center;
  margin-bottom: 1.5rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

label {
  font-weight: 600;
}

/* Campo precio + moneda */
.precio-group {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.precio-group input {
  flex: 1;
}

.precio-group select {
  padding: 0.8rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  background: white;
}

/* Inputs y botones */
input, textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
}

textarea {
  min-height: 80px;
}

button {
  background: var(--celeste);
  color: white;
  padding: 0.9rem;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: #008ac0;
  transform: translateY(-2px);
}

/* Footer */
footer {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--gris-texto);
}

footer img {
  width: 100px;
  margin-bottom: 0.5rem;
}

#preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.preview-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
