@charset "UTF-8";
/***!  /templates/wt_trendi_free/css/custom_hikashop.css  !***/

/* ───── شبكة المنتجات ───── */
.hikashop_products_container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin: 30px 0;
}

/* ───── البطاقة الفردية ───── */
.hikashop_subcontainer {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  text-align: center;
  position: relative;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hikashop_subcontainer:hover {
  transform: translateY(-5px);
}

/* ───── صورة المنتج ───── */
.hikashop_product_image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 12px;
}

/* ───── عنوان المنتج ───── */
.hikashop_product_name {
  font-family: "Cairo", sans-serif;
  font-size: 1.1rem;
  font-weight: bold;
  color: #ba2c2c;
  margin-bottom: 10px;
}

/* ───── زر التفاصيل ───── */
.hikashop_product_url_button {
  background-color: #ba2c2c;
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: bold;
  font-family: "Cairo", sans-serif;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.hikashop_product_url_button:hover {
  background-color: #006699;
}

/* ───── شارة "جديد" ───── */
.hikashop_subcontainer::before {
  content: "جديد";
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #ba2c2c;
  color: white;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 4px;
  z-index: 2;
  font-family: "Cairo", sans-serif;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* ───── إخفاء عناصر التحميل غير الضرورية ───── */
.hikashop_checkout_loading_elem,
.hikashop_checkout_loading_spinner {
  display: none !important;
}

/* ───── تجاوب الهاتف ───── */
@media (max-width: 768px) {
  .hikashop_product_name {
    font-size: 1rem;
  }
  .hikashop_product_url_button {
    font-size: 0.9rem;
    padding: 6px 12px;
  }
}
/* ───── صورة المنتج بحجم كامل داخل البطاقة ───── */
.hikashop_product_image img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  border-radius: 6px;
  margin-bottom: 12px;
  background-color: #f9f9f9; /* خلفية رمادية خفيفة لتوضيح حدود الصورة */
}


