/* =========================================================
   PUMP+ — الوضع الداكن المميز (ثيم رائد)  |  ملف واحد متكامل
   قبل اللصق: امسح أي CSS قديم من خانة CSS المخصص
   المظهر ← تعديل الثيم ← CSS مخصص
   ========================================================= */

:root {
  color-scheme: dark;
  --pp-bg:      #0b0d12;
  --pp-bg-2:    #12151d;
  --pp-card:    #151922;
  --pp-line:    rgba(255, 255, 255, .09);
  --pp-text:    #f1f3f8;
  --pp-muted:   #9aa3b5;
  --pp-volt:    #c8ff2e;
  --pp-volt-2:  #7dffb3;
  --pp-danger:  #ff4d6d;
  --pp-radius:  16px;

  /* متغيرات سلة/رائد */
  --color-primary:         #c8ff2e;
  --color-primary-d:       #b4e61f;
  --color-primary-l:       #d8ff6b;
  --color-primary-reverse: #0b0d12;
  --main-text-color:       #f1f3f8;
  --color-text:            #f1f3f8;
}

/* ---------- الأساس ---------- */
html { scroll-behavior: smooth; }

html, body {
  background-color: var(--pp-bg) !important;
  color: var(--pp-text);
  -webkit-font-smoothing: antialiased;
}
body {
  background-image:
    radial-gradient(800px 420px at 90% -8%, rgba(200,255,46,.10), transparent 60%),
    radial-gradient(600px 380px at -10% 28%, rgba(125,255,179,.06), transparent 60%) !important;
  background-repeat: no-repeat !important;
}

#app, main, .app-inner, .main-content, .store-content,
.s-block, [class*="s-block--"], section {
  background-color: transparent !important;
}

::selection { background: var(--pp-volt); color: #0b0d12; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--pp-bg); }
::-webkit-scrollbar-thumb { background: #2a2f3d; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--pp-volt); }

/* ---------- النصوص ---------- */
h1, h2, h3, h4, h5, h6,
.s-block h1, .s-block h2, .s-block h3, .s-block h4, .s-block h5 {
  color: var(--pp-text) !important;
}
p, .s-block p, footer p { color: var(--pp-muted) !important; }
main span, main li, main label { color: inherit; }
a { transition: color .2s ease; }

/* ---------- الهيدر ---------- */
.store-header, header.store-header, .main-nav-container, .top-navbar {
  background: rgba(11,13,18,.82) !important;
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  border-bottom: 1px solid var(--pp-line) !important;
}
.store-header a, .main-nav-container a, .top-navbar a,
.store-header i, .main-nav-container i { color: var(--pp-text) !important; }
.main-menu a:hover, .main-nav-container a:hover { color: var(--pp-volt) !important; }

/* أيقونة الحساب (كانت مربعاً أبيض كبيراً) */
salla-user-menu img, [class*="user-menu"] img, [class*="avatar"] img {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  object-fit: cover;
}
.store-header salla-cart-summary *, header salla-cart-summary * { color: var(--pp-text) !important; }
[class*="logo"] img, .navbar-brand img { border-radius: 10px; }

/* ---------- عناوين الأقسام (لمسة مميزة) ---------- */
.s-block__title h2, .s-block__title h3 {
  font-weight: 800;
  letter-spacing: .2px;
}
.s-block__title h2::after, .s-block__title h3::after {
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  margin-top: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--pp-volt), var(--pp-volt-2));
  box-shadow: 0 0 12px rgba(200,255,46,.55);
}

