/* Viktor 2026-10-29: pilot stron /content/ — TYLKO PODGLĄD.
   Każda reguła wymaga klasy html.vxcms-pv (ustawianej po ?vxcms=1, sessionStorage, tylko cms 3784/3867).
   Bez klasy plik nic nie robi. Brak reguł typu "#content *". */
html.vxcms-pv{--vx-bg:#f5f5f7;--vx-card:#fff;--vx-ink:#1d1d1f;--vx-text:#3a3a3c;--vx-muted:#6e6e73;--vx-line:#e5e5ea;--vx-red:#a31d1c;--vx-r:18px}

/* wspólne: tło + nagłówek strony */
html.vxcms-pv body.page-cms #wrapper{background:var(--vx-bg)}
html.vxcms-pv body.page-cms #wrapper .breadcrumb{background:transparent}
html.vxcms-pv body.page-cms #main .page-header{max-width:880px;margin:24px auto 0;padding:0 24px}
html.vxcms-pv body.page-cms #main .page-header h1{font-size:40px;line-height:1.1;font-weight:700;letter-spacing:-.02em;color:var(--vx-ink);text-align:left;margin:0 0 28px;text-transform:none}

/* ===== zwykła strona CMS (pilot: Dostawy 3784) ===== */
html.vxcms-pv body.cms-id-3784 #content.page-cms{background:transparent;max-width:880px;margin:0 auto 72px;padding:0 24px;text-align:left;font-size:17px;line-height:1.6;color:var(--vx-text)}
html.vxcms-pv body.cms-id-3784 #content.vxcms-wait{visibility:hidden}
html.vxcms-pv .vxcms-doc{display:flex;flex-direction:column;gap:20px}
html.vxcms-pv .vxcms-doc .vxcms-sec{background:var(--vx-card);border-radius:var(--vx-r);padding:44px 52px}
html.vxcms-pv .vxcms-doc p{margin:0 0 14px;font-size:17px;line-height:1.6;text-align:left;color:var(--vx-text)}
html.vxcms-pv .vxcms-doc p:last-child{margin-bottom:0}
html.vxcms-pv .vxcms-doc a{color:var(--vx-red);text-decoration:underline;text-underline-offset:2px}
html.vxcms-pv .vxcms-doc strong{color:var(--vx-ink);font-weight:700}
html.vxcms-pv .vxcms-doc .vxcms-intro p{font-size:19px;color:var(--vx-ink)}
html.vxcms-pv .vxcms-doc .vxcms-kicker{font-size:13px;line-height:1.3;font-weight:700;letter-spacing:.14em;color:var(--vx-red);margin:0 0 20px;text-align:left;text-transform:none}
html.vxcms-pv .vxcms-doc ul{list-style:none;margin:0;padding:0}
html.vxcms-pv .vxcms-doc .vxcms-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}
html.vxcms-pv .vxcms-doc .vxcms-options li{background:var(--vx-bg);border-radius:14px;padding:20px 22px;font-size:16px;line-height:1.5;color:var(--vx-text)}
html.vxcms-pv .vxcms-doc .vxcms-options li>strong:first-child{display:block;margin-bottom:6px;font-size:13px;letter-spacing:.06em}
html.vxcms-pv .vxcms-doc .vxcms-price{display:block;margin-top:10px;font-size:22px;color:var(--vx-red)!important;letter-spacing:-.01em}
html.vxcms-pv .vxcms-doc .vxcms-list li{padding:12px 0;border-top:1px solid var(--vx-line);font-size:17px}
html.vxcms-pv .vxcms-doc .vxcms-list li:last-child{border-bottom:1px solid var(--vx-line)}
html.vxcms-pv .vxcms-doc .vxcms-notice{background:var(--vx-ink)}
html.vxcms-pv .vxcms-doc .vxcms-notice .vxcms-kicker{color:#fff;opacity:.7}
html.vxcms-pv .vxcms-doc .vxcms-notice p,html.vxcms-pv .vxcms-doc .vxcms-notice strong{color:#fff}

/* ===== Creative Elements (pilot: HoReCa 3867) — tylko wskazane sekcje, bez ingerencji w widgety ===== */
html.vxcms-pv body.cms-id-3867 #main .page-header{max-width:1180px}
html.vxcms-pv body.cms-id-3867 #content.page-cms{background:transparent;max-width:1180px;margin:0 auto 72px;padding:0 24px}
html.vxcms-pv body.cms-id-3867 #content .elementor-top-section{border-radius:var(--vx-r);overflow:hidden;margin-bottom:20px}
html.vxcms-pv body.cms-id-3867 #content .elementor-top-section:not(.elementor-element-44b990e3){background-color:var(--vx-card)}
html.vxcms-pv body.cms-id-3867 #content .elementor-element-44b990e3{min-height:440px;padding:56px 0}
html.vxcms-pv body.cms-id-3867 #content .elementor-element-44b990e3 .elementor-element-328857d4 .elementor-heading-title{font-size:14px;line-height:1.3;letter-spacing:.18em;text-transform:uppercase;font-weight:700}
html.vxcms-pv body.cms-id-3867 #content .elementor-element-44b990e3 .elementor-element-4e14cad3 .elementor-heading-title{font-size:28px;line-height:1.35;max-width:760px;margin:0 auto;letter-spacing:-.01em}
@media (max-width:767px){
 html.vxcms-pv body.page-cms #main .page-header{margin-top:12px;padding:0 16px}
 html.vxcms-pv body.page-cms #main .page-header h1{font-size:30px;margin-bottom:20px}
 html.vxcms-pv body.cms-id-3784 #content.page-cms{padding:0 16px;margin-bottom:48px}
 html.vxcms-pv .vxcms-doc{gap:14px}
 html.vxcms-pv .vxcms-doc .vxcms-sec{padding:26px 22px;border-radius:16px}
 html.vxcms-pv .vxcms-doc p,html.vxcms-pv .vxcms-doc .vxcms-list li{font-size:16px}
 html.vxcms-pv .vxcms-doc .vxcms-intro p{font-size:17px}
 html.vxcms-pv .vxcms-doc .vxcms-options{grid-template-columns:1fr}
 html.vxcms-pv body.cms-id-3867 #content.page-cms{padding:0 12px}
 html.vxcms-pv body.cms-id-3867 #content .elementor-element-44b990e3{min-height:0;padding:44px 8px}
 html.vxcms-pv body.cms-id-3867 #content .elementor-element-44b990e3 .elementor-element-4e14cad3 .elementor-heading-title{font-size:18px;line-height:1.5}
}
/* v b: jeden krój w treści Dostaw + czytelność tekstu hero HoReCa */
html.vxcms-pv .vxcms-doc strong,html.vxcms-pv .vxcms-doc h2{font-family:inherit}
html.vxcms-pv body.cms-id-3867 #content .elementor-element-44b990e3 .elementor-heading-title{text-shadow:0 1px 12px rgba(0,0,0,.65)}
/* v c: mobile — szersza kolumna tekstu (mniej zagnieżdżonych marginesów), font bez zmian */
@media (max-width:767px){
 html.vxcms-pv body.page-cms #main .page-header{padding:0 14px}
 html.vxcms-pv body.cms-id-3784 #content.page-cms{padding:0 12px}
 html.vxcms-pv body.cms-id-3784 #wrapper>.container,html.vxcms-pv body.cms-id-3784 #main,html.vxcms-pv body.cms-id-3784 #content-wrapper{padding-left:0;padding-right:0;margin-left:0;margin-right:0}
 html.vxcms-pv .vxcms-doc .vxcms-sec{padding:24px 18px}
 html.vxcms-pv .vxcms-doc .vxcms-options li{padding:16px}
}
@media (max-width:767px){
 html.vxcms-pv body.cms-id-3784 #wrapper{padding-left:0;padding-right:0}
 html.vxcms-pv body.cms-id-3784 #wrapper .row{margin-left:0;margin-right:0}
}
/* ===== 2026-11 r1: wspólny szablon zwykłych stron CMS (html.vxcms-std = allowlista ?vxcms=1 lub próbka ?vxcms=2; bez CE). Tylko wygląd, treść i elementy bez zmian. ===== */
html.vxcms-std body.page-cms #content.page-cms{background:var(--vx-card);max-width:880px;margin:0 auto 72px;padding:48px 56px;border-radius:var(--vx-r);text-align:left;font-size:17px;line-height:1.65;color:var(--vx-text);box-shadow:none;border:0}
html.vxcms-std body.page-cms #content.page-cms :is(p,li,td,th,dd,dt,blockquote){font-family:inherit!important;font-size:17px!important;line-height:1.65!important;color:var(--vx-text)!important;text-align:left!important}
html.vxcms-std body.page-cms #content.page-cms :is(p,li,td,th,div)>:is(span,font){font-family:inherit!important;font-size:inherit!important;line-height:inherit!important;color:inherit!important;background:transparent!important}
html.vxcms-std body.page-cms #content.page-cms p{margin:0 0 16px!important}
html.vxcms-std body.page-cms #content.page-cms :is(h2,h3,h4){font-family:inherit!important;color:var(--vx-ink)!important;font-weight:700!important;letter-spacing:-.01em;text-align:left!important;text-transform:none!important;margin:36px 0 14px!important;line-height:1.25!important}
html.vxcms-std body.page-cms #content.page-cms h2{font-size:26px!important}
html.vxcms-std body.page-cms #content.page-cms :is(h3,h4){font-size:20px!important}
html.vxcms-std body.page-cms #content.page-cms>:first-child,html.vxcms-std body.page-cms #content.page-cms>:first-child>:first-child{margin-top:0!important}
html.vxcms-std body.page-cms #content.page-cms :is(strong,b){color:var(--vx-ink)!important;font-weight:700}
html.vxcms-std body.page-cms #content.page-cms a{color:var(--vx-red)!important;text-decoration:underline;text-underline-offset:2px;word-break:break-word}
html.vxcms-std body.page-cms #content.page-cms :is(ul,ol){margin:0 0 18px!important;padding-left:24px!important}
html.vxcms-std body.page-cms #content.page-cms li{margin:0 0 8px!important}
html.vxcms-std body.page-cms #content.page-cms img{max-width:100%;height:auto;border-radius:12px}
html.vxcms-std body.page-cms #content.page-cms table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse;margin:8px 0 24px;border:0!important;width:auto!important}
html.vxcms-std body.page-cms #content.page-cms :is(td,th){padding:12px 14px!important;border:0!important;border-bottom:1px solid var(--vx-line)!important;vertical-align:top;background:transparent!important}
html.vxcms-std body.page-cms #content.page-cms tr:first-child :is(td,th){color:var(--vx-ink)!important;font-weight:700}
html.vxcms-std body.page-cms #content.page-cms hr{border:0;border-top:1px solid var(--vx-line);margin:28px 0}
html.vxcms-std body.page-cms #content.page-cms iframe{max-width:100%}
@media (max-width:767px){
 html.vxcms-std body.page-cms #wrapper{padding-left:0;padding-right:0}
 html.vxcms-std body.page-cms #wrapper .row{margin-left:0;margin-right:0}
 html.vxcms-std body.page-cms #wrapper>.container,html.vxcms-std body.page-cms #main,html.vxcms-std body.page-cms #content-wrapper{padding-left:0;padding-right:0}
 html.vxcms-std body.page-cms #content.page-cms{margin:0 12px 48px;padding:26px 20px;border-radius:16px}
 html.vxcms-std body.page-cms #content.page-cms :is(p,li,td,th,dd,dt,blockquote){font-size:16px!important}
 html.vxcms-std body.page-cms #content.page-cms h2{font-size:22px!important}
 html.vxcms-std body.page-cms #content.page-cms :is(h3,h4){font-size:18px!important}
}
/* r2: jeden krój także w zagnieżdżonych spanach tekstu (tylko wewnątrz elementów tekstowych) + tabele na telefonie jako bloki */
html.vxcms-std body.page-cms #content.page-cms :is(p,li,td,th,h2,h3,h4,div) :is(span,font,strong,b,em){font-family:inherit!important}
html.vxcms-std body.page-cms #content.page-cms :is(p,li,td,th) :is(span,font){font-size:inherit!important}
html.vxcms-std body.page-cms #content.page-cms>div{font-family:inherit!important}
/* r3: font Inter (ładowany na każdej stronie; Noto Sans motywu ładuje się tylko na części stron, stąd zastępczy Arial w Regulaminie) */
html.vxcms-pv body.page-cms:not(.cms-id-3867) #content.page-cms,html.vxcms-pv body.page-cms:not(.cms-id-3867) #main .page-header h1{font-family:Inter,"Noto Sans",system-ui,-apple-system,sans-serif!important}
html.vxcms-std body.page-cms #content.page-cms h1{font-size:24px!important;line-height:1.3!important;color:var(--vx-ink)!important;margin:0 0 24px!important}
html.vxcms-std body.page-cms #content.page-cms .vx-gap{display:none!important}
html.vxcms-std body.page-cms #content.page-cms::after{content:"";display:table;clear:both}
html.vxcms-std body.page-cms #content.page-cms :is(table,img){float:none!important}
html.vxcms-std body.page-cms #content.page-cms table:has(img):not(:has(p)){display:block;width:100%!important;height:auto!important}
html.vxcms-std body.page-cms #content.page-cms table:has(img):not(:has(p)) :is(tbody,tr,td){display:block;width:100%!important;padding:0!important;border:0!important}
html.vxcms-std body.page-cms #content.page-cms table img{max-width:100%!important;height:auto!important}
html.vxcms-std body.page-cms #content.page-cms :is(td,th) p{margin:0 0 8px!important}
html.vxcms-std body.page-cms #content.page-cms td[colspan="2"]{font-weight:600;color:var(--vx-ink)!important;background:#fafafa!important}
@media (max-width:767px){
 html.vxcms-std body.page-cms #content.page-cms table:not(:has(img)){display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
 html.vxcms-std body.page-cms #content.page-cms table:not(:has(img))>tbody{display:table;min-width:620px}
 html.vxcms-std body.page-cms #content.page-cms table:not(:has(img)) :is(td,th){font-size:15px!important}
}
