/* RBT-CAT-004 — Category Toolbar V3 */

body#category #js-product-list-top.products-selection {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 12px 16px;
  margin-bottom: 20px;
  background: #fff;
  border: 1px solid #e2e6ed !important;
  border-radius: 10px;
}

body#category #js-product-list-top
.products-sort-order > .dropdown_tri {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 165px;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid #e2e6ed;
  border-radius: 8px;
  color: #202938;
}

body#category #js-product-list-top .list_grid_switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  order: 3;
  margin-right: auto !important;
  margin-left: 0 !important;
}

body#category #js-product-list-top .list_grid_switcher > div {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  line-height: 1;
  border: 1px solid #e2e6ed;
  border-radius: 7px;
  cursor: pointer;
}

body#category #js-product-list-top .list_grid_switcher > div > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  line-height: 1;
}

body#category #js-product-list-top .list_grid_switcher > .selected {
  background: #d52b35;
  border-color: #d52b35;
  color: #fff;
}

body#category #js-product-list-top > .flex_child {
  display: none !important;
}

body#category #js-product-list-top > .paginaton_sample {
  display: none !important;
}

@media (max-width: 767px) {
  body#category #js-product-list-top.products-selection {
    padding: 10px;
    gap: 8px;
    flex-wrap: wrap;
  }

  body#category #js-product-list-top
  .products-sort-order > .dropdown_tri {
    min-width: 0;
  }
}

/* RBT-CATEGORY-LIST-002 START */
body#category #js-product-list .products.product_list.list .product_list_item{width:100%!important;max-width:100%!important;flex:0 0 100%!important;float:none!important;clear:both!important;margin:0 0 12px!important;}
body#category #js-product-list .products.product_list.list .product_list_item .pro_outer_box{position:relative!important;display:grid!important;grid-template-columns:175px minmax(0,1fr);gap:20px;direction:rtl;align-items:stretch;padding:14px!important;background:#fff;border:1px solid #e9edf2;border-radius:8px;height:auto!important;cursor:pointer;transition:border-color .2s,box-shadow .2s;}
body#category #js-product-list .products.product_list.list .product_list_item .pro_outer_box:hover{border-color:#d6dbe3;box-shadow:0 4px 12px rgba(0,0,0,.06);}
body#category #js-product-list .products.product_list.list .product_list_item .pro_first_box{position:relative!important;float:none!important;width:175px!important;max-width:100%!important;height:175px!important;min-height:0!important;margin:0!important;background:#f7f8fa;border-radius:6px;overflow:hidden;}
body#category #js-product-list .products.product_list.list .product_list_item :is(.product_img_link,.front_image_pic){display:flex!important;width:100%!important;height:100%!important;align-items:center;justify-content:center;}
body#category #js-product-list .products.product_list.list .product_list_item .front-image{width:100%!important;height:100%!important;max-width:100%!important;object-fit:contain!important;}
body#category #js-product-list .products.product_list.list .product_list_item .pro_second_box{position:relative!important;display:flex!important;flex-direction:column!important;float:none!important;width:auto!important;max-width:none!important;min-width:0!important;min-height:175px!important;padding:0!important;margin:0!important;text-align:right!important;}
body#category #js-product-list .products.product_list.list .product_list_item .mini_name{order:1;margin-bottom:8px!important;}
body#category #js-product-list .products.product_list.list .product_list_item .s_title_block{height:auto!important;min-height:0!important;line-height:1.8!important;font-weight:600;text-align:right!important;}
body#category #js-product-list .products.product_list.list .product_list_item .product-desc{order:2;display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;margin:0 0 12px!important;font-size:12px;line-height:1.9;color:#687385;text-align:right!important;}
body#category #js-product-list .products.product_list.list .product_list_item .pro_kuan_box{order:3;margin-top:auto!important;}
body#category #js-product-list .products.product_list.list .product_list_item .product-price-and-shipping{text-align:right!important;padding:0!important;margin:0!important;}
body#category #js-product-list .products.product_list.list .product_list_item :is(.act_box_cart,.act_box_inner,.hover_fly){display:none!important;}
@media(max-width:767px){
body#category #js-product-list .products.product_list.list .product_list_item .pro_outer_box{grid-template-columns:112px minmax(0,1fr);gap:12px;padding:10px!important;}
body#category #js-product-list .products.product_list.list .product_list_item .pro_first_box{width:112px!important;height:125px!important;}
body#category #js-product-list .products.product_list.list .product_list_item .pro_second_box{min-height:125px!important;}
body#category #js-product-list .products.product_list.list .product_list_item .product-desc{-webkit-line-clamp:2;}
}
/* RBT-CATEGORY-LIST-002 END */