/* ---------- البنرات والسلايدر ---------- */
.s-slider-block__slide img, .s-block--banners img,
.s-block--fixed-banner img, .s-block--full-image img {
  border-radius: var(--pp-radius);
}
.s-slider-block .swiper-pagination-bullet { background: #3a4050 !important; opacity: 1; }
.s-slider-block .swiper-pagination-bullet-active { background: var(--pp-volt) !important; }

/* ---------- البطاقات العامة (المميزات، آراء العملاء) ---------- */
.s-block div[class*="item"],
.s-block div[class*="card"],
.s-block div[class*="feature"],
.s-block div[class*="testimonial"] {
  background-color: var(--pp-card) !important;
  border-color: var(--pp-line) !important;
  border-radius: var(--pp-radius);
}

/* ---------- بطاقات المنتجات ---------- */
.s-product-card-entry, .product-entry {
  background: var(--pp-card) !important;
  border: 1px solid var(--pp-line) !important;
  border-radius: var(--pp-radius) !important;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
@media (hover: hover) {
  .s-product-card-entry:hover, .product-entry:hover {
    transform: translateY(-4px);
    border-color: rgba(200,255,46,.5) !important;
    box-shadow: 0 12px 28px rgba(0,0,0,.45), 0 0 22px rgba(200,255,46,.12);
  }
  .s-product-card-entry:hover .s-product-card-image img { transform: scale(1.05); }
}
.s-product-card-image img { transition: transform .45s ease; }
.s-product-card-content-title a, .s-product-card-content-title {
  color: var(--pp-text) !important;
  font-weight: 700;
}
.s-product-card-content-subtitle { color: var(--pp-muted) !important; }

/* الأسعار */
.total-price, .product-price, .s-product-card-price,
.s-product-card-sale-price h4, .product-price span {
  color: var(--pp-volt) !important;
  font-weight: 800;
}
.before-price, .s-product-card-sale-price span {
  color: var(--pp-muted) !important;
  text-decoration: line-through;
  font-weight: 500;
}

/* شارة الخصم */
.s-product-card-promotion-title, .s-product-card-promotion {
  background: linear-gradient(135deg, var(--pp-danger), #ff8a4d) !important;
  color: #fff !important;
  border-radius: 999px !important;
  font-weight: 700;
  padding: 3px 11px;
}

/* ---------- الأزرار ---------- */
.s-button-element, .s-button-primary, .btn--primary {
  border-radius: 12px !important;
  font-weight: 700 !important;
  transition: transform .15s ease, filter .2s ease, box-shadow .2s ease;
}
.s-button-primary, .btn--primary, salla-add-product-button .s-button-primary {
  background: linear-gradient(135deg, var(--pp-volt), var(--pp-volt-2)) !important;
  color: #0b0d12 !important;
  border: 0 !important;
  box-shadow: 0 6px 18px rgba(200,255,46,.22);
}
.s-button-primary *, .btn--primary * { color: #0b0d12 !important; }
.s-button-element:active, .s-button-primary:active { transform: scale(.97); }
@media (hover: hover) {
  .s-button-primary:hover, .btn--primary:hover { filter: brightness(1.07); }
}

/* الأزرار ذات الإطار (أضف إلى السلة / اشترِ الآن) */
.s-button-outline, .s-button-outline-primary {
  background: transparent !important;
  color: var(--pp-volt) !important;
  border: 1.5px solid var(--pp-volt) !important;
}
.s-button-outline *, .s-button-outline-primary * { color: var(--pp-volt) !important; }

/* الأزرار السوداء (أضف كلاهما / Apple Pay) */
.s-button-solid, apple-pay-button, salla-mini-checkout-widget {
  box-shadow: 0 0 0 1px var(--pp-line);
  border-radius: 12px;
}

/* ---------- الحقول ---------- */
input, select, textarea, .s-form-control {
  background: var(--pp-bg-2) !important;
  color: var(--pp-text) !important;
  border: 1px solid var(--pp-line) !important;
  border-radius: 10px !important;
}
input::placeholder, textarea::placeholder { color: var(--pp-muted) !important; }
input:focus, select:focus, textarea:focus {
  border-color: var(--pp-volt) !important;
  box-shadow: 0 0 0 3px rgba(200,255,46,.16) !important;
  outline: none;
}

/* ---------- صفحة المنتج والسلة والدفع ---------- */
.product-single, .cart-item, .s-cart-summary-wrapper,
.s-product-options-wrapper, .checkout-summary {
  background: var(--pp-card) !important;
  border: 1px solid var(--pp-line);
  border-radius: var(--pp-radius);
  color: var(--pp-text);
}
[class*="breadcrumb"] a, [class*="breadcrumb"] span { color: var(--pp-muted) !important; }

/* تدرّج "اقرأ المزيد" (كان أبيض) */
[class*="read-more"]::after, [class*="more-content"]::after,
[class*="description"] [class*="fade"], [class*="description"] [class*="gradient"] {
  background: linear-gradient(to bottom, transparent, var(--pp-bg)) !important;
}
[class*="read-more"], a[class*="more"], button[class*="more"] { color: var(--pp-volt) !important; }

/* التقييمات */
.s-rating-stars-wrapper i, [class*="rating"] i { color: #f5c542 !important; }

/* ---------- الفوتر ---------- */
footer, .store-footer, footer.store-footer {
  background: var(--pp-bg-2) !important;
  border-top: 1px solid var(--pp-line);
}
footer, footer h1, footer h2, footer h3, footer h4, footer h5, footer span, footer li {
  color: var(--pp-text) !important;
}
footer p { color: var(--pp-muted) !important; }
footer a { color: var(--pp-text) !important; }
footer a:hover { color: var(--pp-volt) !important; }
footer [class*="social"] a, footer .s-social-link a {
  border: 1px solid var(--pp-line) !important;
  color: var(--pp-volt) !important;
  background: var(--pp-card) !important;
}
footer [class*="social"] a:hover { border-color: var(--pp-volt) !important; }
footer [class*="social"] i, footer [class*="social"] svg { color: inherit !important; fill: currentColor; }

/* ---------- الجوال ---------- */
@media (max-width: 640px) {
  .s-button-element, .s-button-primary { min-height: 46px; }
}

/* ---------- تقليل الحركة ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* =========================================================
   إصلاحات الهيدر: أيقونة الحساب + مربع اللوقو الأبيض
   ========================================================= */
header salla-user-menu,
header salla-user-menu *,
.store-header salla-user-menu * {
  background: transparent !important;
}
header salla-user-menu img,
.store-header [class*="user"] img,
.store-header [class*="avatar"] img {
  width: 36px !important;
  height: 36px !important;
  max-width: 36px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 1px solid var(--pp-line);
}
.store-header [class*="logo"],
.store-header .navbar-brand {
  background: transparent !important;
}
.store-header [class*="logo"] img,
.store-header .navbar-brand img {
  max-height: 40px;
  border-radius: 10px;
}

/* =========================================================
   v3 — توحيد شامل: القوائم، شريط السلة، شريط المنتج، التعليقات،
   وضوح الأرقام والخطوط
   ========================================================= */

/* ---------- 1) كل الخلفيات البيضاء/الرمادية تصير داكنة ---------- */
.bg-white, .bg-gray-50, .bg-gray-100, .bg-gray-200, .bg-gray-300, .bg-light,
[class*="bg-white"], [class*="bg-gray-"], [class*="bg-slate-"] {
  background-color: var(--pp-card) !important;
}

/* ---------- 2) ألوان الخط: واضحة في كل مكان ---------- */
body :where(span, div, li, label, small, strong, b, td, th, dt, dd, h1, h2, h3, h4, h5, h6) {
  color: var(--pp-text);
}
.text-black, .text-gray-900, .text-gray-800, .text-gray-700, .text-gray-600,
[class*="text-black"], [class*="text-gray-9"], [class*="text-gray-8"], [class*="text-gray-7"] {
  color: var(--pp-text) !important;
}
.text-gray-500, .text-gray-400, .text-gray-300,
[class*="text-gray-5"], [class*="text-gray-4"], [class*="text-gray-3"] {
  color: #b4bccb !important;
}
/* الأحمر الغامق (كان على الداكن غير مقروء) */
.text-red-400, .text-red-500, .text-red-600, .text-red-700, .text-red-800,
[class*="text-red-"] {
  color: #ff8fa0 !important;
}
.border-gray-100, .border-gray-200, .border-gray-300,
[class*="border-gray-"], hr {
  border-color: var(--pp-line) !important;
}

/* ---------- 3) القوائم المنبثقة (قائمة الجوال + قائمة الحساب) ---------- */
.mm-ocd__content, .mm-spn, .mm-spn ul, .mm-spn li,
.mobile-menu, [class*="mobile-menu"], [class*="drawer"],
[class*="dropdown"], [class*="popover"], [class*="user-menu"] ul,
salla-user-menu ul, salla-user-menu li {
  background-color: var(--pp-bg-2) !important;
  color: var(--pp-text) !important;
  border-color: var(--pp-line) !important;
}
.mm-spn a, .mm-spn li a, .mobile-menu a, [class*="mobile-menu"] a,
[class*="dropdown"] a, [class*="dropdown"] span,
salla-user-menu a, salla-user-menu li span {
  color: var(--pp-text) !important;
}
.mm-spn a:hover, [class*="dropdown"] a:hover { color: var(--pp-volt) !important; }
.mm-spn li, [class*="mobile-menu"] li { border-color: var(--pp-line) !important; }

/* النوافذ المنبثقة (modals) */
[class*="modal"] [class*="content"], [class*="modal"] [class*="body"],
.s-modal-body, .s-modal-content {
  background-color: var(--pp-bg-2) !important;
  color: var(--pp-text) !important;
}

/* ---------- 4) الشرائط الثابتة أسفل الشاشة (السلة + المنتج) ---------- */
.cart-submit-wrap, .sticky-product-bar, .sticky-add-to-cart,
[class*="sticky"], [class*="fixed-bottom"], [class*="bottom-bar"] {
  background-color: var(--pp-bg-2) !important;
  border-top: 1px solid var(--pp-line) !important;
  box-shadow: 0 -8px 24px rgba(0,0,0,.45) !important;
}
.cart-submit-wrap :where(span, div, p, small, strong, h3, h4, h5),
.sticky-product-bar :where(span, div, p, small, strong, h3, h4, h5),
[class*="sticky"] :where(span, div, p, small, strong, h3, h4, h5) {
  color: var(--pp-text) !important;
}
/* الإجمالي بالأخضر ليبان */
.cart-submit-wrap .total-price, .cart-submit-wrap [class*="total"] {
  color: var(--pp-volt) !important;
  font-weight: 800;
}
/* شارة الهدية/التوفير داخل الشريط */
.cart-submit-wrap [class*="badge"], .cart-submit-wrap [class*="gift"] {
  background: rgba(200,255,46,.12) !important;
  color: var(--pp-volt) !important;
}

/* ---------- 5) صفحة المنتج: العرض المجمّع + الأسعار + الكمية ---------- */
[class*="bundle"], [class*="bundle"] [class*="product"], [class*="bundle"] [class*="card"] {
  background-color: var(--pp-card) !important;
  border-color: var(--pp-line) !important;
  color: var(--pp-text) !important;
}
[class*="bundle"] :where(span, div, p, small, strong, h3, h4, h5) { color: var(--pp-text) !important; }
[class*="bundle"] .before-price, [class*="bundle"] del { color: var(--pp-muted) !important; }

/* عنوان "السعر" و "الكمية" والمسميات */
.product-single label, .product-single [class*="label"], .product-single [class*="title"],
[class*="product-price"] label, [class*="product-form"] label {
  color: #c4cbd8 !important;
  font-weight: 600;
}
/* السعر الكبير: أخضر واضح */
.product-single .total-price, .product-single [class*="price"] {
  color: var(--pp-volt) !important;
  font-weight: 800;
}
.product-single del, .product-single .before-price { color: var(--pp-muted) !important; }

/* حقل الكمية */
salla-quantity-input, [class*="quantity"], [class*="qty"] {
  background-color: var(--pp-bg-2) !important;
  color: var(--pp-text) !important;
  border-color: var(--pp-line) !important;
}
salla-quantity-input input, [class*="quantity"] input { background: transparent !important; color: var(--pp-text) !important; }
salla-quantity-input button, [class*="quantity"] button, [class*="quantity"] i {
  color: var(--pp-volt) !important;
  background: transparent !important;
}

/* ---------- 6) التعليقات والتقييمات (كانت شريطاً أبيض) ---------- */
salla-comments, salla-comments *:not(button):not(svg):not(i), [class*="comment"], [class*="review"] {
  background-color: transparent !important;
  color: var(--pp-text) !important;
}
salla-comments { display: block; background-color: var(--pp-bg-2) !important; border-radius: var(--pp-radius); padding: 14px; }
[class*="comment"] textarea { background: var(--pp-bg) !important; color: var(--pp-text) !important; }

/* ---------- 7) السلة (صفحة السلة) ---------- */
.cart-item :where(span, div, p, h3, h4, a), .s-cart-item :where(span, div, p, h3, h4, a) { color: var(--pp-text) !important; }
.cart-item .total-price, .cart-item [class*="price"], .s-cart-item [class*="price"] { color: var(--pp-volt) !important; font-weight: 800; }
.cart-item del, .cart-item .before-price { color: var(--pp-muted) !important; }

/* ---------- 8) رقم السلة في الهيدر (كان يظهر مقطوعاً) ---------- */
header salla-cart-summary, .store-header salla-cart-summary {
  min-width: max-content !important;
  overflow: visible !important;
}
header salla-cart-summary [class*="total"], .store-header salla-cart-summary [class*="total"] {
  white-space: nowrap !important;
  max-width: none !important;
  overflow: visible !important;
  color: var(--pp-volt) !important;
  font-weight: 800;
}

/* ---------- 9) أيقونة الحساب واللوقو في الهيدر ---------- */
.store-header img[src*="avatar"], header img[src*="avatar"],
.store-header img[alt*="avatar" i], header img[alt*="user" i] {
  width: 36px !important;
  height: 36px !important;
  max-width: 36px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
}
.store-header *:has(> img[src*="avatar"]), header *:has(> img[src*="avatar"]) {
  background: transparent !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
}
/* لوقو بخلفية بيضاء: نقلبه ليناسب الداكن (احذف هذا الجزء لو ظهر عكس المطلوب) */
.store-header [class*="logo"] img, .store-header .navbar-brand img, header .navbar-brand img {
  filter: invert(1) hue-rotate(180deg);
  mix-blend-mode: lighten;
  max-height: 40px;
  width: auto;
}

/* ---------- 10) ثبات الأرقام (أرقام واضحة وغير مقطوعة) ---------- */
.total-price, .before-price, [class*="price"] {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* =========================================================
   v4 — إصلاح الفوتر + اللوقو + دوائر التواصل
   ========================================================= */

/* ---------- الفوتر: كل الطبقات الداخلية داكنة ---------- */
footer, .store-footer, [class*="store-footer"], [class*="footer-is"] {
  background-color: var(--pp-bg-2) !important;
}
footer div:not([class*="payment"]):not([class*="social"]):not([class*="badge"]),
footer section, footer nav, footer aside,
footer ul:not([class*="payment"]), footer li:not([class*="payment"]) {
  background-color: transparent !important;
}
footer :where(h1, h2, h3, h4, h5, p, span, li, small, strong, div) {
  color: var(--pp-text) !important;
}
footer p, footer [class*="description"], footer [class*="desc"] {
  color: var(--pp-muted) !important;
}
footer a { color: var(--pp-text) !important; }
footer a:hover { color: var(--pp-volt) !important; }

/* دوائر التواصل (الإيميل / الجوال / واتساب ...) */
footer [class*="contact"] a, footer [class*="contacts"] a,
footer .s-contacts-item a, footer .s-contacts-icon {
  background: var(--pp-card) !important;
  border: 1px solid var(--pp-line) !important;
  color: var(--pp-volt) !important;
}
footer [class*="contact"] i, footer [class*="contact"] svg,
footer [class*="contacts"] i, footer [class*="contacts"] svg {
  color: var(--pp-volt) !important;
  fill: currentColor !important;
  opacity: 1 !important;
}

/* وثيقة العمل الحر: لوقو أسود على داكن، نعطيه خلفية فاتحة صغيرة */
footer img[src*="freelance"], footer a[href*="freelance"] img,
footer [class*="license"] img, footer [class*="certificate"] img {
  background: #fff;
  padding: 6px 10px;
  border-radius: 10px;
}

/* ---------- اللوقو في الهيدر: أكبر وأوضح ---------- */
.store-header [class*="logo"] img, .store-header .navbar-brand img,
header .navbar-brand img {
  height: 38px !important;
  max-height: none !important;
  width: auto !important;
  max-width: 150px !important;
  object-fit: contain;
}

/* =========================================================
   v5 — ملخص الطلب، اللوقو، زر اللغة، زر الحذف، الاقتباس
   ========================================================= */

/* ---------- 1) ملخص الطلب أسفل السلة (كان أبيض) ---------- */
.cart-submit-wrap, [class*="submit-wrap"], [class*="cart-footer"],
[class*="order-summary"], [class*="cart-total"], [class*="checkout-bar"],
[class*="cart-summary-sheet"], [class*="bottom-sheet"], [class*="bottom-0"] {
  background-color: var(--pp-bg-2) !important;
  color: var(--pp-text) !important;
  border-top: 1px solid var(--pp-line) !important;
}
.cart-submit-wrap *:not(button):not(svg):not(path):not([class*="s-button"]),
[class*="submit-wrap"] *:not(button):not(svg):not(path):not([class*="s-button"]),
[class*="order-summary"] *:not(button):not(svg):not(path):not([class*="s-button"]),
[class*="bottom-sheet"] *:not(button):not(svg):not(path):not([class*="s-button"]) {
  color: var(--pp-text) !important;
  opacity: 1 !important;
}
/* نص زر إتمام الطلب داكن على الأخضر */
#cart-submit, #cart-submit *, [id*="cart-submit"] *, [id*="checkout"] button *,
.cart-submit-wrap button *, .cart-submit-wrap [class*="s-button"] * {
  color: #0b0d12 !important;
  opacity: 1 !important;
  font-weight: 800;
}
/* الإجمالي أخضر */
.cart-submit-wrap [class*="total"] *, [class*="order-summary"] [class*="total"] * {
  color: var(--pp-volt) !important;
}

/* ---------- 2) اللوقو: ملف الصورة فيه هوامش، نكبّره لنعوّض ---------- */
.store-header .navbar-brand, .store-header [class*="logo"] {
  display: flex !important;
  align-items: center;
  height: 44px;
  width: 130px;
  overflow: hidden;
  background: transparent !important;
}
.store-header .navbar-brand img, .store-header [class*="logo"] img {
  height: 44px !important;
  width: 130px !important;
  max-width: none !important;
  object-fit: contain;
  transform: scale(2.2);
  transform-origin: center;
}

/* ---------- 3) زر اللغة والعملة ---------- */
salla-localization-modal button, [class*="localization"] button, [class*="localization"],
[class*="currency"] button, [class*="language"] button {
  background-color: var(--pp-card) !important;
  border: 1px solid var(--pp-line) !important;
  color: var(--pp-text) !important;
  border-radius: 12px !important;
}
salla-localization-modal *, [class*="localization"] * { color: var(--pp-text) !important; }

/* حقل البحث: نفس الأسلوب */
salla-search input, [class*="search"] input {
  background: var(--pp-card) !important;
  border: 1px solid var(--pp-line) !important;
  border-radius: 12px !important;
}

/* ---------- 4) زر حذف المنتج في السلة ---------- */
.cart-item [class*="remove"], .cart-item [class*="delete"],
.s-cart-item [class*="remove"], .s-cart-item [class*="delete"],
.cart-item button[class*="close"] {
  background: rgba(255, 77, 109, .14) !important;
  border: 1px solid rgba(255, 77, 109, .45) !important;
  color: #ff8fa0 !important;
  box-shadow: none !important;
}
.cart-item [class*="remove"] *, .cart-item [class*="delete"] * {
  color: #ff8fa0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* ---------- 5) آراء العملاء: علامة الاقتباس ---------- */
[class*="testimonial"] svg, [class*="testimonial"] [class*="quote"],
[class*="testimonial"] i[class*="quote"] {
  display: block;
  margin-bottom: 10px;
}
[class*="testimonial"] p, [class*="testimonial"] [class*="text"],
[class*="testimonial"] [class*="content"] {
  padding-top: 8px;
  line-height: 1.8;
  color: #d5dae6 !important;
}

/* ---------- 6) بنرات فاتحة على خلفية داكنة: إطار ناعم ---------- */
.s-slider-block__slide img, .s-block--banners img, .s-block--fixed-banner img {
  border: 1px solid var(--pp-line);
}

/* =========================================================
   v7 — ملخص الطلب في السلة: لوح أبيض + خط أسود (حل مؤقت)
   يستهدف أي حاوية فيها زر إتمام الطلب ولا تحتوي منتجات السلة
   ========================================================= */
body:has(.cart-item) *:has(.s-button-primary, .btn--primary):not(:has(.cart-item)) {
  background-color: #ffffff !important;
  background-image: none !important;
  opacity: 1 !important;
}
body:has(.cart-item) *:has(.s-button-primary, .btn--primary):not(:has(.cart-item)) :where(span, p, div, small, strong, h3, h4, h5, label, a, li) {
  color: #14161d !important;
  opacity: 1 !important;
}
/* الإجمالي بلون أخضر غامق يُقرأ على الأبيض */
body:has(.cart-item) *:has(.s-button-primary, .btn--primary):not(:has(.cart-item)) :where([class*="total"], [class*="total"] *) {
  color: #2a6a00 !important;
  font-weight: 800;
}
/* السعر القديم */
body:has(.cart-item) *:has(.s-button-primary, .btn--primary):not(:has(.cart-item)) :where(del, [class*="before"]) {
  color: #6b7280 !important;
}
/* نص زر إتمام الطلب يبقى داكن على الأخضر */
body:has(.cart-item) *:has(.s-button-primary, .btn--primary):not(:has(.cart-item)) .s-button-primary,
body:has(.cart-item) *:has(.s-button-primary, .btn--primary):not(:has(.cart-item)) .s-button-primary * {
  color: #0b0d12 !important;
}

/* زر حذف المنتج: حواف مدوّرة */
.cart-item [class*="remove"], .cart-item [class*="delete"],
.s-cart-item [class*="remove"], .s-cart-item [class*="delete"] {
  border-radius: 12px !important;
}

/* =========================================================
   v8 — هوية بطاقات المنتجات "شحن PUMP+"
   (إضافة فقط: لا تغيّر أي شي خارج بطاقات المنتجات)
   ========================================================= */

/* ---------- شكل البطاقة: زوايا متعاكسة (مو دائرة عادية) ---------- */
.s-product-card-entry, .product-entry {
  border-radius: 28px 8px 28px 8px !important;
  position: relative;
  isolation: isolate;
}

/* وهج خفيف من الزاوية (طاقة) */
.s-product-card-entry::before, .product-entry::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(200,255,46,.10) 0%, transparent 38%);
  pointer-events: none;
  z-index: 2;
  border-radius: inherit;
}

/* شريط الشحن أسفل البطاقة: يمتلئ عند اللمس/التمرير */
.s-product-card-entry::after, .product-entry::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background:
    linear-gradient(90deg, var(--pp-volt), var(--pp-volt-2)) right / 34% 100% no-repeat,
    rgba(255, 255, 255, .10);
  transition: background-size .6s ease;
  pointer-events: none;
  z-index: 3;
}
.s-product-card-entry:active::after, .product-entry:active::after {
  background-size: 100% 100%, auto;
}
@media (hover: hover) {
  .s-product-card-entry:hover::after, .product-entry:hover::after {
    background-size: 100% 100%, auto;
  }
}

/* ---------- الصورة: زوايا متعاكسة + لمعة تعبر عند التمرير ---------- */
.s-product-card-image {
  position: relative;
  overflow: hidden;
  border-radius: 22px 4px 22px 4px;
}
.s-product-card-image::after {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  width: 40%;
  left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
}
@media (hover: hover) {
  .s-product-card-entry:hover .s-product-card-image::after {
    left: 130%;
    transition: left .8s ease;
  }
}

/* ---------- شارة الخصم: شكل سرعة مائل (مو كبسولة) ---------- */
.s-product-card-promotion-title, .s-product-card-promotion {
  border-radius: 0 !important;
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
  padding: 4px 16px !important;
  font-weight: 800;
  letter-spacing: .3px;
}

/* ---------- زر المفضلة: دائري زجاجي ---------- */
.s-product-card-wishlist-btn {
  border-radius: 50% !important;
  background: rgba(11, 13, 18, .62) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--pp-line) !important;
}

/* ---------- زر أضف إلى السلة داخل البطاقة ---------- */
.s-product-card-entry .s-button-element,
.s-product-card-entry salla-add-product-button button {
  border-radius: 16px 5px 16px 5px !important;
  letter-spacing: .2px;
}

/* ---------- السعر: يبرز أكثر ---------- */
.s-product-card-entry .total-price,
.s-product-card-entry .s-product-card-price,
.s-product-card-entry .s-product-card-sale-price h4 {
  text-shadow: 0 0 14px rgba(200, 255, 46, .25);
}

/* ---------- الجوال: نخفف الحركة ---------- */
@media (max-width: 640px) {
  .s-product-card-entry:hover, .product-entry:hover { transform: none; }
}

/* ---------- تقليل الحركة ---------- */
@media (prefers-reduced-motion: reduce) {
  .s-product-card-entry::after, .product-entry::after,
  .s-product-card-image::after { transition: none !important; }
}

/* =========================================================
   v9 — لمسات الهوية: البنرات، العناوين، التقييمات، الهيدر، الأزرار
   (إضافة فقط فوق v8)
   ========================================================= */

/* ---------- 1) البنرات: زوايا متعاكسة + إطار وظل ---------- */
.s-slider-block__slide img, .s-block--banners img,
.s-block--fixed-banner img, .s-block--full-image img,
.s-slider-block__slide, .s-block--banners a, .s-block--fixed-banner a {
  border-radius: 30px 8px 30px 8px !important;
}
.s-slider-block__slide img, .s-block--banners img,
.s-block--fixed-banner img, .s-block--full-image img {
  box-shadow: 0 0 0 1px rgba(200, 255, 46, .18), 0 14px 30px rgba(0, 0, 0, .45);
}

/* نقاط السلايدر: شرائح شحن بدل النقاط */
.swiper-pagination-bullet {
  width: 22px !important;
  height: 4px !important;
  border-radius: 3px !important;
  background: rgba(255, 255, 255, .18) !important;
  opacity: 1 !important;
  transition: width .35s ease, background .35s ease, box-shadow .35s ease;
}
.swiper-pagination-bullet-active {
  width: 46px !important;
  background: linear-gradient(90deg, var(--pp-volt), var(--pp-volt-2)) !important;
  box-shadow: 0 0 12px rgba(200, 255, 46, .6);
}

/* ---------- 2) عناوين الأقسام: شريط بطارية مقسّم ---------- */
.s-block__title h2::after, .s-block__title h3::after {
  width: 58px !important;
  height: 5px !important;
  border-radius: 2px !important;
  background: repeating-linear-gradient(90deg, var(--pp-volt) 0 12px, transparent 12px 16px) !important;
  box-shadow: 0 0 12px rgba(200, 255, 46, .5);
  -webkit-mask: linear-gradient(90deg, #000 0 100%);
}

/* رابط "عرض الكل": زر صغير بإطار */
.s-block__display-all, a[class*="display-all"] {
  border: 1px solid rgba(200, 255, 46, .45);
  color: var(--pp-volt) !important;
  padding: 5px 14px;
  border-radius: 14px 4px 14px 4px;
  font-weight: 700;
  transition: background .2s ease;
}
.s-block__display-all i, .s-block__display-all svg { color: var(--pp-volt) !important; }
@media (hover: hover) {
  .s-block__display-all:hover { background: rgba(200, 255, 46, .1); }
}

/* ---------- 3) آراء العملاء: بطاقات بهوية البطاقات ---------- */
.s-block--testimonials .swiper-slide > div,
.s-block--testimonials [class*="card"],
.s-block--testimonials [class*="item"] {
  border-radius: 28px 8px 28px 8px !important;
  border: 1px solid var(--pp-line) !important;
  position: relative;
  overflow: hidden;
}
.s-block--testimonials .swiper-slide > div::after,
.s-block--testimonials [class*="card"]::after {
  content: "";
  position: absolute;
  right: 0;
  top: 18%;
  bottom: 18%;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(to bottom, var(--pp-volt), var(--pp-volt-2));
  box-shadow: 0 0 10px rgba(200, 255, 46, .5);
}
.s-block--testimonials [class*="quote"] {
  filter: none;
}

/* ---------- 4) الهيدر: خط طاقة يتحرك أسفله ---------- */
.store-header, header.store-header { position: relative; }
.store-header::after, header.store-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--pp-volt) 45%, var(--pp-volt-2) 55%, transparent 100%);
  background-size: 220% 100%;
  animation: pp-charge-line 5s linear infinite;
  opacity: .85;
  pointer-events: none;
}
@keyframes pp-charge-line {
  0%   { background-position: 160% 0; }
  100% { background-position: -60% 0; }
}

/* ---------- 5) الأزرار الرئيسية: نفس الزوايا المتعاكسة ---------- */
.s-button-primary, .s-button-outline, .s-button-outline-primary, .s-button-solid, .btn--primary {
  border-radius: 16px 5px 16px 5px !important;
}

/* ---------- 6) شريط شحن التصفح أعلى الشاشة (يمتلئ مع النزول) ---------- */
@supports (animation-timeline: scroll()) {
  body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 9999;
    background: linear-gradient(90deg, var(--pp-volt), var(--pp-volt-2));
    box-shadow: 0 0 10px rgba(200, 255, 46, .7);
    transform-origin: right center;
    transform: scaleX(0);
    animation: pp-scroll-charge linear both;
    animation-timeline: scroll(root);
    pointer-events: none;
  }
  @keyframes pp-scroll-charge {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
  }
}

