/*
Theme Name: Neteeo
Theme URI: https://neteeo.com
Author: Neteeo
Description: Motyw stron klientów Neteeo. Wygląd składany z warstw: styl, paleta, czcionki i warianty sekcji („przepis wyglądu”).
Requires at least: 6.6
Requires PHP: 8.1
Version: 0.3.0
Text Domain: neteeo
*/

/* ---------- Ogólne ---------- */
/* Najciemniejszy kolor palety (stopka, nakładki, ciemne sekcje) — w trybie ciemnym to tło, w jasnym tekst. Ustawia builder. */
:root { --nt-dark: var(--wp--custom--dark, var(--wp--preset--color--contrast)); --nt-on-dark: var(--wp--custom--on-dark, var(--wp--preset--color--base)); }
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }
img { height: auto; }
:target { scroll-margin-top: 90px; }
.wp-element-button { transition: background-color .2s, color .2s, transform .2s; }
.wp-element-button:hover { transform: translateY(-1px); }
.is-style-outline > .wp-element-button, .wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: currentColor; border: 1.5px solid currentColor; }

/* ---------- Nagłówek ---------- */
.nt-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--wp--preset--color--base) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--wp--preset--color--line); }
.nt-header .wp-block-site-title { font-family: var(--wp--preset--font-family--heading, inherit); font-weight: var(--wp--custom--heading-weight); letter-spacing: var(--wp--custom--heading-tracking); font-size: 1.25rem; margin: 0; }
.nt-header .wp-block-site-title a { color: var(--wp--preset--color--contrast); text-decoration: none; }
.nt-header .wp-block-navigation a { text-decoration: none; }
.nt-header .wp-block-navigation a:hover { color: var(--wp--preset--color--accent); }
.nt-header .wp-element-button { padding: .6em 1.2em; font-size: .95rem; }
.nt-header__row { padding-block: 1rem; }
.nt-header--centrum .nt-header__row { flex-direction: column; gap: .75rem; }
@media (max-width: 781px) { .nt-header .nt-header__cta { display: none; } }

/* ---------- Sekcje ---------- */
.nt-section { padding-top: var(--wp--custom--section-pad); padding-bottom: var(--wp--custom--section-pad); }
.nt-section.nt-alt { background: var(--wp--preset--color--base-2); }
.nt-section > * + * { margin-block-start: 1.25rem; }
.nt-center { text-align: center; }
.nt-center .wp-block-buttons { justify-content: center; }
.nt-eyebrow { font-size: .8rem !important; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--wp--preset--color--accent) !important; margin-bottom: .25rem !important; }
.nt-lead { font-size: var(--wp--preset--font-size--large); color: var(--wp--preset--color--contrast-2); max-width: 42rem; }
.nt-center .nt-lead { margin-left: auto; margin-right: auto; }
.nt-muted { color: var(--wp--preset--color--contrast-2); }
.nt-grid { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.nt-grid > * { margin: 0 !important; }
.nt-card { background: var(--wp--preset--color--base); border-radius: var(--wp--custom--radius); box-shadow: var(--wp--custom--shadow); padding: 1.75rem; }
.nt-alt .nt-card { background: var(--wp--preset--color--base); }
.nt-card h3 { margin-top: 0; }
.nt-card p { margin-bottom: 0; color: var(--wp--preset--color--contrast-2); }
.nt-card .wp-block-image { margin: -1.75rem -1.75rem 1.25rem; }
.nt-card .wp-block-image img { border-radius: var(--wp--custom--radius) var(--wp--custom--radius) 0 0; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.nt-rounded img, img.nt-rounded { border-radius: var(--wp--custom--radius); }
.nt-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--wp--custom--radius); }

