/* هوية مواشي أبو حسان */
:root,
body {
  --color-primary: #75452f;
  --color-primary-dark: #512d1e;
  --color-primary-light: #c7a586;
}

.store-header {
  --header-bg-color: #fbf7f2 !important;
  --header-text-color: #512d1e !important;
}

.store-header,
.store-header #mainnav {
  background-color: #fbf7f2 !important;
  color: #512d1e !important;
}

footer.store-footer {
  --footer-bg-color: #ead9c8 !important;
  --footer-text-color: #512d1e !important;
  background-color: #ead9c8 !important;
  color: #512d1e !important;
}

body .s-button-primary {
  background: #75452f !important;
  border-color: #75452f !important;
  color: white !important;
}

/* حاوية صفحة المنتج الفعلية */
.p-single-container.container--product-details {
  padding-top: 30px !important;
  padding-bottom: 40px !important;
  color: #3d2c23;
}

.p-single-container > [p-id] {
  gap: 36px;
}

.p-single-container > [p-id] > .sidebar,
.p-single-container > [p-id] > .prod-main-content {
  min-width: 0;
  margin-inline: 0 !important;
}

/* الصورة */
.p-single-container .details-slider {
  display: block;
  overflow: hidden;
  border: 1px solid #e8d7c7;
  border-radius: 22px !important;
  background: #fbf7f2;
}

.p-single-container .details-slider .swiper-slide img {
  object-fit: contain !important;
  background: #fbf7f2;
}

/* الاسم والعنوان الفرعي */
.p-single-container .product-main-title {
  margin-bottom: 12px !important;
  color: #512d1e !important;
  font-size: clamp(27px, 2.8vw, 40px) !important;
  font-weight: 800 !important;
  line-height: 1.5 !important;
}

.p-single-container .product-entry__sub-title {
  margin-bottom: 18px !important;
  color: #89664f !important;
  font-size: 15px !important;
  line-height: 1.8 !important;
}

/* السعر العلوي */
.p-single-container .p-price-outer {
  flex-wrap: wrap;
  margin-bottom: 22px;
  padding: 14px 18px;
  border-radius: 12px;
  background: #f5ece3;
}

.p-single-container .p-price {
  color: #75452f !important;
  font-size: 31px !important;
  font-weight: 800 !important;
}

.p-single-container .p-price-outer .line-through {
  color: #927a69 !important;
}

/* الوصف */
.p-single-container .product__description {
  padding: 0 !important;
  margin-bottom: 22px !important;
  color: #695246 !important;
  font-size: 15px;
  line-height: 1.95 !important;
}

.p-single-container .product__description h2,
.p-single-container .product__description h3 {
  margin: 18px 0 9px;
  color: #512d1e !important;
  font-weight: 700;
}

.p-single-container .product__description ul,
.p-single-container .product__description ol {
  padding-inline-start: 22px;
}

.p-single-container .product__description li {
  margin-bottom: 7px;
}

/* المشاركة ورقم المنتج */
.p-single-container .p-share {
  margin-bottom: 18px;
}

.p-single-container .product-sku-wrapper {
  border: 1px solid #e8d7c7;
  border-radius: 10px;
  background: #fbf7f2 !important;
  color: #695246 !important;
}

/* الخيارات: المحافظة على إخفاء الحقول الشرطية */
.p-single-container salla-product-options {
  display: block;
  background: transparent !important;
}

.p-single-container
.s-product-options-option-container:has(
  > .s-product-options-option
) {
  margin-bottom: 14px !important;
  padding: 17px !important;
  border: 1px solid #e8d7c7;
  border-radius: 14px;
  background: #fbf7f2 !important;
}

.p-single-container .s-product-options-option-label {
  display: block;
  margin-bottom: 12px !important;
  color: #512d1e !important;
}

.p-single-container .s-product-options-option-label b {
  font-size: 17px !important;
  font-weight: 700 !important;
}

.p-single-container .s-product-options-option-label small {
  display: block;
  margin-top: 5px;
  color: #8a705e !important;
  font-size: 13px !important;
  line-height: 1.8;
}

/* الحقول الأصلية */
.p-single-container salla-product-options select,
.p-single-container salla-product-options textarea,
.p-single-container salla-product-options input:not(
  [type="hidden"]
):not([type="checkbox"]):not([type="radio"]):not([type="file"]) {
  width: 100%;
  min-height: 48px;
  border: 1px solid #d8bfa9 !important;
  border-radius: 10px !important;
  background: white !important;
  color: #3d2c23 !important;
  font-size: 15px;
}

