.section_category_carousel {
    position: relative;
    width: 95%;
    margin-left: 2.5vw;
    margin-top: 1vw;
    overflow: hidden;
    font-family: var(--font9);
}

.section_category_carousel .section_category_header {
    position: relative;
    width: 100%;
    display: flex;
    height: fit-content;
    padding: 0;
    align-items: center;
    justify-content: left;
}

.section_category_carousel .section_category_header .section_title {
    position: relative;
    left: 0;
    width: fit-content;
    height: 3vw;
    padding: 0;
    font-size: 2vw;
    margin: 0;
    font-weight: 300;
    display: flex;
    font-family: var(--font9);
}

.section_category_carousel .section_category_header .section_title::before {
    content: "";
    width: 2.5vw;
    height: 2.5vw;
    background-color: black;
    mask: url("http://eliteflowersstore.cl/static/images/father_templates/icons/tag.svg") no-repeat center / 100%;
    -webkit-mask: url("http://eliteflowersstore.cl/static/images/father_templates/icons/tag.svg") no-repeat center / 100%;
    flex-shrink: 0;
    transform: rotate(110deg);
}

.section_category_carousel .section_category_header .section_title:hover::before {
    animation: rotate_title_tag .3s linear infinite alternate;
}

.section_category_container {
    display: flex;
    padding: 1vw 2.5vw;
    overflow-x: scroll;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.section_category_container::-webkit-scrollbar {
    display: none;
}

.section_category_carousel_category {
    flex: 0 0 auto;
    width: 25.9%;
    height: fit-content;
    background-color: var(--color3);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    border-radius: 1vw 1vw 0 0;
    cursor: pointer;
    margin-right: .5vw;

}

.section_category_carousel_category .section_category_image_container {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.section_category_carousel_category .section_category_image_container .section_category_image {
    width: 100%;
    aspect-ratio: 1/1;
    position: relative;
    transition: all .3s linear;
    transform-origin: center center;
}

.section_category_carousel_category:hover > .section_category_image_container .section_category_image {
    transform: scale(1.1);
}

.section_category_carousel_category .section_category_title {
    position: relative;
    font-size: 1.2vw;
    width: fit-content;
    height: 1.5vw;
    margin: 1vw 0;
    display: flex;
}

.section_category_carousel_category .section_category_title::before {
    content: "";
    width: 1.5vw;
    height: 1.5vw;
    background-color: black;
    mask: url("/static/images/father_templates/icons/tag.svg") no-repeat center / 100%;
    -webkit-mask: url("/static/images/father_templates/icons/tag.svg") no-repeat center / 100%;
    flex-shrink: 0;
    transform: rotate(110deg);
}

.section_category_carousel_category .section_category_title:hover::before {
    animation: rotate_title_tag .3s linear infinite alternate;
}

@keyframes rotate_title_tag {
    from {
        transform: rotate(110deg);
    }
    to {
        transform: rotate(120deg);
    }
}

.arrow_section {
    position: absolute;
    right: 0vw;
    width: fit-content;
    height: fit-content;
    display: flex;
}

.section_category_carousel_category .section_category_button,
.arrow_section .left_arrow,
.arrow_section .right_arrow {
    position: relative;
    overflow: hidden;
    width: 3vw;
    height: 3vw;
    white-space: nowrap;
    padding: .1vw .3vw;
    font-size: 1vw;
    background-color: transparent;
    color: black;
    cursor: pointer;
    border: solid;
    border-radius: .7vw;
    border-color: transparent;
    border-width: 0;
    display: flex;
}


.arrow_section .left_arrow {
    margin-right: .5vw;
}
.section_category_carousel_category .section_category_button .arrow_image {
    transform: translateX(-130%);
}

.arrow_section .left_arrow .arrow_image {
    transform: translateX(-130%) rotate(-180deg);
}

.section_category_carousel_category .section_category_button:hover,
.arrow_section .left_arrow:hover,
.arrow_section .right_arrow:hover {
    background-color: transparent;
}

.section_category_button span,
.arrow_section span {
    width: 100%;
    aspect-ratio: 1/1;
}

.section_category_button .arrow_image,
.arrow_section span .arrow_image {
    width: 100%;
    aspect-ratio: 1/1;
}

.arrow_section > span {
    display: inline-flex;
    gap: 1vw;
}

.section_category_button > span {
    display: inline-flex;
    margin-right: 1vw;
}

.right_arrow:hover > span {
    animation: right-arrow-loop .2s linear;
}

.section_category_button:hover > span,
.left_arrow:hover > span {
    animation: left-arrow-loop .2s linear;
}

@keyframes right-arrow-loop {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-130%);
    }
}


@keyframes left-arrow-loop {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(130%);
    }
}


@media screen and (max-width: 62.438em) {
    .section_category_carousel {
        width: 90%;
        margin-left: 5vw;
        margin-top: 3vw;
    }

    .section_category_carousel .section_category_header .section_title {
        position: relative;
        left: 0;
        width: fit-content;
        height: 7vw;
        padding: 0;
        font-size: 5vw;
    }

    .section_category_carousel .section_category_header .section_title::before {
        width: 5vw;
        height: 5vw;
        transform: none;
    }

    .section_category_carousel .section_category_header .section_title:hover::before {
        animation: none;
    }

    .section_category_container {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 50%));
        padding: 1vw 2.5vw;
        overflow-x: scroll;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .section_category_container::-webkit-scrollbar {
        display: none;
    }

    .section_category_carousel_category {
        width: 100%;
        border-radius: 0;
        margin-right: 0;

    }

    .section_category_carousel_category .section_category_image_container .section_category_image {
        position: relative;
        transition: none;
    }

    .section_category_carousel_category:hover > .section_category_image_container .section_category_image {
        transform: none;
    }

    .section_category_carousel_category .section_category_title {
        position: relative;
        font-size: 5vw;
        width: fit-content;
        height: 7vw;
        margin: 1vw 0;
        display: flex;
    }

    .section_category_carousel_category .section_category_title::before {
        width: 5vw;
        height: 5vw;
        transform: none;
    }

    .section_category_carousel_category .section_category_title:hover::before {
        animation: none;
    }



    .arrow_section {
        display: none;
    }

    .section_category_button > span {
        display: inline-flex;
        margin-right: 1vw;
    }

    .right_arrow:hover > span {
        animation: none;
    }

    .section_category_button:hover > span,
    .left_arrow:hover > span {
        animation: none;
    }
}