/* استيراد الخطوط وأيقونات الفونت أوسم */
/*@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;700;900&display=swap');
@import url("https://site-assets.fontawesome.com/releases/v6.4.2/css/all.css");
*/
/* تطبيق الخط الرئيسي على جميع العناصر عدا الأيقونات */
body *:not(i) {
  font-family: 'Cairo', sans-serif;
  text-align: justify;
  font-size: 15px;
}

/* تعريف الألوان المتناسقة */
:root {
  --main-color: #8e6c47; /* لون شرقي فاخر */
  --second-color: #d4b17a; /* ذهبي فاتح */
  --white-color: #fff;
  --bg-light: #fdf9f3;
  --secondary-text-color: #5b4a3b;
  --link-color: #8e6c47;
}

/* الخلفية ولون النص العام */
body {
  background: linear-gradient(135deg, #fdf9f3 0%, #f6e6cf 100%);
  color: var(--secondary-text-color);
}

/* الشريط العلوي */
.top-navbar {
  padding-top: 15px;
  background-color: var(--main-color) !important;
}
.top-navbar a {
  color: var(--white-color) !important;
}

/* الهيدر */
header.store-header {
  margin-bottom: 0px;
  background: transparent;
  background-size: cover;
}
.main-nav-container.fixed-header .inner {
  background: var(--white-color) !important;
  border-radius: 0px 0px 30px 30px;
  padding-top: 10px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* الأزرار */
button, .btn {
  background-color: var(--second-color) !important;
  color: var(--white-color) !important;
  border-radius: 12px !important;
  font-weight: bold;
  padding: 10px 18px;
  transition: all 0.3s ease-in-out;
  box-shadow: none !important;
}
button:hover, .btn:hover {
  background-color: #a27540 !important;
  transform: scale(1.05);
  box-shadow: 0 0 15px 3px rgba(222, 184, 135, 0.6);
}
button:visited, .btn:visited {
  background-color: var(--main-color) !important;
}

/* الروابط */
a {
  color: var(--link-color);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--second-color);
  text-decoration: underline;
}

/* بطاقات المنتجات */
.product-card {
  border-radius: 16px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07) !important;
  background: var(--white-color);
  transition: transform 0.3s ease-in-out, box-shadow 0.4s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 15px 3px rgba(222, 184, 135, 0.6);
}

/* إجمالي السلة */
.s-cart-summary-total {
  color: var(--main-color) !important;
}

/* تحسين الصور */
img {
  display: block;
  max-width: 100%;
  height: auto;
  loading: lazy;
  border-radius: 12px;
  object-fit: cover;
  transition: transform 0.3s ease;
}
img:hover {
  transform: scale(1.05);
}

/* العناوين */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cairo', 'Tajawal', sans-serif;
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--main-color);
  text-shadow: 1px 1px 4px rgba(142, 108, 71, 0.6);
}

/* نص البطل */
.hero-title {
  border-right: 2px solid var(--second-color);
  white-space: nowrap;
  overflow: hidden;
  animation: typing 3s steps(30, end) infinite alternate;
  color: var(--main-color);
}
@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

/* الفوتر */
.footer-is-light .store-footer .store-footer__inner,
footer.store-footer .store-footer__inner {
  background-color: var(--main-color) !important;
  color: var(--white-color) !important;
  h1, h2, h3, h4, h5, h6 {
  font-family: 'Cairo', 'Tajawal', sans-serif;
  font-weight: 900;
  letter-spacing: 1px;
  color: #f8f3f0;;
  text-shadow: 1px 1px 4px rgba(142, 108, 71, 0.6);
}
}
.footer-is-light .store-footer a,
footer.store-footer a {
  color: #f8f3f0; !important;
text-align:justify;
}
.footer-is-light .store-footer a:hover,
footer.store-footer a:hover {
  color: #f2f2f2 !important;
}

/* استجابة الشاشات */
@media (max-width: 768px) {
  .product-card {
    width: 100% !important;
  }
  .navbar {
    font-size: 14px !important;
  }
  .store-hero h1 {
    font-size: 2rem;
  }
  .store-hero p {
    font-size: 1rem;
  }
  .hero-banner h1 {
    font-size: 2rem;
  }
  .hero-banner p {
    font-size: 1rem;
  }
}