.p-single-container salla-product-options textarea {
  min-height: 105px;
}

.p-single-container salla-product-options input[type="checkbox"],
.p-single-container salla-product-options input[type="radio"] {
  accent-color: #75452f;
}

/* الأزرار التي يضيفها JavaScript */
.mh-option-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.mh-option-buttons button {
  appearance: none;
  width: 100%;
  min-height: 49px;
  padding: 11px 13px;
  border: 1px solid #d8bfa9;
  border-radius: 10px;
  background: white;
  color: #65422e;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.75;
  text-align: center;
  cursor: pointer;
}

.mh-option-buttons button:hover:not(:disabled) {
  background: #f0e1d2;
  border-color: #75452f;
}

.mh-option-buttons button[aria-pressed="true"] {
  background: #75452f !important;
  border-color: #75452f !important;
  color: white !important;
}

.mh-option-buttons button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.mh-option-buttons button:focus-visible {
  outline: 3px solid #be9676;
  outline-offset: 3px;
}

/* إبقاء القائمة الأصلية للتحقق من الطلب */
.p-single-container select.mh-native-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
}

/* تظهر عند تركيزها أو وجود خطأ في الاختيار */
.p-single-container select.mh-native-select:focus,
.p-single-container select.mh-native-select.mh-show-select {
  position: static !important;
  width: 100% !important;
  height: auto !important;
  min-height: 48px !important;
  margin: 10px 0 0 !important;
  padding: 10px !important;
  clip-path: none !important;
}

/* الكمية وأزرار الطلب */
.p-single-container .sticky-product-bar {
  border: 1px solid #e8d7c7;
  border-radius: 14px !important;
  background: #fbf7f2 !important;
  color: #512d1e !important;
}

.p-single-container .s-quantity-input-container {
  overflow: hidden;
  border: 1px solid #d8bfa9 !important;
  border-radius: 10px !important;
  background: white !important;
}

.p-single-container .s-quantity-input-button {
  background: #ead9c8 !important;
  color: #512d1e !important;
}

.p-single-container .s-quantity-input-input {
  background: white !important;
  color: #512d1e !important;
}

.p-single-container salla-add-product-button .s-button-primary {
  min-height: 54px;
  border-radius: 11px !important;
  font-size: 17px !important;
  font-weight: 700 !important;
}

.p-single-container .s-add-product-button-mini-checkout {
  border: 1px solid #75452f !important;
  border-radius: 11px !important;
  background: #ead9c8 !important;
  color: #512d1e !important;
}

.p-single-container .s-add-product-button-mini-checkout-content {
  color: #512d1e !important;
}

/* الكمبيوتر: صورة بجانب التفاصيل */
@media (min-width: 768px) {
  .p-single-container > [p-id] {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start !important;
  }

  .p-single-container > [p-id] > .sidebar,
  .p-single-container > [p-id] > .prod-main-content {
    width: 100% !important;
  }

  .p-single-container > [p-id] > .sidebar {
    position: sticky !important;
    top: 110px;
    padding-bottom: 0 !important;
  }

  .p-single-container > [p-id] > .prod-main-content {
    position: static !important;
    overflow: visible !important;
  }
}

/* الجوال */
@media (max-width: 767px) {
  .p-single-container.container--product-details {
    padding-top: 16px !important;
  }

  .p-single-container > [p-id] {
    gap: 22px;
  }

  .p-single-container > [p-id] > .sidebar {
    position: static !important;
    width: 100% !important;
    padding-bottom: 0 !important;
  }

  .p-single-container > [p-id] > .prod-main-content {
    width: 100% !important;
    padding-top: 0 !important;
  }

  .p-single-container .product-main-title {
    font-size: 27px !important;
  }

  .p-single-container .details-slider {
    border-radius: 16px !important;
  }

  .p-single-container
  .s-product-options-option-container:has(
    > .s-product-options-option
  ) {
    padding: 14px !important;
  }

  .mh-option-buttons button {
    padding: 10px;
    font-size: 13px;
  }
}

@media (max-width: 360px) {
  .mh-option-buttons {
    grid-template-columns: 1fr;
  }
}





