/*******************************
   1) ألوان وهوية المتجر
********************************/
:root {
  /* ألوان رئيسية */
  --color-primary: #c8a043;         /* الذهبي */
  --color-secondary: #000000;       /* الأسود */
  --color-accent: #0d1b2a;          /* أزرق غامق اختياري */
  --color-text-main: #111111;       /* نص داكن على الخلفية البيضاء */
  --color-text-light: #ffffff;      /* نص فاتح على الخلفية الداكنة */
  --color-bg-main: #ffffff;         /* خلفية أساسية بيضاء */
  --color-bg-alt: #f5f5f5;          /* خلفية ثانوية رمادي فاتح */
  --color-bg-dark: #0b0b0f;         /* خلفية داكنة للأقسام الفاخرة */

  /* لو القالب يستخدم هذي المتغيرات بيأخذها مباشرة */
  --main-color: var(--color-primary);
  --secondary-color: var(--color-secondary);
}

/*******************************
   2) الخلفية العامة والخطوط
********************************/
body {
  background-color: var(--color-bg-main);
  color: var(--color-text-main);
  font-family: inherit;
}

section,
.page-section,
.home-section,
.container {
  background-color: transparent;
}

/*******************************
   3) الهيدر والنافبار
********************************/
.header,
.site-header,
.top-header,
.navbar,
nav[class*="header"] {
  background: linear-gradient(
    to right,
    var(--color-bg-dark) 0%,
    #151515 50%,
    #ffffff 50%
  );
  color: var(--color-text-light);
  border-bottom: 1px solid rgba(200, 160, 67, 0.4);
}

.header a,
.site-header a,
.navbar a,
nav[class*="header"] a {
  color: var(--color-text-light);
  font-weight: 500;
}

.header a:hover,
.site-header a:hover,
.navbar a:hover,
nav[class*="header"] a:hover {
  color: var(--color-primary);
}

/*******************************
   4) العنوان الرئيسي (الـ Hero)
********************************/
.hero,
.main-banner,
.slider,
.section-hero {
  background: linear-gradient(
    135deg,
    var(--color-bg-dark) 0%,
    #151515 40%,
    #ffffff 100%
  );
  color: var(--color-text-light);
  padding: 40px 15px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
}

.hero h1,
.hero h2,
.main-banner h1,
.main-banner h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.hero p,
.main-banner p {
  font-size: 1rem;
  opacity: 0.9;
}

/* هالة ذهبية خفيفة */
.hero::after,
.main-banner::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(200, 160, 67, 0.45);
  top: -80px;
  left: -80px;
  pointer-events: none;
}

/*******************************
   5) الأزرار
********************************/
.btn,
button,
a.button,
input[type="submit"],
.add-to-cart,
.product-btn {
  background: var(--color-primary);
  color: #000;
  border-radius: 999px;
  border: none;
  padding: 10px 22px;
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  transition: all 0.2s ease-in-out;
}

.btn:hover,
button:hover,
a.button:hover,
input[type="submit"]:hover,
.add-to-cart:hover,
.product-btn:hover {
  background: #e0b95a;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

/*******************************
   6) كروت المنتجات
********************************/
.product-card,
.product-item,
.product-box,
[class*="product-card"] {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #ededed;
  padding: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
}

.product-card:hover,
.product-item:hover,
.product-box:hover,
[class*="product-card"]:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.product-card .price,
.product-item .price,
.product-box .price {
  color: var(--color-primary);
  font-weight: 700;
}

/*******************************
   7) عناوين الأقسام
********************************/
.section-title,
h2.section-title,
h2.title,
h3.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
  font-weight: 700;
}

.section-title::after,
h2.section-title::after,
h2.title::after,
h3.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 60%;
  height: 3px;
  background: linear-gradient(
    to right,
    var(--color-primary),
    transparent
  );
  border-radius: 999px;
}

/*******************************
   8) أقسام داكنة (تقييمات / عروض / فوتر)
********************************/
.section-dark,
.testimonials,
.special-offer,
.footer,
.site-footer {
  background: var(--color-bg-dark) !important;
  color: var(--color-text-light);
}

.section-dark h2,
.section-dark h3,
.testimonials h2,
.special-offer h2,
.footer h2 {
  color: var(--color-primary);
}

/*******************************
   9) التقييمات (النجوم)
********************************/
.rating,
.stars,
[class*="rating"] i {
  color: #ffcc48;
}

/*******************************
   10) الفورمات (تواصل / اشتراك)
********************************/
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  border-radius: 999px;
  border: 1px solid #dddddd;
  padding: 10px 16px;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(200, 160, 67, 0.2);
}

/*******************************
   11) الهوامش العامة
********************************/
.section,
.page-section,
.home-section {
  padding-top: 32px;
  padding-bottom: 32px;
}

/*******************************
   12) صندوق طرق الدفع تحت المنتج
********************************/
.fs-payment-methods-box {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #f7f7f7;
  border: 1px solid #e3e3e3;
}

.fs-payment-methods-title {
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.fs-payment-methods-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.fs-payment-methods-list li {
  padding: 4px 10px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  font-size: 0.8rem;
}

/*******************************
   13) شكل الهيدر بعد التمرير
********************************/
.fs-header-scrolled {
  background-color: #000000 !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}

/*******************************
   14) حركة ظهور الكروت
********************************/
.fs-card-hidden {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.35s ease-out;
}

.fs-card-visible {
  opacity: 1;
  transform: translateY(0);
}

/*******************************
   15) موبايل – تحسينات
********************************/
@media (max-width: 768px) {
  .hero,
  .main-banner,
  .slider,
  .section-hero {
    padding: 24px 18px;
    text-align: center;
  }

  .hero::after,
  .main-banner::after {
    display: none;
  }

  .product-card,
  .product-item,
  .product-box {
    margin-bottom: 14px;
  }

  .fs-payment-methods-box {
    padding: 12px 13px;
  }
}