
.catalog_all_list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    list-style: none;
    padding: 20px 0;
    margin: 0;
}

.catalog_all_item {
    width: calc(50% - 8px);
}

.catalog_all_link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px;
    border: 1px solid rgba(18, 17, 17, 0.1);
    border-radius: 8px;
    text-decoration: none;
    color: rgba(18, 17, 17, 1);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.catalog_all_link:hover {
    border-color: rgba(238, 113, 3, 1);
    box-shadow: 0 2px 8px rgba(238, 113, 3, 0.15);
    color: rgba(238, 113, 3, 1);
}

.catalog_all_img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.catalog_all_name {
    font-family: var(--font-family-main);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    line-height: 1.3;
}

@media screen and (min-width: 768px) {
    .catalog_all_item {
        width: calc(33.333% - 11px);
    }
}

@media screen and (min-width: 1440px) {
    .catalog_all_item {
        width: calc(25% - 12px);
    }

    .catalog_all_name {
        font-size: 16px;
    }
}

.container_products_sort{
    display: flex;
    flex-direction: column;
}

.tabs_list_products_categoty{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 10px;
    user-select: none;
}

.tabs_list_products_categoty_product_page{
    flex-wrap: nowrap;
    overflow-x: auto;
    cursor: grab;
    cursor: -webkit-grab;
    scroll-behavior: smooth; /* Плавний скрол */
}

.dragging {
    cursor: grabbing;
    cursor: -webkit-grabbing;
}

.tabs_list_products_categoty_product_page::-webkit-scrollbar {
    width: 4px;
    height: 8px;
}

.tabs_list_products_categoty_product_page::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.tabs_list_products_categoty_product_page::-webkit-scrollbar-thumb:hover {
    background: rgba(238, 113, 3, 1);
}

.tabs_list_products_categoty_product_page::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px;
}


.box_title_length_ctategory{
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 20px;
}

