/*
Theme Name: Strefa Figurek
Author: Strefa Figurek
Description: Edytowalny motyw WooCommerce: 83 ustawienia, układ sekcji i opcjonalny edytor bloków.
Version: 2.0.0
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
Text Domain: strefafigurek
*/
:root{--ink:#23222c;--muted:#65626f;--accent:#643ad6;--line:#e7e5ec;--surface:#f5f4f8;--radius:22px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;background:#fff;color:var(--ink);font:16px/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:inherit;text-decoration:none}a:hover{color:var(--accent)}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--accent);outline-offset:5px}img{max-width:100%;height:auto}.container{width:min(1240px,calc(100% - 64px));margin-inline:auto}.topbar{text-align:center;background:var(--ink);color:#fff;padding:8px 16px;font-size:.875rem}.header-row{display:flex;align-items:center;justify-content:space-between;gap:30px;padding-block:27px}.site-header{border-bottom:1px solid var(--line)}.brand a{display:block;font-size:1.75rem;font-weight:850;letter-spacing:-1.3px;line-height:1.1}.brand span{color:var(--accent)}.brand small{display:block;font-size:.75rem;letter-spacing:1.8px;font-weight:600;margin-top:8px}.custom-logo{max-width:240px;max-height:80px;object-fit:contain}.primary-nav ul,.site-footer ul{display:flex;gap:28px;list-style:none;margin:0;padding:0;flex-wrap:wrap}.primary-nav{font-size:.9375rem;font-weight:600}.cart-link{border:1px solid var(--line);border-radius:99px;padding:10px 22px;font-size:.9375rem;font-weight:600}.cart-link span{margin-left:12px}.hero{display:flex;align-items:center;gap:32px;padding:56px;margin-block:30px 28px;border-radius:28px;background:#f1eef9;overflow:hidden;min-height:390px}.hero-copy{flex:1.1;min-width:0}.eyebrow{font-size:.75rem;font-weight:750;letter-spacing:2px;color:var(--accent);margin:0 0 14px}h1,h2,h3{line-height:1.12;letter-spacing:-1.4px}h1{font-size:clamp(2.5rem,4.5vw,4rem);margin:0 0 22px;font-weight:800;max-width:640px;overflow-wrap:break-word}.hero-description{max-width:440px;color:var(--muted);margin-bottom:28px;font-size:1.0625rem}.sf-button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt,.wp-element-button{display:inline-flex;align-items:center;justify-content:center;gap:25px;background:var(--accent);color:#fff;border:0;border-radius:12px;padding:15px 23px;line-height:1.4;font-size:.9375rem;font-weight:650;cursor:pointer;text-decoration:none}.sf-button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover,.wp-element-button:hover{background:#4f28b5;color:#fff}.hero-visual{flex:1;min-width:0;text-align:center}.hero-image{max-height:320px;width:100%;object-fit:contain;border-radius:20px}.hero-note{display:block;margin-top:12px;font-size:.875rem;color:var(--muted)}.categories{display:flex;gap:10px;flex-wrap:wrap;padding-bottom:24px;border-bottom:1px solid var(--line)}.category{border:1px solid var(--line);border-radius:100px;padding:10px 20px;font-size:.875rem;font-weight:600}.category.active{background:var(--ink);color:white;border-color:var(--ink)}.category:hover{border-color:var(--accent)}.product-section{padding:42px 0 52px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.section-heading .eyebrow{margin-bottom:9px}h2{font-size:2rem;margin:0 0 15px}.section-heading h2{margin:0}.text-link{font-size:.9375rem;font-weight:650;text-decoration:underline;text-underline-offset:5px}.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin:0 0 35px;padding:0}.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;display:flex;flex-direction:column;min-width:0;border:1px solid var(--line);border-radius:18px;padding:12px 12px 18px;background:#fff;transition:border-color .2s,box-shadow .2s}.woocommerce ul.products li.product:hover{border-color:#c9bae9;box-shadow:0 8px 24px #23222c09}.woocommerce ul.products li.product a img{aspect-ratio:1/1;object-fit:contain;background:var(--surface);border-radius:11px;margin:0 0 15px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:1rem;line-height:1.45;letter-spacing:0;padding:0 5px 8px;font-weight:650}.woocommerce ul.products li.product .price{color:var(--ink);font-size:1.0625rem;padding-inline:5px}.woocommerce ul.products li.product .button{margin:15px 4px 0;align-self:stretch;text-align:center}.woocommerce ul.products li.product .added_to_cart{padding:10px 5px;text-decoration:underline}.woocommerce span.onsale{background:var(--accent);font-size:.75rem;padding:3px 12px;min-height:0;line-height:2;border-radius:30px}.woocommerce div.product .product_title{font-size:2.5rem}.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--accent)}.woocommerce div.product .woocommerce-tabs ul.tabs li{border-color:var(--line);background:var(--surface)}.woocommerce .quantity .qty{padding:12px 4px;min-width:75px}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,input[type=text],input[type=email],input[type=search],input[type=tel],input[type=password],select,textarea{max-width:100%;border:1px solid #bcb8c6;border-radius:8px;padding:12px;font:inherit;background:#fff;color:var(--ink)}.woocommerce table.shop_table{border-color:var(--line);border-radius:12px}.woocommerce-message,.woocommerce-info{border-top-color:var(--accent);background:var(--surface);color:var(--ink)}.woocommerce-message::before,.woocommerce-info::before{color:var(--accent)}.content{padding-block:45px 65px;min-height:50vh}.content h1{font-size:clamp(2rem,4vw,3rem)}.editor-content{padding-bottom:25px;overflow-wrap:anywhere}.editor-content a:not(.button):not(.wp-element-button){text-decoration:underline}.entry{padding-block:20px;border-bottom:1px solid var(--line)}.site-footer{background:var(--surface);border-top:1px solid var(--line);padding:42px 0 20px}.footer-row{display:flex;justify-content:space-between;gap:30px}.footer-brand{font-size:1.4rem;font-weight:800;letter-spacing:-.7px}.footer-row p{font-size:.9375rem;color:var(--muted);margin-top:7px}.site-footer nav{font-size:.875rem}.footer-bottom{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-top:30px;padding-top:18px;border-top:1px solid #dddae5;font-size:.8125rem;color:var(--muted)}.skip-link{position:absolute;top:-100px;left:10px;background:#fff;z-index:10000;padding:12px}.skip-link:focus{top:10px}.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.alignwide,.alignfull{max-width:100%}.wp-caption{max-width:100%}.wp-caption-text,.gallery-caption{font-size:.875rem}.sticky{border-left:3px solid var(--accent);padding-left:18px}.bypostauthor{font-weight:inherit}
@media(max-width:900px){.container{width:calc(100% - 40px)}.header-row{gap:20px;flex-wrap:wrap}.primary-nav{order:3;width:100%}.primary-nav ul{gap:20px}.hero{padding:32px;gap:24px}.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.footer-row{flex-direction:column}}
@media(max-width:560px){.container{width:calc(100% - 28px)}.header-row{padding-block:20px;gap:18px}.brand a{font-size:1.5rem}.brand small{font-size:.75rem;letter-spacing:.7px}.cart-link{padding:8px 14px}.hero{flex-direction:column;align-items:stretch;padding:27px 23px;margin-top:18px;min-height:0;border-radius:20px}.hero h1{font-size:2.65rem}.hero-visual{width:100%}.hero-image{max-height:240px}.hero-note{display:none}.section-heading{align-items:flex-start;flex-direction:column;gap:15px}.category{padding:8px 13px}.woocommerce ul.products{gap:12px}.woocommerce ul.products li.product{padding:8px 8px 13px}.woocommerce ul.products li.product .button{font-size:.875rem;padding:12px 7px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:.9375rem}.site-footer ul{gap:14px}.woocommerce div.product .product_title{font-size:2rem}.woocommerce .woocommerce-ordering,.woocommerce .woocommerce-result-count{float:none}.woocommerce table.shop_table{font-size:.875rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Strefa Figurek 2.0: controls override base values. Custom CSS remains last. */
body{font-family:var(--sf-font);font-size:var(--body-size);background:var(--page-bg);color:var(--ink)}.container{width:min(var(--site-width),calc(100% - 64px))}.site-header{background:var(--header-bg)}.topbar{background:var(--top-bg);color:var(--top-text)}.topbar a{color:inherit;text-decoration:underline;text-underline-offset:3px}.custom-logo{width:var(--logo-width);max-width:min(var(--logo-width),100%);max-height:none}.brand{max-width:100%;overflow-wrap:anywhere}.sf-sticky-header .site-header{position:sticky;top:0;z-index:100}.admin-bar.sf-sticky-header .site-header{top:32px}.header-row{flex-wrap:wrap}.primary-nav{min-width:0}.primary-nav li{position:relative}.primary-nav a{display:inline-block;padding:6px 0}.primary-nav .sub-menu{display:none;position:absolute;top:100%;left:0;z-index:200;min-width:220px;padding:12px 18px;background:var(--header-bg);border:1px solid var(--line);border-radius:12px;box-shadow:0 8px 24px #0001;gap:8px}.primary-nav .sub-menu li{width:100%}.primary-nav li:hover>.sub-menu,.primary-nav li:focus-within>.sub-menu{display:flex;flex-direction:column}.primary-nav .menu-item-has-children>a::after{content:' ▾';font-size:.85em}.sf-menu-toggle{display:none;border:1px solid var(--line);border-radius:10px;background:var(--header-bg);color:var(--ink);padding:10px 16px;font:inherit;cursor:pointer}.sf-search{display:flex;gap:10px;flex-basis:100%;max-width:640px;margin-left:auto}.sf-search input[type=search]{flex:1;min-width:0}.sf-search button{padding:10px 20px}.hero{background:var(--hero-bg);border-radius:var(--radius);padding:var(--hero-padding);min-height:0;margin:0}.hero h1{font-size:clamp(2rem,4.5vw,var(--heading-size));max-width:none}.hero-image{max-height:var(--hero-height);border-radius:var(--radius)}.sf-blend-image .hero-image{mix-blend-mode:multiply}.sf-hero-left .hero-visual{order:-1}.sf-hero-stack .hero{flex-direction:column;text-align:center}.sf-hero-stack .hero-copy{max-width:850px}.sf-hero-stack .hero-description{margin-inline:auto;max-width:650px}.sf-hero-stack .hero-visual{width:100%;max-width:750px}.sf-home{padding-block:30px var(--section-gap)}.sf-home>section,.sf-home>nav,.sf-home>.sf-home-blocks{margin-bottom:var(--section-gap)}.sf-home>section:last-child,.sf-home>nav:last-child{margin-bottom:0}.sf-home .product-section{padding:0}.categories{padding-bottom:var(--section-gap)}.woocommerce ul.products{grid-template-columns:repeat(var(--product-columns),minmax(0,1fr))}.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{border-radius:var(--radius)}.woocommerce ul.products li.product a img{aspect-ratio:var(--product-ratio);object-fit:var(--product-fit);border-radius:calc(var(--radius) * .6)}.sf-no-shadow .woocommerce ul.products li.product:hover{box-shadow:none}.sf-button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt,.wp-element-button{background:var(--accent);color:var(--button-text);border-radius:calc(var(--radius) * .55)}.sf-button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover,.wp-element-button:hover{background:var(--hover);color:var(--button-text)}.sf-about{display:flex;gap:40px;align-items:center;background:var(--surface);padding:40px;border-radius:var(--radius)}.sf-about-image,.sf-about-copy{flex:1;min-width:0}.sf-about-image img{display:block;border-radius:var(--radius);max-height:450px;object-fit:contain}.sf-about-copy p{white-space:normal}.sf-footer-intro{max-width:550px}.sf-footer-description p{margin:8px 0}.sf-socials{display:flex;gap:18px;flex-wrap:wrap;font-size:.9375rem}.sf-socials a{text-decoration:underline;text-underline-offset:4px}.sf-footer-widgets{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:32px;margin-top:28px}.sf-footer-widget .widget-title{font-size:1.125rem;letter-spacing:0}.sf-footer-widgets ul{display:block;padding-left:18px;list-style:disc}.sf-home-blocks .alignfull{width:100%;max-width:100%;margin-left:0;margin-right:0}.sf-home-blocks:empty{display:none}.sf-home-blocks{padding:0}.sf-home-blocks details{border-bottom:1px solid var(--line);padding:16px 0}.sf-home-blocks summary{cursor:pointer;font-weight:650}.sf-editor-hint{padding:20px;border:1px dashed var(--accent)}
@media(max-width:900px){.container{width:calc(100% - 40px)}.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{padding:min(var(--hero-padding),36px)}.primary-nav .sub-menu{position:static;box-shadow:none}.sf-about{padding:28px;gap:24px}}
@media(max-width:760px){.sf-menu-ready .sf-menu-toggle{display:block;margin-left:auto}.sf-menu-ready .primary-nav{display:none;order:5;flex-basis:100%}.sf-menu-ready .primary-nav.sf-open{display:block}.primary-nav ul{flex-direction:column;gap:6px}.primary-nav .sub-menu{display:flex;flex-direction:column;border:0;border-left:2px solid var(--line);border-radius:0;padding:0 0 0 18px;margin:4px 0 8px 8px;min-width:0}.sf-search{order:6}.sf-about{flex-direction:column}.sf-about-image{width:100%}.hero{flex-direction:column;align-items:stretch}.sf-hero-left .hero-visual{order:0}.hero h1{font-size:min(var(--heading-size),2.8rem)}.hero-image{max-height:min(var(--hero-height),320px)}.admin-bar.sf-sticky-header .site-header{top:46px}}
@media(max-width:600px){.admin-bar.sf-sticky-header .site-header{top:0}}
@media(max-width:560px){.container{width:calc(100% - 28px)}.hero{padding:min(var(--hero-padding),26px)}.hero-image{max-height:min(var(--hero-height),280px)}.hero-note{display:block}.woocommerce ul.products{grid-template-columns:repeat(var(--mobile-columns),minmax(0,1fr))}.sf-home{padding-top:18px}.custom-logo{max-width:min(var(--logo-width),210px)}.header-row{gap:12px}.section-heading h2,.sf-about h2{font-size:1.75rem}.sf-about{padding:22px}}
