/*
Theme Name: XTML
Description: Katalog maszyn XTML z integracją WooCommerce. Ciemny motyw, kategorie produktów, ceny, galerie i zapytania e-mail.
Version: 1.0.0
Author: XTML
Text Domain: xtml
Requires at least: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');
:root{--black:#0a0a0a;--graphite:#121212;--panel:#1a1a1a;--silver:#c0c0c0;--bright:#e8e8e8;--blue:#0877e8;--blue-light:#46a6ff;--amber:#f6a623;--text:#f4f5f7;--muted:#b9c0c9;--line:#383e46;--max:1240px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--black);color:var(--text);font:400 1rem/1.6 Inter,Arial,sans-serif}a{color:inherit;text-decoration:none}a:hover{color:var(--blue-light)}button,input,textarea,select{font:inherit}button,a{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--amber);outline-offset:3px}img{max-width:100%;display:block}.container{width:min(calc(100% - 40px),var(--max));margin-inline:auto}.skip{position:absolute;left:-999px;top:0;background:white;color:black;padding:10px;z-index:100}.skip:focus{left:10px}.site-header{position:relative;z-index:10;background:#0a0a0aec;border-bottom:1px solid #303840}.header-inner{display:flex;align-items:center;gap:34px;min-height:86px}.brand{display:inline-flex;flex-direction:column;line-height:.82;min-width:156px;font:800 2.7rem/1 Barlow Condensed,Impact,sans-serif;letter-spacing:-.055em;white-space:nowrap}.brand .xt{background:linear-gradient(150deg,#fff 4%,#a2aab4 34%,#f1f2f2 58%,#8c929c 88%);background-clip:text;color:transparent}.brand .ml{color:#0877e8;-webkit-text-stroke:1.4px #f6a623;text-shadow:0 2px 10px #0068e677}.brand::after{content:"";height:5px;width:98%;margin-top:3px;background:linear-gradient(95deg,var(--blue),#81c5ff 43%,var(--amber) 86%);transform:skew(-27deg);border-radius:100% 0 100% 0}.nav{display:flex;gap:28px;align-items:center;margin-left:auto}.nav a{font-size:.9rem;font-weight:600;transition:color .2s}.nav a[aria-current=page]{color:var(--amber)}.header-cta{margin-left:8px}.btn{display:inline-flex;justify-content:center;align-items:center;gap:12px;min-height:48px;padding:11px 22px;border:1px solid transparent;border-radius:3px;font-size:.9rem;font-weight:700;line-height:1.2;letter-spacing:.01em;transition:transform .2s,background .2s,color .2s;cursor:pointer}.btn:hover{transform:translateY(-2px);color:white}.btn-primary{color:#071018;background:linear-gradient(110deg,var(--amber),#ffc46c)}.btn-primary:hover{color:#071018;background:#ffd08a}.btn-outline{border-color:#748293;background:#101822aa;color:#fff}.btn-outline:hover{border-color:var(--blue-light)}.mobile-toggle{display:none;margin-left:auto;border:1px solid var(--line);color:white;background:transparent;padding:10px 14px;border-radius:2px}.eyebrow{text-transform:uppercase;letter-spacing:.19em;font:700 .78rem/1.5 Inter,sans-serif;color:var(--amber)}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:Barlow Condensed,Impact,Arial,sans-serif;line-height:1.03;letter-spacing:.006em}h1{font-size:clamp(3.3rem,6.4vw,6.5rem);font-weight:800;text-transform:uppercase}h2{font-size:clamp(2.4rem,4.2vw,4rem);font-weight:700;text-transform:uppercase}h3{font-size:1.8rem;font-weight:700}.lead{color:#d7dce2;font-size:clamp(1.05rem,1.7vw,1.23rem);max-width:600px}.hero{position:relative;min-height:650px;display:flex;align-items:center;isolation:isolate;background:#080c11 url('assets/hero.webp') center center/cover no-repeat}.hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#070a0fef 0%,#090d13b8 38%,#0b0c0e40 100%),linear-gradient(0deg,#080a0dd9 0%,transparent 40%)}.hero .content{padding:84px 0 110px}.hero h1{max-width:800px;margin:15px 0 22px}.hero .lead{margin-bottom:30px}.cta-row{display:flex;flex-wrap:wrap;gap:12px}.hero-mark{display:flex;gap:16px;align-items:center;margin-top:76px;font-size:.84rem;font-weight:600;text-transform:uppercase;letter-spacing:.1em;color:#c7d0dc}.hero-mark::before{content:"";width:46px;height:2px;background:linear-gradient(90deg,var(--blue),var(--amber))}.section{padding:94px 0}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:28px}.section-heading h2{margin-bottom:0}.section-heading p{color:var(--muted);max-width:470px;margin-bottom:0}.category-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.category-card{display:flex;flex-direction:column;justify-content:end;min-height:390px;padding:32px;border:1px solid #535962;position:relative;overflow:hidden;background:#141a21}.category-card::before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#0a0d12 0%,#0a0d1299 35%,#0a0d1208 100%);z-index:1}.category-card.agri{background:url('assets/maszyny.webp') 0% 0%/300% 200% no-repeat}.category-card.build{background:url('assets/maszyny.webp') 100% 0%/300% 200% no-repeat}.category-card>*{position:relative;z-index:2}.category-card h3{font-size:2.5rem;margin:7px 0}.category-card p{max-width:430px;color:#e0e3e8}.card-link{font-weight:700;color:#fff}.card-link span{color:var(--amber)}.category-card:hover .card-link{color:var(--amber)}.section-muted{background:linear-gradient(155deg,#171a1e,#101113 60%);border-top:1px solid #242c34;border-bottom:1px solid #242c34}.products{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.product-card{background:#1a1d21;border:1px solid #343b44;display:flex;flex-direction:column}.product-image{aspect-ratio:1.42;background-image:url('assets/maszyny.webp');background-size:300% 200%;background-repeat:no-repeat}.p-tractor{background-position:0% 0%}.p-combine{background-position:50% 0%}.p-excavator{background-position:100% 0%}.p-loader{background-position:0% 100%}.product-body{padding:23px;display:flex;flex-direction:column;flex:1}.product-body h3{margin:5px 0 10px;font-size:1.8rem}.product-body p{color:var(--muted);font-size:.93rem}.product-body .card-link{margin-top:auto;padding-top:12px}.tag{color:var(--blue-light);font-size:.76rem;letter-spacing:.13em;text-transform:uppercase;font-weight:700}.split{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}.split p{color:var(--muted)}.feature-box{padding:42px;border:1px solid #3a424a;background:radial-gradient(circle at 100% 0%,#0d56a53d,transparent 53%),#191c20;min-height:340px;display:flex;flex-direction:column;justify-content:end}.feature-box strong{font:700 3rem/1 Barlow Condensed}.feature-box p{color:#c4cbd3;margin:18px 0 0}.accent-line{height:4px;width:120px;background:linear-gradient(90deg,var(--blue),var(--amber));margin:0 0 32px}.contact-strip{background:linear-gradient(110deg,#0a2039,#142439 60%,#4d3218);border-block:1px solid #466381}.contact-strip-inner{padding:48px 0;display:flex;align-items:center;justify-content:space-between;gap:30px}.contact-strip h2{font-size:2.7rem;margin:0 0 8px}.contact-strip p{margin:0;color:#d8e0e8}.site-footer{padding:45px 0;color:#aeb6c0;background:#090b0d}.footer-inner{display:flex;justify-content:space-between;gap:30px;align-items:center;border-bottom:1px solid #34383d;padding-bottom:28px}.footer-links{display:flex;flex-wrap:wrap;gap:18px}.footer-bottom{font-size:.84rem;padding-top:20px}.page-hero{padding:82px 0 66px;border-bottom:1px solid #303841;background:radial-gradient(circle at 85% 18%,#0a4b8b42,transparent 38%),linear-gradient(120deg,#0b0d10,#17191c)}.page-hero h1{margin:12px 0 18px;font-size:clamp(3rem,5.2vw,5.4rem)}.page-hero p{max-width:750px;color:#c4cbd3}.breadcrumbs{font-size:.83rem;color:#aeb6c0;margin-bottom:30px}.breadcrumbs a{text-decoration:underline;text-underline-offset:4px}.info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.info-item{padding:28px;border:1px solid #3b424b;background:var(--panel)}.info-item h3{font-size:1.6rem}.info-item p{color:var(--muted);margin-bottom:0}.product-layout{display:grid;grid-template-columns:1.1fr .9fr;gap:50px;align-items:center}.product-large{aspect-ratio:1.2;background-image:url('assets/maszyny.webp');background-size:300% 200%;border:1px solid #434a54}.product-content h1{font-size:clamp(3rem,5vw,5.3rem);margin:8px 0 15px}.product-content p{color:var(--muted)}.detail-list{padding:0;list-style:none;border-top:1px solid var(--line);margin:26px 0}.detail-list li{padding:12px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:15px}.detail-list span:last-child{color:#e4e8ee}.form-box{padding:35px;border:1px solid #414951;background:#191d22}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:17px}.field label{font-weight:600;font-size:.9rem}.field input,.field textarea,.field select{border:1px solid #56606a;border-radius:2px;background:#0c1116;color:white;padding:12px;min-height:48px;width:100%}.field textarea{min-height:130px;resize:vertical}.form-note,.form-status{font-size:.86rem;color:#b8c0ca}.form-status{color:#ffcf7e;min-height:1.3em}.contact-layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:60px}.contact-layout p{color:var(--muted)}.pill{border:1px solid #3d4752;color:#c9d4df;padding:7px 11px;display:inline-block;font-size:.81rem;margin:0 5px 9px 0}.last-cta{margin-top:30px}
@media(max-width:1000px){.header-inner{gap:15px}.nav{gap:14px}.header-cta{display:none}.split{gap:36px}}@media(max-width:760px){.container{width:min(calc(100% - 32px),var(--max))}.header-inner{min-height:70px}.brand{font-size:2.3rem;min-width:130px}.mobile-toggle{display:block}.nav{display:none;position:absolute;top:70px;left:0;right:0;background:#111820;border-bottom:1px solid #47525d;padding:20px;flex-direction:column;align-items:stretch;gap:0}.nav.open{display:flex}.nav a{padding:12px;border-bottom:1px solid #303b46}.hero{min-height:610px;background-position:52% center}.hero::before{background:linear-gradient(90deg,#070a0fe8,#090d13b5 65%,#0b0c0e55),linear-gradient(0deg,#080a0de8,transparent 60%)}.hero .content{padding:80px 0 70px}.hero-mark{margin-top:75px}.section{padding:64px 0}.section-heading{display:block}.section-heading p{margin-top:12px}.category-grid,.split,.product-layout,.contact-layout{grid-template-columns:1fr}.products,.info-grid{grid-template-columns:repeat(2,1fr)}.feature-box{min-height:250px}.contact-strip-inner,.footer-inner{align-items:start;flex-direction:column}.product-layout{gap:25px}.page-hero{padding:58px 0 48px}}@media(max-width:540px){h1{font-size:3.4rem}.hero{min-height:650px}.category-card{min-height:330px;padding:22px}.products,.info-grid,.form-grid{grid-template-columns:1fr}.product-image{aspect-ratio:1.55}.cta-row .btn{width:100%}.contact-strip h2{font-size:2.2rem}.form-box{padding:23px}.page-hero h1{font-size:3.3rem}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.btn{transition:none}}
/* Agricultural subcategories */
.subcategory-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.subcategory-card{padding:34px;background:linear-gradient(130deg,#19232f,#14171b 75%);border:1px solid #3e4b59;display:flex;flex-direction:column;min-height:245px;transition:border-color .2s}.subcategory-card:hover{border-color:var(--amber);color:var(--text)}.subcategory-card h3{font-size:2.4rem;margin:18px 0 12px}.subcategory-card p{color:var(--muted)}.subcategory-card .card-link{margin-top:auto}.subcategory-nav{display:flex;gap:10px;flex-wrap:wrap;padding:28px 0;border-bottom:1px solid var(--line)}.subcategory-nav a{padding:10px 16px;border:1px solid #495461;border-radius:2px;font-size:.9rem;font-weight:600}.subcategory-nav a[aria-current=page]{background:var(--amber);border-color:var(--amber);color:#0a0a0a}.selection-list{padding-left:22px;color:var(--muted);margin:0}.selection-list li{padding:9px 0}.product-image.p-tractor,.product-large.p-tractor{background-image:url('assets/ciagnik-tavol.webp');background-size:cover;background-position:center}.category-card.agri{background-image:url('assets/ciagnik-tavol.webp');background-size:cover;background-position:center}@media(max-width:600px){.subcategory-grid{grid-template-columns:1fr}.subcategory-card{padding:26px;min-height:220px}.subcategory-nav a{flex:1 1 44%;text-align:center}}

.forklift-entry{justify-content:center;min-height:390px}.forklift-entry h3{font-size:2.7rem}.forklift-entry .card-link{margin-top:26px}
.catalog-section{padding-top:44px;min-height:340px}.catalog-count{font-size:.9rem;color:var(--muted)}.catalog-empty{padding:48px 28px;border:1px solid var(--line);background:#14171b;text-align:center}.catalog-empty h3{font-size:1.8rem;margin-bottom:10px}.catalog-empty p{color:var(--muted);margin:0}.catalog-photo{width:100%;aspect-ratio:1.42;object-fit:contain;background:#171a1e}.catalog-detail-photo{width:100%;height:100%;object-fit:contain;background:#171a1e}.product-specs:empty{display:none}.product-specs>div{display:flex;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid var(--line)}.product-specs dd{margin:0}

.contact-email{display:inline-block;color:var(--blue-light);font-size:clamp(1.25rem,3vw,1.8rem);font-weight:600;overflow-wrap:anywhere}.contact-email:hover{text-decoration:underline;text-underline-offset:5px}
/* WordPress and WooCommerce integration */
.admin-bar .site-header{top:0}.custom-logo-link{display:block;flex-shrink:0}.custom-logo{max-width:170px;max-height:70px;width:auto;height:auto}.nav .menu,.footer-links .menu{display:flex;gap:24px;list-style:none;padding:0;margin:0;align-items:center}.nav li{position:relative}.nav .sub-menu{display:none;position:absolute;top:100%;left:0;list-style:none;background:#151b23;border:1px solid var(--line);padding:10px;min-width:230px;z-index:20}.nav li:hover>.sub-menu,.nav li:focus-within>.sub-menu{display:block}.nav .sub-menu a{display:block;padding:10px}.nav .sub-menu .sub-menu{left:100%;top:0}.footer-links .menu{flex-wrap:wrap}.page-content{max-width:980px}.page-content p{color:var(--muted)}.page-content img{height:auto}.page-content h2{margin-top:28px}.page-content h3{margin-top:24px}.woocommerce .woocommerce-breadcrumb,.woocommerce-breadcrumb{color:var(--muted);font-size:.88rem;margin-bottom:28px}.woocommerce-breadcrumb a,.woocommerce .woocommerce-breadcrumb a{color:var(--bright)}.woocommerce ul.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;list-style:none;padding:0;margin:0 0 28px}.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{float:none;width:auto!important;margin:0!important;padding:0 0 24px;background:#1a1d21;border:1px solid #343b44;border-radius:3px;overflow:hidden}.woocommerce ul.products li.product a img{width:100%;aspect-ratio:1.42;object-fit:contain;background:#14191e;margin:0 0 22px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:1.8rem;color:var(--text);padding:0 22px 12px}.woocommerce ul.products li.product .price{padding:0 22px;color:var(--amber);font-size:1.1rem;font-weight:600}.woocommerce ul.products li.product .product-details{display:inline-block;margin:15px 22px 0;font-size:.9rem}.woocommerce .woocommerce-ordering select{background:#1a2027;border:1px solid var(--line);color:var(--text);padding:10px;max-width:100%}.woocommerce .woocommerce-result-count{color:var(--muted)}.woocommerce nav.woocommerce-pagination{clear:both}.woocommerce nav.woocommerce-pagination ul{border:0;display:flex;gap:8px;justify-content:center;list-style:none;padding:0}.woocommerce nav.woocommerce-pagination ul li{border:1px solid var(--line)}.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{padding:12px 16px;background:#141a21;color:white}.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--amber);color:#0a0a0a}.woocommerce div.product .product_title{font-size:clamp(2.5rem,5vw,4.8rem)}.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--amber);font-size:1.5rem}.woocommerce div.product .woocommerce-product-details__short-description{color:var(--muted)}.woocommerce div.product .woocommerce-product-gallery img{background:#171b20}.woocommerce div.product .woocommerce-tabs ul.tabs::before{border-color:var(--line)}.woocommerce div.product .woocommerce-tabs ul.tabs li{border-color:var(--line);background:#1a1f25}.woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:#263647;color:white}.woocommerce div.product .woocommerce-tabs ul.tabs li a{color:var(--text)}.woocommerce div.product .woocommerce-tabs ul.tabs li::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none}.woocommerce div.product .woocommerce-tabs .panel{color:var(--muted)}.woocommerce table.shop_attributes{border-color:var(--line)}.woocommerce table.shop_attributes td,.woocommerce table.shop_attributes th{border-color:var(--line);padding:12px}.woocommerce-product-gallery__wrapper{margin:0}.woocommerce div.product .product_meta{margin-top:24px;color:var(--muted);font-size:.9rem}.woocommerce .woocommerce-info,.woocommerce .woocommerce-message,.woocommerce .woocommerce-error{background:#19212c;color:var(--text);border-top-color:var(--blue-light)}.woocommerce .related.products{display:block}.woocommerce .related.products>h2{font-size:2.5rem}.woocommerce span.onsale{background:var(--amber);color:#0a0a0a}.woocommerce .woocommerce-product-rating{color:var(--amber)}.woocommerce input,.woocommerce textarea{background:#11171e;color:var(--text);border:1px solid var(--line);padding:12px;max-width:100%}.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{background:var(--amber);color:#0a0a0a}.xtml-variations{margin-top:26px}.xtml-variations h3{font-size:1.6rem}.product-specs{font-size:.9rem}.category-section{padding-bottom:35px}.xtml-stock:empty{display:none}.woocommerce .star-rating{margin:8px 22px}.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}
@media(max-width:1000px){.nav .menu{gap:14px}}@media(max-width:760px){.nav .menu{display:flex;flex-direction:column;align-items:stretch;gap:0}.nav .sub-menu{position:static;min-width:0;padding:0 0 0 16px;display:block;border:0}.nav .menu a{display:block}.footer-links .menu{gap:12px 18px}.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}.woocommerce div.product div.images,.woocommerce div.product div.summary{float:none;width:100%}.woocommerce .woocommerce-ordering,.woocommerce .woocommerce-result-count{float:none;margin-bottom:16px}.woocommerce div.product .woocommerce-tabs ul.tabs{padding-left:0}.contact-layout{gap:30px}}@media(max-width:540px){.woocommerce ul.products{grid-template-columns:1fr}.woocommerce div.product .woocommerce-tabs ul.tabs li{display:block;margin:0 0 8px}.woocommerce table.shop_attributes{font-size:.9rem}}
