.tab-section {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab-container {
    display: flex;
    width: 100%;
    max-width: 92.5rem;
    margin-left: 3.125rem;
    margin-right: 3.125rem;
}


@media only screen and (max-width: 767px) {
    .tab-container {
        margin-left: 1.125rem;
        margin-right: 1.125rem;
    }
}

.tab-sidebar {
    flex: 0 0 30%;
    position: sticky;
    top: 1rem;
    background: #F7F7F7;
    padding: 50px;
    border-radius: 8px;
    font-family: "Helvetica Neue LT Pro", sans-serif;
    font-size: 22px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%; /* 26.4px */
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

.tab-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tab-list-item {
    padding: 0px 1rem;
    margin-bottom: 40px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    transition: background-color 0.3s ease;
}

.tab-list-item:last-child {
    margin-bottom: 0;
}

.tab-list-item:hover, .tab-list-item.active {
    color: #DB0C14;
}

.tab-content {
    flex: 1;
    padding: 0rem 4rem;
    font-size: 19px;
    line-height: 140%;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

h2 {
    margin-top: 0;
}

/* Responsive Styles */
@media (max-width: 767px) {
    .tab-container {
        flex-direction: column;
    }

    .tab-sidebar {
        flex: none;
        width: auto;
        padding: 0;
        background: none;
    }

    .tab-list {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .tab-list-item {
        background: transparent;
        border-radius: 7px;
        padding: 12px;
    }

    .tab-content {
        margin-top: 1rem;
    }
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
    margin: 2rem 0;
}

.product-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-item img {
    max-width: 100px; /* Justera storlek efter behov */
    height: auto;
    margin-bottom: 10px;
}

.product-item p {
    font-size: 16px;
    color: #333;
    margin: 0;
}

/* 📱 Responsivt: På mobil visas två kolumner */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 📱 Responsivt: På extra små skärmar (t.ex. mobil i porträttläge) visas en kolumn */
@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}


.accordion-header {
    width: 100%;
    padding: 12px;
    text-align: left;
    background: #f5f5f5;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 7px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease-in-out;
}

.accordion-header.active {
    background: #db0c14;
    color: white;
}

.accordion-header.active svg path {
   stroke: #fff;
}

.accordion-icon {
    transition: transform 0.3s ease-in-out;
}

.accordion-header.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    padding: 10px;
    background: #fff;
    overflow: hidden;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    max-height: 0;
    opacity: 0;
}

.accordion-content.open {
    max-height: 500px; /* Justera efter behov */
    opacity: 1;
}

/* Accordion (mobil) */
.accordion-container {
    display: none;
    width: 100%;
}

/* Gör tabbar osynliga på mobil och visa accordions */
@media (max-width: 768px) {
    .tab-sidebar, .tab-content {
        display: none;
    }
    .accordion-container {
        display: block;
    }
}



.document-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    text-align: center;
    margin: 2rem 0;
}

.document-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.document-item img {
    max-width: 100px; /* Justera storlek efter behov */
    height: auto;
    margin-bottom: 10px;
}

.document-item p {
    font-size: 16px;
    color: #333;
    margin: 0;
}

/* 📱 Responsivt: På mobil visas två kolumner */
@media (max-width: 768px) {
    .document-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 📱 Responsivt: På extra små skärmar (t.ex. mobil i porträttläge) visas en kolumn */
@media (max-width: 480px) {
    .document-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}
