/* Pedido con varias hojas · España DTF */
.ph-plazo{margin:10px 0;padding:10px 12px;border-radius:10px;background:#eef7f1;border:1px solid #bfe0cb;color:#16171d;font-size:14px;line-height:1.4;text-align:left}.ph-plazo small{display:block;margin-top:4px;color:#4b5563;font-size:12.5px}
.ph-under{display:block;text-align:center;margin:6px 0 10px;color:#5b6472;font-size:12.5px}
.ph-box{margin:14px 0;border:1px solid #e3e6ec;border-radius:14px;padding:14px;background:#fff}
.ph-empty b{display:block;font-size:14px;margin-bottom:4px}.ph-empty span{font-size:13px;color:#5b6472;line-height:1.45}
.ph-head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:8px}.ph-head b{font-size:15px}.ph-head span{font-size:12px;color:#5b6472}
.ph-list{list-style:none;margin:0 0 10px;padding:0;display:grid;gap:8px}
.ph-list li{display:flex;align-items:center;gap:10px;padding:6px;border-radius:10px;background:#f6f7f9}
.ph-list img,.ph-list i{width:34px;height:46px;object-fit:cover;object-position:top;border-radius:6px;background:#16171d;flex:none}
.ph-list span{display:flex;flex-direction:column;min-width:0}.ph-list small{font-size:11.5px;color:#5b6472;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ph-ok{margin-left:auto;font-size:11.5px;font-weight:700;color:#1d7546;white-space:nowrap}
.ph-tot{display:grid;grid-template-columns:1fr auto;align-items:baseline;gap:2px 8px;padding:10px 0;border-top:1px dashed #d8dce3}
.ph-tot span{font-size:13px;color:#3a414d}.ph-tot b{font-size:22px}.ph-tot small{grid-column:1/-1;font-size:11.5px;color:#5b6472}
.ph-inc{margin:4px 0 10px;padding:8px 10px;border-radius:10px;background:#fff4fa;color:#7a0a44;font-size:13px}
.ph-wa{display:block;background:#1d7546;color:#fff!important;text-align:center;border-radius:12px;padding:13px;text-decoration:none;font-weight:700}
.ph-wa:hover{filter:brightness(1.08)}
.ph-clear{display:block;margin:8px auto 0;background:none;border:0;color:#5b6472;font-size:12px;text-decoration:underline;cursor:pointer}
#orderSuccess>strong,#orderSuccess>p{display:none}
#phExito{text-align:center}
.ph-check{width:56px;height:56px;margin:4px auto 8px;border-radius:50%;background:#1d7546;color:#fff;font:700 30px/56px system-ui;animation:phpop .35s ease-out}
@keyframes phpop{from{transform:scale(.4);opacity:0}to{transform:scale(1);opacity:1}}
#phExito h3{margin:0 0 4px;font-size:22px}.ph-ref{margin:0 0 6px;font-size:13px;color:#5b6472}.ph-sub{margin:0 0 12px;font-size:14px}
.ph-resumen{display:grid;gap:2px;padding:12px;border-radius:12px;background:#f6f7f9;margin-bottom:8px}
.ph-resumen span{font-size:12px;color:#5b6472;text-transform:uppercase;letter-spacing:.06em}.ph-big{font-size:26px}.ph-resumen small{font-size:11.5px;color:#5b6472}
.ph-more{width:100%;margin:6px 0 4px;padding:12px;border-radius:12px;border:2px dashed #ce0068;background:#fff;color:#ce0068;font-weight:700;font-size:15px;cursor:pointer}
.ph-more:hover{background:#fff4fa}
@media (prefers-reduced-motion:reduce){.ph-check{animation:none}}
#orderForm.ph-done>*:not(#orderSuccess):not(.dialog-close){display:none!important}
#orderForm.ph-done #orderSuccess{display:block}
.ph-now{margin:0 0 10px;padding:9px 10px;border-radius:10px;background:#eef6ff;color:#16365c;font-size:13px;line-height:1.4}
.ph-extra{margin:0 0 12px;padding:12px 14px;border-radius:12px;background:#fff4fa;border:2px solid #ce0068;color:#3a0a24;font-size:14px;line-height:1.45}
.ph-extra .ph-x-t{color:#ce0068;font-weight:800;font-size:15px;margin-bottom:4px}.ph-extra .ph-x-p{margin:0;display:block}.ph-extra .ph-x-p b{display:inline!important;font-weight:800}
.ph-extra .ph-fit{display:inline-block!important;width:auto!important;margin-top:10px!important;padding:10px 16px!important;border-radius:10px!important;border:0!important;background:#ce0068!important;color:#fff!important;opacity:1!important;font-weight:700;font-size:14px;cursor:pointer;box-shadow:none!important}
.ph-desg{margin:8px 0;padding:10px 12px;border-radius:12px;background:#f6f7f9;font-size:13px}
.ph-ln{display:flex;justify-content:space-between;gap:10px;padding:2px 0;color:#3a414d}.ph-ln em{font-style:normal;color:#6a7280;font-size:11.5px}
.ph-ln-t{margin-top:4px;padding-top:6px;border-top:1px solid #d8dce3;font-size:15px;color:#16171d}.ph-ln-t b{font-size:18px}
.ph-envio{margin:6px 0 0;font-size:12.5px;color:#7a4a00;background:#fff4e5;border:1px solid #f0b35c;border-radius:8px;padding:7px 9px}
.ph-pay{display:block;width:100%;margin:8px 0;padding:14px;border:0;border-radius:12px;background:#ce0068;color:#fff;font:800 16px/1.2 "DM Sans",system-ui,sans-serif;cursor:pointer}.ph-pay:hover{filter:brightness(1.08)}.ph-pay-big{font-size:18px;padding:17px}
.ph-reset{display:block;width:100%;margin:0 0 8px;padding:12px 8px;border:0;border-radius:10px;background:#d60b2b;color:#fff;font-weight:800;font-size:14px;font-family:inherit;cursor:pointer;box-shadow:0 2px 0 #8f0019}.ph-reset:hover{background:#b80824}
.ph-rm{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(10,12,18,.62)}
.ph-rm-box{width:100%;max-width:420px;padding:22px;border-radius:16px;background:#fff;color:#16171d;font:15px/1.5 "DM Sans",system-ui,sans-serif;box-shadow:0 20px 60px rgba(0,0,0,.35)}
.ph-rm-box h3{margin:0 0 8px;font-size:20px}.ph-rm-box p{margin:0 0 16px;color:#3a414d}
.ph-rm-box button{display:block;width:100%;margin:8px 0 0;padding:14px;border-radius:12px;font:800 15px/1.2 "DM Sans",system-ui,sans-serif;cursor:pointer}
.ph-rm-si{border:0;background:#d60b2b;color:#fff}.ph-rm-si:hover{background:#b80824}.ph-rm-no{border:2px solid #c9ced6;background:#fff;color:#16171d}
#placeOrder{white-space:normal;line-height:1.25}
.ph-under{line-height:1.35}
#export.preview-download{background:linear-gradient(135deg,#17a56d,#0e7a52);border:0;color:#fff;font-weight:800;font-size:15px;padding:15px 12px;border-radius:12px;box-shadow:0 0 0 0 rgba(23,165,109,.55);animation:phPulse 2.2s ease-out infinite}
#export.preview-download:hover{background:linear-gradient(135deg,#128a5a,#0b6544);animation:none;box-shadow:0 6px 18px rgba(14,122,82,.35)}
#export.preview-download:disabled{background:#e3e7ec;color:#8a94a3;animation:none;box-shadow:none}
@keyframes phPulse{0%{box-shadow:0 0 0 0 rgba(23,165,109,.55)}70%{box-shadow:0 0 0 14px rgba(23,165,109,0)}100%{box-shadow:0 0 0 0 rgba(23,165,109,0)}}
@media (prefers-reduced-motion:reduce){#export.preview-download{animation:none}}

/* Montador: el globo de llamada no debe tapar el formulario de pago */
.voz-fab .voz-fab-l{display:none!important}
.voz-fab{transform:scale(.82);transform-origin:bottom right}
body{padding-bottom:84px}

/* El hover global de style.css (button:hover) ponía fondo claro y el texto blanco desaparecía */
button.ph-pay:hover,button.ph-pay:focus-visible{background:#a8005a;color:#fff}
button.pg-go:hover,button.pg-go:focus-visible{background:#a8005a;color:#fff}
button.ph-reset:hover{background:#b80824;color:#fff}
button.ph-rm-si:hover{background:#b80824;color:#fff}
button.ph-rm-no:hover{background:#f3f4f6;color:#16171d}
button.ph-more:hover{background:#fff4fa}
button.pg-locback:hover{background:none}

/* === Botones claros y fáciles de ver (20261030f) === */
.fit-bottom{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:center;margin:14px 0 4px;padding:12px;background:#faf5ff;border:2px dashed #752cb6;border-radius:14px}
.fit-bottom span{font-size:.92rem;color:#3b2a50}
button.fit-bottom-btn{background:#ce0068;color:#fff;border:0;border-radius:12px;padding:13px 22px;font-size:1.05rem;font-weight:800;cursor:pointer;box-shadow:0 4px 12px rgba(206,0,104,.3)}
button.fit-bottom-btn:hover,button.fit-bottom-btn:focus-visible{background:#a8005a;color:#fff}
button#fitLength,button#rotate,button#arrange{background:#faf5ff;color:#4a1d80;border:2px solid #752cb6;font-weight:700}
button#fitLength:hover,button#rotate:hover,button#arrange:hover,button#fitLength:focus-visible,button#rotate:focus-visible,button#arrange:focus-visible{background:#752cb6;color:#fff}
button#arrange{color:#7a0446;border-color:#bd147a;background:#fff0f8}
button#arrange:hover,button#arrange:focus-visible{background:#bd147a;color:#fff}
button#undo,button#redo{color:#2b2233;border:2px solid #9a8fa6;font-weight:700}
button#undo:disabled,button#redo:disabled{opacity:.7}
button#undo:hover:not(:disabled),button#redo:hover:not(:disabled){background:#2b2233;color:#fff}
button.bg-choice:not(.is-selected){color:#1f2937;border:1px solid #b9c2cf;background:#fff}
button.bg-choice:not(.is-selected):hover{background:#eef1f5;color:#111827}
button#clearSheet{color:#8a1226;border:2px solid #d9707f;font-weight:700}
button#clearSheet:hover{background:#9d253b;color:#fff}
button#newSheet{font-weight:700}
button#newSheet:hover{background:#0d4f5c;color:#fff}
button#placeOrder:disabled{opacity:.9;filter:saturate(.75);cursor:not-allowed}
button#export:disabled{opacity:1;background:#e8ebf0;color:#3f4a5a;border:2px solid #b9c2cf}
button#export:not(:disabled){background:#fff;color:#2b2233;border:2px solid #752cb6;font-weight:700}
button#export:not(:disabled):hover{background:#752cb6;color:#fff}

button#export,button#export:disabled{opacity:1 !important;background:#e8ebf0 !important;color:#3f4a5a !important;border:2px solid #b9c2cf !important;font-weight:700}
button#export:not(:disabled){background:#fff !important;color:#2b2233 !important;border-color:#752cb6 !important}
button#export:not(:disabled):hover{background:#752cb6 !important;color:#fff !important}

/* Email repetido, aviso de errata, datos recordados */
.pg-mailwarn{background:#fff3cd;border:2px solid #d99a00;color:#3d2c00;padding:10px 12px;border-radius:10px;margin:6px 0 10px;font-size:.92rem;line-height:1.4}
.pg-mailwarn button{margin:6px 8px 0 0;padding:8px 14px;border-radius:8px;font-weight:700;cursor:pointer;border:2px solid #752cb6;background:#fff;color:#4a1d80}
.pg-mailwarn button.pg-mw-yes{background:#ce0068;border-color:#ce0068;color:#fff}
.pg-mailwarn button:hover{background:#752cb6;color:#fff}
.pg-mailwarn button.pg-mw-yes:hover{background:#a8005a;color:#fff}
.pg-saved{background:#eefaf1;border:2px solid #2f9e5b;color:#12391f;padding:10px 12px;border-radius:10px;margin:6px 0 10px;font-size:.92rem}
.pg-saved button.pg-forget{margin-left:6px;padding:6px 12px;border-radius:8px;font-weight:700;cursor:pointer;border:2px solid #9d253b;background:#fff;color:#8a1226}
.pg-saved button.pg-forget:hover{background:#9d253b;color:#fff}

/* Producción urgente */
.ph-urg{display:flex;gap:10px;align-items:flex-start;margin:10px 0;padding:12px;border:2px solid #d99a00;background:#fff8e1;color:#3d2c00;border-radius:12px;cursor:pointer;font-size:.92rem;line-height:1.35}
.ph-urg input{margin-top:4px;width:20px;height:20px;flex:none;accent-color:#ce0068}
.ph-urg.ph-urg-on{border-color:#ce0068;background:#fff0f8;color:#4a0a2c}
.ph-urg em{font-style:normal;font-weight:400}
