/* Planul tău de tratament (configurator) – stiluri limitate la .cp-cfg */
.cp-cfg,.pdfdoc,.lb{--bg:#f6f4f0; --panel:#ffffff; --soft:#efebe3; --ink:#1b2433; --muted:#5d6472; --line:#e2ded6;
  --accent:#f6a02b; --accent-ink:#1b2433; --brown:#9a5a12; --navy:#1b2433;
  --ok:#3f6b3a; --ok-bg:#e7f0e4; --warn:#a8650c; --warn-bg:#fdf3e1; --bad:#b4372d; --bad-bg:#fbe8e5;
  --display:"Barlow Condensed","Arial Narrow",sans-serif; --body:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif;
  --logo-filter:none;}
.cp-cfg *{box-sizing:border-box}
.cp-cfg [hidden]{display:none!important}
.cp-cfg{background:var(--bg);color:var(--ink);font-family:var(--body);font-size:15px;line-height:1.5;
  padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px));padding-block:20px 48px}
.cp-cfg .wrap{max-width:1180px;margin:0 auto;display:flex;flex-direction:column;gap:22px}
.cp-cfg header{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:12px;border-bottom:1.5px solid var(--ink);padding-bottom:14px}
.cp-cfg header img{height:30px;width:auto;filter:var(--logo-filter)}
.cp-cfg header .t{text-align:right}
.cp-cfg header .t b{display:block;font-size:11px;letter-spacing:.22em;text-transform:uppercase}
.cp-cfg header .t span{font-size:13px;color:var(--muted)}
.cp-cfg h1{font-family:var(--display);font-weight:700;text-transform:uppercase;font-size:clamp(30px,5vw,44px);line-height:.98;margin:0;text-wrap:balance}
.cp-cfg h1 em{font-style:normal;color:var(--brown)}
.cp-cfg .lede{color:var(--muted);max-width:62ch;margin:8px 0 0}
.cp-cfg .grid{display:grid;grid-template-columns:minmax(0,420px) minmax(0,1fr);gap:22px;align-items:start}
@media (max-width:880px){.cp-cfg .grid{grid-template-columns:minmax(0,1fr)}}
.cp-cfg form{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:6px 20px 20px;display:flex;flex-direction:column}
.cp-cfg section.q{margin:0;padding:16px 0 14px;border-bottom:1px solid var(--line);min-width:0;display:flex;flex-direction:column;align-items:stretch}
.cp-cfg section.q:last-of-type{border-bottom:0}
.cp-cfg .head{display:flex;gap:10px;align-items:center;font-family:var(--display);font-weight:700;text-transform:uppercase;font-size:19px;padding:0;margin-bottom:10px}
.cp-cfg .head .n{width:24px;height:24px;border-radius:50%;background:var(--accent);color:var(--accent-ink);display:inline-flex;align-items:center;justify-content:center;font-size:14px}
.cp-cfg .hint{font-size:12.5px;color:var(--muted);margin:-4px 0 10px}
.cp-cfg .chips{display:flex;flex-wrap:wrap;gap:8px}
.cp-cfg .chips input{position:absolute;opacity:0;pointer-events:none}
.cp-cfg .chips label{border:1px solid var(--line);background:var(--bg);border-radius:999px;padding:7px 13px;font-size:13.5px;cursor:pointer;user-select:none;transition:background .15s,border-color .15s}
.cp-cfg .chips label:hover{border-color:var(--muted)}
.cp-cfg .chips input:checked+label{background:var(--ink);border-color:var(--ink);color:var(--bg)}
.cp-cfg .chips input:focus-visible+label{outline:2px solid var(--accent);outline-offset:2px}
.cp-cfg .chips.stack{flex-direction:column;align-items:stretch}
.cp-cfg .chips.stack label{border-radius:10px;padding:9px 13px}
.cp-cfg .chips.stack label small{display:block;font-size:12px;opacity:.75}
.cp-cfg .area{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.cp-cfg .area input{width:120px;font:600 22px var(--body);padding:6px 10px;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--ink);font-variant-numeric:tabular-nums}
.cp-cfg .area input:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
.cp-cfg .area span{color:var(--muted)}
.cp-cfg .sub{margin-top:12px;padding:12px;background:var(--soft);border-radius:10px}
.cp-cfg .sub p{margin:0 0 8px;font-size:13.5px;font-weight:600}
.cp-cfg .eco{display:flex;align-items:center;gap:10px;margin-top:16px;font-size:13.5px}
.cp-cfg .eco input{width:18px;height:18px;accent-color:var(--ok)}
.cp-cfg .res{display:flex;flex-direction:column;gap:16px;min-width:0}
.cp-cfg .summary{background:var(--navy);color:#fff;border-radius:14px;padding:18px 20px;display:flex;flex-wrap:wrap;gap:18px 28px;align-items:flex-end;justify-content:space-between}
.cp-cfg .summary h2{font-family:var(--display);text-transform:uppercase;font-size:24px;margin:0;line-height:1}
.cp-cfg .summary p{margin:4px 0 0;color:#b7bfcc;font-size:13px}
.cp-cfg .tot{text-align:right}
.cp-cfg .tot b{font-family:var(--display);font-size:30px;color:var(--accent);line-height:1;font-variant-numeric:tabular-nums}
.cp-cfg .tot span{display:block;font-size:12px;color:#b7bfcc}
.cp-cfg .alert{border-radius:12px;padding:12px 14px;font-size:13.5px;display:flex;gap:10px;align-items:flex-start}
.cp-cfg .alert b{display:block}
.cp-cfg .alert.warn{background:var(--warn-bg);color:var(--ink);border-left:4px solid var(--warn)}
.cp-cfg .alert.bad{background:var(--bad-bg);color:var(--ink);border-left:4px solid var(--bad)}
.cp-cfg .alert.ok{background:var(--ok-bg);color:var(--ink);border-left:4px solid var(--ok)}
.cp-cfg .step{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:16px 18px;display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 14px}
.cp-cfg .step .no{grid-row:span 3;width:34px;height:34px;border-radius:50%;background:var(--accent);color:var(--accent-ink);font:700 18px var(--display);display:flex;align-items:center;justify-content:center}
.cp-cfg .step .ph{font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:var(--brown);font-weight:700}
.cp-cfg .step h3{margin:0;font-family:var(--display);font-size:23px;text-transform:uppercase;line-height:1.05}
.cp-cfg .step h3 a{color:inherit;text-decoration:none;border-bottom:2px solid var(--accent)}
.cp-cfg .step h3 a:hover{color:var(--brown)}
.cp-cfg .step .why{color:var(--muted);font-size:13.5px;margin:2px 0 0}
.cp-cfg .figs{grid-column:2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:10px}
@media (max-width:520px){.cp-cfg .figs{grid-template-columns:minmax(0,1fr)}}
.cp-cfg .fig{background:var(--soft);border-radius:10px;padding:9px 11px}
.cp-cfg .fig small{display:block;font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}
.cp-cfg .fig b{font-size:15px;font-variant-numeric:tabular-nums}
.cp-cfg .fig span{display:block;font-size:12px;color:var(--muted)}
.cp-cfg .notes{grid-column:2;margin:10px 0 0;padding:0;list-style:none;display:flex;flex-direction:column;gap:5px;font-size:13px}
.cp-cfg .notes li{padding-left:16px;position:relative}
.cp-cfg .notes li::before{content:"";position:absolute;left:2px;top:calc(.8em - 3px);width:6px;height:6px;border-radius:50%;background:var(--accent)}
.cp-cfg .notes li.w::before{background:var(--bad)}
.cp-cfg .gal{grid-column:2;display:grid;grid-template-columns:repeat(var(--n,4),minmax(0,1fr));gap:8px;margin-top:12px}
@media (max-width:520px){.cp-cfg .gal{grid-template-columns:repeat(2,minmax(0,1fr))}}
.cp-cfg .gal figure{margin:0}
.cp-cfg .gal img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:8px;display:block}
.cp-cfg .gal figcaption{font-size:11.5px;color:var(--muted);margin-top:4px}
.cp-cfg .ex{display:flex;gap:12px;align-items:center;margin:12px 0 0;background:var(--soft);border-radius:10px;padding:8px}
.cp-cfg .ex img{width:132px;max-width:40%;aspect-ratio:4/3;object-fit:cover;border-radius:7px}
.cp-cfg .ex figcaption{font-size:12.5px;color:var(--muted)}
.cp-cfg .ex figcaption b{display:block;color:var(--ink)}
.cp-cfg .alt{grid-column:2;margin-top:8px;font-size:12.5px;color:var(--muted)}
.cp-cfg .alt a{color:var(--brown)}
.cp-cfg .pause{border:1px dashed var(--line);border-radius:12px;padding:10px 14px;font-size:13px;color:var(--muted)}
.cp-cfg .pause b{color:var(--ink)}
.cp-cfg .empty{background:var(--panel);border:1px dashed var(--line);border-radius:14px;padding:26px;color:var(--muted);text-align:center}
.cp-cfg .foot{font-size:12px;color:var(--muted);max-width:80ch}
.cp-cfg details.team{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:12px 18px;font-size:13px}
.cp-cfg details.team summary{cursor:pointer;font-weight:600}
.cp-cfg details.team li{margin:4px 0}
.cp-cfg .cta{display:flex;flex-wrap:wrap;gap:10px}
.cp-cfg .cta a{display:inline-flex;align-items:center;justify-content:center;text-align:center;min-height:44px;line-height:1;background:var(--accent);color:var(--accent-ink);font-weight:600;text-decoration:none;padding:0 20px;border-radius:999px;font-size:14px}
.cp-cfg .cta a.sec{background:transparent;color:var(--ink);border:1px solid var(--line)}
.cp-cfg section.q .head{cursor:pointer;width:100%;flex-wrap:wrap;row-gap:2px}
.cp-cfg section.q .head .n{order:0}
.cp-cfg section.q .head .qt{flex:1 1 auto;order:1}
.cp-cfg section.q .head .ed{order:2;margin-left:auto}
.cp-cfg section.q .head .sum{order:3}
.cp-cfg section.q .head .sum{display:none}
.cp-cfg section.q .head .ed{display:none;font:600 12.5px var(--body);text-transform:none;color:var(--brown);border-bottom:1px solid currentColor}
.cp-cfg section.q.closed{padding-bottom:12px}
.cp-cfg section.q.closed>:not(.head){display:none!important}
.cp-cfg section.q.closed .head{margin-bottom:0}
.cp-cfg section.q.closed .head .n{background:var(--ink);color:var(--bg)}
.cp-cfg section.q.closed .head .qt{font-size:15px;color:var(--muted)}
.cp-cfg section.q.closed .head .sum{display:block;flex-basis:100%;padding-left:34px;font:600 14px var(--body);text-transform:none;color:var(--ink)}
.cp-cfg section.q.closed .head .ed{display:inline}
.cp-cfg section.q:not(.closed) .head .n{box-shadow:0 0 0 4px rgba(246,160,43,.3)}
.cp-cfg .next{margin-top:14px;align-self:flex-start;background:var(--ink);color:var(--bg);border:0;border-radius:999px;padding:9px 18px;font:600 14px var(--body);cursor:pointer}
.cp-cfg .next:focus-visible,.cp-cfg section.q .head:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.cp-cfg .tiles{display:grid!important;grid-template-columns:1fr 1fr;gap:8px}
.cp-cfg .tiles label{display:flex!important;align-items:center;gap:10px;border-radius:12px!important;padding:10px 12px!important}
.cp-cfg .tiles label svg{width:28px;height:28px;flex:none}
.cp-cfg .sw{display:inline-block;width:16px;height:16px;border-radius:4px;margin-right:7px;vertical-align:-3px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.18)}
.cp-cfg .rec{font-style:normal;font-size:10.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;background:var(--ok-bg);color:var(--ok);border-radius:999px;padding:2px 7px;margin-left:4px;vertical-align:1px}
.cp-cfg .chips input:checked+label .rec{background:var(--accent);color:var(--accent-ink)}
.cp-cfg .swnote{font-size:11.5px;color:var(--muted);margin:8px 0 0}
.cp-cfg .save{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.cp-cfg .save button{font:600 14px var(--body);border-radius:999px;padding:10px 16px;cursor:pointer;border:1px solid var(--ink);background:var(--panel);color:var(--ink)}
.cp-cfg .save button.pri{background:var(--ink);color:var(--bg)}
.cp-cfg .save .ok{font-size:13px;color:var(--ok)}
.cp-cfg .print-only{display:none}
.pdfwrap{position:fixed;left:-12000px;top:0}
.cp-cfg.pdfdoc{width:100%;max-width:190mm;padding:6px;font-size:15px;line-height:1.5;background:#fff;color:#1b2433;
  --bg:#ffffff;--panel:#ffffff;--soft:#efebe3;--ink:#1b2433;--muted:#5d6472;--line:#e2ded6;--brown:#9a5a12;--navy:#1b2433;
  --ok:#3f6b3a;--ok-bg:#e7f0e4;--warn:#a8650c;--warn-bg:#fdf3e1;--bad:#b4372d;--bad-bg:#fbe8e5;display:flex;flex-direction:column;gap:12px}
.cp-cfg.pdfdoc .pdfhead{display:flex;justify-content:space-between;align-items:flex-end;border-bottom:1.5px solid #1b2433;padding-bottom:8px}
.cp-cfg.pdfdoc .pdfhead img{height:26px;filter:none}
.cp-cfg.pdfdoc .pdfhead b{display:block;font:700 20px var(--display);text-transform:uppercase;text-align:right}
.cp-cfg.pdfdoc .pdfhead span{font-size:12px;color:#5d6472}
.cp-cfg.pdfdoc .print-only{display:block;font-size:12px;border:1px solid #ccc;border-radius:8px;padding:8px 12px}
.cp-cfg.pdfdoc .print-only b{display:block}
.cp-cfg.pdfdoc .save,.cp-cfg.pdfdoc .cta,.cp-cfg.pdfdoc .noprint,.cp-cfg.pdfdoc .mine.empty{display:none!important}
.cp-cfg.pdfdoc .mine figure button,.cp-cfg.pdfdoc .mine h4 small{display:none}
.cp-cfg.pdfdoc .figs{grid-template-columns:repeat(3,minmax(0,1fr))}
.cp-cfg.pdfdoc .gal{grid-template-columns:repeat(4,minmax(0,1fr))}
.cp-cfg.pdfdoc .summary{color:#fff}
@media print{@page{size:A4;margin:14mm}
.cp-cfg{background:#fff;color:#111;padding:0}
.cp-cfg form,.cp-cfg .lede,.cp-cfg details.team,.cp-cfg .cta,.cp-cfg .save,.cp-cfg .noprint,.cp-cfg .mine.empty,.cp-cfg .mine figure button,.cp-cfg .mine h4 small,.cp-cfg .foot a,.cp-cfg header .t span{display:none!important}
.cp-cfg .grid{display:block}
.cp-cfg h1{font-size:26px}
.cp-cfg .print-only{display:block;font-size:12px;margin:0 0 10px;border:1px solid #ccc;border-radius:8px;padding:8px 12px}
.cp-cfg .print-only b{display:block;font-size:13px;margin-bottom:2px}
.cp-cfg .summary{background:#fff!important;color:#111!important;border:2px solid #111;-webkit-print-color-adjust:exact;print-color-adjust:exact}
.cp-cfg .summary p,.cp-cfg .tot span{color:#444!important}
.cp-cfg .tot b{color:#9a5a12!important}
.cp-cfg .step,.cp-cfg .alert,.cp-cfg .pause{break-inside:avoid;box-shadow:none}
.cp-cfg .gal img{max-height:90px}
.cp-cfg .step h3 a{border:0}}
.cp-cfg .eco-leaf{display:inline-flex;align-items:center;gap:4px;margin-left:10px;vertical-align:4px;background:var(--ok-bg);color:var(--ok);border-radius:999px;padding:3px 9px 3px 6px;font:700 11px var(--body);letter-spacing:.04em;text-transform:none}
.cp-cfg .eco-leaf svg{width:15px;height:15px}
.cp-cfg .eco-leaf.sm{margin:0 2px 0 0;padding:2px;vertical-align:0}
.cp-cfg.pdfdoc .eco-leaf{background:#e7f0e4;color:#3f6b3a}
.cp-cfg .cal{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:16px 18px;display:flex;flex-direction:column;gap:12px;break-inside:avoid}
.cp-cfg .cal h4{margin:0;font:700 20px var(--display);text-transform:uppercase}
.cp-cfg .cal ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:0}
.cp-cfg .cal ol li{display:grid;grid-template-columns:76px minmax(0,1fr);gap:12px;padding:9px 0;border-top:1px solid var(--line)}
.cp-cfg .cal ol li:first-child{border-top:0}
.cp-cfg .cal ol li>b{font:700 15px var(--display);text-transform:uppercase;color:var(--brown);padding-top:1px}
.cp-cfg .cal ol li div,.cp-cfg .cal .cond{display:flex;flex-direction:column;gap:2px;font-size:13.5px}
.cp-cfg .cal ol li span,.cp-cfg .cal .cond span{color:var(--muted)}
.cp-cfg .cal .cond{background:var(--soft);border-radius:10px;padding:10px 12px}
.cp-cfg .cal ul{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:6px;font-size:13.5px}
.cp-cfg .cal ul a{color:var(--brown)}
.cp-cfg .ex img,.cp-cfg .gal img,.cp-cfg .mine figure img{cursor:zoom-in;transition:transform .15s}
@media (hover:hover){.cp-cfg .ex img:hover,.cp-cfg .gal img:hover{transform:scale(1.04)}}
.cp-cfg .ex figcaption::after{content:"Apasă pe poză pentru mărire";display:block;font-size:11px;color:var(--brown);margin-top:3px}
.lb{position:fixed;inset:0;z-index:50;background:rgba(10,14,20,.86);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:max(16px,env(safe-area-inset-top,0px)) max(16px,env(safe-area-inset-right,0px)) max(16px,env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px));cursor:zoom-out}
.lb img{max-width:min(1100px,100%);max-height:82vh;border-radius:10px;box-shadow:0 10px 40px rgba(0,0,0,.5)}
.lb p{color:#e7eaf0;font-size:14px;margin:0;text-align:center}
.lb button{position:absolute;top:max(14px,env(safe-area-inset-top,0px));right:max(14px,env(safe-area-inset-right,0px));width:40px;height:40px;border-radius:50%;border:0;background:#fff;color:#111;font:700 22px/40px var(--body);cursor:pointer}
@media print{.cp-cfg .ex figcaption::after{display:none}}
.cp-cfg.pdfdoc .ex figcaption::after{display:none}
.cp-cfg .mine{background:var(--panel);border:1px dashed var(--line);border-radius:14px;padding:16px 18px;display:flex;flex-direction:column;gap:10px}
.cp-cfg .mine h4{margin:0;font:700 20px var(--display);text-transform:uppercase}
.cp-cfg .mine h4 small{font:500 12.5px var(--body);text-transform:none;color:var(--muted)}
.cp-cfg .mine p{margin:0;font-size:13px;color:var(--muted)}
.cp-cfg .mine-gal{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
@media (max-width:520px){.cp-cfg .mine-gal{grid-template-columns:repeat(3,minmax(0,1fr))}}
.cp-cfg .mine figure{margin:0;position:relative}
.cp-cfg .mine figure img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:8px;display:block}
.cp-cfg .mine figure button{position:absolute;top:4px;right:4px;width:24px;height:24px;border-radius:50%;border:0;background:rgba(0,0,0,.65);color:#fff;font:700 14px/24px var(--body);cursor:pointer;padding:0}
.cp-cfg .idf{display:grid;grid-template-columns:1fr 1fr;gap:10px}
@media (max-width:520px){.cp-cfg .idf{grid-template-columns:1fr}}
.cp-cfg .idf label{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:600;color:var(--muted)}
.cp-cfg .idf input{font:500 14px var(--body);padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--ink)}
.cp-cfg .idf input:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
.cp-cfg #pr-id:not(:empty)::before{content:"· "}
.cp-cfg .up{align-self:flex-start;display:inline-flex;align-items:center;gap:8px;border:1px solid var(--ink);border-radius:999px;padding:9px 16px;font:600 14px var(--body);cursor:pointer;background:var(--panel)}
.cp-cfg .up input{position:absolute;width:1px;height:1px;opacity:0}
.cp-cfg .up:focus-within{outline:2px solid var(--accent);outline-offset:2px}
@media (prefers-reduced-motion:reduce){.cp-cfg *{transition:none!important}}

/* Inside the Clean Pavings page: site look, no dark mode, lightbox above the sticky header */
.cp-cfg{padding:34px 0 60px;background:var(--bg);font-family:var(--body)}
.cp-cfg .wrap{padding-inline:20px}
.cp-cfg h1,.cp-cfg h2,.cp-cfg h3,.cp-cfg h4{letter-spacing:normal}
.cp-cfg a{text-decoration:none}
.lb{z-index:100000}
.lb img{cursor:zoom-out}
@media print{.cp-topbar,.cp-header,.cp-footer,.cp-chat,[class*="cpa-"],.cp-sticky-buy,#wpadminbar{display:none!important}.cp-cfg{padding:0;background:#fff}}

/* Photos block reads left-aligned (the generic .empty state centres text) */
.cp-cfg .mine.empty{text-align:left;padding:16px 18px;color:inherit}
/* Product name and the ECO line pill on one centred line */
.cp-cfg .step h3{display:flex;flex-wrap:wrap;align-items:center;column-gap:10px;row-gap:4px}
.cp-cfg .step h3 .eco-leaf{margin-left:0;vertical-align:0;line-height:1.2}
/* Step numbers: centred by line height (also exact in the PDF renderer) */
.cp-cfg .step .no{display:block;line-height:34px;text-align:center}
.cp-cfg .head .n{display:block;line-height:24px;text-align:center;flex:none}
/* Breadcrumb like on the other pages */
.cp-cfg .woocommerce-breadcrumb{font-family:Aptos,"Segoe UI",Arial,sans-serif;margin:0 0 -8px}
@media print{.cp-cfg .woocommerce-breadcrumb{display:none}}
