/* حل قص صورة المنتج في ثيم نمو (Zid) */
.product-gallery,
.product-gallery * {
  aspect-ratio: auto !important;
}

/* الصورة */
.product-gallery img,
.product-image img,
img.product-main-image {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  max-height: none !important;
}

/* إلغاء القص */
.product-gallery,
.product-image {
  overflow: visible !important;
  height: auto !important;
}
/* زر البحث (الأيقونة اللي فيها عدسة) */
header button svg,
header a svg {
  pointer-events: none;
}

/* استهداف زر البحث عن طريق aria-label */
header button[aria-label*="بحث"],
header button[aria-label*="search"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;

  border: 1px solid #ff8c00;
  border-radius: 8px;

  transition: all 0.25s ease;
}

/* hover */
header button[aria-label*="بحث"]:hover,
header button[aria-label*="search"]:hover {
  transform: scale(1.08);
  box-shadow: 0 0 10px rgba(255,140,0,0.3);
  background: rgba(255,140,0,0.08);
}

/* active */
header button[aria-label*="بحث"]:active,
header button[aria-label*="search"]:active {
  transform: scale(0.95);
}
/* أيقونة السلة */
header a[href*="cart"],
header .cart,
header .icon-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;

  border: 1px solid #ff8c00;
  border-radius: 8px;

  transition: all 0.25s ease;
}

/* hover */
header a[href*="cart"]:hover,
header .cart:hover,
header .icon-cart:hover {
  transform: scale(1.08);
  box-shadow: 0 0 10px rgba(255,140,0,0.3);
  background: rgba(255,140,0,0.08);
}

/* active */
header a[href*="cart"]:active,
header .cart:active,
header .icon-cart:active {
  transform: scale(0.95);
}
/* زر القائمة (الثلاث شرطات) */
header button[aria-label*="menu"],
header button[aria-label*="القائمة"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;

  border: 1px solid #ff8c00;
  border-radius: 8px;

  transition: all 0.25s ease;
}

/* hover */
header button[aria-label*="menu"]:hover,
header button[aria-label*="القائمة"]:hover {
  transform: scale(1.08);
  box-shadow: 0 0 10px rgba(255,140,0,0.3);
  background: rgba(255,140,0,0.08);
}

/* active */
header button[aria-label*="menu"]:active,
header button[aria-label*="القائمة"]:active {
  transform: scale(0.95);
}