/* ---------- تقليل الحركة ---------- */
@media (prefers-reduced-motion: reduce) {
  .store-header::after, header.store-header::after { animation: none !important; }
  body::before { animation: none !important; transform: scaleX(0) !important; }
}

/* =========================================================
   v10 — توازن وتنسيق (يخفف الزوائد ويوحّد الأحجام)
   نظام موحّد:  كبير = 22px  |  صغير = 6px
                الأزرار = 14px / 5px  |  الصور = 16px / 4px
   ========================================================= */

/* ---------- 1) زوايا موحّدة ---------- */
.s-product-card-entry, .product-entry,
.s-block--testimonials .swiper-slide > div,
.s-block--testimonials [class*="card"],
.s-block--testimonials [class*="item"] {
  border-radius: 22px 6px 22px 6px !important;
}
.s-slider-block__slide img, .s-block--banners img,
.s-block--fixed-banner img, .s-block--full-image img,
.s-slider-block__slide, .s-block--banners a, .s-block--fixed-banner a {
  border-radius: 22px 6px 22px 6px !important;
}
.s-product-card-image, .s-product-card-image img, .s-product-card-image a {
  border-radius: 14px !important;
}
.s-button-primary, .s-button-outline, .s-button-outline-primary,
.s-button-solid, .btn--primary,
.s-product-card-entry .s-button-element,
.s-product-card-entry salla-add-product-button button {
  border-radius: 14px 5px 14px 5px !important;
}