/* بانر رئيسي أنيق للموقع */
.store-hero {
  background-image: url('https://i.imgur.com/oa7MDVm.jpg'); /* غيّر الصورة حسب ذوقك */
  background-size: cover;
  background-position: center;
  border-radius: 22px;
  padding: 100px 20px;
  margin: 40px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
  color: #fffaf0;
  animation: fadeIn 1.5s ease-in-out;
}
.store-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(60, 45, 30, 0.6), rgba(0, 0, 0, 0.4));
  z-index: 1;
  border-radius: inherit;
}
.store-hero * {
  position: relative;
  z-index: 2;
  color: #f7e7c1 !important;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.5);
  font-family: 'Tajawal', sans-serif;
}
.store-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 20px;
}
.store-hero p {
  font-size: 1.2rem;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 30px;
}
.store-hero a.btn, .store-hero .btn {
  background-color: #d1a163 !important;
  color: #3e2c23 !important;
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: bold;
  font-size: 1.1rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.store-hero a.btn:hover, .store-hero .btn:hover {
  background-color: #b88752 !important;
  color: #fff !important;
  transform: scale(1.05);
}

/* حركة بسيطة */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* بانر ثانوي */
.hero-banner {
  background-image: url('https://i.imgur.com/WYbkR2B.jpg'); /* غيّر الصورة إن أردت */
  background-size: cover;
  background-position: center;
  padding: 100px 20px;
  text-align: center;
  border-radius: 24px;
  margin: 40px 0;
  color: #fff;
  position: relative;
  overflow: hidden;
  animation: fadeIn 1.5s ease-in-out;
}
.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  border-radius: inherit;
}
.hero-banner h1 {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--second-color);
  position: relative;
  z-index: 1;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.4);
}
.hero-banner p {
  font-size: 1.2rem;
  margin: 20px auto;
  max-width: 700px;
  color: #f8f6f1;
  position: relative;
  z-index: 1;
}
.hero-banner .btn-banner {
  background: var(--second-color);
  color: #3a2a1c;
  padding: 12px 28px;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 10px;
  text-decoration: none;
  display: inline-block;
  margin-top: 20px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}
.hero-banner .btn-banner:hover {
  background-color: var(--main-color);
  color: white;
  transform: scale(1.05);
}

/* تخصيص فئات المنتجات بألوان شرقية */
.category-fabrics {
  background-color: #f6e5d8;
  color: #7a5230;
  border-radius: 12px;
  padding: 8px 12px;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 8px;
}
.category-embroidery {
  background-color: #d8c1b0;
  color: #5a3a1a;
  border-radius: 12px;
  padding: 8px 12px;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 8px;
}
.category-accessories {
  background-color: #c8b28a;
  color: #4b3612;
  border-radius: 12px;
  padding: 8px 12px;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 8px;
}

/* شريط التمرير الأفقي للفئات */
.category-scroll {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding: 10px 0;
  scrollbar-width: thin;
  scrollbar-color: var(--second-color) #f0e6d4;
}
.category-scroll::-webkit-scrollbar {
  height: 8px;
}
.category-scroll::-webkit-scrollbar-track {
  background: #f0e6d4;
  border-radius: 8px;
}
.category-scroll::-webkit-scrollbar-thumb {
  background-color: var(--second-color);
  border-radius: 8px;
  border: 2px solid #f0e6d4;
}

/* تحسين الأزرار على الأجهزة المحمولة */
@media (max-width: 480px) {
  button, .btn {
    font-size: 15px;
    padding: 10px 14px;
  }
  .store-hero h1 {
    font-size: 2rem;
  }
  .hero-banner h1 {
    font-size: 1.8rem;
  }
}

/* إضافة تأثير توهج عند التركيز */
button:focus, .btn:focus, a:focus {
  outline: none;
  box-shadow: 0 0 12px 3px rgba(222, 184, 135, 0.8);
}

/* تحسينات عامة */
input, textarea, select {
  font-family: 'Cairo', sans-serif;
  border-radius: 8px;
  border: 1px solid #ccc;
  padding: 8px 12px;
  transition: border-color 0.3s ease;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--main-color);
  box-shadow: 0 0 8px var(--second-color);
}

/* تحسينات لتنسيق المنتجات في الصفحات */
.product-listing .product-card {
  margin-bottom: 30px;
}

/* نهاية الكود */