@import url('https://cdn.jsdelivr.net/gh/qitmeir/qitmeir-fonts-css@edbaad1771f951022b09bcbbeed173cb8765db52/EffraVFTrial.css');

/* ========== 1. خلفية عامة ========== */
body {
  background-color: #FAF7F2 !important;
  color: #2F1F16;
  font-family: 'EffraVFTrial', sans-serif;
  font-size: 18px;
}

/* ========== 2. الفوتر ========== */
.store-footer,
.store-footer__inner {
  background-color: #3B2E2A !important;
  color: #FFFFFF !important;
}

.store-footer h3 {
  color: #FFFFFF !important;
  font-weight: bold;
}

.store-footer a {
  color: #F3E9D2 !important;
  text-decoration: none;
  transition: color 0.3s ease;
}

.store-footer a:hover {
  color: #FFFFFF !important;
}

.store-footer .copyright-text,
.store-footer p.text-gray-400 {
  color: #F3E9D2 !important;
  font-size: 14px;
}

/* ========== 3. التقييمات ========== */
.s-reviews-testimonial {
  background-color: #FFF4EB;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  margin-bottom: 1.5rem;
}

.s-reviews-testimonial__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.s-reviews-testimonial__avatar img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid #3B2E2A;
}

.s-reviews-testimonial__text p {
  font-size: 1rem;
  color: #3B2E2A;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.s-reviews-testimonial__name_wrapper h2 {
  font-size: 1rem;
  color: #2F1F16;
  font-weight: bold;
}

.s-reviews-testimonial__rating svg {
  fill: #F6C44F;
  width: 20px;
  height: 20px;
}

.s-reviews-testimonial__icon svg {
  fill: #D6B28D;
  opacity: 0.3;
}