/* Ozdobny panel, gdy nie ma zdjęcia */
.nt-art { min-height: 340px; border-radius: var(--wp--custom--radius); background:
  radial-gradient(circle at 25% 30%, color-mix(in srgb, var(--wp--preset--color--accent-2) 70%, transparent) 0 18%, transparent 19%),
  radial-gradient(circle at 75% 70%, color-mix(in srgb, var(--wp--preset--color--base) 25%, transparent) 0 26%, transparent 27%),
  linear-gradient(135deg, var(--wp--preset--color--accent), color-mix(in srgb, var(--wp--preset--color--accent) 55%, var(--wp--preset--color--contrast))); }

/* Hero */
.nt-hero { padding-top: var(--wp--preset--spacing--70); padding-bottom: var(--wp--preset--spacing--70); }
.nt-hero h1 { margin-top: 0; }
.nt-hero--obraz { position: relative; color: #fff; background-size: cover; background-position: center; min-height: min(78vh, 720px); display: flex; flex-direction: column; justify-content: center; }
.nt-hero--obraz::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--nt-dark) 85%, transparent), color-mix(in srgb, var(--nt-dark) 35%, transparent)); }
.nt-hero--obraz > * { position: relative; }
.nt-hero--obraz h1, .nt-hero--obraz .nt-lead, .nt-hero--obraz .nt-eyebrow { color: #fff !important; }
.nt-hero--obraz:not([style*="background-image"]), .nt-hero--karta:not([style*="background-image"]) { background: linear-gradient(135deg, var(--wp--preset--color--accent), var(--nt-dark)); }
.nt-hero--centrum h1 { max-width: 16ch; margin-left: auto; margin-right: auto; }
.nt-hero--centrum h1 em { font-style: normal; background: linear-gradient(transparent 62%, color-mix(in srgb, var(--wp--preset--color--accent-2) 55%, transparent) 62%); }
.nt-badges { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .95rem; color: var(--wp--preset--color--contrast-2); }
.nt-center .nt-badges { justify-content: center; }
.nt-hero--obraz .nt-badges { color: rgba(255,255,255,.85); }

/* Lista usług z numerami */
.nt-list { counter-reset: nt; display: grid !important; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 3rem; }
.nt-list > * { margin: 0 !important; counter-increment: nt; padding: 1.5rem 0 1.5rem 3.5rem; border-bottom: 1px solid var(--wp--preset--color--line); position: relative; }
.nt-list > *::before { content: counter(nt, decimal-leading-zero); position: absolute; left: 0; top: 1.55rem; font-weight: 700; color: var(--wp--preset--color--accent); font-family: var(--wp--preset--font-family--heading, inherit); }
.nt-list h3 { margin: 0 0 .35rem; }
.nt-list p { margin: 0; color: var(--wp--preset--color--contrast-2); }

/* Liczby */
.nt-band { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--on-accent); }
.nt-band h2, .nt-band p, .nt-band .nt-eyebrow, .nt-band .nt-lead { color: var(--wp--preset--color--on-accent) !important; }
.nt-band .wp-element-button { background: var(--wp--preset--color--on-accent); color: var(--wp--preset--color--accent); }
.nt-stats { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.5rem; }
.nt-stats > * { margin: 0 !important; }
.nt-stat-value { font-size: clamp(2.2rem, 5vw, 3.2rem) !important; font-weight: var(--wp--custom--heading-weight); line-height: 1; margin: 0 !important; font-family: var(--wp--preset--font-family--heading, inherit); }
.nt-stat-label { margin-top: .4rem !important; opacity: .85; }

/* Kroki */
.nt-steps { counter-reset: st; }
.nt-steps > .nt-card { counter-increment: st; }
.nt-steps > .nt-card::before { content: counter(st); display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 999px; background: var(--wp--preset--color--accent); color: var(--wp--preset--color--on-accent); font-weight: 700; margin-bottom: 1rem; }

