/* خمسة تصنيفات مربعة في صف واحد */
[data-testid="store-home-square-photos"] > .grid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 4px !important;
  padding: 6px !important;
  overflow: hidden !important;
}

/* كل عنصر مربع */
[data-testid="store-home-square-photos"] > .grid > * {
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  margin: 0 !important;
  overflow: hidden !important;
  border-radius: 8px !important;
}

/* إجبار الروابط والحاويات الداخلية على الشكل المربع */
[data-testid="store-home-square-photos"] > .grid > * > a,
[data-testid="store-home-square-photos"] > .grid > * > div {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* الصورة تملأ المربع دون أن تتحول لشكل طولي */
[data-testid="store-home-square-photos"] img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
  object-position: center !important;
}

/* إلغاء أي ارتفاع ثابت يفرضه الثيم */
[data-testid="store-home-square-photos"] .square-photos,
[data-testid="store-home-square-photos"] .lazy__bg {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  aspect-ratio: 1 / 1 !important;
  background-size: contain !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
.mobeed-whatsapp-bar {
  display: block;
  width: 100%;
  padding: 10px 14px;
  background: #126b50;
  color: #fff !important;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none !important;
  position: relative;
  z-index: 9999;
}

.mobeed-whatsapp-bar:hover {
  opacity: 0.95;
}