#brnd-content {
    max-width: 100% !important;
}

#section-product-view #wrapper {
    padding: 0;
}

#section-product-view .main-wrapper {
    position: relative; 
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    /* padding: 20px; */
    margin: 0 auto;
}

#section-product-view .page-header {
    width: 100%;
    max-width: 1296px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: -20px;
}

#section-product-view .page-header h2 {
    font-size: 32px;
    color: #092D74;
    font-weight: 700;
}

#section-product-view .page-header h2 .highlight {
    color: #EF7F00;
}

#section-product-view .produc-view-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

#section-product-view .view-switcher {
    display: flex;
    align-items: center !important;
    gap: 15px !important;
    font-size: 16px !important;
    color: #092D74 !important;
}

#section-product-view .switch {
    position: relative !important;
    display: inline-block !important;
    width: 50px !important;
    height: 28px !important;
}

#section-product-view .switch .slider:after {
    display: none;

}

#section-product-view .switch input {
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
}

#section-product-view .slider {
    position: absolute !important;
    cursor: pointer !important; 
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background-color: #ccc !important;
    transition: .4s;
}

#section-product-view .slider:before {
    position: absolute !important;
    content: "" !important;
    height: 24px !important;
    width: 24px !important;
    left: 2px !important;
    bottom: 4px !important;
    background-color: white !important;
    transition: .4s;
}

#brnd-content .promo-info p {
    font-size: 23px !important;
}


#section-product-view input:checked + .slider {
    background-color: #002366 !important;
}

#section-product-view input:checked + .slider:before {
    transform: translateX(22px) !important;
}

#section-product-view .slider.round {
    border-radius: 34px !important;
}

#section-product-view .slider.round:before {
    border-radius: 50% !important;
}

#section-product-view .comparison-wrapper {
    display: flex;
    gap: 24px;
    width: 100%;
    max-width: 1600px;
}

#section-product-view .table-container {
    width: 100%;
    flex-grow: 1;
    overflow: hidden;
}

#section-product-view  .tables-column .table-container table {
    width: 100% !important;
}

#section-product-view .tables-column {
    display: flex;
    flex-direction: column; 
    gap: 40px;
    flex-grow: 1;
}

/* --- AGGRESSIVE STYLE RESET --- */
/* This block resets table styles to browser defaults to prevent overrides from the CMS. */
#section-product-view .tables-column table,
#section-product-view .tables-column caption,
#section-product-view .tables-column tbody,
#section-product-view .tables-column tfoot,
#section-product-view .tables-column thead,
#section-product-view .tables-column tr,
#section-product-view .tables-column th,
#section-product-view .tables-column td {
    all: revert;
}
/* --- END RESET --- */

#section-product-view .tables-column table {
    border-collapse: collapse !important;
    text-align: center !important;
    border-left: 1px solid rgba(88, 104, 130, 0.3) !important;
    border-right: 1px solid rgba(88, 104, 130, 0.3) !important;
    border-bottom: 1px solid rgba(88, 104, 130, 0.3) !important;
    background-color: #ffffff !important;
}

#section-product-view .tables-column th, #section-product-view .tables-column td {
    padding: 7px 12px !important;
    vertical-align: middle !important;
}

#section-product-view .tables-column thead {
    background-color: #002366 !important;
    color: #ffffff !important;
    font-weight: bold !important;
}

#section-product-view .tables-column thead th {
    font-size: 1.1em !important;
    padding: 16px 12px !important;
}

#section-product-view .tables-column thead td {
    font-weight: normal !important;
    font-size: 16px !important;
}

#section-product-view .tables-column tbody tr {
    border-bottom: 1px solid rgba(88, 104, 130, 0.3) !important;
}

#section-product-view .tables-column tbody tr:last-child {
    border-bottom: none !important;
}

#section-product-view .tables-column tbody tr.row-highlighted  {
    border: 2px solid #EF7F00 !important;
}

#section-product-view .tables-column tbody tr.row-highlighted {
   
}

#section-product-view .tables-column tbody tr.row-highlighted {
    
}


#section-product-view .tables-column tbody tr.row-highlighted + tr.row-highlighted > td {
    border-top-width: 0 !important;
}

#section-product-view .tables-column tbody td:first-child {
    text-align: left !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-weight: 500 !important;
    font-size: 14px !important; 
    color: #092D74 !important;
}

/* Zapewnia, że pierwsza kolumna ma wystarczająco miejsca na ikonę i nazwę specjalisty */
#section-product-view .tables-column th:first-child,
#section-product-view .tables-column td:first-child {
    min-width: 280px !important;
}

#section-product-view .tables-column .likes td {
    padding: 12px !important;
}

#section-product-view .tables-column .likes td:first-child {
    text-align: left !important;
    color: #ffffff !important;
}

#section-product-view .tables-column .like {
    cursor: pointer;
}