/* ---------- 2) رأس القسم: عنوان + "عرض الكل" متناسقين ---------- */
.s-block__title {
  margin-bottom: 14px !important;
}
.s-block__title h2, .s-block__title h3 {
  position: relative;
  margin: 0 !important;
  padding-bottom: 12px;
}
.s-block__title h2::after, .s-block__title h3::after {
  position: absolute !important;
  bottom: 0;
  inset-inline-start: 0;
  margin: 0 !important;
  width: 48px !important;
  height: 4px !important;
  background: repeating-linear-gradient(90deg, var(--pp-volt) 0 8px, transparent 8px 12px) !important;
  box-shadow: none !important;
}
.s-block__display-all, a[class*="display-all"] {
  font-size: .82rem !important;
  font-weight: 600 !important;
  padding: 4px 12px !important;
  border: 1px solid rgba(200, 255, 46, .32) !important;
  border-radius: 12px 4px 12px 4px !important;
  color: var(--pp-volt) !important;
  background: transparent !important;
  white-space: nowrap;
}

/* ---------- 3) تخفيف الوهج والظلال ---------- */
.s-product-card-entry .total-price,
.s-product-card-entry .s-product-card-price,
.s-product-card-entry .s-product-card-sale-price h4 { text-shadow: none !important; }

