/*
 * TeeRZeT V2 - small cross-page corrections that live in the PLUGIN so they apply to every V2 page at once (no need to edit each Elementor widget).
 * Loaded on the public site only (wp_enqueue_scripts), versioned with TZM_VER. Selectors are all scoped to .tz2 (the V2 page wrapper).
 */

/* 1. Accent words inside headings: the V2 base rule sets Manrope on every <em>, so "<em>wariant</em>" rendered as a sans italic.
      Headings use Fraunces; their emphasis must too. */
.tz2 h1 em,.tz2 h2 em,.tz2 h3 em{font-family:'Fraunces',Georgia,serif !important;font-style:italic}

/* 2. Newsletter forms (Promocja / Home / footer): custom checkbox in the V2 style instead of the browser's white default box. */
.tz2 .tz-news__consent input[type=checkbox]{appearance:none;-webkit-appearance:none;display:inline-grid;place-items:center;width:20px;height:20px;margin:1px 0 0;flex:0 0 auto;border:1.5px solid #7C8C82;border-radius:6px;background:transparent;cursor:pointer;transition:border-color .25s ease,background .25s ease}
.tz2 .tz-news__consent input[type=checkbox]::after{content:"";width:10px;height:6px;border-left:2px solid #08150F;border-bottom:2px solid #08150F;transform:translateY(-1px) rotate(-45deg) scale(0);transition:transform .2s cubic-bezier(.16,1,.3,1)}
.tz2 .tz-news__consent input[type=checkbox]:checked{background:#6FE3A6;border-color:#6FE3A6}
.tz2 .tz-news__consent input[type=checkbox]:checked::after{transform:translateY(-1px) rotate(-45deg) scale(1)}
.tz2 .tz-news__consent input[type=checkbox]:hover{border-color:#6FE3A6}
.tz2 .tz-news__consent input[type=checkbox]:focus-visible,.tz2 .tz-news__field input:focus-visible,.tz2 .tz-news__field button:focus-visible{outline:2px solid #6FE3A6;outline-offset:3px}
.tz2 .tz-news__field input{min-height:48px}
.tz2 .tz-news__field button{min-height:48px}

/* 3. Status lines written by the newsletter adapter: readable on the dark background, announced to screen readers via the form's aria-live region. */
.tz2 .tz-news__status{font-size:14px;line-height:1.5;font-weight:600}
.tz2 .tz-news__status:empty{display:none}

/* 4. Focus rings for keyboard users on the V2 pill buttons that had none. */
.tz2 .btn:focus-visible,.tz2 .tz-help__btn:focus-visible,.tz2 .tz-quote__btn:focus-visible,.tz2 .tz-cfg__btn:focus-visible,.tz2 .tz-quote__form input:focus-visible{outline:2px solid #6FE3A6;outline-offset:3px}