/* زر اشترِ الآن */
.p-single-container
salla-mini-checkout-widget.s-add-product-button-mini-checkout {
  box-sizing: border-box;
  min-width: 0;
  min-height: 54px;
  padding: 12px 18px !important;

  border: 1px solid #75452f !important;
  border-radius: 11px !important;

  background: #ead9c8 !important;
  color: #512d1e !important;

  cursor: pointer;
}

/* محاذاة النص والأيقونة */
.p-single-container
salla-mini-checkout-widget
.s-add-product-button-mini-checkout-content {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;

  width: 100%;
  min-width: 0;

  color: #512d1e !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.5;
  white-space: nowrap;
}

.p-single-container
.s-add-product-button-mini-checkout-content > span {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

/* حجم ولون أيقونة المحفظة */
.p-single-container
.s-add-product-button-mini-checkout-content svg {
  width: 22px !important;
  height: 22px !important;
  fill: currentColor !important;
}

.p-single-container
salla-mini-checkout-widget.s-add-product-button-mini-checkout:hover {
  background: #dfc5ad !important;
}

.p-single-container
salla-mini-checkout-widget:focus-within {
  outline: 2px solid #75452f;
  outline-offset: 3px;
}








/* ==========================================================
   مواشي أبو حسان — CSS مخصص (ثيم عالي على سلة)
   الصقه في: خيارات التصميم ← CSS مخصص
   ========================================================== */

:root {
  /* ألوان مأخوذة من شعار مواشي أبو حسان */
  --abh-primary: #6B3219;      /* بني داكن — "أبو حسان" */
  --abh-primary-dark: #4E2310;
  --abh-mocha: #8F5A48;        /* بني موكا — القبة و"مواشي" */
  --abh-gold: #C0905A;         /* كراميل — الجمل */
  --abh-gold-soft: #F3E3CC;
  --abh-cream: #FBF6EF;        /* خلفية المتجر */
  --abh-sand: #F4EADD;         /* خلفية ثانوية */
  --abh-line: #E8D8C3;
  --abh-ink: #3A2418;          /* لون النص */
  --abh-price: #9C3D1C;
  --abh-radius: 16px;
  --abh-shadow: 0 6px 24px rgba(78, 35, 16, .08);
  --abh-shadow-hover: 0 16px 36px rgba(78, 35, 16, .16);
}

/* ---------- عام ---------- */
html { scroll-behavior: smooth; }
body { color: var(--abh-ink); -webkit-font-smoothing: antialiased; }
::selection { background: var(--abh-gold-soft); color: var(--abh-primary-dark); }

/* مسافات أريح بين أقسام الرئيسية */
.s-block, section.s-block { margin-block: 2.25rem; }
@media (min-width: 1024px) { .s-block, section.s-block { margin-block: 3.5rem; } }

/* عناوين الأقسام */
.s-block__title h2,
.s-slider-block__title h2,
.section-title h2 {
  color: var(--abh-primary-dark);
  font-weight: 800;
  letter-spacing: -.2px;
}

/* ---------- الهيدر ---------- */
.store-header, .main-nav-container {
  box-shadow: 0 1px 0 var(--abh-line);
}
.store-header .s-search-input,
.s-search-input {
  border-radius: 999px !important;
  border-color: var(--abh-line) !important;
  background: var(--abh-cream) !important;
}
.s-search-input:focus { border-color: var(--abh-primary) !important; box-shadow: 0 0 0 3px rgba(107,50,25,.14); }

/* ---------- واجهة العنوان الرئيسي (Hero) ---------- */
.abh-hero {
  position: relative;
  padding: 3rem 1.25rem 2.5rem;
  border-radius: 28px;
  background:
    radial-gradient(1200px 300px at 100% 0%, rgba(192,144,90,.22), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, var(--abh-sand) 100%);
  border: 1px solid var(--abh-line);
  overflow: hidden;
}
.abh-hero::after { /* زخرفة خفيفة */
  content: "";
  position: absolute; inset-inline-start: -60px; bottom: -60px;
  width: 180px; height: 180px; border-radius: 50%;
  background: rgba(107,50,25,.06);
}
.abh-hero p { color: #7A5A48; font-size: 1.05rem; line-height: 1.9; max-width: 640px; margin-inline: auto; }
.abh-hero-cta {
  display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem;
}
.abh-hero-cta a {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.6rem; border-radius: 999px; font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.abh-hero-cta .abh-btn-main { background: var(--abh-primary); color: #fff; box-shadow: var(--abh-shadow); }
.abh-hero-cta .abh-btn-main:hover { background: var(--abh-primary-dark); transform: translateY(-2px); box-shadow: var(--abh-shadow-hover); }
.abh-hero-cta .abh-btn-wa { background: #fff; color: var(--abh-primary-dark); border: 1.5px solid var(--abh-line); }
.abh-hero-cta .abh-btn-wa:hover { border-color: #25D366; color: #128C4B; }

/* ---------- بطاقة المنتج ---------- */
.s-product-card-entry,
custom-salla-product-card {
  border-radius: var(--abh-radius) !important;
  background: #fff;
  border: 1px solid var(--abh-line);
  box-shadow: var(--abh-shadow);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.s-product-card-entry:hover,
custom-salla-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--abh-shadow-hover);
  border-color: rgba(192,144,90,.7);
}
.s-product-card-image { background: var(--abh-sand); }
.s-product-card-content { padding: .9rem .95rem 1rem !important; }
.s-product-card-content-title a {
  color: var(--abh-ink) !important; font-weight: 700; line-height: 1.6;
}
.s-product-card-price,
.s-product-card-sale-price h4,
.s-product-card-content .total-price {
  color: var(--abh-price) !important; font-weight: 800 !important;
}
.s-product-card-content-footer .s-button-element,
.s-product-card-entry salla-add-product-button button {
  border-radius: 12px !important; font-weight: 700;
}

/* شارة الوزن (يضيفها JavaScript) */
.abh-weight {
  display: inline-flex; align-items: center; gap: .3rem;
  margin-top: .35rem; padding: .2rem .6rem;
  font-size: .78rem; font-weight: 700; line-height: 1.6;
  color: var(--abh-primary-dark); background: var(--abh-gold-soft);
  border-radius: 999px; white-space: nowrap;
}
.abh-weight::before { content: "⚖"; font-size: .85em; }

/* ---------- تبويبات السلالات (حري، نعيمي، نجدي...) ---------- */
#app .tabs.hide-scroll {
  position: relative;
  display: flex !important; flex-wrap: nowrap !important; justify-content: center;
  gap: .4rem !important;
  width: fit-content; max-width: 100%;
  margin: 0 auto 1.6rem !important; padding: .4rem !important;
  overflow-x: auto; overscroll-behavior-x: contain;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  background: var(--abh-cream);
  border: 1px solid var(--abh-line);
  border-radius: 999px;
  box-shadow: 0 10px 28px -14px rgba(78,35,16,.35), inset 0 1px 0 #fff;
}
#app .tabs.hide-scroll::-webkit-scrollbar { display: none; }

#app .tabs.hide-scroll salla-button.tab-trigger,
#app .tabs.hide-scroll salla-button.tab-trigger.is-active,
#app.btns-gradient .tabs.hide-scroll salla-button.tab-trigger.is-active {
  display: inline-flex; flex: 0 0 auto; margin: 0 !important;
  padding: 0 !important; border: 0 !important; border-radius: 999px !important;
  background: transparent !important; box-shadow: none !important; outline: 0 !important;
}

#app .tabs.hide-scroll button.tab-trigger {
  position: relative; z-index: 1;
  min-width: 84px; height: 44px !important;
  padding: 0 1.25rem !important;
  border: 0 !important; border-radius: 999px !important; overflow: hidden;
  background: transparent !important;
  color: var(--abh-mocha) !important;
  font-size: .98rem !important; font-weight: 800 !important;
  box-shadow: none !important;
  transition: color .25s ease, background-color .25s ease, transform .15s ease !important;
  -webkit-tap-highlight-color: transparent;
}
#app .tabs.hide-scroll button.tab-trigger .s-button-text { gap: .35rem; white-space: nowrap; }
#app .tabs.hide-scroll button.tab-trigger:hover:not(.is-active) {
  color: var(--abh-primary) !important;
  background: var(--abh-gold-soft) !important;
}
#app .tabs.hide-scroll button.tab-trigger:active { transform: scale(.96); }
#app .tabs.hide-scroll button.tab-trigger:focus-visible {
  outline: 2px solid var(--abh-gold) !important; outline-offset: 2px;
}

