/*
Theme Name: Klockoteka
Description: Polski motyw blokowy dla sklepów z klockami, z kolekcją pokazową i integracją WooCommerce.
Version: 1.0.0
Requires at least: 6.7
Requires PHP: 8.0
Text Domain: pracownia-klockow
License: GNU General Public License v2 or later
*/
:root{--ink:var(--wp--preset--color--ink,#191b2a);--ice:var(--wp--preset--color--ice,#dff4fa);--lilac:var(--wp--preset--color--lilac,#e8e1fa);--purple:var(--wp--preset--color--purple,#694ba7);--line:#dedee6;--white:var(--wp--preset--color--white,#fff)}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;overflow-wrap:break-word}img,video,iframe,svg{max-width:100%}img{height:auto}h1,h2,h3,p,figure{margin:0}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid var(--purple);outline-offset:3px}.pk-container{width:min(1280px,calc(100% - clamp(32px,8vw,120px)));margin-inline:auto!important}.pk-motto{text-align:center;background:color-mix(in srgb,var(--ice) 80%,transparent);backdrop-filter:blur(14px);padding:7px 15px;font-size:12px;font-weight:600;letter-spacing:.025em}.pk-motto span{margin-right:6px;color:#356979}header.wp-block-template-part{background:var(--white)}.pk-nav,.pk-tools,.pk-links,.pk-cats,.pk-brand,.pk-section-head,.pk-footgrid{display:flex;align-items:center}.pk-nav{min-height:80px;gap:32px}.pk-brand{gap:10px;font-size:25px;letter-spacing:-1.6px;font-weight:850;color:inherit}.pk-brand i{width:39px;height:39px;border-radius:11px;background:var(--ink);color:var(--ice);display:grid;place-items:center}.pk-brand svg{width:28px;height:28px}.custom-logo-link img{display:block;width:auto;height:44px}.pk-links{gap:28px;margin-inline:auto;font-size:14px;font-weight:600}.pk-links a:hover,.pk-cats a:hover,.pk-footer nav a:hover{text-decoration:underline;text-underline-offset:5px}.pk-nav ul,.pk-footer ul{list-style:none;display:flex;gap:20px;padding:0;margin:0}.pk-tools{gap:4px}.pk-tools>button,.pk-tools>a,.pk-close{background:transparent;color:var(--ink);border:0;display:grid;place-items:center;min-width:42px;min-height:42px;border-radius:9px}.pk-tools>button:hover,.pk-tools>a:hover{background:var(--ice)}.pk-tools .wc-block-mini-cart__button{border-radius:10px;background:var(--lilac);min-width:48px;padding:8px 12px;justify-content:center}.pk-tools .pk-menu,.pk-mobile{display:none}.pk-catwrap{border-block:1px solid var(--line)}.pk-cats{gap:27px;min-height:44px;font-size:13px;font-weight:600;flex-wrap:wrap}.pk-promo{display:inline-flex;align-items:center;gap:7px;color:var(--purple)}.pk-promo svg{width:16px}.pk-cats>a:first-child{border-right:1px solid var(--line);padding-right:24px}
.pk-home{padding-block:26px 56px}.pk-hero{position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:.95fr 1.05fr;background:linear-gradient(105deg,#f3effc 2%,var(--lilac) 53%,#cec3ed);border:1px solid #d4cce6;border-radius:22px;min-height:410px}.pk-herocopy{z-index:1;align-self:center;padding:clamp(25px,4.2vw,66px);padding-right:0}.pk-eyebrow,.pk-code,.pk-product-cat{font:700 11px/1.4 ui-monospace,monospace;letter-spacing:.14em;text-transform:uppercase}.pk-eyebrow{display:flex;align-items:center;gap:10px;color:#574677}.pk-eyebrow:before{content:"";width:8px;height:8px;background:currentColor;border-radius:2px}.pk-herocopy h1{max-width:7.8em;font-size:clamp(56px,6.1vw,92px);letter-spacing:-.077em;line-height:.97;margin:22px 0;font-weight:730}.pk-lead{max-width:36ch;font-size:16px;line-height:1.55;color:#474052}.pk-home .wp-block-buttons{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-top:28px}.pk-button,.wp-block-button__link{border:0;background:var(--ink);color:var(--white);border-radius:8px;padding:12px 19px;font-size:14px;font-weight:680}.pk-home .is-style-outline .wp-block-button__link{border:none;background:transparent;color:var(--ink);padding-inline:5px}.pk-stage{position:relative;isolation:isolate;display:grid;place-items:center;min-width:0;align-self:stretch;background-image:radial-gradient(#7c6a962e 1px,transparent 1px);background-size:16px 16px;mask-image:linear-gradient(90deg,transparent,#000 5%)}.pk-stage:before,.pk-stage:after{content:"";position:absolute;width:86%;aspect-ratio:1;border-radius:50%;border:1px solid #fff9;z-index:-1}.pk-stage:after{width:71%;border-style:dashed;border-color:#8e7da866}.pk-stage figure{width:110%;max-width:none;margin-left:-8%;position:relative;z-index:1;filter:drop-shadow(0 20px 14px #53406948)}.pk-stage img{display:block;width:100%}.pk-code{position:absolute;bottom:18px;right:23px;font-size:10px;border:1px solid #80748d69;background:#ffffff52;padding:5px 10px;border-radius:5px;z-index:2}.pk-section-kicker{margin:46px 0 8px}.pk-section-head{justify-content:space-between;gap:15px;margin-bottom:23px}.pk-section-head h2,.pk-content h1,.pk-content h2{letter-spacing:-.055em;line-height:1.12}.pk-section-head h2{font-size:clamp(28px,3vw,46px)}.pk-section-head a{font-size:13px;font-weight:650}.pk-content{padding-block:48px 64px;min-height:50vh}.pk-content h1{font-size:clamp(35px,4vw,62px);margin-bottom:25px}.pk-content h2{margin-block:22px 12px}.pk-content .wp-block-post-content>p{max-width:70ch;margin-block:12px}.pk-content .wp-block-post-content a:not(.button){text-decoration:underline}
.woocommerce ul.products,.woocommerce-page ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:0}.woocommerce ul.products:before,.woocommerce ul.products:after,.woocommerce-page ul.products:before,.woocommerce-page ul.products:after{display:none}.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{display:flex;flex-direction:column;position:relative;float:none;width:auto;min-width:0;margin:0;padding:0 16px 16px;border:1px solid var(--line);border-radius:15px;background:var(--white);overflow:hidden}.woocommerce ul.products li.product a img{background:linear-gradient(145deg,#e8e5f1,#f2eff7);width:calc(100% + 32px);max-width:none;margin:0 -16px 14px;aspect-ratio:1.38;object-fit:contain;padding:8px 12px}.woocommerce ul.products li.product:nth-child(4n+2) a img{background:#e4f1ed}.woocommerce ul.products li.product:nth-child(4n+3) a img{background:#f5ede2}.woocommerce ul.products li.product:nth-child(4n) a img{background:var(--ice)}.pk-product-cat{color:#625d72;font-size:10px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:clamp(16px,1.4vw,21px);font-weight:710;letter-spacing:-.035em;padding:5px 0}.woocommerce ul.products li.product .price,.woocommerce div.product p.price{color:var(--ink);font-weight:650}.woocommerce ul.products li.product .button,.woocommerce a.button,.woocommerce button.button,.woocommerce button.button.alt{border-radius:8px;padding:12px 16px;background:var(--ink);color:var(--white);font-size:14px;font-weight:600;line-height:1.3}.woocommerce ul.products li.product .button{margin-top:auto;align-self:stretch;text-align:center}.woocommerce ul.products li.product .onsale,.woocommerce span.onsale{left:10px;top:10px;right:auto;margin:0;min-height:0;min-width:0;line-height:1.5;padding:3px 9px;border-radius:5px;font-size:11px;background:var(--ink);color:var(--white)}.pk-wish{display:inline-grid;place-items:center;width:35px;height:35px;border:1px solid #ccc9d8;background:#ffffffe8;border-radius:50%;color:var(--ink)}li .pk-wish{position:absolute;top:10px;right:10px;z-index:2}.pk-wish svg{width:16px}.pk-wish[aria-pressed=true] svg{fill:#7953a1;stroke:#7953a1}.woocommerce div.product div.images{background:linear-gradient(135deg,var(--lilac),var(--ice));border-radius:18px;overflow:hidden}.woocommerce div.product div.images img{object-fit:contain;aspect-ratio:1.12}.woocommerce div.product .summary{padding:clamp(4px,2vw,36px)}.woocommerce div.product .summary h1{font-size:clamp(35px,3.8vw,61px)}.woocommerce div.product p.price{font-size:25px}.woocommerce-product-details__short-description{margin:18px 0}.woocommerce div.product form.cart{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.woocommerce div.product form.variations_form,.woocommerce div.product form.grouped_form{display:block}.quantity .qty{min-height:43px;border-radius:6px;border:1px solid var(--line)}.product_meta{margin-top:19px;font-size:13px;color:#595361}.product_meta>span{display:block}.pk-form,.pk-dialog form{display:grid;gap:16px}.pk-form{max-width:680px;background:linear-gradient(115deg,var(--white),color-mix(in srgb,var(--lilac) 36%,white));border:1px solid var(--line);border-radius:16px;padding:clamp(20px,3vw,40px);margin-top:22px}.pk-form label{display:grid;gap:6px;font-size:14px;font-weight:650}.pk-form input,.pk-form textarea,.pk-dialog input{min-width:0;width:100%;max-width:100%;border:1px solid #bdbbca;border-radius:7px;padding:12px;background:#fff}.pk-form textarea{resize:vertical}.pk-form button{justify-self:start}.pk-trap{display:none}.pk-dialog{width:min(420px,92vw);max-height:85dvh;color:var(--ink);border:1px solid var(--line);border-radius:18px;padding:28px}.pk-dialog::backdrop{background:#191b2a70;backdrop-filter:blur(5px)}.pk-dialog h2{margin-bottom:20px}.pk-dialog nav,.pk-dialog nav ul{display:grid;gap:14px}.pk-close{float:right;font-size:26px}.pk-footer{background:var(--ink);color:#eeeaf7;padding:38px 0 20px}.pk-footer .pk-brand i{background:var(--ice);color:var(--ink)}.pk-footgrid{justify-content:space-between;align-items:flex-start;gap:26px}.pk-footer p{max-width:350px;font-size:14px;color:#c9c5d4;margin:13px 0}.pk-footer nav{display:grid;grid-template-columns:repeat(2,auto);gap:9px 26px;font-size:14px}.pk-legal{border-top:1px solid #ffffff26;padding-top:15px;margin-top:24px;color:#b9b6c3;font-size:11px}.wc-block-mini-cart__drawer{max-width:100vw}.wp-site-blocks>*+*{margin-block-start:0}.pk-main{margin:0}.woocommerce table{max-width:100%}
@media(max-width:900px){.pk-links{gap:16px}.pk-nav{gap:12px}.pk-herocopy{padding:30px 0 30px 30px}.pk-hero{min-height:350px}.pk-herocopy h1{font-size:61px}.woocommerce ul.products,.woocommerce-page ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}.pk-home .wp-block-buttons{gap:4px}}
@media(max-width:720px){.pk-nav{min-height:65px;justify-content:space-between}.pk-links,.pk-tools .desktop-icon{display:none}.pk-tools .pk-menu{display:grid}.pk-motto{font-size:10px}.pk-brand{font-size:23px}.pk-brand i{width:32px;height:32px}.pk-cats{flex-wrap:nowrap;overflow-x:auto;gap:16px;scrollbar-width:thin;white-space:nowrap;min-height:40px;font-size:12px}.pk-cats>a:first-child{padding-right:16px}.pk-home{padding-top:16px}.pk-hero{grid-template-columns:1fr}.pk-herocopy{padding:26px 23px 0}.pk-herocopy h1{max-width:none;font-size:clamp(41px,10vw,67px);margin:14px 0}.pk-lead{font-size:14px}.pk-home .wp-block-buttons{margin-top:16px;gap:8px}.pk-stage{height:clamp(210px,54vw,335px);mask-image:none;overflow:hidden}.pk-stage figure{height:100%;width:100%;margin:0}.pk-stage img{height:100%;object-fit:contain}.pk-stage:before{width:64%}.pk-stage:after{width:51%}.pk-code{bottom:9px;right:10px;font-size:8px}.pk-section-kicker{margin-top:27px}.pk-section-head{align-items:flex-start;flex-direction:column;gap:4px}.pk-section-head h2{font-size:30px}.pk-mobile{display:flex;position:fixed;bottom:0;inset-inline:0;z-index:900;justify-content:space-around;padding:7px 4px calc(6px + env(safe-area-inset-bottom));background:color-mix(in srgb,var(--ice) 87%,transparent);border-top:1px solid #b7cbd4;backdrop-filter:blur(16px)}.pk-mobile a{display:grid;place-items:center;gap:2px;font-size:10px;font-weight:620;min-height:42px;min-width:44px}.pk-mobile svg{width:20px}.pk-footer{padding-bottom:calc(84px + env(safe-area-inset-bottom))}.pk-footgrid{flex-direction:column}.pk-content{padding-block:29px 40px}.woocommerce ul.products,.woocommerce-page ul.products{gap:10px}.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{padding:0 10px 10px}.woocommerce ul.products li.product a img{width:calc(100% + 20px);margin-inline:-10px;aspect-ratio:1}.woocommerce ul.products li.product .button{padding:10px 5px;font-size:12px}.woocommerce .woocommerce-ordering,.woocommerce .woocommerce-ordering select{max-width:100%}.wp-block-table,.shop_table_wrapper{overflow-x:auto}.pk-footer ul{flex-wrap:wrap}.woocommerce div.product .summary{padding-inline:0}.pk-tools{gap:0}.pk-tools>button{min-width:36px}}
@media(max-width:360px){.pk-brand{font-size:20px}.pk-container{width:calc(100% - 24px)}.pk-herocopy{padding-inline:16px}.pk-home .wp-block-button__link{font-size:12px}.pk-eyebrow{font-size:10px}}
.pk-stage{mask-image:none}.pk-stage figure{width:100%;margin-left:0}
.pk-product-split{gap:clamp(24px,5vw,75px);margin-block:22px 44px}.pk-gallery{min-width:0;align-self:flex-start;background:linear-gradient(145deg,var(--lilac),var(--ice));border:1px solid var(--line);border-radius:20px;overflow:hidden}.pk-gallery .woocommerce-product-gallery{width:100%!important;margin:0!important}.pk-gallery img{max-height:650px;object-fit:contain}.pk-summary{align-self:center;min-width:0}.pk-summary>*{margin-bottom:14px}.pk-summary h1{margin:14px 0;font-size:clamp(36px,4.1vw,63px)}.pk-summary .wc-block-components-product-price{font-weight:650}.pk-summary .wp-block-post-excerpt{color:#504b5b;max-width:49ch}.pk-summary .wp-block-woocommerce-product-sku{font-size:12px;color:#595361}.pk-summary .pk-wish{border-radius:8px;width:auto;min-width:43px;height:43px;padding-inline:12px;gap:8px;display:inline-flex;align-items:center}.pk-summary .pk-wish:after{content:attr(aria-label);font:600 13px system-ui}.pk-product-page .wp-block-woocommerce-product-details{margin:30px 0}
.pk-about-photo{float:right;width:min(38%,420px);margin:0 0 32px 40px;background:linear-gradient(140deg,var(--ice),var(--lilac));border:1px solid var(--line);border-radius:18px}.pk-about-photo img{width:100%;display:block}.pk-content:after{content:"";display:block;clear:both}@media(max-width:620px){.pk-about-photo{float:none;width:100%;margin:0 0 18px}.pk-about-photo img{height:230px;object-fit:contain}}
@media(max-width:720px){.wc-block-cart__submit-container--sticky{bottom:calc(56px + env(safe-area-inset-bottom))!important}}