#section-product-view .tables-column .icon-placeholder img {
    width: 40px !important;
    height: 40px !important;
}

#section-product-view .tables-column .check img {
    max-width: 20px !important;
    transition: max-width 0.3s ease;
}

#section-product-view .tables-column .dash {
    color: #999 !important;
    font-size: 1.5em !important;
}

#section-product-view .tables-column tfoot tr {
    background-color: #f0f0f0 !important;
    height: 80px !important;
}

#section-product-view .tables-column tfoot td {
    font-weight: bold !important;
    font-size: 16px !important;
    color: #092D74 !important;
}

#section-product-view .tables-column tfoot td:first-child {
    text-align: left !important;
    font-size: 16px !important;
}

#section-product-view .tables-column th:nth-child(n+2),
#section-product-view .tables-column td:nth-child(n+2) {
    border-left: 1px solid rgba(88, 104, 130, 0.3) !important;
    transition: opacity 0.3s ease, max-width 0.5s ease, padding 0.5s ease, border-left-color 0.3s ease, border-left-width 0.3s ease, font-size 0.3s ease;
    overflow: hidden;
    white-space: nowrap;
    max-width: 200px; /* Basic width for animation */
}

#section-product-view .tables-column th.column-hidden,
#section-product-view .tables-column td.column-hidden {
    max-width: 0 !important;
    opacity: 0 !important;
    padding: 0 !important;
    border-left-color: transparent !important;
    border-left-width: 0 !important;
    font-size: 0 !important;
}

#section-product-view .tables-column td.column-hidden img {
    max-width: 0 !important;
}

#section-product-view .tables-column .footer-summary {
    background-color: #ffffff !important;
    padding: 15px 15px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border: 1px solid rgba(88, 104, 130, 0.3) !important;
    border-top: none !important;
}


#section-product-view .tables-column table .no-results-row {
    display: none;
}

/* #section-product-view .tables-column table .no-results-row.visible {
    display: table-row !important;
} */

#section-product-view .tables-column .no-results-row td {
    display: table-cell !important; /* Override flex display from tbody td:first-child */
    padding: 40px 20px !important;
}

#section-product-view .tables-column .no-results-content {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    color: #EF7F00 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
}

#section-product-view .tables-column .no-results-content span {
        color: #EF7F00 !important;
}

#section-product-view .tables-column .no-results-icon {
    fill: #EF7F00;
}


#section-product-view .tables-column .no-results-icon {
    width: 24px !important;
    height: 24px !important;
    flex-shrink: 0 !important;
}

#section-product-view .tables-column .footer-summary p, #section-product-view .tables-column .footer-summary p strong {
    margin: 0 !important;
    line-height: 1.4 !important;
    font-size: 16px !important;
    color: #092D74 !important;
}

#section-product-view .tables-column .footer-summary .price {
    text-align: center !important;
    font-size: 1.2em !important;
    color: #092D74 !important;
}

#section-product-view .tables-column .footer-summary .price strong {
    font-size: 16px !important;
}

#section-product-view .filters-panel {
    min-width: 320px;
    width: 320px;
    padding: 20px;
    border: 1px solid rgba(88, 104, 130, 0.3);
    background-color: #ffffff;
    height: -moz-fit-content;
    height: fit-content;
    align-self: flex-start;
}

/* Nowa klasa dla symulacji "sticky" za pomocą JavaScript */
#section-product-view .filters-panel.is-sticky {
    position: fixed;
    top: 20px;
    z-index: 100; /* Upewnij się, że jest nad innymi elementami */
}

#section-product-view .filters-panel h4 {
    margin-top: 0;
    font-size: 16px;
    color: #092D74;
}

#section-product-view .filters-panel ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

#section-product-view .filters-panel li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
    
}

#section-product-view .filters-panel li label {
    margin-top: 0px !important; 
}

#section-product-view .filters-panel li.selected {
    background-color: #EF7F00;
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 28px;
    padding-right: 28px;
}

#section-product-view .filters-panel label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: #092D74 !important;
    cursor: pointer;
}

#section-product-view .filters-panel label span {
    color: #092D74;} 

#section-product-view .filters-panel li.selected label {
    color: #ffffff;
}

#section-product-view .filters-panel img {
    width: 40px;
    height: 40px;
}
    
#section-product-view .filters-panel li.selected img {
    background-color: #ffffff;
    border-radius: 50%;
    padding: 4px;
    margin: -4px;
}

#section-product-view .unselect-filter {
    display: none;
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
}

#section-product-view .filters-panel li.selected .unselect-filter {
    display: block;
}

#section-product-view .filters-panel li:before {
    display: none;
}

#section-product-view button.like {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  appearance: none;
}


@media (max-width: 900px) {
    #slider-view-container .slider-arrow {
        width: 35px;
        height: 35px;
        margin: 0 2px;
    }

    #slider-view-container .slide li {
        font-size: 0.8rem
    }
}