/* Add custom CSS styles below */ 
/* ===== رحلة الفرح للعسل الطبيعي — تجميل المتجر ===== */

:root {
  --rf-brand: #840f06;       /* اللون الأساسي لمتجرك */
  --rf-brand-dark: #5E0A04;
  --rf-brand-soft: #FBF1EF;  /* عنابي فاتح جداً للخلفيات */
  --rf-honey: #C8841A;       /* لمسة العسل */
  --rf-text: #2B1B12;
  --rf-line: #EFE3DA;
}

body { background-color: #FCFAF8; }

/* ---------- الهيدر والشعار ---------- */
.main-nav-container { border-bottom: 2px solid var(--rf-honey); }
.navbar-brand img { height: 60px !important; width: auto !important; max-height: none !important; }

/* ---------- عنوان القسم في الرئيسية (سطر العرض) ---------- */
.s-block__title h2 {
  background: var(--rf-brand-soft);
  border-right: 5px solid var(--rf-brand);
  color: var(--rf-brand-dark);
  padding: 14px 18px;
  border-radius: 10px;
  line-height: 1.8;
}

/* ---------- بطاقة المنتج ---------- */
.s-product-card-entry {
  border: 1px solid var(--rf-line);
  border-radius: 16px !important;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.s-product-card-entry:hover {
  border-color: var(--rf-honey);
  box-shadow: 0 8px 22px rgba(132, 15, 6, .08);
}
.s-product-card-image-cover {
  object-fit: cover;
  transition: transform .4s ease;
}
.s-product-card-entry:hover .s-product-card-image-cover { transform: scale(1.04); }

.s-product-card-promotion-title {
  border-radius: 0 0 0 10px;
  font-weight: 700;
}
.s-product-card-content-title,
.s-product-card-content-title a {
  color: var(--rf-text) !important;
  line-height: 1.7;
}
.s-product-card-content-subtitle { color: #7A6A60; }

/* زر "أضف إلى السلة": يمتلئ بالعنابي عند المرور */
.s-product-card-entry .s-button-primary-outline {
  border-radius: 10px !important;
  font-weight: 700;
  transition: background-color .2s ease, color .2s ease;
}
.s-product-card-entry .s-button-primary-outline:hover {
  background-color: var(--rf-brand) !important;
  color: #fff !important;
}

/* ---------- صفحة المنتج ---------- */
.container--product-details h1 {
  color: var(--rf-text) !important;
  line-height: 1.6 !important;
}
.container--product-details .total-price {
  font-size: 1.6rem !important;
  color: var(--rf-brand) !important;
}
/* شارة "تم شراؤه ... مرة" تصبح بارزة */
.container--product-details .main-content > .inline-flex.bg-white {
  background: #FFF6E6 !important;
  border: 1px solid #F1D9A8;
  color: #7A4A06;
  font-weight: 700;
  padding-inline: 14px;
}
.container--product-details section.bg-white {
  border: 1px solid var(--rf-line);
  border-radius: 14px !important;
}
.product__description { line-height: 2 !important; color: #3D2E25; }
.details-slider { border-radius: 16px !important; overflow: hidden; }

/* ---------- الفوتر ---------- */
.store-footer { border-top: 3px solid var(--rf-honey); }

/* ---------- سهولة الاستخدام ---------- */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--rf-brand);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
}