/* التبويب النشط */
#app .tabs.hide-scroll button.tab-trigger.is-active {
  color: #fff !important;
  background: var(--abh-primary) !important;
  box-shadow: 0 6px 16px -6px rgba(107,50,25,.65), inset 0 0 0 1px rgba(192,144,90,.55) !important;
}
#app .tabs.hide-scroll button.tab-trigger.is-active::after {
  content: ""; position: absolute; bottom: 6px; left: 50%;
  width: 18px; height: 3px; margin-left: -9px; border-radius: 3px;
  background: var(--abh-gold);
  animation: abhTabIn .35s ease both;
}
@keyframes abhTabIn { from { width: 0; margin-left: 0; opacity: 0; } }

/* المؤشر المنزلق (يضيفه ملف JS) يحلّ محل خلفية التبويب النشط */
#app .tabs.hide-scroll.abh-ink-on button.tab-trigger.is-active { background: transparent !important; box-shadow: none !important; }
#app .abh-tab-ink {
  position: absolute; z-index: 0; top: .4rem; height: 44px; border-radius: 999px !important;
  background: var(--abh-primary);
  box-shadow: 0 6px 16px -6px rgba(107,50,25,.65), inset 0 0 0 1px rgba(192,144,90,.55);
  transition: transform .4s cubic-bezier(.65,0,.25,1), width .4s cubic-bezier(.65,0,.25,1);
  pointer-events: none;
}

