* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: grid; place-items: center; padding: 28px 18px; background: #f5f1e9; color: #263e35; font-family: system-ui, -apple-system, sans-serif; }
.tarjeta { width: 100%; max-width: 470px; padding: 38px 30px; background: #fffdf8; border: 1px solid #e7e2d7; border-radius: 26px; box-shadow: 0 16px 50px #263e350b; text-align: center; }
.regalo { font-size: 54px; margin-bottom: 20px; }
.etiqueta { font-size: 10px; letter-spacing: .19em; font-weight: 750; color: #a26e44; }
h1 { font-size: clamp(25px, 6vw, 32px); letter-spacing: -.035em; line-height: 1.15; margin: 14px 0; }
.intro { color: #737b72; font-size: 15px; line-height: 1.6; margin-bottom: 30px; }
form { text-align: left; }
label { display: block; font-weight: 650; font-size: 14px; margin-bottom: 10px; }
input { width: 100%; border: 1px solid #dcded3; background: white; border-radius: 12px; padding: 15px; font: inherit; font-size: 16px; color: #263e35; }
input:focus { outline: 2px solid #6c8c70; outline-offset: 2px; }
button { cursor: pointer; font: inherit; border-radius: 12px; }
button:focus-visible { outline: 3px solid #b7864f; outline-offset: 3px; }
.sugerencias { display: grid; gap: 6px; margin-top: 8px; max-height: 220px; overflow: auto; font-size: 14px; }
.sugerencias button { border: 1px solid #e3e6dc; background: #f3f5ed; padding: 12px 15px; text-align: left; color: #263e35; }
.sugerencias button:hover { background: #e5ecdf; }
.principal { width: 100%; padding: 16px 10px; margin-top: 18px; background: #294d3c; color: white; border: 0; font-size: 14px; font-weight: 650; }
.principal:hover { background: #1e3c2d; }
.principal:disabled { background: #dfe3d9; color: #81897d; cursor: default; }
.nota { margin: 25px 0 0; font-size: 12px; color: #8b8d81; line-height: 1.5; }
.error { color: #a24134; font-size: 14px; line-height: 1.5; }
.error:empty { display: none; }
#resultado { padding: 15px 0 0; }
#resultado p { color: #737b72; }
h2 { font-size: 38px; color: #294d3c; overflow-wrap: anywhere; margin: 12px 0 20px; }
.secundario { border: 1px solid #d7dccf; background: transparent; color: #294d3c; padding: 12px 20px; margin-top: 12px; }
[hidden] { display: none !important; }
