/* Traits */
.product_traits {
    display:block !important;
}

/* Phone support */

#phone-support {
  background-image: url('/data/include/cms/bannery/widget-kontakt/Baner_Kontakt_EXT_-_desktop.png_optimized.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 400px;
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  font-family: Arial, sans-serif;
}

.support-text {
  margin: 0;
  padding: 10px;
  font-size: 18px;
}

.phone-number {
  margin-top: 15px;
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 22px;
}

/* Hover Anim */

.product {
  position: relative;
  overflow: hidden;
}

.product::before,
.product::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
}

.product::before {
  opacity: 1; /* initially visible */
  top: 0;
  right: 0;
  background-color: #81C4FF;
  clip-path: polygon(20px 0, 40px 0, 40px 20px, 37px 17px, 37px 3px, 23px 3px);
}

.product::after {
  bottom: 0;
  right: 0;
  background-color: #E7222E;
  clip-path: polygon(20px 40px, 40px 40px, 40px 20px, 37px 23px, 37px 37px, 23px 37px);
}

.vp-table-container {
    width: 100%;
    max-width: 1100px;
    margin: 20px auto;
    background: #ffffff;
    border-radius: 15px;
    overflow-x: auto; 
    overflow-y: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
    
    /* Płynne przewijanie na urządzeniach dotykowych */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.vp-tech-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed; /* Stały układ zapobiega skakaniu szerokości */
    min-width: 650px; /* Gwarancja czytelności przy 6 kolumnach */
    overflow: hidden; /* Odcina wystające paski podświetlenia pionowego */
}

/* 3. NAGŁÓWKI - DYNAMICZNE SKALOWANIE */
.vp-tech-table th {
    background-color: #2f2f2f;
    color: #ffffff;
    padding: clamp(12px, 2vw, 22px) 5px;
    text-align: center;
    border-bottom: 3px solid #e30613;
    position: relative;
    vertical-align: middle;
}

.vp-header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;

}

.vp-link-icon {
    text-decoration: none;
    font-size: clamp(15px, 1.4vw, 19px);
    color: #e30613;
    transition: transform 0.2s;
}

.vp-link-icon:hover {
    transform: scale(1.2);
}

.vp-sub-header {
    font-size: clamp(13px, 1.4vw, 17px);
    color: #bbb;
    font-weight: normal;
}


.vp-header-title {
    font-size: clamp(13px, 1.4vw, 17px);
    font-weight: 800;
    display: block;
    text-transform: uppercase;
}

.vp-sub-header {
    font-size: clamp(10px, 1vw, 13px);
    color: #bbb;
    font-weight: 400;
    margin-top: 4px;
}

/* 4. KOMÓRKI - TEKST I HOVER */
.vp-tech-table td {
    padding: clamp(10px, 1.5vw, 18px) 4px;
    text-align: center;
    font-size: clamp(11px, 1.2vw, 14px);
    border-bottom: 1px solid #f1f1f1;
    border-right: 1px solid #f1f1f1;
    color: #333;
    position: relative;
    z-index: 1;
}

/* PIERWSZA KOLUMNA (PARAMETRY) - PRZYKLEJONA (STICKY) */
.vp-tech-table td:first-child {
    text-align: left;
    padding-left: clamp(10px, 2.5vw, 30px);
    font-weight: 700;
    background-color: #f9f9f9;
    width: 170px;
    position: sticky;
    left: 0;
    z-index: 10; 
    border-right: 2px solid #eee;
}

/* 5. NAPRAWIONE PODŚWIETLANIE RZĘDÓW I KOLUMN */

/* Podświetlenie całego rzędu */
.vp-tech-table tbody tr:hover td {
    background-color: rgba(227, 6, 19, 0.06) !important;
}

/* Podświetlenie pionowe kolumny (naprawiony efekt narastania) */
.vp-tech-table td:hover::after,
.vp-tech-table th:hover::after {
    content: "";
    position: absolute;
    left: 0;
    top: -1200px; 
    width: 100%;
    height: 3000px; 
    background-color: rgba(227, 6, 19, 0.06);
    z-index: -1; 
    pointer-events: none; 
}

/* 6. IKONY STATUSU */
.vp-status-icon {
    font-size: clamp(16px, 2.2vw, 22px);
    line-height: 1;
}

/* DOPASOWANIE DLA BARDZO MAŁYCH EKRANÓW */
@media (max-width: 600px) {
    .vp-tech-table {
        min-width: 650px; 
    }
    .vp-tech-table td:first-child {
        width: 140px;
    }
}