
/* DRR emergency logo size fix */
.dd-logo img{width:64px!important;height:64px!important;max-width:64px!important;max-height:64px!important;object-fit:contain!important;display:block!important}
.dd-top{display:flex!important;align-items:center!important;justify-content:space-between!important}


:root{
 --bg:#031613;
 --bg2:#041d18;
 --card:#082a24;
 --card2:#0b342c;
 --line:rgba(40,224,178,.24);
 --text:#f5fff9;
 --muted:#9fe7d4;
 --accent:#28e0b2;
 --gold:#d6a84f;
 --gold2:#f5d887;
 --shadow:0 18px 40px rgba(0,0,0,.28);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
 background:
  radial-gradient(circle at 0 0,rgba(40,224,178,.11),transparent 34rem),
  radial-gradient(circle at 100% 0,rgba(214,168,79,.10),transparent 24rem),
  linear-gradient(180deg,#031613,#020d0b 100%);
 color:var(--text);
 font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
a{color:inherit}
.dd-top{
 max-width:1480px;margin:0 auto;padding:18px clamp(16px,3vw,34px);
 display:flex;align-items:center;justify-content:space-between;gap:18px;
}
.dd-logo{display:flex;align-items:center;gap:14px;text-decoration:none}
.dd-logo img{width:64px;height:64px;object-fit:contain;border-radius:16px;background:#071d18}
.dd-logo .big{display:block;color:#f2cd6b;font-size:26px;line-height:.92;font-weight:950;letter-spacing:-.05em}
.dd-logo .small{display:block;color:#d9ebe4;font-size:12px;text-transform:uppercase;letter-spacing:.16em}
.dd-nav{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.dd-nav a{
 padding:10px 13px;border-radius:999px;text-decoration:none;
 border:1px solid var(--line);background:rgba(8,43,36,.72);
 color:#d6e9e2;font-weight:850;font-size:13px;
}
.dd-nav a:hover,.dd-nav a.active{background:linear-gradient(135deg,var(--accent),#87f5dd);color:#061713}
.shell{max-width:1480px;margin:0 auto;padding:24px clamp(16px,3vw,34px) 78px}
.hero{
 border:1px solid var(--line);
 background:linear-gradient(135deg,rgba(8,43,36,.96),rgba(4,22,19,.92));
 border-radius:30px;padding:clamp(26px,4vw,48px);box-shadow:0 22px 70px rgba(0,0,0,.32);
 margin:14px 0 28px;position:relative;overflow:hidden;
}
.hero:before{content:"";position:absolute;right:-80px;top:-80px;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,rgba(214,168,79,.24),transparent 68%)}
.kicker{display:inline-flex;color:var(--gold2);font-weight:950;text-transform:uppercase;letter-spacing:.12em;font-size:12px;margin-bottom:12px}
.hero h1{font-size:clamp(38px,6vw,76px);line-height:.96;margin:0 0 14px;font-weight:950;letter-spacing:-.065em}
.hero p{max-width:900px;margin:0;color:var(--muted);font-size:clamp(15px,2vw,18px);line-height:1.55}
.search-bar,.toolbar{
 margin-top:24px;display:grid;grid-template-columns:minmax(220px,1fr) auto auto;gap:12px;position:relative;z-index:2;
}
.search-bar.two{grid-template-columns:minmax(220px,1fr) auto}
.search-bar input,.toolbar input,.toolbar select{
 width:100%;background:#031f1a;border:1px solid rgba(40,224,178,.30);color:var(--text);
 padding:14px 15px;border-radius:16px;outline:none;font-size:15px;
}
.search-bar input:focus,.toolbar input:focus,.toolbar select:focus{border-color:var(--accent);box-shadow:0 0 0 4px rgba(40,224,178,.12)}
.btn-gold,.btn-dark{
 display:flex;align-items:center;justify-content:center;min-height:48px;padding:0 18px;border-radius:16px;
 text-decoration:none;font-weight:950;border:none;cursor:pointer
}
.btn-gold{background:linear-gradient(135deg,var(--gold),var(--gold2));color:#1c1404}
.btn-dark{background:#0d3129;border:1px solid var(--line);color:var(--text)}
.cat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(255px,1fr));gap:18px}
.cat-card{
 display:flex;flex-direction:column;min-height:370px;overflow:hidden;background:linear-gradient(180deg,rgba(8,42,35,.98),rgba(5,29,24,.98));
 border:1px solid var(--line);border-radius:24px;color:var(--text);text-decoration:none;box-shadow:var(--shadow);
 transition:.18s transform ease,.18s border-color ease,.18s box-shadow ease;
}
.cat-card:hover,.product-card:hover{transform:translateY(-3px);border-color:rgba(40,224,178,.60);box-shadow:0 22px 45px rgba(0,0,0,.35)}
.cat-img{width:100%;aspect-ratio:1.18/1;object-fit:contain;background:#fff;border-bottom:1px solid rgba(40,224,178,.18)}
.cat-body{padding:17px;display:flex;flex-direction:column;gap:10px;flex:1}
.cat-top{display:flex;justify-content:space-between;align-items:center;gap:10px}
.cat-icon{font-size:28px}
.count{font-size:12px;font-weight:950;padding:6px 9px;border-radius:999px;background:rgba(40,224,178,.12);color:var(--accent);border:1px solid rgba(40,224,178,.24)}
.cat-card h2,.section-title{margin:0;font-size:23px;line-height:1.05;letter-spacing:-.045em}
.cat-card p{margin:0;color:var(--muted);font-size:14px;line-height:1.42}
.cta-text{margin-top:auto;color:#f6e1a6;font-weight:950}
.note{
 margin-top:26px;border:1px solid rgba(40,224,178,.18);border-radius:20px;padding:18px;background:rgba(8,43,36,.55);color:var(--muted);line-height:1.55
}
.tabs{display:flex;gap:8px;overflow:auto;padding:4px 0 0;margin-top:14px}
.tabs button{
 white-space:nowrap;border:1px solid var(--line);background:rgba(7,43,36,.8);color:var(--muted);
 padding:10px 13px;border-radius:999px;cursor:pointer;font-weight:850
}
.tabs button.active{background:linear-gradient(135deg,var(--accent),#1aa383);color:#021510;border-color:transparent}
.group-title{
 display:flex;justify-content:space-between;align-items:center;gap:12px;
 margin:30px 0 14px
}
.group-title h2{margin:0;font-size:clamp(22px,3vw,34px);letter-spacing:-.05em}
.group-title h2:before{content:"";display:inline-block;width:8px;height:28px;margin-right:10px;border-radius:99px;background:var(--gold);vertical-align:-4px}
.group-title span{color:var(--muted);font-weight:850}
.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:16px}
.product-card{
 display:flex;flex-direction:column;overflow:hidden;min-height:460px;background:linear-gradient(180deg,rgba(8,42,35,.98),rgba(5,29,24,.98));
 border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow);transition:.18s transform ease,.18s border-color ease,.18s box-shadow ease
}
.product-img{display:block;width:100%;aspect-ratio:1/1;object-fit:contain;background:#fff;border-bottom:1px solid rgba(40,224,178,.18)}

.product-media-link{display:block;color:inherit;text-decoration:none}
.product-title-link{color:inherit;text-decoration:none}
.product-title-link:hover{text-decoration:underline}
.product-body{padding:14px;display:flex;flex-direction:column;gap:9px;flex:1}
.brand-pill{display:inline-flex;align-self:flex-start;font-size:11px;font-weight:950;padding:6px 8px;border-radius:999px;background:rgba(214,168,79,.12);color:#f6e1a6;border:1px solid rgba(214,168,79,.22)}
.product-title{font-size:15px;line-height:1.2;font-weight:950;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.product-short{color:var(--muted);font-size:12.5px;line-height:1.38;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.meta{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--muted);font-size:14px}
.price{font-size:19px;color:#e9fff7;font-weight:950}
.badge{font-size:12px;font-weight:950;padding:5px 8px;border-radius:999px;background:rgba(40,224,178,.12);color:var(--accent);border:1px solid rgba(40,224,178,.22)}
.badge.live{color:#9bf2dc;border-color:rgba(40,224,178,.24);background:rgba(40,224,178,.12)}
.badge.ended{color:#f6e1a6;border-color:rgba(214,168,79,.28);background:rgba(214,168,79,.10)}
.actions{margin-top:auto;display:grid;grid-template-columns:1fr 1fr;gap:8px}
.actions a,.actions button{
 display:flex;align-items:center;justify-content:center;min-height:39px;padding:9px 10px;border-radius:13px;
 border:1px solid var(--line);color:var(--text);text-decoration:none;font-weight:950;font-size:13px;background:#0b342c;cursor:pointer;
}
.actions .primary{background:linear-gradient(135deg,var(--gold),var(--gold2));color:#1c1404;border:none}
.empty-state{display:none;text-align:center;padding:42px;color:var(--muted)}
.modal{
 position:fixed;inset:0;z-index:100;display:none;align-items:center;justify-content:center;padding:22px;background:rgba(0,0,0,.72)
}
.modal.open{display:flex}
.modal-box{
 width:min(1080px,96vw);max-height:92vh;overflow:auto;border-radius:24px;
 background:linear-gradient(180deg,#082b24,#041b17);border:1px solid rgba(40,224,178,.3);box-shadow:0 30px 80px rgba(0,0,0,.55)
}
.modal-head{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:18px 20px;border-bottom:1px solid rgba(40,224,178,.16)}
.modal-head h2{margin:0;font-size:24px;letter-spacing:-.04em}
.close{background:#123d34;color:#fff;border:1px solid rgba(40,224,178,.3);border-radius:12px;padding:9px 12px;cursor:pointer;font-weight:900}
.modal-content{display:grid;grid-template-columns:minmax(260px,420px) 1fr;gap:20px;padding:20px}
.modal-content img{width:100%;border-radius:18px;background:#fff;object-fit:contain}
.modal-desc{color:#d9fff4;line-height:1.56}
.modal-desc h3{margin:18px 0 8px;color:#fff}
.modal-desc ul{padding-left:20px}
.brand-box{
 border:1px solid rgba(214,168,79,.25);background:rgba(214,168,79,.08);
 padding:14px 15px;border-radius:16px;color:#f6e1a6;line-height:1.5;margin-bottom:14px
}
.buy-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.buy-row a{padding:12px 15px;border-radius:14px;text-decoration:none;font-weight:950}
.buy-row .primary{background:linear-gradient(135deg,var(--gold),var(--gold2));color:#1c1404}
.buy-row .ghost{background:#0b342c;border:1px solid rgba(40,224,178,.24)}
.small-link{font-size:12px;color:var(--muted);text-decoration:underline;margin-top:6px;display:inline-block}
.footer{
 max-width:1480px;margin:0 auto;padding:28px clamp(16px,3vw,34px) 46px;color:var(--muted)
}
@media(max-width:800px){
 .dd-top{align-items:flex-start;flex-direction:column}
 .search-bar,.toolbar{grid-template-columns:1fr}
 .cat-grid{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px}
 .cat-card{min-height:325px;border-radius:20px}
 .cat-card h2{font-size:19px}
 .product-grid{grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:12px}
 .product-card{min-height:390px}
 .actions{grid-template-columns:1fr}
 .modal-content{grid-template-columns:1fr}
}


/* === MINI LANDINGS SEO === */
.landing-grid{display:grid;grid-template-columns:minmax(260px,1.1fr) .9fr;gap:22px;align-items:start}
.landing-copy,.landing-panel{
 border:1px solid var(--line);background:linear-gradient(180deg,rgba(8,42,35,.98),rgba(5,29,24,.98));
 border-radius:24px;padding:22px;box-shadow:var(--shadow)
}
.landing-copy h2,.landing-panel h2,.faq h2,.seo-copy h2{margin:0 0 12px;font-size:28px;letter-spacing:-.045em}
.benefits{margin:0;padding-left:18px;color:var(--muted);line-height:1.65}
.faq,.seo-copy{
 margin-top:24px;border:1px solid var(--line);background:linear-gradient(180deg,rgba(8,42,35,.98),rgba(5,29,24,.98));
 border-radius:24px;padding:22px;box-shadow:var(--shadow)
}
.faq-item{padding:12px 0;border-top:1px solid rgba(40,224,178,.12)}
.faq-item:first-of-type{border-top:none}
.faq-item strong{display:block;margin-bottom:6px}
.featured-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:30px 0 14px}
.featured-head h2{margin:0;font-size:clamp(24px,3vw,36px);letter-spacing:-.05em}
.breadcrumbs{margin-bottom:10px;color:var(--muted);font-size:13px}
.breadcrumbs a{text-decoration:none;color:var(--muted)}
.cta-box{
 margin-top:18px;padding:16px;border-radius:18px;background:rgba(214,168,79,.08);border:1px solid rgba(214,168,79,.22);color:#f6e1a6
}
@media(max-width:920px){.landing-grid{grid-template-columns:1fr}}


/* === PRO ALL CATEGORY LANDINGS === */
.pro-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:22px}
.pro-strip div{border:1px solid rgba(40,224,178,.18);border-radius:18px;background:rgba(3,31,26,.55);padding:14px;color:var(--muted);line-height:1.45}
.pro-strip strong{display:block;color:#f6e1a6;margin-bottom:4px}
.landing-grid{display:grid;grid-template-columns:minmax(260px,1.1fr) .9fr;gap:22px;align-items:start}
.landing-copy,.landing-panel,.audience,.popular,.faq,.seo-copy,.bulk-cta{
 border:1px solid var(--line);background:linear-gradient(180deg,rgba(8,42,35,.98),rgba(5,29,24,.98));
 border-radius:24px;padding:22px;box-shadow:var(--shadow)
}
.landing-copy h2,.landing-panel h2,.audience h2,.popular h2,.faq h2,.seo-copy h2,.bulk-cta h2{margin:0 0 12px;font-size:28px;letter-spacing:-.045em}
.benefits,.audience-list{margin:0;padding-left:18px;color:var(--muted);line-height:1.68}
.audience,.popular,.faq,.seo-copy,.bulk-cta{margin-top:24px}
.faq-item{padding:12px 0;border-top:1px solid rgba(40,224,178,.12);color:var(--muted);line-height:1.55}
.faq-item:first-of-type{border-top:none}
.faq-item strong{display:block;margin-bottom:6px;color:#fff}
.featured-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:30px 0 14px}
.featured-head h2{margin:0;font-size:clamp(24px,3vw,36px);letter-spacing:-.05em}
.breadcrumbs{margin-bottom:10px;color:var(--muted);font-size:13px}
.breadcrumbs a{text-decoration:none;color:var(--muted)}
.cta-box,.bulk-cta{
 background:linear-gradient(135deg,rgba(214,168,79,.12),rgba(40,224,178,.08));
 border-color:rgba(214,168,79,.25);color:#f6e1a6
}
.bulk-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.popular-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px}
.popular-item{border:1px solid rgba(40,224,178,.18);border-radius:18px;background:rgba(3,31,26,.55);padding:12px;display:flex;gap:10px;align-items:center}
.popular-item img{width:58px;height:58px;object-fit:contain;background:#fff;border-radius:12px}
.popular-item strong{font-size:13px;line-height:1.2}
@media(max-width:920px){.landing-grid,.pro-strip{grid-template-columns:1fr}}

/* HOTFIX: widoczność ofert zakończonych w katalogu */
.product-card.is-ended{border-color:rgba(214,168,79,.32);background:linear-gradient(180deg,rgba(214,168,79,.075),rgba(10,16,22,.94));}
.product-card.is-ended .product-img{filter:saturate(.92) contrast(.98);}
.product-card.is-ended .primary{background:linear-gradient(135deg,#d6a84f,#f2d58a);color:#16110a;}
.ended-offers-notice{margin-top:16px;padding:12px 14px;border:1px solid rgba(214,168,79,.28);background:rgba(214,168,79,.10);border-radius:16px;color:#f6e1a6;font-weight:800;line-height:1.45;}

/* === DRR DAMSON: katalog jak strona główna + drzewo kategorii === */
.product-catalog-page{
 --main-bg:#07110f;
 --main-panel:#0b1f1b;
 --main-panel-2:#102923;
 --main-gold:#d6a84f;
 --main-gold-2:#f0d27a;
 --main-teal:#32e2b7;
 --main-muted:#a8dfcf;
 background:
  radial-gradient(circle at 10% 0%, rgba(214,168,79,.12), transparent 34rem),
  radial-gradient(circle at 90% 0%, rgba(50,226,183,.13), transparent 30rem),
  linear-gradient(180deg,#06110f 0%,#030807 100%) !important;
}
.product-catalog-page .top-bar,
.product-catalog-page .site-header-v2,
.product-catalog-page .main-nav-v2{
 font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.product-catalog-page .site-header-v2{
 background:linear-gradient(180deg,rgba(6,17,15,.98),rgba(8,27,23,.96));
 border-bottom:1px solid rgba(214,168,79,.22);
 box-shadow:0 18px 50px rgba(0,0,0,.26);
}
.product-catalog-page .main-nav-v2{
 background:rgba(5,14,12,.86);
 border-bottom:1px solid rgba(50,226,183,.13);
}
.product-catalog-page .nav-v2-list a.active,
.product-catalog-page .nav-v2-list a:hover{
 color:#fff!important;
 background:linear-gradient(135deg,rgba(214,168,79,.18),rgba(50,226,183,.10));
 border-color:rgba(214,168,79,.34);
}
.product-catalog-page .drr-shell{
 width:min(1480px, calc(100vw - 32px))!important;
}
.product-catalog-page .hero{
 margin-top:18px;
 background:
  radial-gradient(circle at top left, rgba(214,168,79,.12), transparent 35%),
  radial-gradient(circle at top right, rgba(50,226,183,.13), transparent 38%),
  linear-gradient(160deg, rgba(13,42,35,.96), rgba(6,18,16,.98));
}
.catalog-breadcrumb{
 display:flex;
 flex-wrap:wrap;
 align-items:center;
 gap:8px;
 margin-top:16px;
 color:#f6e1a6;
 font-weight:900;
 letter-spacing:.02em;
}
.catalog-breadcrumb span{
 display:inline-flex;
 align-items:center;
 min-height:30px;
 padding:6px 10px;
 border-radius:999px;
 background:rgba(214,168,79,.10);
 border:1px solid rgba(214,168,79,.24);
}
.catalog-breadcrumb b{color:var(--main-teal);font-size:18px;line-height:1}
.catalog-layout{
 display:grid;
 grid-template-columns:320px minmax(0,1fr);
 gap:20px;
 align-items:start;
 margin-top:24px;
}
.catalog-tree-panel,
.catalog-results-panel{
 border:1px solid rgba(50,226,183,.18);
 background:linear-gradient(180deg,rgba(9,36,31,.92),rgba(5,18,16,.96));
 border-radius:26px;
 box-shadow:0 20px 60px rgba(0,0,0,.28);
}
.catalog-tree-panel{
 position:sticky;
 top:14px;
 max-height:calc(100vh - 28px);
 overflow:auto;
 padding:16px;
}
.catalog-results-panel{padding:18px;min-width:0}
.tree-title{
 display:flex;
 justify-content:space-between;
 align-items:flex-end;
 gap:12px;
 padding:4px 4px 14px;
 border-bottom:1px solid rgba(50,226,183,.13);
 margin-bottom:12px;
}
.tree-title span{font-size:18px;font-weight:950;color:#fff;letter-spacing:-.035em}
.tree-title small{color:var(--main-muted);font-weight:800}
.category-tree,
.tree-children,
.tree-leaves{display:grid;gap:7px}
.category-tree details{border:0;margin:0;padding:0}
.category-tree summary{
 list-style:none;
 cursor:pointer;
}
.category-tree summary::-webkit-details-marker{display:none}
.category-tree button{
 width:100%;
 border:1px solid rgba(50,226,183,.14);
 background:rgba(255,255,255,.035);
 color:#dffcf3;
 border-radius:14px;
 padding:10px 11px;
 display:flex;
 justify-content:space-between;
 align-items:center;
 gap:10px;
 cursor:pointer;
 text-align:left;
 font-weight:900;
 line-height:1.2;
 transition:.16s ease;
}
.category-tree button em{
 flex:0 0 auto;
 font-style:normal;
 min-width:28px;
 text-align:center;
 padding:4px 7px;
 border-radius:999px;
 background:rgba(50,226,183,.09);
 color:var(--main-muted);
 font-size:11px;
}
.category-tree button:hover,
.category-tree button.active{
 transform:translateX(2px);
 border-color:rgba(214,168,79,.36);
 background:linear-gradient(135deg,rgba(214,168,79,.18),rgba(50,226,183,.08));
 color:#fff;
}
.tree-root{
 background:linear-gradient(135deg,var(--main-gold),var(--main-gold-2))!important;
 color:#141009!important;
 border:0!important;
}
.tree-root em{background:rgba(0,0,0,.12)!important;color:#141009!important}
.tree-meta{
 display:grid;
 grid-template-columns:1fr 1fr;
 gap:6px;
 margin:8px 0 8px;
}
.tree-meta span{
 color:var(--main-muted);
 background:rgba(0,0,0,.16);
 border:1px solid rgba(50,226,183,.10);
 border-radius:12px;
 padding:8px 9px;
 font-size:11px;
 font-weight:850;
 text-align:center;
}
.tree-children{padding:7px 0 7px 12px;border-left:1px solid rgba(50,226,183,.12);margin-left:9px}
.tree-leaves{padding:7px 0 7px 12px;border-left:1px dashed rgba(214,168,79,.22);margin-left:9px;max-height:360px;overflow:auto}
.tree-sub{font-size:13px;background:rgba(50,226,183,.045)!important}
.tree-leaf{font-size:12px;color:var(--main-muted)!important;background:rgba(0,0,0,.12)!important}
.tree-leaf.active{color:#fff!important;background:linear-gradient(135deg,rgba(214,168,79,.18),rgba(50,226,183,.08))!important}
.product-path-mini{font-size:11.5px;align-items:flex-start}
.product-path-mini span:first-child{max-width:62%;line-height:1.25}
.product-card.is-ended::before{
 content:"ZAKOŃCZONA";
 position:absolute;
 top:10px;
 right:10px;
 z-index:2;
 padding:7px 9px;
 border-radius:999px;
 color:#1b1203;
 background:linear-gradient(135deg,var(--main-gold),var(--main-gold-2));
 font-size:10px;
 font-weight:950;
 letter-spacing:.08em;
 box-shadow:0 10px 22px rgba(0,0,0,.28);
}
.modal-breadcrumb{margin:0 0 12px;font-size:12px}
@media(max-width:980px){
 .catalog-layout{grid-template-columns:1fr}
 .catalog-tree-panel{position:relative;top:auto;max-height:none}
 .catalog-results-panel{padding:14px}
}
@media(max-width:720px){
 .product-catalog-page .header-v2-inner{gap:12px}
 .catalog-layout{gap:14px}
 .tree-meta{grid-template-columns:1fr}
}


/* UX HOTFIX 21.05 — katalog ofert widoczny i mniej upierdliwe drzewko */
.product-catalog-page .hero{
 padding:clamp(20px,3vw,34px)!important;
 margin-bottom:18px!important;
}
.product-catalog-page .hero h1{font-size:clamp(34px,4.8vw,62px)!important}
.product-catalog-page .hero p{max-width:1040px!important}
.catalog-layout{
 grid-template-columns:280px minmax(0,1fr)!important;
 gap:16px!important;
 margin-top:16px!important;
}
.catalog-tree-panel{
 top:10px!important;
 max-height:calc(100vh - 20px)!important;
 padding:12px!important;
}
.catalog-results-panel{padding:14px!important}
.tree-title{
 padding:2px 3px 10px!important;
 margin-bottom:9px!important;
}
.tree-title span{font-size:16px!important}
.tree-title small{font-size:11px!important}
.category-tree{gap:8px!important}
.tree-hint{
 margin:6px 0 8px;
 padding:9px 10px;
 border:1px solid rgba(214,168,79,.18);
 border-radius:13px;
 background:rgba(214,168,79,.07);
 color:#f3ddb0;
 font-size:11.5px;
 line-height:1.35;
 font-weight:760;
}
.tree-section-label{
 margin:7px 2px 3px;
 color:#f6e1a6;
 font-size:11px;
 font-weight:950;
 letter-spacing:.10em;
 text-transform:uppercase;
}
.tree-section-label--sub{color:var(--main-teal)}
.tree-main-list,.tree-sub-list{display:grid;gap:6px}
.tree-sub-list{
 margin-top:3px;
 padding:7px 0 0 10px;
 border-left:1px dashed rgba(50,226,183,.20);
}
.category-tree button{
 min-height:36px!important;
 padding:8px 9px!important;
 border-radius:12px!important;
 font-size:12.5px!important;
}
.category-tree button em{
 padding:3px 6px!important;
 min-width:24px!important;
 font-size:10px!important;
}
.tree-meta{margin:6px 0!important;gap:5px!important}
.tree-meta span{padding:6px 7px!important;font-size:10.5px!important}
.tree-sub{font-size:12px!important}
.product-grid{
 grid-template-columns:repeat(auto-fill,minmax(218px,1fr))!important;
 gap:13px!important;
}
.group-title{margin:18px 0 11px!important}
.product-card{min-height:430px!important;border-radius:18px!important}
.product-body{padding:12px!important;gap:7px!important}
.product-img{aspect-ratio:1.08/1!important}
.catalog-breadcrumb{margin-top:12px!important}
@media(max-width:980px){
 .catalog-layout{grid-template-columns:1fr!important}
 .catalog-tree-panel{position:relative!important;max-height:none!important}
 .tree-main-list{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}
 .tree-sub-list{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}
}
@media(max-width:720px){
 .toolbar{grid-template-columns:1fr!important}
 .product-grid{grid-template-columns:repeat(auto-fill,minmax(155px,1fr))!important}
 .product-card{min-height:390px!important}
}


/* PRINT HOTFIX 21.05 — katalog A4 3×4 */
.catalog-print-toolbar{
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:12px;
 margin:0 0 16px;
 padding:12px 14px;
 border:1px solid rgba(214,168,79,.24);
 border-radius:18px;
 background:linear-gradient(135deg,rgba(214,168,79,.13),rgba(50,226,183,.07));
}
.catalog-print-toolbar strong{display:block;color:#fff;font-size:16px;letter-spacing:-.02em}
.catalog-print-toolbar span{display:block;color:var(--main-muted);font-size:12px;margin-top:3px;font-weight:800}
.catalog-print-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.catalog-print-actions button{
 border:1px solid rgba(50,226,183,.22);
 background:#0b342c;
 color:#e9fff7;
 border-radius:999px;
 padding:10px 13px;
 font-weight:950;
 cursor:pointer;
}
.catalog-print-actions button#printCatalogBtn{
 background:linear-gradient(135deg,var(--main-gold),var(--main-gold-2));
 color:#171006;
 border:0;
}
.print-only{display:none!important}
@media print{
 @page{size:A4 portrait;margin:8mm}
 html,body{background:#fff!important;color:#111!important;width:auto!important;min-height:auto!important;overflow:visible!important}
 body.product-catalog-page{display:block!important;background:#fff!important}
 .header-v2,.premium-footer,.hero,.toolbar,.catalog-tree-panel,.cta-band,.modal,.screen-only,.catalog-breadcrumb,.empty-state,.top-bar,.main-nav,.site-header,.ai-helper-widget{display:none!important}
 main,.product-catalog-page main{max-width:none!important;width:100%!important;margin:0!important;padding:0!important;background:#fff!important;color:#111!important}
 .catalog-layout{display:block!important;margin:0!important;padding:0!important;background:#fff!important}
 .catalog-results-panel{display:block!important;border:0!important;box-shadow:none!important;background:#fff!important;padding:0!important;margin:0!important;color:#111!important}
 #groupedProducts,.print-catalog-section{display:block!important;margin:0!important;padding:0!important;background:#fff!important;color:#111!important}
 .print-only{display:block!important}
 .print-catalog-title{margin:0 0 4mm!important;padding:0 0 2mm!important;border-bottom:.25mm solid #bbb!important;color:#111!important;font-size:10pt!important;line-height:1.25!important}
 .print-catalog-title strong{display:block!important;font-size:12pt!important;color:#111!important}
 .print-catalog-title span{display:block!important;color:#333!important;font-size:8pt!important}
 .product-grid,.print-product-grid{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:4mm!important;align-items:stretch!important}
 .product-card{position:relative!important;display:flex!important;flex-direction:column!important;height:62mm!important;min-height:0!important;page-break-inside:avoid!important;break-inside:avoid!important;overflow:hidden!important;background:#fff!important;color:#111!important;border:.25mm solid #c9c9c9!important;border-radius:2mm!important;box-shadow:none!important;transform:none!important}
 .product-card:nth-child(12n){break-after:page!important;page-break-after:always!important}
 .product-card:hover{transform:none!important;box-shadow:none!important}
 .product-media-link{display:block!important;color:#111!important;text-decoration:none!important}
 .product-img{display:block!important;width:100%!important;height:34mm!important;aspect-ratio:auto!important;object-fit:contain!important;background:#fff!important;border-bottom:.25mm solid #ddd!important;margin:0!important;border-radius:0!important}
 .product-body{display:flex!important;flex-direction:column!important;gap:1mm!important;flex:1!important;padding:2mm!important;background:#fff!important;color:#111!important}
 .brand-pill,.product-short,.actions,.product-path-mini{display:none!important}
 .product-title{display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;margin:0!important;font-size:8pt!important;line-height:1.15!important;color:#111!important;font-weight:800!important}
 .product-title a,.product-title-link,a{color:#111!important;text-decoration:none!important}
 .meta{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:2mm!important;margin-top:auto!important;color:#333!important;font-size:7pt!important;line-height:1.1!important}
 .price{font-size:10pt!important;color:#111!important;font-weight:900!important}
 .badge{font-size:6.5pt!important;padding:1mm 1.5mm!important;border-radius:999px!important;background:#eee!important;color:#111!important;border:.2mm solid #aaa!important;font-weight:800!important}
 .product-card.is-ended::before{content:"ARCHIWALNA"!important;position:absolute!important;top:1.5mm!important;right:1.5mm!important;z-index:3!important;padding:.8mm 1.4mm!important;border-radius:999px!important;background:#eee!important;color:#111!important;border:.2mm solid #aaa!important;font-size:5.8pt!important;letter-spacing:.04em!important;box-shadow:none!important}
}


/* PRINT IMAGE HARD FIX STAGE7H — wymusza zdjęcia w Chrome print preview */
.product-img{background:#fff;}
@media print{
 *{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;}
 img,.product-img{visibility:visible!important;opacity:1!important;filter:none!important;mix-blend-mode:normal!important;}
 .product-media-link{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:34mm!important;background:#fff!important;overflow:hidden!important;border-bottom:.25mm solid #ddd!important;}
 .product-img{display:block!important;width:100%!important;height:34mm!important;max-height:34mm!important;object-fit:contain!important;background:#fff!important;margin:0!important;border:0!important;border-radius:0!important;}
 .product-card{background:#fff!important;background-image:none!important;}
}


/* STAGE7J — spis treści, grupy kategorii, deduplikacja i toppery liczbowe */
.catalog-group{margin:0 0 22px;padding:0;border-top:1px solid rgba(214,168,79,.18)}
.catalog-group-head{display:flex;align-items:end;justify-content:space-between;gap:14px;margin:18px 0 12px;padding:14px 16px;border:1px solid rgba(214,168,79,.22);border-radius:18px;background:rgba(214,168,79,.07)}
.catalog-group-head h2{margin:0;color:#fff;font-size:24px;letter-spacing:-.03em}.catalog-group-head p{margin:4px 0 0;color:var(--main-muted);font-size:13px;line-height:1.45}.catalog-group-head span{color:#171006;background:linear-gradient(135deg,var(--main-gold),var(--main-gold-2));border-radius:999px;padding:8px 12px;font-weight:950;white-space:nowrap}.catalog-toc-page{break-after:page;page-break-after:always}.catalog-toc-page h2{color:#111;margin:0 0 5mm;font-size:22pt}.catalog-toc-grid{display:grid;grid-template-columns:1fr 1fr;gap:2.5mm 8mm}.catalog-toc-row{display:grid;grid-template-columns:1fr auto;gap:5mm;border-bottom:.25mm dashed #c7c7c7;padding:2.2mm 0;align-items:end;color:#111}.catalog-toc-row strong{font-size:10pt;color:#111}.catalog-toc-row em{display:block;font-style:normal;color:#555;font-size:7.4pt;margin-top:.8mm}.catalog-toc-row span{font-weight:900;color:#143b36;font-size:9pt;white-space:nowrap}
@media print{
 .catalog-print-toolbar{display:none!important}
 .catalog-group{break-before:page;page-break-before:always;margin:0!important;padding:0!important;border:0!important;background:#fff!important;color:#111!important}
 .catalog-toc-page + .catalog-group{break-before:page;page-break-before:always}
 .catalog-group-head{display:flex!important;margin:0 0 4mm!important;padding:0 0 2mm!important;border:0!important;border-bottom:.35mm solid #bbb!important;border-radius:0!important;background:#fff!important;color:#111!important;box-shadow:none!important}
 .catalog-group-head h2{color:#111!important;font-size:16pt!important;margin:0!important}.catalog-group-head p{color:#333!important;font-size:8pt!important;margin:1mm 0 0!important}.catalog-group-head span{background:#eee!important;color:#111!important;border:.2mm solid #aaa!important;font-size:8pt!important;padding:1mm 2mm!important}
 .catalog-group.numbers .print-product-grid{grid-template-columns:repeat(5,1fr)!important;gap:3mm!important}
 .catalog-group.numbers .product-card{height:43mm!important;border-radius:2mm!important}
 .catalog-group.numbers .product-media-link{height:25mm!important}
 .catalog-group.numbers .product-img{height:25mm!important;max-height:25mm!important}
 .catalog-group.numbers .product-body{padding:1.2mm!important;gap:.5mm!important}
 .catalog-group.numbers .product-title{font-size:7.2pt!important;-webkit-line-clamp:1!important;text-align:center!important}
 .catalog-group.numbers .meta{justify-content:center!important;margin-top:.5mm!important}.catalog-group.numbers .badge{display:none!important}.catalog-group.numbers .price{font-size:9pt!important}
}