.s-slider-block__slide img, .s-block--banners img,
.s-block--fixed-banner img, .s-block--full-image img {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 8px 20px rgba(0, 0, 0, .35) !important;
}
.store-header::after, header.store-header::after { opacity: .55; }
.s-product-card-entry::before, .product-entry::before {
  background: linear-gradient(155deg, rgba(200,255,46,.06) 0%, transparent 34%);
}

/* ---------- 4) آراء العملاء: أهدأ وأصغر ---------- */
.s-block--testimonials [class*="quote"] {
  opacity: .9;
  filter: none !important;
}
.s-block--testimonials .swiper-slide > div::after,
.s-block--testimonials [class*="card"]::after {
  top: 26%;
  bottom: 26%;
  width: 2px;
  box-shadow: none;
}
.s-block--testimonials p, .s-block--testimonials [class*="text"] { line-height: 1.8; }

/* ---------- 6) مسافات متوازنة بين الأقسام ---------- */
.s-block { margin-bottom: 8px; }
.s-product-card-content { padding-top: 10px; }


/* =========================================================
   v11 — تصحيحات الجوال
   ========================================================= */
/* أيقونات قسم "عرض الكل" والنجوم: أحجام طبيعية */
.s-block__display-all svg, .s-block__display-all i,
a[class*="display-all"] svg, a[class*="display-all"] i {
  width: 1em !important;
  height: 1em !important;
  font-size: 1em !important;
}
/* زر المفضلة: عنصر واحد فقط */
.s-product-card-wishlist-btn {
  border-radius: 50% !important;
  background: rgba(11, 13, 18, .6) !important;
  border: 1px solid var(--pp-line) !important;
}
/* نص زر أضف إلى السلة داخل البطاقة ما ينقص */
.s-product-card-entry .s-button-element,
.s-product-card-entry salla-add-product-button button {
  white-space: nowrap;
  font-size: clamp(.78rem, 3.4vw, .95rem) !important;
  padding-inline: 10px !important;
}
.s-product-card-entry .s-button-text { overflow: visible !important; text-overflow: clip !important; }

.s-product-card-image { overflow: hidden !important; background: transparent !important; }
.s-product-card-image img { display: block; width: 100%; }

/* =========================================================
   v12 — تصغير عام للجوال + رفع "عرض الكل"
   (غيّر 14.5px إلى 14px لتصغير أكثر، أو 15px لتخفيف التصغير)
   ========================================================= */
@media (max-width: 767px) {
  html { font-size: 14px !important; }

  /* أزرار البطاقات أنحف */
  .s-product-card-entry .s-button-element,
  .s-product-card-entry salla-add-product-button button {
    min-height: 40px !important;
    padding-block: 6px !important;
  }
  .s-product-card-content { padding-top: 8px !important; }

  /* عنوان المنتج والسعر أهدأ */
  .s-product-card-content-title a,
  .s-product-card-content-title { font-size: .95rem !important; line-height: 1.5 !important; }

  /* بطاقات التقييمات أصغر */
  .s-block--testimonials .swiper-slide > div,
  .s-block--testimonials [class*="card"] { padding: 14px !important; }
  .s-block--testimonials [class*="quote"] { transform: scale(.8); transform-origin: right top; }
}

/* رفع زر "عرض الكل" ليصير بمحاذاة العنوان */
.s-block__display-all, a[class*="display-all"] {
  position: relative !important;
  top: -8px !important;
}

/* =========================================================
   v15 — لمسات القائمة الجانبية (الجوال)
   لا تغيّر أحجام ولا مواضع، ألوان وخطوط فقط
   ========================================================= */

/* حافة الشحن على جانب القائمة */
.mm-menu, .mm-menu_offcanvas, .mobile-menu, [class*="mobile-menu"], [class*="side-menu"], [class*="sidebar-menu"] {
  box-shadow: inset 2px 0 0 rgba(200, 255, 46, .55), -12px 0 30px rgba(0, 0, 0, .5) !important;
}

/* عنوان "القائمة الرئيسية": شريط شحن مقسّم تحته */
.mm-navbar, .mm-navbar__title, [class*="menu-header"], [class*="menu-title"] {
  position: relative;
  color: var(--pp-text) !important;
  font-weight: 800 !important;
}
.mm-navbar::after, [class*="menu-header"]::after {
  content: "";
  position: absolute;
  inset-inline-end: 16px;
  bottom: -1px;
  width: 54px;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--pp-volt) 0 8px, transparent 8px 12px);
  pointer-events: none;
}

/* عناصر القائمة: خط فاصل أنعم + علامة شحن عند الضغط */
.mm-listitem, .mm-listitem a, .mm-listitem__text,
.mobile-menu li, .mobile-menu li a, [class*="mobile-menu"] li a,
.sidebar-menu li a, [class*="side-menu"] li a {
  border-color: rgba(255, 255, 255, .07) !important;
  color: var(--pp-text) !important;
  font-weight: 600;
  transition: background .2s ease, color .2s ease;
}
.mm-listitem a:active, .mm-listitem__text:active,
.mobile-menu li a:active, [class*="mobile-menu"] li a:active,
.sidebar-menu li a:active, [class*="side-menu"] li a:active {
  background: linear-gradient(270deg, rgba(200, 255, 46, .14), transparent 70%) !important;
  color: var(--pp-volt) !important;
  box-shadow: inset -3px 0 0 var(--pp-volt);
}
@media (hover: hover) {
  .mm-listitem a:hover, .mobile-menu li a:hover, [class*="mobile-menu"] li a:hover {
    color: var(--pp-volt) !important;
  }
}

