/* Wspólne dopracowanie witryny, 15.09.2026. */
.home-refined .living{padding-bottom:72px;background:#f2efeb}
.living-icon-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 36px;border-top:1px solid var(--line)}
.living-icon-link{display:grid;grid-template-columns:96px minmax(0,1fr) 22px;align-items:center;gap:20px;padding:36px 0;border-bottom:1px solid var(--line);color:var(--ink)}
.living-icon-link>.equipment-sketch{width:96px;height:84px}
.living-icon-link>span{font-size:clamp(17px,1.5vw,24px);font-weight:550;letter-spacing:-.025em;white-space:nowrap}
.living-icon-link:hover{color:#a64a0a}
.living-icon-link>.icon{width:22px;height:22px}
.newsletter-preview{height:auto;min-height:178px;padding:10px 10px 13px}
.newsletter-preview p{font-size:12px;line-height:1.4;letter-spacing:-.035em;padding:12px 0 0;white-space:nowrap;text-align:center}
.shop-page .shop-category-mark{display:none}
.shop-main-categories,.shop-main-categories-compact{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;border:0;margin:20px 0 28px}
.shop-main-categories>a,.shop-main-categories-compact>a{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;gap:12px;padding:18px 10px;border:1px solid #dfdbd6;border-radius:3px;background:#fff;text-align:center;font-size:14px;line-height:1.35;min-width:0}
.shop-main-categories>a>.equipment-sketch,.shop-main-categories-compact>a>.equipment-sketch{display:block;width:76px;height:66px;flex:none;color:inherit}
.shop-main-categories>a>.icon{display:none}
.shop-main-categories>a[aria-current]{color:#91420d;background:#f9f1e9;border-color:#c59470;box-shadow:none;font-weight:600}
.shop-main-categories>a:hover{background:#f5f3f0;color:#91420d}
.shop-load-more{display:flex;flex-direction:column;gap:16px;min-height:112px;margin-top:38px}
.shop-load-more>p{font-size:14px;color:var(--muted)}
.shop-load-more>button{min-width:240px;justify-content:center}
.shop-page :is(input,select):focus,.shop-page :is(input,select):focus-visible{outline:0;box-shadow:inset 0 -2px #52616b;border-color:#52616b}
:is(a,button,summary):focus:not(:focus-visible),[tabindex='-1']:focus{outline:none}
.shop-page :is(a,button):focus-visible{outline:2px solid #405562;outline-offset:4px}
.unified-contact{margin-block:64px;padding-inline:clamp(24px,4vw,60px);border-radius:3px}
.unified-contact .home-contact-intro>p:last-child{max-width:48ch;margin-top:20px;color:var(--muted);font-size:17px;line-height:1.7}
.info-map-panel{border:1px solid var(--line);border-radius:3px;overflow:hidden;background:#f2efeb;margin:32px 0}
.info-map-panel iframe{display:block;width:100%!important;height:370px!important;border:0!important;margin:0!important;filter:saturate(.65)}
.info-map-caption{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;gap:18px;font-size:15px}
.info-map-caption a{display:inline-flex;align-items:center;gap:12px;font-weight:600;white-space:nowrap}
.info-contact-button{margin:24px 0}
@media(max-width:1250px){.living-icon-link{grid-template-columns:72px minmax(0,1fr) 18px;gap:12px}.living-icon-link>.equipment-sketch{width:72px;height:64px}.newsletter-preview{min-height:150px}.newsletter-preview p{font-size:10px}.shop-main-categories>a{font-size:13px;padding:16px 8px}}
@media(max-width:1000px){.living-icon-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.shop-main-categories,.shop-main-categories-compact{display:flex;overflow-x:auto;scroll-snap-type:x proximity;gap:8px;padding-bottom:12px;scrollbar-width:thin}.shop-main-categories>a{flex:0 0 132px;scroll-snap-align:start;font-size:14px}.shop-main-categories>a>.equipment-sketch{width:70px;height:60px}}
@media(max-width:700px){.home-refined .living{padding-bottom:42px}.living-icon-grid{gap:0 18px}.living-icon-link{grid-template-columns:1fr 16px;gap:12px;padding:25px 0}.living-icon-link>.equipment-sketch{grid-column:1/-1;width:84px;height:72px}.living-icon-link>span{font-size:clamp(13px,3.6vw,19px);letter-spacing:-.03em}.living-icon-link>.icon{width:16px;height:16px}.shop-main-categories>a{flex-basis:120px;font-size:13px}.unified-contact{margin-block:40px;padding-inline:22px}.info-map-panel iframe{height:300px!important}.info-map-caption{align-items:start;flex-direction:column;padding:18px}}

.mp-hero-photo>img{aspect-ratio:16/9;object-fit:cover}

.info-empty-link{display:none!important}
select:focus,select:focus-visible{outline:0;box-shadow:inset 0 -2px #52616b}
.shop-swatch:has(input:focus-visible){outline-color:#405562}
@media(max-width:359px){.living-icon-grid{column-gap:12px}.living-icon-link{grid-template-columns:1fr 12px;gap:8px}.living-icon-link>span{font-size:12px}.living-icon-link>.icon{width:12px;height:12px}}
.info-original :is(span[style],font){font-family:inherit!important;font-size:inherit!important}

/* Instax caption has its own space; the full-frame photograph is revealed behind the footer. */
.newsletter-preview{height:auto;min-height:0;padding:12px 12px 22px;overflow:visible}
.newsletter-preview img{height:auto;aspect-ratio:1.25;object-fit:cover;display:block}
.newsletter-preview p{font-size:clamp(16px,1.25vw,22px);font-weight:600;line-height:1.3;white-space:normal;padding:14px 0 0;margin:0;text-align:center}
.newsletter-preview p strong{display:block;font-size:1.5em;font-weight:650;line-height:1.1;margin-top:4px}
html[data-footer-reveal]{background-color:#252c32;background-image:linear-gradient(0deg,#14233366,transparent),var(--maka-footer-image);background-position:center,center calc(57% + 28vh);background-size:cover;background-repeat:no-repeat;background-attachment:fixed}
.closing-photo{position:relative;height:clamp(110px,10vw,150px);margin:0;overflow:visible;clip-path:inset(0 0 -100vh);background:transparent;isolation:isolate}
.closing-photo:before{display:block!important;content:'';position:fixed;inset:auto 0 -28vh;height:100vh;background:linear-gradient(0deg,#14233366,transparent),var(--closing-image,url('assets/hero.webp')) center 57%/cover no-repeat;background-size:cover;z-index:-1}
.closing-photo p{bottom:24px;font-size:clamp(17px,1.4vw,22px)}
@media(max-width:700px){.closing-photo{height:105px}.closing-photo:before{background-position:center,60% 57%}html[data-footer-reveal]{background-position:center,60% calc(57% + 28vh)}}

.reading-return-links{display:flex;flex-wrap:wrap;gap:12px 20px;margin:32px 0 16px;padding-top:24px;border-top:1px solid #e0ddd8}.reading-return-links a{display:inline-flex;align-items:center;gap:16px;max-width:100%;min-height:48px;padding:12px 16px;border:1px solid #d3cec6;border-radius:3px;background:#f8f6f3;color:#252c32;font-size:15px;font-weight:550;line-height:1.45;text-decoration:none}.reading-return-links a:after{content:'↗';flex:none;font-size:21px}.reading-return-links a:hover{background:#f2efeb;border-color:#828a91}.reading-return-links a:focus-visible{outline:2px solid #405562;outline-offset:3px}@media(max-width:600px){.reading-return-links{flex-direction:column}.reading-return-links a{justify-content:space-between;width:100%}}

/* Category drawings inherit the same interactive accent as SOLID/CUBE. */
.equipment-sketch{color:inherit;transition:color .18s ease}
:is(.equipment-item,.living-icon-link,.shop-main-categories>a):is(:hover,:focus-visible){color:#a54804;--equipment-top:#fff3e8;--equipment-front:#f6deca;--equipment-side:#ebc2a4;--equipment-inner:#dca47d}
:is(.equipment-item,.living-icon-link,.shop-main-categories>a):is(:hover,:focus-visible)>.equipment-sketch{color:#a54804}
.equipment-sketch [fill]{transition:fill .18s ease}
@media(prefers-reduced-motion:reduce){.equipment-sketch,.equipment-sketch [fill]{transition:none}}

/* Compact realization previews keep captions within the first viewport. */
#realizacje .project-img{aspect-ratio:1.95;max-height:420px}
#realizacje .project-img img{object-position:center 53%}
@media(max-width:700px){#realizacje .project-img{aspect-ratio:1.6;max-height:300px}}

/* Mobile browser chrome must not switch hero layouts while scrolling. */
@media(max-width:700px){
 .home-refined .hero{height:var(--maka-hero-height,auto);min-height:calc(var(--maka-page-height,100svh) - var(--nav) - 16px);display:flex;align-items:center}
 .home-refined .hero-copy{height:auto;min-height:0;width:100%;flex-shrink:0;padding:28px 24px;justify-content:center}
 .home-refined .hero h1{font-size:clamp(36px,8.8vw,44px);margin-bottom:18px;line-height:1.12}
 .home-refined .hero-tag{font-size:13px;padding:8px 12px;margin-bottom:20px}
 .home-refined .hero-lead{font-size:16px;line-height:1.55;margin-bottom:20px}
 .home-refined .hero-bottom,.home-refined .hero-proof{display:none}
 .site-header{position:sticky}
}
@media(max-width:700px), (hover:none) and (pointer:coarse){
 .closing-photo{height:132px;overflow:hidden;clip-path:inset(0);background:transparent}
 .closing-photo:before{position:absolute;inset:0;height:100%;background-position:center,center 62%}
 .closing-photo p.corner{left:20px;bottom:16px;max-width:none;margin:0;padding:8px 20px 0 0;font-size:16px;line-height:1.4}
 .closing-photo p.corner:after{width:16px;height:16px;border-width:2px 2px 0 0}
 html[data-footer-reveal]{background:#252c32}
}
@media(max-width:380px){
 .home-refined .hero-copy{padding:24px 18px}
 .home-refined .hero h1{font-size:34px}
 .home-refined .hero-tag{font-size:12px}
}

.cart-empty-icon{display:grid;place-items:center;width:76px;height:76px;margin:24px 0;border:1px solid #cbd3d5;background:#f2efeb;color:#252c32}.cart-empty-icon .icon{width:36px;height:36px}

/* Wejscie do sklepu w sekcji wyposazenia. Kafelki kategorii sa do przegladania,
   ale klient, ktory chce zobaczyc calosc, nie mial dokad kliknac: na stronie
   glownej nie bylo zadnego linku do sklepu poza menu i stopka. */
.living-shop-cta{margin-top:34px;padding-top:30px;border-top:1px solid var(--line);display:flex;flex-direction:column;align-items:flex-start;gap:14px}
.living-shop-cta .button.primary{font-size:15px;min-height:52px;padding:14px 26px;gap:18px}
.living-shop-cta p{max-width:52ch;margin:0}
@media(max-width:700px){.living-shop-cta{margin-top:26px;padding-top:24px;gap:12px}.living-shop-cta .button.primary{width:100%;justify-content:space-between;font-size:14px;min-height:50px;padding:13px 18px}}
