/* ============================================================
   متجر أذواق — ثيم رائد — النسخة النهائية v12
   ============================================================ */

:root {
  --g:   #c9a84c;
  --gl:  #e8c97a;
  --gd:  #9a7a2e;
  --dk:  #0a0a0a;
  --dk2: #141414;
  --wh:  #ffffff;
  --bg:  #f7f7f7;
  --tx:  #1a1a1a;
  --br:  rgba(201,168,76,.2);
  --r:   10px;
  --e:   .27s cubic-bezier(.4,0,.2,1);
}

/* ══ 1. مسح الهوامش الزائدة بين الهيدر/البنر/الأقسام ══ */
body, html { padding-top: 0 !important; margin-top: 0 !important; }

.s-header, .header, [class*="site-header"], [class*="main-header"] {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* البنر بدون هوامش */
.raed-slider, .raed-hero,
[data-section-type="slideshow"],
[data-section-type="image-with-text"],
.s-slider, .s-hero-banner,
.slider, .slider-wrapper,
[class*="swiper"], [class*="slick-slider"] {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

/* قسم الأيقونات — لاصق تحت البنر مباشرة */
.azwaq-categories-section {
  margin: 0 !important;
  padding: 14px 0 0 !important;
  border-bottom: 1px solid rgba(0,0,0,.05) !important;
}

/* ما يلي قسم الأيقونات — لا هامش أعلاه */
.azwaq-categories-section + *,
#azwaq-cats + * {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* ══ 2. هيدر ══ */
.s-header, .header, [class*="site-header"] {
  background: #fff !important;
  border-bottom: 1px solid rgba(0,0,0,.06) !important;
  box-shadow: 0 1px 6px rgba(0,0,0,.05) !important;
}

/* أيقونات الهيدر — متساوية */
.s-header__actions-item,
[class*="header__actions"] > *,
[class*="header__action"],
.header__cart-trigger,
.header__profile-trigger {
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(0,0,0,.08) !important;
  background: #fff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 3px !important;
  transition: all var(--e) !important;
  position: relative !important;
}
[class*="header__action"]:hover { border-color: var(--br) !important; background: rgba(201,168,76,.07) !important; }

/* عداد السلة */
.s-cart-count, [class*="cart__count"], .badge-cart {
  background: #ef4444 !important;
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  min-width: 18px !important;
  height: 18px !important;
  border-radius: 10px !important;
  position: absolute !important;
  top: -3px !important; right: -3px !important;
  border: 2px solid #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 3px !important;
}

/* روابط الناف */
[class*="header__nav"] a, [class*="nav__link"] {
  font-family: 'Cairo', sans-serif !important;
  font-weight: 600 !important;
  color: var(--tx) !important;
  transition: color var(--e) !important;
}
[class*="header__nav"] a:hover { color: var(--gd) !important; }

/* ══ 3. قسم الأيقونات الدائرية ══ */
.azwaq-categories-section {
  background: #fff !important;
  direction: rtl !important;
  overflow: hidden !important;
  width: 100% !important;
  display: block !important;
}

.azwaq-cats-track {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 0 !important;
  padding: 4px 12px 16px !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
  width: max-content !important;
  min-width: 100% !important;
}
.azwaq-cats-track::-webkit-scrollbar { display: none !important; }

.azwaq-cat-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 7px !important;
  flex-shrink: 0 !important;
  width: 82px !important;
  padding: 2px 0 !important;
  text-decoration: none !important;
  transition: transform var(--e) !important;
}
.azwaq-cat-item:hover { transform: translateY(-3px) !important; }

.azwaq-cat-circle {
  width: 64px !important;
  height: 64px !important;
  border-radius: 50% !important;
  background: var(--dk) !important;
  border: 2px solid var(--g) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.1) !important;
  transition: border-color var(--e), box-shadow var(--e) !important;
  box-sizing: border-box !important;
  padding: 4px !important;
}
.azwaq-cat-item:hover .azwaq-cat-circle {
  border-color: var(--gl) !important;
  box-shadow: 0 4px 14px rgba(201,168,76,.28) !important;
}

.azwaq-cat-icon {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.azwaq-cat-icon img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  -webkit-user-drag: none !important;
}
.azwaq-cat-icon svg {
  width: 26px !important;
  height: 26px !important;
  fill: none !important;
  stroke: var(--g) !important;
  stroke-width: 1.6 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  transition: stroke var(--e) !important;
}
.azwaq-cat-item:hover .azwaq-cat-icon svg { stroke: var(--gl) !important; }

