/* Abdulrahman */

.htv--glow-badge .home-block-title h2:before {
    background: linear-gradient(120deg, 
color-mix(in srgb, #cda342 8%, transparent), 
color-mix(in srgb, #cda342 32%, transparent), 
color-mix(in srgb, #cda342 8%, transparent));
}

.htv--glow-badge .enhanced-title-border {
    background: #cda342;
    border-radius: 50%;
    box-shadow: 22px 0 0 
color-mix(in srgb, #cda342 45%, transparent), -22px 0 0 
color-mix(in srgb, #cda342 45%, transparent);
    height: 10px;
    width: 10px;
}

.btn--wishlist.heart-next-add-button.animated.not-added.un-favorited.s-button-element.s-button-icon.s-button-outline.s-button-primary-outline.s-button-loader-center {
   background-color: #ffffff00 !important;
}

.s-button-element.s-button-btn.s-button-outline.s-button-primary-outline.s-button-loader-after {
   background-color: #ffffff00 !important;
}

.mini_top_promotion .simplified-products .product-card.product-card--simplified .product-card__promotion {
        left: 15%;
        right: 15%;
        border-radius: 0 0 15px 15px;
    }

.cart-drawer .drawer-footer .s-button-gray-outline {
    visibility: hidden;
    height: 0px;
}

.cart-drawer .drawer-actions .drawer-actions-row {
    display: block;
}

div.product-card__promotion {
    background-color: #21396e !important;
}

/* ==========================================================================
   قسم الأسئلة الشائعة (FAQ) - تصميم عربي RTL
   الصقه في: لوحة تحكم سلة ← الإعدادات ← الأكواد المخصصة ← CSS
   ========================================================================== */

.wm-faq {
  max-width: 900px;
  margin: 48px auto;
  padding: 0 16px;
  direction: rtl;
  text-align: right;
  font-family: inherit;
}

/* عنوان القسم */
.wm-faq__title {
    font-size: 26px;
    font-weight: 800;
    color: #004d73;
    text-align: center;
    margin: 0px;
    background: #d1b44c;
    padding: 10px;
    border-radius: 15px 15px 0 0;
}

.wm-faq__subtitle {
    font-size: 15px;
    color: #004d73;
    text-align: center;
    margin: 0 0 28px;
    border: 2px solid #d1b44c;
    padding: 10px;
    border-radius: 0 0 15px 15px;
}

/* عنصر السؤال الواحد */
.wm-faq__item {
  border: 1px solid #eee;
  border-radius: 14px;
  margin-bottom: 14px;
  background: #fff;
  overflow: hidden;
  transition: box-shadow .25s ease, border-color .25s ease;
}

.wm-faq__item.is-open {
  border-color: #d8b26e;               /* لون مميز عند الفتح - غيّره حسب هوية متجرك */
  box-shadow: 0 6px 22px rgba(0, 0, 0, .06);
}

/* زر السؤال */
.wm-faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  color: #222;
  text-align: right;
  font-family: inherit;
}

.wm-faq__question:hover {
  color: #b98e3e;
}

/* أيقونة + / − */
.wm-faq__icon {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  position: relative;
  transition: transform .3s ease;
}

.wm-faq__icon::before,
.wm-faq__icon::after {
  content: "";
  position: absolute;
  background: #d8b26e;
  border-radius: 2px;
  transition: opacity .3s ease, transform .3s ease;
}

.wm-faq__icon::before {   /* الخط الأفقي */
  top: 50%;
  left: 4px;
  right: 4px;
  height: 3px;
  transform: translateY(-50%);
}

.wm-faq__icon::after {    /* الخط العمودي */
  left: 50%;
  top: 4px;
  bottom: 4px;
  width: 3px;
  transform: translateX(-50%);
}

.wm-faq__item.is-open .wm-faq__icon::after {
  opacity: 0;             /* يختفي الخط العمودي فيتحول إلى علامة − */
}

/* الجواب */
.wm-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.wm-faq__answer-inner {
  padding: 0 20px 20px;
  font-size: 15px;
  line-height: 1.9;
  color: #555;
}

/* استجابة للجوال */
@media (max-width: 600px) {
  .wm-faq__title { font-size: 22px; }
  .wm-faq__question { font-size: 15px; padding: 15px 16px; }
}

/* ======= عنصر شهادات مانوكا (بجانب product-brand) ======= */
.manuka-badges{
  display:inline-flex;
  align-items:flex-start;
  gap:26px;
  margin-inline-start:24px;   /* المسافة عن الشعار */
  vertical-align:middle;
}
.manuka-badge{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}
.manuka-badge img{
  height:60px;                 /* عدّل الارتفاع حسب حاجتك */
  width:auto;
  object-fit:contain;
  display:block;
}
.manuka-badge .badge-number{
  margin-top:8px;
  font-size:15px;
  font-weight:700;
  color:#000;
  line-height:1;
  letter-spacing:.5px;
}
@media (max-width:600px){
  .manuka-badges{gap:16px;margin-inline-start:12px}
  .manuka-badge img{height:44px}
  .manuka-badge .badge-number{font-size:12px}
}

/* **************************** */
/* ============================================================
   Wadi Manuka — فيديوهات صفحة المنتج (فوق عنصر .wm-faq)
   ثلاثة فيديوهات مصغّرة جنب بعض، لا تعمل إلا بالضغط،
   وعند التشغيل: زر ملء الشاشة بالزاوية + زرّا إيقاف وكتم أسفلها.
   ============================================================ */

.wm-videos {
  /* متغيّرات يسهل تعديلها */
  --wm-accent: #c9871f;                 /* لون زر التشغيل (كهرماني/عسلي) */
  --wm-ctrl-bg: rgba(20, 16, 10, 0.62); /* خلفية أزرار التحكم */
  --wm-ctrl-bg-hover: rgba(20, 16, 10, 0.85);
  --wm-radius: 14px;

  display: flex;
  gap: 12px;
  width: 100%;
  max-width: 900px;
  margin: 28px auto;
  padding: 0 12px;
  box-sizing: border-box;
  direction: rtl;
}

.wm-vid-card {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* إطار الفيديو (عمودي 9:16) */
.wm-vid-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: var(--wm-radius);
  overflow: hidden;
  background: #000;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

.wm-vid {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}

/* طبقة الغطاء + زر التشغيل الكبير (قبل الضغط) */
.wm-vid-poster {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition: background 0.2s ease;
}
.wm-vid-poster:hover {
  background: rgba(0, 0, 0, 0.28);
}
.wm-vid-poster svg {
  width: 46px;
  height: 46px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
  transition: transform 0.15s ease;
}
.wm-vid-poster:hover svg {
  transform: scale(1.06);
}
/* إخفاء الغطاء عند التشغيل */
.wm-vid-card[data-state="active"] .wm-vid-poster {
  display: none;
}

/* زر ملء الشاشة في الزاوية (يظهر عند التشغيل فقط) */
.wm-vid-fs {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 34px;
  height: 34px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 9px;
  background: var(--wm-ctrl-bg);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
}
.wm-vid-fs:hover {
  background: var(--wm-ctrl-bg-hover);
}
.wm-vid-fs svg {
  width: 18px;
  height: 18px;
}
.wm-vid-card[data-state="active"] .wm-vid-fs {
  display: flex;
}

/* شريط الأزرار أسفل الفيديو (إيقاف/تشغيل + كتم) — يظهر عند التشغيل */
.wm-vid-controls {
  display: none;
  gap: 10px;
  align-items: center;
  justify-content: center;
}
.wm-vid-card[data-state="active"] .wm-vid-controls {
  display: flex;
}

.wm-vid-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: var(--wm-ctrl-bg);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}
.wm-vid-btn:hover {
  background: var(--wm-ctrl-bg-hover);
}
.wm-vid-btn:active {
  transform: scale(0.92);
}
.wm-vid-btn svg {
  width: 18px;
  height: 18px;
}

/* وضوح لوحة المفاتيح */
.wm-vid-poster:focus-visible,
.wm-vid-fs:focus-visible,
.wm-vid-btn:focus-visible {
  outline: 2px solid var(--wm-accent);
  outline-offset: 2px;
}

/* الشاشات الصغيرة: تبقى الثلاثة جنب بعض مع تصغير الأزرار */
@media (max-width: 600px) {
  .wm-videos {
    gap: 8px;
    margin: 20px auto;
    padding: 0 8px;
  }
  .wm-vid-card { gap: 8px; }
  .wm-vid-poster svg { width: 34px; height: 34px; }
  .wm-vid-btn { width: 34px; height: 34px; }
  .wm-vid-fs { width: 30px; height: 30px; top: 6px; right: 6px; }
}

/* احترام تفضيل تقليل الحركة */
@media (prefers-reduced-motion: reduce) {
  .wm-vid-poster,
  .wm-vid-poster svg,
  .wm-vid-fs,
  .wm-vid-btn { transition: none; }
}

/* ********************** */
/* ============================================================
   Wadi Manuka — شعارات طرق الدفع (أسفل .product-price-bottom)
   ثلاث صور متناسقة الارتفاع والمسافات والهوامش.
   ============================================================ */

.wm-pay {
  --wm-pay-height: 34px;   /* ارتفاع موحّد لجميع الشعارات */
  --wm-pay-gap: 12px;      /* المسافة بين الشعارات */

  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--wm-pay-gap);
  direction: ltr;          /* ترتيب ثابت: tabby ثم مدفوع ثم تمارا */
  margin: 14px 0;
  width: 100%;
  box-sizing: border-box;
}

.wm-pay-img {
  height: var(--wm-pay-height);
  width: auto;             /* يحافظ على نسبة كل شعار */
  display: block;
  object-fit: contain;
  border-radius: 8px;      /* مطابق لاستدارة حواف الشعارات */
}

/* الشاشات الصغيرة: تصغير بسيط مع بقائها في صف واحد */
@media (max-width: 480px) {
  .wm-pay {
    --wm-pay-height: 28px;
    --wm-pay-gap: 8px;
    margin: 12px 0;
  }
}

/* ***************************** */
/* زر التحقق من الشهادات في صفحات المنتجات */
.wadi-umf-btn {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  padding: 14px 20px;
  margin: 15px 10px 30px 10px;
  background: linear-gradient(135deg, #C9A227 0%, #A67C1A 100%);
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(166, 124, 26, 0.25);
  transition: all 0.25s ease;
  cursor: pointer;
  justify-self: center;
}

.wadi-umf-btn:hover {
  background: linear-gradient(135deg, #A67C1A 0%, #8A6614 100%);
  box-shadow: 0 6px 16px rgba(166, 124, 26, 0.35);
  transform: translateY(-2px);
}

.wadi-umf-btn:active {
  transform: translateY(0);
}