/* Ukryj domyślne elementy WooCommerce variations form */
.variations_form .wc-variation-selects {
  display: none !important;
}

/* Ukryj tylko woocommerce-variation (ceny) - button zostawiamy widoczny */
.variations_form .single_variation_wrap .woocommerce-variation.single_variation {
  display: none !important;
}

/* Wariant niedostępny - stylizacja */
.product-price-outer.variation-unavailable .product-price-left {
  color: var(--text-muted, #999);
}

.product-price-outer.variation-unavailable .variation-unavailable-msg .h2 {
  color: var(--danger, #dc3545);
  font-size: 2rem;
}

.product-price-outer.variation-unavailable .variation-unavailable-msg span {
  color: var(--text-muted, #666);
  font-size: 1.4rem;
}

.sec-breadcrumb + .sec-product-detail{
  padding-top: 0;
}
.product-detail{
  align-items: flex-start;
  justify-content: space-between;
}
.product-left{
  width: 83rem;
}
.product-main-outer{
  width: 100%;
  justify-content: space-between;
  align-items: flex-start;
}
.product-main-oute:last-child{
  margin-bottom: 0;
}
.product-thumb-outer{
  width: 6.4rem;
  margin-right: 1.2rem;
}
.product-main{
  width: 100%;
  max-width: calc(100% - 7.6rem);
  position: relative;
}
.product-thumb-slider{
  height: calc(100% - 6.9rem);
}
.product-thumb{
  width: 100% !important;
  height: 6.4rem !important;
  border: 1px solid var(--border-secondary) !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 1.2rem;
  overflow: hidden;
  position: relative;
  margin: 0.6rem 0;
  cursor: pointer;
}
.product-thumb.slick-current{
  border-color: var(--primary) !important;
}
.product-thumb > img{
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}
.video-overlay{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-main{
  overflow: hidden;
}
.product-main-img{
  width: 100% !important;
  height: 58.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem;
}
.product-main-img img{
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}
.slick-button{
  width: 100%;
  height: 3.2rem;
  display: flex !important;
  align-items: center;
  justify-content: center;
}
.slick-disabled{
  display: none !important;
}
.product-main-img video{
  width: 100%;
  height: auto;
  border: 0;
}
.product-main .badge-container{
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  z-index: 1;
  display: flex;
  gap:1rem;
}
.product-main .tag{
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  display: flex;
  align-items: center;
  border: 1px solid var(--border-secondary);
  font-size: 1.2rem;
  line-height: 1.6rem;
  border-radius: 999px;
  font-weight: 500;
  letter-spacing: 0;
  padding: 0.4rem 1.2rem 0.4rem 0.4rem;
}
.product-main .tag img{
  width: 2.4rem;
  height: auto;
  margin-right: 0.4rem;
}
.btn-configurator{
  position: absolute;
  bottom: 1.2rem;
  right: 1.2rem;
  padding: 0.8rem 1.2rem;
  text-align: center;
  border: 1px solid var(--border-secondary);
  border-radius: 1.2rem;
  font-size: 1.4rem;
  line-height: 2.4rem;
  letter-spacing: -0.28px;
  color: var(--black);
  font-weight: 500;
}
.btn-configurator img{
  width: 2.4rem;
  height: auto;
  margin: 0 auto;
}
.product-right{
  width: 58.6rem;
}
.product-info-top{
  background: var(--white);
  padding: 2rem;
}
.product-info-top-head{
  gap: 1.6rem;
}
.product-info-head span{
  display: flex;
  position: relative;
  font-size: 1.2rem;
  line-height: 1.6rem;
  letter-spacing: 0;
  font-weight: 500;
  color: #697289;
}
.product-info-head span img{
  width: 1.6rem;
  height: auto;
  margin-right: 0.4rem;
}
.product-info-box{
  padding: 1.6rem;
  border-radius: 1.6rem;
}
.product-info-box:last-child{
  margin-bottom: 0;
}
.product-info-box-top{
  margin-bottom: 1.6rem;
  padding-bottom: 1.6rem;
}
.product-info-box-top:last-child{
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}
.product-info-box-top label{
  color: #323745;
}
.product-info-box-top div{
  border-radius: 999px;
  font-size: 1.2rem;
  line-height: 1.6rem;
  font-weight: 500;
  letter-spacing: 0;
  padding: 0.4rem 0.4rem 0.4rem 0.6rem;
  color: #3D4354;
}
.product-info-box-top p{
  margin: 0 0.6rem 0 0;
}
.product-info-box-top span{
  background: #3D4354;
  display: block;
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
  color: var(--white);
}
.product-price-outer:last-child{
  margin-bottom: 0;
}
.product-price-outer {
  gap: 2.4rem;
}
.product-price-outer p{
  color: #697289;
  margin-left: auto;
}
.product-price-left ins,
.product-price-left del{
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  font-size: 1.6rem;
  line-height: 2.4rem;
  letter-spacing: -0.16px;
  margin-bottom: 0.4rem;
}
.product-price-left ins .h2,
.product-price-left del .h2{
  margin-right: 0.8rem;
}
.product-price-left ins .h2{
  color: var(--black);
}
.product-price-left del .h2{
  color: #D52C2A;
}
.product-price-left ins span,
.product-price-left del span{
  margin-bottom: 0.6rem;
}
.product-price-left ins:has( + del) .h2{
  font-size: 1.6rem;
  line-height: 2.4rem;
  letter-spacing: -0.48px;
  text-decoration: line-through;
}
.product-price-left ins:has( + del) span{
  display: none;
}
.product-info-bottom{
  gap: 1.6rem;
}
.product-info-btn .btn{
  width: 100%;
}
.product-info-items{
  margin-top: 1.6rem;
  gap: 1.6rem;
}
.product-info-item{
  width: 50%;
  font-size: 1.4rem;
  line-height: 2.4rem;
  letter-spacing: -0.28px;
  font-weight: 500;
  color: var(--black);
  padding: 2rem;
}
.product-info-item img{
  width: 2.4rem;
  height: auto;
  flex-shrink: 0;
  margin-right: 1.6rem;
}
.product-text{
  padding: 3.2rem;
}
.product-text:last-child{
  margin-bottom: 0;
}
.product-text p{
  font-size: 1.6rem;
  line-height: 2.4rem;
  letter-spacing: -0.32px;
}
.product-tab ul{
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.product-tab li{
  flex: 1 1 0;
}
.product-tab-link{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.2rem;
  width: 100%;
  font-size: 1.4rem;
  line-height: 2rem;
  letter-spacing: -0.14px;
  font-weight: 500;
  color: #697289;
}
li.active .product-tab-link,
li:hover .product-tab-link{
  color: var(--black);
}
li.active .product-tab-link::after,
li:hover .product-tab-link::after{
  position: absolute;
  content: "";
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 0.2rem;
  background: var(--primary);
}
.product-tab-info{
  display: none;
}
.product-tab-info.active{
  display: block;
}
.product-tab-desc:last-child{
  margin-bottom: 0;
}
.product-tab-desc .h1, 
.product-tab-desc .h2, 
.product-tab-desc .h3, 
.product-tab-desc .h4,
.product-tab-desc h1,
.product-tab-desc h2,
.product-tab-desc h3,
.product-tab-desc h4{
  font-size: 2.8rem;
  line-height: 3.6rem;
  letter-spacing: -0.56px;
  font-weight: 500;
  margin: 4rem 0 2rem;
}
.product-tab-desc h5,
.product-tab-desc h6{
  font-size: 2rem;
  line-height: 2.8rem;
  letter-spacing: -0.4px;
  margin: 2.8rem 0 1.2rem;
  font-weight: 500;
}
.product-tab-desc h1:first-child,
.product-tab-desc h2:first-child,
.product-tab-desc h3:first-child,
.product-tab-desc h4:first-child,
.product-tab-desc h5:first-child,
.product-tab-desc h6:first-child{
  margin-top: 0;
}
.product-tab-desc h1:last-child,
.product-tab-desc h2:last-child,
.product-tab-desc h3:last-child,
.product-tab-desc h4:last-child,
.product-tab-desc h5:last-child,
.product-tab-desc h6:last-child{
  margin-bottom: 0;
}
.product-video{
  margin: 4.4rem 0;
  border-radius: 1.2rem;
  position: relative;
  overflow: hidden;
}
.product-video:first-child{
  margin-top: 0;
}
.product-video:last-child{
  margin-bottom: 0;
}
.product-video video{
  width: 100%;
  height: 46.6rem;
  object-fit: cover;
  display: block;
}
.product-video-overlay{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-video-btn{
  width: 5.6rem;
  height: 5.6rem;
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}
.product-video.product-video-play .product-video-overlay{
  display: none;
}
.product-video-btn .icon-pause,
.product-video.product-video-play .product-video-btn .icon-play{
  display: none;
}
.product-video.product-video-play .icon-pause{
  display: block;
}
.product-tab-desc li{
  padding: 0.8rem 0 0.8rem 2.8rem;
  margin-bottom: 0;
  font-size: 1.4rem;
  line-height: 2rem;
  letter-spacing: -0.14px;
  color: var(--black);
}
.product-tab-desc li:last-child{
  margin-bottom: 0;
}
.product-tab-desc li::after{
  top: 0.8rem;
  width: 2rem;
  height: 2rem;
  background: url(../images/icon-check-fill-blue.png);
  background-size: cover;
  background-position: center;
}
.tab-card-item{
  margin-bottom: 1.2rem;
  padding: 1.2rem;
}
.tab-card-item:last-child{
  margin-bottom: 0;
}
.tab-card-img{
  width: 11.3rem;
  margin-right: 1.6rem;
}
.tab-card-img img{
  width: 100%;
  height: auto;
  border-radius: 0.8rem;
}
.tab-card-btn{
  margin-top: 1.6rem;
}
.product-collapse{
  border: 1px solid var(--border-secondary);
  border-radius: 1.2rem;
  margin-bottom: 1.2rem;
}
.product-collapse.expand{
  background: var(--secondary);
}
.product-collapse:last-child{
  margin-bottom: 0;
}
.product-collapse-head{
  width: 100%;
  padding: 1.6rem 5.2rem 1.6rem 1.6rem;
  position: relative;
  display: flex;
  align-items: center;
  text-align: left;
}
.product-collapse-head::after{
  position: absolute;
  content: "";
  right: 1.6rem;
  width: 2.4rem;
  height: 2.4rem;
  background-image: url(../images/icon-plus.png);
  background-position: center;
  background-repeat: no-repeat;
}
.product-collapse.expand .product-collapse-head::after{
  background-image: url(../images/icon-minus.png);
}
.product-collapse-info{
  padding: 0 5.2rem 1.6rem 1.6rem;
}
.product-collapse-body{
  display: none;
}
.product-collapse-info p{
  font-size: 1.4rem;
  line-height: 2rem;
  letter-spacing: -0.14px;
}
@media(min-width:1460px) and (max-width:1499.98px){
  .product-right {
    width: 54.6rem;
  }
  .product-info-item {
    padding: 2rem 1.6rem;
  }
  .product-info-item img {
    margin-right: 1.2rem;
  }
}
@media(min-width:1360px) and (max-width:1459.98px){
  .product-left {
    width: 75rem;
  }
  .product-main-img {
    height: 52rem;
  }
  .product-thumb-outer {
    width: 5.4rem;
  }
  .product-thumb {
    height: 5.4rem !important;
  }
  .product-main {
    max-width: calc(100% - 6.6rem);
  }
  .product-right {
    width: 49.6rem;
  }
  .product-info-item {
    padding: 1.6rem;
    min-height: 8.2rem;
  }
  .product-text {
    padding: 2.4rem;
  }
  .product-tab-desc .h1, 
  .product-tab-desc .h2, 
  .product-tab-desc .h3, 
  .product-tab-desc .h4,
  .product-tab-desc h1, 
  .product-tab-desc h2, 
  .product-tab-desc h3, 
  .product-tab-desc h4 {
    font-size: 2.6rem;
    line-height: 3.4rem;
    letter-spacing: -0.52px;
  }
  .product-video {
    margin: 3.2rem 0;
  }
  .product-video video {
    height: 42.2rem;
  }
}
@media(min-width:1200px) and (max-width:1359.98px){
  .product-left {
    width: 68rem;
  }
  .product-main-img {
    height: 52rem;
  }
  .product-thumb-outer {
    width: 5.4rem;
  }
  .product-thumb {
    height: 5.4rem !important;
  }
  .slick-button {
    height: 3rem;
  }
  .product-main {
    max-width: calc(100% - 6.6rem);
  }
  .product-right {
    width: 44rem;
  }
  .product-info-box {
    padding: 1.2rem;
  }
  .product-info-box-top {
    display: block;
  }
  .product-info-box-top label {
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
  }
  .product-info-box-top div {
    display: inline-flex;
  }
  .product-info-box .label {
    font-size: 1.3rem;
  }
  .product-info-item {
    padding: 1.6rem;
    min-height: 8.2rem;
  }
  .product-text {
    padding: 2.4rem;
  }
  .product-text br{
    display: none;
  }
  .product-text p {
    font-size: 1.5rem;
    line-height: 2.3rem;
    letter-spacing: -0.30px;
  }
  .product-tab-desc .h1, 
  .product-tab-desc .h2, 
  .product-tab-desc .h3, 
  .product-tab-desc .h4,
  .product-tab-desc h1, 
  .product-tab-desc h2, 
  .product-tab-desc h3, 
  .product-tab-desc h4 {
    font-size: 2.4rem;
    line-height: 3.2rem;
    letter-spacing: -0.48px;
    margin: 3.2rem 0 1.6rem;
  }
  .product-tab-desc br{
    display: none;
  }
  .product-video {
    margin: 3.2rem 0;
  }
  .product-video video {
    height: 38.25rem;
  }
}
@media(min-width:992px) and (max-width:1199.98px){
  .product-left {
    width: 56rem;
  }
  .product-main-img {
    height: 48rem;
  }
  .product-thumb-outer {
    width: 4.8rem;
    margin-right: 0.8rem;
  }
  .product-thumb {
    height: 4.8rem !important;
  }
  .product-main {
    max-width: calc(100% - 5.6rem);
  }
  .slick-button {
    height: 3rem;
  }
  .product-right {
    width: 35rem;
  }
  .product-info-top {
    padding: 1.6rem;
  }
  .product-info-box {
    padding: 1.2rem;
  }
  .product-info-box-top {
    display: block;
  }
  .product-info-box-top label {
    margin-bottom: 0.8rem;
  }
  .product-info-box .input-columns{
    display: block;
  }
  .product-info-box .input-column{
    width: 100%;
  }
  .product-price-outer {
    display: block;
  }
  .product-price-left {
    margin-bottom: 0.6rem;
  }
  .product-info-bottom {
    gap: 1rem;
  }
  .product-info-items {
    gap: 1.2rem;
    flex-wrap: wrap;
  }
  .product-info-item {
    width: 100%;
  }
  .product-tab-desc .h1, 
  .product-tab-desc .h2, 
  .product-tab-desc .h3, 
  .product-tab-desc .h4,
  .product-tab-desc h1, 
  .product-tab-desc h2, 
  .product-tab-desc h3, 
  .product-tab-desc h4 {
    font-size: 2.4rem;
    line-height: 3.2rem;
    letter-spacing: -0.48px;
    margin: 3.2rem 0 1.6rem;
  }
  .product-video {
    margin: 3.2rem 0;
  }
  .product-video video {
    height: 31.5rem;
  }
}
@media(min-width:768px) and (max-width:991.98px){
  .product-detail {
    display: block !important;
  }
  .product-left {
    width: 100%;
  }
  .product-right{
    display: none;
  }
  .product-info.hide-desktop {
    display: block !important;
    margin-bottom: 2rem;
  }
  .product-text {
    padding: 2.8rem;
  }
  .product-text br{
    display: none;
  }
  .product-text p {
    font-size: 1.5rem;
    line-height: 2.3rem;
    letter-spacing: -0.30px;
  }
  .product-tab-desc .h1, 
  .product-tab-desc .h2, 
  .product-tab-desc .h3, 
  .product-tab-desc .h4,
  .product-tab-desc h1, 
  .product-tab-desc h2, 
  .product-tab-desc h3, 
  .product-tab-desc h4 {
    font-size: 2.4rem;
    line-height: 3.2rem;
    letter-spacing: -0.48px;
    margin: 3.2rem 0 2rem;
  }
  .product-video {
    margin: 2.4rem 0;
  }
  .product-video video {
    height: 38.8rem;
  }
}
@media(max-width:767.98px){
  .product-detail {
    display: block !important;
  }
  .product-left {
    width: 100%;
  }
  .product-main-outer {
    flex-wrap: wrap;
  }
  .product-thumb-outer {
    width: 100%;
    margin-right: 0;
    display: none;
  }
  .product-main {
    max-width: 100%;
    order: -1;
  }
  .product-main-img {
    height: 33.9rem;
  }
  .slick-button {
    position: absolute;
    z-index: 1;
    height: 3.6rem;
    width: 3.8rem;
    border: 1px solid var(--border-secondary);
    border-radius: 0.8rem;
    top: calc(50% - 1.8rem);
    left: 0.5rem;
    background: var(--white);
  }
  .slick-next{
    left: auto !important;
    right: 0.5rem;
  }
  .btn-configurator {
    padding: 0.6rem 1rem;
    font-size: 1.3rem;
    line-height: 2.2rem;
    letter-spacing: -0.26px;
  }
  .product-right {
    width: 100%;
    display: none;
  }
  .product-info {
    margin-bottom: 2rem;
  }
  .product-info-top {
    padding: 1.6rem;
  }
  .product-info-top-head {
    gap: 1.6rem;
  }
  .product-info-head .h6{
    font-size: 2rem;
    line-height: 2.8rem;
    letter-spacing: -0.40px;
  }
  .product-info-box-top {
    display: block;
  }
  .product-info-box-top label {
    margin-bottom: 0.8rem;
    display: block;
    width: 100%;
  }
  .product-price-outer {
    display: block;
  }
  .product-price-left {
    width: 100%;
    margin-bottom: 0.8rem;
  }
  .product-info-bottom {
    gap: 1.2rem;
  }
  .product-info-items {
    flex-wrap: wrap;
  }
  .product-info-item {
    width: 100%;
  }
  .product-text {
    padding: 2.4rem;
  }
  .product-text br{
    display: none;
  }
  .product-text p {
    font-size: 1.5rem;
    line-height: 2.3rem;
    letter-spacing: -0.30px;
  }
  .product-tab ul {
    gap: 1rem;
  }
  .product-tab-link {
    padding: 0.8rem;
    min-height: 5.6rem;
  }
  .product-tab-desc .h1, 
  .product-tab-desc .h2, 
  .product-tab-desc .h3, 
  .product-tab-desc .h4,
  .product-tab-desc h1, 
  .product-tab-desc h2, 
  .product-tab-desc h3, 
  .product-tab-desc h4 {
    font-size: 2.2rem;
    line-height: 3rem;
    letter-spacing: -0.44px;
    margin: 2.4rem 0 1.6rem;
  }
  .product-video {
    margin: 2rem 0;
  }
  .product-video video {
    height: auto;
  }
  .product-tab-desc li {
    padding: 0.6rem 0 0.6rem 2.8rem;
  }
  .product-tab-desc li::after {
    top: 0.6rem;
  }
  .tab-card-img {
    width: 9.3rem;
    margin-right: 1.2rem;
    align-self: flex-start;
  }
  .product-collapse-head {
    padding: 1.2rem 4.8rem 1.2rem 1.2rem;
  }
  .product-collapse-head::after {
    right: 1.2rem;
  }
  .product-collapse-info {
    padding: 0 1.6rem 1.2rem 1.2rem;
  }
}

.single_add_to_cart_button + .added_to_cart .wc-forward {
  display: none !important;
}

.single_add_to_cart_button + .added_to_cart.wc-forward {
  display: none !important;
}