/* ===== Formulario de pedido (sirve en el sitio y en las demos) ===== */
.nw-pedido {
  --nwp-ink: #0E1A2B; --nwp-ink-2: #4A5670; --nwp-line: #D9DFEA; --nwp-paper: #F4F6FA;
  --nwp-accent: #2346E8; --nwp-accent-dk: #1733B8; --nwp-ok: #12B886;
  width: min(640px, calc(100% - 20px)); max-height: calc(100% - 20px); padding: 0; border: 0;
  border-radius: 20px; color: var(--nwp-ink); background: #fff;
  font: 400 16px/1.5 "Instrument Sans", system-ui, sans-serif; -webkit-font-smoothing: antialiased;
  box-shadow: 0 30px 80px -20px rgba(14, 26, 43, .55);
}
.nw-pedido::backdrop { background: rgba(14, 26, 43, .6); }
.nw-pedido * { box-sizing: border-box; }
.nwp { display: flex; flex-direction: column; max-height: calc(100vh - 20px); }
.nwp[hidden] { display: none; }
.nwp__head { display: flex; justify-content: space-between; gap: 12px; padding: 20px 22px 14px; border-bottom: 1px solid var(--nwp-line); }
.nwp__sub { margin: 0; color: var(--nwp-ink-2); font-size: .85rem; }
.nwp__head h2, .nwp--ok h2 { margin: 2px 0 4px; font: 800 1.45rem/1.15 "Bricolage Grotesque", system-ui, sans-serif; letter-spacing: -0.02em; }
.nwp__precio { margin: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nwp__precio s { color: var(--nwp-ink-2); font-size: .92rem; }
.nwp__precio b { font: 800 1.2rem/1 "Bricolage Grotesque", system-ui, sans-serif; color: var(--nwp-accent); }
.nwp__off { background: var(--nwp-ok); color: #fff; font-size: .75rem; font-weight: 600; padding: 2px 9px; border-radius: 999px; }
.nwp__x { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--nwp-line); background: #fff; font-size: 1.35rem; line-height: 1; cursor: pointer; color: var(--nwp-ink); }
.nwp__body { overflow: auto; padding: 16px 22px 6px; }
.nwp__intro { margin: 0 0 14px; color: var(--nwp-ink-2); font-size: .95rem; }
.nwp__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; align-items: end; }
.nw-pedido label { display: grid; gap: 5px; font-weight: 600; font-size: .9rem; }
.nwp__opt { font-weight: 400; color: var(--nwp-ink-2); }
.nwp__full { margin-top: 12px; }
.nw-pedido input:not([type=radio]):not([type=checkbox]), .nw-pedido select, .nw-pedido textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--nwp-ink); background: var(--nwp-paper);
  border: 1.5px solid var(--nwp-line); border-radius: 10px; padding: 10px 12px;
}
.nw-pedido textarea { resize: vertical; }
.nw-pedido input:focus, .nw-pedido select:focus, .nw-pedido textarea:focus { outline: none; border-color: var(--nwp-accent); background: #fff; }
.nw-pedido [aria-invalid="true"] { border-color: #D93A3A !important; }
.nwp__contacto { border: 0; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.nwp__contacto legend { font-weight: 600; font-size: .9rem; padding: 0; margin-bottom: 6px; width: 100%; }
.nwp__contacto label { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; cursor: pointer; }
.nwp__contacto input, .nwp__check input { accent-color: var(--nwp-accent); width: 18px; height: 18px; }
.nwp__check { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 10px !important; margin-top: 14px; font-weight: 500 !important; cursor: pointer; }
.nwp__check b { white-space: nowrap; }
.nwp__trampa { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0; }
.nwp__err { margin: 12px 0 4px; background: #FDECEC; color: #B42318; padding: 10px 14px; border-radius: 10px; font-weight: 500; font-size: .93rem; }
.nwp__err a { color: inherit; font-weight: 700; }
.nwp__foot { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 22px 20px; flex-wrap: wrap; }
.nwp__btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1.5px solid transparent; background: var(--nwp-accent); color: #fff;
  font-family: inherit; font-size: 1rem; font-weight: 600; line-height: 1; cursor: pointer; text-decoration: none;
}
.nwp__btn:hover { background: var(--nwp-accent-dk); }
.nwp__btn:disabled { opacity: .65; cursor: progress; }
.nwp__btn--ghost { background: #fff; color: var(--nwp-ink); border-color: var(--nwp-line); }
.nwp__btn--ghost:hover { background: #fff; border-color: var(--nwp-ink); }
.nw-pedido :focus-visible { outline: 3px solid var(--nwp-accent); outline-offset: 2px; }
.nwp--ok { align-items: center; text-align: center; padding: 30px 24px 6px; }
.nwp--ok p { color: var(--nwp-ink-2); max-width: 44ch; margin: 6px auto 0; }
.nwp__okicon { width: 60px; height: 60px; border-radius: 50%; background: #E3F7EF; display: grid; place-items: center; margin: 0 auto 10px; }
.nwp__okicon svg { width: 30px; height: 30px; fill: none; stroke: var(--nwp-ok); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.nwp__foot--ok { justify-content: center; padding-top: 20px; }
@media (max-width: 600px) {
  .nwp__grid { grid-template-columns: 1fr; }
  .nwp__foot .nwp__btn { flex: 1 1 auto; }
}
