/* ===== Dopasowanie do WordPressa / Astry ===== */
body.singer{background:var(--bg);color:var(--text);font-family:Barlow,system-ui,sans-serif;font-size:16px;line-height:1.55}
body.singer h1,body.singer h2,body.singer h3{font-family:"Barlow Condensed",Barlow,sans-serif;color:inherit;line-height:1.05;letter-spacing:.2px}
body.singer h4{color:inherit}
body.singer :where(a){color:inherit;text-decoration:none}
body.singer .entry-content a,body.singer .entry-content a:hover{text-decoration:none}
body.singer .entry-content :where(a){color:inherit}
body.singer .hero h1,body.singer .page-hero h1{color:#fff}
/* Nagłówek i stopka Astry ukryte: używamy własnych. */
body.singer #masthead,body.singer .site-header,body.singer #colophon,body.singer .site-footer{display:none!important}
body.singer .site-content > .ast-container{max-width:none;padding:0;display:block}
body.singer .site-main,body.singer #primary{margin:0!important;padding:0!important}
body.singer .entry-content{margin:0}
body.singer article.page,body.singer .ast-article-single{margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
body.singer .entry-header{display:none}
body.singer-custom .entry-content > *:not(section):not(div){max-width:var(--wrap);margin-left:auto;margin-right:auto}
/* Strony Elementora (np. Nowości, artykuły) pod ciemnym nagłówkiem strony. */
body.singer:not(.singer-custom):not(.home) #primary{max-width:var(--wrap);margin:0 auto!important;padding:40px 16px 72px!important}
body.singer .page-hero p{margin-bottom:0}

/* Menu z WordPressa */
.nav-list{display:flex;gap:4px;list-style:none;margin:0;padding:0}
.nav-list li{margin:0}
.nav-list a{display:block;color:#e3e5ea;font-weight:600;font-size:14.5px;padding:12px 14px;white-space:nowrap;border-bottom:3px solid transparent}
.nav-list a:hover,.nav-list .current-menu-item > a,.nav-list .current-page-ancestor > a,.nav-list .current_page_parent > a{color:var(--yellow);border-color:var(--yellow)}
.nav-list .hl > a{color:var(--yellow)}
nav.cats .wrap{overflow-x:auto;scrollbar-width:none}

/* Mapa w stopce jako link */
footer a.map{display:grid;color:#9aa0ab;font-weight:600}
footer a.map:hover{color:var(--yellow)}

/* Formularze Contact Form 7 w stylu makiety */
.wpcf7 form{margin:0}
.wpcf7 .field{display:block;margin-bottom:10px}
.wpcf7 input[type=text],.wpcf7 input[type=email],.wpcf7 input[type=tel],.wpcf7 textarea{width:100%;border:1.5px solid var(--line);border-radius:8px;padding:11px 13px;font:inherit;font-size:15px;background:#fafaf8;color:var(--text)}
.wpcf7 textarea{min-height:96px;height:110px;resize:vertical}
.wpcf7 input:focus,.wpcf7 textarea:focus{outline:2px solid var(--yellow);border-color:var(--ink)}
.wpcf7 .drop{flex-wrap:wrap}
.wpcf7 input[type=file]{font-size:13px;max-width:100%}
.wpcf7 input[type=submit]{width:100%;background:var(--ink);color:#fff;border:0;border-radius:8px;padding:14px 20px;font:inherit;font-weight:700;font-size:15px;cursor:pointer}
.wpcf7 input[type=submit]:hover{background:var(--ink-3)}
.wpcf7 .zgoda{display:block;font-size:12.5px;color:var(--muted);margin:4px 0 10px;line-height:1.4}
.wpcf7 .zgoda input{margin-right:6px}
.wpcf7-not-valid-tip{font-size:13px;margin-top:3px}
.wpcf7 form .wpcf7-response-output{margin:12px 0 0;border-radius:8px;font-size:14px;padding:10px 12px}
.wpcf7-spinner{display:none}
.ask .wpcf7 input[type=text],.ask .wpcf7 input[type=email],.ask .wpcf7 input[type=tel],.ask .wpcf7 textarea{background:#fff;border-color:#e6cf00}
.ask .wpcf7 .drop{background:#fff8bf;border-color:#d9c400}
.ask .wpcf7 .zgoda{color:#5a5000}
.brands .brand img{max-height:58px;max-width:86%;object-fit:contain}

/* Kolory i elementy, które Astra nadpisuje */
body.singer header.main .hphone,body.singer header.main .quote-btn{color:#fff}
body.singer header.main .hphone:hover{color:var(--yellow)}
body.singer .btn-y,body.singer .entry-content .btn-y{color:var(--ink)}
body.singer .btn-d,body.singer .entry-content .btn-d,body.singer .btn-o{color:#fff}
body.singer .btn-o:hover{color:var(--yellow)}
body.singer .hero p.lead{color:#c3c7cf}
body.singer .entry-content p{margin-bottom:0}
body.singer .entry-content .about .txt p{margin-bottom:14px}
body.singer .entry-content ul{margin:0}
body.singer .steps .step p{color:#a9aeb8}
body.singer .top a{color:#c9ccd3}
body.singer .top a:hover{color:var(--yellow)}
body.singer footer.singer-footer a{color:inherit}
body.singer footer.singer-footer a:hover{color:var(--yellow)}
body.singer footer.singer-footer .ph b{color:#fff}
body.singer .entry-content .hero p.lead{margin:18px 0 28px}
body.singer .entry-content .hero-card p,body.singer .entry-content .ask p{margin:6px 0 14px}
body.singer .entry-content .panel p{margin-bottom:20px}
body.singer .entry-content .cp-block h2{margin-bottom:12px}
.wpcf7 input[type=file]::file-selector-button{border:1.5px solid var(--line);background:#fff;border-radius:6px;padding:6px 10px;font:inherit;font-size:13px;font-weight:600;cursor:pointer;margin-right:8px}
.cbox .ph{color:var(--muted)} .cbox .ph b{color:var(--text)!important}
body.singer .mbar a{color:#fff}
body.singer .mbar a+a{color:var(--ink)}
body.singer .drawer .btn-y{color:var(--ink)}
body.singer #ast-scroll-top{background:var(--ink);color:var(--yellow);border-radius:8px}
@media (max-width:640px){body.singer #ast-scroll-top{bottom:70px}}

/* Producenci */
.filters{margin-bottom:20px}
.brand-cards .bcard .lg{background:#fff;border:1px solid var(--line);height:96px}
.brand-cards .bcard .lg img{max-height:70px;max-width:80%;object-fit:contain}
.bcard .op{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;margin:0}
.bcard.open .op{display:block;-webkit-line-clamp:unset}
.bcard .op-more{align-self:flex-start;background:none;border:0;padding:0;font:inherit;font-size:13.5px;font-weight:600;color:var(--muted);cursor:pointer;text-decoration:underline}
.bcard .more{margin-top:auto;align-self:flex-start}
.bcard.hide{display:none}
.bcard:target{outline:3px solid var(--yellow);outline-offset:2px}
.bcard{scroll-margin-top:150px}
.cat-brands{grid-template-columns:repeat(4,1fr)!important}
.cat-brands .brand{height:70px}
.cat-brands .brand:hover{border-color:var(--ink)}
@media (max-width:640px){.cat-brands{grid-template-columns:repeat(2,1fr)!important} .filters{flex-wrap:nowrap;overflow-x:auto;margin-left:-16px;margin-right:-16px;padding:0 16px 4px} .filters .chip{flex:none;white-space:nowrap}}
body.singer .chip,body.singer .chip:hover,body.singer .chip:focus{background:var(--card);color:var(--text);border:1.5px solid var(--line);border-radius:999px;padding:7px 14px;font-size:14px;font-weight:600;line-height:1.3;box-shadow:none}
body.singer .chip:hover{border-color:var(--ink)}
body.singer .chip.on,body.singer .chip.on:hover{background:var(--ink);color:#fff;border-color:var(--ink)}
body.singer .bcard h3{margin:0}
body.singer .bcard .op-more,body.singer .bcard .op-more:hover,body.singer .bcard .op-more:focus{background:none;color:var(--muted);border:0;padding:0;box-shadow:none}
body.singer footer.singer-footer ul{margin:0;padding:0;list-style:none}

.about-photo{margin:0}
.about-photo img{width:100%;height:auto;border-radius:14px;aspect-ratio:3/2;object-fit:cover;display:block;box-shadow:0 18px 40px -22px #0006}
.about-photo figcaption{font-size:13px;color:var(--muted);margin-top:8px}

/* Polityka prywatności i inne teksty prawne */
.legal{max-width:860px}
.legal .legal-date{color:var(--muted);font-size:14px;margin-bottom:10px!important}
body.singer .legal h2{font-size:26px;text-transform:uppercase;margin:34px 0 10px}
body.singer .legal p{margin:0 0 12px!important;font-size:16.5px}
body.singer .legal ul{list-style:disc;margin:0 0 14px 22px!important;padding:0}
body.singer .legal li{margin-bottom:6px;font-size:16.5px}
body.singer .legal a,body.singer .wpcf7 .zgoda a{text-decoration:underline!important;text-underline-offset:2px}

/* Opisy kategorii */
body.singer .entry-content .cp-block p + p{margin-top:12px}
.cp-more{color:var(--muted);font-size:15px!important}

/* Artykuły w Bazie porad */
.article .lead{font-size:19px!important;line-height:1.6;margin-bottom:8px!important}
.article .tbl{overflow-x:auto;margin:6px 0 14px}
.article table{border-collapse:collapse;width:100%;min-width:560px;font-size:15px;background:var(--card)}
.article th{background:var(--ink);color:#fff;text-align:left;padding:10px 12px;font-family:"Barlow Condensed";font-size:17px;text-transform:uppercase;letter-spacing:.3px}
.article td{padding:10px 12px;border-bottom:1px solid var(--line);vertical-align:top}
.article .note{background:#fffbe0;border-left:4px solid var(--yellow);padding:10px 14px;font-size:15px!important;border-radius:6px}
.article .see{color:var(--muted);font-size:15px!important;margin-top:18px!important}
.article .info-box{margin:26px 0}
.article .formula{font-family:"Barlow Condensed";font-size:28px!important;font-weight:700;text-align:center;background:var(--card);border:1px solid var(--line);border-radius:10px;padding:12px;margin:10px 0 14px!important}
.article sub{font-size:.65em}
body.singer .article h3.sub{font-size:21px;text-transform:none;margin:22px 0 6px;color:var(--ink)}
body.singer .article h3.sub::before{content:"";display:inline-block;width:10px;height:10px;background:var(--yellow);border-radius:2px;margin-right:8px;vertical-align:2px}

/* Grafiki okładek w Bazie porad: cała grafika, bez przycinania */
.acard .cover.img{aspect-ratio:1/1;background:#0c1726;position:relative;overflow:hidden;min-height:0}
.acard .cover.img img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;display:block;max-width:none}

/* Newsletter: pasek nad stopką */
.nl-band{background:var(--yellow);color:var(--ink);padding:36px 0;position:relative}
.nl-g{display:grid;grid-template-columns:1fr 1.15fr;gap:32px;align-items:center}
body.singer .nl-t h2{font-size:36px;line-height:1.02;text-transform:uppercase;margin:0 0 8px;color:var(--ink)}
.nl-t h2 em{font-style:normal;display:block}
.nl-t p{margin:0;font-size:16px;max-width:480px}
.nl-row{display:flex;gap:10px}
body.singer .nl-row input[type=email]{flex:1;min-width:0;height:52px;border:2px solid var(--ink);border-radius:8px;padding:0 14px;font:inherit;font-size:16px;background:#fff;color:var(--ink);margin:0}
body.singer .nl-btn{height:52px;padding:0 26px;border:0;border-radius:8px;background:var(--ink);color:var(--yellow);font:inherit;font-weight:700;font-size:16px;cursor:pointer;white-space:nowrap}
body.singer .nl-btn:hover{background:var(--ink-3);color:var(--yellow)}
.nl-zg{display:flex;gap:9px;align-items:flex-start;margin-top:12px;font-size:13px;line-height:1.45;cursor:pointer}
.nl-zg input{margin:2px 0 0;width:17px;height:17px;flex:none;accent-color:var(--ink)}
body.singer .nl-zg a{color:var(--ink);text-decoration:underline}
.nl-hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.nl-msg{margin-top:12px;padding:11px 14px;border-radius:8px;font-weight:600;font-size:14px;background:var(--ink);color:#fff}
.nl-msg.err{background:var(--red)}
@media (max-width:860px){.nl-g{grid-template-columns:1fr;gap:18px}body.singer .nl-t h2{font-size:30px}.nl-row{flex-direction:column}body.singer .nl-row input[type=email]{flex:none;width:100%}body.singer .nl-btn{width:100%}}
/* Strony MailPoeta */
body.singer-mp .site-content .ast-container{max-width:var(--wrap);padding:0 20px}
body.singer-mp .entry-content,body.singer-mp .entry-title{max-width:760px}
body.singer-mp .site-main{padding:40px 0 64px}
body.singer-mp .entry-content{font-size:17px;line-height:1.6}
body.singer-mp .entry-title{font-size:30px;margin-bottom:12px}
.wpcf7 .zgoda-nl{margin-top:-4px}