.azwaq-cat-name {
  font-size: 11px !important;
  font-weight: 600 !important;
  color: var(--tx) !important;
  text-align: center !important;
  white-space: nowrap !important;
  font-family: 'Cairo', sans-serif !important;
  user-select: none !important;
  line-height: 1.3 !important;
}

/* ══ 4. بطاقة المنتج — تصميم مربع جذاب ══ */

/* ── استهداف شامل لجميع بطاقات المنتجات في ثيم رائد ── */
[class*="product-card"],
[class*="ProductCard"],
[class*="product-item"],
div[id*="product"] > div[class*="relative"],
div[data-testid*="product"],
[class*="product-grid"] > div,
[class*="collection-products"] > div {
  border-radius: 16px !important;
  overflow: hidden !important;
  border: 1px solid rgba(0,0,0,0.06) !important;
  background: #ffffff !important;
  transition: transform 0.3s cubic-bezier(0.2,0,0,1), box-shadow 0.3s ease !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
  position: relative !important;
}
[class*="product-card"]:hover,
[class*="ProductCard"]:hover,
div[id*="product"] > div[class*="relative"]:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 30px -12px rgba(0,0,0,0.15) !important;
  border-color: rgba(201,168,76,0.3) !important;
}

/* صور البطاقة — مربعة */
[class*="product-card"] img,
[class*="ProductCard"] img,
[class*="product-item"] img,
div[id*="product"] img {
  aspect-ratio: 1/1 !important;
  object-fit: cover !important;
  width: 100% !important;
  height: auto !important;
  transition: transform 0.4s cubic-bezier(0.2,0,0,1) !important;
}
[class*="product-card"]:hover img,
[class*="ProductCard"]:hover img { transform: scale(1.05) !important; }

/* منطقة المعلومات */
[class*="product-card"] > div:last-child,
[class*="ProductCard"] > div:last-child,
div[id*="product"] > div[class*="relative"] > div:last-child {
  padding: 12px 12px 14px !important;
  background: white !important;
}

/* العنوان */
[class*="product-card"] [class*="title"],
[class*="product-card"] [class*="name"],
[class*="ProductCard"] [class*="title"],
[class*="ProductCard"] [class*="name"],
[class*="product-item"] [class*="title"],
div[id*="product"] [class*="text-h3"],
div[id*="product"] [class*="text-h4"] {
  color: #1a1a1a !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
  margin-bottom: 6px !important;
  font-family: 'Cairo','Tajawal',sans-serif !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-decoration: none !important;
}

/* السعر */
[class*="product-card"] [class*="price"],
[class*="ProductCard"] [class*="price"],
[class*="product-item"] [class*="price"],
div[id*="product"] [class*="price"] {
  color: #9a7a2e !important;
  font-weight: 800 !important;
  font-family: 'Tajawal',sans-serif !important;
  margin: 8px 0 !important;
  align-items: center !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
}
[class*="product-card"] [class*="price"] [class*="sale"],
[class*="ProductCard"] [class*="price"] [class*="sale"] {
  color: #c9a84c !important;
  font-weight: 800 !important;
}
[class*="old-price"], [class*="compare-price"], [class*="price--compare"],
[class*="product-card"] [class*="price"] [class*="compare"],
[class*="ProductCard"] [class*="price"] [class*="compare"] {
  color: #aaaaaa !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  text-decoration: line-through !important;
}

