.product-tab-text h1,
.product-tab-text h2,
.product-tab-text h3,
.product-tab-text h4,
.product-tab-text h5,
.product-tab-text h6{
  font-size: 2.8rem;
  line-height: 120%;
  font-weight: 600;
  margin: 4rem 0 1.6rem;
}
.product-tab-text h1:first-child,
.product-tab-text h2:first-child,
.product-tab-text h3:first-child,
.product-tab-text h4:first-child,
.product-tab-text h5:first-child,
.product-tab-text h6:first-child{
  margin-top: 0;
}
.product-tab-text h1:last-child,
.product-tab-text h2:last-child,
.product-tab-text h3:last-child,
.product-tab-text h4:last-child,
.product-tab-text h5:last-child,
.product-tab-text h6:last-child{
  margin-bottom: 0;
}
.product-tab-text p{
  font-size: 1.6rem;
  line-height: 180%;
}
.product-tab-list-item{
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(var(--black-hex),0.1);
  padding: 2rem 0;
  color: var(--black);
  font-size: 1.6rem;
  line-height: 180%;
}
.product-tab-list-item:first-child{
  padding-top: 0;
}
.product-tab-list-label{
  width: 26.316%;
  margin-right: 1.6rem;
  font-weight: 600;
  flex-shrink: 0;
}
.product-tab-list-item:has(.product-tab-link) .product-tab-list-label{
  width: initial;
  flex-shrink: initial;
  flex-grow: 1;
}
.product-tab-list-label:has(.product-tab-link){
  width: initial;
}
.product-tab-link{
  display: flex;
  align-items: center;
  margin-left: auto;
  color: var(--red);
  flex-shrink: 0;
}
.product-tab-link:hover{
  text-decoration: underline !important;
}
.product-tab-link img{
  margin-left: 1.2rem;
}
@media(min-width:1560px) and (max-width:1579.98px){
  .product-tab-text h1, 
  .product-tab-text h2, 
  .product-tab-text h3, 
  .product-tab-text h4, 
  .product-tab-text h5, 
  .product-tab-text h6 {
    font-size: 2.6rem;
  }
}
@media(min-width:1460px) and (max-width:1559.98px){
  .product-tab-text h1, 
  .product-tab-text h2, 
  .product-tab-text h3, 
  .product-tab-text h4, 
  .product-tab-text h5, 
  .product-tab-text h6 {
    font-size: 2.4rem;
  }
}
@media(min-width:1360px) and (max-width:1459.98px){
  .product-tab-text h1, 
  .product-tab-text h2, 
  .product-tab-text h3, 
  .product-tab-text h4, 
  .product-tab-text h5, 
  .product-tab-text h6 {
    font-size: 2.4rem;
  }
}
@media(min-width:1200px) and (max-width:1359.98px){
  .product-tab-text h1, 
  .product-tab-text h2, 
  .product-tab-text h3, 
  .product-tab-text h4, 
  .product-tab-text h5, 
  .product-tab-text h6 {
    font-size: 2.4rem;
  }
  .product-tab-text p {
    font-size: 1.5rem;
  }
  .product-tab-list-item {
    font-size: 1.5rem;
    line-height: 160%;
  }
}
@media(min-width:992px) and (max-width:1199.98px){
  .product-tab-text h1, 
  .product-tab-text h2, 
  .product-tab-text h3, 
  .product-tab-text h4, 
  .product-tab-text h5, 
  .product-tab-text h6 {
    font-size: 2.4rem;
    margin: 3.2rem 0 1.6rem;
  }
  .product-tab-text p {
    font-size: 1.5rem;
  }
  .product-tab-list-item {
    font-size: 1.5rem;
    line-height: 160%;
  }
}
@media(min-width:768px) and (max-width:991.98px){
  .product-tab-text h1, 
  .product-tab-text h2, 
  .product-tab-text h3, 
  .product-tab-text h4, 
  .product-tab-text h5, 
  .product-tab-text h6 {
    font-size: 2.4rem;
    margin: 3.2rem 0 1.6rem;
  }
  .product-tab-text p {
    font-size: 1.5rem;
  }
  .product-tab-list-item {
    font-size: 1.5rem;
    line-height: 160%;
  }
}
@media(max-width:767.98px){
  .product-tab-text h1, 
  .product-tab-text h2, 
  .product-tab-text h3, 
  .product-tab-text h4, 
  .product-tab-text h5, 
  .product-tab-text h6 {
    font-size: 2.3rem;
    margin: 3.2rem 0 1.6rem;
  }
  .product-tab-text p {
    font-size: 1.4rem;
  }
  .product-tab-list-item {
    padding: 1.6rem 0;
    font-size: 1.4rem;
    line-height: 150%;
  }
  .product-tab-list-label {
    width: 30.316%;
    margin-right: 1.2rem;
  }
}
.product-tab-text table,
.product-tab-text table * {
  box-sizing: border-box !important;
}

.product-tab-text table {
  width: 100% !important;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  background: #ffffff !important;
  color: #000000 !important;
  margin: 0 0 16px 0 !important;
}

.product-tab-text thead {
  background: #000000 !important;
}

.product-tab-text thead tr {
  background: #000000 !important;
}

.product-tab-text th {
  background: #000000 !important;
  color: #ffffff !important;
  /* font-weight: 700 !important; */
  text-align: left !important;
  padding: 10px 12px !important;
  border: 1px solid #bfbfbf !important;
  vertical-align: top !important;
}

.product-tab-text tbody tr {
  background: #ffffff !important;
}

.product-tab-text td {
  background: #ffffff !important;
  color: #000000 !important;
  padding: 10px 12px !important;
  border: 1px solid #bfbfbf !important;
  vertical-align: top !important;
}

/* Jeśli motyw narzuca „ciemne” tła/kolory na tekst w tabeli */
.product-tab-text td *,
.product-tab-text th * {
  color: inherit !important;
}

/* Opcjonalnie: usuń zebra striping, jeśli motyw go dodaje */
.product-tab-text tbody tr:nth-child(odd),
.product-tab-text tbody tr:nth-child(even) {
  background: #ffffff !important;
}

.product-tab-text tbody tr:nth-child(odd) td,
.product-tab-text tbody tr:nth-child(even) td {
  background: #ffffff !important;
}

/* Linki w tabelach */
.product-tab-text table a {
  color: #000000 !important;
  text-decoration: underline !important;
}

.product-tab-text table a:hover {
  color: #000000 !important;
  text-decoration: none !important;
}

/* Jeśli motyw dodaje zaokrąglenia/cienie */
.product-tab-text table,
.product-tab-text th,
.product-tab-text td {
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Jeśli nie ma TH: potraktuj pierwszy wiersz jako nagłówek */
.product-tab-text table:not(:has(th)) tbody tr:first-child,
.product-tab-text table:not(:has(th)) tbody tr:first-child td {
  background: #000000 !important;
  color: #ffffff !important;
  /* font-weight: 700 !important; */
  text-align: left !important;
  padding: 10px 12px !important;
  border: 1px solid #bfbfbf !important;
  vertical-align: top !important;
}

/* Żeby tekst/elementy w TD w pierwszym wierszu też były białe */
.product-tab-text table:not(:has(th)) tbody tr:first-child td *,
.product-tab-text table:not(:has(th)) tbody tr:first-child td a {
  color: #ffffff !important;
}

/* Linki w "pseudo-nagłówku" */
.product-tab-text table:not(:has(th)) tbody tr:first-child td a {
  text-decoration: underline !important;
}

