/* 3rd Element – dodatki do skompilowanego Tailwinda */
:root{--te-navy:#0E1B4D;--te-green:#1EB564;--te-green-light:#2fc977;}
body{font-family:"Karla",sans-serif;}
[hidden]{display:none!important;}
.te-chevron svg{transition:transform .2s ease}
[aria-expanded="true"] .te-chevron svg,[aria-expanded="true"]>svg.te-rot{transform:rotate(180deg)}

/* Header */
#te-header.te-scrolled{background:rgba(255,255,255,.95);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:0 1px 0 0 rgba(0,0,0,.06)}
.te-dd{opacity:0;transform:translateY(8px);pointer-events:none;transition:opacity .2s ease,transform .2s ease}
.te-dd.te-open{opacity:1;transform:none;pointer-events:auto}
.admin-bar #te-header{top:32px}
@media (max-width:782px){.admin-bar #te-header{top:46px}}

/* Sticky product tabs */
.te-tabs{position:sticky;top:64px;z-index:40}
@media (min-width:1024px){.te-tabs{top:72px}}
.te-tabs.te-stuck{box-shadow:0 4px 6px -1px rgba(0,0,0,.1)}
section[id]{scroll-margin-top:140px}

/* Przyciski zakupu */
.te-buy{display:flex;gap:.75rem;flex-wrap:wrap;width:100%}
.te-buy a{flex:1 1 0;display:inline-flex;align-items:center;justify-content:center;gap:.6rem;font-family:"Archivo",sans-serif;font-weight:700;text-transform:uppercase;letter-spacing:.06em;border-radius:.75rem;text-decoration:none;transition:all .2s ease;white-space:nowrap}
.te-buy .te-btn-primary{background:var(--te-green);color:#fff}
.te-buy .te-btn-primary:hover{background:var(--te-green-light);box-shadow:0 0 30px rgba(30,181,100,.3)}
.te-buy .te-btn-secondary{border:1px solid rgba(255,255,255,.25);color:#fff;background:rgba(255,255,255,.05)}
.te-buy .te-btn-secondary:hover{background:rgba(255,255,255,.12)}
.te-buy-hero{margin-bottom:1.5rem}
.te-buy-hero .te-buy a{padding:1rem 1.5rem;font-size:14px}
.te-buy-kompakt .te-buy{justify-content:center}
.te-buy-kompakt .te-buy a{flex:0 1 auto;padding:1.1rem 2.2rem;font-size:15px}
.te-buy-karta{flex:1}
.te-buy-karta .te-buy{gap:.5rem}
.te-buy-karta .te-buy a{padding:.75rem .5rem;font-size:12px;letter-spacing:.04em}
.te-buy-karta .te-btn-secondary{border-color:#e5e7eb;color:#111827;background:#fff}
.te-buy-karta .te-btn-secondary:hover{background:#f9fafb}
.te-buy svg{width:18px;height:18px;flex-shrink:0}
.te-buy-note{width:100%;font-size:12px;opacity:.55;margin-top:.25rem}

/* Treść bloga */
.te-prose{color:rgba(14,27,77,.85);font-size:16px;line-height:1.75}
@media (min-width:1024px){.te-prose{font-size:17px}}
.te-prose p{margin:0 0 1rem}
.te-prose h2{font-family:"Archivo",sans-serif;font-weight:700;color:var(--te-navy);font-size:1.6rem;line-height:1.25;margin:2.5rem 0 1rem;letter-spacing:-.02em}
.te-prose h3{font-family:"Archivo",sans-serif;font-weight:700;color:var(--te-navy);font-size:1.3rem;margin:2rem 0 .75rem}
@media (min-width:1024px){.te-prose h2{font-size:1.9rem}.te-prose h3{font-size:1.5rem}}
.te-prose ul,.te-prose ol{margin:0 0 1rem 1.5rem}
.te-prose ul{list-style:disc}.te-prose ol{list-style:decimal}
.te-prose li{margin:.25rem 0}
.te-prose a{color:var(--te-green);text-decoration:underline;text-underline-offset:2px}
.te-prose strong{font-weight:700;color:var(--te-navy)}
.te-prose blockquote{border-left:4px solid var(--te-green);padding:.5rem 0 .5rem 1rem;margin:1rem 0;font-style:italic;color:rgba(14,27,77,.7)}
.te-prose img{max-width:100%;height:auto;border-radius:.75rem;margin:1.5rem auto}
.te-prose figure{margin:1.5rem 0}
.te-prose table{width:100%;border-collapse:collapse;margin:1.5rem 0;font-size:15px}
.te-prose th,.te-prose td{border:1px solid #e5e7eb;padding:.5rem .75rem;text-align:left}

/* Formularze – komunikaty */
.te-notice{padding:1rem 1.25rem;border-radius:.75rem;margin-bottom:1.25rem;font-size:15px}
.te-notice-ok{background:#ecfdf5;color:#065f46;border:1px solid #a7f3d0}
.te-notice-err{background:#fef2f2;color:#991b1b;border:1px solid #fecaca}
.te-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}

/* Paginacja bloga */
.te-pagination{display:flex;gap:.5rem;justify-content:center;margin-top:3rem;flex-wrap:wrap}
.te-pagination .page-numbers{min-width:2.5rem;height:2.5rem;display:inline-flex;align-items:center;justify-content:center;padding:0 .75rem;border:1px solid #e5e7eb;border-radius:.5rem;color:var(--te-navy);font-weight:600;font-size:14px}
.te-pagination .page-numbers.current{background:var(--te-green);border-color:var(--te-green);color:#fff}

/* Delikatne pojawianie się sekcji */
@media (prefers-reduced-motion:no-preference){
 .te-reveal{opacity:0;transform:translateY(24px);transition:opacity .6s cubic-bezier(.25,.46,.45,.94),transform .6s cubic-bezier(.25,.46,.45,.94)}
 .te-reveal.te-in{opacity:1;transform:none}
}

/* Klasy użyte w szablonach PHP, których nie było w projekcie */
.pb-14{padding-bottom:3.5rem}.pb-24{padding-bottom:6rem}
@media (min-width:1024px){.lg\:pt-32{padding-top:8rem}.lg\:pb-32{padding-bottom:8rem}}
