.carousel-container {
    overflow: hidden; 
    position: relative;
    min-width: 100%;
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease; 
    gap: 30px;
}

.category-sections {
    position: relative;
}

.category-sections__list {
    max-height: 280px;
    flex-direction: row;
    overflow: hidden;
}

.carousel-item {
    box-sizing: border-box;
    display: flex;
    row-gap: 30px;
    min-width: calc(33.33% - 20px);
    flex-direction: column;
    justify-content: space-between;
}

.carousel-item.single-row .category-sections__item {
    max-height: 100%;
}

.carousel-wrapper.two-column .carousel-item {
    min-width: calc(50% - 15px);
}

.carousel-item .category-sections__item {
    min-height: calc(50% - 15px);
    max-height: calc(50% - 15px);
    flex: 1;
}

.category-sections__item.btn-secondary {
    white-space: unset;
    cursor: default;
    pointer-events: none;
    background: #D9ECE8;
    border-radius: 5px;
    border: none;
}

#next-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(0, -50%);
    width: 37px;
    border-radius: 6px;
    height: 37px;
    background-color: #016B53;
    border: none;
}

#next-btn::after {
    content: url("data:image/svg+xml,%3Csvg width='7' height='11' viewBox='0 0 7 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.488403 9.1203L4.21128 5.49989L0.488403 1.87949L1.63453 0.767334L6.51166 5.49989L1.63453 10.2325L0.488403 9.1203Z' fill='white'/%3E%3C/svg%3E%0A");
}

#prev-btn {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(0, -50%);
    width: 37px;
    border-radius: 6px;
    height: 37px;
    background-color: #016B53;
    border: none;
}

#prev-btn::after {
    content: url("data:image/svg+xml,%3Csvg width='7' height='11' viewBox='0 0 7 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.51172 1.87946L2.78884 5.49986L6.51172 9.12027L5.36559 10.2324L0.488463 5.49986L5.36559 0.767305L6.51172 1.87946Z' fill='white'/%3E%3C/svg%3E%0A");
    transform: rotate(180deg);
}