.tabs_list_products_categoty{
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.title_ctategory{
    width: 100%;
    font-family: var(--font-family-main);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.14;
    text-align: left;
    color: var(--color-text-title);

}


.link_item_category_page{
    text-wrap: nowrap;
    display: block;
    font-family: var(--font-family-minor);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.36;
    border-radius: 8px;
    border: var(--border-tabs);
    padding: 15px 20px;
    color: var(--color-text-title);
    transition: all var(--transition-all-time);
    border: 1px solid #FF5E00 !important;
    background: #FFFFFF;
}


.link_item_category_page:hover{
    border-color: var(--color-hover);
    color: var(--color-text-title);
    cursor: pointer;
    background: #FF5E00;
    
}

.categories_slider_wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.categories_slider_btn {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(238, 113, 3, 0.4);
    background: #fff;
    color: rgba(238, 113, 3, 1);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    padding: 0;
}

.categories_slider_btn:hover {
    background: rgba(238, 113, 3, 1);
    color: #fff;
}

.categories_slider_btn:disabled {
    opacity: 0.3;
    cursor: default;
}

.list_container_categories {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    align-items: center;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    flex: 1;
    min-width: 0;
}

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

.item_category_category_page {
    scroll-snap-align: start;
    flex-shrink: 0;
}


.ctategory_length{
    margin: 0;
    font-family: var(--font-family-minor);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.36;
    text-align: left;
}


.container_products_sort_btn_filter{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.container_products_sort{
    width: 205px;
    border-radius: 8px;
    padding: 9px 10px;
    border: 1px solid rgba(18, 17, 17, 0.2);

}


.btn_open_filter{
    padding: 8px 21px;
    border-radius: 4px;
    background-color: rgba(238, 113, 3, 1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon_filter {
    display: block;
    width: 24px;
    height: 24px;
}


.btn_open_filter_text{
    font-family: var(--font-family-main);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.14;
    color: rgba(254, 251, 250, 1);
}



.select_sort{
    font-family: var(--font-family-minor);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.36;
    text-align: left;
    color: var(--color-text-title);
}

.select_sort {
    font-family: var(--font-family-minor);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.36;
    text-align: left;
    color: var(--color-text-title);
}



.tabs_item_product_link{
    box-sizing: content-box;
    width: 170px;
    border: var(--border-tabs);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all var(--transition-all-time);
}

.tabs_box_product_photo{
    width: 100%;
    padding: 4px;
}


.tabs_product_photo{
    width: 100%;
    display: block;
    border-radius: 4px;
    object-fit: cover;
    height: 150px;
}


.tabs_box_product_info{
    padding: 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-content: space-between;
}

.tabs_product_title{
    font-family: var(--font-family-minor);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.36;
    letter-spacing: 0.02em;
    height: 57px;
}


.tabs_box_rating_price{
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.tabs_box_rating{
    display: flex;
    align-items: center;
    gap: 10px;
}

.box_icon{
    display: flex;
    align-items: center;
    height: auto;
}

.tabs_icon_rating {
    width: 15px;
    height: 15px;
    opacity: 0.2;
}


.filled{
    fill: var(--color-hover);
    opacity: 1;
}

.tabs_rating_value{
    font-family: var(--font-family-minor);
    font-size: 12px;
    font-weight: 400;
    opacity: 0.55;
    margin: 0;
}

.tabs_product_price{
    font-family: var(--font-family-minor);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.36;
}


.tabs_item_product_link:hover{
    transform: translateY(-4px);
    box-shadow: 
    0px 2px 3px 0px rgba(0, 0, 0, 0.23),
    0px 6px 6px 0px rgba(0, 0, 0, 0.2),
    0px 14px 9px 0px rgba(0, 0, 0, 0.12),
    0px 25px 10px 0px rgba(0, 0, 0, 0.03),
    0px 40px 11px 0px rgba(0, 0, 0, 0);
    
}


.btn_cart_product{
    position: relative;
    width: 100%;
    border-radius: 4px;
    background-color: rgba(238, 113, 3, 1);
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
}

.text_btn_cart{
    font-family: var(--font-family-main);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.14;
    color: rgba(254, 251, 250, 1);
}


.tabs_btn_text{
    font-family: var(--font-family-main);
    position: relative;
    z-index: 10;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.14;
    color: var(--color-text-header-main);
    margin: 0;
}


.btn_cart_product::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--backdrop-dark);
    opacity: 0;
    transition: opacity var(--transition-all-time);
}

.btn_cart_product:hover::after {
    opacity: 1; /* Показати затемнення при наведенні */
}


@media screen and (min-width:768px) {
    .tabs_item_product_link{
        width: 224px;

    }

    .tabs_list_products_categoty{
        justify-content: flex-start;
        column-gap: 16px;
    }

    .tabs_list_products_categoty{
        padding-bottom: 20px;
    }
        
    .box_title_length_ctategory{
        justify-content: flex-start;
        gap: 30px;
    }


    .title_ctategory{
        width: auto;
        font-size: 24px;
    }

 
    .container_products_sort_btn_filter{
        justify-content: flex-start;
        gap: 40px;
    }

    .container_products_sort{
        width: 100%;
        height: 40px;
    }


    .btn_open_filter{
        border-radius: 8px;
        min-width: 220px;
        height: 40px;
        justify-content: center;
    }
}


@media screen and (min-width:1440px) {
    .tabs_item_product_link{
        width: 226px;
    }

    .tabs_item_product {
        width: 226px;
    }

    .tabs_list_products_categoty{
        justify-content: flex-start;
        column-gap: 10px;
    }

        
    .box_title_length_ctategory{
        justify-content: flex-start;
        gap: 30px;
    }

    .tabs_list_products_categoty{
        padding-bottom: 40px;
    }

    .title_ctategory{
        font-size: 32px;
    }

 
    .container_products_sort_btn_filter{
        justify-content: flex-start;
        gap: 40px;
    }

    .container_products_sort{
        width: 100%;
        height: 40px;
    }

    .container_title_sort{
        display: flex;
        justify-content: space-between;
    }

    
}


.tabs_item_product{
    position: relative;
}

.tabs_item_product{
    position: relative;
}

.box_compensation_category {
    position: absolute;
    z-index: 999;
    top: 10px;
    left: 10px;
    padding: 4px 12px;
    border-radius: 43px;
    color: #FEFBFA;
    font-family: var(--font-family-main);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.21;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    background-color: #45A02E;

}

@media (min-width: 1200px) {
    #product-category #content {

        min-height: 500px;
    }

    .container_description_category {
    padding-top: 25px;
    }

}
 #product-category #column-left {
        padding-right: 15px;
        padding-left: 0;
    }
@media (min-width: 768px){
    .ocf-header {
        display: none !important;
    }
 
   
}
   .btn_open_filter{
        display: none;
    }
@media (min-width: 768px) and (max-width: 1439px) {
   
     .tabs_item_product_link {
        width: 223px;
    }
    #product-category #column-left{
        width: 33%;
    }
}
@media (max-width: 767px){
    #column-left {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 320px;
        height: 100%;
        background: #fff;
        z-index: 1100;
        overflow-y: auto;
        padding: 20px 16px;
        transition: left 0.3s ease;
        box-shadow: 2px 0 16px rgba(0,0,0,0.15);
    }

    #column-left.filter_open {
        left: 0;
    }

    #filter_overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.45);
        z-index: 1099;
    }

    #filter_overlay.active {
        display: block;
    }
}


/* ── Pagination ── */
.pagination_wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 10px 0 30px;
}

.pagination_results {
    font-family: var(--font-family-minor);
    font-size: 14px;
    font-weight: 400;
    color: rgba(18, 17, 17, 0.55);
}

.pagination_nav .pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
}

.pagination_nav .pagination > li > a,
.pagination_nav .pagination > li > span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 8px;
    border-radius: 8px;
    border: 1px solid rgba(18, 17, 17, 0.2);
    font-family: var(--font-family-minor);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-title);
    background: #fff;
    text-decoration: none;
    transition: all var(--transition-all-time);
}

.pagination_nav .pagination > li.active > a,
.pagination_nav .pagination > li.active > span {
    background: rgba(238, 113, 3, 1);
    border-color: rgba(238, 113, 3, 1);
    color: #fff;
}

.pagination_nav .pagination > li > a:hover {
    background: rgba(238, 113, 3, 0.08);
    border-color: rgba(238, 113, 3, 1);
    color: rgba(238, 113, 3, 1);
}