/* Add custom CSS styles below */ 
/* كروت المنتجات تصير أنعم وفخمة */
.product-card,
.product-item,
.product-box {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  background-color: #ffffff;
}

/* حركة بسيطة لما يمر الماوس */
.product-card:hover,
.product-item:hover,
.product-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.06);
}

/* صور المنتجات تكون مرتبة ولا تنقص */
.product-card img,
.product-item img,
.product-box img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* الأزرار تصير أنعم وسريعة */
button,
.btn,
.add-to-cart-btn,
.product-add-to-cart {
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  font-weight: 600;
  transition: background-color 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}

/* حركة خفيفة للأزرار */
button:hover,
.btn:hover,
.add-to-cart-btn:hover,
.product-add-to-cart:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

/* سحب الصفحة يكون ناعم */
html {
  scroll-behavior: smooth;
}
.add-to-cart-btn, .product-add-to-cart {
  background: linear-gradient(135deg, #ff5f8f, #ff7aa6);
  border: none !important;
  color: #fff !important;
  border-radius: 30px !important;
  padding: 12px 20px !important;
  font-weight: 600;
}

.add-to-cart-btn:hover, .product-add-to-cart:hover {
  background: linear-gradient(135deg, #ff3f75, #ff6c9b);
  transform: translateY(-1px);
}

/* السعر الحالي (بعد الخصم) – أخضر */
.product-price,
.product-price .price,
.product-price .amount,
.product-show-price,
.product-show-price .price,
.product-box-price,
.product-box-price .amount {
  color: #1a7f37 !important;  /* أخضر حلو */
  font-weight: 700;
}

/* السعر القديم (قبل الخصم) – أحمر ومشطوب */
.product-price del,
.product-price .old-price,
.product-price .price-before,
.product-show-price del,
.product-show-price .old-price,
.product-box-price del,
.product-box-price .old-price,
.product-box-price .price-before {
  color: #c82333 !important;   /* أحمر */
  text-decoration: line-through;
  opacity: 0.85;
  font-weight: 500;
}



/* خلفية تغطي الشاشة */
.welcome-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 192, 203, 0.20); /* وردي شفاف */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  backdrop-filter: blur(3px);
}

/* صندوق الترحيب */
.welcome-popup-box {
  background: #ffffff; /* أبيض */
  border: 2px solid #f8b6cc; /* وردي رسمي */
  padding: 22px 28px;
  border-radius: 14px;
  width: 90%;
  max-width: 360px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  animation: popIn 0.35s ease-out;
}

/* زر الإغلاق */
.close-popup {
  background: #f3a6c1;
  border: none;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  position: absolute;
  top: 14px;
  right: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

/* عنوان */
.popup-title {
  font-size: 20px;
  font-weight: 700;
  color: #d2477c; /* وردي رسمي */
  margin-bottom: 10px;
}

/* نص */
.popup-text {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
}

/* أنيميشن الدخول */
@keyframes popIn {
  from { transform: scale(0.8); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}