/*
Theme Name: Luma
Description: Lekki, klasyczny motyw testowy WooCommerce.
Version: 1.0.0
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: luma
License: GPL-2.0-or-later
*/
:root{--paper:#fff;--soft:#f5f3ef;--ink:#222;--muted:#68665f;--line:#dedbd5;--accent:#515c46;--max:1400px;--gutter:clamp(1rem,4vw,4rem);--space:clamp(3rem,7vw,7rem)}
*,*::before,*::after{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.6}h1,h2,h3,p{margin:0 0 1rem}h1,h2,h3{line-height:1.12;font-weight:450;letter-spacing:-.035em}h1{font-size:clamp(2.3rem,5.5vw,5rem)}h2{font-size:clamp(1.8rem,3vw,3rem)}h3{font-size:1.1rem}a{color:inherit;text-decoration-thickness:1px;text-underline-offset:.25em}img{display:block;max-width:100%;height:auto}picture{display:block}button,input,select,textarea{font:inherit}button,a,input,select,summary{touch-action:manipulation}button,summary{cursor:pointer}input,select,textarea{min-width:0;max-width:100%;padding:.75rem;border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:0}button,.button{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:44px;padding:.8rem 1.3rem;border:1px solid var(--ink);background:var(--ink);color:#fff;text-decoration:none;border-radius:0;font-weight:500}button:disabled{cursor:not-allowed;opacity:.5}.button--quiet{background:transparent;color:var(--ink);border-color:var(--line)}:focus-visible{outline:3px solid var(--accent);outline-offset:4px}[hidden]{display:none!important}.wrap{width:min(100% - var(--gutter)*2,var(--max));margin-inline:auto}.section{padding-block:var(--space)}.section-head,.toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.section-head{margin-bottom:2rem}.section-head h2{margin:0}.eyebrow{font-size:.75rem;text-transform:uppercase;letter-spacing:.16em}.muted,small{color:var(--muted)}.sr-only,.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip-link:focus{position:fixed;z-index:20;top:1rem;left:1rem;clip-path:none;width:auto;height:auto;padding:1rem;background:#fff}.topbar{text-align:center;background:var(--soft);padding:.45rem 1rem;font-size:.75rem;letter-spacing:.06em}
.header{border-bottom:1px solid var(--line)}.header-row{display:flex;align-items:center;gap:2rem;min-height:100px;flex-wrap:wrap;padding-block:1rem}.brand{font-size:1.8rem;font-weight:550;letter-spacing:.15em;text-decoration:none}.brand img{width:140px;height:60px;object-fit:contain}.nav{margin-right:auto}.nav ul,.footer ul{list-style:none;margin:0;padding:0}.nav ul{display:flex;gap:1.5rem}.nav a{text-decoration:none;font-size:.9rem}.nav a[aria-current=page]{text-decoration:underline}.search{display:flex;align-items:center;max-width:300px}.search input{width:100%;border-width:0 0 1px}.search button{padding:.5rem;background:none;color:var(--ink);border:0}.cart-link{display:flex;align-items:center;gap:.5rem;min-height:44px;text-decoration:none;font-size:.85rem}.cart-link svg{width:22px;height:22px}.menu-toggle{display:none}
.hero{position:relative;isolation:isolate;background:var(--soft);min-height:clamp(480px,43vw,720px);display:grid;align-items:center}.hero>picture{position:absolute;inset:0;z-index:-2}.hero>picture img{height:100%;width:100%;object-fit:cover}.hero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(245,243,239,.96),rgba(245,243,239,.65) 43%,transparent 75%)}.hero-copy{max-width:570px;padding-block:4rem}.hero-copy p:not(.eyebrow){max-width:340px}.hero .button{margin-top:1rem}.categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem}.category{text-decoration:none}.category picture{background:var(--soft);overflow:hidden}.category img{aspect-ratio:4/3;width:100%;object-fit:cover}.category h3{margin-top:1rem;display:flex;justify-content:space-between}.product-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2.5rem 1.5rem}.product-card{min-width:0}.product-card a{text-decoration:none}.product-image{position:relative;overflow:hidden;background:var(--soft);margin-bottom:1rem}.product-image img{width:100%;aspect-ratio:4/5;object-fit:contain;transition:transform .35s}.badge{position:absolute;top:.8rem;left:.8rem;padding:.25rem .6rem;background:#fff;font-size:.65rem;text-transform:uppercase;letter-spacing:.08em}.product-card h3{font-size:.95rem;margin:.3rem 0 .6rem;letter-spacing:0}.product-card .price{font-size:.9rem}.price del{color:var(--muted);font-size:.85em}.price ins{text-decoration:none}.inspiration{background:var(--soft)}.split{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:clamp(2rem,7vw,7rem)}.split img{width:100%;aspect-ratio:1;object-fit:cover}.split-copy{max-width:440px}.footer{border-top:1px solid var(--line);padding-block:4rem 1.5rem}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:3rem}.footer h2{font-size:1.35rem}.footer li{margin-bottom:.6rem}.footer a{font-size:.9rem}.footer-note{margin-top:3rem;padding-top:1.5rem;border-top:1px solid var(--line);font-size:.75rem}.newsletter input[type=email]{width:100%;margin-block:.5rem}
.woocommerce-breadcrumb{font-size:.75rem;color:var(--muted);margin-bottom:2rem}.archive-head{padding-block:3rem 1rem}.archive-head h1{font-size:clamp(2.3rem,4vw,4rem)}.toolbar{border-block:1px solid var(--line);padding-block:1rem;margin-bottom:2rem}.toolbar p{margin:0}.sort{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap}.sort select{max-width:220px}.catalog{display:flex;align-items:flex-start;gap:2rem;padding-bottom:var(--space)}.catalog-results{flex:1;min-width:0}.filters{flex:0 0 auto;max-width:240px}.filters[open]{width:240px}.filters>summary{min-height:44px;padding:.6rem 0;font-size:.9rem}.filters form{border-top:1px solid var(--line);padding-top:1rem;display:grid;gap:1rem}.filters label{display:grid;gap:.3rem;font-size:.85rem}.filters .check{display:flex;align-items:center;gap:.5rem}.price-fields{display:grid;grid-template-columns:1fr 1fr;gap:.6rem}.filters input[type=number],.filters select{width:100%}.filters a{font-size:.85rem}.woocommerce-pagination{margin-top:3rem}.page-numbers{display:flex;justify-content:center;gap:.5rem;list-style:none;padding:0}.page-numbers a,.page-numbers span{display:grid;place-items:center;min-width:44px;min-height:44px;text-decoration:none;border:1px solid var(--line)}.page-numbers .current{background:var(--ink);color:#fff}
.product-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:clamp(2rem,6vw,6rem);align-items:start}.gallery-stage{background:var(--soft)}.gallery-stage img{width:100%;aspect-ratio:1;object-fit:contain}.gallery-thumbs{display:flex;gap:.6rem;overflow-x:auto;margin-top:1rem;padding:.3rem}.gallery-thumbs a{flex:0 0 75px;border:1px solid var(--line)}.gallery-thumbs a[aria-current=true]{border-color:var(--ink)}.gallery-thumbs img{width:75px;height:75px;object-fit:contain;background:var(--soft)}.summary h1{font-size:clamp(2rem,3.4vw,3.5rem)}.summary .price{font-size:1.5rem;margin-block:1.5rem}.stock{color:var(--accent);font-size:.85rem}.stock.out-of-stock{color:#863d31}.variant-form{display:grid;gap:1rem;margin-block:1.5rem}.variant-form label{display:grid;gap:.4rem}.summary form.cart{display:flex;flex-wrap:wrap;align-items:end;gap:1rem;margin-block:1.5rem}.quantity input{width:85px}.summary form.cart .button{flex:1}.product-info{margin-top:2rem}.product-info details{border-top:1px solid var(--line);padding-block:1rem}.product-info summary{padding-block:.3rem}.product-info details>div{padding-top:1rem}.product-info table{width:100%;border-collapse:collapse;font-size:.85rem}.product-info th,.product-info td{text-align:left;padding:.7rem;border-bottom:1px solid var(--line)}.product-info th{font-weight:500;width:45%}.woocommerce-message,.woocommerce-info,.woocommerce-error{padding:1rem;background:var(--soft);border-left:3px solid var(--accent);list-style:none;margin:0 0 1.5rem}.woocommerce-message .button{margin-right:1rem}.prose{max-width:900px;min-height:40vh}.alignwide{max-width:var(--max)}.alignfull{max-width:none}.wp-caption{max-width:100%}.wp-caption-text,.gallery-caption{font-size:.85rem;color:var(--muted)}.bypostauthor{font-weight:inherit}
@media(hover:hover){.product-card a:hover img{transform:scale(1.035)}a:hover{color:var(--accent)}.button:hover{background:var(--accent);color:#fff}}
@media(max-width:1000px){.header-row{gap:1rem}.nav{order:4;width:100%}.search{margin-left:auto}.catalog{gap:1rem}.filters[open]{width:190px}.product-grid{gap:2rem 1rem}.footer-grid{grid-template-columns:1.5fr 1fr 1fr}}
@media(max-width:700px){.header-row{min-height:80px}.brand{font-size:1.4rem}.brand img{width:110px;height:44px}.search{order:5;max-width:none;width:100%;margin:0}.menu-toggle:not([hidden]){display:inline-flex;margin-left:auto;padding:.5rem;background:#fff;color:var(--ink);border-color:var(--line)}.nav ul{flex-direction:column;gap:.8rem;padding-block:1rem}.hero{min-height:520px}.hero::after{background:linear-gradient(90deg,rgba(245,243,239,.94),rgba(245,243,239,.75) 55%,rgba(245,243,239,.1))}.hero-copy{max-width:85%}.categories{gap:.8rem}.category h3{font-size:.85rem}.category img{aspect-ratio:3/4}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.split,.product-layout{grid-template-columns:1fr}.split{gap:2rem}.footer-grid{grid-template-columns:1fr 1fr;gap:2rem}.newsletter{grid-column:1/-1}.catalog{display:block}.filters,.filters[open]{width:100%;max-width:none;margin-bottom:1.5rem}.filters form{grid-template-columns:1fr}.toolbar{align-items:flex-start}.sort{width:100%}.sort select{flex:1}.product-layout{gap:2rem}.badge{top:.5rem;left:.5rem;font-size:.6rem}.product-info th,.product-info td{padding:.5rem}.cart-link span{font-size:.75rem}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
