/*
Theme Name: ISBERG Nordic
Description: Katalog producenta chemii ISBERG — przemysłowa typografia i północna prostota.
Version: 1.3.0
Requires at least: 6.6
Requires PHP: 8.0
Author: ISBERG
License: GPL-2.0-or-later
Text Domain: isberg-nordic
*/
@font-face{font-family:Barlow;src:url('assets/fonts/barlow-condensed-black.ttf') format('truetype');font-weight:900;font-style:normal;font-display:swap}
:root{--navy:#163447;--deep:#102a39;--ink:#102331;--stone:#edf1f2;--line:#c6d0d4;--orange:#d65d2a;--white:#fff;--body:Arial,Helvetica,sans-serif;--display:Anton,'Bahnschrift Condensed','Arial Narrow',sans-serif;--max:1280px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;background:var(--white);color:var(--ink);font:17px/1.5 var(--body);-webkit-font-smoothing:antialiased}img{display:block;max-width:100%;height:auto}a{color:inherit;text-decoration:none}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid var(--orange);outline-offset:5px}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:var(--display);font-weight:900;line-height:1.01;letter-spacing:-.025em}h1{font-size:clamp(55px,6.2vw,90px)}h2{font-size:clamp(42px,4.7vw,66px)}h3{font-size:32px}.wrap{width:min(var(--max),calc(100% - 96px));margin-inline:auto}.screen-reader-text,.skip-link{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip-link:focus{clip-path:none;width:auto;height:auto;z-index:100;background:#fff;padding:12px;top:8px;left:8px}.arrow{width:26px;height:26px;flex:none;vertical-align:middle}.site-header{background:var(--deep);color:#fff;border-bottom:1px solid #ffffff2b}.header-inner{min-height:98px;display:flex;align-items:center;justify-content:space-between;gap:32px}.brand{flex:none;display:block}.brand img{width:80px;height:auto}.site-header .brand img{filter:brightness(0) invert(1)}.main-menu .menu{display:flex;align-items:center;flex-wrap:wrap;gap:32px;list-style:none;margin:0;padding:0}.main-menu a{display:inline-block;font-size:17px;padding:16px 0;border-bottom:2px solid transparent}.main-menu a:hover,.main-menu .current-menu-item>a{border-color:var(--orange)}.main-menu .sub-menu{list-style:none;padding:8px 16px;position:absolute;background:var(--deep);z-index:10;display:none;min-width:200px}.main-menu li:hover>.sub-menu,.main-menu li:focus-within>.sub-menu{display:block}.nav-toggle{display:none;border:1px solid #ffffff60;background:none;color:#fff;padding:10px 14px}.nav-toggle span{margin-left:10px}.hero{display:grid;grid-template-columns:1fr 1fr;background:var(--navy);color:#fff}.hero-copy{padding:40px 40px 44px max(48px,calc((min(100vw,1800px) - var(--max))/2));align-self:center}.producer-line{font-size:17px;font-weight:600;line-height:1.4;margin:0 0 18px}.hero h1{font-size:clamp(74px,9vw,132px);line-height:.96;max-width:620px;margin-bottom:20px;letter-spacing:-.028em}.hero-intro{max-width:390px;font-size:22px;line-height:1.35;margin-bottom:26px}.button{display:inline-flex;align-items:center;justify-content:space-between;gap:30px;background:var(--orange);color:#fff;padding:15px 24px;font-size:19px;font-weight:700;min-height:56px;border:0}.button:hover{background:#b9481b}.hero-products{background:#f4f6f6;display:grid;grid-template-columns:1fr 1fr;align-items:center;padding:28px max(24px,calc((100vw - var(--max))/2)) 20px 20px;gap:0;min-height:550px;overflow:hidden}.hero-products a{min-width:0}.hero-products img{width:100%;max-height:485px;object-fit:contain;mix-blend-mode:multiply}.catalog{padding-block:36px 0}.catalog-heading{display:flex;align-items:center;justify-content:space-between;gap:32px;padding-bottom:24px;border-bottom:2px solid var(--navy)}.catalog-heading h1,.catalog-heading h2{margin:0;flex:1}.catalog-controls{width:440px;max-width:100%}.catalog-controls form{position:relative;display:flex}.catalog-controls input{border:1px solid #bfcbd0;border-radius:0;width:100%;height:48px;background:#f6f8f8;color:var(--ink);padding:10px 54px 10px 15px;font-size:16px}.catalog-controls form button{position:absolute;right:0;top:0;height:48px;width:48px;border:none;background:transparent;color:var(--navy);padding:13px}.catalog-controls form svg{width:22px;height:22px}.category-nav{display:flex;gap:25px;align-items:center;flex-wrap:wrap;padding-top:12px;font-size:16px}.category-nav a{padding:3px 0 5px;border-bottom:2px solid transparent}.category-nav a:hover,.category-nav a[aria-current]{border-color:var(--orange)}.category-shelf{display:grid;grid-template-columns:260px 1fr;padding-block:20px;border-bottom:1px solid var(--navy);gap:26px}.category-title{border-right:1px solid var(--line);padding:12px 20px 10px 0;display:flex;flex-direction:column;justify-content:center}.category-number{font:900 56px/1 var(--display);color:var(--orange);margin-bottom:6px}.category-title h3{font-size:42px;margin:0}.category-title a:hover{color:var(--orange)}.category-more{font-size:15px;display:flex;align-items:center;gap:8px;margin-top:24px}.shelf-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}.product-card{min-width:0;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);align-items:center;gap:14px}.product-photo{display:block;min-width:0}.product-photo img{width:100%;height:270px;object-fit:contain;transition:transform .2s ease}.product-photo:hover img{transform:translateY(-4px)}.product-card h3{font-size:29px;line-height:1.02;letter-spacing:-.02em;margin:0 0 3px}.product-card h3 a:hover{color:var(--orange)}.pack{font:900 29px/1.1 var(--display);margin:0 0 24px}.text-link{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #9baab1;padding:8px 0;font-size:15px;line-height:1.3}.text-link .arrow{color:var(--orange);width:22px;height:22px}.text-link:hover{color:var(--orange)}.product-card-copy{min-width:0}.producer-band{padding-block:30px;display:grid;grid-template-columns:1.45fr 1fr;gap:48px;align-items:center}.producer-band h2{font-size:clamp(36px,4.3vw,60px);margin:0}.producer-summary{display:flex;align-items:center;justify-content:space-between;gap:24px;border-left:1px solid var(--line);padding-left:32px;max-width:480px;font-size:17px}.producer-summary .arrow{color:var(--orange)}.shop-band{background:var(--navy);color:#fff}.shop-inner{padding-block:25px;display:flex;align-items:center;justify-content:space-between;gap:36px}.shop-inner h2{margin:0;font-size:clamp(40px,5vw,68px)}.shop-inner .button{flex:none;font-size:18px}.site-footer{padding-top:30px;display:flex;align-items:center;gap:40px;flex-wrap:wrap}.footer-description{font-size:15px;color:#4d626e;margin:0;flex:1}.site-footer address{border-left:1px solid var(--line);padding-left:32px;display:flex;flex-direction:column;font-size:14px;font-style:normal;line-height:1.5}.site-footer address span{font-weight:700}.site-footer address a:hover{text-decoration:underline}.footer-bottom{flex-basis:100%;display:flex;justify-content:space-between;border-top:1px solid var(--line);padding:16px 0;font-size:12px;color:#586c77}.breadcrumbs{display:flex;flex-wrap:wrap;gap:10px;font-size:13px;line-height:1.6;color:#5b707c;padding:24px 0}.breadcrumbs a:hover{text-decoration:underline}.catalog-page{padding-bottom:55px}.category-description{padding:24px 0 10px}.catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:40px;row-gap:20px;padding-top:20px}.catalog-grid .product-card{border-bottom:1px solid var(--line);padding:20px 0}.catalog-grid .product-photo img{height:300px}.catalog-grid .product-card-copy{max-width:250px}.catalog-grid .product-card h3{font-size:36px}.pagination{display:flex;justify-content:center;gap:12px;padding-top:35px;flex-wrap:wrap}.page-numbers{padding:9px 15px;border:1px solid var(--line)}.page-numbers.current{background:var(--navy);color:#fff}.empty-state{grid-column:1/-1;padding:45px 0}.empty-state h2{font-size:40px}.empty-state .text-link{max-width:220px}.page-content{padding-bottom:70px;min-height:55vh}.page-content>h1{margin:25px 0 45px}.prose{font-size:18px;line-height:1.7;max-width:820px}.prose h2{font-size:38px;line-height:1.1;margin:32px 0 16px}.prose p{margin-bottom:22px}.prose a{text-decoration:underline;text-decoration-color:var(--orange);text-underline-offset:4px}.prose a:hover{color:var(--orange)}.product-page{padding-bottom:65px}.product-overview{display:grid;grid-template-columns:1fr 1fr;gap:75px;align-items:center;padding:30px 0 65px}.single-photo{background:#fff;padding:20px}.single-photo img{max-height:580px;width:100%;object-fit:contain}.product-intro h1{font-size:clamp(52px,5.8vw,82px);margin-bottom:10px}.single-pack{font:900 44px/1.1 var(--display);margin-bottom:25px}.product-intro .prose{max-width:520px}.purchase-note{font-size:13px;color:#5b707c;margin-top:14px}.document-link{max-width:420px;margin-top:20px}.product-details{border-top:1px solid var(--line);padding-top:20px;display:grid;grid-template-columns:1.3fr 1fr;gap:75px}.parameters{padding:24px 0}.parameters h2{font-size:38px}.parameters dl{margin:0}.parameters dl>div{display:grid;grid-template-columns:1fr 1.2fr;gap:20px;padding:13px 0;border-bottom:1px solid var(--line);font-size:15px}.parameters dt{color:#516976}.parameters dd{margin:0}.photo-empty{display:flex;align-items:center;justify-content:center;min-height:200px;background:var(--stone);padding:24px;font-size:18px}.wp-block-image img{max-width:100%}body.admin-bar .site-header{position:relative}
@media(min-width:1700px){.hero{max-width:1800px;margin-inline:auto}.hero-copy{padding-left:calc((1800px - var(--max))/2)}.hero-products{padding-right:calc((1800px - var(--max))/2)}}
@media(max-width:1100px){.wrap{width:calc(100% - 64px)}.hero-copy{padding-left:32px;padding-right:24px}.hero h1{font-size:100px}.hero-products{padding-right:20px;min-height:500px}.main-menu .menu{gap:20px}.category-shelf{grid-template-columns:210px 1fr;gap:20px}.category-title h3{font-size:36px}.shelf-products{gap:22px}.product-card{grid-template-columns:1fr;gap:0}.product-card-copy{padding:0 10px 10px}.product-photo img{height:225px}.pack{margin-bottom:12px}.catalog-controls{width:380px}.catalog-heading h2{font-size:58px}.producer-band{gap:24px}.producer-summary{padding-left:24px}}
@media(max-width:900px){.header-inner{min-height:90px}.nav-toggle{display:block}.main-menu{display:none;position:absolute;top:90px;left:0;right:0;background:var(--deep);z-index:20;border-top:1px solid #ffffff40}.site-header{position:relative}.main-menu.is-open{display:block}.main-menu .menu{display:block;padding:15px 32px}.main-menu a{padding:12px 0}.main-menu .sub-menu{position:static;display:block;padding-left:20px}.hero h1{font-size:86px}.hero-intro{font-size:19px}.hero-copy{padding-block:34px}.hero-products{min-height:460px;padding-left:8px;padding-right:8px}.catalog-heading{align-items:flex-start}.catalog-heading h2{font-size:50px}.catalog-controls{width:330px}.category-shelf{grid-template-columns:185px 1fr}.category-title h3{font-size:33px}.category-number{font-size:46px}.producer-band{grid-template-columns:1fr}.producer-summary{max-width:none;border-left:0;padding-left:0}.producer-band h2{font-size:48px}.shop-inner h2{font-size:48px}.product-overview,.product-details{gap:36px}.catalog-grid .product-card h3{font-size:32px}}
@media(max-width:650px){.wrap{width:calc(100% - 36px)}.header-inner{min-height:82px}.brand img{width:62px}.main-menu{top:82px}.main-menu .menu{padding:15px 20px}.hero{grid-template-columns:1fr}.hero-copy{padding:35px 22px 36px}.hero h1{font-size:clamp(68px,17.3vw,95px);max-width:530px;margin-bottom:18px}.producer-line{font-size:14px;margin-bottom:14px}.hero-intro{font-size:19px;max-width:340px;margin-bottom:24px}.button{min-height:52px;font-size:17px;padding:13px 18px;gap:24px}.hero-products{min-height:0;height:300px;padding:10px 18px;align-items:center}.hero-products img{height:280px;width:100%}.catalog{padding-top:27px}.catalog-heading{display:block;padding-bottom:18px}.catalog-heading h1,.catalog-heading h2{font-size:46px;margin-bottom:20px}.catalog-controls{width:100%}.category-nav{gap:24px;font-size:14px}.category-shelf{grid-template-columns:1fr;gap:18px;padding:22px 0 24px}.category-title{display:flex;flex-direction:row;align-items:baseline;justify-content:flex-start;gap:14px;border-right:0;padding:0}.category-title h3{font-size:34px}.category-number{font-size:34px;margin:0}.category-more{margin:0 0 0 auto;font-size:12px}.category-more .arrow{display:none}.shelf-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.product-photo img{height:200px}.product-card-copy{padding:6px 0 0}.product-card h3{font-size:25px;line-height:1.04}.pack{font-size:25px;margin-bottom:12px}.text-link{font-size:13px;padding:9px 0;gap:4px}.text-link .arrow{width:18px;height:18px}.producer-band{padding:26px 0;gap:18px}.producer-band h2{font-size:40px}.producer-summary{font-size:16px;gap:20px;line-height:1.4}.shop-inner{display:block;padding-block:25px}.shop-inner h2{font-size:43px;margin-bottom:20px}.site-footer{padding-top:25px;gap:24px}.footer-description{font-size:12px;flex-basis:calc(100% - 100px);flex-grow:0}.site-footer address{padding-left:0;border:0;margin-top:2px}.footer-bottom{font-size:11px}.breadcrumbs{font-size:11px;padding:20px 0}.page-content>h1{font-size:54px;margin-bottom:30px}.prose{font-size:17px}.prose h2{font-size:32px}.catalog-grid{gap:16px}.catalog-grid .product-photo img{height:200px}.catalog-grid .product-card h3{font-size:26px}.catalog-grid .product-card{padding:10px 0 20px}.product-overview{grid-template-columns:1fr;gap:24px;padding:8px 0 32px}.single-photo{padding:0}.single-photo img{height:350px}.product-intro h1{font-size:54px}.single-pack{font-size:34px;margin-bottom:18px}.product-details{grid-template-columns:1fr;gap:20px}.parameters h2{font-size:34px}.parameters{padding-top:5px}.parameters dl>div{font-size:14px}.product-page{padding-bottom:40px}.page-content{padding-bottom:45px}.document-link{font-size:15px}}
[hidden]{display:none!important}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
/* Proporcje po porównaniu z zaakceptowanym projektem. */
h1,h2,h3{letter-spacing:-.008em}.hero h1{letter-spacing:-.012em}
@media(min-width:901px){
.header-inner{min-height:78px}.brand img{width:76px}.hero{grid-template-columns:48.5% 51.5%}
.hero-copy{padding:24px 30px 24px max(52px,calc((min(100vw,1800px) - var(--max))/2))}
.hero h1{font-size:clamp(100px,11.3vw,142px);line-height:.93;margin-bottom:16px}
.producer-line{margin-bottom:10px}.hero-intro{margin-bottom:18px}
.hero-products{min-height:420px;height:420px;padding:0 16px;align-items:center}
.hero-products img{width:158%;max-width:none;height:420px;max-height:none;margin-left:-29%;object-fit:contain}
.wrap{width:min(var(--max),calc(100% - 104px))}
.catalog{padding-top:28px}.catalog-heading{padding-bottom:16px}.catalog-heading h2{font-size:clamp(62px,6.5vw,82px)}
.category-shelf{grid-template-columns:235px 1fr;gap:24px;padding-block:18px}
.category-title{justify-content:flex-start;padding-top:16px}.category-title h3{font-size:48px}.category-number{font-size:60px}
.product-card{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:12px}.shelf-products{gap:26px}
.product-photo img{height:230px}.product-card-copy{padding:0}.product-card h3{font-size:29px;letter-spacing:0}
.pack{margin-bottom:16px}.producer-band{padding-block:24px;gap:36px}.producer-band h2{font-size:clamp(48px,5.4vw,70px)}
.shop-inner h2{font-size:clamp(48px,5.5vw,70px)}
}
@media(min-width:901px) and (max-width:1150px){.category-shelf{grid-template-columns:230px 1fr;gap:20px}.shelf-products{gap:22px}.product-card{grid-template-columns:minmax(0,1fr) minmax(0,.95fr);gap:10px}.product-card h3,.pack{font-size:27px}.text-link{font-size:14px}.hero-intro{font-size:21px}.main-menu .menu{gap:28px}}

@font-face{font-family:Anton;src:url('assets/fonts/anton-regular.ttf') format('truetype');font-weight:400 900;font-style:normal;font-display:swap}
h1,h2,h3,.pack,.category-number,.single-pack{font-weight:400;font-synthesis:none}
@media(min-width:901px){.hero h1{font-size:clamp(94px,10.4vw,132px);line-height:1.02}.hero-products{height:100%;min-height:420px}.hero-products img{height:420px}.category-title h3{font-size:48px}.producer-band{grid-template-columns:1.65fr 1fr}.producer-band h2{font-size:clamp(46px,5.1vw,66px)}}@media(min-width:901px){.hero h1{font-size:clamp(88px,9vw,128px)}.category-title h3{font-size:clamp(36px,3.9vw,50px);white-space:nowrap;transform:scaleX(.85);transform-origin:left center}.shelf-products .product-photo img{width:140%;max-width:none;margin-left:-20%;height:230px}.category-title{position:relative;z-index:1}}/* Container-based spacing: the viewport may be wider than the 1800px hero. */
.hero-copy,.hero-products{min-width:0}.hero h1{max-width:100%;overflow-wrap:normal}
.related-products{border-top:1px solid var(--line);margin-top:32px;padding-top:30px}.related-products>h2{font-size:42px}.related-products .catalog-grid{padding-top:0}.guide-links{padding:20px 0;border-top:1px solid var(--line);margin-top:25px}.guide-links h2{font-size:32px}.guide-links a{text-decoration:underline;text-underline-offset:4px}.home-editorial{padding:42px 0 50px}.home-editorial .prose{max-width:920px}.home-editorial h2{font-size:clamp(32px,3.3vw,46px)}
@media(min-width:651px) and (max-width:767px){.hero h1{font-size:clamp(64px,10vw,76px)}}

/* Language control stays available independently of the mobile menu. */
.header-inner{gap:24px}.main-menu{margin-left:auto}.main-menu .menu{gap:24px}.main-menu a{font-size:16px}
.language-switcher{position:relative;flex:none;font-size:14px;z-index:35}.language-switcher summary{list-style:none;display:flex;align-items:center;gap:8px;padding:10px 11px;min-height:44px;border:1px solid #ffffff55;cursor:pointer}.language-switcher summary::-webkit-details-marker{display:none}.language-switcher summary:focus-visible{outline:3px solid var(--orange);outline-offset:4px}.language-switcher img{width:24px;height:16px;object-fit:fill;border:1px solid #ffffff45}.language-switcher ul{position:absolute;right:0;top:calc(100% + 10px);min-width:220px;margin:0;padding:8px;list-style:none;background:var(--deep);color:white;border:1px solid #ffffff3d;box-shadow:0 12px 30px #0003;max-height:min(540px,70vh);overflow:auto}.language-switcher a{display:flex;align-items:center;gap:12px;padding:10px;min-height:42px}.language-switcher a:hover,.language-switcher a:focus-visible{background:#ffffff18}.language-switcher a[aria-current]{background:#ffffff12;box-shadow:inset 3px 0 var(--orange)}.language-switcher small{margin-left:auto;opacity:.65;font-size:11px}
html:not([lang^="pl"]) .hero h1{font-size:clamp(58px,5.3vw,88px);line-height:1.08;overflow-wrap:anywhere;hyphens:auto}
html:not([lang^="pl"]) .category-title h3{white-space:normal;transform:none;font-size:clamp(29px,3.2vw,42px);overflow-wrap:anywhere;hyphens:auto}
html:not([lang^="pl"]) .category-title{min-width:0}h1,h2,h3{overflow-wrap:anywhere}html:not([lang^="pl"]) .catalog-heading h2{font-size:clamp(45px,5.6vw,72px)}
@media(min-width:901px) and (max-width:1150px){.header-inner{gap:16px}.main-menu .menu{gap:16px}.main-menu a{font-size:14px}.category-shelf{grid-template-columns:190px 1fr}}
@media(max-width:900px){.header-inner{justify-content:initial}.nav-toggle{margin-left:auto;order:2}.main-menu{margin-left:0}.language-switcher{order:3}.header-inner{gap:14px}.language-switcher ul{right:0}.shop-inner{flex-wrap:wrap}.shop-inner .button{flex-shrink:1}}
@media(max-width:650px){.header-inner{gap:10px}.nav-toggle{font-size:14px;padding:10px}.language-switcher summary{padding:10px 8px;gap:6px}.language-switcher ul{min-width:210px}html:not([lang^="pl"]) .hero h1{font-size:clamp(52px,13vw,78px)}html:not([lang^="pl"]) .category-title h3{font-size:30px}.category-title{min-width:0}.parameters dl>div{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)}.parameters dt,.parameters dd{overflow-wrap:anywhere}.button{max-width:100%}.product-intro h1,.page-content>h1{overflow-wrap:anywhere}}

/* Leave room for the distributor link in all language menus. */
@media(min-width:1101px){.main-menu .menu{gap:20px}.main-menu a{font-size:15px}}
@media(min-width:901px) and (max-width:1100px){.header-inner{min-height:90px;justify-content:initial;gap:14px}.site-header{position:relative}.nav-toggle{display:block;margin-left:auto;order:2}.main-menu{display:none;position:absolute;top:90px;left:0;right:0;margin-left:0;background:var(--deep);z-index:20;border-top:1px solid #ffffff40}.main-menu.is-open{display:block}.main-menu .menu{display:block;padding:15px 32px}.main-menu a{font-size:17px;padding:12px 0}.main-menu .sub-menu{position:static;display:block;padding-left:20px}.language-switcher{order:3}}
.footer-bottom{flex-wrap:wrap;gap:10px 24px}.footer-distribution{color:var(--navy);text-decoration:underline;text-decoration-color:var(--orange);text-underline-offset:4px}
