/*
Theme Name: Glosy
Description: Tmavá WooCommerce šablona pro sběratelské karty a příslušenství.
Version: 0.6.1
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: glosy
*/
:root{--bg:#070a13;--panel:#111725;--panel-2:#151a2b;--line:#29334e;--gold:#ffd86b;--gold-strong:#f0b52f;--text:#f8f7f3;--muted:#a5aec4;--purple:#8b45ed;--blue:#536dff;--shadow:0 18px 50px rgba(0,0,0,.28)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.6 Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}body:before{content:"";position:fixed;inset:0;pointer-events:none;opacity:.22;background-image:radial-gradient(rgba(255,255,255,.08) 1px,transparent 1px);background-size:5px 5px;mask-image:linear-gradient(to bottom,black,transparent 75%)}a{color:inherit;text-decoration:none}img{display:block;max-width:100%;height:auto}button,input{font:inherit}.wrap{width:min(1240px,100% - 48px);margin-inline:auto}.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);height:1px;width:1px;overflow:hidden}.screen-reader-text:focus{clip:auto!important;height:auto;width:auto;padding:12px;background:var(--gold);color:#111;z-index:9999}.skip-link{left:12px;top:12px}.topbar{background:#111725;color:var(--muted);font-size:12px;border-bottom:1px solid #1f2940}.topbar-inner{display:flex;justify-content:space-between;padding:7px 0}.topbar-note{color:#e3c86e}
.site-header{position:relative;background:rgba(7,10,19,.92);border-bottom:1px solid var(--line);z-index:20}.header-inner{display:flex;align-items:center;gap:28px;min-height:78px}.brand{display:inline-flex;align-items:center;gap:2px;font-size:31px;font-weight:900;letter-spacing:-1.8px;color:var(--gold);white-space:nowrap}.brand-mark{font-size:25px;margin-right:5px}.brand-dot{color:#fff}.primary-nav{flex:1}.primary-nav ul{display:flex;align-items:center;gap:22px;list-style:none;margin:0;padding:0}.primary-nav a{color:#e9e8e8;font-size:14px}.primary-nav a:hover,.primary-nav a:focus,.text-link:hover{color:var(--gold)}.header-search{display:flex;align-items:center;border:1px solid #38445f;border-radius:99px;background:#111827;overflow:hidden;width:260px}.header-search input{min-width:0;width:100%;border:0;outline:0;background:transparent;color:var(--text);padding:10px 14px}.header-search button{border:0;background:transparent;color:var(--text);font-size:23px;padding:6px 14px;cursor:pointer}.header-actions{display:flex;gap:10px}.header-action{position:relative;display:flex;align-items:center;gap:7px;padding:9px;color:#eee;font-size:13px}.header-action>span:first-child{font-size:21px}.cart-count{position:absolute;top:0;right:0;display:grid;place-items:center;min-width:18px;height:18px;border-radius:99px;background:var(--gold);color:#15120b;font-size:11px;font-weight:800}.menu-toggle{display:none;background:transparent;color:var(--text);border:1px solid var(--line);border-radius:8px;padding:8px 10px;cursor:pointer}
.hero{position:relative;overflow:hidden;border-bottom:1px solid #252b43;background:radial-gradient(circle at 78% 38%,rgba(105,41,167,.55),transparent 35%),linear-gradient(115deg,#090d1a 15%,#121426 100%)}.hero:after{content:"";position:absolute;inset:auto 0 0;height:2px;background:linear-gradient(90deg,transparent,var(--purple),var(--gold),transparent);opacity:.8}.hero-inner{display:grid;grid-template-columns:1fr 1.15fr;align-items:center;gap:40px;min-height:520px}.hero-copy{position:relative;z-index:1}.eyebrow{margin:0 0 12px;color:var(--gold);font-size:12px;font-weight:800;letter-spacing:3px;text-transform:uppercase}.hero h1{font-size:clamp(42px,5.5vw,74px);line-height:1.03;letter-spacing:-3px;margin:0 0 22px}.hero h1 span,h2 span{color:var(--gold)}.lead{max-width:560px;color:#c2c9d8;font-size:18px}.actions{display:flex;flex-wrap:wrap;gap:13px;margin-top:30px}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:9px;padding:13px 22px;font-weight:800;transition:transform .2s,box-shadow .2s,background .2s}.button:hover,.button:focus{transform:translateY(-2px)}.button-primary{background:linear-gradient(110deg,#ffdd7a,var(--gold-strong));color:#17130a;box-shadow:0 8px 28px rgba(240,181,47,.22)}.button-secondary{border:1px solid #6d6885;color:var(--text)}.button-secondary:hover,.button-secondary:focus{border-color:var(--gold)}.hero-media{padding:30px 0}.hero-media img{width:100%;height:420px;object-fit:cover;border:1px solid #4b4269;border-radius:22px;box-shadow:0 0 70px rgba(123,54,211,.32)}
section{padding:70px 0}.category-section{background:linear-gradient(180deg,#090d18,#0b0f1c)}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:26px}.section-heading h2{margin:0;font-size:34px;line-height:1.1;letter-spacing:-1px}.text-link{color:var(--gold);font-weight:700}.category-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:15px}.category-card{position:relative;display:flex;min-height:130px;flex-direction:column;justify-content:flex-end;overflow:hidden;padding:18px;border:1px solid #39405d;border-radius:15px;background:linear-gradient(145deg,#1d2035,#101522);transition:transform .2s,border-color .2s}.category-card:hover,.category-card:focus{transform:translateY(-4px);border-color:var(--gold)}.category-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.38}.category-card:after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(transparent,rgba(7,10,19,.95))}.category-symbol,.category-name,.category-count{position:relative;z-index:1}.category-symbol{font-size:28px;color:var(--gold)}.category-name{font-size:17px;font-weight:800}.category-count{color:var(--muted);font-size:12px}.category-count span{color:var(--gold)}.product-section{background:#0a0e19}.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,1fr);gap:18px;margin:0!important;padding:0!important}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}.woocommerce ul.products li.product{float:none!important;width:auto!important;margin:0!important;overflow:hidden;border:1px solid #2c3852;border-radius:15px;background:var(--panel);transition:transform .2s,border-color .2s}.woocommerce ul.products li.product:hover{transform:translateY(-4px);border-color:#9274df}.woocommerce ul.products li.product a img{margin:0!important;width:100%;aspect-ratio:1/1;object-fit:cover;background:#171c30}.woocommerce ul.products li.product .woocommerce-loop-product__title{padding:0 15px;margin:15px 0 5px;color:var(--text);font-size:16px}.woocommerce ul.products li.product .price{padding:0 15px;color:var(--gold);font-size:19px;font-weight:800}.woocommerce ul.products li.product a.button{margin:15px!important;width:calc(100% - 30px);border-radius:8px;background:var(--gold);color:#13110b}.woocommerce span.onsale{top:12px!important;left:12px!important;right:auto!important;min-height:0!important;min-width:0!important;padding:5px 9px!important;border-radius:5px!important;background:var(--purple)!important;color:#fff!important;line-height:1.2!important}.benefits{padding:32px 0;background:#111725;border-block:1px solid #29334e}.benefit-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.benefit{display:grid;grid-template-columns:42px 1fr;column-gap:10px;align-items:center}.benefit-icon{grid-row:span 2;color:var(--gold);font-size:29px;text-align:center}.benefit strong{font-size:15px}.benefit span:last-child{color:var(--muted);font-size:13px}.promo{display:grid;grid-template-columns:1fr 1.45fr;align-items:center;overflow:hidden;border:1px solid #674f9a;border-radius:18px;background:linear-gradient(105deg,#271c49,#111827);box-shadow:var(--shadow)}.promo>div{padding:38px}.promo h2{margin:0 0 12px;font-size:34px;line-height:1.1}.promo p:not(.eyebrow){color:var(--muted);margin-bottom:24px}.promo img{width:100%;height:180px;object-fit:cover}.site-footer{border-top:1px solid var(--line);padding:45px 0 22px;color:var(--muted)}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:34px}.footer-brand p{max-width:260px}.footer-title{margin:0 0 12px;color:var(--text);font-size:14px}.footer-grid ul{list-style:none;margin:0;padding:0}.footer-grid li{margin:5px 0;font-size:14px}.footer-grid a:hover{color:var(--gold)}.footer-bottom{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #242c40;margin-top:30px;padding-top:18px;font-size:12px}
.content-wrap{padding-block:54px}.page-heading{margin-bottom:30px}.page-heading h1{margin:0;font-size:48px}.page-heading h1 span{color:var(--gold)}.empty-state{padding:25px;border:1px dashed #39405d;color:var(--muted);border-radius:12px}.empty-page{text-align:center;min-height:50vh}.empty-page h1{font-size:56px;margin:0 0 10px}.search-result{border-bottom:1px solid var(--line);padding:20px 0}.search-result h2{margin:0;font-size:22px}.search-result p{color:var(--muted)}.woocommerce div.product,.woocommerce-cart .woocommerce,.woocommerce-checkout .woocommerce,.woocommerce-account .woocommerce{padding:0}.woocommerce .woocommerce-breadcrumb{color:var(--muted)}.woocommerce .woocommerce-breadcrumb a{color:var(--gold)}.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--gold)}.woocommerce div.product form.cart .button,.woocommerce button.button,.woocommerce a.button,.woocommerce input.button{border-radius:8px;background:var(--gold);color:#16120a}.woocommerce .quantity .qty{padding:10px;border:1px solid var(--line);background:var(--panel);color:var(--text);border-radius:7px}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea{border:1px solid var(--line);border-radius:7px;background:var(--panel);color:var(--text);padding:11px}.woocommerce-info,.woocommerce-message{border-top-color:var(--gold);background:#151a2b;color:var(--text)}.woocommerce-info:before,.woocommerce-message:before{color:var(--gold)}.glosy-catalog-layout{display:grid;grid-template-columns:minmax(220px,280px) minmax(0,1fr);gap:28px;align-items:start}.glosy-catalog-filters{position:sticky;top:20px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(160deg,#151a2b,#0e1320);padding:20px;box-shadow:var(--shadow)}.glosy-catalog-filters h2{margin:0 0 12px;font-size:20px;color:var(--gold)}.glosy-catalog-filters .wc-block-product-filters{margin:0}.glosy-catalog-results{min-width:0}.glosy-catalog-results .wc-block-product-collection{margin:0}.glosy-catalog-results .wc-block-components-sort-select{margin-bottom:18px}.wc-block-product-filters__overlay{background:var(--panel-2)}
@media(max-width:1000px){.header-inner{gap:16px}.primary-nav ul{gap:13px}.header-search{width:210px}.hero-inner{grid-template-columns:1fr}.hero-copy{padding-top:35px}.hero-media{padding-top:0}.category-grid{grid-template-columns:repeat(3,1fr)}.footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.wrap{width:min(100% - 32px,600px)}.topbar-note{display:none}.header-inner{min-height:68px}.menu-toggle{display:inline-flex;align-items:center;gap:7px}.primary-nav{display:none;position:absolute;top:100%;left:0;width:100%;padding:16px;background:#0c101d;border-bottom:1px solid var(--line);box-shadow:var(--shadow)}.primary-nav.is-open{display:block}.primary-nav ul{display:grid;gap:0}.primary-nav li{border-bottom:1px solid #202a42}.primary-nav a{display:block;padding:12px}.header-search{flex:1;width:auto}.action-label{display:none}.header-action{padding:5px}.hero-inner{min-height:0;gap:24px}.hero h1{font-size:clamp(39px,12vw,58px)}.hero-media img{height:280px}.section-heading{align-items:start;flex-direction:column;gap:10px}.section-heading h2{font-size:28px}.category-grid{grid-template-columns:repeat(2,1fr)}.woocommerce ul.products{grid-template-columns:repeat(2,1fr)}.benefit-grid{grid-template-columns:repeat(2,1fr)}.promo{grid-template-columns:1fr}.promo img{height:140px}.promo>div{padding:26px}.footer-bottom{flex-direction:column}.page-heading h1{font-size:38px}}
@media(max-width:430px){.header-inner{gap:8px}.brand{font-size:25px}.header-search{order:5;flex-basis:100%;margin-bottom:10px}.header-inner{flex-wrap:wrap;padding-block:10px}.hero-media img{height:210px}.category-card{min-height:110px;padding:13px}.woocommerce ul.products{gap:10px}.woocommerce ul.products li.product .woocommerce-loop-product__title{padding-inline:10px;font-size:14px}.woocommerce ul.products li.product .price{padding-inline:10px}.woocommerce ul.products li.product a.button{margin:12px 10px!important;width:calc(100% - 20px);font-size:13px}.benefit{grid-template-columns:30px 1fr}.benefit-icon{font-size:22px}.benefit strong{font-size:13px}.benefit span:last-child{font-size:11px}}
@media(max-width:760px){.glosy-catalog-layout{grid-template-columns:1fr}.glosy-catalog-filters{position:static}.glosy-catalog-filters .wc-block-product-filters{padding:0}.glosy-catalog-results .wc-block-product-collection{margin-top:18px}}
/* Distinct neutral placeholders only for products without their own media. */
.woocommerce ul.products li.product a img[src*="hero-mascots.png"]{opacity:0}
.woocommerce ul.products li.product a img{object-fit:contain;padding:14px;box-sizing:border-box}
.woocommerce ul.products li.product:has(img[src*="hero-mascots.png"]){background:var(--panel)}
.woocommerce ul.products li.product:has(img[src*="hero-mascots.png"]) a:first-child{display:block;background:linear-gradient(135deg,#28374a,#936f39);}
.woocommerce ul.products li.product:nth-child(2):has(img[src*="hero-mascots.png"]) a:first-child{background:linear-gradient(135deg,#272243,#6d58a3)}
.woocommerce ul.products li.product:nth-child(3):has(img[src*="hero-mascots.png"]) a:first-child{background:linear-gradient(135deg,#3d3022,#6d846c)}
.woocommerce ul.products li.product:nth-child(4):has(img[src*="hero-mascots.png"]) a:first-child{background:linear-gradient(135deg,#222e43,#704c86)}

/* Product detail: balanced two-column premium layout. */
.woocommerce div.product{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);gap:34px;align-items:start;padding:28px;border:1px solid var(--line);border-radius:20px;background:linear-gradient(135deg,#0c1220,#111725);box-shadow:var(--shadow)}
.woocommerce div.product div.images{float:none!important;width:auto!important;margin:0!important;padding:18px;border:1px solid #2f3b58;border-radius:16px;background:#080c16}
.woocommerce div.product div.images .woocommerce-product-gallery__image img{width:100%;max-height:600px;object-fit:contain;border-radius:10px;background:#0d1320}
.woocommerce div.product div.summary{float:none!important;width:auto!important;margin:0!important;padding:34px 30px;border:1px solid #2f3b58;border-radius:16px;background:rgba(18,23,37,.78)}
.woocommerce div.product .product_title{margin:0 0 18px;font-size:clamp(30px,3vw,48px);line-height:1.05;letter-spacing:-1.5px}.woocommerce div.product p.price,.woocommerce div.product span.price{font-size:28px;font-weight:900;margin:16px 0 22px}.woocommerce div.product .stock{color:var(--gold);font-weight:700}.woocommerce div.product .product_meta{padding-top:24px;border-top:1px solid var(--line);font-size:14px}.woocommerce div.product form.cart{padding:20px 0;border-block:1px solid var(--line)}.woocommerce div.product form.cart .quantity .qty{min-width:72px}.woocommerce div.product form.cart .button{padding:13px 20px}.woocommerce-tabs{clear:both;margin-top:34px;padding:28px;border:1px solid var(--line);border-radius:18px;background:#0d1320}.woocommerce-tabs ul.tabs{margin:0 0 24px!important;padding:0!important}.woocommerce-tabs ul.tabs:before{display:none!important}.woocommerce-tabs ul.tabs li{border:0!important;background:transparent!important;padding:0 22px 12px 0!important}.woocommerce-tabs ul.tabs li a{color:var(--muted);font-weight:800}.woocommerce-tabs ul.tabs li.active a{color:var(--gold)}.woocommerce #reviews h2{font-size:26px}.woocommerce #reviews .commentlist{padding:0}.woocommerce #reviews .commentlist li{border-bottom:1px solid var(--line);padding:15px 0}.woocommerce #review_form_wrapper{margin-top:24px}.woocommerce #review_form_wrapper form{max-width:720px}.woocommerce #review_form_wrapper input,.woocommerce #review_form_wrapper textarea{width:100%}
/* Contact page */
.site-page{padding-block:58px}.site-page h1{font-size:clamp(36px,5vw,62px);margin:0 0 12px}.site-page-intro{max-width:650px;color:var(--muted);font-size:18px}.glosy-contact-shell{display:grid;grid-template-columns:.8fr 1.2fr;gap:28px;margin-top:34px}.glosy-contact-card,.glosy-contact-form{padding:28px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(145deg,#151a2b,#0c1220)}.glosy-contact-card h2{margin-top:0}.glosy-contact-card p{color:var(--muted)}.glosy-contact-form{display:grid;gap:16px}.glosy-form-row{display:grid;gap:6px}.glosy-form-row label{font-weight:700;color:#e9e8e8}.glosy-form-row input,.glosy-form-row textarea{width:100%;border:1px solid #38445f;border-radius:8px;background:#0b111e;color:var(--text);padding:12px}.glosy-form-row textarea{resize:vertical}.glosy-form-success,.glosy-form-error{padding:16px;border-radius:10px;font-weight:700}.glosy-form-success{border:1px solid #4a9f72;background:#11271e;color:#a9edc1}.glosy-form-error{border:1px solid #9e5961;background:#2a151b;color:#ffb1b8}.glosy-honeypot{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
@media(max-width:760px){.woocommerce div.product{grid-template-columns:1fr;gap:16px;padding:12px;border-radius:14px}.woocommerce div.product div.summary{padding:24px 18px}.woocommerce div.product .product_title{font-size:32px}.woocommerce-tabs{margin-top:18px;padding:18px}.glosy-contact-shell{grid-template-columns:1fr}.site-page{padding-block:36px}}
.glosy-filter-form{display:grid;gap:14px}.glosy-filter-row{display:grid;gap:5px}.glosy-filter-row label{font-size:12px;color:var(--muted);font-weight:700}.glosy-filter-row input,.glosy-filter-row select{width:100%;border:1px solid var(--line);border-radius:8px;background:#0d1321;color:var(--text);padding:9px}.glosy-filter-form .button{width:100%;border:0;cursor:pointer}.glosy-filter-reset{color:var(--muted);font-size:13px;text-align:center}.catalog-toolbar{min-height:44px}.glosy-catalog-results .woocommerce-result-count{color:var(--muted)}.glosy-catalog-results .woocommerce-ordering select{border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--text);padding:8px}
.collection-section{background:linear-gradient(180deg,#0a0e19,#0d1120);border-top:1px solid rgba(139,69,237,.12)}
.woocommerce ul.products li.product{box-shadow:0 10px 28px rgba(0,0,0,.12)}.woocommerce ul.products li.product:hover{box-shadow:0 14px 34px rgba(93,48,164,.18)}
.woocommerce div.product form.cart .variations select{max-width:100%;min-width:180px;border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--text);padding:9px}.woocommerce div.product .summary{color:var(--text)}.woocommerce div.product .product_meta{color:var(--muted)}

/* Universal Glosy v0.5 visual layer. */
.glosy-universal-home .hero{background:radial-gradient(circle at 72% 32%,rgba(216,164,45,.38),transparent 28%),radial-gradient(circle at 88% 18%,rgba(105,41,167,.42),transparent 33%),linear-gradient(115deg,#090d1a 15%,#211922 100%)}
.glosy-universal-home .hero-media{position:relative}.glosy-universal-home .hero-media:after{content:"";position:absolute;inset:30px 0 30px 0;border-radius:22px;background:linear-gradient(90deg,rgba(8,11,20,.72),rgba(8,11,20,.08) 65%),linear-gradient(0deg,rgba(18,13,12,.3),transparent);pointer-events:none}.glosy-universal-home .hero-media img{object-fit:cover;object-position:center 40%;filter:saturate(.9) contrast(1.03);box-shadow:0 0 80px rgba(204,154,44,.2),0 0 70px rgba(123,54,211,.22)}
.promo-art{position:relative;min-height:180px;margin:24px;background:radial-gradient(circle at 50% 50%,rgba(241,190,72,.44),transparent 18%),linear-gradient(135deg,#1b2437,#4d315f 55%,#2a3b45);border-radius:15px;overflow:hidden}.promo-character{position:absolute;left:50%;top:50%;transform:translate(-50%,-55%);font-size:88px;color:var(--gold);text-shadow:0 0 28px rgba(255,216,107,.55);z-index:1}.promo-orbit{position:absolute;width:210px;height:110px;left:50%;top:50%;transform:translate(-50%,-50%) rotate(-18deg);border:1px solid rgba(255,216,107,.7);border-radius:50%;box-shadow:0 0 24px rgba(139,69,237,.38)}
.glosy-universal-home .collection-own{background:linear-gradient(180deg,#0c111d,#111327)}
@media(max-width:760px){.glosy-universal-home .hero-media:after{inset:0}.glosy-universal-home .hero-media img{object-position:center 38%}.promo-art{margin:18px;min-height:140px}}
.woocommerce div.product .product_meta>span{display:block;margin-top:7px}.woocommerce div.product .product_meta .posted_in a{color:var(--gold)}
