/*
Theme Name: Granat Złoto
Theme URI: https://464.pl/
Author: 464
Description: Lekki, przenośny motyw sklepu WooCommerce. Granatowo-złoty projekt, edycja produktów i okładek bez kodu.
Version: 1.0.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: granat-zloto
License: GPL-2.0-or-later
*/
:root{--bg:#081927;--ink:#f5f4ef;--muted:#b3c1cc;--accent:#f2ad35;--button-ink:#101b24;--line:#263a49;--surface:#102638}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:400 13px/1.65 Manrope,Arial,sans-serif;min-height:100vh}body, .gz-shell{display:flex;flex-direction:column}body>.gz-shell{flex:1}main{flex:1}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--accent);outline-offset:3px}img{max-width:100%;height:auto}.wrap{width:min(1060px,calc(100% - 64px));margin-inline:auto}.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);height:1px;width:1px;overflow:hidden;white-space:nowrap}.screen-reader-text:focus{position:fixed!important;clip:auto;height:auto;width:auto;left:10px;top:10px;background:#fff;color:#000;padding:10px;z-index:9999}
.gz-header{height:100px;display:flex;justify-content:space-between;align-items:center;gap:24px;border-bottom:1px solid var(--line)}.gz-brand{font-size:26px;font-weight:800;line-height:1.15;letter-spacing:-.025em;position:relative}.gz-brand:after{content:'';display:block;height:2px;width:130px;background:var(--accent);position:absolute;top:31px;left:2px;transform:rotate(-2deg)}.gz-brand span{display:block;text-transform:uppercase;font-size:9px;font-weight:500;letter-spacing:.22em;margin-top:11px}.gz-nav{display:flex;align-items:center;gap:25px;font-size:12px}.gz-nav a{min-height:40px;display:inline-flex;align-items:center}.gz-nav .gz-cart{display:inline-flex;gap:9px;align-items:center}.gz-cart-count{display:inline-grid;place-items:center;min-width:21px;height:21px;padding:0 4px;background:var(--accent);color:var(--button-ink);border-radius:50%;font-size:10px;font-weight:700}.gz-footer{border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:24px;padding-block:23px;font-size:11px;color:var(--muted)}.gz-footer nav{display:flex;gap:20px;flex-wrap:wrap}.gz-footer a:hover{text-decoration:underline}
.gz-store{padding:35px 0 52px}.gz-store-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.gz-store-heading h1{font-size:32px;font-weight:650;letter-spacing:-.025em;line-height:1.2;margin:0}.gz-store-heading span{font-size:12px;color:var(--muted)}.woocommerce ul.products,.gz-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:0!important;padding:0!important;list-style:none}.woocommerce ul.products::before,.woocommerce ul.products::after{display:none!important}.woocommerce ul.products li.product,.gz-product-card{position:relative!important;float:none!important;width:auto!important;margin:0!important;max-width:none!important;min-width:0;display:grid!important;grid-template-columns:124px minmax(0,1fr);grid-template-rows:auto 1fr auto;gap:0 24px;background:var(--surface);padding:26px;border:1px solid var(--line);border-radius:2px;clear:none!important;list-style:none!important;text-align:left!important}.gz-product-cover{grid-column:1;grid-row:1 / span 2;display:flex;justify-content:center;align-items:flex-start}.gz-product-cover img{width:auto!important;max-width:124px!important;height:176px!important;object-fit:contain;filter:drop-shadow(4px 7px 8px #0003);margin:0!important}.gz-no-image{display:grid;place-items:center;width:124px;height:176px;border:1px dashed var(--line);font-size:12px;text-align:center;color:var(--muted);padding:8px}.gz-product-copy{grid-column:2;grid-row:1 / span 2;min-width:0}.gz-product-kicker{font-size:9px;letter-spacing:.13em;text-transform:uppercase;color:var(--muted);margin:0 0 10px}.woocommerce ul.products li.product h2.woocommerce-loop-product__title,.gz-product-card h2{font-size:23px!important;line-height:1.16!important;letter-spacing:-.025em!important;font-weight:700!important;margin:0!important;padding:0!important;color:var(--ink)!important}.gz-product-copy h2 a:hover{text-decoration:underline}.gz-product-subtitle{font-size:11px;color:var(--muted);line-height:1.5;margin:10px 0 0}.gz-format-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:16px}.gz-format-tags span{font-size:10px;border:1px solid var(--line);padding:3px 8px;border-radius:2px;white-space:nowrap}.gz-product-note{font-size:10px;color:var(--muted);margin:8px 0 0}.gz-product-buy{grid-column:1/-1;grid-row:3;display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:20px;margin-top:20px;gap:12px}.gz-product-buy .price{font-size:20px!important;line-height:1.2;font-weight:750!important;color:var(--ink)!important;white-space:nowrap;display:block!important;margin:0!important}.gz-product-buy .price del{font-size:13px;color:var(--muted)}.gz-product-buy .price ins{color:var(--ink);text-decoration:none}.gz-btn,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce button.single_add_to_cart_button,.wp-block-button__link{min-height:46px;display:inline-flex!important;align-items:center;justify-content:center;gap:10px;background:var(--accent)!important;color:var(--button-ink)!important;border:0!important;border-radius:0!important;font:800 13px/1.2 Manrope,Arial,sans-serif!important;padding:12px 18px!important;white-space:nowrap;cursor:pointer;text-decoration:none!important}.gz-btn:hover,.woocommerce a.button:hover,.woocommerce button.button:hover{filter:brightness(.94)}.gz-btn svg{width:18px;height:18px;flex-shrink:0}.gz-notice{color:var(--muted);margin:25px 0}.gz-page{padding:36px 0 70px}.gz-page h1{font-size:32px;line-height:1.2}.gz-page a:not(.button):not(.gz-btn){text-decoration:underline}.gz-page p,.gz-page li{font-size:14px}
/* Single product: WooCommerce native variation form, gallery, add-to-cart */
.woocommerce div.product{padding:35px 0 70px}.woocommerce div.product div.images,.woocommerce div.product div.summary{margin-bottom:30px}.woocommerce div.product div.images img{max-height:450px;object-fit:contain;width:auto;margin-inline:auto}.woocommerce div.product .product_title{font-size:36px;line-height:1.15;color:var(--ink)}.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--ink);font-size:23px}.woocommerce div.product .woocommerce-product-details__short-description{color:var(--muted);font-size:14px}.woocommerce div.product form.cart{margin-top:24px}.woocommerce div.product form.cart .variations th,.woocommerce div.product form.cart .variations td{display:block;text-align:left;padding:5px 0;color:var(--ink)}.woocommerce div.product form.cart .variations select{min-height:45px;background:var(--surface);color:var(--ink);border:1px solid var(--line);padding:7px 12px;min-width:230px}.woocommerce div.product form.cart .variations label{color:var(--ink)}.woocommerce .quantity .qty{background:var(--surface);color:var(--ink);border:1px solid var(--line);min-height:46px}.woocommerce div.product .woocommerce-tabs ul.tabs li{background:var(--surface);border-color:var(--line)}.woocommerce div.product .woocommerce-tabs ul.tabs li a{color:var(--ink)}.woocommerce div.product .woocommerce-tabs .panel{color:var(--ink)}.woocommerce div.product .product_meta{color:var(--muted)}.woocommerce-message,.woocommerce-info{background:var(--surface);border-top-color:var(--accent);color:var(--ink)}.woocommerce-message::before,.woocommerce-info::before{color:var(--accent)}.woocommerce table.shop_table{border-color:var(--line)}.woocommerce table.shop_table th,.woocommerce table.shop_table td{border-color:var(--line);color:var(--ink)}.woocommerce input.input-text,.woocommerce textarea,.woocommerce select{background:var(--surface);color:var(--ink);border:1px solid #526479;padding:10px}.select2-container--default .select2-selection--single{background:var(--surface);border:1px solid #526479;color:var(--ink);height:42px}.select2-container--default .select2-selection--single .select2-selection__rendered{color:var(--ink);line-height:42px}.woocommerce a.remove{color:var(--accent)!important}.woocommerce .woocommerce-breadcrumb{color:var(--muted);margin:0 0 20px}.woocommerce .woocommerce-breadcrumb a{color:var(--muted)}.woocommerce .star-rating{color:var(--accent)}.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{display:none!important}.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{background:var(--surface);color:var(--ink)}
/* WooCommerce Blocks cart / checkout */
.wc-block-components-form .wc-block-components-text-input input,.wc-block-components-combobox .wc-block-components-combobox-control input{color:#142c3d!important;background:#fff!important}.wc-block-cart,.wc-block-checkout{color:var(--ink)}.wc-block-components-button{background:var(--accent)!important;color:var(--button-ink)!important}.wc-block-components-sidebar-layout{color:var(--ink)}.wc-block-components-totals-wrapper{border-color:var(--line)}
@media(max-width:900px){.wrap{width:calc(100% - 44px)}.woocommerce ul.products li.product,.gz-product-card{grid-template-columns:95px 1fr;padding:20px;gap:0 15px}.gz-product-cover img{max-width:95px!important;height:140px!important}.gz-no-image{width:95px;height:140px}.woocommerce ul.products li.product h2.woocommerce-loop-product__title,.gz-product-card h2{font-size:21px!important}.gz-product-buy{flex-wrap:wrap}.gz-product-buy .price{font-size:19px!important}}
@media(max-width:650px){.wrap{width:calc(100% - 36px)}.gz-header{height:86px;gap:14px}.gz-brand{font-size:18px;white-space:nowrap}.gz-brand:after{top:23px;width:110px}.gz-brand span{font-size:8px;margin-top:9px}.gz-nav{gap:14px}.gz-nav a{font-size:11px}.gz-nav .gz-author-link{display:none}.gz-store{padding:25px 0 35px}.gz-store-heading h1{font-size:27px}.woocommerce ul.products,.gz-grid{grid-template-columns:1fr;gap:18px}.woocommerce ul.products li.product,.gz-product-card{grid-template-columns:95px minmax(0,1fr);padding:20px;gap:0 18px}.gz-product-buy{gap:10px;padding-top:17px;margin-top:18px}.gz-product-buy .price{font-size:18px!important}.gz-btn,.woocommerce a.button{font-size:12px!important;padding:12px 14px!important}.gz-footer{flex-wrap:wrap}.gz-footer nav{gap:14px}.woocommerce div.product .product_title{font-size:29px}}

.gz-single-product{padding-top:10px}.woocommerce div.product .related.products{clear:both}.woocommerce ul.products li.product .onsale{top:9px;right:9px;left:auto;min-height:0;line-height:1.3;padding:5px 8px;font-size:10px;border-radius:2px;background:var(--accent);color:var(--button-ink)}

/* 1.0.1: wspólna nawigacja strony i sklepu, pobierana z Wygląd → Menu */
.gz-header{position:relative;min-height:100px;height:auto;gap:18px}
.gz-brand{font-size:21px;flex-shrink:0}
.gz-brand:after{top:27px}
.gz-header-right{display:flex;align-items:center;gap:18px;min-width:0}
.gz-header-right .gz-cart{display:inline-flex;align-items:center;gap:7px;flex-shrink:0;font-size:12px}
.gz-site-links{display:flex;align-items:center;list-style:none;margin:0;padding:0;gap:13px}
.gz-site-links li{position:relative;list-style:none;margin:0;padding:0;white-space:nowrap}
.gz-site-links a{display:inline-flex;align-items:center;min-height:44px;font-size:11px}
.gz-site-links .sub-menu{display:none;position:absolute;top:100%;left:0;z-index:20;min-width:175px;background:var(--surface);border:1px solid var(--line);padding:5px 12px;list-style:none}
.gz-site-links li:hover>.sub-menu,.gz-site-links li:focus-within>.sub-menu{display:block}
.gz-site-links .sub-menu li{display:block}
.gz-mobile-menu{display:none}
@media(max-width:1050px){
 .gz-nav-desktop{display:none}
 .gz-mobile-menu{display:block;position:relative;z-index:30}
 .gz-mobile-menu>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:8px;min-height:44px;font-size:13px;font-weight:700}
 .gz-mobile-menu>summary::-webkit-details-marker{display:none}
 .gz-mobile-menu[open] nav{position:absolute;right:0;top:100%;z-index:30;width:min(300px,calc(100vw - 40px));background:var(--surface);border:1px solid var(--line);box-shadow:0 10px 25px #0007;padding:10px 15px}
 .gz-mobile-links{list-style:none;margin:0;padding:0}
 .gz-mobile-links li{list-style:none;margin:0;padding:0}
 .gz-mobile-links a,.gz-mobile-menu nav>a{display:block;padding:9px 4px;font-size:13px}
 .gz-mobile-links .sub-menu{padding-left:16px;margin:0;list-style:none;border-left:1px solid var(--line)}
 .gz-header-right{margin-left:auto}
}
@media(max-width:650px){
 .gz-header{min-height:80px;height:auto}
 .gz-brand{font-size:17px;max-width:210px;white-space:normal}
 .gz-brand:after{top:24px;width:110px}
 .gz-brand span{font-size:8px}
 .gz-header-right{gap:13px}
 .gz-header-right .gz-cart{min-height:40px}
 .gz-header-right .gz-cart-text{display:none}
}

/* 1.0.2 — wspólna identyfikacja wizualna strony autora i sklepu. */
.gz-shell .hdr{position:relative;z-index:10;background:#081726;color:#fff;font-family:"Source Sans 3",system-ui,sans-serif}
.gz-shell .hdr__in{width:min(1280px,calc(100% - 60px));max-width:1280px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 28px;padding:20px 0}
.gz-shell .logo{display:inline-block;flex-shrink:0;text-decoration:none;color:#fff}
.gz-shell .logo__n{font-family:"Kaushan Script",cursive;font-size:clamp(26px,2.6vw,36px);line-height:1.08;color:#fff;display:block;letter-spacing:0;font-weight:400}
.gz-shell .logo__u{display:block;width:clamp(150px,17vw,215px);height:10px;margin:-4px 0 0 6px}
.gz-shell .gz-author-nav-group{display:flex;align-items:center;gap:14px;margin-left:auto}
.gz-shell .nav{display:flex;align-items:center;flex-wrap:wrap;gap:0}
.gz-shell .nav a{display:inline-block;min-height:0;padding:5px clamp(9px,1.35vw,18px);font-size:clamp(14px,1.1vw,16px);font-weight:600;color:#fff;text-decoration:none;border-left:1px solid rgba(242,169,59,.8);line-height:1.2}
.gz-shell .nav a:first-child{border-left:0}
.gz-shell .nav a:hover,.gz-shell .nav a[aria-current="page"]{color:#F2A93B}
.gz-shell .gz-cart{display:inline-flex;align-items:center;gap:7px;text-decoration:none;color:#fff;font-size:14px;font-weight:600;white-space:nowrap}
.gz-shell .gz-cart:hover{color:#F2A93B}
.gz-shell .nav-tgl{display:none;width:48px;height:48px;padding:0;margin:0;border:1px solid rgba(255,255,255,.26);background:rgba(8,23,38,.55);color:#fff;cursor:pointer;align-items:center;justify-content:center;flex:none}
.gz-shell .nav-tgl__i,.gz-shell .nav-tgl__i::before,.gz-shell .nav-tgl__i::after{display:block;width:22px;height:2px;background:currentColor;border-radius:2px;transition:transform .2s ease,opacity .15s ease}
.gz-shell .nav-tgl__i{position:relative}.gz-shell .nav-tgl__i::before,.gz-shell .nav-tgl__i::after{content:"";position:absolute;left:0}
.gz-shell .nav-tgl__i::before{top:-7px}.gz-shell .nav-tgl__i::after{top:7px}
.gz-shell .nav-tgl[aria-expanded="true"]{border-color:#F2A93B;color:#F2A93B}.gz-shell .nav-tgl[aria-expanded="true"] .nav-tgl__i{background:transparent}
.gz-shell .nav-tgl[aria-expanded="true"] .nav-tgl__i::before{top:0;transform:rotate(45deg)}.gz-shell .nav-tgl[aria-expanded="true"] .nav-tgl__i::after{top:0;transform:rotate(-45deg)}
.gz-shell .gz-store-heading h1{font-family:"Playfair Display",Georgia,serif;font-weight:700}
.gz-shell .foot{margin-top:auto;background:#081726;color:#bcc9d7;font-family:"Source Sans 3",system-ui,sans-serif}
.gz-shell .foot__in{width:min(1280px,calc(100% - 60px));max-width:1280px;display:flex;align-items:center;justify-content:space-between;gap:18px 25px;flex-wrap:wrap;padding:26px 0;font-size:13px}
.gz-shell .foot__in nav{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.gz-shell .foot__in a{color:inherit;text-decoration:none}.gz-shell .foot__in a:hover{color:#F2A93B}
.gz-shell .foot__sig{font-size:12px}
@media(max-width:1050px){
 .gz-shell .nav-tgl{display:inline-flex}
 .gz-shell .gz-author-nav-group{position:relative}
 .gz-shell .nav{display:none;position:absolute;right:0;top:calc(100% + 12px);z-index:50;width:min(330px,calc(100vw - 36px));background:#0e2439;border:1px solid rgba(255,255,255,.26);padding:12px;box-shadow:0 15px 35px #0008;flex-direction:column;align-items:stretch}
 .gz-shell .nav.nav--otwarte{display:flex}
 .gz-shell .nav a{display:block;padding:11px 12px;border-left:0;border-bottom:1px solid rgba(255,255,255,.1)}
 .gz-shell .nav a:last-child{border-bottom:0}
}
@media(max-width:650px){
 .gz-shell .hdr__in,.gz-shell .foot__in{width:calc(100% - 36px)}
 .gz-shell .logo__n{font-size:25px}
 .gz-shell .gz-author-nav-group{gap:10px}
 .gz-shell .gz-cart-text{display:none}
 .gz-shell .foot__in{gap:14px}
}