/* Opinie */
.nt-quote { margin: 0; }
.nt-quote-text::before { content: "„"; }
.nt-quote-text::after { content: "”"; }
.nt-quote-author { font-weight: 600; color: var(--wp--preset--color--contrast) !important; margin-top: 1rem !important; }
.nt-quote-big .nt-quote-text { font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.35; font-family: var(--wp--preset--font-family--heading, inherit); }
.nt-stars { color: var(--wp--preset--color--accent-2); letter-spacing: .15em; margin-bottom: .5rem !important; }

/* FAQ */
.nt-faq .wp-block-details { border-bottom: 1px solid var(--wp--preset--color--line); padding: 1.1rem 0; margin: 0; }
.nt-faq summary { font-weight: 600; cursor: pointer; font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.nt-faq summary::-webkit-details-marker { display: none; }
.nt-faq summary::after { content: "+"; color: var(--wp--preset--color--accent); font-size: 1.4rem; line-height: 1; }
.nt-faq details[open] summary::after { content: "–"; }
.nt-faq details p { color: var(--wp--preset--color--contrast-2); margin: .75rem 0 0; }

/* CTA */
.nt-box { background: var(--wp--preset--color--base-2); border-radius: var(--wp--custom--radius); padding: clamp(2rem, 5vw, 3.5rem); border: var(--wp--custom--border) solid var(--wp--preset--color--line); }

/* Kontakt */
.nt-contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.nt-contact-list li { display: grid; grid-template-columns: 6.5rem 1fr; gap: .75rem; }
.nt-contact-list strong { color: var(--wp--preset--color--contrast-2); font-weight: 500; }
.nt-form { display: grid; gap: 1rem; background: var(--wp--preset--color--base); padding: clamp(1.25rem, 4vw, 2rem); border-radius: var(--wp--custom--radius); box-shadow: var(--wp--custom--shadow); border: 1px solid var(--wp--preset--color--line); }
.nt-form label { display: grid; gap: .35rem; font-size: .92rem; font-weight: 600; }
.nt-form input, .nt-form textarea { font: inherit; padding: .8rem .9rem; border: 1px solid var(--wp--preset--color--line); border-radius: min(var(--wp--custom--radius), 10px); background: var(--wp--preset--color--base); color: var(--wp--preset--color--contrast); }
.nt-form input:focus, .nt-form textarea:focus { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 1px; }
.nt-form .nt-hp { position: absolute; left: -9999px; }
.nt-form .nt-consent { font-size: .82rem; font-weight: 400; color: var(--wp--preset--color--contrast-2); }
.nt-form-ok { padding: 1rem 1.25rem; border-radius: var(--wp--custom--radius); background: color-mix(in srgb, var(--wp--preset--color--accent) 12%, var(--wp--preset--color--base)); }
.nt-form-err { padding: 1rem 1.25rem; border-radius: var(--wp--custom--radius); background: #fdecec; color: #8a2a2a; }

/* Stopka */
.nt-footer { background: var(--nt-dark); color: color-mix(in srgb, var(--nt-on-dark) 80%, transparent); font-size: .95rem; }
.nt-footer h2, .nt-footer h3, .nt-footer .wp-block-site-title a { color: var(--nt-on-dark); }
.nt-footer a { color: inherit; }
.nt-footer { padding-top: 3.5rem; padding-bottom: 1.5rem; }
.nt-footer .nt-footer__bottom { margin-top: 2.5rem; padding-top: 1.25rem;  border-top: 1px solid color-mix(in srgb, var(--nt-on-dark) 15%, transparent); font-size: .85rem; }

/* ---------- Tła sekcji (recipe.sections[].tone) ---------- */
.nt-section.nt-tone-jasny, .nt-hero.nt-tone-jasny { background: var(--wp--preset--color--base) !important; color: var(--wp--preset--color--contrast); }
.nt-section.nt-tone-alt, .nt-hero.nt-tone-alt { background: var(--wp--preset--color--base-2) !important; color: var(--wp--preset--color--contrast); }
.nt-tone-akcent { background: var(--wp--preset--color--accent) !important; color: var(--wp--preset--color--on-accent); }
.nt-tone-ciemny { background: var(--nt-dark) !important; color: var(--nt-on-dark); }
:is(.nt-tone-akcent, .nt-tone-ciemny, .nt-band) :is(h1, h2, h3, p, li, summary, .nt-eyebrow, .nt-lead, .nt-muted, .nt-quote-author, .nt-contact-list strong, .nt-contact-list a):not(.nt-card *, .nt-form *) { color: inherit !important; }
.nt-tone-akcent .nt-eyebrow, .nt-tone-ciemny .nt-lead, .nt-tone-akcent .nt-lead { opacity: .85; }
.nt-tone-ciemny .nt-eyebrow:not(.nt-card *) { color: var(--wp--preset--color--accent-2) !important; }
.nt-tone-akcent .wp-element-button:not(.nt-card *) { background: var(--wp--preset--color--on-accent); color: var(--wp--preset--color--accent); }
:is(.nt-tone-akcent, .nt-tone-ciemny) .is-style-outline .wp-element-button { color: inherit; }
:is(.nt-tone-akcent, .nt-tone-ciemny) .nt-faq .wp-block-details, :is(.nt-tone-akcent, .nt-tone-ciemny) .nt-list > *, :is(.nt-tone-akcent, .nt-tone-ciemny) .nt-price-item { border-color: color-mix(in srgb, currentColor 22%, transparent); }
.nt-card { color: var(--wp--preset--color--contrast); }

/* ---------- Hero: pełny i karta ---------- */
.nt-hero--pelny { padding: 0 !important; }
.nt-hero--pelny > .nt-hero__cols { max-width: none !important; margin: 0 !important; gap: 0 !important; }
.nt-hero--pelny .nt-hero__panel { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--on-accent); padding: clamp(2.5rem, 7vw, 6rem) clamp(1.5rem, 6vw, 5rem); height: 100%; display: flex; flex-direction: column; justify-content: center; }
.nt-hero--pelny .nt-hero__panel :is(h1, p, .nt-eyebrow, .nt-lead, .nt-badges) { color: inherit !important; }
.nt-hero--pelny .nt-hero__panel .wp-element-button { background: var(--wp--preset--color--on-accent); color: var(--wp--preset--color--accent); }
.nt-hero--pelny .nt-hero__panel .is-style-outline .wp-element-button { background: transparent; color: inherit; }
.nt-hero--pelny .wp-block-column { align-self: stretch; }
.nt-hero--pelny .nt-hero__img, .nt-hero--pelny .nt-hero__img img, .nt-hero--pelny .nt-art { margin: 0; height: 100%; min-height: min(72vh, 680px); width: 100%; object-fit: cover; border-radius: 0; }
.nt-hero--karta { position: relative; background-size: cover; background-position: center; min-height: min(80vh, 760px); display: flex; flex-direction: column; justify-content: center; }
.nt-hero__card { background: var(--wp--preset--color--base); color: var(--wp--preset--color--contrast); max-width: 620px; padding: clamp(1.75rem, 4vw, 3rem); border-radius: var(--wp--custom--radius); box-shadow: var(--wp--custom--shadow); }

/* ---------- Usługi naprzemiennie, ceny ---------- */
.nt-zigzag { margin-block: clamp(2rem, 5vw, 4rem) !important; gap: clamp(1.5rem, 5vw, 4rem) !important; }
.nt-zigzag h3 { margin-top: 0; font-size: var(--wp--preset--font-size--x-large, 1.8rem); }
.nt-price { font-weight: 700; color: var(--wp--preset--color--accent) !important; font-family: var(--wp--preset--font-family--heading, inherit); }
.nt-card .nt-price { margin-top: .75rem !important; }

/* ---------- Oś czasu ---------- */
.nt-timeline { counter-reset: tl; position: relative; max-width: 760px; margin-inline: auto !important; }
.nt-timeline::before { content: ""; position: absolute; left: 1.2rem; top: .5rem; bottom: .5rem; width: 2px; background: var(--wp--preset--color--line); }
.nt-step { counter-increment: tl; position: relative; padding: 0 0 2rem 4rem; margin: 0 !important; }
.nt-step::before { content: counter(tl); position: absolute; left: 0; top: 0; width: 2.4rem; height: 2.4rem; border-radius: 999px; display: grid; place-items: center; background: var(--wp--preset--color--accent); color: var(--wp--preset--color--on-accent); font-weight: 700; }
.nt-step h3 { margin: .3rem 0 .4rem; }
.nt-step p { margin: 0; color: var(--wp--preset--color--contrast-2); }

/* ---------- Cennik ---------- */
.nt-pricelist { max-width: 760px; margin-inline: auto !important; }
.nt-price-item { padding: 1rem 0; border-bottom: 1px solid var(--wp--preset--color--line); margin: 0 !important; }
.nt-price-row { display: flex; align-items: baseline; gap: 1rem; }
.nt-price-row::after { content: ""; order: 1; flex: 1; border-bottom: 1px dotted currentColor; opacity: .35; }
.nt-price-row > * { margin: 0 !important; }
.nt-price-row .nt-price { order: 2; white-space: nowrap; }
.nt-price-name { font-weight: 600; }
.nt-price-item .nt-muted { margin: .25rem 0 0 !important; font-size: .95rem; }
.nt-plan { display: flex; flex-direction: column; }
.nt-plan .nt-price { font-size: 1.9rem; line-height: 1.1; margin: .25rem 0 .75rem !important; }
.nt-plan .wp-block-buttons { margin-top: auto; padding-top: 1.25rem; }
.nt-plan--wyroznione { outline: 2px solid var(--wp--preset--color--accent); transform: translateY(-6px); }
.nt-features { padding-left: 1.2rem; margin: .75rem 0 0; color: var(--wp--preset--color--contrast-2); }
.nt-features li { margin: .3rem 0; }

/* ---------- Galeria ---------- */
.nt-gallery { display: grid !important; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.nt-gallery > * { margin: 0 !important; }
.nt-gallery img, .nt-gallery .nt-art { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--wp--custom--radius); min-height: 0; }
.nt-gallery--mozaika { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; }
.nt-gallery--mozaika > :first-child { grid-column: span 2; grid-row: span 2; }
.nt-gallery--mozaika img, .nt-gallery--mozaika .nt-art { aspect-ratio: auto; }
@media (max-width: 781px) { .nt-gallery--mozaika { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; } }

/* ---------- Tekst ---------- */
.nt-prose { max-width: 720px; margin-inline: auto !important; }
.nt-prose p { font-size: 1.1rem; line-height: 1.75; }
.nt-statement { font-family: var(--wp--preset--font-family--heading, inherit); font-size: clamp(1.6rem, 3.6vw, 2.6rem); line-height: 1.25; font-weight: var(--wp--custom--heading-weight); letter-spacing: var(--wp--custom--heading-tracking); max-width: 26ch; margin-inline: auto !important; }

/* ---------- Nagłówek: ciemny i w kolorze akcentu ---------- */
.nt-header--ciemny { background: var(--nt-dark); border-bottom-color: transparent; }
.nt-header--akcent { background: var(--wp--preset--color--accent); border-bottom-color: transparent; }
.nt-header--ciemny, .nt-header--ciemny :is(a, .wp-block-site-title a, .wp-block-navigation) { color: var(--nt-on-dark) !important; }
.nt-header--akcent, .nt-header--akcent :is(a, .wp-block-site-title a, .wp-block-navigation) { color: var(--wp--preset--color--on-accent) !important; }
.nt-header--akcent .wp-element-button { background: var(--wp--preset--color--on-accent); color: var(--wp--preset--color--accent) !important; }
.nt-header--ciemny .wp-block-navigation__responsive-container.is-menu-open, .nt-header--akcent .wp-block-navigation__responsive-container.is-menu-open { color: var(--wp--preset--color--contrast) !important; }

/* ---------- Nagłówek podstrony ---------- */
.nt-pagehead { padding-top: clamp(2.5rem, 7vw, 5.5rem); padding-bottom: clamp(2rem, 5vw, 4rem); background: var(--wp--preset--color--base-2); }
.nt-pagehead h1 { margin: 0; font-size: clamp(2.1rem, 5vw, 3.6rem); }
.nt-pagehead .nt-lead { margin-top: 1rem; }
.nt-pagehead--obraz { position: relative; color: #fff; background-size: cover; background-position: center; min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end; }
.nt-pagehead--obraz::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, color-mix(in srgb, var(--nt-dark) 85%, transparent), color-mix(in srgb, var(--nt-dark) 25%, transparent)); }
.nt-pagehead--obraz > * { position: relative; }
.nt-pagehead--obraz :is(h1, .nt-lead, .nt-eyebrow, .nt-crumbs, .nt-crumbs a) { color: #fff !important; }
.nt-crumbs { font-size: .88rem; color: inherit; opacity: .75; margin-bottom: 1rem; }
.nt-crumbs a { color: inherit; text-decoration: none; } .nt-crumbs a:hover { text-decoration: underline; }
.nt-crumbs span { opacity: .5; margin: 0 .35rem; }
.nt-tone-akcent .nt-crumbs, .nt-tone-ciemny .nt-crumbs { color: inherit; opacity: .8; }
.nt-header .wp-block-navigation__submenu-container { background: var(--wp--preset--color--base) !important; color: var(--wp--preset--color--contrast) !important; border: 1px solid var(--wp--preset--color--line) !important; border-radius: min(var(--wp--custom--radius), 10px); padding: .4rem 0; min-width: 220px !important; box-shadow: var(--wp--custom--shadow); }
.nt-header .wp-block-navigation__submenu-container a { color: var(--wp--preset--color--contrast) !important; padding: .45rem 1rem !important; }

/* ---------- Sklep (WooCommerce) — wygląd z przepisu: kolory, zaokrąglenia, czcionki ---------- */
.woocommerce-store-notice, p.demo_store { background: var(--nt-dark) !important; color: var(--nt-on-dark) !important; font-size: .9rem; }
.woocommerce-store-notice a { color: inherit !important; text-decoration: underline; }
.wc-block-product-template, ul.products { gap: clamp(1rem, 3vw, 2rem) !important; }
.wc-block-product, ul.products li.product { background: var(--wp--preset--color--base); border-radius: var(--wp--custom--radius); padding: .75rem .75rem 1.25rem !important; text-align: left !important; box-shadow: var(--wp--custom--shadow); border: 1px solid var(--wp--preset--color--line); transition: transform .2s; }
.wc-block-product:hover, ul.products li.product:hover { transform: translateY(-3px); }
.wc-block-product img, ul.products li.product img { border-radius: calc(var(--wp--custom--radius) * .7); }
.wc-block-product .wp-block-post-title, .wc-block-product h3, ul.products li.product .woocommerce-loop-product__title { font-family: var(--wp--preset--font-family--heading, inherit); font-size: 1.1rem !important; text-align: left !important; margin: .9rem 0 .35rem !important; }
.wc-block-product .wp-block-post-title a { color: var(--wp--preset--color--contrast); text-decoration: none; }
.wc-block-components-product-price, .woocommerce-Price-amount, ul.products li.product .price { color: var(--wp--preset--color--accent) !important; font-weight: 700; text-align: left !important; }
.wc-block-components-product-price del, .price del, .price del .woocommerce-Price-amount { color: var(--wp--preset--color--contrast-2) !important; font-weight: 400; opacity: .8; }
.wc-block-components-product-price ins, .price ins { text-decoration: none; }
.nt-omnibus { display: block; font-size: .78rem; font-weight: 400; line-height: 1.35; color: var(--wp--preset--color--contrast-2); margin-top: .3rem; }
.wc-block-product .wp-block-button, .wc-block-components-product-button { justify-content: flex-start !important; text-align: left !important; }
.wc-block-components-product-sale-badge, .onsale, span.onsale { background: var(--wp--preset--color--accent-2) !important; color: var(--nt-dark) !important; border: 0 !important; border-radius: var(--wp--custom--radius-button) !important; font-weight: 700; text-transform: uppercase; font-size: .72rem !important; padding: .3em .8em !important; min-height: 0 !important; line-height: 1.4 !important; }
.wp-block-woocommerce-product-image-gallery img, .woocommerce-product-gallery img { border-radius: var(--wp--custom--radius); }
.single-product .wp-block-post-title { font-size: clamp(2rem, 4vw, 3rem); }
.single-product .wp-block-woocommerce-product-price { font-size: 1.6rem; }
.wc-block-components-button:not(.is-link), .wp-block-woocommerce-proceed-to-checkout-block .wc-block-components-button, .single_add_to_cart_button, .wc-block-components-checkout-place-order-button { background: var(--wp--preset--color--accent) !important; color: var(--wp--preset--color--on-accent) !important; border-radius: var(--wp--custom--radius-button) !important; border: 0 !important; font-weight: 600; }
.wc-block-components-button:not(.is-link):hover, .single_add_to_cart_button:hover { filter: brightness(1.08); }
.wc-block-components-totals-wrapper, .wc-block-cart-items, .wc-block-components-sidebar .wc-block-components-panel, .wc-block-checkout__main .wc-block-components-checkout-step { border-color: var(--wp--preset--color--line) !important; }
.wc-block-components-text-input input, .wc-block-components-text-input textarea, .wc-block-components-combobox .wc-block-components-combobox-control input, .wc-blocks-components-select__select, .variations select, .quantity input { border-radius: min(var(--wp--custom--radius), 10px) !important; border-color: var(--wp--preset--color--line) !important; background: var(--wp--preset--color--base) !important; color: var(--wp--preset--color--contrast) !important; }
.wc-block-components-radio-control__option--checked-option-highlighted, .wc-block-components-radio-control-accordion-option--checked-option-highlighted { box-shadow: inset 0 0 0 2px var(--wp--preset--color--accent) !important; border-radius: min(var(--wp--custom--radius), 10px); }
.wc-block-mini-cart__button { color: inherit; } .wc-block-mini-cart__badge { background: var(--wp--preset--color--accent) !important; color: var(--wp--preset--color--on-accent) !important; }
.nt-products ul.products { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin: 0 !important; }
.nt-products ul.products::before, .nt-products ul.products::after { display: none !important; }
.nt-products ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; }
.nt-products .button, .nt-products .added_to_cart { display: inline-block; margin-top: .5rem; background: var(--wp--preset--color--accent); color: var(--wp--preset--color--on-accent) !important; border-radius: var(--wp--custom--radius-button); padding: .55em 1.1em; font-weight: 600; text-decoration: none; font-size: .9rem; }
.woocommerce-breadcrumb, .wc-block-breadcrumbs { font-size: .88rem; opacity: .75; }

/* Pasek wersji demo (wtyczka Neteeo) */
.nt-demo-bar { position: sticky; top: 0; z-index: 100; background: #0f1c2e; color: #fff; font: 500 13px/1.4 system-ui, sans-serif; text-align: center; padding: 8px 12px; }
.nt-demo-bar a { color: #8fd3ff; }
body:has(.nt-demo-bar) .nt-header { top: 36px; }
