/* LuxRolety Zaslony – isolated styling, friendly to Astra and WooCommerce. */
.luxz-app,.luxz-catalog,.luxz-custom-product{--luxz-forest:#193f35;--luxz-gold:#b39053;--luxz-ink:#26322d;--luxz-surface:#faf9f6;--luxz-border:#e6e5df;font-family:inherit;color:var(--luxz-ink)}
.luxz-app *,.luxz-catalog *{box-sizing:border-box}
.woocommerce div.product .luxz-gallery{width:49%;float:left;margin:0 0 2rem!important}
.woocommerce div.product .summary .luxz-buy{width:100%}
.luxz-custom-product{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;max-width:1220px;margin:0 auto}
.luxz-custom-product .luxz-gallery,.luxz-custom-product .luxz-buy{min-width:0}
.luxz-gallery{max-width:100%;padding:0}
.luxz-image-frame{position:relative;background:#f5f5f3;border:1px solid #eee;min-height:260px;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:9px}
.luxz-main-image{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:contain;max-height:610px;margin:0!important;background:#fafafa;transition:opacity .15s ease}
.luxz-photo-note{position:absolute;bottom:12px;right:14px;font-size:11px;letter-spacing:.02em;color:#68746b;background:#ffffffdc;padding:4px 10px;border-radius:20px;pointer-events:none}
.luxz-thumbs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;margin-top:10px}
.luxz-thumb{display:flex;align-items:center;justify-content:center;aspect-ratio:1;border:1px solid var(--luxz-border);border-radius:5px;background:#fafafa;overflow:hidden;padding:0;cursor:pointer;min-width:0;box-shadow:none!important}
.luxz-thumb img{display:block;width:100%;height:100%;object-fit:cover;margin:0!important}
.luxz-thumb.is-current{outline:2px solid var(--luxz-forest);outline-offset:-2px}
.luxz-thumb:focus-visible,.luxz-swatch:focus-within,.luxz-choice:focus-within{outline:2px solid var(--luxz-gold);outline-offset:2px}
.luxz-buy{padding:2px 0 15px}
.luxz-overline{font-size:10px!important;font-weight:800!important;letter-spacing:.16em!important;color:var(--luxz-gold)!important;margin:0 0 8px!important}
.luxz-price-block{display:flex;gap:12px;flex-wrap:wrap;align-items:baseline;padding:2px 0}
.luxz-price-block strong{font-size:28px;line-height:1.3;letter-spacing:-.02em;font-weight:800;color:var(--luxz-forest)}
.luxz-price-block strong .woocommerce-Price-amount,.luxz-price-block strong .amount{color:var(--luxz-forest)}
.luxz-price-block>span{font-size:13px;color:#768079}
.luxz-hint{font-size:13px;color:#727970;line-height:1.7;margin:5px 0 21px!important}
.luxz-field{margin:18px 0 22px!important}
.luxz-field-title{margin:0 0 11px!important;font-size:14px!important;font-weight:700;color:#263b31}
.luxz-field-title strong{color:var(--luxz-forest)}
.luxz-muted{font-weight:400;color:#7b837c}
.luxz-choices{display:flex;flex-wrap:wrap;gap:8px}
.luxz-choice{position:relative;cursor:pointer;margin:0;min-width:126px;text-align:center}
.luxz-choice input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%;z-index:2;margin:0}
.luxz-choice span{display:block;border:1px solid #d8ddd8;border-radius:6px;background:#fff;padding:11px 14px;color:#2a382f;font-size:13px;line-height:1.3;white-space:nowrap;transition:border-color .14s, background .14s}
.luxz-choice input:checked+span{background:#edf4ef;border:2px solid var(--luxz-forest);padding:10px 13px;font-weight:750}
.luxz-choice.is-disabled{opacity:.38;cursor:not-allowed}
.luxz-choice.is-disabled input{cursor:not-allowed}
.luxz-finish-note{margin:7px 0 0!important;color:#878c87;font-size:11px}
.luxz-colors{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}
.luxz-swatch{position:relative;cursor:pointer;min-width:0;margin:0;text-align:center}
.luxz-swatch input{position:absolute;opacity:0;width:1px;height:1px}
.luxz-swatch img{width:100%;height:auto;aspect-ratio:1;object-fit:cover;border:2px solid transparent;border-radius:7px;background:#eeefed;display:block;margin:0!important;padding:2px;transition:border-color .15s}
.luxz-swatch input:checked+img{border:2px solid var(--luxz-forest);box-shadow:inset 0 0 0 1px white}
.luxz-swatch span{display:block;padding:5px 0 0;font-size:10px!important;line-height:1.25;color:#606a62;overflow-wrap:anywhere}
.luxz-swatch input:checked~span{color:var(--luxz-forest);font-weight:700}
.luxz-purchase-bottom{display:flex;align-items:end;gap:12px;border-top:1px solid var(--luxz-border);padding-top:19px;margin-top:23px}
.luxz-qty{flex:0 0 100px}
.luxz-qty label{font-size:12px;font-weight:700;display:block;margin-bottom:8px}
.luxz-qty input[type=number]{width:100%!important;height:47px!important;text-align:center;border-radius:5px!important;background:#fff!important;border:1px solid var(--luxz-border)!important;margin:0!important;color:#25382e!important;min-width:0;padding:6px!important}
.luxz-buy button.luxz-add-button{background:var(--luxz-forest)!important;color:#fff!important;border:none!important;border-radius:6px!important;min-height:47px!important;font-size:14px!important;font-weight:700!important;flex:1;padding:12px 18px!important;margin:0!important;letter-spacing:0;white-space:normal;line-height:1.2}
.luxz-buy button.luxz-add-button:hover{background:#245948!important}
.luxz-buy button.luxz-add-button:disabled{background:#a5aca6!important;cursor:not-allowed}
.luxz-total-note{margin-top:10px;text-align:right;color:#6d776f;font-size:13px}
.luxz-total-note strong{color:var(--luxz-forest);font-size:17px}
.luxz-unavailable{padding:14px 16px;background:#f7f4ed;color:#6e5a42;border-radius:6px;border:1px solid #e9ddc9;font-size:13px}
.luxz-catalog{max-width:1270px;margin:0 auto;padding:22px 0 42px}
.luxz-catalog-intro{text-align:center;margin:15px auto 37px;max-width:690px}
.luxz-catalog-intro span{color:var(--luxz-gold);font-size:12px;letter-spacing:.15em;font-weight:800}
.luxz-catalog-intro h2{font-size:clamp(28px,3vw,38px);font-weight:750;line-height:1.25;color:var(--luxz-forest);margin:9px 0 12px}
.luxz-catalog-intro p{font-size:15px;color:#6d7771;margin:0}
.luxz-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:21px}
.luxz-product-tile{border-radius:10px;overflow:hidden;border:1px solid var(--luxz-border);background:#fff;min-width:0;box-shadow:0 3px 22px #2f4c3510}
.luxz-tile-image{aspect-ratio:5/5.2;background:#f7f7f5;overflow:hidden}
.luxz-tile-image img{display:block;width:100%;height:100%;object-fit:contain;transition:transform .2s}
.luxz-product-tile:hover .luxz-tile-image img{transform:scale(1.025)}
.luxz-tile-info{padding:19px}
.luxz-tile-info>p{font-size:11px;color:#869087;margin:0 0 5px}
.luxz-tile-info h3{font-size:22px;color:var(--luxz-forest);line-height:1.1;margin:0 0 8px}
.luxz-tile-sub{color:#818782;font-size:12px}
.luxz-tile-footer{display:flex;flex-direction:column;align-items:start;gap:14px;padding-top:17px}
.luxz-tile-footer strong{font-size:14px;color:#213d31;font-weight:700}
.luxz-tile-link{display:block;background:var(--luxz-forest);border-radius:5px;padding:11px 15px;color:#fff!important;text-decoration:none!important;font-size:13px;font-weight:700;text-align:center;width:100%}
.luxz-tile-link:hover{background:#285849;color:#fff}
.luxz-lightbox{border:none;border-radius:8px;position:fixed;inset:3%;max-width:min(95vw,1300px);max-height:94vh;padding:12px;background:#fff;box-shadow:0 10px 40px #0004}
.luxz-lightbox::backdrop{background:#15241fe0}
.luxz-lightbox img{display:block;max-width:100%;max-height:calc(94vh - 35px);object-fit:contain;margin:auto}
.luxz-lightbox .luxz-close{position:absolute;right:14px;top:14px;width:34px;height:34px;border-radius:50%;font-size:25px;background:#fff;color:#193f35;border:1px solid #d9d9d9;padding:0;line-height:1;cursor:pointer}
@media(max-width:1080px){.luxz-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.luxz-colors{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:767px){.woocommerce div.product .luxz-gallery{float:none;width:100%!important}.luxz-custom-product{display:block}.luxz-custom-product .luxz-buy{margin-top:18px}.luxz-gallery{margin-bottom:20px!important}.luxz-product-grid{gap:12px}.luxz-tile-info{padding:13px}.luxz-tile-info h3{font-size:18px}.luxz-tile-footer strong{font-size:13px}.luxz-tile-link{font-size:12px}.luxz-colors{grid-template-columns:repeat(5,minmax(0,1fr))}.luxz-image-frame{min-height:220px}.luxz-purchase-bottom{align-items:end}}
@media(max-width:430px){.luxz-colors{grid-template-columns:repeat(4,minmax(0,1fr))}.luxz-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.luxz-tile-info{padding:10px}.luxz-tile-info h3{font-size:17px}.luxz-thumbs{grid-template-columns:repeat(5,minmax(0,1fr))}.luxz-qty{flex:0 0 88px}.luxz-catalog-intro h2{font-size:27px}.luxz-choice{min-width:0;flex:1}}


/* V2 – layout LuxRolety karnisze / szyny V5.5 */
body:has(.luxz-gallery) .woocommerce div.product .images.luxz-gallery,
body:has(.luxz-gallery) div.product .images.luxz-gallery {
  box-sizing:border-box!important;float:left!important;width:45%!important;max-width:45%!important;
  position:sticky!important;top:105px!important;clear:none!important;margin:0 0 28px!important;
  display:block!important;height:auto!important;
}
body:has(.luxz-gallery) .woocommerce div.product .summary,
body:has(.luxz-gallery) div.product .summary {
  box-sizing:border-box!important;float:right!important;width:51%!important;max-width:51%!important;
  clear:none!important;display:block!important;margin:0 0 35px!important;
}
body:has(.luxz-gallery) div.product .woocommerce-tabs,
body:has(.luxz-gallery) div.product .related,
body:has(.luxz-gallery) div.product .upsells {clear:both}
body:has(.luxz-gallery) div.product .woocommerce-product-gallery:not(.luxz-gallery),
body:has(.luxz-gallery) div.product .images:not(.luxz-gallery){display:none!important}
.luxz-gallery{overflow:visible!important;}
.luxz-gallery .luxz-image-frame{
  box-sizing:border-box!important;display:flex;justify-content:center;align-items:center;width:100%;
  border:1px solid #e6ebe6!important;border-radius:14px!important;background:#f8f9f7!important;
  min-height:305px!important;max-height:505px!important;aspect-ratio:5/4!important;padding:18px!important;
}
.luxz-gallery .luxz-main-image{
  display:block!important;width:100%!important;max-width:100%!important;
  max-height:440px!important;height:100%!important;aspect-ratio:auto!important;
  object-fit:contain!important;object-position:center!important;background:transparent!important;
}
.luxz-thumbs{margin-top:10px!important}
.luxz-buy{
  box-sizing:border-box!important;max-width:100%!important;overflow:hidden!important;
  border:1px solid #e3ebe5!important;border-radius:13px!important;
  background:#fff!important;box-shadow:none!important;padding:0!important;
  margin:19px 0 8px!important;
}
.luxz-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;
  background:#f9fbf9;border-bottom:1px solid #e7ece7;padding:15px 19px;}
.luxz-heading strong{font-size:15px;color:#224f3d;font-weight:700}
.luxz-heading span{font-size:11px;color:#567464;font-weight:650}
.luxz-fields{padding:0 19px 3px}
.luxz-field{margin:0!important;border-bottom:1px solid #eef1ed;padding:17px 0 18px!important}
.luxz-field:last-child{border-bottom:0}
.luxz-field-title{font-size:14px!important;line-height:1.4!important;font-weight:700!important;color:#254c3b!important}
.luxz-choice span{border-radius:9px!important;border-color:#dde6dc!important;color:#2b4e3c!important}
.luxz-choice input:checked+span{background:#f2f7f3!important;border-color:#206345!important}
.luxz-swatch img{border-radius:8px!important}
.luxz-purchase{margin-top:3px;border-top:1px solid #e1e9e1;background:#f6f8f4;padding:15px 19px 17px}
.luxz-price-block{display:flex!important;flex-direction:column!important;align-items:start!important;gap:2px!important;padding:0!important}
.luxz-price-block>span{font-size:11px!important;color:#677b69!important}
.luxz-price-block strong{font-size:26px!important;color:#154f36!important;white-space:nowrap;font-weight:750;letter-spacing:-.03em}
.luxz-purchase-bottom{display:flex;align-items:end;gap:10px;margin-top:11px!important;border:0!important;padding:0!important}
.luxz-qty{flex:0 0 90px!important}
.luxz-qty label{font-size:11px!important;color:#566d5d}
.luxz-qty input[type=number]{height:46px!important;min-height:46px!important;border-radius:8px!important}
.luxz-buy button.luxz-add-button{min-height:46px!important;margin:0!important;background:#175239!important;border-radius:8px!important;
  float:none!important;font-size:14px!important;font-weight:700!important}
.luxz-total-note{margin-top:11px!important;text-align:left!important;font-size:12px!important}
.luxz-total-note strong{font-size:16px!important}
.luxz-purchase .luxz-hint{margin:8px 0 0!important;font-size:11px!important;color:#718170!important;line-height:1.5!important}
@media(max-width:921px){
  body:has(.luxz-gallery) .woocommerce div.product .images.luxz-gallery,
  body:has(.luxz-gallery) div.product .images.luxz-gallery,
  body:has(.luxz-gallery) .woocommerce div.product .summary,
  body:has(.luxz-gallery) div.product .summary{
    float:none!important;width:100%!important;max-width:100%!important;position:static!important;
    top:auto!important;clear:none!important;margin:0 0 18px!important
  }
  .luxz-gallery .luxz-image-frame{min-height:230px!important;max-height:380px!important;aspect-ratio:5/3!important}
  .luxz-gallery .luxz-main-image{max-height:340px!important}
}
@media(max-width:480px){
  .luxz-gallery .luxz-image-frame{min-height:215px!important;max-height:335px!important;aspect-ratio:4/3!important;padding:10px!important}
  .luxz-gallery .luxz-main-image{max-height:310px!important}
  .luxz-heading{padding:13px!important}.luxz-fields{padding:0 13px 3px!important}
  .luxz-purchase{padding:13px!important}.luxz-colors{grid-template-columns:repeat(4,minmax(0,1fr))}
  .luxz-choice{min-width:0!important;flex:1 1 130px!important}
}

/* V2.1 — spokojna, nowocześniejsza karta w stylistyce dodatków tekstylnych. */
.luxz-app,.luxz-catalog,.luxz-custom-product{--luxz-forest:#34433a;--luxz-gold:#a7835c;--luxz-ink:#2a2b29;--luxz-surface:#fff;--luxz-border:#e7e1d8}
body:has(.luxz-gallery) .luxz-gallery .luxz-image-frame{background:#fff!important;border:0!important;border-radius:16px!important;box-shadow:0 9px 34px rgba(41,39,31,.065)!important;padding:22px!important}
body:has(.luxz-gallery) .luxz-buy{border:0!important;box-shadow:0 9px 33px rgba(41,39,31,.048)!important;border-radius:15px!important;padding:3px 19px 18px!important;background:#fff!important}
body:has(.luxz-gallery) .luxz-heading{background:#fff!important;padding:17px 0!important;border-color:#eee8e1!important}
body:has(.luxz-gallery) .luxz-fields{padding:0!important}
body:has(.luxz-gallery) .luxz-choice span{border-color:#e1dbd3!important;border-radius:8px!important;background:#fbfaf8!important;color:#38332d!important}
body:has(.luxz-gallery) .luxz-choice input:checked+span{border-color:#9a7759!important;background:#f7f1e9!important;color:#6c4a30!important}
body:has(.luxz-gallery) .luxz-swatch img{border-radius:10px!important}
body:has(.luxz-gallery) .luxz-buy button.luxz-add-button{background:#a18462!important;color:white!important;border-radius:9px!important;min-height:48px!important}
body:has(.luxz-gallery) .luxz-buy button.luxz-add-button:hover{background:#806344!important}
.luxz-product-tile{border-radius:14px;box-shadow:0 8px 28px rgba(25,25,20,.055)!important;border-color:#e8e4de!important}
.luxz-tile-image{background:#fff!important}.luxz-tile-info{background:white}
.luxz-tile-link{background:#20513c!important;border-radius:8px!important}.luxz-tile-link:hover{background:#173e2e!important}
@media(max-width:767px){body:has(.luxz-gallery) .luxz-buy{padding:3px 12px 17px!important}}

/* V2.3: present an actual scene and a quiet, consistent product hover. */
.luxz-product-tile .luxz-tile-image{overflow:hidden;background:#fff}
.luxz-product-tile .luxz-tile-image img{transition:transform .45s ease}
.luxz-product-tile:hover .luxz-tile-image img{transform:translateX(-5%) scale(1.06)}
@media(prefers-reduced-motion:reduce){.luxz-product-tile .luxz-tile-image img{transition:none}}
/* V2.4 — jedna oprawa jak w dodatkach; własne parametry zasłon pozostają. */
body:has(.luxz-gallery) .luxz-gallery .luxz-image-frame{background:#fff!important;border:1px solid #e2e9e2!important;border-radius:13px!important;box-shadow:0 9px 25px rgba(27,50,36,.055)!important}
body:has(.luxz-gallery) .luxz-gallery .luxz-main-image{object-fit:contain!important}
body:has(.luxz-gallery) .luxz-buy{background:#fff!important;border:1px solid #e3eae3!important;box-shadow:0 7px 25px rgba(27,50,36,.045)!important;border-radius:13px!important}
body:has(.luxz-gallery) .luxz-heading{border-bottom:1px solid #e4ebe4!important;background:#fff!important}
body:has(.luxz-gallery) .luxz-heading strong{color:#1d5138!important}
body:has(.luxz-gallery) .luxz-choice input:checked+span{border-color:#21583e!important;background:#f1f7f2!important;color:#23523a!important}
body:has(.luxz-gallery) .luxz-buy button.luxz-add-button{background:#1b543d!important;border-color:#1b543d!important;color:#fff!important}
body:has(.luxz-gallery) .luxz-buy button.luxz-add-button:hover{background:#15432f!important}
body:has(.luxz-gallery) .luxz-thumbs button:focus-visible{outline:2px solid #20583c;outline-offset:3px}

/* V2.5 — curtain selection, consistent with accessory photo-first product cards. */
body:has(.luxz-gallery) .luxz-gallery .luxz-main-image{object-fit:contain!important;object-position:center!important}
body:has(.luxz-gallery) .luxz-thumbs{display:flex!important;gap:8px!important;flex-wrap:wrap!important}
body:has(.luxz-gallery) .luxz-thumbs button{border:1px solid #e1e8e1!important;border-radius:8px!important;overflow:hidden!important;transition:border-color .15s ease,box-shadow .15s ease!important}
body:has(.luxz-gallery) .luxz-thumbs button:hover{border-color:#7da58a!important;box-shadow:0 3px 12px rgba(22,69,43,.1)!important}
body:has(.luxz-gallery) .luxz-choice:focus-within span{outline:2px solid #24593f;outline-offset:3px}
body:has(.luxz-gallery) .luxz-buy{overflow:visible!important}
body:has(.luxz-gallery) .luxz-fields{min-width:0}
@media(max-width:500px){body:has(.luxz-gallery) .luxz-gallery .luxz-image-frame{padding:12px!important}body:has(.luxz-gallery) .luxz-buy{margin-top:14px!important}}
@media(prefers-reduced-motion:reduce){body:has(.luxz-gallery) .luxz-thumbs button{transition:none!important}}
