/*
Theme Name: Shop Theme — Zbrojownia KS SKAUT
Theme URI: https://www.zbrojownia.ksskaut.pl/
Author: KS SKAUT
Description: Dedykowany, lekki motyw Zbrojowni z natywnym WooCommerce. Bez ACF.
Version: 2.0.0
Text Domain: shop-theme
Requires at least: 6.5
Requires PHP: 8.0
License: GPL-2.0-or-later
*/
:root{--ink:#21384e;--muted:#617181;--line:#dce3e9;--soft:#f3f6f8;--navy:#2c5278;--gold:#e6bc55;--radius:12px;color-scheme:light}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font:14px/1.55 Arial,Helvetica,sans-serif;min-height:100vh;display:flex;flex-direction:column}img{max-width:100%;height:auto}a{color:var(--navy);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}button,summary{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}input,textarea,select{max-width:100%;color:var(--ink)}input:not([type=checkbox]):not([type=radio]):not([type=submit]),select,textarea{border:1px solid var(--line);border-radius:6px;background:#fff;padding:10px 12px;min-height:44px}textarea{min-height:90px;width:100%;resize:vertical}input[type=checkbox],input[type=radio]{accent-color:var(--navy);width:18px;height:18px;vertical-align:middle;flex-shrink:0}label{cursor:pointer}fieldset{min-width:0;border:0;margin:0;padding:0}legend{font-weight:700;margin-bottom:10px}h1,h2,h3{line-height:1.25}h1{font-size:28px;letter-spacing:-.7px;margin:0}h2{font-size:21px}h3{font-size:17px}p{margin:0 0 14px}small,.muted{color:var(--muted)}:focus-visible{outline:3px solid var(--gold)!important;outline-offset:3px}.screen-reader-text,.skip-link:not(:focus){clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute!important;width:1px;white-space:nowrap}.skip-link:focus{position:fixed;top:8px;left:8px;background:white;padding:12px;z-index:99999}[hidden]{display:none!important}
.dev-notice{text-align:center;background:#f9f2df;color:#685525;font-size:12px;padding:6px 16px;border-bottom:1px solid #efe3c1}.site-header{border-bottom:1px solid var(--line);background:#fff}.header-inner,.footer-inner{max-width:1280px;margin:auto;padding:12px 32px;display:flex;align-items:center;gap:26px}.brand{display:flex;gap:12px;align-items:center;margin-right:auto;color:var(--ink)}.brand:hover{text-decoration:none}.brand img{width:33px;height:38px;object-fit:contain}.brand strong{display:block;letter-spacing:1.5px;font-size:20px;line-height:1.2}.brand small{display:block;letter-spacing:1.7px;font-size:10px;margin-top:3px}.main-nav{display:flex;gap:22px;align-items:center;font-size:12px}.main-nav a{color:var(--muted);min-height:44px;display:flex;align-items:center}.main-nav a[aria-current=page]{color:var(--ink);font-weight:700}.header-cart{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:7px;min-height:44px;padding:8px 12px;color:var(--ink);font-size:12px;white-space:nowrap}.cart-count{background:var(--soft);border-radius:20px;padding:0 6px;font-weight:700}.site-main{width:100%;max-width:1280px;margin:0 auto;padding:24px 32px 40px;flex:1}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.page-heading p{font-size:12px;color:var(--muted);margin:0}.site-footer{margin-top:auto;border-top:1px solid var(--line);color:var(--muted);font-size:11px}.footer-inner{justify-content:space-between;gap:16px;padding-top:8px;padding-bottom:8px}.site-footer nav{display:flex;gap:4px 24px;flex-wrap:wrap}.site-footer a{display:flex;align-items:center;min-height:44px;color:var(--muted);font-size:12px}.site-footer span{white-space:nowrap}
.button,button:not(.pswp__button):not(.flex-prev):not(.flex-next),input[type=submit],.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{border:1px solid var(--navy);border-radius:6px;background:var(--navy);color:#fff;padding:11px 16px;min-height:44px;font-weight:600;line-height:1.4;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;box-shadow:none}.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt{background:var(--navy);color:#fff}.button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover{background:#213e5b;color:#fff}.event-filters{border:1px solid var(--line);border-radius:13px;overflow:hidden}.filter-toolbar{display:flex;align-items:center;gap:10px;padding:7px}.type-filters,.choices{display:flex;gap:6px;flex-wrap:wrap}.type-filters{flex:1}.filter-choice{position:relative;display:inline-flex;align-items:center}.filter-choice input{position:absolute;opacity:0;width:1px;height:1px}.filter-choice span{display:flex;align-items:center;justify-content:center;min-height:44px;border:1px solid var(--line);border-radius:22px;padding:8px 13px;color:var(--muted);font-size:12px}.type-filters .filter-choice span{border:0;border-radius:8px}.filter-choice input:checked+span{background:var(--soft);border-color:var(--navy);color:var(--navy)}.type-filters .filter-choice input:checked+span{background:var(--navy);color:#fff}.filter-choice input:focus-visible+span{outline:3px solid var(--gold);outline-offset:2px}.event-search{display:flex;align-items:center;gap:9px;min-width:150px;flex:0 1 250px;padding:0 10px;background:var(--soft);border-radius:7px}.event-search input[type=search]{border:0;background:transparent;min-width:0;width:100%;padding-left:0;font-size:13px}.filter-details{border-top:1px solid var(--line)}.filter-details>summary{padding:10px 16px;min-height:44px;font-size:12px;color:var(--navy)}.filter-options{padding:5px 18px 16px}.filter-options fieldset{display:grid;grid-template-columns:115px 1fr;gap:15px;margin-bottom:14px}.filter-options legend{float:left;padding-top:10px;font-size:12px;margin:0}.filter-actions{border-top:1px solid var(--line);padding-top:12px;display:flex;justify-content:space-between;align-items:center}.filter-actions a,.active-filters a{font-size:12px;min-height:44px;display:inline-flex;align-items:center}.active-filters{display:flex;flex-wrap:wrap;gap:7px;padding-top:12px}.filter-chip{background:var(--soft);border-radius:6px;padding:6px 12px}.results-meta{display:flex;gap:5px;color:var(--muted);font-size:12px;margin:16px 0}.results-meta span{margin-left:auto}.event-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 20px}.event-card{border:1px solid var(--line);border-radius:16px;overflow:hidden;display:flex;flex-direction:column;min-width:0}.event-picture{display:block;aspect-ratio:479/327;background:#fff}.event-picture img{display:block;width:100%;height:100%;object-fit:contain}.event-body{display:flex;flex:1;flex-direction:column;padding:16px}.event-type{font-size:10px;text-transform:uppercase;letter-spacing:.7px;color:var(--muted)}.event-body h2{font-size:17px;line-height:1.35;margin:7px 0 12px}.event-body h2 a{color:var(--ink)}.event-date{font-size:13px;font-weight:600;margin-bottom:7px}.event-body .muted{font-size:12px;margin-bottom:14px}.event-card-footer{display:flex;justify-content:space-between;align-items:center;gap:8px;border-top:1px solid var(--line);padding-top:12px;margin-top:auto}.price{font-size:19px;color:var(--ink)}.price del{font-size:13px;color:var(--muted)}.price ins{text-decoration:none}.event-action{font-size:12px;font-weight:700;min-height:44px;display:flex;align-items:center}.empty-results{grid-column:1/-1;text-align:center;padding:60px 16px}.empty-results h2{font-size:21px}
/* Standard WooCommerce, no copied checkout/account/cart templates. */
.woocommerce .woocommerce-breadcrumb{font-size:12px;color:var(--muted);margin-bottom:20px}.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{font-size:12px}.storefront-tools{clear:both;padding:4px 0 22px}.storefront-tools .woocommerce-product-search{display:flex;gap:8px;max-width:460px}.storefront-tools input{min-width:0;flex:1}.storefront-tools nav{display:flex;gap:8px 16px;flex-wrap:wrap;margin-top:14px}.storefront-tools nav a{font-size:12px;min-height:44px;display:flex;align-items:center}.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 20px}.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;min-width:0;border:1px solid var(--line);border-radius:12px;overflow:hidden;padding-bottom:14px}.woocommerce ul.products li.product a img{margin:0 0 12px;aspect-ratio:1/1;object-fit:contain;width:100%}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:15px;line-height:1.35;padding:0 14px 8px;color:var(--ink)}.woocommerce ul.products li.product .price{padding:0 14px;font-size:17px;color:var(--ink)}.woocommerce ul.products li.product .button{margin:10px 14px 0;font-size:12px}.woocommerce span.onsale{background:var(--navy);font-size:11px}.back-link{display:inline-flex;min-height:44px;align-items:center;font-size:12px;color:var(--muted);margin-top:-10px}.product-heading{display:flex;align-items:center;gap:12px;margin:8px 0 24px}.badge{font-size:11px;background:var(--soft);border-radius:20px;padding:5px 12px;color:var(--navy)}.product-layout{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:24px 40px;align-items:start}.product-media{grid-column:1;grid-row:1;min-width:0;position:relative}.woocommerce div.product .product-media div.images{float:none;width:100%;margin:0}.woocommerce div.product .product-media .woocommerce-product-gallery__image img{width:100%;object-fit:contain;max-height:650px}.woocommerce div.product .product-media .flex-control-thumbs{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}.woocommerce div.product .product-media .flex-control-thumbs li{width:calc(20% - 7px);border:1px solid var(--line);border-radius:6px;overflow:hidden}.woocommerce div.product .product-media .flex-control-thumbs img{aspect-ratio:1/1;object-fit:contain}.woocommerce div.product .product-layout .summary{grid-column:2;grid-row:1/3;float:none;width:100%;margin:0;padding:22px;border:1px solid var(--line);border-radius:12px;min-width:0}.woocommerce div.product .summary .price{color:var(--ink);font-size:24px}.woocommerce div.product form.cart{margin:18px 0 0}.woocommerce div.product form.cart .button{float:none}.woocommerce div.product form.cart div.quantity{margin:0 10px 10px 0}.woocommerce .quantity .qty{width:75px;min-height:44px}.summary label{display:block;margin-bottom:7px}.summary label:has(input[type=checkbox]),.summary label:has(input[type=radio]){display:flex;align-items:center;gap:8px;min-height:44px}.summary input:not([type=checkbox]):not([type=radio]):not([type=number]),.summary select{width:100%}.summary fieldset{margin-bottom:18px}.summary details{border-top:1px solid var(--line);margin:14px 0;padding-top:8px}.summary summary{min-height:44px;padding:10px 0;font-weight:600}.summary .product_meta{font-size:12px;color:var(--muted);margin-top:20px}.summary .product_meta>span{display:block}.product-details{grid-column:1;grid-row:2;min-width:0}.event-facts{margin:0 0 22px;display:grid;grid-template-columns:1fr 1fr;gap:12px;background:var(--soft);border-radius:10px;padding:16px}.event-facts dt{color:var(--muted);font-size:11px}.event-facts dd{margin:3px 0 0;font-size:13px;font-weight:600}.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0;margin:0 0 18px;display:flex;flex-wrap:wrap;gap:8px;border-bottom:1px solid var(--line)}.woocommerce div.product .woocommerce-tabs ul.tabs::before,.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 ul.tabs li{border:0;background:transparent;border-radius:0;margin:0;padding:0 4px}.woocommerce div.product .woocommerce-tabs ul.tabs li.active{border-bottom:2px solid var(--navy)}.woocommerce div.product .woocommerce-tabs ul.tabs li a{font-size:13px;min-height:44px;display:flex;align-items:center;color:var(--muted)}.woocommerce div.product .woocommerce-tabs .panel h2{font-size:20px}.woocommerce .related{margin-top:38px}.woocommerce table.shop_table{border:1px solid var(--line);border-radius:10px;border-collapse:separate;font-size:13px}.woocommerce table.shop_table th{background:var(--soft);font-weight:600}.woocommerce table.shop_table td,.woocommerce table.shop_table th{padding:14px 12px}.woocommerce table.shop_table td{border-color:var(--line)}.woocommerce table.shop_table td.product-thumbnail img{width:70px}.woocommerce .cart .button,.woocommerce .cart input.button{float:none}.woocommerce table.cart td.actions .input-text{width:150px;min-height:44px;margin-right:7px}.woocommerce a.remove{display:flex;align-items:center;justify-content:center;width:44px;height:44px;font-size:24px}.woocommerce .cart-collaterals .cart_totals{border:1px solid var(--line);border-radius:12px;padding:20px;margin-top:16px}.woocommerce .cart-collaterals .cart_totals h2{margin-top:0}.woocommerce .wc-proceed-to-checkout{padding-bottom:0}.woocommerce .wc-proceed-to-checkout a.checkout-button{font-size:15px;margin-bottom:0}.woocommerce ul#shipping_method li label{display:inline}.woocommerce .woocommerce-error,.woocommerce .woocommerce-info,.woocommerce .woocommerce-message{border-radius:8px;background:var(--soft);color:var(--ink);font-size:13px}.woocommerce .woocommerce-info,.woocommerce .woocommerce-message{border-top-color:var(--navy)}.woocommerce .woocommerce-info:before,.woocommerce .woocommerce-message:before{color:var(--navy)}.woocommerce form .form-row{padding:0;margin:0 0 15px}.woocommerce form .form-row label{font-weight:600;font-size:13px;margin-bottom:5px;line-height:1.6}.woocommerce form .form-row .input-text{min-height:44px;line-height:1.5}.woocommerce form .form-row .required{color:#a83030}.woocommerce form.checkout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:0 36px;align-items:start}.woocommerce form.checkout #customer_details{grid-column:1;grid-row:1/4}.woocommerce form.checkout .col2-set .col-1,.woocommerce form.checkout .col2-set .col-2{width:100%;float:none}.woocommerce form.checkout #order_review_heading{grid-column:2;margin-top:0}.woocommerce form.checkout #order_review{grid-column:2}.woocommerce form.checkout h3{font-size:20px;margin-top:0}.woocommerce .woocommerce-checkout #payment{background:var(--soft);border:1px solid var(--line);border-radius:10px}.woocommerce #payment #place_order{width:100%;margin:12px 0 0}.woocommerce #payment div.payment_box{background:#e5ebf0;color:var(--ink)}.woocommerce-privacy-policy-text{font-size:12px}.woocommerce form.login,.woocommerce form.register{border-color:var(--line);border-radius:12px}.woocommerce-account .woocommerce{display:flow-root}.woocommerce-account .woocommerce-MyAccount-navigation{width:23%;border:1px solid var(--line);border-radius:10px;overflow:hidden}.woocommerce-MyAccount-navigation ul{padding:0;margin:0;list-style:none}.woocommerce-MyAccount-navigation li+li{border-top:1px solid var(--line)}.woocommerce-MyAccount-navigation li a{display:flex;align-items:center;gap:10px;min-height:48px;padding:12px 16px;color:var(--muted);font-size:13px}.woocommerce-MyAccount-navigation li.is-active a{background:var(--soft);color:var(--navy);font-weight:600;border-left:3px solid var(--navy)}.woocommerce-MyAccount-navigation a:before{content:'○';font-size:17px;width:20px}.woocommerce-MyAccount-navigation-link--dashboard a:before{content:'⌂'}.woocommerce-MyAccount-navigation-link--orders a:before{content:'≡'}.woocommerce-MyAccount-navigation-link--edit-address a:before{content:'⌖'}.woocommerce-MyAccount-navigation-link--edit-account a:before{content:'♙'}.woocommerce-MyAccount-navigation-link--customer-logout a:before{content:'↪'}.woocommerce-account .woocommerce-MyAccount-content{width:73%;padding:22px;border:1px solid var(--line);border-radius:12px}.woocommerce-EditAccountForm fieldset{border-top:1px solid var(--line);padding-top:18px;margin:20px 0}.woocommerce-EditAccountForm legend{padding:0 8px}.woocommerce .select2-container .select2-selection--single{height:44px;border:1px solid var(--line);border-radius:6px}.woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered{line-height:42px}.woocommerce .select2-container--default .select2-selection--single .select2-selection__arrow{height:42px}.woocommerce dl.variation dd,.woocommerce dl.variation dt{font-size:12px}.woocommerce-pagination{margin:25px 0}
@media(max-width:1000px){.header-inner{gap:16px}.main-nav{gap:14px}.event-grid{gap:18px}.product-layout{gap:24px}.footer-inner{flex-wrap:wrap;gap:0 16px}.site-footer nav{gap:0 18px}.event-card-footer{flex-wrap:wrap}.event-action{width:100%}.filter-toolbar{flex-wrap:wrap}.type-filters{flex-basis:100%}.event-search{flex:1}.woocommerce ul.products{gap:18px}.woocommerce div.product .product-layout .summary{padding:18px}}
@media(max-width:760px){.header-inner{padding:10px 16px;flex-wrap:wrap;gap:8px 12px}.brand{gap:8px}.brand strong{font-size:18px}.brand small{font-size:9px}.main-nav{order:3;width:100%;gap:20px;flex-wrap:wrap;font-size:12px}.main-nav a{min-height:44px}.site-main{padding:20px 16px 30px}.page-heading{align-items:flex-start;flex-wrap:wrap;gap:6px;margin-bottom:18px}h1{font-size:25px}.page-heading p{font-size:12px}.event-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.event-body{padding:14px}.event-body h2{font-size:16px}.filter-options{padding:4px 12px 14px}.filter-options fieldset{display:block;margin-bottom:16px}.filter-options legend{float:none;padding:0 0 8px}.event-search input[type=search]{font-size:16px}.woocommerce ul.products,.woocommerce-page ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:14px;padding-left:10px;padding-right:10px}.woocommerce ul.products li.product .price{padding:0 10px;font-size:16px}.woocommerce ul.products li.product .button{margin-left:10px;margin-right:10px;padding:9px;font-size:11px}.product-heading{flex-wrap:wrap;margin:4px 0 18px}.product-layout{display:flex;flex-direction:column;gap:22px}.product-media,.product-details,.woocommerce div.product .product-layout .summary{width:100%}.product-media{order:1}.woocommerce div.product .product-layout .summary{order:2}.product-details{order:3}.woocommerce div.product .product-media .woocommerce-product-gallery__image img{max-height:480px}.woocommerce div.product .product-layout .summary{padding:18px}.woocommerce form.checkout{display:block}.woocommerce form.checkout #customer_details{margin-bottom:28px}.woocommerce-account .woocommerce-MyAccount-navigation,.woocommerce-account .woocommerce-MyAccount-content{width:100%;float:none}.woocommerce-account .woocommerce-MyAccount-navigation{margin-bottom:20px}.woocommerce-MyAccount-navigation ul{display:flex;flex-wrap:wrap}.woocommerce-MyAccount-navigation li{flex:1 1 45%;border:0!important}.woocommerce-MyAccount-navigation li a{font-size:12px;padding:10px}.woocommerce-account .woocommerce-MyAccount-content{padding:16px}.woocommerce form .form-row-first,.woocommerce form .form-row-last{width:100%;float:none}.woocommerce .cart-collaterals .cart_totals{width:100%;padding:16px}.woocommerce table.shop_table_responsive tr td{padding:12px}.woocommerce .cart .coupon{display:flex;gap:6px;flex-wrap:wrap}.woocommerce table.cart td.actions .coupon .input-text{flex:1;width:100%;min-width:100px;margin:0}.woocommerce table.cart td.actions .coupon .button{width:auto}.footer-inner{padding:8px 16px}.site-footer nav{gap:0 16px}.site-footer span{min-height:32px;display:flex;align-items:center}.woocommerce .woocommerce-ordering select{max-width:200px}.woocommerce .woocommerce-result-count{float:none}.entry-content table{max-width:100%}.dev-notice{font-size:11px}}
@media(max-width:480px){.event-grid{grid-template-columns:1fr}.event-card-footer{flex-wrap:nowrap}.event-action{width:auto}.type-filters{gap:2px}.type-filters .filter-choice span{padding:8px 10px;font-size:11px}.filter-toolbar .button{padding:10px 12px}.event-search{min-width:130px;padding-left:8px}.event-facts{grid-template-columns:1fr}.storefront-tools .woocommerce-product-search{flex-wrap:wrap}.storefront-tools .woocommerce-product-search input{flex-basis:100%}.product-heading .badge{font-size:10px}}
/* Participant markup belongs to the core plugin; polish without changing behavior. */
.woocommerce .summary .zb-person{border:1px solid var(--line);border-radius:10px;padding:16px;margin-bottom:16px;background:#fff;overflow:hidden}.summary .zb-person h3{font-size:15px;margin:0 0 12px}.summary .zb-person label{font-size:12px;margin:10px 0}.summary .zb-person input:not([type=checkbox]):not([type=radio]),.summary .zb-person select{margin-top:5px}.summary .zb-person fieldset{border-top:1px solid var(--line);padding-top:12px}.summary .zb-person details{border-color:var(--line)}.summary .zb-person .zb-start{border-color:var(--line);padding:8px 0}.summary .zb-booking .zb-add{background:#fff;color:var(--navy);border:1px dashed #9eb0c0;width:100%;margin-bottom:12px}.summary .zb-booking .zb-remove{background:transparent;color:var(--muted);border:1px solid var(--line);padding:8px;min-width:44px}.summary .zb-booking>p{font-size:11px;color:var(--muted);line-height:1.5}.summary .zb-booking .zb-error{color:#a83030;font-size:13px}.summary .zb-booking>.single_add_to_cart_button{width:100%;margin-top:8px}.summary .zb-person small{display:block;font-size:11px}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