/* ========== 4. بطاقات المنتجات ========== */
.s-product-card-entry.s-product-card-horizontal {
  background-color: #FFF8F3;
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.s-product-card-entry.s-product-card-horizontal:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.s-product-card-image-cover {
  border-radius: 10px;
}

.s-product-card-content-title a {
  font-size: 1.1rem;
  color: #3B2E2A;
  font-weight: bold;
}

.s-product-card-content-subtitle {
  color: #6E6259;
  font-size: 0.95rem;
}

.s-product-card-price {
  font-size: 1.2rem;
  color: #3B2E2A;
  font-weight: bold;
}

.s-product-card-rating i {
  color: #F6C44F !important;
}

.s-button-primary-outline {
  border: 1px solid #3B2E2A !important;
  color: #3B2E2A !important;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.s-button-primary-outline:hover {
  background-color: #3B2E2A !important;
  color: #fff !important;
}

.s-product-card-wishlist-btn i {
  color: #A67C52 !important;
}

/* ========== 5. قسم المميزات ========== */
.s-block--features__item {
  background-color: #FFF8F3;
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.s-block--features__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.s-block--features__item .feature-icon {
  font-size: 2.5rem;
  color: #A67C52;
  margin-bottom: 1rem;
}

.s-block--features__item h2 {
  color: #3B2E2A;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.s-block--features__item p {
  color: #6E6259;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ========== 6. عناوين الأقسام ========== */
.section-title,
h2.section-title,
h3.section-title {
  color: #2F1F16 !important;
  font-weight: bold;
  font-size: 1.25rem;
}

/* ========== 7. أزرار الإضافة للسلة ========== */
button.add-to-cart {
  background-color: #3B2E2A !important;
  color: #fff !important;
  border-radius: 8px;
  padding: 0.6rem 1.2rem;
  transition: background-color 0.3s ease;
}

button.add-to-cart:hover {
  background-color: #2A1F1A !important;
}

/* ========== 8. الهيدر ========== */
.top-bar,
.header-announcement {
  background-color: #3B2E2A !important;
  color: #FFFFFF !important;
  font-size: 0.95rem;
  text-align: center;
  padding: 0.5rem 1rem;
}

/* حقل البحث */
.header-search input {
  background-color: #FDF8F3 !important;
  border: none;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  color: #3B2E2A !important;
}

.header-search input::placeholder {
  color: #A67C52 !important;
}

/* الأيقونات */
.header-icon,
.header-icon svg {
  color: #3B2E2A !important;
  fill: #3B2E2A !important;
  transition: color 0.3s ease;
}

.header-icon:hover {
  color: #A67C52 !important;
}

/* روابط القائمة */
.header-menu a {
  font-size: 2rem !important;
  line-height: 1.4 !important;
  color: #3B2E2A !important;
  font-weight: 700 !important;
}

.header-menu a:hover,
.header-menu a.active {
  color: #A67C52 !important;
}

/* شعار المتجر */
.header .logo h1,
.header .logo h2 {
  font-family: 'Tajawal', sans-serif;
  font-size: 1.5rem;
  font-weight: bold;
  color: #DCA93A !important;
}

/* غلاف الهيدر */
.header {
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: #FFFFFF !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

/* تنسيق الهيدر الرئيسي */
.inner {
  background-color: #FFF8F3 !important;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #EEE;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-radius: 0 0 16px 16px;
}

/* === مربعات الخيارات داخل صفحة المنتج (select dropdowns) === */
.s-product-options-option-content select {
  background-color: #FFF8F3 !important;
  border: 1px solid #D7CCC4 !important;
  border-radius: 8px !important;
  color: #3B2E2A !important;
  font-weight: 500;
  padding: 0.6rem 1rem;
}

.s-product-options-option-content select:focus {
  border-color: #A67C52 !important;
  box-shadow: 0 0 0 2px rgba(166, 124, 82, 0.2);
}

.s-product-options-option-label b {
  color: #3B2E2A !important;
  font-size: 1rem;
}

.s-product-options-option-label small {
  color: #6E6259 !important;
  font-size: 0.85rem;
}

/* === المربع: تم شراءه X مرة === */
.bg-white.py-2\.5.mb-5.rounded-md.inline-flex.text-sm {
  background-color: #FFF8F3 !important;
  color: #A12D2F !important;
  font-weight: bold;
  border-radius: 12px;
  padding: 0.75rem 1.25rem !important;
  font-size: 0.95rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

/* === المربعات: رقم الموديل / الوزن / السعر === */
.bg-white.rounded-md {
  background-color: #FFF8F3 !important;
  border-radius: 12px !important;
  padding: 1rem !important;
  color: #3B2E2A;
  font-size: 0.95rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.bg-white.rounded-md i {
  color: #A67C52 !important;
  font-size: 1.1rem;
}

/* === السعر و "نفدت الكمية" === */
.price-wrapper h2.total-price {
  color: #3B2E2A !important;
  font-size: 1.3rem !important;
}

.before-price {
  color: #B53B3B !important;
  font-weight: 500;
}

/* === مربع الكمية + الأزرار === */
.s-quantity-input-container {
  background-color: #fff;
  border-radius: 8px;
  border: 1px solid #ddd;
  overflow: hidden;
}

.s-quantity-input-button {
  background-color: #FAF7F2 !important;
  color: #3B2E2A !important;
  font-size: 1.2rem !important;
}

.s-quantity-input-input {
  background-color: transparent !important;
  text-align: center;
  color: #3B2E2A;
  font-weight: bold;
}

/* === زر "إضافة للسلة" === */
.s-button-element.s-button-primary {
  background-color: #3B2E2A !important;
  color: white !important;
  border-radius: 12px !important;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem 1rem;
}

.s-button-element.s-button-primary:hover {
  background-color: #2A1F1A !important;
}

/* تنسيق الحقول المنسدلة */
.s-product-options-option-content select.s-form-control {
  background-color: #FDF8F3 !important;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 0.6rem 1rem;
  font-size: 1rem;
  color: #3B2E2A;
  transition: border-color 0.3s ease;
}

.s-product-options-option-content select.s-form-control:focus {
  border-color: #A67C52;
  outline: none;
  box-shadow: 0 0 0 2px rgba(166, 124, 82, 0.2);
}

/* مسافة بين كل حقل */
.s-product-options-option-container {
  margin-bottom: 1.2rem;
}

/* تنسيق نص "اختر" الصغير */
.s-product-options-option-label small {
  color: #9B8B80;
  font-size: 0.85rem;
  margin-top: 0.3rem;
  display: inline-block;
}

/* === مربع خيارات المنتج بالكامل (الخلفية والظل والهوامش) === */
.s-product-options-wrapper {
  background-color: #FFF8F3 !important;
  border-radius: 12px;
  padding: 1.5rem 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  margin-bottom: 1.5rem;
}

/* لضمان تنسيق الحقول داخل المستطيل */
.s-product-options-option-content select.s-form-control {
  background-color: #FDF8F3 !important;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 0.6rem 1rem;
  font-size: 1rem;
  color: #3B2E2A;
  transition: border-color 0.3s ease;
}

.s-product-options-option-content select.s-form-control:focus {
  border-color: #A67C52;
  outline: none;
  box-shadow: 0 0 0 2px rgba(166, 124, 82, 0.2);
}


/* === مستطيل التعليقات الكامل === */
/* خلفية قسم التعليقات بالكامل */
.s-comments-container {
  background-color: #FFF8F3 !important;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

/* === عنوان قسم التعليقات === */
.s-comments-title,
.s-comments-count-label {
  color: #3B2E2A !important;
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

/* === النموذج (textarea + زر الإرسال) === */
.s-comment-form-container,
.s-comment-textarea {
  background-color: #FDF8F3 !important;
  border-radius: 8px;
  border: 1px solid #DDD !important;
  color: #3B2E2A;
  padding: 1rem;
  font-size: 1rem;
}

.s-comment-form-container textarea:focus {
  border-color: #A67C52 !important;
  box-shadow: 0 0 0 2px rgba(166, 124, 82, 0.2);
  outline: none;
}

/* === التعليق الواحد === */
.s-comments-item-wrapper {
  background-color: #FFFFFF !important;
  border-radius: 10px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

/* === اسم المعلق وتاريخ التعليق === */
.s-comments-item-user-info-name {
  font-weight: bold;
  color: #2F1F16 !important;
}

.s-comments-item-timestamp {
  font-size: 0.85rem;
  color: #9B8B80;
}

/* === محتوى التعليق === */
.s-comments-item-content p {
  font-size: 1rem;
  color: #3B2E2A;
  line-height: 1.6;
}

/* === زر مفيد / thumbs up === */
.s-comments-item-like-btn button {
  background-color: #FAF7F2 !important;
  color: #3B2E2A !important;
  border: 1px solid #3B2E2A !important;
  border-radius: 8px;
  font-size: 0.85rem;
  padding: 0.3rem 0.8rem;
  transition: all 0.3s ease;
}

.s-comments-item-like-btn button:hover {
  background-color: #3B2E2A !important;
  color: #FFFFFF !important;
}

/* === ملخص التقييمات === */
.s-reviews-summary-wrapper {
  background-color: #FFF4EB !important;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.s-reviews-summary-average {
  font-size: 2rem;
  color: #A67C52;
  font-weight: bold;
}

.s-reviews-summary-count {
  color: #6E6259;
  font-size: 0.9rem;
}

.s-reviews-summary-row-rate {
  color: #3B2E2A;
  font-weight: bold;
}

.s-reviews-summary-percentage {
  color: #6E6259;
  font-size: 0.85rem;
}