/*
Theme Name: Majster Parkiet
Description: Indywidualny motyw firmowy dla usług parkieciarskich.
Version: 1.5.0
Requires at least: 6.2
Requires PHP: 7.4
Author: Majster Parkiet
Text Domain: majster-parkiet
*/
:root{--ink:#302116;--gold:#e5ad50;--cream:#f8f4ed;--brown:#754015}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:95px}body{margin:0;background:var(--cream);color:var(--ink);font:16px/1.65 system-ui,-apple-system,sans-serif}a{color:inherit}img{max-width:100%;display:block}h1,h2,h3,p{margin:0 0 16px}h1,h2{font-family:Georgia,serif;line-height:1.13}h1{font-size:clamp(46px,6.6vw,88px);letter-spacing:-2px}h2{font-size:clamp(30px,3.8vw,48px);letter-spacing:-1px}h3{line-height:1.3;font-size:23px}h2:after{content:'';display:block;width:72px;height:4px;background:#ca8b29;margin-top:16px;border-radius:4px}.wrap{max-width:1240px;margin:auto;padding:0 30px}.head{position:sticky;top:0;z-index:10;background:#fffdf9;box-shadow:0 2px 12px #291b1014}.head .wrap{display:flex;align-items:center;justify-content:space-between;gap:22px;min-height:84px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-size:26px;font-weight:900;line-height:1.05;letter-spacing:-1px}.brand b{color:var(--brown)}.brand svg{width:53px;flex-shrink:0}.custom-logo{max-height:68px;width:auto}.nav{display:flex;gap:20px;align-items:center}.nav a{text-decoration:none;font-size:14px;font-weight:650}.nav a:hover{text-decoration:underline}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px 22px;background:var(--gold);color:#28180c;border:0;border-radius:6px;font:700 16px/1.4 system-ui;text-decoration:none;cursor:pointer}.btn:hover{filter:brightness(.93)}.phone{background:#71370f;color:#fff;white-space:nowrap}.outline{background:transparent;color:#fff;border:1px solid #fff}.toggle{display:none}.hero{background-color:#392519;background-position:center;background-size:cover;color:white;min-height:510px;display:grid;align-items:center}.hero .wrap{width:100%;padding-top:76px;padding-bottom:76px}.hero-copy{max-width:670px}.hero h1 span{color:var(--gold)}.hero h3{font-size:26px}.hero p{max-width:560px;font-size:18px}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:25px}.strip{background:linear-gradient(110deg,#3b2111,#75451f,#39210f);color:#fff}.strip .wrap{display:grid;grid-template-columns:repeat(4,1fr);padding-top:23px;padding-bottom:23px;gap:20px}.feature{display:flex;gap:12px;align-items:center;font-weight:700;line-height:1.3}.symbol{color:var(--gold);font-size:34px;line-height:1}.section{padding:65px 0}.section.alt{background:#eee5d8}.two{display:grid;grid-template-columns:1fr 1fr;gap:35px;align-items:center}.about-img{width:100%;height:280px;object-fit:cover;border-radius:14px}.services{display:grid;grid-template-columns:1fr 1fr;gap:20px}.service{background:#fffaf3;border:1px solid #e6d9c8;border-radius:16px;overflow:hidden;display:grid;grid-template-columns:34% 1fr;box-shadow:0 8px 20px #301b1009}.service img{width:100%;height:100%;object-fit:cover}.service-copy{padding:23px}.service ul{padding:0;list-style:none;margin:0}.service li{position:relative;padding-left:23px;margin:6px 0}.service li:before{content:'✓';position:absolute;left:0;color:#a96b11;font-weight:bold}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:23px}.step strong{display:block;color:#fff;background:#9c6527;width:56px;height:56px;display:grid;place-items:center;border-radius:50%;font-size:24px;margin-bottom:15px}.step h3{font-size:19px}.compare{position:relative;overflow:hidden;aspect-ratio: 1.8;background:#d7c6ae;border-radius:14px}.compare img{position:absolute;width:100%;height:100%;object-fit:cover}.compare .before{clip-path:inset(0 calc(100% - var(--split,50%)) 0 0)}.compare .line{position:absolute;top:0;bottom:0;left:var(--split,50%);width:3px;background:white;pointer-events:none}.compare .line:after{content:'↔';position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border-radius:50%;background:white;color:#392519;padding:8px 12px;font-weight:bold}.compare input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:ew-resize;margin:0}.compare:focus-within{outline:3px solid #9c6527}.tag{position:absolute;bottom:12px;background:#392519d9;color:white;padding:5px 12px;border-radius:4px;font-size:13px;font-weight:bold;pointer-events:none}.tag.left{left:12px}.tag.right{right:12px}.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:25px}.gallery img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px}.note{font-size:13px;color:#6b5848;margin-top:12px}.contact{background:linear-gradient(120deg,#382012,#75441f);color:#fff}.contact a{color:#fff}.contact .two{align-items:start}.contact form{background:#fffaf3;color:var(--ink);padding:25px;border-radius:12px}.contact label{display:block;font-weight:650;margin-bottom:12px}.contact input:not([type=checkbox]),.contact textarea{display:block;width:100%;padding:11px;border:1px solid #c9b9a7;border-radius:5px;font:inherit;background:white}.contact textarea{min-height:100px}.contact form a{color:var(--ink)}.contact .tel{font-size:32px;font-weight:bold;text-decoration:none}.footer{padding:22px 0;background:#24160e;color:#e9ddcf;font-size:13px}.notice{padding:10px;background:#eee1c5;color:#302116;border-radius:5px}.reveal{animation:appear .65s ease both}@keyframes appear{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.reveal{animation:none}}@media(max-width:950px){.toggle{display:block;background:none;border:1px solid #bca58b;border-radius:5px;padding:8px;font-size:22px}.nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fffdf9;padding:20px 30px;flex-direction:column;align-items:start}.nav.open{display:flex}.head .phone{margin-left:auto}.services,.two{grid-template-columns:1fr}.steps{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.wrap{padding-left:18px;padding-right:18px}.head .wrap{min-height:72px;gap:8px}.brand{font-size:19px}.brand svg{width:38px}.head .phone{font-size:12px;padding:9px}.hero{min-height:470px}.hero .wrap{padding-top:45px;padding-bottom:45px}.hero h3{font-size:22px}.strip .wrap{grid-template-columns:1fr 1fr;gap:18px}.feature{font-size:14px}.section{padding:42px 0}.service{grid-template-columns:1fr}.service img{height:170px}.gallery{grid-template-columns:1fr 1fr}.steps{gap:15px}.contact .tel{font-size:27px}}.admin-bar .head{top:32px}@media(max-width:782px){.admin-bar .head{top:46px}}

.mp-gallery-section{margin-top:42px}.mp-gallery-section [hidden]{display:none!important}.mp-filters{display:flex;flex-wrap:wrap;gap:8px}.mp-filters button{font:inherit;border:1px solid #a68b70;background:#fffaf3;color:var(--ink);border-radius:6px;padding:8px 15px;cursor:pointer}.mp-filters button[aria-pressed=true]{background:var(--brown);color:white}.mp-gallery-section .gallery a{overflow:hidden;border-radius:10px}.mp-gallery-section .gallery img{transition:transform .2s}.mp-gallery-section .gallery a:hover img{transform:scale(1.035)}.mp-more{display:flex;margin:24px auto 0}.mp-count{text-align:center;font-size:13px;margin:12px 0;color:#6b5848}.mp-lightbox{border:0;background:#20150f;color:white;width:min(94vw,1100px);max-width:94vw;max-height:94vh;padding:48px 45px 12px;border-radius:12px;position:fixed;overflow:auto}.mp-lightbox::backdrop{background:#000c}.mp-lightbox img{display:block;width:auto;max-width:100%;height:auto;max-height:75vh;object-fit:contain;margin:auto}.mp-lightbox button{position:absolute;background:#fff;color:#302116;border:0;border-radius:50%;width:36px;height:36px;font-size:25px;cursor:pointer;line-height:1}.mp-close{top:8px;right:8px}.mp-prev{left:5px;top:50%}.mp-next{right:5px;top:50%}.mp-light-count{text-align:center;margin:8px 0 0}.mp-gallery-section button:focus-visible,.mp-gallery-section a:focus-visible{outline:3px solid #b77c28;outline-offset:3px}

.mp-showcase{margin-top:42px}.mp-showcase [hidden]{display:none!important}.mp-showcase-stage{position:relative;background:#302116;border-radius:14px;overflow:hidden;aspect-ratio:16/9;touch-action:pan-y}.mp-showcase-slide{display:block;width:100%;height:100%;animation:mpFade .5s ease}.mp-showcase-slide img{width:100%;height:100%;object-fit:contain}.mp-showcase-stage button{position:absolute;top:50%;transform:translateY(-50%);border:0;border-radius:50%;width:44px;height:44px;background:#fffdf9;color:var(--ink);font-size:30px;line-height:1;cursor:pointer}.mp-showcase-prev{left:12px}.mp-showcase-next{right:12px}.mp-showcase-controls{display:flex;justify-content:center;align-items:center;gap:18px;margin-top:12px}.mp-showcase-controls button{font:inherit;background:#fffaf3;border:1px solid #a68b70;border-radius:6px;padding:5px 12px;cursor:pointer}.mp-showcase button:focus-visible,.mp-showcase a:focus-visible{outline:3px solid #b77c28;outline-offset:-3px}@keyframes mpFade{from{opacity:.35}to{opacity:1}}@media(prefers-reduced-motion:reduce){.mp-showcase-slide{animation:none}}@media(max-width:560px){.mp-showcase-stage{aspect-ratio:4/3}.mp-showcase-stage button{width:36px;height:36px}}

/* Square gallery previews; originals remain intact in lightbox. */
.mp-showcase-stage{aspect-ratio:1/1;width:100%;max-width:760px;margin-inline:auto}
.mp-showcase-slide img{object-fit:cover;object-position:center}
.mp-gallery-section .gallery img{aspect-ratio:1/1;height:auto;object-fit:cover;object-position:center}

.mp-slide-caption{box-sizing:border-box;max-width:760px;margin:12px auto 0;padding:18px 22px;background:#fffaf3;border:1px solid #e4d5c2;border-left:4px solid #b77c28;border-radius:10px;text-align:center;min-height:110px}.mp-slide-caption h4{font-family:Georgia,serif;font-size:clamp(20px,3vw,28px);color:#4d2c17;margin:0 0 5px;line-height:1.2}.mp-slide-caption p{margin:0;color:#64564a;line-height:1.5}.mp-slide-caption p:empty{display:none}.mp-showcase-stage{aspect-ratio:1/1}

.mp-transformations{margin-top:42px}.mp-transformation{margin:0 auto 28px;max-width:900px}.mp-transformation h4{font-family:Georgia,serif;font-size:23px;margin:12px 0;color:var(--brown)}.mp-compare-links{display:flex;justify-content:space-between;gap:12px;margin:10px 0;font-size:14px}.mp-compare-links a{color:var(--brown)}

.mp-catalog [hidden]{display:none!important}.mp-catalog h2,.mp-cat-intro,.mp-cat-note,.mp-cat-kicker{text-align:center}.mp-cat-kicker{font-size:12px;letter-spacing:2px;color:#865b32;font-weight:700}.mp-cat-intro{max-width:740px;margin:0 auto 24px}.mp-cat-filters,.mp-cat-controls{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin:20px 0}.mp-cat-filters button,.mp-cat-controls button{font:inherit;background:#fffaf3;border:1px solid #a68b70;border-radius:6px;padding:8px 16px;color:#4d2c17;cursor:pointer}.mp-cat-filters button[aria-pressed=true]{background:#75451f;color:#fff}.mp-cat-track{display:flex;overflow-x:auto;gap:18px;scroll-snap-type:x mandatory;overscroll-behavior-inline:contain;scrollbar-width:thin;padding:4px 2px 12px}.mp-cat-card{box-sizing:border-box;flex:0 0 calc((100% - 36px)/3);min-width:0;background:#fffdf9;border:1px solid #e4d5c2;border-radius:12px;overflow:hidden;scroll-snap-align:start}.mp-cat-card img{width:100%;aspect-ratio:1/1;object-fit:cover;display:block}.mp-cat-copy{padding:18px}.mp-cat-copy small{color:#865b32;font-size:12px;letter-spacing:.5px}.mp-cat-copy h3{margin:8px 0;font-size:22px;color:#4d2c17}.mp-cat-copy p{font-size:15px;line-height:1.55;margin:0}.mp-cat-note{font-size:13px;color:#64564a}.mp-cat-cta{text-align:center}.mp-catalog button:focus-visible,.mp-catalog a:focus-visible{outline:3px solid #b77c28;outline-offset:2px}@media(max-width:850px){.mp-cat-card{flex-basis:calc((100% - 18px)/2)}}@media(max-width:560px){.mp-cat-card{flex-basis:100%}}