/* زر الإغلق (X) */
.mm-menu ~ * [class*="close"], [class*="menu-close"], .mm-btn_close {
  color: var(--pp-volt) !important;
}

/* =========================================================
   v16 — لمسات الفوتر: التواصل، السوشل ميديا، العناوين، الروابط
   (ألوان وزوايا ولمسات، بدون تغيير الأحجام الرئيسية)
   ========================================================= */

/* ---------- 1) بطاقة التواصل (الرقم + واتساب) ---------- */
footer :is(div, li, span):has(> a[href^="tel:"]),
footer :is(div, li, span):has(> a[href*="wa.me"]),
footer :is(div, li, span):has(> a[href*="whatsapp"]),
.store-footer :is(div, li, span):has(> a[href^="tel:"]),
.store-footer :is(div, li, span):has(> a[href*="wa.me"]) {
  border-radius: 18px 6px 18px 6px !important;
  border: 1px solid rgba(200, 255, 46, .28) !important;
  background: linear-gradient(270deg, rgba(200, 255, 46, .10), rgba(255, 255, 255, .02) 60%) !important;
  box-shadow: inset 3px 0 0 var(--pp-volt);
}
/* الرقم نفسه: واضح ومرتّب بخط عريض وتباعد أرقام */
footer a[href^="tel:"], .store-footer a[href^="tel:"] {
  direction: ltr;
  unicode-bidi: isolate;
  font-weight: 800 !important;
  font-size: 1.08rem !important;
  letter-spacing: .08em;
  font-variant-numeric: tabular-nums;
  color: var(--pp-text) !important;
}
/* دائرة واتساب: خضراء متوهجة بدل الرمادية */
footer a[href*="wa.me"], footer a[href*="whatsapp"],
.store-footer a[href*="wa.me"], .store-footer a[href*="whatsapp"] {
  color: var(--pp-volt) !important;
}
footer a[href*="wa.me"]:active, footer a[href*="whatsapp"]:active {
  background: rgba(200, 255, 46, .16) !important;
}

/* ---------- 2) السوشل ميديا: أزرار بزوايا الهوية ---------- */
footer :is(a[href*="tiktok.com"], a[href*="twitter.com"], a[href*="x.com"],
           a[href*="instagram.com"], a[href*="snapchat.com"], a[href*="youtube.com"],
           a[href*="facebook.com"], a[href*="t.me"], a[href*="linkedin.com"]),
.store-footer :is(a[href*="tiktok.com"], a[href*="twitter.com"], a[href*="x.com"],
           a[href*="instagram.com"], a[href*="snapchat.com"], a[href*="youtube.com"],
           a[href*="facebook.com"]) {
  border-radius: 16px 5px 16px 5px !important;
  border: 1px solid rgba(200, 255, 46, .35) !important;
  background: linear-gradient(155deg, rgba(200, 255, 46, .14), rgba(200, 255, 46, .03)) !important;
  color: var(--pp-volt) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .35), inset 0 -2px 0 rgba(200, 255, 46, .5);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
footer :is(a[href*="tiktok.com"], a[href*="twitter.com"], a[href*="x.com"],
           a[href*="instagram.com"], a[href*="snapchat.com"], a[href*="youtube.com"],
           a[href*="facebook.com"]):active {
  background: var(--pp-volt) !important;
  color: #0b0d12 !important;
  transform: translateY(-2px);
}
footer :is(a[href*="tiktok.com"], a[href*="twitter.com"], a[href*="x.com"],
           a[href*="instagram.com"], a[href*="snapchat.com"], a[href*="youtube.com"],
           a[href*="facebook.com"]):active * { color: #0b0d12 !important; fill: #0b0d12 !important; }
@media (hover: hover) {
  footer :is(a[href*="tiktok.com"], a[href*="twitter.com"], a[href*="x.com"],
             a[href*="instagram.com"], a[href*="snapchat.com"]):hover {
    background: var(--pp-volt) !important;
    color: #0b0d12 !important;
    transform: translateY(-2px);
  }
}

/* ---------- 3) عناوين الفوتر: شريط شحن مقسّم ---------- */
footer :is(h3, h4, h5)::after,
.store-footer :is(h3, h4, h5)::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin-top: 8px;
  background: repeating-linear-gradient(90deg, var(--pp-volt) 0 8px, transparent 8px 12px);
}

/* ---------- 4) روابط الفوتر: علامة صغيرة بدل القوائم العادية ---------- */
footer li > a:not([href*="tiktok"]):not([href*="twitter"]):not([href*="x.com"]):not([href*="instagram"]):not([href*="snapchat"]):not([href*="youtube"]):not([href*="facebook"]):not([href^="tel:"]):not([href*="wa.me"]):not([href*="whatsapp"]):not([href^="mailto"])::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-inline-end: 10px;
  background: var(--pp-volt);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transform: scaleX(-1);
  opacity: .8;
  vertical-align: middle;
}
footer li > a:active { color: var(--pp-volt) !important; }

/* ---------- 5) الخطوط الفاصلة: تدرّج ناعم ---------- */
footer hr, .store-footer hr {
  border: 0 !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent, rgba(200, 255, 46, .45), transparent) !important;
}

/* =========================================================
   v17 — بطاقة التواصل بدون الرقم + طرق الدفع بشكل أنيق
   ========================================================= */

/* ---------- 1) إخفاء الرقم: نكتفي بعبارة + أيقونة واتساب ---------- */
footer a[href^="tel:"], .store-footer a[href^="tel:"] {
  font-size: 0 !important;
  letter-spacing: 0 !important;
}
footer a[href^="tel:"]::before, .store-footer a[href^="tel:"]::before {
  content: "تواصل معنا عبر واتساب";
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--pp-text);
}

/* ---------- 2) طرق الدفع: شرائح زجاجية بزوايا الهوية ---------- */
footer [class*="payment"] :is(li, span, a, div):has(> img),
.store-footer [class*="payment"] :is(li, span, a, div):has(> img),
footer salla-payments :is(li, span, a, div):has(> img) {
  background: rgba(255, 255, 255, .94) !important;
  border-radius: 14px 4px 14px 4px !important;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .35), inset 0 -2px 0 rgba(200, 255, 46, .75) !important;
  border: 0 !important;
}
footer [class*="payment"] img, .store-footer [class*="payment"] img, footer salla-payments img {
  border-radius: 8px;
}

/* السطر المتقطع فوق الحقوق: خط شحن ناعم */
footer [class*="copyright"], footer [class*="bottom"], .store-footer__bottom {
  border-top: 1px dashed rgba(200, 255, 46, .28) !important;
}

/* =========================================================
   v18 — إخفاء الرقم بطريقة أقوى (شفافية بدل حجم صفر)
   ========================================================= */
