/*
Theme Name: Produkce Crew
Description: Filmový merch #zavsechnomuzeprodukce. Vlastní návrh s podporou WooCommerce.
Version: 1.9.1
Requires at least: 6.6
Requires PHP: 8.2
Text Domain: produkce-crew
License: GPL-2.0-or-later
*/

:root{--paper:#f3f1ec;--ink:#191919;--pink:#ef086b}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:85px}body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;font:inherit}a{color:inherit;text-decoration:none}nav{height:85px;display:flex;align-items:center;justify-content:space-between;padding:0 4%;border-bottom:1px solid #ccc;position:sticky;top:0;background:var(--paper);z-index:3}.logo{font-weight:950;font-size:17px;line-height:.9;letter-spacing:-1px}.logo span{color:var(--pink)}.links{display:flex;gap:30px;font-size:12px}.mono,.eyebrow{font:11px 'Courier New',monospace;letter-spacing:1.5px;text-transform:uppercase}.navtag{border:1px solid #aaa;padding:10px 14px}.hero{padding:44px 4% 0;display:grid;grid-template-columns:1.1fr 1fr;gap:4%;min-height:710px}.eyebrow{display:flex;gap:10px;align-items:center}.dot{width:7px;height:7px;border-radius:50%;background:var(--pink)}h1{font-size:clamp(64px,7.8vw,125px);line-height:.87;letter-spacing:-.075em;margin:38px 0 27px;font-weight:950}h1 em{font-style:normal;color:var(--pink)}.intro{font-size:15px;line-height:1.6;max-width:310px}.cta{display:inline-flex;background:var(--ink);color:white;padding:18px 24px;gap:55px;margin-top:22px;font-size:13px}.cta:hover{background:var(--pink)}.heropic{position:relative;background:#b1aca6;height:630px;overflow:hidden}.heropic img{width:100%;height:100%;object-fit:cover;object-position:50% 35%}.tag{position:absolute;bottom:27px;left:25px;background:var(--paper);padding:13px 17px;font:11px 'Courier New',monospace}.circle{position:absolute;right:20px;top:22px;border:1px solid #fff;color:white;border-radius:50%;height:88px;width:88px;display:grid;place-content:center;text-align:center;font-size:11px;transform:rotate(12deg)}.herofoot{margin-top:53px;color:#777}.ticker{margin-top:30px;background:var(--pink);padding:17px 0;overflow:hidden;white-space:nowrap;font-size:17px;letter-spacing:-.5px;font-weight:800}.ticker span{padding:0 25px}.collection{padding:80px 4%}.sectionhead{display:flex;justify-content:space-between;align-items:end;margin-bottom:32px}h2{font-size:clamp(40px,5vw,66px);letter-spacing:-3px;line-height:1;margin:14px 0 0}.filters{display:flex;gap:8px;flex-wrap:wrap}.filters button{border:1px solid #bbb;background:transparent;padding:10px 18px;border-radius:22px;font-size:12px}.filters button.active{background:var(--ink);color:white;border-color:var(--ink)}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.card[hidden]{display:none}.productpic{width:100%;height:360px;object-fit:cover;background:#b4afa8;display:block}.picbutton{position:relative;width:100%;padding:0;border:0;background:none;text-align:left}.plus{position:absolute;bottom:15px;right:15px;background:var(--paper);width:34px;height:34px;display:grid;place-content:center;border-radius:50%}.card h3{font-size:16px;letter-spacing:-.4px;margin:16px 0 7px}.meta{font-size:11px;color:#777;line-height:1.6}.swatches{display:flex;gap:7px;margin-top:13px}.swatches button{width:17px;height:17px;border-radius:50%;border:2px solid var(--paper);outline:1px solid #bbb;padding:0}.swatches button[aria-pressed=true]{outline:2px solid var(--pink)}.note{margin-top:28px;color:#777;font-size:11px}.story{display:grid;grid-template-columns:1fr 1fr;background:var(--ink);color:var(--paper)}.story img{width:100%;height:590px;object-fit:cover}.storytext{padding:70px 12%;display:flex;flex-direction:column;justify-content:center}.story h2{font-size:clamp(45px,5vw,72px);line-height:1.03;margin:28px 0}.story h2 span{color:var(--pink)}.story p{font-size:14px;line-height:1.7;max-width:340px}.manifesto{padding:85px 4%;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #bbb}.manifesto p{font-size:clamp(28px,4vw,57px);font-weight:900;line-height:1.05;letter-spacing:-2px;margin:0}.stamp{border:2px solid var(--pink);color:var(--pink);font-weight:bold;font-size:25px;border-radius:50%;padding:30px;transform:rotate(-12deg)}footer{padding:35px 4%;display:flex;justify-content:space-between;gap:20px;font-size:11px}dialog{border:0;background:var(--paper);padding:0;width:min(850px,92vw);max-height:90vh}dialog::backdrop{background:#0009}.detail{display:grid;grid-template-columns:1fr 1fr}.detail img{width:100%;height:530px;object-fit:cover}.detailtext{padding:35px}.detailtext h2{font-size:35px;letter-spacing:-1px;line-height:1.05}.close{position:absolute;right:10px;top:10px;border:0;background:var(--paper);border-radius:50%;width:32px;height:32px}.sizes{display:flex;gap:6px;margin:20px 0}.sizes button{background:none;border:1px solid #999;padding:10px}.sizes button.active{background:var(--ink);color:white}.detailtext p{font-size:13px;line-height:1.6}.backfront{border:0;border-bottom:1px solid;background:none;padding:8px 0;margin-top:20px}.detailtext .mono{line-height:1.6}@media(min-width:1600px){body{max-width:1800px;margin:auto}}@media(max-width:900px){.grid{grid-template-columns:repeat(2,1fr)}.hero{min-height:0}.heropic{height:550px}.herofoot{margin-top:30px}.sectionhead{align-items:start;gap:25px;flex-direction:column}.story img{height:540px}.storytext{padding:40px 9%}.links{gap:15px}.productpic{height:420px}}@media(max-width:600px){nav{height:70px}.links a:last-child,.navtag{display:none}.links{font-size:11px}.logo{font-size:14px}.hero{grid-template-columns:1fr;padding-top:30px;gap:30px}h1{font-size:78px;margin-top:28px}.heropic{height:490px}.herofoot{display:none}.intro{max-width:290px}.hero .cta{margin-top:12px}.ticker{font-size:13px}.collection{padding:55px 4%}.grid{gap:12px}.productpic{height:270px}.card h3{font-size:14px}.story{grid-template-columns:1fr}.story img{height:370px}.storytext{padding:45px 7%}.manifesto{padding:50px 5%;gap:20px}.stamp{font-size:15px;padding:20px}.detail{grid-template-columns:1fr}.detail img{height:360px}.detailtext{padding:25px}footer{flex-direction:column}.circle{width:70px;height:70px;font-size:10px}}

/* WordPress and WooCommerce pages */
body.admin-bar nav{top:32px}.site-content{padding:60px 4%;min-height:60vh}.site-content h1{font-size:48px;line-height:1.1;letter-spacing:-2px}.site-content p{line-height:1.7}.site-content input,.site-content textarea,.site-content select{padding:12px;border:1px solid #aaa;background:#fff;font:inherit}.site-content a{text-decoration:underline}.woocommerce .button,.woocommerce button.button,.woocommerce a.button{background:var(--ink);color:#fff;border-radius:0;padding:15px 22px}.woocommerce .button:hover{background:var(--pink);color:#fff}.woocommerce ul.products li.product .price,.woocommerce div.product p.price{color:var(--pink)}.woocommerce div.product .product_title{font-size:44px;line-height:1.1;letter-spacing:-2px}.woocommerce div.product form.cart{margin-top:25px}.woocommerce .quantity .qty{padding:10px}.woocommerce div.product div.images img{object-fit:contain}.woocommerce .woocommerce-breadcrumb{margin-bottom:30px}.woocommerce ul.products li.product h2{font-size:22px;letter-spacing:-.5px;line-height:1.2}.woocommerce .related.products{clear:both;padding-top:40px}.site-content:after{content:"";display:table;clear:both}.screen-reader-text{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}.skip-link:focus{position:fixed;top:10px;left:10px;width:auto;height:auto;clip-path:none;padding:15px;background:#fff;z-index:10}@media(max-width:782px){body.admin-bar nav{top:46px}}

[hidden]{display:none!important}.empty-catalog{padding:25px 0;grid-column:1/-1}.detailtext{overflow-wrap:anywhere}.detailtext .cta{gap:10px}.swatches button:focus-visible,.picbutton:focus-visible{outline:3px solid var(--pink);outline-offset:3px}
.detailtext .backfront{display:block;width:fit-content}.detailtext .cta{display:flex;width:fit-content;margin-top:24px}.detailtext #instagram-profile{display:block;width:fit-content}

.product-page{padding:35px 4% 60px;min-height:75vh}.backlink{display:inline-block;font-size:13px;margin-bottom:25px}.standalone-detail{max-width:1100px;margin:auto;gap:5%}.standalone-detail #detailimg{height:650px;object-fit:cover}.standalone-detail h1{font-size:clamp(38px,4.5vw,64px);line-height:1.02;letter-spacing:-2px;margin:25px 0}.standalone-detail .detailtext{padding:25px 0}.product-page #instagram-profile{display:block;margin-top:18px;font-size:13px;text-decoration:underline}.page-template-page-kolekce .collection{min-height:75vh}.page-template-page-o-nas .story{min-height:75vh}.page-template-page-o-nas .story img{height:100%;min-height:600px}main>.hero{padding-bottom:35px}body .links a:last-child{display:inline}footer{border-top:1px solid #ccc}@media(max-width:600px){.standalone-detail{grid-template-columns:1fr}.standalone-detail #detailimg{height:460px}.standalone-detail h1{font-size:40px}.product-page{padding:25px 5%}.links{gap:18px}.page-template-page-o-nas .story img{min-height:0;height:370px}}

.collection-title{font-size:clamp(40px,5vw,66px);letter-spacing:-3px;line-height:1;margin:14px 0 0}

.hero-slide{position:absolute;inset:0;opacity:0;transition:opacity .65s ease;pointer-events:none}.hero-slide.is-current{opacity:1;pointer-events:auto}.hero-slide:focus-visible{outline:3px solid var(--pink);outline-offset:-5px}.heropic .circle,.heropic .tag{pointer-events:none;z-index:1}.heropic[data-hero-carousel] .tag{bottom:80px;max-width:calc(100% - 50px);line-height:1.5}.hero-controls{position:absolute;z-index:2;bottom:22px;left:25px;right:25px;display:flex;justify-content:space-between;align-items:center;gap:12px}.hero-dots{display:flex;gap:5px}.hero-dots button{border:0;background:#f3f1ecbb;width:30px;height:32px;font:11px 'Courier New',monospace}.hero-dots button[aria-pressed=true]{background:var(--pink);color:white}.hero-pause{font:10px 'Courier New',monospace;background:var(--paper);border:0;padding:10px}.hero-controls button:focus-visible{outline:3px solid var(--ink);outline-offset:2px}@media(prefers-reduced-motion:reduce){.hero-slide{transition:none}}@media(max-width:600px){.hero-controls{left:15px;right:15px}.heropic[data-hero-carousel] .tag{left:15px;max-width:calc(100% - 30px)}}
.hero-slide img{object-fit:contain;background:#b1aca6}

.productpic,.standalone-detail #detailimg{object-fit:contain;background:#e7e4de}.hero-slide img{background:#e7e4de}

/* Model photography */
.productpic,.standalone-detail #detailimg{object-fit:cover;background:#b1aca6}.hero-slide img{object-fit:cover;background:#b1aca6}


/* Keep intrinsic text and image sizes inside each responsive grid track. */
.hero{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}
.grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.detail,.story{grid-template-columns:repeat(2,minmax(0,1fr))}
.hero>*,.grid>*,.detail>*,.story>*{min-width:0}
img{max-width:100%}
@media(max-width:900px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){
 .hero,.detail,.story{grid-template-columns:minmax(0,1fr)}
 .hero h1{font-size:clamp(48px,16.5vw,78px)}
 .hero-controls{gap:6px}.hero-dots{gap:4px}.hero-dots button{width:28px}
 .collection-title{font-size:clamp(34px,10vw,60px);letter-spacing:-.055em}
 .card h3{overflow-wrap:anywhere}
}

/* Air around Czech accents and between the three headline lines. */
.hero h1{font-size:clamp(54px,7.1vw,114px);line-height:1.14;letter-spacing:-.05em;margin:32px 0 25px}
@media(max-width:600px){.hero h1{font-size:clamp(44px,15.2vw,72px);line-height:1.16;margin:26px 0 22px}}

/* Larger, easier-to-read navigation. */
.logo{font-size:21px}.links{font-size:17px;gap:34px}.navtag{font-size:12px}
.links a{padding:12px 0}
@media(max-width:600px){.logo{font-size:16px}.links{font-size:15px;gap:20px}nav{height:78px}}

.product-gallery{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.product-gallery button{padding:0;border:1px solid #bbb;background:none}.product-gallery img{display:block;width:65px;height:80px;object-fit:cover}

.category-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:38px}.category-card img{display:block;width:100%;height:360px;object-fit:cover;background:#dedbd5}.category-card h2{font-size:34px;letter-spacing:-1px;margin-top:18px}.category-card p{color:#666;font-size:13px}.category-links{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:30px}.category-links a{border:1px solid #bbb;padding:10px 18px;border-radius:24px;font-size:14px}.category-links a[aria-current=page]{background:var(--ink);color:var(--paper)}@media(max-width:600px){.category-cards{grid-template-columns:1fr;gap:30px}.category-card img{height:330px}}

/* One consistent portrait frame across all product cards. */
.productpic{height:auto;aspect-ratio:3/4;object-fit:cover;object-position:center}.category-card img{object-position:center}

.picbutton[href*="/ksiltovka/"] img,.picbutton[href*="/produkce-bag/"] img{object-position:right center}

.category-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.category-card{display:block;position:relative;transform-origin:center;transition:transform .25s ease,box-shadow .25s ease;background:var(--paper);padding-bottom:12px}.category-card h2,.category-card p{padding:0 10px}.category-card img{height:320px}.category-card:focus-visible{outline:3px solid var(--pink);outline-offset:5px;transform:translateY(-6px) scale(1.025)}
@media(hover:hover) and (pointer:fine){.category-card:hover{transform:translateY(-7px) scale(1.035);box-shadow:0 18px 34px #19191924;z-index:1}.picbutton{display:block;transition:transform .25s ease,box-shadow .25s ease}.picbutton:hover{transform:translateY(-4px) scale(1.025);box-shadow:0 12px 26px #19191920;z-index:1}}
@media(max-width:900px){.category-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.category-cards{grid-template-columns:1fr}.category-card img{height:360px}}
@media(prefers-reduced-motion:reduce){.category-card,.picbutton{transition:none}.category-card:hover,.category-card:focus-visible,.picbutton:hover{transform:none}}

.picbutton[href*="/ksiltovka/"] img,.picbutton[href*="/produkce-bag/"] img{object-position:center}.category-card img[src*="solo-"]{object-fit:contain;background:#e7e4de}

.standalone-detail #detailimg[src*="solo-"]{height:auto;aspect-ratio:3/4;object-fit:cover!important;background:#e7e4de}.category-card img{height:auto;aspect-ratio:3/4}

.collection-return{display:inline-block;font-size:17px;font-weight:600;margin-bottom:26px;padding:8px 0;text-decoration:underline;text-underline-offset:6px}.collection-return:hover{color:var(--pink)}.collection-return:focus-visible{outline:2px solid var(--pink);outline-offset:5px}@media(max-width:600px){.collection-return{font-size:16px;margin-bottom:22px}}

/* Compact about page, with the foreground socks as the photographic focus. */
.page-template-page-o-nas .story{min-height:0;align-items:stretch}
.page-template-page-o-nas .story img{height:560px;min-height:0;object-fit:cover;object-position:center bottom}
.page-template-page-o-nas .storytext{padding:38px 10%;justify-content:flex-start}
.page-template-page-o-nas .story h2{font-size:clamp(36px,4.1vw,60px);margin:24px 0;line-height:1.08}
.page-template-page-o-nas .story p{margin:8px 0;max-width:400px}
@media(max-width:900px) and (min-width:601px){.page-template-page-o-nas .storytext{padding:30px 8%}.page-template-page-o-nas .story h2{font-size:38px}}
@media(max-width:600px){.page-template-page-o-nas .storytext{order:-1;padding:32px 6%}.page-template-page-o-nas .story h2{font-size:40px;margin:20px 0}.page-template-page-o-nas .story img{height:280px;min-height:0;object-position:center bottom}}

/* Balance breathing room with a compact first view. */
.page-template-page-o-nas main{padding:30px 4% 40px}
.page-template-page-o-nas .story{max-width:1500px;margin:auto;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr)}
.page-template-page-o-nas .story img{height:600px}
.page-template-page-o-nas .storytext{padding:48px 11%;justify-content:center}
.page-template-page-o-nas .story h2{line-height:1.16;letter-spacing:-.045em;margin:28px 0 30px;font-size:clamp(36px,3.7vw,56px)}
.page-template-page-o-nas .story p{line-height:1.85;margin:10px 0}
.page-template-page-o-nas .storytext>a{margin-top:26px!important}
@media(max-width:900px) and (min-width:601px){.page-template-page-o-nas .storytext{padding:38px 9%}.page-template-page-o-nas .story h2{font-size:36px}}
@media(max-width:600px){.page-template-page-o-nas main{padding:20px 4% 28px}.page-template-page-o-nas .story{grid-template-columns:minmax(0,1fr)}.page-template-page-o-nas .storytext{padding:34px 7% 38px}.page-template-page-o-nas .story h2{font-size:38px;margin:24px 0 28px;line-height:1.18}.page-template-page-o-nas .story img{height:280px}}

/* Preserve the complete photograph without clipping shoes or legs. */
.page-template-page-o-nas .story{grid-template-columns:minmax(0,3fr) minmax(0,4fr)}
.page-template-page-o-nas .story img{object-fit:contain;object-position:center;background:var(--ink)}
@media(max-width:600px){.page-template-page-o-nas .story{grid-template-columns:minmax(0,1fr)}.page-template-page-o-nas .story img{height:auto;max-height:460px;object-fit:contain}}

/* Deliberate foreground composition without a letterboxed image frame. */
.page-template-page-o-nas .story{grid-template-columns:repeat(2,minmax(0,1fr));align-items:center}
.about-photo{position:relative;overflow:hidden;width:100%;aspect-ratio:15/13;align-self:center}
.page-template-page-o-nas .about-photo img{position:absolute;left:0;top:-53.846%;width:100%;height:153.846%;max-height:none;min-height:0;object-fit:fill;display:block}
.page-template-page-o-nas .storytext{min-height:560px;padding:42px 10%}
@media(max-width:600px){.page-template-page-o-nas .story{grid-template-columns:minmax(0,1fr)}.page-template-page-o-nas .storytext{min-height:0;padding:34px 7%}.about-photo{align-self:auto}}
.page-template-page-o-nas .storytext{min-height:0}

/* Full-width about background, with the approved photo composition unchanged. */
.page-template-page-o-nas main{background:var(--ink)}
.page-template-page-o-nas .story{background:transparent}

/* Larger footer on every page, including mobile. */
body > footer{font-size:16px;line-height:1.65;padding:36px 4%;gap:24px;align-items:center}body > footer .mono{font-size:14px;line-height:1.65;letter-spacing:1.2px}body > footer > *{min-width:0}body > footer a{overflow-wrap:anywhere}@media(max-width:900px){body > footer{flex-wrap:wrap;justify-content:center;text-align:center}body > footer span:not(.mono){flex-basis:100%;order:3}}@media(max-width:600px){body > footer{font-size:16px;padding:30px 5%;gap:18px}body > footer .mono{font-size:14px;letter-spacing:1px}body > footer span:not(.mono){order:0;flex-basis:auto}}
