/* SZG 1.7.3 — PRODUCT ONLY */
/* ==========================================================================
   SZG 1.6.0 — PRODUCT V140 GLOBAL POLISH
   Reguły są w arkuszu wtyczki, więc nie zależą od HTML widgetu Elementora.
   ========================================================================== */
body.single-product .wd-page-content.main-page-wrapper{background:#06111d!important}
body.single-product .wd-content-layout.content-layout-wrapper,
body.single-product .wd-content-area.site-content{background:transparent!important}

body.single-product .szg-product-v140-hero{
  color:#b8c8d2!important;
}

body.single-product .szg-product-v140-gallery,
body.single-product .szg-product-v140-gallery > .elementor-widget-wrap,
body.single-product .szg-product-v140-gallery .elementor-widget-container{
  border:0!important;
  outline:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

body.single-product .szg-product-v140-gallery .woocommerce-product-gallery,
body.single-product .szg-product-v140-gallery .wd-gallery-images,
body.single-product .szg-product-v140-gallery .wd-gallery-images .wd-carousel-inner,
body.single-product .szg-product-v140-gallery .wd-gallery-images .wd-carousel,
body.single-product .szg-product-v140-gallery .wd-gallery-images .wd-carousel-wrap,
body.single-product .szg-product-v140-gallery .wd-gallery-images .wd-carousel-item,
body.single-product .szg-product-v140-gallery .woocommerce-product-gallery__wrapper,
body.single-product .szg-product-v140-gallery .woocommerce-product-gallery__image,
body.single-product .szg-product-v140-gallery .woocommerce-product-gallery__image > a{
  margin:0!important;
  padding:0!important;
  border:0!important;
  outline:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

body.single-product .szg-product-v140-gallery .woocommerce-product-gallery__image,
body.single-product .szg-product-v140-gallery .woocommerce-product-gallery__image > a{
  border-radius:11px!important;
  overflow:hidden!important;
}

body.single-product .szg-product-v140-gallery .woocommerce-product-gallery__image img,
body.single-product .szg-product-v140-gallery .woocommerce-product-gallery__image > a > img,
body.single-product .szg-product-v140-gallery img.wp-post-image{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  outline:0!important;
  border-radius:11px!important;
  background:#081722!important;
  box-shadow:0 16px 36px rgba(0,0,0,.24)!important;
}

body.single-product .szg-product-v140-gallery .wd-gallery-thumb,
body.single-product .szg-product-v140-gallery .wd-gallery-thumb .wd-carousel,
body.single-product .szg-product-v140-gallery .wd-gallery-thumb .wd-carousel-inner,
body.single-product .szg-product-v140-gallery .wd-gallery-thumb .wd-carousel-wrap{
  margin-top:9px!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

body.single-product .szg-product-v140-gallery .wd-gallery-thumb .wd-carousel-item{
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  border:1px solid rgba(22,139,255,.28)!important;
  border-radius:8px!important;
  background:#071725!important;
  box-shadow:none!important;
}

body.single-product .szg-product-v140-gallery .wd-gallery-thumb .wd-carousel-item.wd-active,
body.single-product .szg-product-v140-gallery .wd-gallery-thumb .wd-carousel-item:hover{
  border-color:rgba(182,239,27,.75)!important;
}

body.single-product .szg-product-v140-gallery .wd-gallery-thumb img{
  display:block!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:7px!important;
  background:#071725!important;
}

/* BUYBOX */
body.single-product .szg-product-v140-buybox{
  position:relative!important;
  padding:30px 32px!important;
  overflow:hidden!important;
  border:1px solid rgba(22,139,255,.34)!important;
  border-top:3px solid var(--szg-lime)!important;
  border-radius:12px!important;
  color:#b8c8d2!important;
  background:
    radial-gradient(circle at 100% 0,rgba(22,139,255,.08),transparent 30%),
    linear-gradient(145deg,#071725,#0a1d2c)!important;
  box-shadow:0 18px 44px rgba(0,0,0,.24)!important;
}

body.single-product .szg-product-v140-buybox:after{
  display:none!important;
}

body.single-product .szg-product-v140-buybox .woocommerce-breadcrumb,
body.single-product .szg-product-v140-buybox .woocommerce-breadcrumb a,
body.single-product .szg-product-v140-buybox .wd-breadcrumbs,
body.single-product .szg-product-v140-buybox .wd-breadcrumbs a{
  color:#91a5b3!important;
  opacity:1!important;
  font-weight:600!important;
}

body.single-product .szg-product-v140-buybox .woocommerce-breadcrumb a:hover,
body.single-product .szg-product-v140-buybox .wd-breadcrumbs a:hover{
  color:var(--szg-lime)!important;
}

body.single-product .szg-product-v140-buybox .szg-product-v140-kicker{
  color:var(--szg-lime)!important;
  opacity:1!important;
}

body.single-product .szg-product-v140-buybox h1,
body.single-product .szg-product-v140-buybox h1.product_title,
body.single-product .szg-product-v140-buybox .product_title,
body.single-product .szg-product-v140-buybox .wd-entities-title,
body.single-product .szg-product-v140-buybox .elementor-heading-title{
  margin:5px 0 14px!important;
  color:#fff!important;
  opacity:1!important;
  text-shadow:none!important;
  font-weight:850!important;
  line-height:1.12!important;
  letter-spacing:-.025em!important;
}

body.single-product .szg-product-v140-buybox .woocommerce-product-details__short-description,
body.single-product .szg-product-v140-buybox .woocommerce-product-details__short-description p,
body.single-product .szg-product-v140-buybox .woocommerce-product-details__short-description span,
body.single-product .szg-product-v140-buybox .woocommerce-product-details__short-description li{
  color:#c4d1da!important;
  opacity:1!important;
  font-size:14px!important;
  line-height:1.68!important;
}

body.single-product .szg-product-v140-buybox .price,
body.single-product .szg-product-v140-buybox .price *,
body.single-product .szg-product-v140-buybox .woocommerce-Price-amount,
body.single-product .szg-product-v140-buybox .woocommerce-Price-currencySymbol{
  color:#55b6ff!important;
  opacity:1!important;
}

body.single-product .szg-product-v140-buybox .price{
  margin:18px 0 25px!important;
  font-size:31px!important;
  font-weight:900!important;
}

body.single-product .szg-product-v140-buybox .szg-product-v140-buy-heading span{
  color:#8da5b4!important;
  opacity:1!important;
}

body.single-product .szg-product-v140-buybox .szg-product-v140-buy-heading strong{
  color:#fff!important;
  opacity:1!important;
}

/* Parametry — czytelne wiersze, nie ciemny tekst na ciemnym tle. */
body.single-product .szg-product-v140-buybox table.woocommerce-product-attributes{
  display:block!important;
  width:100%!important;
  margin:0 0 18px!important;
  border:0!important;
  border-collapse:separate!important;
  border-spacing:0!important;
  background:transparent!important;
}

body.single-product .szg-product-v140-buybox table.woocommerce-product-attributes tbody{
  display:grid!important;
  gap:6px!important;
  width:100%!important;
}

body.single-product .szg-product-v140-buybox table.woocommerce-product-attributes tr,
body.single-product .szg-product-v140-buybox tr.woocommerce-product-attributes-item{
  display:grid!important;
  grid-template-columns:minmax(125px,36%) minmax(0,64%)!important;
  width:100%!important;
  margin:0!important;
  overflow:hidden!important;
  border:1px solid rgba(22,139,255,.22)!important;
  border-radius:8px!important;
  background:rgba(255,255,255,.025)!important;
}

body.single-product .szg-product-v140-buybox table.woocommerce-product-attributes th,
body.single-product .szg-product-v140-buybox table.woocommerce-product-attributes td,
body.single-product .szg-product-v140-buybox .woocommerce-product-attributes-item__label,
body.single-product .szg-product-v140-buybox .woocommerce-product-attributes-item__value{
  display:flex!important;
  min-height:45px!important;
  align-items:center!important;
  margin:0!important;
  padding:10px 13px!important;
  border:0!important;
  background:transparent!important;
  opacity:1!important;
}

body.single-product .szg-product-v140-buybox table.woocommerce-product-attributes th,
body.single-product .szg-product-v140-buybox .woocommerce-product-attributes-item__label{
  width:auto!important;
  border-right:1px solid rgba(22,139,255,.18)!important;
  color:#9eb1be!important;
  font-size:11px!important;
  font-weight:750!important;
  line-height:1.35!important;
}

body.single-product .szg-product-v140-buybox table.woocommerce-product-attributes td,
body.single-product .szg-product-v140-buybox .woocommerce-product-attributes-item__value{
  justify-content:flex-end!important;
  color:#f5f8fb!important;
  text-align:right!important;
  font-size:12.5px!important;
  font-weight:800!important;
  line-height:1.35!important;
}

body.single-product .szg-product-v140-buybox table.woocommerce-product-attributes th *,
body.single-product .szg-product-v140-buybox table.woocommerce-product-attributes td *,
body.single-product .szg-product-v140-buybox .woocommerce-product-attributes-item__label *,
body.single-product .szg-product-v140-buybox .woocommerce-product-attributes-item__value *{
  margin:0!important;
  color:inherit!important;
  opacity:1!important;
  font:inherit!important;
}

/* Stan */
body.single-product .szg-product-v140-buybox .stock,
body.single-product .szg-product-v140-buybox .stock.in-stock{
  display:inline-flex!important;
  min-height:34px!important;
  align-items:center!important;
  margin:0 0 12px!important;
  padding:0 12px!important;
  border:1px solid rgba(182,239,27,.35)!important;
  border-radius:7px!important;
  color:var(--szg-lime)!important;
  background:rgba(182,239,27,.08)!important;
  opacity:1!important;
  font-weight:850!important;
}

/* Ilość + CTA */
body.single-product .szg-product-v140-buybox form.cart{
  align-items:center!important;
  gap:9px!important;
}

body.single-product .szg-product-v140-buybox form.cart .quantity{
  overflow:hidden!important;
  border:1px solid rgba(255,255,255,.18)!important;
  border-radius:8px!important;
  background:#fff!important;
}

body.single-product .szg-product-v140-buybox form.cart .quantity input.qty{
  min-height:48px!important;
  color:#172028!important;
  background:#fff!important;
  border:0!important;
}

body.single-product .szg-product-v140-buybox form.cart .quantity .minus,
body.single-product .szg-product-v140-buybox form.cart .quantity .plus,
body.single-product .szg-product-v140-buybox form.cart .quantity button{
  min-height:48px!important;
  color:#2b3942!important;
  background:#f4f7f8!important;
  border-color:#d8e0e4!important;
}

body.single-product .szg-product-v140-buybox form.cart button.single_add_to_cart_button,
body.single-product .szg-product-v140-buybox form.cart .single_add_to_cart_button,
body.single-product .szg-product-v140-buybox .single_add_to_cart_button.button{
  min-height:48px!important;
  padding:0 24px!important;
  border:0!important;
  border-radius:8px!important;
  color:#101706!important;
  background:var(--szg-lime)!important;
  box-shadow:0 10px 22px rgba(182,239,27,.12)!important;
  font-size:12px!important;
  font-weight:900!important;
}

body.single-product .szg-product-v140-buybox form.cart button.single_add_to_cart_button:hover,
body.single-product .szg-product-v140-buybox form.cart .single_add_to_cart_button:hover,
body.single-product .szg-product-v140-buybox .single_add_to_cart_button.button:hover{
  color:#fff!important;
  background:var(--szg-blue)!important;
}

body.single-product .szg-product-v140-buybox .szg-product-v140-under{
  margin-top:19px!important;
  padding-top:17px!important;
  border-top:1px solid rgba(22,139,255,.18)!important;
}

body.single-product .szg-product-v140-buybox .szg-product-v140-under-row{
  color:#afc0ca!important;
  opacity:1!important;
}

body.single-product .szg-product-v140-buybox .szg-product-v140-under-row strong{
  color:#f4f8fa!important;
}

body.single-product .szg-product-v140-buybox .szg-product-v140-under-icon{
  color:var(--szg-lime)!important;
  border-color:rgba(182,239,27,.38)!important;
}

body.single-product .szg-product-v140-buybox .szg-product-v140-safety{
  color:#65baff!important;
  opacity:1!important;
}

body.single-product .szg-product-v140-buybox .wd-wishlist-btn,
body.single-product .szg-product-v140-buybox .wd-wishlist-btn a,
body.single-product .szg-product-v140-buybox .wd-wishlist-btn span{
  color:#b9c9d3!important;
  opacity:1!important;
}

@media(max-width:767px){
  body.single-product .szg-product-v140-buybox{
    padding:22px 18px!important;
  }

  body.single-product .szg-product-v140-buybox table.woocommerce-product-attributes tr,
  body.single-product .szg-product-v140-buybox tr.woocommerce-product-attributes-item{
    grid-template-columns:minmax(100px,42%) minmax(0,58%)!important;
  }

  body.single-product .szg-product-v140-buybox table.woocommerce-product-attributes th,
  body.single-product .szg-product-v140-buybox table.woocommerce-product-attributes td,
  body.single-product .szg-product-v140-buybox .woocommerce-product-attributes-item__label,
  body.single-product .szg-product-v140-buybox .woocommerce-product-attributes-item__value{
    min-height:42px!important;
    padding:9px 10px!important;
  }

  body.single-product .szg-product-v140-buybox table.woocommerce-product-attributes td,
  body.single-product .szg-product-v140-buybox .woocommerce-product-attributes-item__value{
    font-size:11.5px!important;
  }

  body.single-product .szg-product-v140-buybox form.cart{
    flex-wrap:wrap!important;
  }
}


/* ==========================================================================
   SZG 1.6.3 — PRODUCT V163 UX / TRUST POLISH
   Mockup -> prawdziwy layout. Bez ingerencji w dane produktu i logikę Woo.
   ========================================================================== */
body.single-product .szg-product-v140-hero{
  padding-top:28px!important;
  padding-bottom:30px!important;
}

body.single-product .szg-product-v140-hero > .elementor-container,
body.single-product .szg-product-v140-hero > .e-con-inner{
  align-items:flex-start!important;
}

body.single-product .szg-product-v140-gallery .wd-gallery-thumb{
  margin-top:8px!important;
}

body.single-product .szg-product-v140-gallery .wd-gallery-thumb .wd-carousel-item{
  border-color:rgba(95,186,255,.24)!important;
}

body.single-product .szg-product-v140-gallery .wd-gallery-thumb .wd-carousel-item.wd-active,
body.single-product .szg-product-v140-gallery .wd-gallery-thumb .wd-carousel-item:hover{
  border-color:#b6ef1b!important;
  box-shadow:0 0 0 1px rgba(182,239,27,.14)!important;
}

/* Buybox — ciaśniej i bardziej premium. */
body.single-product .szg-product-v140-buybox{
  padding:24px 28px 22px!important;
  border-color:rgba(77,169,229,.34)!important;
  border-top-width:2px!important;
  border-top-color:#b6ef1b!important;
  border-radius:12px!important;
  background:
    radial-gradient(circle at 100% 0,rgba(22,139,255,.075),transparent 28%),
    linear-gradient(145deg,#081824,#0a1e2c)!important;
  box-shadow:0 18px 42px rgba(0,0,0,.22)!important;
}

body.single-product .szg-product-v140-buybox > .elementor-widget-wrap,
body.single-product .szg-product-v140-buybox > .e-con-inner{
  align-content:flex-start!important;
}

body.single-product .szg-product-v140-buybox .elementor-widget{
  margin-bottom:0!important;
  --kit-widget-spacing:0px!important;
}

body.single-product .szg-product-v140-buybox .woocommerce-breadcrumb,
body.single-product .szg-product-v140-buybox .wd-breadcrumbs{
  margin:0 0 13px!important;
  color:#a7b8c3!important;
  font-size:11px!important;
  line-height:1.45!important;
}

body.single-product .szg-product-v140-buybox .woocommerce-breadcrumb a,
body.single-product .szg-product-v140-buybox .wd-breadcrumbs a{
  color:#b8c6cf!important;
}

body.single-product .szg-product-v140-buybox .szg-product-v140-kicker{
  margin:0 0 9px!important;
  font-size:10px!important;
  line-height:1.3!important;
}

body.single-product .szg-product-v140-buybox h1,
body.single-product .szg-product-v140-buybox h1.product_title,
body.single-product .szg-product-v140-buybox .product_title,
body.single-product .szg-product-v140-buybox .wd-entities-title{
  margin:0 0 12px!important;
  font-size:clamp(28px,2.15vw,38px)!important;
  line-height:1.08!important;
}

body.single-product .szg-product-v140-buybox .price{
  margin:0 0 10px!important;
  font-size:30px!important;
  line-height:1.05!important;
}

/* Chippy skanowalne: platforma / region / rodzaj cyfrowy. */
body.single-product .szg-product-v163-chips{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:7px!important;
  margin:0 0 16px!important;
}

body.single-product .szg-product-v163-chip{
  display:inline-flex!important;
  min-height:34px!important;
  align-items:center!important;
  gap:7px!important;
  padding:0 11px!important;
  border:1px solid rgba(182,239,27,.44)!important;
  border-radius:7px!important;
  color:#eef6f9!important;
  background:rgba(5,17,28,.70)!important;
  font-size:10.5px!important;
  font-weight:850!important;
  line-height:1!important;
  letter-spacing:.035em!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
}

body.single-product .szg-product-v163-chip-icon{
  display:inline-flex!important;
  width:17px!important;
  height:17px!important;
  align-items:center!important;
  justify-content:center!important;
  color:#b6ef1b!important;
  font-size:15px!important;
  font-weight:900!important;
  line-height:1!important;
}

/* Śródtytuł nad parametrami. */
body.single-product .szg-product-v140-buybox .szg-product-v140-buy-heading{
  margin:0 0 8px!important;
}

body.single-product .szg-product-v140-buybox .szg-product-v140-buy-heading span{
  color:#b6ef1b!important;
  font-size:9.5px!important;
  letter-spacing:.12em!important;
}

body.single-product .szg-product-v140-buybox .szg-product-v140-buy-heading strong{
  margin-top:3px!important;
  font-size:17px!important;
  line-height:1.25!important;
}

/* Parametry — mniejsza wysokość, nadal czytelne. */
body.single-product .szg-product-v140-buybox table.woocommerce-product-attributes{
  margin:0 0 12px!important;
}

body.single-product .szg-product-v140-buybox table.woocommerce-product-attributes tbody{
  gap:5px!important;
}

body.single-product .szg-product-v140-buybox table.woocommerce-product-attributes tr,
body.single-product .szg-product-v140-buybox tr.woocommerce-product-attributes-item{
  border-color:rgba(55,137,190,.28)!important;
  border-radius:7px!important;
  background:rgba(255,255,255,.018)!important;
}

body.single-product .szg-product-v140-buybox table.woocommerce-product-attributes th,
body.single-product .szg-product-v140-buybox table.woocommerce-product-attributes td,
body.single-product .szg-product-v140-buybox .woocommerce-product-attributes-item__label,
body.single-product .szg-product-v140-buybox .woocommerce-product-attributes-item__value{
  min-height:40px!important;
  padding:8px 11px!important;
}

body.single-product .szg-product-v140-buybox table.woocommerce-product-attributes th,
body.single-product .szg-product-v140-buybox .woocommerce-product-attributes-item__label{
  color:#a8b8c2!important;
  border-right-color:rgba(55,137,190,.20)!important;
  font-size:10.5px!important;
}

body.single-product .szg-product-v140-buybox table.woocommerce-product-attributes td,
body.single-product .szg-product-v140-buybox .woocommerce-product-attributes-item__value{
  color:#f7fafb!important;
  font-size:12px!important;
}

/* Stan — bez białego środka WoodMarta. */
body.single-product .szg-product-v140-buybox .stock,
body.single-product .szg-product-v140-buybox .stock.in-stock,
body.single-product .szg-product-v140-buybox .stock.wd-style-with-bg{
  display:inline-flex!important;
  width:auto!important;
  min-width:0!important;
  min-height:31px!important;
  align-items:center!important;
  margin:0 0 9px!important;
  padding:0 10px!important;
  border:1px solid rgba(182,239,27,.50)!important;
  border-radius:6px!important;
  color:#b6ef1b!important;
  background:rgba(182,239,27,.055)!important;
  box-shadow:none!important;
  font-size:11.5px!important;
  font-weight:850!important;
  line-height:1!important;
}

body.single-product .szg-product-v140-buybox .stock.wd-style-with-bg > span,
body.single-product .szg-product-v140-buybox .stock.in-stock > span{
  display:inline!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  color:inherit!important;
  background:transparent!important;
  box-shadow:none!important;
}

body.single-product .szg-product-v140-buybox .stock.in-stock > span:before{
  color:#b6ef1b!important;
}

/* Ilość + CTA jako jeden uporządkowany rząd dla produktu prostego. */
body.single-product .szg-product-v140-buybox form.cart:not(.variations_form){
  display:grid!important;
  grid-template-columns:96px minmax(190px,1fr) 128px!important;
  gap:8px!important;
  align-items:stretch!important;
  margin:0!important;
}

body.single-product .szg-product-v140-buybox form.cart:not(.variations_form) .quantity{
  display:grid!important;
  grid-template-columns:30px 36px 30px!important;
  width:96px!important;
  min-width:96px!important;
  height:46px!important;
  margin:0!important;
  border:1px solid rgba(102,153,186,.44)!important;
  border-radius:7px!important;
  background:#0a1b29!important;
}

body.single-product .szg-product-v140-buybox form.cart:not(.variations_form) .quantity input.qty,
body.single-product .szg-product-v140-buybox form.cart:not(.variations_form) .quantity .minus,
body.single-product .szg-product-v140-buybox form.cart:not(.variations_form) .quantity .plus{
  width:100%!important;
  min-width:0!important;
  min-height:44px!important;
  height:44px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  color:#edf5f8!important;
  background:transparent!important;
  box-shadow:none!important;
  font-size:12px!important;
}

body.single-product .szg-product-v140-buybox form.cart:not(.variations_form) .quantity input.qty{
  border-right:1px solid rgba(74,130,165,.24)!important;
  border-left:1px solid rgba(74,130,165,.24)!important;
  font-weight:850!important;
}

body.single-product .szg-product-v140-buybox form.cart:not(.variations_form) button.single_add_to_cart_button,
body.single-product .szg-product-v140-buybox form.cart:not(.variations_form) .single_add_to_cart_button{
  width:100%!important;
  min-height:46px!important;
  height:46px!important;
  margin:0!important;
  padding:0 18px!important;
  border-radius:7px!important;
  color:#111806!important;
  background:#b6ef1b!important;
  box-shadow:0 9px 22px rgba(182,239,27,.13)!important;
  font-size:11.5px!important;
  font-weight:900!important;
  letter-spacing:.02em!important;
}

body.single-product .szg-product-v140-buybox form.cart:not(.variations_form) .wd-buy-now-btn,
body.single-product .szg-product-v140-buybox form.cart:not(.variations_form) #wd-add-to-cart{
  width:100%!important;
  min-height:46px!important;
  height:46px!important;
  margin:0!important;
  padding:0 14px!important;
  border:1px solid rgba(102,153,186,.48)!important;
  border-radius:7px!important;
  color:#eef5f8!important;
  background:#102b40!important;
  box-shadow:none!important;
  font-size:11px!important;
  font-weight:850!important;
}

body.single-product .szg-product-v140-buybox form.cart:not(.variations_form) .wd-buy-now-btn:hover,
body.single-product .szg-product-v140-buybox form.cart:not(.variations_form) #wd-add-to-cart:hover{
  border-color:#168bff!important;
  color:#fff!important;
  background:#168bff!important;
}

/* Krótkie sygnały zaufania pod CTA. */
body.single-product .szg-product-v163-quicktrust{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:8px!important;
  margin:12px 0 0!important;
  padding:12px 0 0!important;
  border-top:1px solid rgba(67,130,169,.22)!important;
}

body.single-product .szg-product-v163-quicktrust-item{
  display:grid!important;
  grid-template-columns:28px 1fr!important;
  gap:7px!important;
  align-items:center!important;
  min-width:0!important;
}

body.single-product .szg-product-v163-quicktrust-icon{
  display:flex!important;
  width:27px!important;
  height:27px!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid rgba(182,239,27,.46)!important;
  border-radius:50%!important;
  color:#b6ef1b!important;
  font-size:12px!important;
  font-weight:900!important;
  line-height:1!important;
}

body.single-product .szg-product-v163-quicktrust-item span:last-child{
  color:#c1cdd5!important;
  font-size:10.5px!important;
  font-weight:700!important;
  line-height:1.35!important;
}

body.single-product .szg-product-v140-buybox .szg-product-v140-under.szg-product-v163-legacy-under{
  display:none!important;
}

body.single-product .szg-product-v140-buybox .szg-product-v140-safety{
  display:inline-flex!important;
  margin-top:9px!important;
  font-size:10px!important;
}

body.single-product .szg-product-v140-buybox .wd-wishlist-btn{
  margin-top:8px!important;
}

/* Dotychczasowa sekcja 4 korzyści -> niski trust strip. */
body.single-product .szg-product-v140-trust{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:0!important;
  overflow:hidden!important;
  border:1px solid rgba(64,131,173,.28)!important;
  border-radius:9px!important;
  background:#071723!important;
  box-shadow:none!important;
}

body.single-product .szg-product-v140-trust > div{
  display:grid!important;
  grid-template-columns:32px minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  column-gap:9px!important;
  align-content:center!important;
  min-height:74px!important;
  padding:12px 16px!important;
  border-right:1px solid rgba(64,131,173,.22)!important;
  background:#071723!important;
}

body.single-product .szg-product-v140-trust > div:last-child{
  border-right:0!important;
}

body.single-product .szg-product-v140-trust i{
  grid-row:1 / span 2!important;
  display:flex!important;
  width:30px!important;
  height:30px!important;
  align-items:center!important;
  justify-content:center!important;
  align-self:center!important;
  margin:0!important;
  border:1px solid rgba(182,239,27,.44)!important;
  border-radius:50%!important;
  color:#b6ef1b!important;
  font-size:12px!important;
}

body.single-product .szg-product-v140-trust strong{
  display:block!important;
  margin:0!important;
  color:#f5f8fa!important;
  font-size:12px!important;
  line-height:1.25!important;
}

body.single-product .szg-product-v140-trust span{
  display:block!important;
  margin:3px 0 0!important;
  color:#93a7b4!important;
  font-size:9.5px!important;
  line-height:1.35!important;
}

@media(max-width:1024px){
  body.single-product .szg-product-v140-buybox{
    padding:22px!important;
  }

  body.single-product .szg-product-v140-buybox form.cart:not(.variations_form){
    grid-template-columns:92px minmax(170px,1fr) 118px!important;
  }

  body.single-product .szg-product-v163-quicktrust{
    grid-template-columns:1fr!important;
    gap:7px!important;
  }

  body.single-product .szg-product-v140-trust{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }

  body.single-product .szg-product-v140-trust > div:nth-child(2){
    border-right:0!important;
  }

  body.single-product .szg-product-v140-trust > div:nth-child(-n+2){
    border-bottom:1px solid rgba(64,131,173,.22)!important;
  }
}

@media(max-width:767px){
  body.single-product .szg-product-v140-hero{
    padding-top:18px!important;
    padding-bottom:22px!important;
  }

  body.single-product .szg-product-v140-buybox{
    padding:19px 16px!important;
  }

  body.single-product .szg-product-v140-buybox h1,
  body.single-product .szg-product-v140-buybox h1.product_title,
  body.single-product .szg-product-v140-buybox .product_title{
    font-size:27px!important;
  }

  body.single-product .szg-product-v163-chips{
    gap:6px!important;
    margin-bottom:13px!important;
  }

  body.single-product .szg-product-v163-chip{
    min-height:31px!important;
    padding:0 9px!important;
    font-size:9.5px!important;
  }

  body.single-product .szg-product-v140-buybox form.cart:not(.variations_form){
    grid-template-columns:92px minmax(0,1fr)!important;
    gap:7px!important;
  }

  body.single-product .szg-product-v140-buybox form.cart:not(.variations_form) .wd-buy-now-btn,
  body.single-product .szg-product-v140-buybox form.cart:not(.variations_form) #wd-add-to-cart{
    grid-column:1 / -1!important;
  }

  body.single-product .szg-product-v140-trust{
    grid-template-columns:1fr!important;
  }

  body.single-product .szg-product-v140-trust > div{
    min-height:66px!important;
    border-right:0!important;
    border-bottom:1px solid rgba(64,131,173,.22)!important;
  }

  body.single-product .szg-product-v140-trust > div:last-child{
    border-bottom:0!important;
  }
}


/* ==========================================================================
   SZG 1.6.4 — PRODUCT V164 ATTRIBUTE VISIBILITY FIX
   WoodMart / Elementor potrafił przycinać ostatni wiersz tabeli parametrów.
   Nie zmieniamy danych ani układu — tylko zdejmujemy wysokość/overflow z widgetu.
   ========================================================================== */
body.single-product .szg-product-v140-buybox .wd-single-attrs,
body.single-product .szg-product-v140-buybox .wd-single-attrs.elementor-widget,
body.single-product .szg-product-v140-buybox .wd-single-attrs > .elementor-widget-container,
body.single-product .szg-product-v140-buybox .wd-single-attrs .elementor-widget-container{
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
}

body.single-product .szg-product-v140-buybox .wd-single-attrs table.woocommerce-product-attributes,
body.single-product .szg-product-v140-buybox .wd-single-attrs table.woocommerce-product-attributes tbody{
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
}

body.single-product .szg-product-v140-buybox .wd-single-attrs table.woocommerce-product-attributes{
  padding-bottom:1px!important;
}

body.single-product .szg-product-v140-buybox .wd-single-attrs table.woocommerce-product-attributes tr:last-child,
body.single-product .szg-product-v140-buybox .wd-single-attrs tr.woocommerce-product-attributes-item:last-child{
  margin-bottom:0!important;
}

/* Jedna ikonka przy statusie — WoodMart dodaje własny check przez pseudo-element. */
body.single-product .szg-product-v140-buybox .stock.in-stock > span{
  white-space:nowrap!important;
}

/* ==========================================================================
   SZG 1.6.5 — PRODUCT V165 ATTRIBUTE / STOCK SPACING FIX
   Ostatni wiersz parametrów nie może stykać się ani nachodzić ze statusem.
   Resetujemy margines widgetu CTA i dodajemy mały, kontrolowany odstęp.
   ========================================================================== */
body.single-product .szg-product-v140-buybox .wd-single-attrs,
body.single-product .szg-product-v140-buybox .wd-single-attrs.elementor-widget{
  margin-bottom:10px!important;
}

body.single-product .szg-product-v140-buybox .wd-single-add-cart,
body.single-product .szg-product-v140-buybox .wd-single-add-cart.elementor-widget{
  position:relative!important;
  z-index:1!important;
  margin-top:0!important;
}

body.single-product .szg-product-v140-buybox .wd-single-add-cart .stock,
body.single-product .szg-product-v140-buybox .wd-single-add-cart .stock.in-stock{
  margin-top:0!important;
}

@media(max-width:767px){
  body.single-product .szg-product-v140-buybox .wd-single-attrs,
  body.single-product .szg-product-v140-buybox .wd-single-attrs.elementor-widget{
    margin-bottom:8px!important;
  }
}


/* ==========================================================================
   SZG 1.6.6 — PRODUCT V166 HARD ATTRIBUTE / STOCK OVERLAP FIX
   Poprzednia poprawka opierała się na marginesie widgetu. Tutaj odsuwamy
   zawartość widgetu zakupu od tabeli realnym paddingiem i zerujemy pozycjonowanie.
   ========================================================================== */
body.single-product .szg-product-v140-buybox .wd-single-attrs + .wd-single-add-cart,
body.single-product .szg-product-v140-buybox .wd-single-attrs.elementor-widget + .wd-single-add-cart.elementor-widget{
  position:relative!important;
  top:auto!important;
  right:auto!important;
  bottom:auto!important;
  left:auto!important;
  inset:auto!important;
  transform:none!important;
  translate:none!important;
  float:none!important;
  clear:both!important;
  margin-top:0!important;
  padding-top:14px!important;
  overflow:visible!important;
}

body.single-product .szg-product-v140-buybox .wd-single-attrs{
  position:relative!important;
  z-index:1!important;
  margin-bottom:0!important;
  padding-bottom:0!important;
  overflow:visible!important;
}

body.single-product .szg-product-v140-buybox .wd-single-attrs table.woocommerce-product-attributes,
body.single-product .szg-product-v140-buybox .wd-single-attrs table.woocommerce-product-attributes tbody,
body.single-product .szg-product-v140-buybox .wd-single-attrs tr.woocommerce-product-attributes-item:last-child{
  overflow:visible!important;
}

body.single-product .szg-product-v140-buybox .wd-single-add-cart .stock,
body.single-product .szg-product-v140-buybox .wd-single-add-cart .stock.in-stock{
  position:relative!important;
  top:auto!important;
  right:auto!important;
  bottom:auto!important;
  left:auto!important;
  transform:none!important;
  translate:none!important;
  margin-top:0!important;
}

@media(max-width:767px){
  body.single-product .szg-product-v140-buybox .wd-single-attrs + .wd-single-add-cart,
  body.single-product .szg-product-v140-buybox .wd-single-attrs.elementor-widget + .wd-single-add-cart.elementor-widget{
    padding-top:12px!important;
  }
}


/* PRODUCT: pierwszym celem jest CTA bez scrolla. */
body.single-product .szg-product-v140-buybox{
  padding:22px 26px!important;
}
body.single-product .szg-product-v140-buybox .wd-breadcrumbs,
body.single-product .szg-product-v140-buybox .woocommerce-breadcrumb,
body.single-product .szg-product-v140-buybox .szg-product-v140-kicker{
  display:none!important;
}
body.single-product .szg-product-v140-buybox h1,
body.single-product .szg-product-v140-buybox h1.product_title,
body.single-product .szg-product-v140-buybox .product_title{
  margin:0 0 8px!important;
  font-size:clamp(28px,2.15vw,36px)!important;
  line-height:1.08!important;
}
body.single-product .szg-product-v140-buybox .woocommerce-product-details__short-description,
body.single-product .szg-product-v140-buybox .woocommerce-product-details__short-description p{
  display:-webkit-box!important;
  overflow:hidden!important;
  margin:0 0 8px!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  color:#b9c8d1!important;
  font-size:12.5px!important;
  line-height:1.5!important;
}
body.single-product .szg-product-v140-buybox .price{
  margin:7px 0 9px!important;
  font-size:30px!important;
}

body.single-product .szg-product-v167-chips{
  display:flex!important;
  gap:6px!important;
  flex-wrap:wrap!important;
  margin:0 0 10px!important;
}
body.single-product .szg-product-v167-chip{
  display:inline-flex!important;
  min-height:30px!important;
  align-items:center!important;
  gap:6px!important;
  padding:0 10px!important;
  border:1px solid rgba(182,239,27,.38)!important;
  border-radius:7px!important;
  color:#dce7ed!important;
  background:#081923!important;
  font-size:9px!important;
  font-weight:900!important;
  line-height:1.15!important;
  text-transform:uppercase!important;
}
body.single-product .szg-product-v167-chip-icon{color:#b6ef1b!important}
body.single-product .szg-product-v167-chip--dlc{
  border-color:rgba(255,166,64,.72)!important;
  color:#ffd6a8!important;
  background:rgba(255,143,31,.08)!important;
}
body.single-product .szg-product-v167-chip--dlc .szg-product-v167-chip-icon{color:#ff9d37!important}
body.single-product .szg-product-v167-chip--unknown{
  border-color:rgba(255,202,73,.58)!important;
  color:#ffe4a1!important;
}

body.single-product .szg-product-v167-dlc-warning{
  display:grid!important;
  gap:3px!important;
  margin:0 0 9px!important;
  padding:10px 12px!important;
  border:1px solid rgba(255,154,56,.55)!important;
  border-radius:8px!important;
  background:rgba(255,137,31,.08)!important;
}
body.single-product .szg-product-v167-dlc-warning strong{color:#ffbe79!important;font-size:11px!important}
body.single-product .szg-product-v167-dlc-warning span{color:#c8d2d8!important;font-size:9.5px!important;line-height:1.45!important}

body.single-product .szg-product-v140-buybox .stock.szg-product-v167-stockline,
body.single-product .szg-product-v140-buybox .stock.in-stock.szg-product-v167-stockline{
  display:flex!important;
  min-height:24px!important;
  width:auto!important;
  align-items:center!important;
  margin:0 0 9px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  color:#b6ef1b!important;
  background:transparent!important;
  box-shadow:none!important;
  font-size:10px!important;
  font-weight:850!important;
}
body.single-product .szg-product-v140-buybox .stock.szg-product-v167-stockline>span{
  padding:0!important;
  color:inherit!important;
  background:transparent!important;
}

body.single-product .szg-product-v140-buybox .wd-single-add-cart{
  margin:0!important;
  padding:0!important;
}
body.single-product .szg-product-v140-buybox form.cart:not(.variations_form){
  display:grid!important;
  grid-template-columns:92px minmax(190px,1fr) 126px!important;
  gap:7px!important;
  align-items:stretch!important;
  margin:0!important;
}
body.single-product .szg-product-v140-buybox form.cart .quantity input.qty,
body.single-product .szg-product-v140-buybox form.cart .quantity .minus,
body.single-product .szg-product-v140-buybox form.cart .quantity .plus,
body.single-product .szg-product-v140-buybox form.cart button.single_add_to_cart_button,
body.single-product .szg-product-v140-buybox form.cart .wd-buy-now-btn{
  min-height:46px!important;
}

body.single-product .szg-product-v167-quicktrust{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:0!important;
  margin:10px 0 0!important;
  padding:9px 0 0!important;
  border-top:1px solid rgba(67,130,169,.22)!important;
}
body.single-product .szg-product-v167-quicktrust>div{
  display:flex!important;
  min-width:0!important;
  align-items:center!important;
  gap:6px!important;
  padding:0 8px!important;
  border-left:1px solid rgba(67,130,169,.18)!important;
}
body.single-product .szg-product-v167-quicktrust>div:first-child{border-left:0!important;padding-left:0!important}
body.single-product .szg-product-v167-quicktrust b{
  display:flex!important;
  width:22px!important;
  height:22px!important;
  flex:0 0 22px!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid rgba(182,239,27,.42)!important;
  border-radius:50%!important;
  color:#b6ef1b!important;
  font-size:9px!important;
}
body.single-product .szg-product-v167-quicktrust span{color:#b7c6cf!important;font-size:9px!important;font-weight:700!important;line-height:1.25!important}

body.single-product .szg-product-v167-full-info{
  margin:10px 0 0!important;
  overflow:hidden!important;
  border:1px solid rgba(63,119,153,.28)!important;
  border-radius:8px!important;
  background:#091a27!important;
}
body.single-product .szg-product-v167-full-info summary{
  display:flex!important;
  min-height:40px!important;
  cursor:pointer!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  padding:9px 12px!important;
  color:#ecf3f7!important;
  font-size:10.5px!important;
  font-weight:850!important;
  list-style:none!important;
}
body.single-product .szg-product-v167-full-info summary::-webkit-details-marker{display:none!important}
body.single-product .szg-product-v167-full-info summary:after{content:'+';color:#b6ef1b;font-size:16px;font-weight:800}
body.single-product .szg-product-v167-full-info[open] summary:after{content:'–'}
body.single-product .szg-product-v167-full-info summary small{margin-left:auto;color:#8ea4b2;font-size:9px;font-weight:700}
body.single-product .szg-product-v167-full-info-content{padding:0 10px 10px!important}

/* 1.7.1: pełne parametry są zawsze widoczne — bez akordeonu i bez zdublowanego języka. */
body.single-product .szg-product-v171-full-info{
  margin-top:10px!important;
  overflow:hidden!important;
}
body.single-product .szg-product-v171-full-info-heading{
  display:flex!important;
  min-height:36px!important;
  align-items:center!important;
  padding:9px 12px!important;
  border-bottom:1px solid rgba(67,130,169,.22)!important;
  color:#ecf3f7!important;
  font-size:10.5px!important;
  font-weight:850!important;
}
body.single-product .szg-product-v171-full-info .szg-product-v167-full-info-content{
  padding:8px 10px 10px!important;
}
body.single-product .szg-product-v167-full-info .wd-single-attrs{margin:0!important;padding:0!important}
body.single-product .szg-product-v167-full-info table.woocommerce-product-attributes{margin:0!important}
body.single-product .szg-product-v167-full-info table.woocommerce-product-attributes tbody{gap:4px!important}
body.single-product .szg-product-v167-full-info table.woocommerce-product-attributes th,
body.single-product .szg-product-v167-full-info table.woocommerce-product-attributes td{min-height:37px!important;padding:7px 10px!important}
body.single-product .szg-product-v167-hidden-heading{display:none!important}
body.single-product .szg-v167-redundant-section{display:none!important}
body.szg-digital-product footer .elementor-element-3d9f823,
body.szg-digital-product footer .szg-v167-hide-physical-shipping{display:none!important}

/* Opis gry ma pojawić się od razu po górnej sekcji, bez trzech powtórzonych modułów zaufania. */
body.single-product .szg-product-v140-content-head{padding-top:4px!important}


@media(max-width:1200px){
  body.single-product .szg-product-v167-quicktrust{grid-template-columns:repeat(2,minmax(0,1fr))!important;row-gap:7px!important}
  body.single-product .szg-product-v167-quicktrust>div:nth-child(3){border-left:0!important;padding-left:0!important}
}
@media(max-width:680px){
  body.single-product .szg-product-v140-hero>.elementor-container,
  body.single-product .szg-product-v140-hero>.e-con-inner{display:flex!important;flex-direction:column!important}
  body.single-product .szg-product-v140-buybox{order:1!important;padding:17px 15px!important;margin-bottom:12px!important}
  body.single-product .szg-product-v140-gallery{order:2!important}
  body.single-product .szg-product-v140-gallery .woocommerce-product-gallery__image img,
  body.single-product .szg-product-v140-gallery .woocommerce-product-gallery__image>a>img,
  body.single-product .szg-product-v140-gallery img.wp-post-image{max-height:430px!important;object-fit:contain!important;background:#081722!important}
  body.single-product .szg-product-v140-buybox h1,
  body.single-product .szg-product-v140-buybox h1.product_title,
  body.single-product .szg-product-v140-buybox .product_title{font-size:25px!important}
  body.single-product .szg-product-v167-chip{min-height:28px!important;padding:0 8px!important;font-size:8.5px!important}
  body.single-product .szg-product-v140-buybox form.cart:not(.variations_form){grid-template-columns:88px minmax(0,1fr)!important}
  body.single-product .szg-product-v140-buybox form.cart:not(.variations_form) .wd-buy-now-btn,
  body.single-product .szg-product-v140-buybox form.cart:not(.variations_form) #wd-add-to-cart{grid-column:1 / -1!important}
  body.single-product .szg-product-v167-quicktrust{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.single-product .szg-product-v167-quicktrust>div{padding:0 5px!important}
  body.single-product .szg-product-v167-full-info summary{align-items:flex-start!important;flex-direction:column!important;gap:2px!important}
  body.single-product .szg-product-v167-full-info summary small{margin-left:0!important}
  body.single-product.szg-v167-has-sticky-cta .wd-cookies-popup{bottom:104px!important;max-height:calc(100dvh - 120px)!important;overflow:auto!important}
}
body.single-product .szg-product-v167-language-note{margin:8px 2px 0!important;color:#8298a6!important;font-size:9px!important;line-height:1.45!important}


/* ========================================================================== 
   SZG 1.7.2 — SMART IMAGE FIT
   Stała bryła galerii bez brutalnego cropu. Domyślnie contain; JS przełącza
   na cover wyłącznie obrazy bardzo zbliżone do proporcji ramy.
   ========================================================================== */
body.single-product .szg-product-v140-gallery .wd-gallery-images .woocommerce-product-gallery__image{
  display:flex!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  aspect-ratio:4/5!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
  border-radius:11px!important;
  background:#081722!important;
}
body.single-product .szg-product-v140-gallery .wd-gallery-images .woocommerce-product-gallery__image>a{
  display:flex!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
  border-radius:11px!important;
  background:#081722!important;
}
body.single-product .szg-product-v140-gallery .wd-gallery-images .woocommerce-product-gallery__image img,
body.single-product .szg-product-v140-gallery .wd-gallery-images .woocommerce-product-gallery__image>a>img,
body.single-product .szg-product-v140-gallery .wd-gallery-images img.wp-post-image{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  object-fit:contain!important;
  object-position:center center!important;
  border-radius:11px!important;
  background:#081722!important;
}
body.single-product .szg-product-v140-gallery .wd-gallery-images .woocommerce-product-gallery__image.szg-product-image-fit-cover img,
body.single-product .szg-product-v140-gallery .wd-gallery-images .woocommerce-product-gallery__image.szg-product-image-fit-cover>a>img{
  object-fit:cover!important;
}
body.single-product .szg-product-v140-gallery .wd-gallery-images .woocommerce-product-gallery__image.szg-product-image-fit-contain img,
body.single-product .szg-product-v140-gallery .wd-gallery-images .woocommerce-product-gallery__image.szg-product-image-fit-contain>a>img{
  object-fit:contain!important;
}

/* Miniatury: cały kadr jest ważniejszy niż wypełnienie kafla. */
body.single-product .szg-product-v140-gallery .wd-gallery-thumb .wd-carousel-item{
  display:flex!important;
  min-height:82px!important;
  align-items:center!important;
  justify-content:center!important;
  background:#071725!important;
}
body.single-product .szg-product-v140-gallery .wd-gallery-thumb .wd-carousel-item>a,
body.single-product .szg-product-v140-gallery .wd-gallery-thumb .wd-carousel-item>div{
  display:flex!important;
  width:100%!important;
  height:82px!important;
  align-items:center!important;
  justify-content:center!important;
  background:#071725!important;
}
body.single-product .szg-product-v140-gallery .wd-gallery-thumb img{
  display:block!important;
  width:100%!important;
  height:82px!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  object-fit:contain!important;
  object-position:center center!important;
  background:#071725!important;
}

@media(max-width:680px){
  body.single-product .szg-product-v140-gallery .wd-gallery-images .woocommerce-product-gallery__image{
    max-height:430px!important;
    aspect-ratio:1/1!important;
  }
  body.single-product .szg-product-v140-gallery .wd-gallery-images .woocommerce-product-gallery__image img,
  body.single-product .szg-product-v140-gallery .wd-gallery-images .woocommerce-product-gallery__image>a>img,
  body.single-product .szg-product-v140-gallery .wd-gallery-images img.wp-post-image{
    width:100%!important;
    height:100%!important;
    max-height:430px!important;
    object-fit:contain!important;
  }
  body.single-product .szg-product-v140-gallery .wd-gallery-images .woocommerce-product-gallery__image.szg-product-image-fit-cover img,
  body.single-product .szg-product-v140-gallery .wd-gallery-images .woocommerce-product-gallery__image.szg-product-image-fit-cover>a>img{
    object-fit:cover!important;
  }
  body.single-product .szg-product-v140-gallery .wd-gallery-thumb .wd-carousel-item,
  body.single-product .szg-product-v140-gallery .wd-gallery-thumb .wd-carousel-item>a,
  body.single-product .szg-product-v140-gallery .wd-gallery-thumb .wd-carousel-item>div,
  body.single-product .szg-product-v140-gallery .wd-gallery-thumb img{
    min-height:64px!important;
    height:64px!important;
  }
}

/* ========================================================================== 
   SZG 1.7.3 — DARK PRODUCT CONTENT + CONTAIN BACKDROP
   Spójna, ciemna karta produktu bez jasnej „wyspy” pod hero. Dla obrazów
   wyświetlanych w contain puste pole galerii dostaje przygaszone, rozmyte tło.
   ========================================================================== */

/* Sekcje opisu i końcowego CTA nie mogą wracać do jasnego tła z Elementora. */
body.single-product .szg-product-v173-content-section,
body.single-product .szg-product-v173-final-section,
body.single-product [data-id="v140contentsec"],
body.single-product [data-id="v140finalsec"],
body.single-product .elementor-element-v140contentsec,
body.single-product .elementor-element-v140finalsec{
  background:
    radial-gradient(circle at 12% 8%,rgba(22,139,255,.055),transparent 30%),
    linear-gradient(180deg,#06111d 0%,#071521 100%)!important;
}
body.single-product [data-id="v140contentsec"]>.elementor-background-overlay,
body.single-product [data-id="v140finalsec"]>.elementor-background-overlay,
body.single-product .elementor-element-v140contentsec>.elementor-background-overlay,
body.single-product .elementor-element-v140finalsec>.elementor-background-overlay{
  display:none!important;
}

/* „Wszystko o produkcie” — ciemna karta, ale odcięta od tła subtelną ramą. */
body.single-product .szg-product-v140-content-shell{
  border:1px solid rgba(49,103,138,.42)!important;
  border-radius:12px!important;
  color:#b9c8d1!important;
  background:
    radial-gradient(circle at 100% 0,rgba(22,139,255,.055),transparent 28%),
    linear-gradient(145deg,#091a28,#071521)!important;
  box-shadow:0 18px 44px rgba(0,0,0,.22)!important;
}
body.single-product .szg-product-v140-content-head .eyebrow{
  color:#b6ef1b!important;
}
body.single-product .szg-product-v140-content-head h2{
  color:#f5f8fa!important;
}
body.single-product .szg-product-v140-content-head p{
  color:#91a5b2!important;
}
body.single-product .szg-product-v140-content{
  max-width:980px!important;
  color:#b9c8d1!important;
}
body.single-product .szg-product-v140-content p,
body.single-product .szg-product-v140-content li,
body.single-product .szg-product-v140-content td,
body.single-product .szg-product-v140-content th{
  color:#b9c8d1!important;
  font-size:14.5px!important;
  line-height:1.76!important;
}
body.single-product .szg-product-v140-content h2,
body.single-product .szg-product-v140-content h3,
body.single-product .szg-product-v140-content h4,
body.single-product .szg-product-v140-content h5,
body.single-product .szg-product-v140-content h6{
  color:#f2f7fa!important;
}
body.single-product .szg-product-v140-content strong,
body.single-product .szg-product-v140-content b{
  color:#e9f0f4!important;
}
body.single-product .szg-product-v140-content a{
  color:#55b6ff!important;
  text-decoration-color:rgba(85,182,255,.45)!important;
}
body.single-product .szg-product-v140-content a:hover{
  color:#b6ef1b!important;
}
body.single-product .szg-product-v140-content li::marker{
  color:#b6ef1b!important;
}
body.single-product .szg-product-v140-content table{
  overflow:hidden!important;
  border:1px solid rgba(62,119,153,.34)!important;
  border-radius:8px!important;
  background:#081923!important;
}
body.single-product .szg-product-v140-content th,
body.single-product .szg-product-v140-content td{
  border-color:rgba(62,119,153,.25)!important;
  background:rgba(255,255,255,.018)!important;
}
body.single-product .szg-product-v140-content blockquote{
  border-left:3px solid #b6ef1b!important;
  color:#c5d1d8!important;
  background:rgba(182,239,27,.045)!important;
}
body.single-product .szg-product-v140-content hr{
  border-color:rgba(67,130,169,.22)!important;
}

/* Końcowe CTA pozostaje osobną kartą, ale nie siedzi już na jasnym pasie. */
body.single-product .szg-product-v140-final{
  border-color:rgba(49,103,138,.44)!important;
  background:
    radial-gradient(circle at 100% 0,rgba(182,239,27,.045),transparent 30%),
    linear-gradient(145deg,#081827,#06131f)!important;
  box-shadow:0 16px 38px rgba(0,0,0,.18)!important;
}
body.single-product .szg-product-v140-final h2{color:#f6f9fb!important}
body.single-product .szg-product-v140-final p{color:#9fb0bb!important}

/* Galeria contain: zamiast pustych / białych boków — przygaszone tło z tej samej grafiki. */
body.single-product .szg-product-v140-gallery .wd-gallery-images .woocommerce-product-gallery__image.szg-product-image-fit-contain{
  position:relative!important;
  isolation:isolate!important;
  background:#071725!important;
}
body.single-product .szg-product-v140-gallery .wd-gallery-images .woocommerce-product-gallery__image.szg-product-image-fit-contain:before{
  content:""!important;
  position:absolute!important;
  z-index:0!important;
  inset:-28px!important;
  pointer-events:none!important;
  background-image:var(--szg-gallery-backdrop,none)!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
  background-size:cover!important;
  filter:blur(24px) brightness(.38) saturate(.86)!important;
  opacity:.82!important;
  transform:scale(1.08)!important;
}
body.single-product .szg-product-v140-gallery .wd-gallery-images .woocommerce-product-gallery__image.szg-product-image-fit-contain:after{
  content:""!important;
  position:absolute!important;
  z-index:1!important;
  inset:0!important;
  pointer-events:none!important;
  background:linear-gradient(90deg,rgba(4,14,24,.44),rgba(4,14,24,.10) 30%,rgba(4,14,24,.10) 70%,rgba(4,14,24,.44))!important;
}
body.single-product .szg-product-v140-gallery .wd-gallery-images .woocommerce-product-gallery__image.szg-product-image-fit-contain>a{
  position:relative!important;
  z-index:2!important;
  background:transparent!important;
}
body.single-product .szg-product-v140-gallery .wd-gallery-images .woocommerce-product-gallery__image.szg-product-image-fit-contain img,
body.single-product .szg-product-v140-gallery .wd-gallery-images .woocommerce-product-gallery__image.szg-product-image-fit-contain>a>img{
  position:relative!important;
  z-index:2!important;
  background:transparent!important;
  box-shadow:0 16px 36px rgba(0,0,0,.20)!important;
}

@media(max-width:767px){
  body.single-product [data-id="v140contentsec"],
  body.single-product .elementor-element-v140contentsec{
    padding-top:34px!important;
    padding-bottom:34px!important;
  }
  body.single-product [data-id="v140finalsec"],
  body.single-product .elementor-element-v140finalsec{
    padding-bottom:38px!important;
  }
  body.single-product .szg-product-v140-content-shell{
    padding:24px 18px!important;
  }
  body.single-product .szg-product-v140-content p,
  body.single-product .szg-product-v140-content li{
    font-size:14px!important;
    line-height:1.72!important;
  }
  body.single-product .szg-product-v140-gallery .wd-gallery-images .woocommerce-product-gallery__image.szg-product-image-fit-contain:before{
    filter:blur(18px) brightness(.34) saturate(.82)!important;
    opacity:.76!important;
  }
}



/* ========================================================================== 
   SZG 1.7.4 — FIX: DARK SECTION + NATURAL FEATURED COVER RATIO
   Źródłowy fallback. Decydujące reguły są dodatkowo wypisywane w wp_footer,
   ponieważ Elementor ładuje część CSS layoutu już po product.css.
   ========================================================================== */
body.single-product .elementor-section.szg-product-v140{background:#06111d!important}
body.single-product .szg-product-v174-content-section,
body.single-product .szg-product-v174-final-section{background:linear-gradient(180deg,#06111d,#071521)!important}
body.single-product .szg-product-v174-content-column>.elementor-widget-wrap{
  border:1px solid rgba(49,103,138,.42)!important;
  border-radius:12px!important;
  background:linear-gradient(145deg,#091a28,#071521)!important;
}
body.single-product .szg-product-v140-gallery .wd-gallery-images .woocommerce-product-gallery__image{
  aspect-ratio:var(--szg-gallery-aspect,4/5)!important;
}
body.single-product .szg-product-v140-gallery .wd-gallery-images .woocommerce-product-gallery__image img{
  object-fit:var(--szg-gallery-fit,contain)!important;
}
body.single-product .szg-product-v140-gallery .wd-gallery-thumb img{object-fit:cover!important}


/* ==========================================================================
   SZG 1.7.7 — STABLE 1.7.4 GALLERY + DARK BACKGROUND ONLY
   Celowo NIE dotykamy opacity/visibility/height/transform/Swiper.
   Usuwamy wyłącznie białe tło z wrapperów galerii.
   ========================================================================== */
body.single-product .szg-product-v140-gallery .woocommerce-product-gallery,
body.single-product .szg-product-v140-gallery .wd-gallery-images,
body.single-product .szg-product-v140-gallery .wd-gallery-images .wd-carousel-inner,
body.single-product .szg-product-v140-gallery .wd-gallery-images .wd-carousel,
body.single-product .szg-product-v140-gallery .wd-gallery-images .wd-carousel-wrap,
body.single-product .szg-product-v140-gallery .wd-gallery-images .wd-carousel-item,
body.single-product .szg-product-v140-gallery .woocommerce-product-gallery__wrapper,
body.single-product .szg-product-v140-gallery .woocommerce-product-gallery__image,
body.single-product .szg-product-v140-gallery .woocommerce-product-gallery__image>a{
  background:#071725!important;
}
body.single-product .szg-product-v140-gallery .wd-gallery-images .woocommerce-product-gallery__image img,
body.single-product .szg-product-v140-gallery .wd-gallery-images .woocommerce-product-gallery__image>a>img,
body.single-product .szg-product-v140-gallery .wd-gallery-images img.wp-post-image{
  background:transparent!important;
}

/* ========================================================================== 
   SZG 1.7.9 — PRODUCT DESKTOP COMPACT POLISH
   Cel: mniej „rozciągnięty” hero produktu, szerszy panel danych i ciaśniejsza
   karta po prawej, bez rozwalania mobile.
   ========================================================================== */
@media(min-width:1180px){
  body.single-product .szg-product-v140-hero > .elementor-container,
  body.single-product .szg-product-v140-hero > .e-con-inner{
    align-items:flex-start!important;
    gap:22px!important;
  }

  body.single-product .szg-product-v140-hero .szg-product-v140-gallery{
    width:43%!important;
    max-width:43%!important;
    flex:0 0 43%!important;
  }

  body.single-product .szg-product-v140-hero .szg-product-v140-buybox{
    width:57%!important;
    max-width:57%!important;
    flex:0 0 57%!important;
    padding:20px 24px!important;
  }

  body.single-product .szg-product-v140-buybox h1,
  body.single-product .szg-product-v140-buybox h1.product_title,
  body.single-product .szg-product-v140-buybox .product_title{
    margin:0 0 7px!important;
    font-size:clamp(26px,1.95vw,34px)!important;
    line-height:1.06!important;
  }

  body.single-product .szg-product-v140-buybox .woocommerce-product-details__short-description,
  body.single-product .szg-product-v140-buybox .woocommerce-product-details__short-description p{
    margin:0 0 7px!important;
    font-size:12px!important;
    line-height:1.45!important;
  }

  body.single-product .szg-product-v140-buybox .price{
    margin:6px 0 8px!important;
    font-size:29px!important;
  }

  body.single-product .szg-product-v167-chips{
    margin:0 0 8px!important;
  }

  body.single-product .szg-product-v167-chip{
    min-height:28px!important;
    padding:0 9px!important;
    font-size:8.5px!important;
  }

  body.single-product .szg-product-v140-buybox .stock.szg-product-v167-stockline,
  body.single-product .szg-product-v140-buybox .stock.in-stock.szg-product-v167-stockline{
    margin:0 0 8px!important;
    font-size:9.5px!important;
  }

  body.single-product .szg-product-v140-buybox form.cart:not(.variations_form){
    grid-template-columns:84px minmax(0,1fr) 118px!important;
    gap:6px!important;
  }

  body.single-product .szg-product-v140-buybox form.cart .quantity input.qty,
  body.single-product .szg-product-v140-buybox form.cart .quantity .minus,
  body.single-product .szg-product-v140-buybox form.cart .quantity .plus,
  body.single-product .szg-product-v140-buybox form.cart button.single_add_to_cart_button,
  body.single-product .szg-product-v140-buybox form.cart .wd-buy-now-btn{
    min-height:44px!important;
  }

  body.single-product .szg-product-v167-quicktrust{
    margin-top:8px!important;
    padding-top:8px!important;
  }

  body.single-product .szg-product-v167-quicktrust > div{
    padding:0 7px!important;
    gap:5px!important;
  }

  body.single-product .szg-product-v167-quicktrust b{
    width:20px!important;
    height:20px!important;
    flex:0 0 20px!important;
    font-size:8px!important;
  }

  body.single-product .szg-product-v167-quicktrust span{
    font-size:8.5px!important;
    line-height:1.2!important;
  }

  body.single-product .szg-product-v171-full-info{
    margin-top:8px!important;
  }

  body.single-product .szg-product-v171-full-info-heading{
    min-height:34px!important;
    padding:8px 11px!important;
  }

  body.single-product .szg-product-v171-full-info .szg-product-v167-full-info-content{
    padding:7px 9px 9px!important;
  }

  body.single-product .szg-product-v140-buybox table.woocommerce-product-attributes tr,
  body.single-product .szg-product-v140-buybox tr.woocommerce-product-attributes-item{
    grid-template-columns:minmax(112px,32%) minmax(0,68%)!important;
  }

  body.single-product .szg-product-v140-buybox table.woocommerce-product-attributes th,
  body.single-product .szg-product-v140-buybox table.woocommerce-product-attributes td,
  body.single-product .szg-product-v140-buybox .woocommerce-product-attributes-item__label,
  body.single-product .szg-product-v140-buybox .woocommerce-product-attributes-item__value{
    min-height:40px!important;
    padding:8px 11px!important;
  }

  body.single-product .szg-product-v140-buybox table.woocommerce-product-attributes th,
  body.single-product .szg-product-v140-buybox .woocommerce-product-attributes-item__label{
    font-size:10.5px!important;
  }

  body.single-product .szg-product-v140-buybox table.woocommerce-product-attributes td,
  body.single-product .szg-product-v140-buybox .woocommerce-product-attributes-item__value{
    font-size:12px!important;
  }
}

@media(min-width:901px) and (max-width:1179px){
  body.single-product .szg-product-v140-hero > .elementor-container,
  body.single-product .szg-product-v140-hero > .e-con-inner{
    gap:20px!important;
  }

  body.single-product .szg-product-v140-hero .szg-product-v140-gallery{
    width:45%!important;
    max-width:45%!important;
    flex:0 0 45%!important;
  }

  body.single-product .szg-product-v140-hero .szg-product-v140-buybox{
    width:55%!important;
    max-width:55%!important;
    flex:0 0 55%!important;
    padding:21px 23px!important;
  }

  body.single-product .szg-product-v140-buybox table.woocommerce-product-attributes tr,
  body.single-product .szg-product-v140-buybox tr.woocommerce-product-attributes-item{
    grid-template-columns:minmax(108px,34%) minmax(0,66%)!important;
  }
}

@media(max-width:900px){
  body.single-product .szg-product-v140-hero .szg-product-v140-gallery,
  body.single-product .szg-product-v140-hero .szg-product-v140-buybox{
    width:100%!important;
    max-width:100%!important;
    flex:0 0 100%!important;
  }
}


/* ==========================================================================
   SZG 1.7.10 — MOBILE HERO REORDER / COMPACT FIRST SCREEN
   Na telefonie pokazujemy najpierw okładkę, potem skondensowany buybox.
   Chowamy miniatury z pierwszego ekranu, żeby tytuł + CTA weszły wyżej.
   ========================================================================== */
@media(max-width:680px){
  body.single-product .szg-product-v140-hero>.elementor-container,
  body.single-product .szg-product-v140-hero>.e-con-inner{
    display:flex!important;
    flex-direction:column!important;
    gap:10px!important;
  }

  body.single-product .szg-product-v140-gallery{
    order:1!important;
    margin:0 0 6px!important;
  }

  body.single-product .szg-product-v140-buybox{
    order:2!important;
    margin:0!important;
    padding:14px 14px 16px!important;
  }

  /* Usuwamy jasną kartę / tło motywu wokół głównego obrazu. */
  body.single-product .szg-product-v140-gallery .woocommerce-product-gallery,
  body.single-product .szg-product-v140-gallery .woocommerce-product-gallery__wrapper,
  body.single-product .szg-product-v140-gallery .wd-gallery-images,
  body.single-product .szg-product-v140-gallery .wd-gallery-images .wd-carousel,
  body.single-product .szg-product-v140-gallery .wd-gallery-images .wd-carousel-inner,
  body.single-product .szg-product-v140-gallery .wd-gallery-images .wd-carousel-wrap{
    background:transparent!important;
    box-shadow:none!important;
  }

  /* Na mobile zostawiamy tylko główne zdjęcie + kropki. Miniatury są niżej
     zbędne i wypychają CTA poza pierwszy ekran. */
  body.single-product .szg-product-v140-gallery .wd-gallery-thumb{
    display:none!important;
  }

  body.single-product .szg-product-v140-gallery .wd-gallery-images .woocommerce-product-gallery__image,
  body.single-product .szg-product-v140-gallery .wd-gallery-images .woocommerce-product-gallery__image>a{
    height:clamp(220px,62vw,280px)!important;
    max-height:280px!important;
    aspect-ratio:auto!important;
    border-radius:12px!important;
  }

  body.single-product .szg-product-v140-gallery .wd-gallery-images .woocommerce-product-gallery__image img,
  body.single-product .szg-product-v140-gallery .wd-gallery-images .woocommerce-product-gallery__image>a>img,
  body.single-product .szg-product-v140-gallery .wd-gallery-images img.wp-post-image{
    width:100%!important;
    height:100%!important;
    max-height:280px!important;
    object-fit:contain!important;
    background:transparent!important;
    border-radius:12px!important;
  }

  body.single-product .szg-product-v140-buybox .woocommerce-breadcrumb,
  body.single-product .szg-product-v140-buybox .wd-breadcrumbs,
  body.single-product .szg-product-v140-buybox .woocommerce-product-details__short-description,
  body.single-product .szg-product-v167-quicktrust{
    display:none!important;
  }

  body.single-product .szg-product-v140-buybox h1,
  body.single-product .szg-product-v140-buybox h1.product_title,
  body.single-product .szg-product-v140-buybox .product_title{
    margin:2px 0 10px!important;
    font-size:18px!important;
    line-height:1.15!important;
    letter-spacing:-.02em!important;
  }

  body.single-product .szg-product-v140-buybox .price{
    margin:0 0 12px!important;
    font-size:22px!important;
  }

  body.single-product .szg-product-v167-chips{
    gap:6px!important;
    margin:0 0 10px!important;
  }

  body.single-product .szg-product-v167-chip{
    min-height:28px!important;
    padding:0 8px!important;
    font-size:8.5px!important;
  }

  body.single-product .szg-product-v140-buybox .stock,
  body.single-product .szg-product-v140-buybox .stock.in-stock,
  body.single-product .szg-product-v140-buybox .stock.wd-style-with-bg{
    margin:0 0 10px!important;
    font-size:10px!important;
  }

  body.single-product .szg-product-v140-buybox form.cart:not(.variations_form){
    grid-template-columns:72px minmax(0,1fr)!important;
    gap:6px!important;
  }

  body.single-product .szg-product-v140-buybox form.cart .quantity input.qty,
  body.single-product .szg-product-v140-buybox form.cart .quantity .minus,
  body.single-product .szg-product-v140-buybox form.cart .quantity .plus,
  body.single-product .szg-product-v140-buybox form.cart button.single_add_to_cart_button,
  body.single-product .szg-product-v140-buybox form.cart .wd-buy-now-btn{
    min-height:42px!important;
  }

  body.single-product .szg-product-v140-buybox form.cart:not(.variations_form) button.single_add_to_cart_button,
  body.single-product .szg-product-v140-buybox form.cart:not(.variations_form) .single_add_to_cart_button{
    font-size:12px!important;
    letter-spacing:.02em!important;
  }

  body.single-product .szg-product-v140-buybox form.cart:not(.variations_form) .wd-buy-now-btn,
  body.single-product .szg-product-v140-buybox form.cart:not(.variations_form) #wd-add-to-cart{
    grid-column:1 / -1!important;
    min-height:40px!important;
    font-size:12px!important;
  }

  body.single-product .szg-product-v171-full-info{
    margin-top:12px!important;
  }

  body.single-product .szg-product-v171-full-info .szg-product-v167-full-info-content{
    padding:6px 8px 8px!important;
  }

  body.single-product .szg-product-v167-full-info table.woocommerce-product-attributes th,
  body.single-product .szg-product-v167-full-info table.woocommerce-product-attributes td{
    min-height:34px!important;
    padding:6px 8px!important;
  }
}


/* ========================================================================== 
   SZG 1.7.11 — MOBILE GALLERY: BLURRED ACTIVE IMAGE BACKDROP
   Stała rama pozostaje z 1.7.10. Każdy slajd pokazujemy w całości (contain),
   a wolną przestrzeń wypełnia rozmyta, przygaszona wersja TEGO SAMEGO zdjęcia.
   Nie dotykamy Swipera, opacity/visibility ani inicjalizacji galerii.
   ========================================================================== */
@media(max-width:680px){
  body.single-product .szg-product-v140-gallery .wd-gallery-images .woocommerce-product-gallery__image{
    position:relative!important;
    isolation:isolate!important;
    overflow:hidden!important;
    height:clamp(220px,62vw,280px)!important;
    max-height:280px!important;
    aspect-ratio:auto!important;
    border:1px solid rgba(55,127,169,.34)!important;
    border-radius:12px!important;
    background:#071725!important;
  }

  /* Tło zawsze bierze URL z konkretnego slajdu ustawiony przez product.js. */
  body.single-product .szg-product-v140-gallery .wd-gallery-images .woocommerce-product-gallery__image.szg-product-image-fit-contain:before,
  body.single-product .szg-product-v140-gallery .wd-gallery-images .woocommerce-product-gallery__image.szg-product-image-mobile-backdrop:before{
    content:""!important;
    position:absolute!important;
    z-index:0!important;
    inset:-22px!important;
    pointer-events:none!important;
    background-image:var(--szg-gallery-backdrop,none)!important;
    background-position:center center!important;
    background-repeat:no-repeat!important;
    background-size:cover!important;
    filter:blur(22px) brightness(.48) saturate(.98)!important;
    opacity:.92!important;
    transform:scale(1.10)!important;
  }

  body.single-product .szg-product-v140-gallery .wd-gallery-images .woocommerce-product-gallery__image.szg-product-image-fit-contain:after,
  body.single-product .szg-product-v140-gallery .wd-gallery-images .woocommerce-product-gallery__image.szg-product-image-mobile-backdrop:after{
    content:""!important;
    position:absolute!important;
    z-index:1!important;
    inset:0!important;
    pointer-events:none!important;
    background:linear-gradient(180deg,rgba(3,13,22,.12),rgba(3,13,22,.20))!important;
  }

  body.single-product .szg-product-v140-gallery .wd-gallery-images .woocommerce-product-gallery__image>a{
    position:relative!important;
    z-index:2!important;
    display:flex!important;
    width:100%!important;
    height:100%!important;
    align-items:center!important;
    justify-content:center!important;
    background:transparent!important;
  }

  body.single-product .szg-product-v140-gallery .wd-gallery-images .woocommerce-product-gallery__image img,
  body.single-product .szg-product-v140-gallery .wd-gallery-images .woocommerce-product-gallery__image>a>img,
  body.single-product .szg-product-v140-gallery .wd-gallery-images img.wp-post-image,
  body.single-product .szg-product-v140-gallery .wd-gallery-images .woocommerce-product-gallery__image.szg-product-image-fit-native img,
  body.single-product .szg-product-v140-gallery .wd-gallery-images .woocommerce-product-gallery__image.szg-product-image-fit-native>a>img{
    position:relative!important;
    z-index:2!important;
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-width:100%!important;
    max-height:280px!important;
    margin:0!important;
    padding:8px!important;
    object-fit:contain!important;
    object-position:center center!important;
    background:transparent!important;
    box-shadow:none!important;
    border-radius:12px!important;
  }
}


/* ========================================================================== 
   SZG 1.7.12 — DESKTOP GALLERY MATCHED TO BUYBOX + BLURRED BACKDROP
   Na desktopie galeria dostaje stałą, elegancką ramę wysokości dopasowanej
   do buyboxu. Każdy slajd pokazujemy w całości (contain), a tło wypełnia
   rozmyta wersja tej samej grafiki — tak jak zaakceptowaliśmy na mobile.
   ========================================================================== */
@media(min-width:901px){
  body.single-product .szg-product-v140-gallery{
    --szg-gallery-desktop-height:620px;
  }

  body.single-product .szg-product-v140-gallery .woocommerce-product-gallery,
  body.single-product .szg-product-v140-gallery .woocommerce-product-gallery__wrapper,
  body.single-product .szg-product-v140-gallery .wd-gallery-images,
  body.single-product .szg-product-v140-gallery .wd-gallery-images .wd-carousel,
  body.single-product .szg-product-v140-gallery .wd-gallery-images .wd-carousel-inner,
  body.single-product .szg-product-v140-gallery .wd-gallery-images .wd-carousel-wrap{
    background:transparent!important;
    box-shadow:none!important;
  }

  body.single-product .szg-product-v140-gallery .wd-gallery-images .woocommerce-product-gallery__image{
    position:relative!important;
    isolation:isolate!important;
    overflow:hidden!important;
    height:var(--szg-gallery-desktop-height)!important;
    max-height:720px!important;
    aspect-ratio:auto!important;
    border:1px solid rgba(55,127,169,.34)!important;
    border-radius:12px!important;
    background:#071725!important;
  }

  body.single-product .szg-product-v140-gallery .wd-gallery-images .woocommerce-product-gallery__image.szg-product-image-desktop-backdrop:before{
    content:""!important;
    position:absolute!important;
    z-index:0!important;
    inset:-26px!important;
    pointer-events:none!important;
    background-image:var(--szg-gallery-backdrop,none)!important;
    background-position:center center!important;
    background-repeat:no-repeat!important;
    background-size:cover!important;
    filter:blur(28px) brightness(.42) saturate(.95)!important;
    opacity:.9!important;
    transform:scale(1.09)!important;
  }

  body.single-product .szg-product-v140-gallery .wd-gallery-images .woocommerce-product-gallery__image.szg-product-image-desktop-backdrop:after{
    content:""!important;
    position:absolute!important;
    z-index:1!important;
    inset:0!important;
    pointer-events:none!important;
    background:linear-gradient(180deg,rgba(3,13,22,.16),rgba(3,13,22,.24))!important;
  }

  body.single-product .szg-product-v140-gallery .wd-gallery-images .woocommerce-product-gallery__image.szg-product-image-desktop-backdrop>a{
    position:relative!important;
    z-index:2!important;
    display:flex!important;
    width:100%!important;
    height:100%!important;
    align-items:center!important;
    justify-content:center!important;
    background:transparent!important;
  }

  body.single-product .szg-product-v140-gallery .wd-gallery-images .woocommerce-product-gallery__image.szg-product-image-desktop-backdrop img,
  body.single-product .szg-product-v140-gallery .wd-gallery-images .woocommerce-product-gallery__image.szg-product-image-desktop-backdrop>a>img,
  body.single-product .szg-product-v140-gallery .wd-gallery-images .woocommerce-product-gallery__image.szg-product-image-fit-native img,
  body.single-product .szg-product-v140-gallery .wd-gallery-images .woocommerce-product-gallery__image.szg-product-image-fit-native>a>img{
    position:relative!important;
    z-index:2!important;
    width:100%!important;
    height:100%!important;
    max-height:none!important;
    object-fit:contain!important;
    background:transparent!important;
    box-shadow:0 18px 40px rgba(0,0,0,.22)!important;
  }

  body.single-product .szg-product-v140-gallery .wd-gallery-thumb{
    margin-top:12px!important;
  }
}


/* ========================================================================== 
   SZG 1.7.13 — CART QUANTITY COLLISION FIX + NO TECHNICAL CUSTOMER NOTES
   Ilość nie może wystawać poza własną kolumnę i nachodzić na główne CTA.
   Dodatkowo stary techniczny komunikat o lokalizacji językowej jest twardo
   ukryty także na wypadek starego HTML/CSS z cache.
   ========================================================================== */
body.single-product .szg-product-v140-buybox form.cart:not(.variations_form) .quantity{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  overflow:hidden!important;
  position:relative!important;
  z-index:1!important;
}

body.single-product .szg-product-v140-buybox form.cart:not(.variations_form) .quantity input.qty,
body.single-product .szg-product-v140-buybox form.cart:not(.variations_form) .quantity .minus,
body.single-product .szg-product-v140-buybox form.cart:not(.variations_form) .quantity .plus{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  margin:0!important;
  transform:none!important;
  box-sizing:border-box!important;
}

body.single-product .szg-product-v140-buybox form.cart:not(.variations_form) button.single_add_to_cart_button,
body.single-product .szg-product-v140-buybox form.cart:not(.variations_form) .single_add_to_cart_button,
body.single-product .szg-product-v140-buybox form.cart:not(.variations_form) .wd-buy-now-btn,
body.single-product .szg-product-v140-buybox form.cart:not(.variations_form) #wd-add-to-cart{
  min-width:0!important;
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
  position:relative!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
  box-sizing:border-box!important;
}

body.single-product .szg-product-v167-language-note{
  display:none!important;
  visibility:hidden!important;
}

/* ==========================================================================
   SZG 1.7.14 — FULL-WIDTH PRODUCT INFO PANEL
   Panel „Pełne informacje o produkcie” jest tworzony przez JS jako zwykły
   element wewnątrz flexowego wrappera Elementora. Bez jawnej szerokości mógł
   kurczyć się do ~50% buyboxu. Wymuszamy pełną szerokość bez ruszania CTA,
   galerii, parametrów ani logiki produktu.
   ========================================================================== */
body.single-product .szg-product-v140-buybox .szg-product-v171-full-info,
body.single-product .szg-product-v140-buybox .szg-product-v167-full-info{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  flex:0 0 100%!important;
  flex-basis:100%!important;
  align-self:stretch!important;
  clear:both!important;
  box-sizing:border-box!important;
}

body.single-product .szg-product-v140-buybox .szg-product-v171-full-info-heading,
body.single-product .szg-product-v140-buybox .szg-product-v167-full-info-content,
body.single-product .szg-product-v140-buybox .szg-product-v167-full-info .wd-single-attrs,
body.single-product .szg-product-v140-buybox .szg-product-v167-full-info .wd-single-attrs.elementor-widget,
body.single-product .szg-product-v140-buybox .szg-product-v167-full-info .elementor-widget-container,
body.single-product .szg-product-v140-buybox .szg-product-v167-full-info table.woocommerce-product-attributes,
body.single-product .szg-product-v140-buybox .szg-product-v167-full-info table.woocommerce-product-attributes tbody{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  box-sizing:border-box!important;
}

/* 1.8.0: niezależne oceny bezpośrednio pod przyciskami zakupu. */
body.single-product .szg-product-v180-reviews{
  display:grid!important;
  width:100%!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
  margin:9px 0 0!important;
}
body.single-product .szg-product-v180-reviews>a{
  display:grid!important;
  min-height:42px!important;
  padding:7px 9px!important;
  grid-template-columns:16px minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  column-gap:7px!important;
  align-items:center!important;
  border:1px solid rgba(74,128,158,.45)!important;
  border-radius:7px!important;
  color:#edf4f7!important;
  background:rgba(8,27,41,.74)!important;
  text-decoration:none!important;
}
body.single-product .szg-product-v180-reviews>a:hover{border-color:#b6ef1b!important}
body.single-product .szg-product-v180-review-star{
  display:block!important;
  grid-row:1/3!important;
  width:15px!important;
  height:15px!important;
  background:#b6ef1b!important;
  clip-path:polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 94%,50% 72%,21% 94%,32% 57%,2% 35%,39% 35%)!important;
}
body.single-product .szg-product-v180-reviews b{font-size:10px!important;line-height:1.2!important}
body.single-product .szg-product-v180-reviews small{color:#91a6b3!important;font-size:10px!important;line-height:1.2!important}

body.single-product :is(a,button,input,select,summary):focus-visible{
  outline:3px solid #b6ef1b!important;
  outline-offset:3px!important;
}
@media(max-width:680px){
  body.single-product .szg-product-v167-chip,
  body.single-product .szg-product-v140-buybox .stock.szg-product-v167-stockline,
  body.single-product .szg-product-v167-dlc-warning span,
  body.single-product .szg-product-v167-quicktrust span,
  body.single-product .szg-product-v167-quicktrust b,
  body.single-product .szg-product-v167-full-info summary small{
    font-size:10px!important;
  }
}

/* ==========================================================================
   SZG 1.10.6 — OKRUSZKI KATEGORII NAD KARTĄ PRODUKTU
   Pełna ścieżka na desktopie, pojedynczy powrót do najbliższej kategorii
   na telefonie. Bez powtarzania długiego tytułu produktu.
   ========================================================================== */
body.single-product .szg-product-breadcrumbs{
  display:block!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  color:#8197a5!important;
  background:#06111d!important;
  font-family:var(--wd-text-font,Arial,Helvetica,sans-serif)!important;
  line-height:1.4!important;
}
body.single-product .szg-product-breadcrumbs__inner{
  display:flex!important;
  width:min(1540px,calc(100% - 48px))!important;
  min-height:42px!important;
  margin:0 auto!important;
  padding:12px 0 0!important;
  align-items:flex-end!important;
  box-sizing:border-box!important;
}
body.single-product .szg-product-breadcrumbs__desktop{
  display:flex!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:0!important;
  list-style:none!important;
  font-size:12px!important;
}
body.single-product .szg-product-breadcrumbs__desktop li{
  display:inline-flex!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  align-items:center!important;
  list-style:none!important;
}
body.single-product .szg-product-breadcrumbs__desktop li+li:before{
  content:'›'!important;
  display:inline-block!important;
  margin:0 9px!important;
  color:#42647a!important;
  font-weight:700!important;
}
body.single-product .szg-product-breadcrumbs a{
  color:#91a8b6!important;
  font-weight:700!important;
  text-decoration:none!important;
  transition:color .16s ease!important;
}
body.single-product .szg-product-breadcrumbs__desktop li:last-child a{
  color:#dce7ed!important;
}
body.single-product .szg-product-breadcrumbs a:hover{
  color:#b6ef1b!important;
}
body.single-product .szg-product-breadcrumbs__mobile{
  display:none!important;
}
body.single-product.szg-product-breadcrumbs-active .szg-product-v140-hero{
  padding-top:12px!important;
}

@media(max-width:680px){
  body.single-product .szg-product-breadcrumbs__inner{
    width:min(100% - 20px,1540px)!important;
    min-height:38px!important;
    padding-top:8px!important;
    align-items:center!important;
  }
  body.single-product .szg-product-breadcrumbs__desktop{
    display:none!important;
  }
  body.single-product .szg-product-breadcrumbs__mobile{
    display:inline-flex!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:32px!important;
    align-items:center!important;
    gap:5px!important;
    overflow:hidden!important;
    color:#a9bbc5!important;
    font-size:12px!important;
    white-space:nowrap!important;
    text-overflow:ellipsis!important;
  }
  body.single-product .szg-product-breadcrumbs__mobile>span[aria-hidden="true"]{
    color:#b6ef1b!important;
    font-size:22px!important;
    font-weight:500!important;
    line-height:1!important;
  }
  body.single-product .szg-product-breadcrumbs__mobile strong{
    min-width:0!important;
    overflow:hidden!important;
    color:#edf5f8!important;
    text-overflow:ellipsis!important;
  }
  body.single-product.szg-product-breadcrumbs-active .szg-product-v140-hero{
    padding-top:8px!important;
  }
}
