.section-compare-header {
    padding-top: 100px;
    padding-bottom: 75px;
}
.product-download-buttons-holder {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid var(--black);
}
.product-file-download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border: 1px solid #000;
  background-color: #fff;
  border-radius: 20px;
  padding: 25px 20px;
  text-decoration: none;
  transition: all 0.5s ease;
  overflow: hidden;
  box-sizing: border-box;
  width: 370px;
}
.product-file-download-btn .icon {
  width: 70px;
  height: 70px;
  transition: transform 0.5s ease;
}
.product-file-download-btn .text {
  font-weight: 700;
  font-size: 25px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  color: #000;
  transition: transform 0.5s ease;
}
.product-file-download-btn:hover {
  border-color: var(--primary-color);
  box-shadow: inset 0 0 0 2px var(--primary-color);
}
.product-file-download-btn:hover .icon {
  transform: rotate(-180deg);
}
.product-file-download-btn:hover .text {
  transform: translateX(-10px);
}

.table-section {
    position: relative;
    width: 100%;
    background-color: white;
    z-index: 1;
    isolation: isolate; /* Kreira novi stacking context */
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    will-change: transform;
}
.comparison-table-container {
    background-color: #ffffff;
    overflow-x: auto;
    margin-top: 60px;
    /* margin-bottom: 150px; */
    padding-bottom:150px;
}
.comparison-table {
    border-collapse: separate;
    border-spacing: 15px 0; /* 15px horizontal, 0px vertical */
    width: 100%;
    min-width: 900px;
}
.comparison-table thead th:first-child {
    background-color: var(--primary-color);
    color: #041F56;
    font-weight: 700;
    padding: 20px;
    border: none;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    text-align: left;
}
.comparison-table thead tr:first-child th:first-child {
    background-color: white;
}
.comparison-table .active,
.comparison-table .active {
    background: #041F56;
    color: #fff;
}
.comparison-table-header-row th {
    padding: 0 20px;
    color: var(--primary-color);
}
.comparison-table-header-row .active {
    color: var(--primary-color)!important;
}
.comparison-table th,
.comparison-table td {
    white-space: nowrap;
}
.comparison-table thead tr:first-child th {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    text-align: center;
}
.comparison-table tbody tr:last-child td {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
.comparison-table tbody tr:last-child {
    text-align: left;
}
/* .comparison-table thead th:last-child {
    border-top-right-radius: 10px;
} */
.comparison-table tbody td {
    /* padding: 5px 22px; */
     padding: 5px 19px;
    vertical-align: middle;
    border: none;
}
.comparison-table tbody td:first-child {
    color: var(--white);
    background-color: var(--primary-color);
    font-weight: 600;
    border-right: none;
}
.comparison-table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

.comparison-table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.btn-compare {
    font-size: 13px;
    color: #333;
    background: var(--white);
    border-radius: 14px;
    padding: 3px 35px;
    font-weight: 700;
    margin-bottom: 12px;
}
.btn-compare:hover {
    background-color: var(--primary-color);
    color: var(--white);
}
.comparison-table th,
.comparison-table td {
    background: #BABABA33;
}
.model{
    background-color: #00d4e9 ;
}
.model-header-cell {
    position: relative;
}
@keyframes scroll-left-right {
    0%   { transform: translateX(0); }
    50%  { transform: translateX(-30px); }
    100% { transform: translateX(0); }
}
.product-scroll-icon {
    position: absolute;
    top: 22px;
    right: 30px;
    width: 50px;
    height: auto;
    z-index: 2;
    animation: scroll-left-right .8s infinite alternate ease-in-out;
}
@media (max-width: 768px) {
    .comparison-table-container {
      overflow-x: scroll;
    }
}
@media (min-width: 1440px) {
    .product-scroll-icon {
        display: none;
    }
}
.comparison-table th.active,
.comparison-table td.active {
    background-color: #041F56;
}
.blue-txt{
    color: #00d4e9;
}
/* .comparison-table-container{
    width: fit-content;
    justify-self:center;
} */

/* === SAFARI & IPHONE OPTIMIZATIONS === */
/* Safari scroll improvements for comparison table - iOS Safari only */
@supports (-webkit-touch-callout: none) and (pointer: coarse) {
    .comparison-table-container {
        -webkit-overflow-scrolling: touch;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    
    .comparison-table {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        will-change: transform;      
    }
}

/* Force hardware acceleration - Safari/iOS only */
@supports (-webkit-touch-callout: none) {
    .table-section,
    .comparison-table-container,
    .comparison-table {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        /* will-change: transform; */
    }
}

/* Safari animation fix */
@supports (-webkit-touch-callout: none) {
    .product-scroll-icon {
        -webkit-animation: scroll-left-right .8s infinite alternate ease-in-out;
        animation: scroll-left-right .8s infinite alternate ease-in-out;
    }
}