/* زر إضافة للسلة — كبسولة */
[class*="product-card"] button,
[class*="ProductCard"] button,
[class*="add-to-cart"],
[class*="AddToCart"],
[class*="product-card"] [class*="btn"],
div[id*="product"] button[class*="w-full"] {
  background: #0a0a0a !important;
  color: #c9a84c !important;
  border: 1.5px solid #c9a84c !important;
  border-radius: 40px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  font-family: 'Cairo',sans-serif !important;
  padding: 10px 12px !important;
  width: 100% !important;
  margin-top: 8px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  transition: all 0.25s ease !important;
  letter-spacing: 0.3px !important;
}
[class*="product-card"] button svg,
[class*="AddToCart"] svg {
  width: 16px !important;
  height: 16px !important;
  stroke: #c9a84c !important;
  stroke-width: 1.8 !important;
  transition: all 0.25s ease !important;
}
[class*="product-card"] button:hover,
[class*="AddToCart"]:hover {
  background: #c9a84c !important;
  color: #0a0a0a !important;
  border-color: #e8c97a !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 14px rgba(201,168,76,0.35) !important;
}
[class*="product-card"] button:hover svg,
[class*="AddToCart"]:hover svg { stroke: #0a0a0a !important; }

/* شارة الخصم / الجديد */
[class*="product-card"] [class*="badge"],
[class*="ProductCard"] [class*="badge"],
[class*="sale-badge"], [class*="tag--sale"] {
  background: #c9a84c !important;
  color: #0a0a0a !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  padding: 4px 10px !important;
  border-radius: 20px !important;
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  z-index: 5 !important;
  font-family: 'Cairo',sans-serif !important;
}
[class*="badge--new"], [class*="tag--new"] {
  background: #0a0a0a !important;
  color: #c9a84c !important;
}

/* Responsive للبطاقة */
@media (max-width: 768px) {
  [class*="product-card"] [class*="title"],
  [class*="ProductCard"] [class*="title"] { font-size: 13px !important; }
  [class*="product-card"] [class*="price"],
  [class*="ProductCard"] [class*="price"] { font-size: 14px !important; }
  [class*="product-card"] button,
  [class*="AddToCart"] { padding: 8px 10px !important; font-size: 11px !important; }
} 
@media (max-width: 480px) {
  [class*="product-card"] > div:last-child { padding: 10px !important; }
}

/* ── استهداف إضافي لفئات رائد المباشرة ── */
.s-product-card, .product-card,
[class*="product-card"]:not([class*="__"]) {
  border-radius: 16px !important;
  overflow: hidden !important;
  border: 1px solid rgba(0,0,0,.06) !important;
  background: #fff !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.04) !important;
  transition: transform .3s cubic-bezier(.2,0,0,1), box-shadow .3s ease !important;
  flex-direction: column !important;
}
.s-product-card:hover, .product-card:hover,
[class*="product-card"]:not([class*="__"]):hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 30px -12px rgba(0,0,0,.15) !important;
  border-color: rgba(201,168,76,.3) !important;
}
.s-product-card__image, .product-card__image,
[class*="product-card__image"],
[class*="product__image"] {
  aspect-ratio: 1/1 !important;
  width: 100% !important;
  overflow: hidden !important;
  background: var(--bg) !important;
  flex-shrink: 0 !important;
}
.s-product-card__image img, .product-card__image img,
[class*="product-card__image"] img,
[class*="product__image"] img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform .4s ease !important;
}
.s-product-card:hover .s-product-card__image img,
.product-card:hover [class*="product__image"] img { transform: scale(1.05) !important; }

.s-product-card__info, .product-card__info,
[class*="product-card__info"], [class*="product__body"] {
  background: #fff !important;
  padding: 12px 12px 14px !important;
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}
.s-product-card__name, .product-card__name,
[class*="product-card__name"], [class*="product__name"],
[class*="product__title"], [class*="product-name"] {
  color: var(--tx) !important;
  font-family: 'Cairo',sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin: 0 !important;
}
.s-product-card__price, .product-card__price, .s-price,
[class*="product-card__price"], [class*="product__price"] {
  color: var(--gd) !important;
  font-family: 'Tajawal',sans-serif !important;
  font-weight: 800 !important;
  font-size: 15px !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  visibility: visible !important;
  background: transparent !important;
  margin: 4px 0 8px !important;
}
.s-product-card-promotion-title,
[class*="product-card__badge"] {
  background: var(--g) !important;
  color: var(--dk) !important;
  font-family: 'Cairo',sans-serif !important;
  font-weight: 700 !important;
  font-size: 10px !important;
  padding: 4px 10px !important;
  border-radius: 20px !important;
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  z-index: 5 !important;
}

/* زر السلة — كبسولة */
.s-btn-add-to-cart, .product-card__add-btn,
[class*="add-to-cart"], [class*="btn-cart"], .pc-btn {
  background: var(--dk) !important;
  color: var(--g) !important;
  border: 1.5px solid var(--g) !important;
  border-radius: 40px !important;
  font-family: 'Cairo',sans-serif !important;
  font-weight: 700 !important;
  font-size: 12.5px !important;
  padding: 9px 12px !important;
  width: 100% !important;
  margin-top: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  cursor: pointer !important;
  transition: all .25s ease !important;
}
.s-btn-add-to-cart:hover, [class*="add-to-cart"]:hover, .pc-btn:hover {
  background: var(--g) !important;
  color: var(--dk) !important;
  border-color: var(--gl) !important;
  box-shadow: 0 6px 14px rgba(201,168,76,.35) !important;
  transform: translateY(-2px) !important;
}
.s-btn-add-to-cart svg, [class*="add-to-cart"] svg,
.pc-btn svg, .s-btn-add-to-cart i, [class*="add-to-cart"] i {
  width: 16px !important; height: 16px !important;
  fill: none !important; stroke: var(--g) !important;
  stroke-width: 1.8 !important; color: var(--g) !important;
  transition: all .25s !important;
}
.s-btn-add-to-cart:hover svg, [class*="add-to-cart"]:hover svg,
.pc-btn:hover svg, .s-btn-add-to-cart:hover i {
  stroke: var(--dk) !important; color: var(--dk) !important;
}

