/* Add custom CSS styles below */ 
/* ===== الخط العربي الأساسي ===== */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700&display=swap');

body {
  font-family: 'Tajawal', sans-serif !important;
  background-color: #ffffff !important;
  color: #014c64 !important;
}

/* ===== شريط الترحيب المتحرك ===== */
.top-bar-announcement {
  background-color: #014c64;
  color: #ffffff;
  text-align: center;
  padding: 10px 9px;
  font-size: 10px;
  font-weight: 350;
  font-family: 'Tajawal', sans-serif;
  position: relative;
  overflow: hidden;
  height: 30px; /* ارتفاع الشريط */
  display: flex;
  align-items: center;
  justify-content: center;
}

.announcement-slider {
  display: inline-block;
  white-space: nowrap;
  animation: slideText 9s linear infinite;
}

.announcement-slider span {
  display: inline-block;
  padding: 0 25px;
}

/* ===== توسيط اللوقو في الهيدر والفوتر ===== */
.header-logo,
.footer-logo,
header .logo,
footer .logo,
.site-logo {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  width: 100%;
  margin: 0 auto !important;
}

/* توسيط صورة اللوقو */
.header-logo img,
.footer-logo img,
header .logo img,
footer .logo img,
.site-logo img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

/* ===== لون النصوص العام ===== */
body, p, h1, h2, h3, h4, h5, h6, a, span, li, label {
  color: #014c64 !important;
  font-family: 'Tajawal', sans-serif !important;
}

/* ===== خلفية الموقع بالكامل ===== */
body {
  background-color: #ffffff !important;
}

/* ===== تكبير خط التصنيفات ===== */
.main-menu a,
.categories-menu a,
nav li a {
  font-size: 17px !important;
  font-weight: 600 !important;
}

/* ===== تحسين المسافات العامة ===== */
.main-menu,
.categories-menu {
  margin-top: 10px;
  margin-bottom: 10px;
}

/* ===== تحسين حجم العناوين والنصوص ===== */
h1 {
  font-size: 2.2rem !important;
  font-weight: 700;
}
h2 {
  font-size: 1.8rem !important;
  font-weight: 600;
}
h3 {
  font-size: 1.5rem !important;
  font-weight: 500;
}
p, .product-description {
  font-size: 1rem !important;
  line-height: 1.6;
}

/* ===== تأثير الروابط عند التحويم ===== */
a:hover, .btn:hover {
  color: #012f3d !important;
  background-color: rgba(1, 76, 100, 0.06);
  transition: all 0.3s ease-in-out;
}

/* ===== تصميم الأزرار ===== */
.btn-primary, .add-to-cart, .checkout-button {
  background-color: #014c64 !important;
  color: #ffffff !important;
  border-radius: 6px;
  padding: 12px 20px;
  border: none;
  transition: background-color 0.3s ease;
}
.btn-primary:hover, .add-to-cart:hover, .checkout-button:hover {
  background-color: #012f3d !important;
}

/* ===== تأثير المنتجات عند المرور ===== */
.product-item, .product-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-item:hover, .product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* ===== تحسين الفوتر ===== */
footer {
  background-color: #ffffff !important;
  padding: 40px 0;
}
footer .footer-links a {
  color: #014c64 !important;
  font-weight: 500;
}
footer .footer-links a:hover {
  text-decoration: underline;
}

/* ===== تحسين للجوال ===== */
@media (max-width: 768px) {
  .header-logo, .footer-logo, header .logo, footer .logo {
    flex-direction: column;
  }

  h1 { font-size: 1.8rem !important; }
  h2 { font-size: 1.5rem !important; }
  h3 { font-size: 1.3rem !important; }
  p, .product-description { font-size: 0.95rem !important; }
  
  /* تصغير حجم النص في الشريط الترحيبي للجوال */
  .top-bar-announcement {
    font-size: 14px;
    height: 35px;
    padding: 8px 10px;
  }
}