footer a[href^="tel:"], .store-footer a[href^="tel:"] {
  font-size: inherit !important;
}
footer a[href^="tel:"]::before, .store-footer a[href^="tel:"]::before {
  content: none !important;
}
/* أي نص داخل بطاقة التواصل يصير شفاف، والأيقونات تبقى خضراء */
footer :is(div, li, span):has(> a[href^="tel:"]),
footer :is(div, li, span):has(> a[href*="wa.me"]),
footer :is(div, li, span):has(> a[href*="whatsapp"]),
footer a[href^="tel:"], footer a[href*="wa.me"], footer a[href*="whatsapp"],
footer a[href^="tel:"] *, footer a[href*="wa.me"] *, footer a[href*="whatsapp"] * {
  color: transparent !important;
  text-shadow: none !important;
}
footer :is(div, li, span):has(> a[href^="tel:"]) :is(svg, i, [class*="sicon"], [class*="icon"]),
footer :is(div, li, span):has(> a[href*="wa.me"]) :is(svg, i, [class*="sicon"], [class*="icon"]),
footer a[href*="wa.me"] :is(svg, i, [class*="sicon"]),
footer a[href^="tel:"] :is(svg, i, [class*="sicon"]) {
  color: var(--pp-volt) !important;
  fill: var(--pp-volt);
}
/* العبارة البديلة */
footer :is(div, li, span):has(> a[href^="tel:"])::after,
footer :is(div, li, span):has(> a[href*="wa.me"])::after {
  content: "تواصل معنا عبر واتساب";
  color: var(--pp-text);
  font-weight: 700;
  font-size: .95rem;
  position: absolute;
  inset-inline-start: 18px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
footer :is(div, li, span):has(> a[href^="tel:"]),
footer :is(div, li, span):has(> a[href*="wa.me"]) { position: relative; }

/* =========================================================
   v19 — ترتيب بطاقة وثيقة العمل الحر
   ========================================================= */
footer :is([class*="freelance"], [class*="free-lance"], [class*="freelancer"]),
footer :is(div, a, li):has(> img[src*="freelance"]),
footer :is(div, a, li):has(> a[href*="freelance"]),
footer a[href*="freelance"] {
  display: flex !important;
  align-items: center;
  gap: 14px;
  padding: 12px 14px !important;
  border-radius: 18px 6px 18px 6px !important;
  border: 1px solid rgba(200, 255, 46, .22) !important;
  background: linear-gradient(270deg, rgba(200, 255, 46, .08), rgba(255, 255, 255, .02) 65%) !important;
  box-shadow: inset 3px 0 0 var(--pp-volt);
}
footer :is([class*="freelance"], [class*="free-lance"], [class*="freelancer"]) *:not(img):not(svg),
footer a[href*="freelance"] *:not(img):not(svg) {
  color: var(--pp-text) !important;
  line-height: 1.7;
  margin: 0 !important;
}
/* الشعار على شريحة بيضاء بزوايا الهوية */
footer :is([class*="freelance"], [class*="free-lance"], [class*="freelancer"]) img,
footer a[href*="freelance"] img {
  background: #fff;
  padding: 6px 10px;
  border-radius: 12px 4px 12px 4px !important;
  box-shadow: inset 0 -2px 0 rgba(200, 255, 46, .75);
}

/* =========================================================
   v26 — قالب البنرات: توهج أخضر ناعم بدون أقواس
   ========================================================= */
.s-slider-block__slide img, .s-block--banners img,
.s-block--fixed-banner img, .s-block--full-image img,
.s-block--photos-slider img, .photos-slider img {
  border-radius: 22px 6px 22px 6px !important;
  box-shadow:
    0 0 0 1px rgba(200, 255, 46, .30),
    0 10px 26px rgba(200, 255, 46, .13) !important;
}

/* =========================================================
   زر المفضلة على بطاقة المنتج: إخفاؤه (كان يظهر مقصوصاً ورمادياً)
   لإرجاعه احذف هذا القسم كاملاً
   ========================================================= */
.s-product-card-wishlist-btn { display: none !important; }


/* =========================================================
   v28 — شريط الثقة في صفحة المنتج (يحتاج pump-extras.js)
   ========================================================= */
.pp-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 12px 0 4px;
  padding: 0;
}
.pp-trust span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  font-size: .78rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--pp-text);
  background: var(--pp-card);
  border: 1px solid var(--pp-line);
  border-radius: 12px 4px 12px 4px;
  box-shadow: inset 0 -2px 0 rgba(200, 255, 46, .45);
}
.pp-trust svg { color: var(--pp-volt); flex: none; }

/* =========================================================
   v29 — صفحة المنتج: اقرأ المزيد، المشاركة، بطاقة تمارا
   ========================================================= */
/* "اقرأ المزيد" بلون الهوية بدل الأزرق */
[class*="read-more"], [class*="readmore"], [class*="read_more"],
[class*="read-more"] *, [class*="readmore"] * {
  color: var(--pp-volt) !important;
  font-weight: 700;
}

/* زر المشاركة: إطار أخف */
[class*="share"] button, button[class*="share"], a[class*="share"] {
  border: 1px solid rgba(200, 255, 46, .35) !important;
  border-radius: 14px 5px 14px 5px !important;
  background: rgba(200, 255, 46, .06) !important;
  box-shadow: none !important;
}

/* بطاقة تمارا: إطار بزوايا الهوية وظل أخضر خفيف */
tamara-widget, [class*="tamara"] {
  border-radius: 22px 6px 22px 6px !important;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(200, 255, 46, .30), 0 8px 22px rgba(200, 255, 46, .10);
}

/* =========================================================
   v30 — شريط الشراء السفلي: Apple Pay / اشتر الآن / السلة بشكل موحّد
   ========================================================= */
/* إزالة الإطار الإضافي حول ويدجت الدفع السريع (كان يعطي حدّين) */
salla-mini-checkout-widget {
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 !important;
}
/* ارتفاع وزوايا موحّدة للأزرار الثلاثة */
apple-pay-button {
  --apple-pay-button-height: 48px;
  --apple-pay-button-border-radius: 14px;
  height: 48px !important;
  min-height: 48px !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}
salla-mini-checkout-widget button,
salla-mini-checkout-widget .s-button-element,
[class*="sticky"] salla-add-product-button button,
[class*="sticky"] salla-add-product-button .s-button-element {
  height: 48px !important;
  min-height: 48px !important;
  padding-block: 0 !important;
  border-radius: 14px 5px 14px 5px !important;
  box-shadow: none !important;
}
/* "اشتر الآن": حدّ واحد فقط */
salla-mini-checkout-widget .s-button-outline,
salla-mini-checkout-widget button[class*="outline"] {
  border: 1.5px solid var(--pp-volt) !important;
  background: transparent !important;
}

/* بطاقة تمارا: تغطية أوسع لحاويتها */
:is(div, section):has(> iframe[src*="tamara"]),
:is(div, section):has(> [class*="tamara"]),
[id*="tamara"] {
  border-radius: 22px 6px 22px 6px !important;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(200, 255, 46, .30), 0 8px 22px rgba(200, 255, 46, .10);
}

/* =========================================================
   v31 — أزرار الشراء: ارتفاع موحّد بدون الاعتماد على اسم الشريط
   (كل أزرار الإضافة والشراء السريع خارج بطاقات المنتجات)
   ========================================================= */