/* ══ 5. صفحة المنتج ══ */
[class*="product__description"],
[class*="product-description"],
.product-description,
.s-product-description {
  color: var(--tx) !important;
  font-family: 'Cairo', sans-serif !important;
  font-size: 14px !important;
  line-height: 1.85 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  background: transparent !important;
}

/* وصف — read more */
.az-desc-wrapper {
  overflow: hidden !important;
  position: relative !important;
  transition: max-height .35s ease !important;
}
.az-desc-wrapper.collapsed {
  max-height: 5.2em !important;
}
.az-desc-wrapper.collapsed::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important; left: 0 !important; right: 0 !important;
  height: 28px !important;
  background: linear-gradient(transparent, #fff) !important;
  pointer-events: none !important;
}
.az-read-more-btn {
  background: none !important;
  border: none !important;
  color: var(--gd) !important;
  font-family: 'Cairo', sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  cursor: pointer !important;
  padding: 6px 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  transition: color var(--e) !important;
}
.az-read-more-btn:hover { color: var(--g) !important; }


/* أزرار الشراء */
.s-btn-buy, [class*="btn-buy"], [class*="buy-now"] {
  background: var(--g) !important;
  color: var(--dk) !important;
  border: none !important;
  font-family: 'Cairo', sans-serif !important;
  font-weight: 700 !important;
  border-radius: 30px !important;
  transition: all var(--e) !important;
}
.s-btn-buy:hover { background: var(--gl) !important; box-shadow: 0 6px 18px rgba(201,168,76,.4) !important; }

/* ══ 6. إخفاء الأقسام في صفحات المنتج/السلة/الدفع ══ */
.page-product #azwaq-cats,
.page-cart #azwaq-cats,
.page-checkout #azwaq-cats,
[class*="product-page"] #azwaq-cats,
[class*="cart-page"] #azwaq-cats,
body[class*="product"] #azwaq-cats,
body[class*="cart"] #azwaq-cats,
body[class*="checkout"] #azwaq-cats {
  display: none !important;
}

/* ══ 7. القائمة الجانبية — خلفية بيضاء، خط أسود ══ */
[class*="sidebar"], [class*="side-menu"],
[class*="mobile-menu"], [class*="drawer"], [class*="offcanvas"] {
  background: #ffffff !important;
}
[class*="sidebar"] *, [class*="side-menu"] *, [class*="drawer"] * {
  color: #1a1a1a !important;
}
[class*="sidebar"] a, [class*="side-menu"] a, [class*="drawer"] a {
  color: #1a1a1a !important;
  font-family: 'Cairo', sans-serif !important;
  font-size: 14px !important;
  display: block !important;
  visibility: visible !important;
  padding: 7px 0 !important;
  transition: color var(--e) !important;
}
[class*="sidebar"] a:hover, [class*="drawer"] a:hover { color: var(--gd) !important; }
[class*="sidebar"] h3, [class*="drawer"] h3,
[class*="sidebar"] h4, [class*="drawer"] h4 {
  color: #1a1a1a !important;
  font-family: 'Tajawal', sans-serif !important;
  font-weight: 700 !important;
}

/* ══ 8. الفوتر — خلفية سوداء، نصوص بيضاء، عناوين ذهبية، أيقونات ذهبية ══ */
footer, .footer, .s-footer,
[class*="site-footer"], [class*="main-footer"] {
  background: #0a0a0a !important;
  color: #ffffff !important;
  border-top: 2px solid var(--g) !important;
  font-family: 'Cairo', sans-serif !important;
}
/* جميع النصوص بيضاء */
footer *, .footer *, [class*="site-footer"] * {
  color: #ffffff !important;
}
/* العناوين ذهبية */
[class*="footer__title"], [class*="footer"] h3,
[class*="footer"] h4, [class*="footer"] h5 {
  color: var(--g) !important;
  font-family: 'Tajawal', sans-serif !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  margin-bottom: 12px !important;
}
/* الروابط بيضاء */
footer a, .footer a, [class*="footer"] a {
  color: rgba(255,255,255,.75) !important;
  font-size: 13px !important;
  transition: color var(--e) !important;
  display: block !important;
  padding: 3px 0 !important;
}
footer a:hover, .footer a:hover { color: var(--g) !important; }

