html {
    scroll-behavior: smooth;
}

.category_page {
    position: relative;
    width: 100%;
    background-color: #f5f5f5;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 84px;
    padding-bottom: 100px;

}


.container_content_category_page{
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.box_top_category_page{
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.list_breadcrumbs_custom{
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    overflow-x: auto;
}

.icon_home_breadcrumbs {
    display: flex;
    width: 15px;
    height: 15px;
    justify-content: center;
    align-items: center;
}


.item_breadcrumbs_custom{
    display: flex;
    align-items: center;
    gap: 10px;
    color: #7C7F84;
    text-align: center;
    font-family: var(--font-family-minor);
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.66;
    white-space: nowrap;
    transition: all var(--transition-time-default);
}

.item_breadcrumbs_custom::after {
    content: '';
    width: 10px;
    height: 16px;
    display: block;
    background-size: 10px 16px;
    background-image: url(../image/categories/icon_short_arrow_right.svg);
    background-repeat: no-repeat;
}

.item_breadcrumbs_custom a {
    color: #1A1A1A;
    text-align: center;
    font-family: var(--font-family-minor);
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.66;
    white-space: nowrap;
    transition: all var(--transition-time-default);
}

.item_breadcrumbs_custom:last-child::after {
    display: none;
}

.item_breadcrumbs_custom a:hover {
    color: #E22833;
    text-align: center;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
    fill: #E22833;
}

.title_category_page{
    color: #1A1A1A;
    font-family: var(--font-family-minor);
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.27;
    margin-left: auto;
    margin-right: auto;
}

.box_bottom_category_page{
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin-bottom: 19px;
}

.btn_open_category_filter {
    display: flex;
    padding: 8px 16px;
    align-items: center;
    gap: 5px;
    align-self: stretch;
    border-radius: 62px;
    background: #FFF;
}

.icon_list_filter_category {
    width: 18px;
    height: 18px;
}

.text_btn_open_filter_category{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    flex: 1 0 0;
    overflow: hidden;
    color:#1A1A1A;
    text-overflow: ellipsis;
    font-family: var(--font-family-minor);
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.75;
}


.container_select_sort{
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

.box_top_select_sort {
    display: flex;
    align-items: center;
    gap: 5px;
}

.box_top_select_sort:hover {
    cursor: pointer;
}

.text_static_sort {
    color: #1A1A1A;
    font-family: var(--font-family-minor);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.text_dynamic_sort {
    color: #E22833;
    font-family: var(--font-family-minor);
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.icon_select_arrow{
    width: 13px;
    height: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    fill: #E22833;
    transition: all var(--transition-time-default);
}


.icon_select_arrow.open {
    transform: rotate(180deg);
}

.list_select_sort{
    position: absolute;
    top: 100%;
    left: 0;
    opacity: 0;
    z-index: 50;
    visibility: hidden;
    pointer-events: none;
    display: flex;
    min-width: 214px;
    width: 100%;
    padding: 10px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    border-radius: 25px;
    border: 1px solid #D9D9D9;
    background: #FFF;
    box-shadow: 0px 2px 5px 0px rgba(83, 110, 151, 0.25);
    transition: all var(--transition-time-default);
}

.list_select_sort.open {
    visibility: visible;
    opacity: 1;
    pointer-events: all;
}


.item_select_sort{
    display: flex;
    padding: 5px 12px;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    color: #535863;
    font-family: var(--font-family-minor);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.42;
    border-radius: 62px;
    border: 1px solid #fff;
    background: #FFF;
    transition: all var(--transition-time-default);
}

.item_select_sort.active {
    color: #E22833;
    border: 1px solid #E22833;
}

.item_select_sort:hover {
    background: #F5F5F5;
    cursor: pointer;
}



.container_products_category {
    display: flex;
    flex-direction: column;
    gap: 22px;
    align-items: center;
}


.cart_item_product{
    display: flex;
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    border-radius: 34px;
    background: #FFF;
    transition: all var(--transition-time-default);
    max-width: 300px;
}


.cart_item_product:hover{
    box-shadow: 0px 7px 19px 0px rgba(83, 110, 151, 0.25);
}

.box_top_cart_product{
    position: relative;

}

.photo_cart_product {
    border-radius: 22px;
}

.label_action_cart_product{
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    padding: 4px 10px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 12px;
    background: #E22833;
    color: #FFF;
    text-align: center;
    font-family: var(--font-family-minor);
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}


.box_bottom_cart_product{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    align-self: stretch;
    height: 213px;
}


.box_info_cart_product{
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.container_rating_reviews_cart_product {
    display: flex;
    align-items: center;
    gap: 6px;
}


.box_rating_cart_product{
    display: flex;
    align-items: center;
    gap: 1px;
}

.icon_star_rating_cart_product{
    width: 20px;
    height: 20px;
    fill: #D3D3D3;
}

.icon_star_rating_cart_product.active{
    fill: #F1BC00;
}

.value_rating_cart_product{
    position: absolute;
    visibility: hidden;
    opacity: 0;
}

.count_reviews_cart_product{
    color: #969696;
    font-family: var(--font-family-minor);
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}


.name_cart_product {
    overflow: hidden;
    color: #191919;
    text-overflow: ellipsis;
    white-space: normal;
    font-family: var(--font-family-minor);
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 36px;
}

.box_price_cart_product{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 3px;
}

.old_price_cart_product{
    color: #7C7F84;
    font-family: var(--font-family-minor);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 145%;
    text-decoration-line: line-through;
}

.price_cart_product{
    color: #1A1A1A;
    font-family: var(--font-family-minor);
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 145%;
    /* 26.1px */
}


.label_in_stock_cart_product, .label_out_of_stock_cart_product {
    display: flex;
    padding: 2px 8px 2px 6px;
    justify-content: center;
    align-items: center;
    gap: 6px;
    border-radius: 76px;
    text-align: center;
    font-family: var(--font-family-main);
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.5;
    width: fit-content;
}

.label_in_stock_cart_product {
    background-color: #ECFDF3;
    color: #027A48;
}
.label_out_of_stock_cart_product {
    background-color: #FEF3F2;
    color: #B42318;
}

.label_in_stock_cart_product::before,
.label_out_of_stock_cart_product::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.label_in_stock_cart_product::before {
    background-color: #12B76A;
}
.label_out_of_stock_cart_product::before {
    background-color: #F04438;
}

.btn_add_product_cart{
    display: flex;
    padding: 13px 18px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    border-radius: 62px;
    border: 1px solid  #7C7F84;
    background: #FFF;
    color: #7C7F84;
    font-family: var(--font-family-minor);
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.33;
    transition: all var(--transition-time-default);
}

.icon_cart_product{
    fill: #7C7F84;
    width: 20px;
    height: 20px;
    transition: all var(--transition-time-default);
}

.btn_add_product_cart:hover{
    color: #1A1A1A;
    border: 1px solid var(#1A1A1A);
}

.btn_add_product_cart:hover .icon_cart_product{
    fill: #1A1A1A;
}


.btn_show_more_category {
    display: flex;
    height: 56px;
    padding: 13px 18px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    border-radius: 62px;
    background: #DDD;
    border: 1px solid #ddd;
    transition: all var(--transition-time-default);
    color: #1A1A1A;
    font-family: var(--font-family-minor);
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.33;
    /* 133.333% */
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    margin-top: 20px;
}


.icon_refresh_category {
    width: 22px;
    height: 20px;
    fill: #1A1A1A;
    transition: all var(--transition-time-default);
}


.btn_show_more_category:hover {
    border: 1px solid  #E22833;
    background: #FFF;
    color: #E22833;
}
.btn_show_more_category:hover .icon_refresh_category {
    fill: #E22833;
}

.btn_show_more_category svg {
    margin: 0;
}

.container_category_filter_mobile{
    position: fixed;
    top: 0;
    z-index: 2000;
    left: -100%;
    display: flex;
    width: 90%;
    max-width: 455px;
    height: 100%;
    padding: 20px 10px;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    flex-shrink: 0;
    background: #F5F5F5;
    transition: all var(--transition-time-default);
}

.container_category_filter_mobile.open {
    left: 0;
}

.box_top_category_filter_mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
}

.title_modal_category_filter_mobile {
    color: #1A1A1A;
    text-align: center;
    font-family: var(--font-family-minor);
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.62;
    /* 162.5% */
}


.btn_close_modal_category_filter_mobile{
    border-radius: 35px;
    background: #F5F5F5;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.icon_close_modal_category{
    width: 18px;
    height: 18px;
    fill: #535863;
    transition: all var(--transition-time-default);
}

.btn_close_modal_category_filter_mobile:hover .icon_close_modal_category{
    fill: #1A1A1A;
}
.list_category_filter_mobile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    align-self: stretch;
}

.list_category_filter_mobile li {
    width: 100%;
}

.link_category_filter_mobile{
    display: flex;
    padding: 6px 10px;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    border-radius: 18px;
    border: 1px solid  #fff;
    background: #FFF;
    color: #535863;
    font-family: var(--font-family-minor);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    transition: all var(--transition-time-default);
}

.link_category_filter_mobile:hover {
    border-color: #E22833;
    color: #E22833;
}

.list_category_filter_mobile li .active {
    border-color: #E22833;
    color: #E22833;
}

.container_category_desktop {
    display: none;
}

.btn_link_red {
    display: flex;
    padding: 13px 18px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    border-radius: 62px;
    background: var(--color-link-red);
    color: #FFF;
    font-family: var(--font-family-minor);
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.33;
    transition: var(--transition-time-default);
}

.btn_link_red::after {
    content: '';
    width: 23px;
    height: 20px;
    display: block;
    background-size: 100% 100%;
    background-position-x: 0;
    background-image: url(../image/home/icon_arrow_white_right.svg);
    transition: var(--transition-time-default);
}

.btn_link_red:hover {
    background-color: var(--color-text-hover-black);
}

.btn_link_red:hover::after {
    background-position-x: 23px;
}

.text_under_title_offer{
    color: #1A1A1A;
    text-align: center;
    font-family: var(--font-family-main);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    max-width: 520px;
    margin-bottom: 16px;
    margin-top: 34px;
}

@media screen and (min-width: 744px) {

    .category_page {
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 106px;
        padding-bottom: 100px;

    }

    .container_content_category_page {
        max-width: 900px;
    }

    .box_bottom_category_page {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .btn_open_category_filter {
        padding: 10px 16px;
        gap: 10px;
    }

    .icon_list_filter_category {
        width: 22px;
        height: 22px;
    }


    .container_select_sort {
        margin-left: 0;
        margin-right: 0;
    }


    .container_products_category {
        display: grid;
        gap: 20px;
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
    }



    .btn_show_more_category {
        margin-top: 40px;
    }

    .container_category_filter_mobile {
        padding: 20px;

    }

    .text_under_title_offer {
        font-size: 18px;
    }

}



@media screen and (min-width: 1280px) {
    .mobile_tablet {
        display: none;
    }

    .cart_item_product{
        max-width: 100%;
    }

    .category_page {
        padding-left: 60px;
        padding-right: 60px;
        padding-top: 100px;
        padding-bottom: 100px;

    }

    .title_category_page_desktop{
        width: 100%;
        display: flex;
        padding: 0 10px 12px 10px;
        align-items: center;
        gap: 11px;
        align-self: stretch;
        border-bottom: 1px solid #D9D9D9;
    }

    .container_desktop_content{
        display: flex;
        gap: 40px;
    }


    .container_category_desktop {
        position: sticky;
        top: 180px;
        display: flex;
        max-width: 342px;
        width: 100%;
        height: fit-content !important;
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;

    }

    .container_content_category_page {
        max-width: 1320px;
    }

    .box_bottom_category_page {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }



    .container_select_sort {
        margin-left: auto;
        margin-right: 0;
    }


    .container_products_category {
        display: grid;
        column-gap: 20px;
        row-gap: 36px;
        grid-template-columns: repeat(3, 1fr);
    }



    .btn_show_more_category {
        margin-top: 36px;
        width: 430px;
    }

    .container_select_products {
        margin-top: -36.8px;
    }

    .box_top_category_page{
        margin-bottom: 40px;
    }

    .text_under_title_offer {
        max-width: none;
        width: 820px;
    }
}