/* ظهور ناعم لمنتجات التبويب عند التبديل */
.tab-content.is-active, [id^="featured-products-style2"].is-active { animation: abhFadeUp .45s ease both; }
@keyframes abhFadeUp { from { opacity: 0; transform: translateY(10px); } }

@media (max-width: 767px) {
  #app .tabs.hide-scroll {
    justify-content: flex-start; width: auto;
    margin-inline: .75rem !important; padding: .3rem !important;
  }
  #app .tabs.hide-scroll button.tab-trigger { min-width: 72px; height: 40px !important; padding: 0 1rem !important; font-size: .92rem !important; }
  #app .abh-tab-ink { top: .3rem; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  #app .abh-tab-ink, #app .tabs.hide-scroll button.tab-trigger { transition: none !important; }
  .tab-content.is-active, #app .tabs.hide-scroll button.tab-trigger.is-active::after { animation: none; }
}


/* ---------- الأزرار العامة ---------- */
.s-button-primary, .btn--primary {
  border-radius: 12px !important;
  font-weight: 700 !important;
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
.s-button-primary:hover, .btn--primary:hover { filter: brightness(1.08); box-shadow: var(--abh-shadow); }
.s-button-primary:active, .btn--primary:active { transform: scale(.98); }

/* ---------- الأسئلة الشائعة (أكورديون: سؤال واحد مفتوح) ---------- */
#app .abh-faq { background: transparent !important; }
#app .abh-faq .faqs-title { margin-bottom: 1.5rem; gap: .35rem; }
#app .abh-faq .faqs-title h3 { font-size: 1.45rem; font-weight: 800; color: var(--abh-primary-dark) !important; }
#app .abh-faq .faqs-title p { font-size: .92rem; color: var(--abh-mocha) !important; }

#app .abh-faq .faq-container {
  counter-reset: abhq; gap: .85rem !important; align-items: start;
  grid-template-columns: 1fr !important; max-width: 820px; margin-inline: auto;
}
#app .abh-faq .faq-item {
  counter-increment: abhq;
  background: #fff !important;
  border: 1px solid var(--abh-line) !important;
  border-radius: 16px !important;
  margin: 0 !important;
  transition: border-color .3s ease, box-shadow .3s ease;
}
#app .abh-faq .faq-item:hover { border-color: var(--abh-gold) !important; }
#app .abh-faq .faq-item.abh-open {
  border-color: var(--abh-gold) !important;
  box-shadow: 0 14px 30px -18px rgba(78,35,16,.45);
}

/* السؤال */
#app .abh-faq .question-outer {
  gap: .75rem; padding: .95rem 1.1rem !important; min-height: 64px;
  -webkit-tap-highlight-color: transparent; user-select: none;
}
#app .abh-faq .question-outer::before {
  content: counter(abhq);
  flex: 0 0 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: .85rem; font-weight: 800;
  color: var(--abh-primary); background: var(--abh-gold-soft);
  transition: background-color .3s ease, color .3s ease;
}
#app .abh-faq .faq-item.abh-open .question-outer::before { background: var(--abh-primary); color: #fff; }
#app .abh-faq .question {
  flex: 1; margin: 0; font-size: 1rem !important; font-weight: 700; line-height: 1.6;
  color: var(--abh-ink) !important; transition: color .3s ease;
}
#app .abh-faq .faq-item.abh-open .question { color: var(--abh-primary) !important; }

