/* KAMET Commerce 1.1.2 — product experience, imagery and architectural motion */

/* Architectural hero drawing */
.oz-hero{position:relative;isolation:isolate;overflow:hidden;background-position:center;background-size:cover}
.oz-hero>div:not(.kc-hero-drawing){position:relative;z-index:3}
.kc-hero-drawing{--kc-draw-x:0px;--kc-draw-y:0px;position:absolute;z-index:2;right:clamp(28px,7vw,130px);top:20%;width:min(38vw,570px);height:58%;pointer-events:none;transform:translate3d(var(--kc-draw-x),var(--kc-draw-y),0);opacity:.76;transition:transform .35s ease-out;animation:kc-drawing-enter 1.4s .2s both cubic-bezier(.22,.8,.25,1)}
.kc-hero-drawing:before,.kc-hero-drawing:after,.kc-hero-drawing i{content:"";position:absolute;display:block;border:1px solid rgba(255,255,255,.58)}
.kc-hero-drawing:before{inset:8% 7% 16% 10%;border-left-color:var(--kc-blue);border-bottom-color:var(--kc-blue)}
.kc-hero-drawing:after{left:0;right:0;top:45%;border-width:1px 0 0;transform:rotate(-7deg);transform-origin:center}
.kc-hero-drawing i:nth-child(1){left:10%;top:8%;width:64%;height:70%;transform:skewY(-8deg)}
.kc-hero-drawing i:nth-child(2){right:7%;top:8%;width:19%;height:76%;border-left:0}
.kc-hero-drawing i:nth-child(3){left:3%;bottom:7%;width:90%;height:12%;border-top-color:var(--kc-blue);border-right:0}
.kc-hero-drawing span,.kc-hero-drawing b,.kc-hero-drawing small{position:absolute;color:rgba(255,255,255,.78);font:700 9px/1.2 KametGrotesk,Arial,sans-serif;letter-spacing:.16em}
.kc-hero-drawing span{top:2%;left:10%}.kc-hero-drawing b{right:7%;bottom:9%;color:var(--kc-blue)}.kc-hero-drawing small{left:4%;bottom:1%;font-size:7px}
@keyframes kc-drawing-enter{from{opacity:0;clip-path:inset(0 100% 0 0);transform:translate3d(50px,0,0)}to{opacity:.76;clip-path:inset(0 0 0 0);transform:translate3d(0,0,0)}}