/* شعار الفوتر المُحقن */
#az-footer-logo {
  text-align: center !important;
  padding: 22px 16px 18px !important;
  border-bottom: 3px solid #c9a84c !important
  margin-bottom: 0px !important;
}
#az-footer-logo .az-fl-name {
  font-family: 'Tajawal', sans-serif !important;
  font-size: 30px !important;
  font-weight: 900 !important;
  color: #fff !important;
  letter-spacing: 2px !important;
  display: block !important;
  line-height: 1 !important;
}
#az-footer-logo .az-fl-name em {
  color: var(--g) !important;
  font-style: normal !important;
}
#az-footer-logo .az-fl-line {
  width: 50px !important;
  height: 2px !important;
  background: linear-gradient(90deg, transparent, var(--g), transparent) !important;
  margin: 8px auto 6px !important;
  border-radius: 2px !important;
  display: block !important;
}
#az-footer-logo .az-fl-sub {
  font-size: 10px !important;
  color: rgba(255,255,255,.35) !important;
  letter-spacing: 1.5px !important;
  font-family: 'Cairo', sans-serif !important;
  display: block !important;
  margin-top: 2px !important;
}

/* أيقونات التواصل الاجتماعي — لون ذهبي */
[class*="footer__social"], [class*="footer-social"],
[class*="social-links"], [class*="social-icons"] {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px !important;
  direction: ltr !important;
  flex-wrap: wrap !important;
  padding: 14px 0 !important;
}
[class*="footer__social"] a, [class*="footer-social"] a,
[class*="social-links"] a, [class*="social-icons"] a {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background: rgba(201,168,76,.1) !important;
  border: 1.5px solid var(--g) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 16px !important;
  transition: all var(--e) !important;
  padding: 0 !important;
  text-decoration: none !important;
  color: var(--g) !important;
}
/* أيقونات SVG داخل التواصل — ذهبية */
[class*="footer__social"] a svg,
[class*="footer-social"] a svg,
[class*="social-links"] a svg,
[class*="social-icons"] a svg {
  stroke: var(--g) !important;
  fill: var(--g) !important;
  color: var(--g) !important;
}
[class*="footer__social"] a:hover,
[class*="social-links"] a:hover {
  background: var(--g) !important;
  border-color: var(--gl) !important;
  color: var(--dk) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(201,168,76,.3) !important;
}
[class*="footer__social"] a:hover svg,
[class*="social-links"] a:hover svg {
  stroke: var(--dk) !important;
  fill: var(--dk) !important;
  color: var(--dk) !important;
}

/* روابط واتساب/هاتف في الفوتر */
footer a[href^="tel:"], footer a[href*="wa.me"],
footer a[href*="api.whatsapp.com"] {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  border: 1px solid var(--g) !important;
  padding: 7px 16px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  margin: 4px auto !important;
  background: rgba(201,168,76,.08) !important;
  direction: ltr !important;
  width: auto !important;
  width: fit-content !important;
  color: var(--g) !important;
}

/* طرق الدفع — خلفية بيضاء */
[class*="payment-methods"], [class*="payment-icons"],
[class*="payments"], [class*="payment-logos"] {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  padding: 2px !important;
  background: #ffffff !important;
  border-radius: 8px !important;
  border: 1px solid rgba(201,168,76,.2) !important;
  margin: 10px auto !important;
}
[class*="payment-methods"] img,
[class*="payments"] img {
  height: 24px !important;
  filter: brightness(1) !important;
  border-radius: 3px !important;
  transition: filter var(--e) !important;
}
[class*="payment-methods"] img:hover { filter: brightness(.85) !important; }

/* copyright */
[class*="footer__copyright"], [class*="copyright"] {
  color: rgba(255,255,255,.3) !important;
  font-size: 11px !important;
  text-align: center !important;
  border-top: 1px solid rgba(255,255,255,.06) !important;
  padding-top: 12px !important;
}