/* أيقونة + تتحول إلى × */
#app .abh-faq .faq-icon {
  flex: 0 0 32px; width: 32px !important; height: 32px; padding: 0 !important;
  display: grid !important; place-items: center; font-size: .9rem;
  border-radius: 50% !important;
  background: var(--abh-cream) !important; color: var(--abh-primary) !important;
  border: 1px solid var(--abh-line);
  transition: transform .35s cubic-bezier(.65,0,.25,1), background-color .3s ease, color .3s ease !important;
}
#app .abh-faq .faq-item.abh-open .faq-icon {
  transform: rotate(45deg) !important;
  background: var(--abh-primary) !important; color: #fff !important; border-color: var(--abh-primary);
}

/* الجواب: فتح وإغلاق ناعم */
#app .abh-faq .answer-outer {
  overflow: hidden !important;
  padding: 0 1.1rem 0 1.1rem !important;
  padding-inline-start: calc(1.1rem + 30px + .75rem) !important;
  opacity: 0;
  transition: max-height .4s cubic-bezier(.65,0,.25,1), opacity .3s ease !important;
}
#app .abh-faq .faq-item.abh-open .answer-outer { opacity: 1; }
#app .abh-faq .answer { margin: 0 0 .9rem !important; }
#app .abh-faq .answer p {
  margin: 0; font-size: .94rem; line-height: 1.9; color: #5b4636 !important;
}
#app .abh-faq .faq-btn { padding-bottom: 1rem; }
#app .abh-faq .faq-btn a {
  display: inline-flex !important; align-items: center; gap: .4rem;
  height: 36px; padding: 0 1rem !important; margin: 0 !important;
  border-radius: 999px !important;
  background: #EAF7EF !important; color: #128C4B !important;
  border: 1px solid #BFE6CD !important;
  font-size: .85rem; font-weight: 700; text-decoration: none !important;
  transition: background-color .2s ease, color .2s ease;
}
#app .abh-faq .faq-btn a:hover { background: #128C4B !important; color: #fff !important; }

@media (max-width: 767px) {
  #app .abh-faq .question-outer { padding: .85rem .9rem !important; }
  #app .abh-faq .question { font-size: .95rem !important; }
  #app .abh-faq .answer-outer { padding-inline-start: .9rem !important; padding-inline-end: .9rem !important; }
}
@media (prefers-reduced-motion: reduce) {
  #app .abh-faq .answer-outer, #app .abh-faq .faq-icon { transition: none !important; }
}


/* ---------- صفحة المنتج ---------- */
.product-single .product-title,
.product-entry__title, h1.product-title {
  color: var(--abh-primary-dark); font-weight: 800; line-height: 1.5;
}
.product-single .total-price,
.product-single .price-wrapper h4 { color: var(--abh-price) !important; font-weight: 800; }
.product-single salla-add-product-button button,
.product-single .s-button-primary { min-height: 52px; font-size: 1.05rem; }

/* صندوق الثقة أسفل زر الشراء (يضيفه JavaScript) */
.abh-trust {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem;
  margin-top: 1rem; padding: .75rem; border-radius: 14px;
  background: var(--abh-sand); border: 1px dashed var(--abh-line);
}
.abh-trust div { text-align: center; font-size: .8rem; font-weight: 700; color: var(--abh-primary-dark); line-height: 1.6; }
.abh-trust i { display: block; font-size: 1.25rem; color: var(--abh-gold); margin-bottom: .15rem; }

/* ---------- الفوتر ---------- */
.store-footer a:hover { color: var(--abh-gold) !important; }

/* ---------- قائمة الجوال السفلية ---------- */
@media (max-width: 1023px) {
  [class*="mobile-nav"] { box-shadow: 0 -6px 20px rgba(78,35,16,.2); }
}

/* ---------- ظهور العناصر عند التمرير (يفعّله JavaScript) ---------- */
.abh-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.abh-reveal.abh-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .abh-reveal { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto !important; }
}

/* ---------- الوضع الداكن ---------- */
.dark .s-product-card-entry, .dark custom-salla-product-card { background: #111; border-color: #222; }
.dark .abh-hero { background: linear-gradient(180deg, #17100c, #2a170e); border-color: #3a2418; }
.dark .abh-hero p { color: #d7dede; }
.dark .abh-trust { background: #1b130f; border-color: #3a2418; }
.dark .abh-trust div { color: #F3E3CC; }