salla-add-product-button:not(.s-product-card-entry salla-add-product-button) button,
salla-add-product-button:not(.s-product-card-entry salla-add-product-button) .s-button-element,
salla-quick-buy button,
[class*="buy-now"] button,
[class*="quick-buy"] button,
salla-mini-checkout-widget button {
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  padding-block: 0 !important;
  line-height: 1 !important;
  border-radius: 14px 5px 14px 5px !important;
  box-shadow: none !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

/* =========================================================
   v32 — أسماء مؤكدة من الفحص: اقرأ المزيد، المشاركة، مفضلة صفحة المنتج
   ========================================================= */
a.link--primary, a.link--primary * {
  color: var(--pp-volt) !important;
  font-weight: 700;
}

salla-social-share button, .s-social-share-wrapper button, .s-social-share-wrapper > * {
  border-radius: 14px 5px 14px 5px !important;
}

/* زر المفضلة على صور صفحة المنتج: دائرة زجاجية في الزاوية العلوية */
salla-button.btn--wishlist {
  top: 12px !important;
  bottom: auto !important;
  inset-inline-end: 12px !important;
  inset-inline-start: auto !important;
  z-index: 6 !important;
}
salla-button.btn--wishlist button {
  width: 38px !important;
  height: 38px !important;
  min-width: 0 !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background: rgba(11, 13, 18, .62) !important;
  border: 1px solid var(--pp-line) !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

/* =========================================================
   v35 — زر المفضلة في صور المنتج: دائرة كاملة بحجم ثابت
   ========================================================= */
salla-button.btn--wishlist {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  background: rgba(11, 13, 18, .62) !important;
  border: 1px solid var(--pp-line) !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  margin: 0 !important;
}
salla-button.btn--wishlist button {
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 50% !important;
}


/* =========================================================
   v36 — نافذة "تمت الإضافة إلى سلة التسوق" داكنة (الكلاس يضيفه pump-extras.js)
   ========================================================= */
.pp-toast {
  background: var(--pp-bg-2) !important;
  color: var(--pp-text) !important;
  border: 1px solid var(--pp-line) !important;
  border-radius: 20px 6px 20px 6px !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .55) !important;
}
.pp-toast *:not(svg):not(path):not(button):not([class*="s-button"]) {
  color: var(--pp-text) !important;
  border-color: var(--pp-line) !important;
}
.pp-toast [class*="price"], .pp-toast [class*="price"] * {
  color: var(--pp-volt) !important;
}
.pp-toast .s-button-outline, .pp-toast .s-button-outline *,
.pp-toast [class*="s-button"][class*="outline"], .pp-toast [class*="s-button"][class*="outline"] * {
  color: var(--pp-volt) !important;
}

/* =========================================================
   v37 — صفحة المنتجات ذات الخيارات (مثل "اصنع بكجك")
   ========================================================= */
/* صندوق الخيارات */
salla-product-options {
  border: 1px solid rgba(200, 255, 46, .24) !important;
  border-radius: 20px 6px 20px 6px !important;
  background: linear-gradient(270deg, rgba(200, 255, 46, .07), rgba(255, 255, 255, .02) 70%) !important;
  box-shadow: inset 3px 0 0 var(--pp-volt);
}
/* القائمة المنسدلة */
salla-product-options select,
[class*="s-product-options"] select {
  border: 1px solid rgba(200, 255, 46, .38) !important;
  border-radius: 14px 5px 14px 5px !important;
  background-color: var(--pp-bg-2) !important;
  color: var(--pp-text) !important;
  font-weight: 700;
}
/* زر الإضافة وهو معطّل (قبل اختيار الخيار): واضح أنه معطّل */
salla-add-product-button button[disabled],
salla-add-product-button button.s-button-disabled,
salla-add-product-button button[disabled] * {
  opacity: 1 !important;
  background: rgba(255, 255, 255, .06) !important;
  background-image: none !important;
  color: var(--pp-muted) !important;
  border: 1px solid var(--pp-line) !important;
}

/* =========================================================
   v38 — لمسات أخيرة (مراجعة الصور الكاملة)
   ========================================================= */
/* 1) القلب + المشاركة بنفس الشكل */
salla-button.btn--wishlist, salla-button.btn--wishlist button,
salla-social-share .s-social-share-trigger, salla-social-share button, salla-social-share > * > button {
  width: 42px !important; height: 42px !important; min-width: 42px !important;
  border-radius: 50% !important;
  background: var(--pp-bg-2) !important;
  border: 1px solid rgba(200,255,46,.35) !important;
  color: var(--pp-volt) !important;
  box-shadow: none !important;
  display: inline-flex !important; align-items: center; justify-content: center;
  padding: 0 !important;
}
/* قلب المعرض فوق الصورة: داكن واضح بدل الرمادي الزيتوني */
salla-button.btn--wishlist { background: rgba(11,13,18,.82) !important; }

/* 2) الوسوم كشرائح */
[class*="product__tags"] a, [class*="product-tags"] a, [class*="tags"] a[href*="tag"], a[href*="tags="] {
  text-decoration: none !important;
  display: inline-block;
  padding: 4px 12px; margin: 4px 0 4px 6px;
  border: 1px solid var(--pp-line);
  border-radius: 999px;
  color: var(--pp-muted) !important;
  font-size: .85rem;
}

/* 3) أزرار الشراء السفلية: نفس لون الحدود */
.sticky-product-bar salla-mini-checkout-widget { border: 0 !important; box-shadow: none !important; }

/* 4) بطاقة التواصل: إلغاء الدائرة الزائدة وضبط الهوامش */
footer a[href^="tel:"], footer a[href*="wa.me"], footer a[href*="whatsapp"] {
  border: 0 !important; background: transparent !important; box-shadow: none !important; border-radius: 0 !important;
}
footer :is(div, li, span):has(> a[href^="tel:"]), footer :is(div, li, span):has(> a[href*="wa.me"]) {
  overflow: hidden; max-width: 100%; box-sizing: border-box; margin-inline: 0 !important;
}

/* 5) فراغات صفحة المنتج */
.product-details h1, .product__title, [class*="product-title"] { margin-bottom: 4px !important; }
.product-form, form.product-form { margin-top: 10px !important; }

/* 6) السعر ثابت أسفل البطاقة */
.s-product-card-entry { display: flex; flex-direction: column; }
.s-product-card-entry .s-product-card-content { display: flex; flex-direction: column; flex: 1; }
.s-product-card-entry .s-product-card-content-footer { margin-top: auto; }

/* 7) شريط السعر "يبدأ من" بنفس خلفية الصفحة */
[class*="product-price"], [class*="product__price"] { background: transparent !important; }

/* 8) أزرار تُوسم بالـJS: "أضف كلاهما" و"إرسال" */
.pp-volt-btn, .pp-volt-btn * {
  background: linear-gradient(135deg,#c8ff2e,#7dffb3) !important;
  color: #0b0d12 !important; font-weight: 800 !important;
  border: 0 !important; border-radius: 14px 5px 14px 5px !important;
}

/* v39 — ضبط المشاركة والوسوم */
salla-social-share, salla-social-share * { border-radius: 50% !important; }
salla-social-share { width: 42px !important; height: 42px !important; overflow: hidden; display: inline-flex !important; align-items: center; justify-content: center; border: 1px solid rgba(200,255,46,.35) !important; background: var(--pp-bg-2) !important; }
salla-social-share * { border: 0 !important; background: transparent !important; box-shadow: none !important; }
a.pp-tag { text-decoration: none !important; display: inline-block !important; padding: 4px 12px !important; margin: 4px 0 4px 6px !important; border: 1px solid var(--pp-line) !important; border-radius: 999px !important; color: var(--pp-muted) !important; font-size: .85rem !important; }
.pp-flat, .pp-flat * { background: transparent !important; }

/* =========================================================
   v41 — عروض الكميات (Gomla) بأولوية أعلى
   ========================================================= */
.gomla__volume-discount-container { color: var(--pp-text) !important; }
.gomla__volume-discount-container label.gomla__offer:not(#pp-a):not(#pp-b) {
  background: var(--pp-bg-2) !important;
  background-color: var(--pp-bg-2) !important;
  background-image: none !important;
  border: 1px solid var(--pp-line) !important;
  border-radius: 18px 6px 18px 6px !important;
  color: var(--pp-text) !important;
  box-shadow: none !important;
  transition: none !important;
}
.gomla__volume-discount-container label.gomla__offer:not(#pp-a):not(#pp-b) * { color: var(--pp-text) !important; transition: none !important; }
.gomla__volume-discount-container label.gomla__offer:not(#pp-a):not(#pp-b) :is(s, del, strike, [class*="old"], [class*="before"], [class*="original"], [class*="compare"]) { color: var(--pp-muted) !important; }
.gomla__volume-discount-container label.gomla__offer:not(#pp-a):not(#pp-b) :is([class*="save"], [class*="saving"]) { color: var(--pp-volt-2) !important; }
.gomla__volume-discount-container label.gomla__offer:not(#pp-a):not(#pp-b).selected {
  background: linear-gradient(270deg, rgba(200,255,46,.18), rgba(200,255,46,.05) 75%) !important;
  background-color: #1a2210 !important;
  border: 2px solid var(--pp-volt) !important;
  box-shadow: 0 0 0 1px rgba(200,255,46,.22), 0 10px 24px rgba(200,255,46,.12) !important;
}
.gomla__volume-discount-container label.gomla__offer:not(#pp-a):not(#pp-b).selected .gomla__offer-title { color: var(--pp-volt) !important; font-weight: 800; }
.gomla__volume-discount-container label.gomla__offer:not(#pp-a):not(#pp-b) input[type="radio"] { accent-color: #c8ff2e; }
.gomla__volume-discount-container label.gomla__offer:not(#pp-a):not(#pp-b) :is([class*="radio"], [class*="check"]) { border-color: var(--pp-volt) !important; background-color: transparent !important; }
.gomla__volume-discount-container label.gomla__offer:not(#pp-a):not(#pp-b).selected :is([class*="radio"], [class*="check"])::after,
.gomla__volume-discount-container label.gomla__offer:not(#pp-a):not(#pp-b).selected :is([class*="radio"], [class*="check"]) > * { background: var(--pp-volt) !important; }
.gomla__volume-discount-container label.gomla__offer:not(#pp-a):not(#pp-b) .pp-gbadge, .gomla__volume-discount-container label.gomla__offer:not(#pp-a):not(#pp-b) .pp-gbadge * { background: var(--pp-volt) !important; color: #0b0d12 !important; font-weight: 800 !important; }

/* v42 — شريط إتمام الطلب في السلة */
.pp-cartbar { background: var(--pp-bg-2) !important; border-top: 1px solid rgba(200,255,46,.28) !important; box-shadow: 0 -12px 30px rgba(0,0,0,.45) !important; }
.pp-cartbar :not(button):not(button *) { background: transparent !important; color: var(--pp-text) !important; }
.pp-cartbar button, .pp-cartbar button *, .pp-cartbar [class*="btn"], .pp-cartbar [class*="btn"] * { color: #0b0d12 !important; }