.elementor-11239 .elementor-element.elementor-element-167f967{--display:flex;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:space-around;--align-items:stretch;--margin-top:-235px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-11239 .elementor-element.elementor-element-167f967.e-con{--align-self:flex-end;--flex-grow:1;--flex-shrink:0;}.elementor-11239 .elementor-element.elementor-element-a2dfe6c .product{text-align:center;}.elementor-11239 .elementor-element.elementor-element-a2dfe6c.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}.elementor-11239 .elementor-element.elementor-element-a2dfe6c a > img{border-style:solid;border-width:2px 2px 2px 2px;border-color:var( --e-global-color-332724a );}.elementor-11239 .elementor-element.elementor-element-a2dfe6c .woocommerce .woocommerce-loop-category__title{font-size:12px;}#elementor-popup-modal-11239 .dialog-widget-content{animation-duration:1.2s;box-shadow:2px 8px 23px 3px rgba(0,0,0,0.2);margin:500px 0px 0px 0px;}#elementor-popup-modal-11239 .dialog-message{width:379px;height:100vh;align-items:center;}#elementor-popup-modal-11239{justify-content:flex-start;align-items:center;}#elementor-popup-modal-11239 .dialog-close-button{display:flex;background-color:var( --e-global-color-secondary );font-size:35px;}#elementor-popup-modal-11239 .dialog-close-button i{color:var( --e-global-color-332724a );}#elementor-popup-modal-11239 .dialog-close-button svg{fill:var( --e-global-color-332724a );}@media(max-width:767px){.elementor-11239 .elementor-element.elementor-element-167f967{--padding-top:20px;--padding-bottom:20px;--padding-left:20px;--padding-right:20px;}}@media(min-width:768px){.elementor-11239 .elementor-element.elementor-element-167f967{--content-width:320px;}}/* Start custom CSS for wc-categories, class: .elementor-element-a2dfe6c *//* ============================
   التصنيفات - صفوف + Scroll جانبي
   ============================ */

.cool-categories {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 6px 0 0 !important;
  list-style: none !important;
  width: 100% !important;

  max-height: 600px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

/* شكل الـ Scroll Bar */
.cool-categories::-webkit-scrollbar {
  width: 6px !important;
}

.cool-categories::-webkit-scrollbar-track {
  background: #f1f1f1 !important;
  border-radius: 10px !important;
}

.cool-categories::-webkit-scrollbar-thumb {
  background: #c7c7c7 !important;
  border-radius: 10px !important;
}

.cool-categories::-webkit-scrollbar-thumb:hover {
  background: #999 !important;
}

/* Firefox */
.cool-categories {
  scrollbar-width: thin !important;
  scrollbar-color: #c7c7c7 #f1f1f1 !important;
}

/* الكارت */
.cool-categories li.product-category {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
  transition: all 0.3s ease !important;
  flex: 0 0 auto !important;
}

/* Hover */
.cool-categories li.product-category:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12) !important;
}

/* الرابط الداخلي */
.cool-categories li.product-category > a {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  text-align: right !important;
  padding: 10px 14px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  text-decoration: none !important;
}

/* إطار الصورة */
.cool-categories li.product-category .category-image,
.cool-categories li.product-category .cat-thumb,
.cool-categories li.product-category figure {
  width: 40px !important;
  min-width: 40px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
  padding: 5px !important;
  margin: 0 !important;
  border-radius: 50% !important;
  transition: all 0.3s ease !important;
}

/* Hover للصورة */
.cool-categories li.product-category:hover figure,
.cool-categories li.product-category:hover .category-image,
.cool-categories li.product-category:hover .cat-thumb {
  background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%) !important;
  transform: scale(1.05) !important;
}

/* الصورة */
.cool-categories li.product-category img {
  max-width: 24px !important;
  max-height: 24px !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* النص */
.cool-categories .woocommerce-loop-category__title {
  margin: 0 !important;
  text-align: right !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  color: #333 !important;
  flex: 1 !important;
}

/* إخفاء العدد */
.cool-categories .woocommerce-loop-category__title .count {
  display: none !important;
}

/* ============================
   الموبايل
   ============================ */

@media (max-width: 768px) {

  .cool-categories {
    max-height: 600px !important;
    gap: 8px !important;
    padding-right: 4px !important;
  }

  .cool-categories li.product-category > a {
    padding: 8px 10px !important;
    gap: 10px !important;
  }

  .cool-categories li.product-category figure,
  .cool-categories li.product-category .category-image,
  .cool-categories li.product-category .cat-thumb {
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
  }

  .cool-categories li.product-category img {
    max-width: 20px !important;
    max-height: 20px !important;
  }

  .cool-categories .woocommerce-loop-category__title {
    font-size: 13px !important;
  }

  .cool-categories::-webkit-scrollbar {
    width: 4px !important;
  }
}/* End custom CSS */