/* K2Fish Store UX rc199.9/rc199.13 · Stock › Pré-encomendas e «Avise-me» — só apresentação.
 * As regras e os dados são do Stock & Inventory. Especificidade com :not(#k2-b) para passar à frente da folha
 * inline do Stock (<style id="k2si-po">) sem depender da ordem. */

/* «Avise-me» (produto esgotado) — RC199.9: painel K2Fish (.k2ip), como o Clube K2Fish (proposta A, 27/11).
 * Os estilos do painel vêm de integration-panel.css; as regras abaixo repetem o essencial para a caixa
 * não perder o desenho se essa folha estiver desligada. */
html body .k2sux-po-wait:not(#k2-b){display:flex!important;flex-direction:column;gap:12px;clear:both;margin:16px 0 18px!important;padding:14px!important;background:#f6fafc!important;border:1px solid #dbe7ec!important;border-radius:2px!important;font-size:var(--k2fish-text-md,14.5px);line-height:1.5;color:var(--k2fish-color-text,#334155);text-align:left}
html body .k2sux-po-wait:not(#k2-b) > *{margin:0!important}
html body .k2sux-po-wait--panel:not(#k2-b) .k2ip__head{display:flex;align-items:flex-start;gap:10px}
html body .k2sux-po-wait--panel:not(#k2-b) .k2ip__icon{display:flex;flex:0 0 32px;width:32px;height:32px;align-items:center;justify-content:center;border-radius:2px;background:#e5f3fa;color:var(--k2fish-color-primary-ink,#0077c8)}
html body .k2sux-po-wait--panel:not(#k2-b) .k2ip__icon svg{display:block;width:18px;height:18px}
html body .k2sux-po-wait--panel:not(#k2-b) .k2ip__titles{display:block;flex:1 1 0%;min-width:0}
html body .k2sux-po-wait--panel:not(#k2-b) .k2ip__eyebrow{display:block;font-size:var(--k2fish-text-xs,12px);font-weight:800;line-height:1.3;letter-spacing:.09em;text-transform:uppercase;color:var(--k2fish-color-primary-ink,#0077c8)}
html body .k2sux-po-wait--panel:not(#k2-b) .k2ip__title{display:block;margin:1px 0 0!important;padding:0;border:0;font-family:Oswald,"Arial Narrow",Arial,sans-serif;font-size:var(--k2fish-text-xl,18px);font-weight:600;line-height:1.25;color:var(--k2fish-color-dark-surface,#253235)}
html body .k2sux-po-wait:not(#k2-b) .k2sux-po-wait__text{color:var(--k2fish-color-text,#334155);opacity:1}
html body .k2sux-po-wait:not(#k2-b) .k2sux-po-wait__row{display:flex!important;gap:0!important;margin:0!important;align-items:stretch}
html body .k2sux-po-wait:not(#k2-b) .k2sux-po-wait__row input[type="email"]{flex:1;min-width:0;height:var(--k2fish-btn-height,44px)!important;margin:0!important;padding:0 12px!important;border:1px solid var(--k2fish-color-border,#e5e7eb)!important;border-right:0!important;border-radius:var(--k2fish-btn-radius,2px) 0 0 var(--k2fish-btn-radius,2px)!important;box-shadow:none!important;background:#fff}
html body .k2sux-po-wait:not(#k2-b) .k2sux-po-wait__button{flex:0 0 auto;min-height:var(--k2fish-btn-height,44px)!important;height:auto;margin:0!important;padding:0 18px!important;border:1px solid var(--k2fish-action-primary-bg,#00bce4)!important;border-radius:0 var(--k2fish-btn-radius,2px) var(--k2fish-btn-radius,2px) 0!important;background:var(--k2fish-action-primary-bg,#00bce4)!important;color:var(--k2fish-action-primary-text,#fff)!important;font-size:var(--k2fish-btn-size,13px)!important;font-weight:var(--k2fish-btn-weight,700)!important;letter-spacing:var(--k2fish-btn-tracking,.04em)!important;text-transform:var(--k2fish-btn-case,uppercase)!important;box-shadow:none!important}
html body .k2sux-po-wait:not(#k2-b) .k2sux-po-wait__button:hover,html body .k2sux-po-wait:not(#k2-b) .k2sux-po-wait__button:focus-visible{background:var(--k2fish-action-primary-hover-bg,#0077c8)!important;border-color:var(--k2fish-action-primary-hover-bg,#0077c8)!important}
html body .k2sux-po-wait:not(#k2-b) .k2sux-po-wait__button:disabled{background:#f3f4f6!important;border-color:#e5e7eb!important;color:#9aa3ae!important}
html body .k2sux-po-wait:not(#k2-b) .k2sux-po-wait__row input[type="email"]{background:#fff!important;border-color:#dbe7ec!important}
html body .k2sux-po-wait:not(#k2-b) .k2sux-po-wait__row input[aria-invalid="true"]{border-color:var(--k2fish-color-danger,#b42318)!important}
html body .k2sux-po-wait:not(#k2-b) small{display:block;margin-top:-4px!important;font-size:var(--k2fish-text-xs,12px);color:var(--k2fish-color-muted,#64748b);opacity:1}
html body .k2sux-po-wait:not(#k2-b) output{display:block;margin-top:-4px!important;font-size:var(--k2fish-text-sm,13px);font-weight:700;color:var(--k2fish-color-ink,#15243a)}
html body .k2sux-po-wait:not(#k2-b) output:empty{display:none}
html body .k2sux-po-wait:not(#k2-b) output.is-error{color:var(--k2fish-color-danger,#b42318)}
/* Depois de enviar: o campo dá lugar à confirmação do Stock (estado posto por stock-waitlist.js) */
html body .k2sux-po-wait.is-done:not(#k2-b) .k2sux-po-wait__row,html body .k2sux-po-wait.is-done:not(#k2-b) small{display:none!important}
html body .k2sux-po-wait.is-done:not(#k2-b) output{margin-top:0!important;padding:10px 12px 10px 38px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%230077c8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat 12px 11px/18px 18px;border:1px solid #dbe7ec;border-radius:2px;font-size:var(--k2fish-text-md,14.5px);font-weight:400;line-height:1.5;color:var(--k2fish-color-ink,#15243a)}
@media (max-width:767px){html body .k2sux-po-wait:not(#k2-b) .k2sux-po-wait__row{flex-direction:column!important;gap:8px!important}html body .k2sux-po-wait:not(#k2-b) .k2sux-po-wait__row input[type="email"],html body .k2sux-po-wait:not(#k2-b) .k2sux-po-wait__button{width:100%!important;flex:0 0 auto!important;border-radius:2px!important}html body .k2sux-po-wait:not(#k2-b) .k2sux-po-wait__row input[type="email"]{border-right:1px solid #dbe7ec!important}html body .k2sux-po-wait:not(#k2-b) .k2sux-po-wait__row input[aria-invalid="true"]{border-right-color:var(--k2fish-color-danger,#b42318)!important}}

/* Caixa de pré-encomenda (produto e variações) — RC199.13: painel K2Fish (.k2ip), como o Clube K2Fish e o «Avise-me»
 * (mockup aprovado a 27/11). Cabeçalho do Store UX; o conteúdo (.k2si-po-box) é o do Stock, só restilizado. */
html body .k2sux-po--panel:not(#k2-b){display:flex!important;flex-direction:column;gap:12px;clear:both;margin:16px 0 18px!important;padding:14px!important;background:#f6fafc!important;border:1px solid #dbe7ec!important;border-radius:2px!important;font-size:var(--k2fish-text-md,14.5px);line-height:1.5;color:var(--k2fish-color-text,#334155);text-align:left}
html body .k2sux-po--panel:not(#k2-b) > *{margin:0!important}
html body .k2sux-po--panel:not(#k2-b) .k2ip__head{display:flex;align-items:flex-start;gap:10px}
html body .k2sux-po--panel:not(#k2-b) .k2ip__icon{display:flex;flex:0 0 32px;width:32px;height:32px;align-items:center;justify-content:center;border-radius:2px;background:#e5f3fa;color:var(--k2fish-color-primary-ink,#0077c8)}
html body .k2sux-po--panel:not(#k2-b) .k2ip__icon svg{display:block;width:18px;height:18px}
html body .k2sux-po--panel:not(#k2-b) .k2ip__titles{display:block;flex:1 1 0%;min-width:0}
html body .k2sux-po--panel:not(#k2-b) .k2ip__eyebrow{display:block;font-size:var(--k2fish-text-xs,12px);font-weight:800;line-height:1.3;letter-spacing:.09em;text-transform:uppercase;color:var(--k2fish-color-primary-ink,#0077c8)}
html body .k2sux-po--panel:not(#k2-b) .k2ip__title{display:block;margin:1px 0 0!important;padding:0;border:0;font-family:Oswald,"Arial Narrow",Arial,sans-serif;font-size:var(--k2fish-text-xl,18px);font-weight:600;line-height:1.25;color:var(--k2fish-color-dark-surface,#253235)}
html body .k2sux-po--panel:not(#k2-b) .k2sux-po__sub{display:block;margin-top:2px;font-size:var(--k2fish-text-xs,12px);color:var(--k2fish-color-muted,#64748b);opacity:1}
html body .k2sux-po--panel .k2si-po-box:not(#k2-b){display:flex;flex-direction:column;gap:12px;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;font-size:var(--k2fish-text-md,14.5px);color:var(--k2fish-color-text,#334155)}
html body .k2sux-po--panel .k2si-po-box:not(#k2-b) > *{margin:0!important}
html body .k2sux-po--panel .k2si-po-box:not(#k2-b) .k2si-po-when{display:none!important}
html body .k2sux-po--panel .k2si-po-box:not(#k2-b) .k2si-po-count{padding:10px 12px;background:#fff;border:1px solid #dbe7ec;border-radius:2px;font-size:var(--k2fish-text-sm,13px);font-weight:600;color:var(--k2fish-color-ink,#15243a)}
html body .k2sux-po--panel .k2si-po-box:not(#k2-b) .k2si-po-count span{display:block;height:6px;margin-top:6px;border-radius:0;background:#e5eef3;overflow:hidden}
html body .k2sux-po--panel .k2si-po-box:not(#k2-b) .k2si-po-count i{display:block;height:6px;background:var(--k2fish-color-primary-ink,#0077c8)}
html body .k2sux-po--panel .k2si-po-box:not(#k2-b) ul{display:grid;gap:6px;padding:0!important;list-style:none!important;font-size:var(--k2fish-text-sm,13.5px)}
html body .k2sux-po--panel .k2si-po-box:not(#k2-b) li{position:relative;margin:0!important;padding-left:24px;list-style:none!important}
html body .k2sux-po--panel .k2si-po-box:not(#k2-b) li::before{content:"";position:absolute;left:0;top:2px;width:16px;height:16px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%230077c8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/16px}
html body .k2sux-po--panel .k2si-po-box:not(#k2-b) .k2si-po-pay{display:grid;gap:6px;padding:0!important;border:0!important}
html body .k2sux-po--panel .k2si-po-box:not(#k2-b) .k2si-po-pay legend{margin:0 0 6px!important;padding:0;font-size:var(--k2fish-text-xs,12px);font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:var(--k2fish-color-muted,#64748b)}
html body .k2sux-po--panel .k2si-po-box:not(#k2-b) .k2si-po-opt{display:flex;gap:10px;align-items:flex-start;margin:0!important;padding:10px 12px!important;border:1px solid #dbe7ec!important;border-radius:2px!important;background:#fff!important;cursor:pointer}
html body .k2sux-po--panel .k2si-po-box:not(#k2-b) .k2si-po-opt:has(input:checked){border-color:var(--k2fish-color-primary-ink,#0077c8)!important;box-shadow:inset 0 0 0 1px var(--k2fish-color-primary-ink,#0077c8)}
html body .k2sux-po--panel .k2si-po-box:not(#k2-b) .k2si-po-opt input{flex:0 0 auto;margin:3px 0 0!important;accent-color:var(--k2fish-color-primary-ink,#0077c8)}
html body .k2sux-po--panel .k2si-po-box:not(#k2-b) .k2si-po-opt b{display:block;color:var(--k2fish-color-ink,#15243a)}
html body .k2sux-po--panel .k2si-po-box:not(#k2-b) .k2si-po-opt small{display:block;font-size:var(--k2fish-text-xs,12px);color:var(--k2fish-color-muted,#64748b);opacity:1}

/* Checkout: «Como quer receber?» (desenhado pelo Stock; só o alinhamento visual) */
html body .k2si-po-ship:not(#k2-b){padding:14px 16px;background:#fff;border:1px solid var(--k2fish-color-border,#e5e7eb);border-left:3px solid var(--k2fish-color-primary-ink,#0077c8);border-radius:0}
html body .k2si-po-ship:not(#k2-b) .k2si-po-opt{border:1px solid var(--k2fish-color-border,#e5e7eb);border-radius:var(--k2fish-btn-radius,2px)}
html body .k2si-po-ship:not(#k2-b) .k2si-po-opt:has(input:checked){border-color:var(--k2fish-color-primary-ink,#0077c8);background:#f3fbfe}
