/* ============================================
   1. خلفية المتجر العامة (كريمي موحّد)
   ============================================ */
body {
  background-color: #FBF3E7 !important;
}

.s-product-card-image {
  background-color: #FFFFFF !important;
}

/* ============================================
   2. الهيدر (رأس الصفحة)
   ============================================ */
.store-header .top-navbar {
  background-color: #FBF3E7 !important;
}
.store-header #mainnav.main-nav-container {
  background-color: #FBF3E7 !important;
}
.store-header .s-contacts-topnav-link {
  color: #3A2415 !important;
}
.store-header .mburger i.sicon-menu {
  color: #3A2415 !important;
}

/* ============================================
   3. الفوتر (تذييل الصفحة) - الخلفية داكنة كما هي، النص فقط تغيّر
   ============================================ */
.store-footer h3,
.store-footer .s-contacts-title {
  color: #D4A017 !important;
}
.store-footer p,
.store-footer .text-sm,
.store-footer .copyright-text,
.store-footer .copyright-text p,
.store-footer .s-contacts-item,
.store-footer .s-menu-footer-item,
.store-footer .s-trust-badges-label,
.store-footer .s-trust-badges-number {
  color: #E8C989 !important;
}
.store-footer .s-social-icon svg,
.store-footer .s-contacts-icon svg {
  fill: #D4A017 !important;
}
.store-footer a:hover {
  color: #ffffff !important;
}

/* ============================================
   4. شارة العنوان الترويجي على بطاقة المنتج (الجوال)
   ============================================ */
@media (max-width: 640px) {
  .s-product-card-promotion-title {
    font-size: 10px !important;
    padding: 2px 6px !important;
    top: 6px !important;
    line-height: 1.2 !important;
    height: auto !important;
    background-color: #6B3410 !important;
    color: #ffffff !important;
  }
}

/* ============================================
   5. البانر العريض الثابت
   ============================================ */
.s-block--fixed-banner {
  background-color: #F3F4F6 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 64px !important;
  padding-bottom: 32px !important;
}
.s-block--fixed-banner .banner--fixed {
  width: 100% !important;
  background-color: #F3F4F6 !important;
}
.s-block--fixed-banner .banner--fixed img {
  width: 100% !important;
  height: 100% !important;
  object-fit: fill !important;
}
.s-block--fixed-banner + section {
  margin-top: 0 !important;
}

/* ============================================
   6. توازن ارتفاع بطاقات المنتجات
   ============================================ */
.s-product-card-content-subtitle {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 48px !important;
}

/* ============================================
   7. زر "أضف إلى السلة" (بطاقة المنتج + صفحة المنتج)
   ============================================ */
.s-button-outline.s-button-primary-outline {
  background-color: #6B3410 !important;
  border-color: #6B3410 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
}
.s-button-outline.s-button-primary-outline .s-button-text,
.s-button-outline.s-button-primary-outline i {
  color: #ffffff !important;
}
.s-button-outline.s-button-primary-outline:hover {
  background-color: #3A2415 !important;
  border-color: #3A2415 !important;
}

@media (max-width: 640px) {
  .s-button-outline.s-button-primary-outline {
    padding: 12px 16px !important;
    font-size: 15px !important;
  }
}

/* ============================================
   8. زر "نفدت الكمية"
   ============================================ */
.s-button-outline.s-button-light-outline.s-button-disabled {
  background-color: #F3F4F6 !important;
  border-color: #D1D5DB !important;
  color: #6B7280 !important;
  font-weight: 600 !important;
  border-radius: 10px !important;
  opacity: 1 !important;
}

/* ============================================
   9. أسعار بطاقة المنتج (موحّدة الآن مع البني/الذهبي)
   ============================================ */
.s-product-card-sale-price h4 {
  color: #6B3410 !important;
  font-weight: 800 !important;
  font-size: 1.1em !important;
}
.s-product-card-sale-price span {
  color: #9CA3AF !important;
  text-decoration: line-through !important;
}
.s-product-card-starting-price h4 {
  color: #6B3410 !important;
  font-weight: 800 !important;
  font-size: 1.1em !important;
}
.s-product-card-price {
  color: #6B3410 !important;
  font-weight: 800 !important;
  font-size: 1.1em !important;
}

/* ============================================
   10. صفحة المنتج المفردة - السعر (موحّد + الحجم كما كان)
   ============================================ */
[data-testid="store-product-price"] .text-red-800 {
  color: #6B3410 !important;
  font-size: 1.75rem !important;
}
[data-testid="store-product-price"] .line-through {
  color: #9CA3AF !important;
  font-size: 1.1rem !important;
}
[data-testid="store-product-price"] > div:last-child p {
  color: #6B3410 !important;
  font-size: 1.75rem !important;
}
[data-testid="store-product-price"] > div:last-child span {
  color: #6B7280 !important;
  font-size: 1rem !important;
}
[data-testid="store-product-price"] {
  margin-top: 4px !important;
}
[data-testid="store-product-price"] p {
  font-size: 1.6rem !important;
}
[data-testid="store-product-price"] span {
  font-size: 0.95rem !important;
  color: #6B7280 !important;
}

/* ============================================
   11. النجوم والسعر شامل الضريبة
   ============================================ */
.s-rating-stars-wrapper {
  display: flex !important;
  align-items: center !important;
  margin-bottom: 4px !important;
}
small.color-grey {
  display: block !important;
  font-size: 0.8rem !important;
  margin: 2px 0 6px 0 !important;
}
.blog-single article h2 {
  font-size: 26px;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 14px;
  color: #6B3410;
}
.blog-single article h3 {
  font-size: 19px;
  font-weight: 600;
  margin-top: 22px;
  margin-bottom: 10px;
  color: #6B3410;
}
.blog-single article p {
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 16px;
}
.blog-single article ul,
.blog-single article ol {
  margin-bottom: 16px;
  padding-inline-start: 20px;
}
.blog-single article li {
  margin-bottom: 6px;
  line-height: 1.8;
}
.blog-single article h2:first-child,
.blog-single article h3:first-child {
  margin-top: 0;
}
.blog-single aside {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
}
.blog-single article a {
  color: #D4A017;
  text-decoration: underline;
  font-weight: 600;
}
.blog-single article a:hover {
  color: #6B3410;
}