/* ══ 9. عام ══ */
body {
  background: var(--bg) !important;
  font-family: 'Cairo', 'Tajawal', sans-serif !important;
  color: var(--tx) !important;
  -webkit-font-smoothing: antialiased !important;
}
[class*="section"], [class*="products-section"] { background: #fff !important; }
[class*="section__title"], [class*="section-title"] {
  font-family: 'Tajawal', sans-serif !important;
  font-weight: 800 !important;
  color: var(--tx) !important;
}
::selection { background: var(--g) !important; color: var(--dk) !important; }
html { scroll-behavior: smooth !important; }

/* ══ 10. Responsive ══ */
@media (max-width: 768px) {
  .azwaq-cat-circle { width: 58px !important; height: 58px !important; }
  .azwaq-cat-item   { width: 72px !important; }
  .azwaq-cat-name   { font-size: 10.5px !important; }
}
@media (max-width: 480px) {
  .azwaq-cat-circle { width: 52px !important; height: 52px !important; }
  .azwaq-cat-item   { width: 66px !important; }
}

footer a, .footer a, [class*="footer"] a {
    color: #121212 !important;
    font-size: 13px !important;
    transition: color var(--e) !important;
    display: block !important;
    padding: 3px 0 !important;
}

footer *, .footer *, [class*="site-footer"] * {
    color: #374151 !important;
}

/* 1. حل مشكلة توسيط الأيقونات داخل الدوائر وتعديل ألوانها */
.store-social-links a,
.footer-social a,
div[class*="social"] a {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    background-color: #000000 !important; /* خلفية سوداء */
    padding: 0 !important; /* إلغاء أي حواف داخلية قديمة تزيح الأيقونة */
}

/* لضمان توسيط وتلوين رمز الـ SVG داخل الدائرة */
.store-social-links a svg,
.footer-social a svg,
div[class*="social"] a svg {
    margin: auto !important;
    color: #D4AF37 !important; /* لون ذهبي */
    fill: #D4AF37 !important;   /* لون ذهبي للأيقونات المعبأة */
    width: 18px !important;     /* حجم مناسب للأيقونة بالداخل */
    height: 18px !important;
}


/* 2. حل مشكلة لون نصوص الحقوق أسفل الصفحة */
.site-footer__copyright,
.footer-copyright,
.copyright-text,
.sub-footer,
div[class*="copyright"] p,
div[class*="copyright"] span {
    color: #D4AF37 !important; /* لون الخط ذهبي */
}

/* استهداف روابط الحقوق إن وجدت */
div[class*="copyright"] a {
    color: #D4AF37 !important;
}


/* 3. إزالة المسافة الفارغة (المحددة بالأحمر) */
.store-social-links,
.footer-social,
div[class*="social"] {
    margin-bottom: 5px !important; /* تقليل المسافة أسفل الأيقونات */
    padding-bottom: 0 !important;
}

.site-footer__copyright,
div[class*="copyright"] {
    margin-top: 5px !important; /* تقليل المسافة أعلى الحقوق */
    padding-top: 0 !important;
}
.gap-8 {
    gap: 0rem;
}
.mm-spn ul {
    -webkit-overflow-scrolling: touch;
    background: inherit;
    bottom: 0;
    cursor: default;
    left: 100%;
    line-height: 24px;
    line-height: var(--mm-spn-line-height);
    overflow: visible;
    overflow-y: auto;
    padding-right: 30%;
    padding-right: var(--mm-spn-panel-offset);
    position: fixed;
    top: 0;
    transition: left .3s ease 0s;
    width: 130%;
    width: calc(90% + var(--mm-spn-panel-offset));
    z-index: 2;
}

/* اجبار كل صور المنتجات تكون مربعة */
.salla-theme_6 .product-entry .img-entry,
.salla-theme_6 .product .product-image {
    aspect-ratio: 1/1 !important; /* نسبة 1:1 = مربع */
    overflow: hidden;
    border-radius: 12px; /* نفس حواف الثيم */
}

.salla-theme_6 .product-entry .img-entry img,
.salla-theme_6 .product .product-image img {
    object-fit: cover !important; /* يملأ المربع ويقص الزيادات */
    object-position: center !important; /* يخلي القص من الوسط */
    width: 100% !important;
    height: 100% !important;
}

/* صورة المنتج الرئيسية من الداخل */
.salla-theme_6 .details-slider .swiper-slide {
    aspect-ratio: 1/1 !important;
}

.salla-theme_6 .details-slider .swiper-slide img {
    object-fit: cover !important;
    width: 100% !important;
    height: 100% !important;
}