/* Joy UI adapted to native WooCommerce markup; loaded after lid-shop styles. */
.lid-joy{--max:1280px;--joy-header-height:120px;--joy-adminbar:0px;background:#fff}
/* Zalogowany administrator: pasek WordPressa (fixed) nie może zasłaniać lepkiego nagłówka. Poniżej 601 px pasek przewija się razem ze stroną. */
body.admin-bar.lid-joy{--joy-adminbar:32px}
@media (max-width:782px){body.admin-bar.lid-joy{--joy-adminbar:46px}}
@media (max-width:600px){body.admin-bar.lid-joy{--joy-adminbar:0px}}
.lid-joy h1,.lid-joy h2,.lid-joy h3{font-weight:600}
.lid-joy .wrap{padding-inline:24px}
.lid-joy .section{padding-block:56px}
.lid-joy .btn,.lid-joy .woocommerce .button,.lid-joy .single_add_to_cart_button{font-family:var(--font-head);font-weight:600;letter-spacing:.025em}
.lid-joy .btn{border-width:1px}
.lid-joy .btn.primary{color:var(--ink)}
.lid-joy .joy-topbar{font-size:13px;padding:9px 16px}
.lid-joy .joy-topbar a{margin-left:10px;text-underline-offset:3px}
.lid-joy .joy-header{position:sticky;top:var(--joy-adminbar);border-bottom:1px solid var(--line)}
.lid-joy .joy-header .hrow{height:76px;gap:16px;justify-content:space-between}
.lid-joy .joy-header .logo{margin:0;flex:none}
.lid-joy .joy-header .logo img{height:50px;width:auto;max-width:180px;object-fit:contain}
.lid-joy .joy-header .hsearch{display:block;width:min(480px,45vw);margin-inline:auto;position:relative;top:auto;padding:0;border:0}
.lid-joy .joy-header .hsearch input{height:44px;background:#fff;border-width:1px}
.lid-joy .joy-header-actions{display:flex;gap:8px;flex:none}
.lid-joy .joy-header #btn-menu,.lid-joy .joy-header #btn-search{display:none}
.lid-joy .joy-navigation{border-top:1px solid var(--line)}
.lid-joy .joy-navigation .nav-d{display:block;margin:0 auto}
.lid-joy .nav-d ul{display:flex;flex-wrap:wrap;gap:2px 12px;list-style:none;margin:0;padding:0}
.lid-joy .nav-d a{padding:0 6px;min-height:44px;font-size:14px;font-weight:700;line-height:1.3}
.lid-joy .hero{background:#fff}
.lid-joy .hero .wrap{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:64px;align-items:center;padding-block:48px}
.lid-joy .hero.hero--solo .wrap{grid-template-columns:minmax(0,1fr)}
.lid-joy .hero .eyebrow{font-size:12px;letter-spacing:.14em;margin-bottom:20px}
.lid-joy .hero h1{font-size:clamp(34px,4.5vw,56px);line-height:1.1;max-width:19ch;text-transform:uppercase}
.lid-joy .hero p.lead{font-size:18px;line-height:1.65;max-width:47ch;margin-top:24px;color:var(--muted)}
.lid-joy .hero .ctas{margin-top:28px}
.lid-joy .hero-img{width:100%;max-width:540px;justify-self:end}
.lid-joy .hero-img .ph{aspect-ratio:1/1;max-height:none;border:1px solid var(--line);background:var(--bg-2)}
.lid-joy .hero-img .ph img{object-fit:contain;object-position:center}
.lid-joy .hero-img.has-video{width:min(100%,293px);justify-self:center} /* = 9/16 z maks. wysokości 520 px, żeby przycisk filmu leżał na filmie */
.lid-joy .hero-img.has-video .ph{aspect-ratio:9/16;max-height:520px}
.lid-joy .hero-img video{object-fit:contain;object-position:center;background:var(--navy)}
.lid-joy .hero-cap{display:flex;justify-content:space-between;gap:16px;font-size:14px;padding:12px 0;line-height:1.4}
.lid-joy .hero-cap b{font-weight:700;max-width:70%}
.lid-joy .hero-cap .price{font-size:18px}
.lid-joy .hero-vctl{top:10px;right:10px;width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:50%;background:rgba(18,18,18,.78);color:transparent;font-size:0;line-height:0;display:block;overflow:hidden}
.lid-joy .hero-vctl::before{content:"";position:absolute;left:50%;top:50%;width:14px;height:16px;transform:translate(-50%,-50%);background:linear-gradient(90deg,#fff 0 36%,transparent 36% 64%,#fff 64%)}
.lid-joy .hero-vctl[aria-pressed=true]::before{width:0;height:0;background:none;border-style:solid;border-width:9px 0 9px 14px;border-color:transparent transparent transparent #fff;transform:translate(-38%,-50%)}
.lid-joy .hero-vctl:hover{background:rgba(18,18,18,.9)}
.lid-joy .hero-vctl:focus:not(:focus-visible){outline:0}
.lid-joy .hero-vctl:focus-visible{outline:2px solid #fff;outline-offset:-5px}
.lid-joy .strip{background:var(--navy);border:0;color:#fff}
.lid-joy .strip .wrap{gap:28px;padding-block:28px}
.lid-joy .strip .strip-i{flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:14px 8px;color:#fff;font-family:var(--font-head);font-size:18px;line-height:1.4;font-weight:500}
.lid-joy .strip-i .ic{width:28px;height:28px;color:var(--green)}
.lid-joy .strip a:hover{text-decoration:underline;text-underline-offset:4px}
.lid-joy .cats h2{margin-bottom:24px}
.lid-joy .cats-head p{color:var(--muted);margin-bottom:24px}
.lid-joy .cat-tiles,.lid-joy .cat-tiles[data-n]{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;max-width:880px}
.lid-joy .cat-tiles a{display:block;border:0;border-radius:0;padding:0;background:transparent}
.lid-joy .cat-tiles .ph{width:100%;height:auto;aspect-ratio:1/1;border:1px solid var(--line);border-radius:var(--r);overflow:hidden}
.lid-joy .cat-tiles .ph img{width:100%;height:100%;object-fit:cover;background:var(--bg-2);transition:transform .2s}
.lid-joy .cat-tiles a:hover .ph img{transform:scale(1.025)}
.lid-joy .cat-tiles .ct{padding-top:10px}
.lid-joy .cat-tiles .ct b{font-size:16px;line-height:1.25}
.lid-joy .sec-head{margin-bottom:28px}
.lid-joy .sec-head h2{font-size:30px;text-transform:uppercase}
.lid-joy .link-more{font-size:14px}
.lid-joy ul.products{gap:28px 20px}
.lid-joy li.card{border:1px solid var(--line);border-radius:var(--r);overflow:hidden;background:#fff}
.lid-joy li.card .card-img{border:0;border-bottom:1px solid var(--line);border-radius:0;background:var(--bg-2)}
.lid-joy li.card .card-body{padding:16px 16px 0;gap:8px}
.lid-joy .card-title{font-weight:500;font-size:18px;line-height:1.3}
.lid-joy li.card .card-foot{padding:14px 16px 16px}
.lid-joy li.card .price{font-size:25px;color:var(--ink)}
.lid-joy li.card .card-foot .btn{min-height:44px}
.lid-joy .card .flag{background:var(--navy);color:#fff}
.lid-joy .card .flag--sale{background:var(--green);color:var(--ink)}
.lid-joy .gifts{background:var(--bg-2)}
.lid-joy .gifts .wrap{display:block}
.lid-joy .gift-ctl{margin-bottom:24px}
.lid-joy .gift-ctl h2{margin-bottom:16px}
.lid-joy .gift-foot{margin-top:12px}
.lid-joy .gifts .mini-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;justify-content:stretch}
.lid-joy .gifts .mini .card-body{padding-bottom:16px}
.lid-joy .glow-wrap{gap:32px}
.lid-joy .about-wrap{gap:48px}
.lid-joy .about-img .ph{aspect-ratio:3/2;border-radius:var(--r)}
.lid-joy .about-img img{object-fit:cover}
.lid-joy .about-txt .lead{font-size:18px;line-height:1.7;color:var(--muted);margin:20px 0 24px}
.lid-joy .shop-wrap{padding-top:24px}
.lid-joy .crumbs{margin-bottom:24px;font-size:13px}
.lid-joy .page-head{padding:0 0 24px}
.lid-joy .page-head h1{font-size:clamp(28px,3vw,38px);text-transform:uppercase;margin-bottom:12px}
.lid-joy .page-head .term-description{max-width:720px;font-size:16px;line-height:1.65}
.lid-joy .joy-category-chips{margin:0 0 24px}
.lid-joy .chip{border-width:1px}
.lid-joy .lay{grid-template-columns:220px minmax(0,1fr);gap:32px}
.lid-joy .fpanel{top:calc(var(--joy-header-height) + var(--joy-adminbar) + 20px)}
.lid-joy .cmp{border:1px solid var(--line);border-radius:var(--r);background:var(--bg-2)}
.lid-joy .cmp>summary{padding:12px 16px;min-height:48px;font-size:15px}
.lid-joy .cmp .bars{padding:16px}
.lid-joy .cmp .meta{padding:0 16px 16px}
.lid-joy .cmp .bar-row{grid-template-columns:minmax(110px,180px) minmax(0,1fr) 68px}
.lid-joy .cmp .lab{font-size:13px}
.lid-joy.single-product div.product{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:28px 48px}
.lid-joy .woocommerce-product-gallery{position:relative;top:auto}
.lid-joy .summary.entry-summary{gap:16px}
.lid-joy .summary .product_title{font-size:clamp(26px,2.5vw,36px);line-height:1.2;text-transform:uppercase}
.lid-joy .summary .eyebrow{font-size:12px}
.lid-joy .summary .woocommerce-product-details__short-description{font-size:15px;color:var(--muted);line-height:1.6}
.lid-joy .summary .woocommerce-product-details__short-description p+p{margin-top:8px}
.lid-joy .summary p.price{font-size:36px}
.lid-joy .summary .fact{border-radius:var(--r);padding:6px 10px;font-size:13px}
.lid-joy .lid-swatches--photo,.lid-joy .lid-swatches--photo[data-many]{display:flex;flex-wrap:wrap;gap:8px}
.lid-joy .lid-swatches--photo .vopt,.lid-joy .lid-swatches--photo[data-many] .vopt{flex-direction:column;flex:0 0 96px;width:96px;min-height:44px;align-items:stretch;padding:6px;gap:6px}
.lid-joy .lid-swatches--photo .vopt .ph,.lid-joy .lid-swatches--photo[data-many] .vopt .ph{width:80px;height:80px;aspect-ratio:1/1;flex:none}
.lid-joy .vopt .nm,.lid-joy .lid-swatches[data-many] .vopt .nm{font-size:12px;line-height:1.3;overflow-wrap:anywhere}
.lid-joy .vopt .tick{width:18px;height:18px}
.lid-joy .vopt .tick svg{width:18px;height:18px}
.lid-joy .single_add_to_cart_button{min-height:52px}
.lid-joy .assure{border:0;border-top:1px solid var(--line);border-radius:0}
.lid-joy .assure>div{padding:12px 0;border:0}
.lid-joy .assure b{font-size:14px}
.lid-joy .assure span{font-size:13px}
.lid-joy .joy-product-nav{grid-column:1/-1;display:flex;gap:24px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding:12px 0}
.lid-joy .joy-product-nav a{font-weight:700;color:var(--ink);text-decoration:none;min-height:44px;display:flex;align-items:center}
.lid-joy .joy-product-nav a:hover{color:var(--green-dk);text-decoration:underline}
.lid-joy .sect-pdp{padding:16px 0 28px;border-top:0;grid-column:1/-1}
.lid-joy .sect-pdp h2{font-size:26px;text-transform:uppercase}
.lid-joy .sect-pdp.prose,.lid-joy .sect-pdp>p{max-width:740px}
.lid-joy .sect-pdp h2[id]{scroll-margin-top:calc(var(--joy-header-height) + var(--joy-adminbar) + 24px)}
.lid-joy .woocommerce-product-attributes{max-width:740px}
.lid-joy .woocommerce-product-attributes th,.lid-joy .woocommerce-product-attributes td{padding:12px 16px}
.lid-joy .woocommerce-product-attributes tr:nth-child(odd){background:var(--bg-2)}
.lid-joy #reviews,.lid-joy #review_form{max-width:740px}
.lid-joy #review_form_wrapper{padding:24px;border:1px solid var(--line);border-radius:var(--r);background:var(--bg-2)}
.lid-joy #review_form textarea{min-height:120px;max-height:400px;resize:vertical}
.lid-joy .joy-page-hero{padding:48px 0;background:var(--bg-2);border-bottom:1px solid var(--line)}
.lid-joy .joy-page-hero .eyebrow{margin-bottom:16px}
.lid-joy .joy-page-hero h1{font-size:clamp(30px,4vw,48px);max-width:26ch;text-transform:uppercase;line-height:1.15}
.lid-joy .joy-page-layout{display:grid;grid-template-columns:minmax(0,740px) minmax(220px,1fr);gap:64px;padding-block:48px 64px;align-items:start}
.lid-joy .joy-page-copy,.lid-joy .joy-single-copy{min-width:0}
.lid-joy .joy-single-copy{max-width:800px;padding-block:48px 64px}
.lid-joy .joy-page-copy .prose{max-width:740px}
.lid-joy .joy-editorial-image{margin:0 0 32px}
.lid-joy .joy-editorial-image img{width:100%;height:auto;border-radius:var(--r)}
.lid-joy .joy-info-nav{background:var(--bg-2);border:1px solid var(--line);border-radius:var(--r);padding:24px}
.lid-joy .joy-info-nav h2{font-size:20px;margin-bottom:16px}
.lid-joy .joy-info-nav ul{list-style:none;padding:0;margin:0 0 24px}
.lid-joy .joy-info-nav li+li{border-top:1px solid var(--line)}
.lid-joy .joy-info-nav li a{display:flex;align-items:center;min-height:48px;color:var(--ink);text-decoration:none;font-size:15px}
.lid-joy .joy-info-nav a[aria-current=page]{font-weight:700;color:var(--green-dk)}
.lid-joy .joy-table-scroll{overflow:auto;max-width:100%;margin:24px 0;border:1px solid var(--line);border-radius:var(--r)}
.lid-joy .joy-table-scroll table{margin:0;width:100%;min-width:420px}
.lid-joy .joy-table-scroll th,.lid-joy .joy-table-scroll td{padding:12px;border:1px solid var(--line)}
.lid-joy .joy-table-scroll th{background:var(--bg-2)}
.lid-joy .joy-journal{padding-block:48px 64px}
.lid-joy .joy-post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.lid-joy .joy-post-card{min-width:0;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;background:#fff}
.lid-joy .joy-post-image{display:block;aspect-ratio:3/2;background:var(--bg-2)}
.lid-joy .joy-post-image img{width:100%;height:100%;object-fit:cover}
.lid-joy .joy-post-body{padding:24px}
.lid-joy .joy-post-body time{font-size:13px;color:var(--muted)}
.lid-joy .joy-post-body h2{font-size:23px;margin:12px 0}
.lid-joy .joy-post-body h2 a{color:var(--ink);text-decoration:none}
.lid-joy .joy-post-body p{font-size:15px;color:var(--muted);margin-bottom:16px;line-height:1.65}
.lid-joy footer.site{background:var(--navy)}
.lid-joy .joy-footer-grid{grid-template-columns:1.3fr repeat(4,minmax(0,1fr));padding-block:48px;gap:24px}
.lid-joy .joy-footer-brand .logo{display:inline-flex;min-height:44px;margin:0 0 16px}
.lid-joy .joy-footer-brand .logo img{height:auto;max-width:150px}
.lid-joy .joy-footer-brand p{font-size:14px;color:#d1d3de;line-height:1.65;max-width:30ch}
.lid-joy .joy-footer-grid>.nl{grid-column:1/-1;border-bottom:1px solid #40405c;padding-bottom:24px;margin-bottom:8px;max-width:none}
.lid-joy .joy-footer-grid>.nl form{max-width:600px}
.lid-joy footer.site a{color:#e4e5eb}
.lid-joy footer.site a:hover{color:#fff}
.lid-joy footer.site details.fgroup summary{color:#fff;font-size:16px}
.lid-joy footer.site details.fgroup li{font-size:14px;overflow-wrap:anywhere}
.lid-joy .content--woo{padding-block:32px 56px}
.lid-joy .content--woo .entry-content{max-width:none}
.lid-joy .co-head .hrow{height:76px}
.lid-joy .co-head .logo img{height:48px}
@media(min-width:960px){.lid-joy .hero .wrap{min-height:520px}}
@media(max-width:1100px){
  .lid-joy .joy-footer-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .lid-joy .joy-footer-brand{grid-column:1/-1}
  .lid-joy .joy-page-layout{gap:32px}
}
@media(max-width:959px){
  .lid-joy .wrap{padding-inline:20px}
  .lid-joy .hero .wrap{gap:32px;padding-block:36px}
  .lid-joy .hero h1{font-size:38px}
  .lid-joy .hero p.lead{font-size:16px}
  .lid-joy .lay{display:block}
  .lid-joy .fpanel.open{top:0}
  .lid-joy.single-product div.product{grid-template-columns:minmax(0,1fr);gap:24px}
  .lid-joy .cat-tiles,.lid-joy .cat-tiles[data-n]{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;max-width:none}
  .lid-joy .joy-page-layout{grid-template-columns:minmax(0,1fr)}
  .lid-joy .joy-info-nav{max-width:740px}
}
@media(max-width:759px){
  .lid-joy{--joy-header-height:64px}
  .lid-joy .wrap{padding-inline:16px}
  .lid-joy .section{padding-block:36px}
  .lid-joy .joy-topbar{font-size:12px;padding-block:7px}
  .lid-joy .joy-topbar a{display:inline-block}
  .lid-joy .joy-header .hrow{height:64px;gap:4px}
  .lid-joy .joy-header .logo img{height:38px;max-width:125px}
  .lid-joy .joy-header .logo{margin-right:auto}
  .lid-joy .joy-header #btn-menu,.lid-joy .joy-header #btn-search{display:inline-grid}
  .lid-joy .joy-header-actions{gap:0}
  .lid-joy .joy-header .hsearch,.lid-joy .joy-navigation{display:none}
  .lid-joy .joy-header.search-open .hsearch{display:block;position:absolute;left:0;right:0;top:100%;width:100%;padding:12px 16px;background:#fff;border-bottom:1px solid var(--line)}
  .lid-joy .hero .wrap{grid-template-columns:minmax(0,1fr);gap:24px;padding-block:32px}
  .lid-joy .hero h1{font-size:clamp(32px,8vw,42px);max-width:20ch}
  .lid-joy .hero p.lead{margin-top:16px;max-width:44ch}
  .lid-joy .hero .ctas{margin-top:20px;gap:8px}
  .lid-joy .hero-img{max-width:540px;justify-self:center}
  .lid-joy .hero-img .ph{aspect-ratio:6/5}
  .lid-joy .hero-img.has-video{width:min(100%,270px)}
  .lid-joy .hero-img.has-video .ph{aspect-ratio:9/16;max-height:480px}
  .lid-joy .strip .wrap{grid-template-columns:minmax(0,1fr);gap:0;padding-block:12px}
  .lid-joy .strip .strip-i{flex-direction:row;justify-content:flex-start;text-align:left;padding:12px 0;font-size:16px}
  .lid-joy .strip-i .ic{width:24px;height:24px;flex:none}
  .lid-joy .cat-tiles,.lid-joy .cat-tiles[data-n]{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px;max-width:none}
  .lid-joy .cat-tiles .ct b{font-size:15px}
  .lid-joy .sec-head h2{font-size:26px}
  .lid-joy ul.products,.lid-joy .gifts .mini-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}
  .lid-joy li.card .card-body{padding:12px 10px 0;gap:6px}
  .lid-joy .card-title{font-size:16px}
  .lid-joy li.card .card-foot{padding:12px 10px}
  .lid-joy li.card .card-foot .btn{font-size:14px;padding-inline:8px}
  .lid-joy li.card .price{font-size:22px}
  .lid-joy .about-wrap{gap:24px}
  .lid-joy .joy-product-nav{gap:16px}
  .lid-joy .cmp .bar-row{grid-template-columns:minmax(0,1fr) 62px}
  .lid-joy .cmp .bar-track{grid-column:1/-1;grid-row:auto}
  .lid-joy .cmp .lab{grid-column:1;grid-row:auto}
  .lid-joy .cmp .val{grid-column:2;grid-row:auto}
  .lid-joy .summary .product_title{font-size:28px}
  .lid-joy .joy-page-hero{padding:32px 0}
  .lid-joy .joy-page-layout,.lid-joy .joy-single-copy{padding-block:32px 48px}
  .lid-joy .joy-post-grid{grid-template-columns:minmax(0,1fr)}
  .lid-joy .joy-footer-grid{grid-template-columns:minmax(0,1fr);gap:0;padding-block:32px}
  .lid-joy .joy-footer-brand{padding-bottom:24px}
  .lid-joy .joy-footer-brand p{max-width:44ch}
  .lid-joy .joy-footer-grid>.nl{padding-top:24px}
}
@media(prefers-reduced-motion:reduce){.lid-joy .cat-tiles a:hover .ph img{transform:none}}

/* ===== Joy 1.1: darmowa dostawa, projektanci, dokumenty ===== */
.lid-joy .joy-free-ship{background:#1363BE;color:#fff;text-align:center}
.lid-joy .joy-free-ship a,.lid-joy .joy-free-ship p{display:flex;flex-wrap:wrap;gap:2px 14px;justify-content:center;align-items:baseline;padding:16px 0;margin:0;color:#fff;text-decoration:none}
.lid-joy .joy-free-ship strong{font-family:var(--font-head);text-transform:uppercase;letter-spacing:.08em;font-size:clamp(15px,2vw,18px);font-weight:600}
.lid-joy .joy-free-ship span{font-size:14px;opacity:.92}
.lid-joy .joy-free-ship a:hover strong,.lid-joy .joy-free-ship a:focus-visible strong{text-decoration:underline;text-underline-offset:4px}
.lid-joy .joy-designers{padding-block:40px 32px;background:#fff;border-bottom:1px solid var(--line);overflow:hidden;min-width:0;max-width:100%}
.lid-joy .joy-designers h2{font-size:clamp(15px,2vw,18px);text-transform:uppercase;letter-spacing:.1em;color:var(--muted);text-align:center;margin-bottom:24px;font-weight:600}
.joy-marquee{width:100%;max-width:100%;overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
.joy-marquee-track{display:flex;width:max-content;margin:0;padding:0;list-style:none;animation:joy-marquee 42s linear infinite}
.joy-marquee:hover .joy-marquee-track,.joy-marquee:focus-within .joy-marquee-track{animation-play-state:paused}
.joy-marquee-track li{flex:none;margin:0 32px;display:flex;align-items:center;height:56px}
.joy-marquee-track a{display:flex;align-items:center;border-radius:6px}
.joy-marquee-track img{height:48px;width:auto;max-width:160px;object-fit:contain;filter:grayscale(1);opacity:.65;transition:filter .2s,opacity .2s}
.joy-marquee-track a:hover img,.joy-marquee-track a:focus-visible img{filter:none;opacity:1}
@keyframes joy-marquee{to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.joy-marquee{-webkit-mask-image:none;mask-image:none}.joy-marquee-track{animation:none;flex-wrap:wrap;width:auto;justify-content:center;row-gap:12px}.joy-marquee-track li[aria-hidden]{display:none}}
@media (max-width:600px){.joy-marquee-track li{margin:0 20px}.joy-marquee-track img{height:40px}}

.lid-joy .joy-toc{background:var(--bg-2);border:1px solid var(--line);border-radius:var(--r);margin:0 0 32px}
.lid-joy .joy-toc summary{cursor:pointer;min-height:52px;display:flex;align-items:center;padding:0 20px;font-family:var(--font-head);font-size:18px;text-transform:uppercase;letter-spacing:.04em;font-weight:500}
.lid-joy .joy-toc ol{list-style:none;margin:0;padding:0 20px 16px;columns:2;column-gap:32px}
.lid-joy .joy-toc li{break-inside:avoid;padding:4px 0;font-size:15px;line-height:1.4}
.lid-joy .joy-toc li.lvl-1{font-weight:700;margin-top:8px}
.lid-joy .joy-toc li.lvl-2{padding-left:14px;font-size:14px}
.lid-joy .joy-toc a{color:var(--ink);text-decoration:none}
.lid-joy .joy-toc a:hover,.lid-joy .joy-toc a:focus-visible{text-decoration:underline;text-underline-offset:3px}
.lid-joy .joy-document{font-size:17px;line-height:1.7;overflow-wrap:anywhere}
.lid-joy .joy-document h2{font-size:clamp(24px,3vw,32px);margin:48px 0 16px;scroll-margin-top:calc(var(--joy-header-height,120px) + var(--joy-adminbar,0px) + 16px)}
.lid-joy .joy-document h3{font-size:20px;margin:32px 0 12px;scroll-margin-top:calc(var(--joy-header-height,120px) + var(--joy-adminbar,0px) + 16px)}
.lid-joy .joy-document h2.joy-doc-title{font-size:clamp(18px,2.2vw,22px);font-weight:400;color:var(--muted);margin:0 0 28px;line-height:1.35}
.lid-joy .joy-document p+p,.lid-joy .joy-document ul{margin-top:12px}
.lid-joy .joy-document ul{padding-left:22px}
.lid-joy .joy-document ol.joy-legal{counter-reset:joysec;list-style:none;padding:0;margin:0 0 24px}
.lid-joy .joy-document ol.joy-legal>li{counter-increment:joysec;margin:0 0 20px;padding:20px 22px;border:1px solid var(--line);border-radius:var(--r);background:#fff;scroll-margin-top:calc(var(--joy-header-height,120px) + var(--joy-adminbar,0px) + 16px)}
.lid-joy .joy-document ol.joy-legal>li>strong:first-child{display:block;font-family:var(--font-head);font-weight:500;font-size:20px;line-height:1.25;text-transform:uppercase;letter-spacing:.03em;margin-bottom:14px;padding-bottom:10px;border-bottom:2px solid var(--green)}
.lid-joy .joy-document ol.joy-legal[type="I"]>li>strong:first-child::before{content:counter(joysec,upper-roman) ". ";color:var(--green-dk)}
.lid-joy .joy-document ol.joy-legal:not([type="I"])>li>strong:first-child::before{content:counter(joysec) ". ";color:var(--green-dk)}
.lid-joy .joy-document ol.joy-legal ol,.lid-joy .joy-document ol.joy-legal ul{padding-left:24px;margin-top:8px}
.lid-joy .joy-document ol.joy-legal li+li{margin-top:8px}
.lid-joy .joy-document hr{border:0;border-top:1px solid var(--line);margin:40px 0}
.lid-joy .joy-document table{width:100%;border-collapse:collapse;font-size:15px}
.lid-joy .joy-document th{background:var(--navy);color:#fff;text-align:left;padding:10px 12px;font-weight:600}
.lid-joy .joy-document td{padding:10px 12px;border-bottom:1px solid var(--line);vertical-align:top}
.lid-joy .joy-document tbody tr:nth-child(even){background:var(--bg-2)}
.lid-joy .joy-document caption{caption-side:top;text-align:left;font-weight:700;padding:0 0 10px}
.lid-joy .joy-tiers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:24px 0}
.lid-joy .joy-tier{border:1px solid var(--line);border-top:4px solid var(--green);border-radius:var(--r);padding:20px;background:#fff}
.lid-joy .joy-tier strong{display:block;font-family:var(--font-head);font-weight:500;font-size:clamp(26px,4vw,36px);line-height:1.1;margin-bottom:6px;text-transform:uppercase}
.lid-joy .joy-tier span{color:var(--muted);font-size:15px;line-height:1.5}
@media (max-width:700px){
  .lid-joy .joy-toc ol{columns:1}
  .lid-joy .joy-document{font-size:16px}
  .lid-joy .joy-document ol.joy-legal>li{padding:16px}
  .lid-joy .joy-tiers{grid-template-columns:minmax(0,1fr)}
}

/* Karta produktu w promocji: plakietka WooCommerce nie może być osobnym elementem siatki (spychała podsumowanie pod galerię) */
.lid-joy.single-product div.product{position:relative}
.lid-joy.single-product div.product>span.onsale{position:absolute;top:12px;left:12px;z-index:6;margin:0;min-height:0;min-width:0;width:auto;height:auto;padding:6px 10px;border-radius:4px;background:var(--green);color:#121212;font:700 12px/1 var(--font-ui);letter-spacing:.08em;text-transform:uppercase}

/* Skala na karcie produktu: nazwa i wartość w jednej linii, pasek pod spodem na całą szerokość; przypis z odstępem */
.lid-joy .pdp-scale{gap:20px;max-width:760px;margin-top:8px}
.lid-joy .pdp-scale .bar-row{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"lab val" "track track";gap:8px 20px;align-items:baseline;min-height:0;padding:0}
.lid-joy .pdp-scale .bar-row .lab{grid-area:lab;display:block}
.lid-joy .pdp-scale .bar-row .lab b{display:block;font-size:16px;line-height:1.35;font-weight:700}
.lid-joy .pdp-scale .bar-row .val{grid-area:val;font-size:20px}
.lid-joy .pdp-scale .bar-row .bar-track{grid-area:track;height:18px}
.lid-joy .sect-pdp .pdp-scale+p{margin-top:20px;max-width:60ch;font-size:14px;line-height:1.5;color:var(--muted)}