/* Consistent premium product cards and purchase actions */
.woocommerce ul.products li.product{display:flex!important;flex-direction:column;min-width:0;overflow:hidden}
.woocommerce ul.products li.product>a:first-child{overflow:hidden}
.woocommerce ul.products li.product img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:center;image-rendering:auto;transition:transform .7s cubic-bezier(.2,.7,.2,1),filter .45s}
.woocommerce ul.products li.product:hover img{transform:scale(1.035);filter:contrast(1.025) saturate(1.035)}
.woocommerce ul.products li.product .oz-loop-purchase{width:100%;margin-top:auto;padding:0 25px 14px}
.woocommerce ul.products li.product .oz-loop-purchase .button{position:relative;display:flex!important;align-items:center;justify-content:space-between;width:100%!important;min-height:56px;margin:0!important;padding:0 19px!important;border:1px solid var(--kc-blue)!important;background:var(--kc-blue)!important;color:#071114!important;font-size:10px!important;font-weight:800!important;letter-spacing:.12em!important;text-transform:uppercase;box-shadow:none!important;transition:background .25s,color .25s,border-color .25s,transform .25s}
.woocommerce ul.products li.product .oz-loop-purchase .button:after{content:"→"!important;position:static!important;margin:0!important;font-size:18px!important;line-height:1!important;opacity:1!important}
.woocommerce ul.products li.product .oz-loop-purchase .button:hover{background:var(--kc-ink)!important;border-color:var(--kc-ink)!important;color:#fff!important;transform:translateY(-2px)}

/* Recently viewed — no raw Woo output */
.oz-recent-products{width:var(--kc-shell);margin:0 auto;padding:82px 0 110px;border-top:1px solid var(--kc-line)}
.oz-recent-products .oz-section-head{margin-bottom:34px}
.oz-recent-products .oz-section-head h2{max-width:850px;margin:6px 0 0;font:400 clamp(48px,5.8vw,82px)/.88 KametDisplay,Arial,sans-serif!important}
.oz-recent-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.oz-recent-card{display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid var(--kc-line);overflow:hidden;transition:transform .4s cubic-bezier(.2,.7,.2,1),box-shadow .4s}
.oz-recent-card:hover{transform:translateY(-7px);box-shadow:0 24px 60px rgba(12,22,24,.11)}
.oz-recent-image{position:relative;display:block;aspect-ratio:4/3;overflow:hidden;background:var(--kc-mist)}
.oz-recent-image img{display:block;width:100%;height:100%!important;object-fit:cover;object-position:center;image-rendering:auto;transition:transform .7s cubic-bezier(.2,.7,.2,1)}
.oz-recent-card:hover .oz-recent-image img{transform:scale(1.045)}
.oz-recent-image>span{position:absolute;inset:auto 0 0;display:flex;justify-content:flex-end;padding:44px 18px 16px;background:linear-gradient(transparent,rgba(9,16,18,.76));color:#fff;font-size:9px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;transform:translateY(100%);transition:transform .32s}
.oz-recent-card:hover .oz-recent-image>span{transform:none}
.oz-recent-card>div{display:flex;flex:1;flex-direction:column;padding:24px}
.oz-recent-card small,.oz-recent-card small a{color:var(--kc-blue-2)!important;font-size:9px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.oz-recent-card h3{margin:13px 0 12px;font-size:clamp(22px,1.8vw,29px);line-height:1.04}
.oz-recent-price{display:block;margin-bottom:23px;color:var(--kc-ink);font-size:17px;font-weight:700}
.oz-recent-actions{display:grid;grid-template-columns:minmax(0,1fr) 52px;gap:7px;margin-top:auto}
.oz-recent-cart,.oz-recent-link{display:flex;min-height:52px;align-items:center;justify-content:center;border:1px solid var(--kc-blue);font-size:9px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.oz-recent-cart{padding:0 15px;background:var(--kc-blue);color:var(--kc-ink)!important}.oz-recent-cart:hover{background:var(--kc-ink);border-color:var(--kc-ink);color:#fff!important}
.oz-recent-link{font-size:20px;color:var(--kc-ink)!important}.oz-recent-link:hover{background:var(--kc-paper)}

/* Single product — calm, legible action hierarchy */
body.single-product .oz-product-summary-column form.cart{display:grid!important;grid-template-columns:142px minmax(0,1fr)!important;gap:12px!important;align-items:stretch;margin:25px 0 0!important}
body.single-product .oz-product-summary-column form.cart .quantity{display:grid!important;grid-template-columns:42px 58px 42px;width:142px!important;min-width:142px!important;margin:0!important;border:1px solid var(--kc-line)!important;background:#fff}
body.single-product .oz-product-summary-column form.cart .single_add_to_cart_button{display:flex!important;align-items:center;justify-content:space-between;min-height:58px!important;margin:0!important;padding:0 23px!important;border:1px solid var(--kc-blue)!important;background:var(--kc-blue)!important;color:#071114!important;font-size:10px!important;font-weight:800!important;letter-spacing:.12em!important;text-transform:uppercase;box-shadow:none!important}
body.single-product .oz-product-summary-column form.cart .single_add_to_cart_button:after{content:"→";font-size:19px}
body.single-product .oz-product-summary-column form.cart .single_add_to_cart_button:hover{background:var(--kc-ink)!important;border-color:var(--kc-ink)!important;color:#fff!important}
body.single-product .kc-product-config{margin:12px 0 0;padding:20px 22px}
body.single-product .kc-product-enquiry-open{display:flex!important;align-items:center;justify-content:space-between;min-height:56px;margin:12px 0 0!important;padding:0 20px!important;border:1px solid var(--kc-ink)!important;background:#fff!important;color:var(--kc-ink)!important;font-size:10px!important;letter-spacing:.11em!important}
body.single-product .kc-product-enquiry-open:after{content:"Napisz do doradcy  ↗";color:var(--kc-blue-2);font-size:9px}
body.single-product .kc-product-enquiry-open:hover{background:var(--kc-paper)!important}
body.single-product .oz-product-tools{display:grid!important;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px!important;padding:0!important;background:transparent!important}
body.single-product .oz-product-tools button,body.single-product .oz-product-tools a{display:flex!important;align-items:center;justify-content:center;min-height:50px;margin:0!important;border:1px solid var(--kc-line)!important;background:#fff!important;color:var(--kc-ink)!important}
body.single-product .woocommerce-product-gallery__image{overflow:hidden;background:#eef2f0}
body.single-product .woocommerce-product-gallery__image img{width:100%!important;height:auto!important;max-height:760px;object-fit:contain;object-position:center;image-rendering:auto}
body.single-product .flex-control-thumbs img{aspect-ratio:1/1;object-fit:cover;image-rendering:auto}

/* Footer locations — expandable instead of one overflowing line */
.kc-footer-areas{display:block!important;padding:34px 0!important;border-top:1px solid rgba(255,255,255,.14)}
.kc-footer-areas-head{display:grid;grid-template-columns:minmax(250px,.8fr) minmax(280px,1fr);gap:35px;align-items:end}
.kc-footer-areas-head>div>span{margin:0 0 7px;color:var(--kc-blue);font-size:8px;letter-spacing:.18em;text-transform:uppercase}
.kc-footer-areas-head strong{display:block;color:#fff;font-size:20px}
.kc-footer-areas-head .kc-footer-area-all{justify-self:end;margin:0;color:var(--kc-blue)!important;font-size:11px;font-weight:700}
.kc-footer-areas-featured{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));gap:1px!important;margin-top:27px;background:rgba(255,255,255,.12)}
.kc-footer-areas-featured a{display:flex!important;align-items:center;min-height:47px;margin:0!important;padding:10px 13px;background:var(--kc-ink);color:#aeb9b7!important;font-size:11px!important;transition:background .2s,color .2s}
.kc-footer-areas-featured a:hover{background:var(--kc-ink-2);color:#fff!important}
.kc-footer-areas-all{margin-top:12px;border:1px solid rgba(255,255,255,.14)}
.kc-footer-areas-all summary{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;color:#fff;font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;cursor:pointer;list-style:none}
.kc-footer-areas-all summary::-webkit-details-marker{display:none}.kc-footer-areas-all summary:after{content:"+";color:var(--kc-blue);font-size:20px;font-weight:400}.kc-footer-areas-all[open] summary:after{content:"−"}
.kc-footer-areas-all summary span{display:inline-grid;place-items:center;width:27px;height:20px;margin:0 8px 0 auto;background:var(--kc-blue);color:var(--kc-ink);font-size:9px}
.kc-footer-areas-all>div{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:0!important;padding:5px 18px 20px;border-top:1px solid rgba(255,255,255,.1)}
.kc-footer-areas-all>div a{margin:0!important;padding:8px 5px;color:#aeb9b7!important;font-size:11px!important}.kc-footer-areas-all>div a:hover{color:var(--kc-blue)!important}

@media(max-width:1180px){.kc-hero-drawing{right:2%;width:43vw}.oz-recent-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kc-footer-areas-featured{grid-template-columns:repeat(4,minmax(0,1fr))}.kc-footer-areas-all>div{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){.kc-hero-drawing{right:-14%;top:25%;width:80vw;opacity:.4}.kc-footer-areas-head{grid-template-columns:1fr;gap:13px}.kc-footer-areas-head .kc-footer-area-all{justify-self:start}.kc-footer-areas-featured{grid-template-columns:repeat(2,minmax(0,1fr))}.kc-footer-areas-all>div{grid-template-columns:repeat(2,minmax(0,1fr))}body.single-product .oz-product-summary-column form.cart{grid-template-columns:1fr!important}body.single-product .oz-product-summary-column form.cart .quantity{width:142px!important}.kc-product-enquiry-open:after{display:none}}
@media(max-width:620px){.oz-recent-products{padding:55px 0 75px}.oz-recent-grid{grid-template-columns:1fr}.oz-recent-card>div{padding:21px}.kc-footer-areas-featured{grid-template-columns:1fr 1fr}.kc-footer-areas-all>div{grid-template-columns:1fr 1fr;padding-inline:10px}.kc-hero-drawing small{display:none}}
@media(prefers-reduced-motion:reduce){.kc-hero-drawing{animation:none!important;transition:none!important}.woocommerce ul.products li.product img,.oz-recent-card,.oz-recent-image img{transition:none!important}}
