/*
Theme Name: Oponaro
Author: Oponaro
Description: Czytelny sklep z oponami, felgami i akcesoriami. Integracja z WooCommerce bez nadpisywania procesu płatności.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: oponaro
*/
:root{--ink:#203345;--muted:#56616b;--navy:#233c50;--accent:#b8411c;--line:#d8dde1;--light:#f1f3f5}
*{box-sizing:border-box}body{margin:0;font:16px/1.6 Arial,'Segoe UI',sans-serif;color:var(--ink);background:white}a{color:inherit;text-underline-offset:4px}a:hover{color:var(--accent)}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}input,select,textarea{max-width:100%}img{max-width:100%;height:auto}h1,h2,h3{line-height:1.25;margin:0 0 18px;letter-spacing:normal}h1{font-size:36px}h2{font-size:28px}h3{font-size:22px}p{margin:0 0 18px}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--accent);outline-offset:4px}.container{max-width:1248px;margin:auto;padding-left:32px;padding-right:32px}.page-content{padding-top:36px;padding-bottom:40px;min-height:50vh}.screen-reader-text,.skip-link{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip-link:focus{clip:auto;width:auto;height:auto;padding:14px;top:8px;left:8px;background:white;z-index:100}
.site-header{border-bottom:1px solid var(--line)}.header-main{min-height:100px;display:flex;align-items:center;gap:30px}.brand a{display:flex;align-items:center;gap:9px;text-decoration:none;font-size:33px;font-weight:700;letter-spacing:-1px;color:var(--navy)}.brand-mark{width:34px;height:34px;border:7px solid var(--navy);border-radius:50%;box-shadow:inset 0 0 0 3px white;background:var(--accent)}.custom-logo{max-width:240px;max-height:70px;width:auto}.header-search{display:flex;flex:1;min-width:100px;height:48px;border:1px solid #aeb9c1;border-radius:5px;overflow:hidden}.header-search input{width:100%;min-width:0;border:0;padding:10px 14px}.header-search button{background:var(--navy);color:white;border:0;padding:0 18px;cursor:pointer}.header-actions{display:flex;align-items:center;gap:22px;white-space:nowrap}.header-actions a{text-decoration:none;min-height:44px;display:flex;align-items:center;gap:8px}.op-cart-count{border-radius:50%;background:var(--light);min-width:27px;text-align:center;font-size:14px}.menu-toggle{display:none;background:white;color:var(--ink);padding:10px;border:1px solid var(--line);border-radius:4px}.site-nav{background:var(--navy);color:white}.site-nav ul{list-style:none;display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px 24px;margin:0;padding:0}.site-nav a{display:block;color:white;text-decoration:none;padding:13px 0;font-weight:600}.site-nav a:hover{text-decoration:underline}.home-search{background:var(--light);padding:36px 0;border-bottom:1px solid var(--line)}.home-search>div>p{font-size:18px;color:var(--muted)}.finder{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) 1.3fr;gap:15px;padding:24px;border:1px solid #cbd3d9;border-radius:6px;background:white;clear:both}.finder label{font-size:15px;font-weight:600}.finder select{display:block;width:100%;min-height:48px;margin-top:7px;background:white;border:1px solid #aeb9c1;border-radius:4px;padding:8px 10px;color:var(--ink);font-size:19px}.finder .button{align-self:end;min-height:48px}.size-help{font-size:14px;color:var(--muted);margin:14px 0 0}.finder-empty{background:white;padding:22px;border:1px solid var(--line);border-radius:5px}.home-section{padding-top:38px}.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.category-grid a{border:1px solid #cbd3d9;border-radius:5px;padding:20px 18px;display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:76px;font-weight:600;text-decoration:none}.category-grid a:hover{background:var(--light)}.section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin-bottom:20px}.section-heading h2{margin:0}.size-guide{display:grid;grid-template-columns:1fr 2fr;gap:35px;border:1px solid var(--line);border-radius:5px;padding:28px}.size-example{font-size:36px;font-weight:700;align-self:center;color:var(--navy)}.size-guide dl{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin:0}.size-guide dt{font-weight:700;margin-bottom:8px}.size-guide dd{margin:0;color:var(--muted)}
body .button,body .woocommerce a.button,body .woocommerce button.button,body .woocommerce input.button,body .woocommerce #respond input#submit,body .woocommerce a.button.alt,body .woocommerce button.button.alt,body .wc-block-components-button:not(.is-link){background:var(--accent);color:white;border:1px solid transparent;border-radius:5px;font:600 16px/1.4 Arial,sans-serif;padding:12px 20px;min-height:46px;text-decoration:none;text-align:center;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px}body .button:hover,body .woocommerce a.button:hover,body .woocommerce button.button:hover,body .woocommerce a.button.alt:hover,body .woocommerce button.button.alt:hover{background:#943517;color:white}body .woocommerce ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;padding:0;margin:24px 0;clear:both}body .woocommerce ul.products::before,body .woocommerce ul.products::after{display:none}body .woocommerce ul.products li.product,body .woocommerce-page ul.products li.product{float:none!important;width:auto!important;margin:0!important;padding:16px;border:1px solid var(--line);border-radius:6px;display:flex;flex-direction:column;text-align:left;min-width:0}body .woocommerce ul.products li.product>a.woocommerce-LoopProduct-link{color:var(--ink);text-decoration:none}body .woocommerce ul.products li.product a img{height:200px;width:100%;object-fit:contain;margin:0 0 16px;background:#fafbfc}body .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:20px;line-height:1.35;padding:0;margin:0 0 12px}body .woocommerce ul.products li.product .price{font-size:26px;color:var(--ink);font-weight:700}body .woocommerce ul.products li.product .price del{font-size:17px;color:var(--muted)}body .woocommerce ul.products li.product .price ins{text-decoration:none}body .woocommerce ul.products li.product .button{width:100%;margin-top:auto}body .woocommerce ul.products li.product .product-size{font-size:19px;font-weight:600;margin-bottom:12px}body .woocommerce .woocommerce-result-count{font-size:16px}body .woocommerce .woocommerce-ordering select{min-height:44px;border:1px solid #aeb9c1;border-radius:4px;padding:8px;font-size:16px}body .woocommerce .quantity .qty{min-height:46px;min-width:70px;border:1px solid #aeb9c1;border-radius:4px;font-size:18px}body .woocommerce div.product .product_title{font-size:34px}body .woocommerce div.product p.price{font-size:30px;color:var(--ink)}body .woocommerce div.product .woocommerce-tabs ul.tabs li{background:var(--light)}body .woocommerce .woocommerce-breadcrumb{font-size:14px;margin-bottom:24px}body .woocommerce form .form-row input.input-text,body .woocommerce form .form-row textarea{min-height:48px;padding:10px 12px;font-size:16px;border:1px solid #aeb9c1;border-radius:4px}body .woocommerce form .form-row label{font-size:16px}body .woocommerce table.shop_table{font-size:16px;border-color:var(--line)}body .woocommerce .woocommerce-info,body .woocommerce .woocommerce-message{border-top-color:var(--navy);background:var(--light)}body .woocommerce .woocommerce-info::before,body .woocommerce .woocommerce-message::before{color:var(--navy)}.site-footer{margin-top:50px;background:var(--light);border-top:1px solid var(--line)}.footer-inner{display:grid;grid-template-columns:1fr 2fr;gap:40px;padding-top:36px;padding-bottom:28px}.footer-brand{font-size:28px;font-weight:700;text-decoration:none}.footer-inner p{margin-top:12px;font-size:15px;color:var(--muted)}.footer-inner ul{display:flex;list-style:none;gap:16px 28px;flex-wrap:wrap;margin:0;padding:0}.footer-inner li a{font-size:15px;display:inline-block;padding:7px 0}.copyright{padding-top:18px;padding-bottom:22px;font-size:14px;border-top:1px solid var(--line)}.wp-block-image{margin-left:0;margin-right:0}.alignwide{width:100%}.alignfull{max-width:100%}.wp-caption-text{font-size:14px}.sticky{border-left:3px solid var(--accent);padding-left:18px}
@media(max-width:1050px){.header-main{gap:20px;flex-wrap:wrap;padding-top:18px;padding-bottom:18px}.header-search{order:3;flex-basis:100%}.header-actions{margin-left:auto}.finder{grid-template-columns:repeat(4,1fr)}.finder>.button{grid-column:1/-1}.category-grid{grid-template-columns:repeat(2,1fr)}body .woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}.size-guide{grid-template-columns:1fr}}
@media(max-width:760px){h1{font-size:30px}h2{font-size:25px}.menu-toggle{display:block}.op-js .site-nav{display:none}.op-js .site-nav.is-open{display:block}.site-nav ul{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.finder{grid-template-columns:repeat(2,1fr);padding:18px}.finder select{font-size:18px}body .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}.section-heading{flex-direction:column;gap:10px}.size-guide dl{grid-template-columns:1fr}.footer-inner{grid-template-columns:1fr;gap:20px}}
@media(max-width:480px){.container{padding-left:18px;padding-right:18px}.brand a{font-size:28px}.brand-mark{width:29px;height:29px;border-width:6px}.header-actions{gap:12px;font-size:14px}.header-actions>a:first-child{display:none}.home-search{padding:26px 0}.home-search>div>p{font-size:16px}.category-grid{grid-template-columns:1fr;gap:10px}.category-grid a{min-height:60px;padding:14px}body .woocommerce ul.products{grid-template-columns:1fr}body .woocommerce ul.products li.product a img{height:220px}.finder{gap:12px}.finder select{padding:8px 5px}.size-example{font-size:30px}.size-guide{padding:20px}.footer-inner ul{display:block}.site-nav a{font-size:15px}.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{float:none!important}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
