.mh-gategory-wrapper {
    display: grid;
    gap: 20px;
    padding: 10px;
    grid-template-columns: repeat(3, 1fr); /* موبايل */
}

@media(min-width: 768px) {
    .mh-gategory-wrapper {
        grid-template-columns: repeat(4, 1fr); /* تابلت */
    }
}

@media(min-width: 1024px) {
    .mh-gategory-wrapper {
        grid-template-columns: repeat(5, 1fr); /* كمبيوتر */
    }
}

.mh-gategory-item {
    text-align: center;
    text-decoration: none !important;
    color: #222;
}

.mh-gategory-circle {
    width: 90px;
    height: 90px;
    margin: 0 auto 8px auto;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.mh-gategory-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mh-gategory-name {
    font-size: 14px;
    font-weight: 600;
}
.mh-products-grid {
    display: grid;
    gap: 20px;
    margin-top: 20px;
    grid-template-columns: repeat(2, 1fr);
}

@media(min-width: 768px){
    .mh-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(min-width: 1024px){
    .mh-products-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.mh-loading {
    text-align: center;
    padding: 20px;
    font-size: 18px;
}

#mh-load-more {
  background: linear-gradient(180deg, #f6f6f6 0%, #d9d9d9 100%);
  color: #222;
  border: 1px solid #ccc;
  border-radius: 25px;
  padding: 10px 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 20px auto;
}

#mh-load-more:hover {
  background: linear-gradient(180deg, #4a4a4a 0%, #353535 100%);
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.4);
}

#mh-load-more:active {
  transform: translateY(0);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.mh-back-btn {
  background: linear-gradient(180deg, #f6f6f6 0%, #d9d9d9 100%);
  color: #222;
  border: 1px solid #ccc;
  border-radius: 25px;
  padding: 10px 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto 20px;
}

.mh-back-btn:hover {
  background: linear-gradient(180deg, #4a4a4a 0%, #353535 100%);
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.4);
}

.mh-back-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.mh-product-item a.mh-product-link h4.mh-product-title {
    font-size: 13px !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
    color: #222 !important;
    margin: 10px 0 !important;
}



/* الحاوية العامة للسعر */
.mh-product-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 8px 0;
    font-size: 14px;
    color: #444;
}

/* السعر القديم (المشطوب) */
.mh-product-price del {
    color: #999;           /* رمادي */
    font-size: 14px;
    text-decoration: line-through;
    padding: 2px 6px;
    color: #d32f2f;         /* أحمر */
    border: 2px solid #d32f2f;  /* دائرة */
    border-radius: 50px;
}

/* السعر الجديد (المخفض) */
.mh-product-price ins {
    font-weight: bold;
    background: #fff;
    padding: 2px 8px;
    text-decoration: none;
    font-size: 15px;
}





