/*
Theme Name: MATFURY WooCommerce
Theme URI: https://matfury.de/
Author: MATFURY
Description: Czarno-czerwony, responsywny motyw MATFURY z obsługą WooCommerce, kategoriami sportów walki i Training Lab.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: matfury
License: GPL-2.0-or-later
*/
:root{--mf-bg:#0b0d0f;--mf-panel:#171a1e;--mf-panel2:#202429;--mf-line:#30343b;--mf-red:#ed202c;--mf-red2:#aa0b1a;--mf-white:#f7f7f9;--mf-muted:#a5aab2;color-scheme:dark;font-family:Inter,Arial,Helvetica,sans-serif}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--mf-bg);color:var(--mf-white);font-family:Inter,Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased;font-size:15px;line-height:1.6}
a{color:inherit;text-decoration:none}
a:hover{color:#ff515d}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #ff4e56;outline-offset:3px}
input,select,textarea{max-width:100%}
img{max-width:100%;height:auto}
.container{width:min(1360px,calc(100% - 76px));margin-inline:auto}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0;white-space:nowrap}
.skip-link:focus{position:fixed!important;z-index:99;top:8px;left:8px;width:auto;height:auto;margin:0;padding:10px 16px;clip:auto;background:white;color:black}
.site-status{min-height:34px;display:flex;justify-content:center;align-items:center;gap:12px;padding:6px 14px;text-align:center;color:#fff;background:#a5111c;font-size:11px;letter-spacing:.07em;font-weight:900}
.status-dot{height:8px;width:8px;border-radius:50%;background:white;box-shadow:0 0 0 4px #ffffff30}.status-separator{opacity:.6}
.site-header{background:#0d0f12;border-bottom:1px solid #ffffff22}
.header-inner{height:90px;display:flex;gap:30px;align-items:center}
.brand{flex:0 0 auto;display:block;line-height:0}.brand img{width:250px;height:auto;max-height:78px}
.site-search{display:flex;align-items:center;min-width:150px;width:min(455px,42vw);height:45px;background:#22262c;border:1px solid #373b42;border-radius:28px;margin-left:auto}
.site-search input{width:100%;min-width:0;padding:0 18px;background:transparent;border:none;color:#fff;font-size:13px;outline:0}
.site-search input::placeholder{color:#9da1a7}.site-search button{border:0;background:transparent;color:#fff;width:49px;flex:none;font-size:29px;line-height:1}
.header-actions{display:flex;align-items:center;gap:22px;white-space:nowrap}.account-link{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.cart-link{display:flex;align-items:center;position:relative;gap:12px}.cart-symbol{font-size:33px;transform:rotate(180deg);display:inline-block;line-height:1}.cart-count{font-size:10px;font-weight:900;position:absolute;top:-4px;left:21px;min-width:18px;height:18px;border-radius:10px;background:var(--mf-red);display:grid;place-items:center}.cart-label{display:flex;flex-direction:column;font-size:10px;letter-spacing:.05em;font-weight:800;gap:1px}.cart-label b{font-size:13px;letter-spacing:normal}.menu-toggle{display:none;background:transparent;border:1px solid #555;color:white;border-radius:5px;padding:6px 12px;font-size:23px}
.main-nav{min-height:47px;background:#101214;border-top:1px solid #181b1e}.nav-inner{min-height:47px;display:flex;justify-content:space-between;align-items:stretch;gap:14px}.nav-inner>a,.mf-wp-menu>li>a{font-size:12px;font-weight:800;display:flex;align-items:center;white-space:nowrap;min-height:47px;border-bottom:3px solid transparent}.nav-inner>a:hover,.mf-wp-menu>li>a:hover,.mf-wp-menu>.current-menu-item>a{border-bottom-color:var(--mf-red)}.nav-inner .nav-lab{color:#ff4450}
.mf-wp-menu{display:flex;align-items:center;gap:25px;list-style:none;padding:0;margin:0}.mf-wp-menu li{position:relative}.mf-wp-menu .sub-menu{display:none;position:absolute;top:100%;left:0;z-index:40;background:#1a1d21;list-style:none;padding:8px;min-width:190px;border:1px solid var(--mf-line);box-shadow:0 10px 28px #000a}.mf-wp-menu li:hover>.sub-menu,.mf-wp-menu li:focus-within>.sub-menu{display:block}.mf-wp-menu .sub-menu a{display:block;padding:9px}
.hero{height:500px;position:relative;overflow:hidden;background:#090b0e}.hero:before{content:"";position:absolute;inset:0 0 0 31%;background-image:var(--mf-hero);background-position:center right;background-size:cover;background-repeat:no-repeat}.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#0b0d0f 0%,#0b0d0f 22%,#0b0d0ff0 34%,#0b0d0fc4 47%,transparent 75%),linear-gradient(0deg,#0b0d0f66,transparent 25%);pointer-events:none}.hero-inner{height:100%;position:relative;z-index:1;display:flex;align-items:center}.hero-content{max-width:630px;padding-top:6px}.eyebrow{color:#ff3e4b!important;font-weight:900;font-size:11px;letter-spacing:2.5px;line-height:1.4;margin:0 0 24px;text-transform:uppercase}.hero h1{font-size:clamp(46px,5.1vw,75px);font-weight:1000;font-style:italic;letter-spacing:-3.5px;line-height:.99;margin:0 0 21px}.hero h1 span{color:var(--mf-red)}.hero p{max-width:520px;color:#ccd0d5;font-size:17px;line-height:1.55;margin:0 0 26px}.hero-actions{display:flex;gap:14px;flex-wrap:wrap}.mf-btn,button.mf-btn{display:inline-flex;align-items:center;justify-content:center;gap:20px;min-height:47px;padding:12px 21px;border:1px solid var(--mf-red);border-radius:7px;background:linear-gradient(130deg,#f12a37,#b80819);color:white!important;font-size:13px;font-weight:900;text-align:center;box-shadow:0 8px 20px #eb1b2e2b}.mf-btn:hover{filter:brightness(1.12);transform:translateY(-1px)}.mf-btn-outline{background:#1f2227b8;border:1px solid #666;box-shadow:none}.hero-info{display:block;margin-top:27px;font-size:10px;font-weight:800;letter-spacing:1.3px;color:#b9bdc3}.hero-info:first-letter{color:var(--mf-red)}
.benefits{background:#101316;border-top:1px solid #25282c;border-bottom:1px solid #292d31}.benefits-inner{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;padding:22px 0}.benefits-inner>div{display:flex;gap:14px;align-items:center}.benefits-inner b{font-size:26px;font-weight:400}.benefits-inner span{display:flex;flex-direction:column}.benefits-inner strong{font-size:12px;line-height:1.3}.benefits-inner small{font-size:10px;color:#9b9fa8}
.section{padding:62px 0}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:28px}.section-heading .eyebrow{margin-bottom:13px}.section-heading h2,.feature-grid h2{font-size:clamp(30px,3vw,43px);line-height:1.1;font-weight:1000;letter-spacing:-1.4px;margin:0 0 11px}.section-sub{color:#aeb3bb;font-size:14px;max-width:660px;margin:0}.text-link{font-size:13px;font-weight:800;white-space:nowrap;padding-bottom:8px}
.category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.category-card{position:relative;min-height:193px;padding:25px;display:flex;flex-direction:column;justify-content:space-between;background:radial-gradient(circle at 91% 0%,#72131c55,transparent 55%),linear-gradient(145deg,#24282d,#15181b);border:1px solid #34373b;border-radius:11px;overflow:hidden}.category-card:hover{border-color:#d32030;box-shadow:0 12px 35px #0006;transform:translateY(-2px)}.category-icon{font-size:38px;line-height:1}.category-card h3{font-size:21px;line-height:1.1;font-style:italic;font-weight:1000;letter-spacing:-.4px;margin:0 0 3px}.category-card p{font-size:12px;color:#abb0b7;margin:0}.card-arrow{position:absolute;right:23px;bottom:22px;font-size:21px;color:#f03944}
.products-section{background:#111417;border-block:1px solid #25282e}.empty-products{border:1px dashed #555a62;text-align:center;background:#191d21;padding:47px 18px;border-radius:12px}.empty-products span{font-size:46px}.empty-products h3{margin:9px 0;font-size:22px;font-weight:900}.empty-products p{color:#b5b8bd;font-size:14px;margin:0}
.feature-grid{padding:35px 45px;border:1px solid #373b42;background:radial-gradient(circle at 85% 50%,#95101e45,transparent 38%),#171a1e;border-radius:15px;display:grid;grid-template-columns:1.2fr 1fr;gap:25px;min-height:315px;align-items:center}.feature-grid .eyebrow{margin-bottom:18px}.feature-grid h2 span{color:#ef2936}.feature-grid p{color:#bec0c8;max-width:500px;font-size:15px}.feature-grid .mf-btn{margin-top:7px}.feature-graphic{width:min(280px,90%);aspect-ratio:1;justify-self:center;border:2px solid #e52a36;transform:rotate(-8deg);border-radius:48% 35% 38% 50%;display:flex;align-items:center;justify-content:center;flex-direction:column;box-shadow:0 0 65px #b40a22a0,inset 0 0 45px #db0b223f}.feature-graphic span{font-weight:1000;font-style:italic;font-size:75px;color:#fff;text-shadow:5px 5px 0 #e52231}.feature-graphic b{font-size:17px;letter-spacing:1.5px}.feature-graphic small{font-size:10px;color:#c9cbd0;letter-spacing:3px}
.lab-embedded{background:#101214}.lab-grid{display:grid;grid-template-columns:1fr 1.15fr;gap:22px}.lab-form,.lab-output{background:#1b1f24;border:1px solid #333842;border-radius:11px;padding:27px}.lab-form label{display:block;font-size:12px;font-weight:800;letter-spacing:.04em;margin:0 0 14px}.lab-form select{display:block;width:100%;margin-top:6px;height:43px;border-radius:5px;background:#292e34;border:1px solid #484e55;color:white;padding:0 10px}.lab-form button{width:100%;margin-top:5px}.lab-output h3{font-size:23px;font-weight:900;font-style:italic;line-height:1.15;margin:0 0 18px}.lab-output p,.lab-output li{color:#c3c7cb;font-size:14px}.lab-output li{margin:0 0 12px}.lab-output small{display:block;font-size:11px;color:#8f959c;margin-top:20px}
.newsletter-banner{background:linear-gradient(120deg,#a00b1a,#d52233 56%,#68030e);padding:29px 0}.newsletter-banner>.container{display:flex;align-items:center;justify-content:space-between;gap:20px}.newsletter-banner h2{margin:0;color:white;font-size:23px;font-weight:1000;font-style:italic;letter-spacing:-.6px}.newsletter-banner p{color:#ffe1e4;margin:0;font-size:12px}.newsletter-banner a{font-weight:900;font-size:13px;white-space:nowrap}
.site-footer{background:#0d0f12;border-top:1px solid #31353c}.footer-grid{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:55px;padding:53px 0}.footer-about img{width:235px}.footer-about p{font-size:13px;color:#aaafb5;max-width:285px}.footer-about small,.footer-reminder{font-size:11px;color:#8d929a}.footer-grid h3{font-size:11px;font-weight:1000;letter-spacing:1.8px;margin:0 0 15px}.footer-grid>div:not(:first-child)>a{display:block;font-size:12px;color:#b9bdc3;margin-bottom:9px}.footer-grid a:hover{color:white}.footer-bottom{border-top:1px solid #25282e}.footer-bottom>.container{display:flex;justify-content:space-between;padding:16px 0;font-size:11px;color:#898f96}
.page-content,.store-content{padding:52px 0 85px;min-height:42vh}.wp-content-card{background:#171a1e;border:1px solid #34373c;border-radius:10px;padding:35px;max-width:1000px}.wp-content-card h1{margin-top:0;font-size:clamp(30px,3vw,46px)}.wp-content-card p{color:#d5d7dc}.wp-content-card a{text-decoration:underline}.wp-content-card a:hover{color:#ff4450}
/* WooCommerce */
.woocommerce .woocommerce-breadcrumb{color:#a9afb8;margin:0 0 23px;font-size:13px}.woocommerce .woocommerce-breadcrumb a{color:#d7d9de}.woocommerce .woocommerce-result-count{color:#aeb3b9;font-size:13px}.woocommerce .woocommerce-ordering select{background:#202429;border:1px solid #45484e;border-radius:5px;color:white;padding:8px}.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:19px;list-style:none;margin:23px 0!important;padding:0!important}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}.woocommerce ul.products li.product{float:none!important;width:auto!important;clear:none!important;margin:0!important;border:1px solid #383e45;background:#1b1e23;border-radius:10px;padding:12px!important;overflow:hidden}.woocommerce ul.products li.product img{background:#fff;border-radius:6px;aspect-ratio:1;object-fit:contain}.woocommerce ul.products li.product h2,.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:15px!important;color:#fff;font-weight:800;padding:4px 0!important;min-height:55px}.woocommerce ul.products li.product .price{color:#fff!important;font-weight:900!important;font-size:16px!important;margin:6px 0}.woocommerce ul.products li.product .button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{background:#df182a!important;color:#fff!important;border-radius:6px!important;font-weight:800!important;border:0!important;line-height:1.4!important;padding:12px 14px!important}.woocommerce ul.products li.product .button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover{background:#ff3945!important}.woocommerce div.product .product_title{font-weight:900;line-height:1.12}.woocommerce div.product p.price,.woocommerce div.product span.price{color:white!important;font-weight:900}.woocommerce div.product .woocommerce-tabs ul.tabs li{background:#23262b!important;border-color:#4a5056!important}.woocommerce div.product .woocommerce-tabs ul.tabs li a{color:#fff!important}.woocommerce div.product .woocommerce-tabs ul.tabs:before{border-color:#4a5056!important}.woocommerce div.product form.cart div.quantity input.qty,.woocommerce .quantity .qty{background:#23272c;color:white;border:1px solid #4a5056;border-radius:5px;min-height:41px}.woocommerce-message,.woocommerce-info{background:#252a30!important;color:#fff!important;border-top-color:#e52433!important}.woocommerce-message::before,.woocommerce-info::before{color:#f13544!important}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form select,.woocommerce-cart table.cart input.input-text,.woocommerce-input-wrapper input,.select2-container--default .select2-selection--single{background:#22262b!important;color:white!important;border:1px solid #4b515a!important;border-radius:5px!important;padding:9px!important;min-height:40px}.select2-container--default .select2-selection--single .select2-selection__rendered{color:#fff!important}.woocommerce table.shop_table{border:1px solid #41454b!important}.woocommerce table.shop_table th,.woocommerce table.shop_table td{color:#e6e7ea}.woocommerce table.shop_table a{color:#fff}.woocommerce table.shop_table td.product-name a{font-weight:800}.woocommerce div.product .woocommerce-tabs .panel{color:#e1e3e6}.woocommerce-checkout #payment{background:#202429!important}.woocommerce-checkout #payment div.payment_box{background:#2d343c!important;color:#fff}.woocommerce-checkout #payment div.payment_box:before{border-bottom-color:#2d343c!important}.woocommerce a.remove{color:#f34752!important}.woocommerce .product_meta{color:#9fa4ac}.woocommerce .cart-collaterals .cart_totals,.woocommerce-checkout-review-order-table{color:#fff}
/* Blocks & standard WP elements */
:where(.wp-block-button__link){background:#e5202e;color:#fff}.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout{color:#fff}.wc-block-components-button:not(.is-link){background:#e5202e;color:#fff;border-radius:5px}.wc-block-components-text-input input,.wc-block-components-combobox input{color:#17191e!important;background:#fff!important}.wc-block-components-order-summary{color:#e8e8e8}
@media(max-width:1200px){.header-inner{gap:20px}.brand img{width:210px}.site-search{width:min(370px,33vw)}.account-link{display:none}.container{width:min(1360px,calc(100% - 48px))}.nav-inner{gap:8px}.nav-inner>a{font-size:11px}.category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){.header-inner{height:auto;min-height:76px;flex-wrap:wrap;gap:10px;padding:13px 0}.brand img{width:180px}.site-search{order:4;width:100%;flex-basis:100%;margin:0;height:42px}.header-actions{margin-left:auto}.menu-toggle{display:block}.cart-label{display:none}.main-nav{display:none}.main-nav.menu-open{display:block}.nav-inner{flex-direction:column;align-items:stretch;gap:0;padding:8px 0}.nav-inner>a,.mf-wp-menu>li>a{border:0;padding:10px 0;min-height:30px}.mf-wp-menu{display:block}.mf-wp-menu .sub-menu{position:static}.hero{height:auto;min-height:455px}.hero:before{inset:0 0 0 20%;opacity:.78}.hero:after{background:linear-gradient(90deg,#0b0d0fee 0%,#0b0d0fba 40%,#0b0d0f50 100%)}.hero-inner{min-height:455px}.hero-content{padding:40px 0}.hero h1{font-size:clamp(44px,8vw,65px)}.benefits-inner{grid-template-columns:repeat(2,1fr)}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.feature-grid,.lab-grid{grid-template-columns:1fr}.feature-graphic{width:190px}.footer-grid{grid-template-columns:repeat(2,1fr);gap:25px}.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.container{width:calc(100% - 32px)}.site-status{font-size:9px;gap:6px}.site-header .brand img{width:155px}.hero{min-height:425px}.hero-inner{min-height:425px}.hero:before{inset:0;opacity:.44;background-position:center right}.hero:after{background:linear-gradient(90deg,#0b0d0ff2 0%,#0b0d0fdc 52%,#0b0d0f5d 100%)}.hero h1{font-size:clamp(40px,11vw,56px);letter-spacing:-2.4px}.hero p{font-size:14px;max-width:300px}.eyebrow{font-size:9px;letter-spacing:1.5px}.mf-btn{font-size:12px;padding:10px 13px;min-height:43px}.hero-actions{gap:9px}.hero-info{font-size:9px}.benefits-inner{gap:10px;padding:17px 0}.benefits-inner b{font-size:21px}.benefits-inner strong{font-size:10px}.benefits-inner small{font-size:9px}.section{padding:43px 0}.section-heading{display:block}.section-heading h2{font-size:32px}.text-link{display:inline-block;padding-top:15px}.category-grid{gap:10px}.category-card{padding:17px;min-height:150px}.category-icon{font-size:27px}.category-card h3{font-size:17px}.category-card p{font-size:10px}.card-arrow{right:10px;bottom:11px}.feature-grid{padding:26px 22px}.feature-grid h2{font-size:31px}.feature-graphic{display:none}.lab-form,.lab-output{padding:19px}.newsletter-banner>.container{display:block}.newsletter-banner a{display:inline-block;margin-top:12px}.footer-grid{grid-template-columns:1fr 1fr;gap:26px 18px}.footer-about{grid-column:1 / -1}.footer-bottom>.container{display:block}.wp-content-card{padding:22px}.woocommerce ul.products{gap:9px}.woocommerce ul.products li.product{padding:8px!important}.woocommerce ul.products li.product h2{font-size:12px!important;min-height:60px}.woocommerce ul.products li.product .button{font-size:11px;padding:10px!important}}

/* v1.1 · MATFURY editorial photo categories (replaces emoji placeholders) */
.category-card{
  min-height:237px; padding:23px 22px; isolation:isolate;
  justify-content:flex-end; background:#14181d;
  border-color:#333940; transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease;
}
.category-card::before{
  content:""; position:absolute; inset:0; z-index:-2; background-image:var(--mf-category-image);
  background-position:center; background-size:cover; background-repeat:no-repeat;
  filter:saturate(.83); transition:transform .45s ease,filter .45s ease;
}
.category-card::after{
  content:""; position:absolute; inset:0; z-index:-1;
  background:linear-gradient(0deg,rgba(4,6,9,.97) 1%,rgba(4,6,9,.73) 28%,rgba(4,6,9,.24) 68%,rgba(4,6,9,.09) 100%);
  pointer-events:none;
}
.category-card:hover::before{transform:scale(1.07);filter:saturate(1.05)}
.category-card:hover{border-color:#ed2637;box-shadow:0 12px 40px #0009}
.category-kicker{
  position:absolute;top:18px;left:21px;padding:4px 8px;
  background:#0b0d0f9e;border-left:3px solid #ec2132;
  font-size:10px;font-weight:900;line-height:1.2;letter-spacing:1.7px;color:#fff;
}
.category-copy{max-width:calc(100% - 24px)}
.category-card h3{font-size:23px;color:#fff;text-shadow:0 2px 8px #000b}
.category-card p{font-size:12px;color:#d7dade;text-shadow:0 1px 5px #000d}
.category-card .card-arrow{right:20px;bottom:21px;color:#ff404e;font-size:26px;font-weight:800}
@media(max-width:800px){.category-card{min-height:220px}}
@media(max-width:520px){.category-card{min-height:190px;padding:15px}.category-kicker{top:12px;left:13px;font-size:8px;letter-spacing:1px}.category-card h3{font-size:17px}.category-card p{font-size:10px}.category-card .card-arrow{right:12px;bottom:13px;font-size:19px}}
@media(prefers-reduced-motion: reduce){.category-card,.category-card::before{transition:none}}
