/*!*****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/app/globals.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************/
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #fff;
  color: #0f172a;
  -webkit-font-smoothing: antialiased;
}
a { color: #0e7c86; }

.cf-page { min-height: 100vh; background: #f8fafc; display: flex; flex-direction: column; align-items: center; padding: 1.5rem 1rem 3rem; }
.cf-card { background: #fff; border-radius: 16px; box-shadow: 0 1px 3px rgba(0,0,0,.08); width: 100%; max-width: 440px; padding: 1.5rem; }
.cf-negocio { font-size: .8125rem; color: #64748b; text-transform: uppercase; letter-spacing: .04em; font-weight: 600; margin: 0 0 .25rem; }
.cf-titulo { font-size: 1.25rem; font-weight: 700; margin: 0 0 1rem; }
.cf-items { list-style: none; margin: 0; padding: 0; border-top: 1px solid #eaeef2; }
.cf-item { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid #eaeef2; font-size: .9375rem; }
.cf-item-nombre { color: #0f172a; }
.cf-item-cant { color: #64748b; font-size: .8125rem; }
.cf-item-precio { font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cf-linea { display: flex; justify-content: space-between; padding: .4rem 0; font-size: .9rem; color: #334155; }
.cf-linea.total { font-weight: 700; font-size: 1.05rem; color: #0f172a; border-top: 1px solid #eaeef2; margin-top: .5rem; padding-top: .75rem; }
.cf-nota { background: #f1f5f9; border-radius: 10px; padding: .75rem 1rem; font-size: .875rem; color: #334155; margin: 1rem 0 0; white-space: pre-wrap; }
.cf-btn { display: block; width: 100%; margin-top: 1.25rem; padding: .85rem 1rem; border: 0; border-radius: 12px; background: #0e7c86; color: #fff; font-size: 1rem; font-weight: 600; cursor: pointer; text-align: center; text-decoration: none; }
.cf-btn:hover { background: #0b6670; }
.cf-btn:disabled { opacity: .6; cursor: default; }
.cf-badge { display: inline-block; padding: .25rem .6rem; border-radius: 999px; font-size: .75rem; font-weight: 600; }
.cf-badge.ok { background: #ecfdf5; color: #16a34a; }
.cf-badge.warn { background: #fffbeb; color: #b45309; }
.cf-badge.neutral { background: #f1f5f9; color: #64748b; }
.cf-aviso { margin-top: 1rem; padding: .75rem 1rem; border-radius: 10px; font-size: .875rem; }
.cf-aviso.ok { background: #ecfdf5; color: #166534; }
.cf-aviso.warn { background: #fffbeb; color: #92400e; }
.cf-aviso.err { background: #fef2f2; color: #991b1b; }
.cf-foot { margin-top: 1.25rem; font-size: .75rem; color: #94a3b8; text-align: center; }
.cf-foot a { color: #94a3b8; }

/* ── Página pública del pedido (/p/[id]). Mismo look que el checkout de pagoenlace. ── */
.pl-page { background: #fff; min-height: 100vh; color: #1e293b; }
.pl-container { max-width: 1100px; margin: 0 auto; padding: 32px 20px 64px; }
.pl-layout { display: flex; flex-direction: column; gap: 28px; }
.pl-right { display: none; }
@media (min-width: 900px) {
  .pl-container { max-width: 880px; padding: 56px 32px 88px; }
  .pl-layout { flex-direction: row; gap: 40px; align-items: flex-start; }
  .pl-left { flex: 1.4 1; min-width: 0; }
  .pl-right { display: block; flex: 1 1; min-width: 300px; max-width: 360px; padding-top: 8px; }
  .pl-sticky { position: -webkit-sticky; position: sticky; top: 32px; }
  .pl-card-mobile { display: none; }
}

.pl-vendedor { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.pl-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.pl-avatar-ph { display: flex; align-items: center; justify-content: center; background: #eaf6f7; color: #0e7c86; font-weight: 700; }
.pl-vendedor-info { flex: 1 1; min-width: 0; }
.pl-vendedor-nombre { margin: 0; font-size: .95rem; font-weight: 600; color: #0f172a; }
.pl-vendedor-meta { margin: 2px 0 0; font-size: .78rem; color: #64748b; }
.pl-wa { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: #f0fdf4; color: #16a34a; font-size: .78rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.pl-wa:hover { background: #dcfce7; }

.pl-titulo { margin: 0; font-size: 1.5rem; font-weight: 600; line-height: 1.25; letter-spacing: -.018em; color: #0f172a; }
@media (min-width: 640px) { .pl-titulo { font-size: 1.625rem; } }
@media (min-width: 900px) { .pl-titulo { font-size: 1.875rem; } }
.pl-para { margin: 8px 0 0; font-size: .875rem; color: #64748b; }
.pl-para strong { color: #0f172a; font-weight: 600; }
.pl-descripcion { margin: 14px 0 0; font-size: .95rem; color: #475569; line-height: 1.6; white-space: pre-wrap; }
.pl-card-mobile { margin-top: 24px; }

.pl-card { background: #fff; border: 1px solid #e6ebf2; border-radius: 16px; padding: 18px; box-shadow: 0 1px 2px rgba(15,23,42,.03); }
.pl-label { margin: 0 0 6px; font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: #cbd5e1; }
.pl-linea { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; font-size: .9rem; }
.pl-linea + .pl-linea { border-top: 1px solid #f1f5f9; }
.pl-linea-nombre { color: #0f172a; }
.pl-linea-sub { font-size: .72rem; color: #94a3b8; margin-top: 2px; }
.pl-linea-monto { color: #0f172a; font-weight: 500; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pl-ajustes { margin-top: 6px; padding-top: 8px; border-top: 1px solid #f1f5f9; }
.pl-ajuste { display: flex; justify-content: space-between; padding: 4px 0; font-size: .82rem; color: #475569; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
.pl-ajuste.ok { color: #047857; }
.pl-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; padding-top: 14px; border-top: 1px solid #e6ebf2; }
.pl-total-label { font-size: .78rem; font-weight: 500; color: #475569; }
.pl-total-monto { font-size: 1.25rem; font-weight: 700; color: #0f172a; letter-spacing: -.01em; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }

.pl-btn-pagar { width: 100%; height: 56px; margin-top: 16px; border: 0; border-radius: 12px; background: #009ee3; color: #fff; font-size: 1.05rem; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 1px 2px rgba(0,30,60,.08); transition: background .15s, transform .06s; }
.pl-btn-pagar:hover { background: #008cca; }
.pl-btn-pagar:active { background: #0078b3; transform: scale(.985); }
.pl-btn-pagar:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(0,158,227,.35), 0 1px 2px rgba(0,30,60,.08); }
.pl-btn-pagar:disabled { background: #cbd5e1; cursor: default; transform: none; }
.pl-spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.5); border-top-color: #fff; border-radius: 50%; animation: pl-spin .7s linear infinite; }
@keyframes pl-spin { to { transform: rotate(360deg); } }
.pl-seal { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 14px; }
.pl-seal-text { display: inline-flex; align-items: center; gap: 5px; font-size: .74rem; color: #64748b; font-weight: 500; }
.pl-seal-logo { height: 50px; width: auto; display: block; }
@media (min-width: 900px) { .pl-seal-logo { height: 54px; } }

.pl-btn-outline { display: flex; flex-direction: column; align-items: center; margin-top: 16px; padding: 12px 16px; border: 1.5px solid #cbd5e1; border-radius: 10px; color: #334155; font-size: .95rem; font-weight: 600; text-decoration: none; text-align: center; }
.pl-btn-outline:hover { background: #f8fafc; border-color: #94a3b8; }
.pl-btn-outline-sub { font-size: .72rem; font-weight: 400; color: #94a3b8; margin-top: 2px; }
.pl-nota-pago { margin: 14px 0 0; font-size: .85rem; color: #64748b; text-align: center; }
.pl-aviso { margin-top: 12px; padding: 10px 12px; border-radius: 10px; font-size: .85rem; }
.pl-aviso.err { background: #fef2f2; color: #991b1b; }

.pl-estado { margin-top: 24px; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 32px 28px; box-shadow: 0 1px 3px rgba(15,23,42,.04); max-width: 480px; }
.pl-badge { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .1px; }
.pl-estado-titulo { margin: 24px 0 0; font-size: 22px; font-weight: 700; color: #0f172a; line-height: 1.25; }
.pl-estado-desc { margin: 10px 0 0; font-size: 15px; color: #475569; line-height: 1.6; }
.pl-estado-importe { margin-top: 28px; padding-top: 20px; border-top: 1px solid #e2e8f0; }
.pl-estado-importe .pl-label { color: #94a3b8; }
.pl-estado-monto { margin: 4px 0 0; font-size: 22px; font-weight: 600; color: #475569; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
.pl-estado-sub { margin: 8px 0 0; font-size: 13px; color: #94a3b8; }

.pl-footer { margin-top: 64px; padding-top: 32px; border-top: 1px solid #f1f5f9; text-align: center; }
.pl-footer-brand { margin: 0; font-size: .78rem; color: #64748b; font-weight: 500; }
.pl-footer-link { color: #0e7c86; text-decoration: none; font-weight: 600; }

/* ── Home / landing (.lp-*), estructura calcada de pedile.com/comercios ── */
.lp { min-height: 100vh; display: flex; flex-direction: column; background: #fff; color: #0f172a; }
.lp a { color: inherit; text-decoration: none; }
.lp-container { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.lp-center { text-align: center; }
.lp-muted { color: #64748b; line-height: 1.6; }
.lp-accent { color: #0e7c86; }
.lp-h1 { font-size: 2.5rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; margin: 0; }
.lp-h2 { font-size: 1.75rem; font-weight: 800; letter-spacing: -.02em; margin: 0 0 12px; }
.lp-lead { font-size: 1.125rem; color: #64748b; line-height: 1.6; margin: 0; }
.lp-eyebrow { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: #64748b; margin: 0; }
@media (min-width: 900px) { .lp-h1 { font-size: 3.25rem; } .lp-h2 { font-size: 2.25rem; } }

.lp-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 22px; border-radius: 999px; background: #0e7c86; color: #fff !important; font-weight: 600; font-size: .95rem; box-shadow: 0 1px 2px rgba(15,23,42,.08); transition: opacity .15s; }
.lp-btn:hover { opacity: .9; }
.lp-btn-lg { height: 50px; padding: 0 28px; font-size: 1rem; }

.lp-header { position: -webkit-sticky; position: sticky; top: 0; z-index: 50; height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; border-bottom: 1px solid #eaeef2; background: rgba(255,255,255,.85); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lp-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.25rem; }
.lp-brand img { border-radius: 10px; }
.lp-nav { display: flex; align-items: center; gap: 20px; }
.lp-nav > a:not(.lp-btn) { font-size: .9rem; font-weight: 500; color: #64748b; }
.lp-nav > a:not(.lp-btn):hover { color: #0f172a; }
@media (max-width: 640px) { .lp-nav > a:not(.lp-btn) { display: none; } }

.lp-hero { position: relative; padding: 56px 0 64px; overflow: hidden; }
.lp-hero-glow { position: absolute; inset: 0 0 auto 0; height: 480px; pointer-events: none; background: radial-gradient(60% 50% at 50% 0%, rgba(14,124,134,.12), transparent); }
.lp-hero-grid { position: relative; display: grid; grid-gap: 48px; gap: 48px; align-items: center; }
@media (min-width: 900px) { .lp-hero { padding: 80px 0 96px; } .lp-hero-grid { grid-template-columns: 1.1fr 1fr; gap: 40px; } }
.lp-hero-copy { display: flex; flex-direction: column; gap: 22px; text-align: center; }
@media (min-width: 900px) { .lp-hero-copy { text-align: left; } }
.lp-hero-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; }
@media (min-width: 900px) { .lp-hero-actions { align-items: flex-start; } }
.lp-hero-sub { margin: 0; font-size: .9rem; color: #64748b; }
.lp-hero-sub a { color: #0e7c86; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

/* Mock de WhatsApp */
.lp-wa { max-width: 380px; margin: 0 auto; width: 100%; border: 1px solid #e6ebf2; border-radius: 24px; overflow: hidden; box-shadow: 0 20px 40px -20px rgba(15,23,42,.25); transform: rotate(1.5deg); background: #efeae2; }
.lp-wa-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #008069; color: #fff; }
.lp-wa-head p { margin: 0; font-weight: 600; font-size: .9rem; }
.lp-wa-head small { font-size: 11px; opacity: .8; }
.lp-wa-avatar { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.25); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.lp-wa-body { padding: 16px 12px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; line-height: 1.5; }
.lp-wa-in, .lp-wa-out { position: relative; max-width: 88%; padding: 8px 12px 18px; border-radius: 12px; box-shadow: 0 1px 1px rgba(0,0,0,.06); }
.lp-wa-in { background: #fff; border-top-left-radius: 2px; align-self: flex-start; }
.lp-wa-out { background: #d9fdd3; border-top-right-radius: 2px; align-self: flex-end; }
.lp-wa-in span, .lp-wa-out span { position: absolute; right: 10px; bottom: 4px; font-size: 10px; color: #64748b; }
.lp-wa-out u { color: #0e7c86; }
.lp-wa-foot { padding: 10px 12px 14px; display: flex; justify-content: center; }
.lp-wa-chip { font-size: 11px; font-weight: 600; color: #0e7c86; background: #eaf6f7; border-radius: 999px; padding: 4px 10px; }

.lp-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0 24px 16px; }
.lp-chip { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border: 1px solid #e6ebf2; border-radius: 999px; font-size: .875rem; font-weight: 500; background: #fff; }
.lp-chip svg { color: #0e7c86; }

.lp-section { padding: 64px 0; }
@media (min-width: 900px) { .lp-section { padding: 96px 0; } }
.lp-band { background: #f8fafc; }
.lp-intro { max-width: 640px; margin: 0 auto 48px; }
.lp-grid3 { display: grid; grid-gap: 24px; gap: 24px; margin-top: 40px; }
@media (min-width: 900px) { .lp-grid3 { grid-template-columns: repeat(3, 1fr); } }
.lp-card { border: 1px solid #e6ebf2; border-radius: 16px; background: #fff; padding: 24px; }
.lp-card h3 { margin: 0; font-size: 1.05rem; font-weight: 700; }
.lp-card p { margin: 12px 0 0; font-size: .9rem; color: #64748b; line-height: 1.6; }
.lp-card-head { display: flex; align-items: center; gap: 12px; }
.lp-num { width: 32px; height: 32px; border-radius: 50%; background: #eaf6f7; color: #0e7c86; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lp-icon { width: 44px; height: 44px; border-radius: 14px; background: #eaf6f7; color: #0e7c86; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }

/* Ejemplo: card que imita la página pública */
.lp-ejemplo { display: block; max-width: 440px; margin: 32px auto 0; border: 1px solid #e6ebf2; border-radius: 16px; overflow: hidden; text-align: left; box-shadow: 0 1px 3px rgba(15,23,42,.04); transition: box-shadow .2s; }
.lp-ejemplo:hover { box-shadow: 0 8px 24px -12px rgba(15,23,42,.25); }
.lp-ejemplo-top { display: flex; align-items: center; gap: 12px; padding: 16px; border-bottom: 1px solid #f1f5f9; }
.lp-ejemplo-top p { margin: 0; }
.lp-ejemplo-avatar { width: 36px; height: 36px; border-radius: 50%; background: #eaf6f7; color: #0e7c86; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.lp-ejemplo-nombre { font-weight: 600; font-size: .95rem; }
.lp-ejemplo-meta { font-size: .78rem; color: #64748b; }
.lp-ejemplo-badge { margin-left: auto; font-size: .75rem; color: #64748b; }
.lp-ejemplo-body { padding: 8px 16px 16px; }
.lp-ejemplo-linea { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #f1f5f9; font-size: .9rem; }
.lp-ejemplo-linea small { display: block; font-size: .72rem; color: #94a3b8; }
.lp-ejemplo-desc { font-size: .82rem; color: #047857; }
.lp-ejemplo-desc b { color: #047857; font-weight: 500; }
.lp-ejemplo-total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0 12px; }
.lp-ejemplo-total span { font-size: .78rem; color: #475569; }
.lp-ejemplo-total b { font-size: 1.25rem; }
.lp-ejemplo-btn { display: block; text-align: center; height: 44px; line-height: 44px; border-radius: 12px; background: #009ee3; color: #fff; font-weight: 600; }
.lp-ejemplo-foot { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px; background: #f8fafc; font-size: .85rem; font-weight: 600; color: #0e7c86; }

.lp-faq { max-width: 760px; }
.lp-faq-item { border: 1px solid #e6ebf2; border-radius: 12px; padding: 16px 20px; margin-top: 12px; }
.lp-faq-item summary { cursor: pointer; list-style: none; font-weight: 600; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lp-faq-item summary::-webkit-details-marker { display: none; }
.lp-faq-item summary svg { color: #94a3b8; transition: transform .2s; flex-shrink: 0; }
.lp-faq-item[open] summary svg { transform: rotate(90deg); }
.lp-faq-item p { margin: 12px 0 0; font-size: .9rem; color: #64748b; line-height: 1.6; }

.lp-final { background: #0f172a; color: #fff; padding: 64px 0; }
.lp-final .lp-h2 { color: #fff; }
.lp-final p { color: rgba(255,255,255,.7); font-size: 1.1rem; margin: 0 0 24px; }
.lp-final .lp-btn { background: #fff; color: #0f172a !important; }

.lp-footer { border-top: 1px solid #eaeef2; background: #f8fafc; padding: 40px 0; margin-top: auto; }
.lp-footer-grid { display: grid; grid-gap: 32px; gap: 32px; }
@media (min-width: 640px) { .lp-footer-grid { grid-template-columns: 1fr 1fr; } }
.lp-footer-brand { margin: 0 0 6px; font-weight: 700; font-size: 1.1rem; }
.lp-footer .lp-muted { margin: 0; font-size: .875rem; max-width: 320px; }
.lp-copy { margin: 12px 0 0; font-size: .75rem; color: #94a3b8; }
.lp-footer-title { margin: 0 0 10px; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: #94a3b8; }
.lp-footer div > a { display: block; font-size: .875rem; color: #475569; margin-bottom: 8px; }
.lp-footer div > a:hover { color: #0e7c86; }

