.homecategories-wrapper {
    padding-inline: 30px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    width: 100%;
}

.homecategories-wrapper .row {
    display: flex;
    gap: 16px;
}

.homecategories-wrapper .homecategory-item {
    margin: 0;
    padding: 8px 10px;
    border-radius: 100px;
    border: 1px solid var(--grey-2);
    display: flex;
    align-items: center;
}

.homecategories-wrapper .homecategory-link {
    display: flex;
    gap: 10px;
    align-items: center;
}

.homecategories-wrapper .homecategory-link img {
    width: 50px;
    height: 48px;
    object-fit: cover;
    overflow: visible;
}

.homecategories-wrapper .homecategory-title {
    font: var(--text-bold);
    color: var(--dark-blue);
    margin-bottom: 0;
}

.homecategories-slider {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
}

.homecategories-slider::-webkit-scrollbar {
    display: none;
}

.homecategory-item {
    flex: 0 0 auto;
    text-align: center;
}

.homecategories-arrow {
    /* width: 60px; */
    width: 42px;
    height: 66px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    align-items: center;
}

.homecategories-arrow rect,
.homecategories-arrow path {
    transition: .3s;
}

.homecategories-arrow:hover rect {
    fill: var(--dark-blue);
}

.homecategories-arrow:hover path {
    fill: var(--white);
}

.homecategories-arrow svg{
    fill: white;
}

.homecategories-arrow.left {
    left: 0;
    /* background: white; */
}

.homecategories-arrow.right {
    right: 0px;
    /* background: white; */
}

@media (max-width: 1024px) {
    .homecategories-wrapper {
        padding-inline: 0;
    }

    .homecategories-wrapper .homecategory-item:first-child {
        margin-left: 25px;
    }

    .homecategories-wrapper .homecategory-item:last-child {
        margin-right: 25px;
    }

    .homecategories-wrapper .homecategory-link img {
        width: 43px;
        height: 42px;
    }

    .homecategories-wrapper .homecategory-item {
        padding: 10px;
    }
}

@media (max-width: 768px) {
    .homecategories-wrapper .homecategory-item:first-child {
        margin-left: 15px;
    }

    .homecategories-wrapper .homecategory-item:last-child {
        margin-right: 15px;
    }

    .homecategories-wrapper .homecategory-link img {
        width: 50px;
        height: 48px;
    }

    .homecategories-wrapper .homecategory-item {
        padding: 8px 10px;
    }
}