[dir="ltr"] .ar-only,
[dir="rtl"] .en-only {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.hero-slider-title{
  display: none!important;
}

.hero-slider-subtitle{
   display: none!important;
}
.hero-slider-btn{
   display: none!important;
}

body{
  font-family: 'Cairo'!important;
}

/* ===== Tabs للأقسام الفرعية ===== */

/* الحاوية: سكرول أفقي بدل السلايدر */
#subcat-slider .sub-categories{
  width: fit-content!important;
}
#subcat-slider .s-slider-container {
  overflow-x: auto !important;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none;            /* Firefox */
  -ms-overflow-style: none;         /* IE/Edge القديم */
  padding: 4px 2px 8px;
}
#subcat-slider .s-slider-container::-webkit-scrollbar {
  display: none;                    /* Chrome / Safari */
}

/* منع Swiper من تحريك الشريط */
#subcat-slider .swiper-wrapper {
  display: flex !important;
  flex-wrap: nowrap;
  gap: 10px;
  width: max-content !important;
  min-width: 100%;
  transform: none !important;
  transition: none !important;
  justify-content: flex-start;
}

/* كل تاب */
#subcat-slider .swiper-slide {
  width: auto !important;
  flex: 0 0 auto;
  margin: 0 !important;
}

/* شكل التاب */
#subcat-slider .sub-categories {
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;              /* يمنع نزول النص لسطرين */
  padding: 9px 20px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #374151;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
}
#subcat-slider .sub-categories .sub-title {
  white-space: nowrap;
}

/* hover + التاب النشط */
#subcat-slider .sub-categories:hover,
#subcat-slider .sub-categories.is-active {
  background: var(--color-primary, #5b5bd6);
  border-color: var(--color-primary, #5b5bd6);
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
}

/* ديسكتوب: توسيط التابات إذا كانت قليلة */
@media (min-width: 1024px) {
  #subcat-slider .swiper-wrapper {
    justify-content: center;
  }
}

/* موبايل: تابات أصغر */
@media (max-width: 767px) {
  #subcat-slider .swiper-wrapper { gap: 8px; }
  #subcat-slider .sub-categories {
    padding: 8px 16px;
    font-size: 13px;
  }
}

#subcat-slider .sub-categories:hover, #subcat-slider .sub-categories.is-active{
  background-color: linear-gradient(45deg, #7B2FF7 , #2F5BFF )!important;
  border-color: none!important;
}

/* =========================================
   Trend KSA – Footer
   ========================================= */

footer.store-footer {
  --tk-blue: #2F5BFF;
  --tk-cyan: #19C8F2;
  --tk-purple: #7B2FF7;
  --tk-grad: linear-gradient(135deg, #2F5BFF 0%, #7B2FF7 100%);
  --tk-grad-line: linear-gradient(90deg, #19C8F2 0%, #2F5BFF 50%, #7B2FF7 100%);
  --tk-bg: #0A0E27;
  --tk-card: rgba(255, 255, 255, .05);
  --tk-border: rgba(255, 255, 255, .10);
  --tk-text: #EEF1FF;
  --tk-muted: #A5ADCB;
}

/* ---------- الخلفية ---------- */
footer.store-footer .store-footer__inner {
  position: relative;
  overflow: hidden;
  color: var(--tk-text);
  background:
    radial-gradient(600px 320px at 100% 0%, rgba(123, 47, 247, .30), transparent 70%),
    radial-gradient(520px 300px at 0% 100%, rgba(25, 200, 242, .18), transparent 70%),
    radial-gradient(800px 400px at 50% 40%, rgba(47, 91, 255, .12), transparent 70%),
    var(--tk-bg) !important;
}
/* خط متدرج أعلى الفوتر */
footer.store-footer .store-footer__inner::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--tk-grad-line);
  z-index: 2;
}
/* نقاط خفيفة بالخلفية */
footer.store-footer .store-footer__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 55%);
          mask-image: linear-gradient(to bottom, #000, transparent 55%);
  pointer-events: none;
}
footer.store-footer .store-footer__inner > .container {
  position: relative;
  z-index: 1;
}

/* ---------- زر العودة للأعلى ---------- */
footer.store-footer .to-top { overflow: visible !important; }
footer.store-footer .to-top a {
  padding: 10px 22px !important;
  border-radius: 0 0 16px 16px;
  background: var(--tk-grad);
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(47, 91, 255, .35);
  transition: transform .25s, box-shadow .25s;
}
footer.store-footer .to-top a p { margin: 0; color: #fff !important; }
footer.store-footer .to-top a i { transition: transform .25s; }
footer.store-footer .to-top a:hover {
  transform: translateY(3px);
  box-shadow: 0 14px 30px rgba(123, 47, 247, .45);
}
footer.store-footer .to-top a:hover i { transform: translateY(-3px); }

/* ---------- صندوق النشرة البريدية ---------- */
footer.store-footer .footer-top {
  margin-top: 36px;
  padding: 28px 32px !important;
  gap: 20px;
  align-items: center;
  border: 1px solid var(--tk-border) !important;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(47, 91, 255, .20), rgba(123, 47, 247, .20));
  backdrop-filter: blur(8px);
}
footer.store-footer .footer-newsletter { flex: 1; width: 100%; }
footer.store-footer #mail {
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
footer.store-footer .title-mail strong {
  display: inline-block;
  font-size: 22px;
  margin-bottom: 4px;
  background: linear-gradient(to left, #fff 0%, var(--tk-cyan) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
}
footer.store-footer .title-mail p {
  margin: 0;
  font-size: 14px;
  color: var(--tk-muted) !important;
}

/* حقل الإيميل + زر الاشتراك */
footer.store-footer #mail form { width: 100%; max-width: 440px; }
footer.store-footer #mail form > .flex {
  align-items: center;
  padding: 5px;
  border-radius: 999px;
  background: rgba(10, 14, 39, .55);
  border: 1px solid var(--tk-border);
  transition: border-color .2s, box-shadow .2s;
}
footer.store-footer #mail form > .flex:focus-within {
  border-color: var(--tk-cyan);
  box-shadow: 0 0 0 4px rgba(25, 200, 242, .15);
}
footer.store-footer .mail-input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 16px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  color: #fff !important;
  font-size: 14px;
}
footer.store-footer .mail-input::placeholder { color: var(--tk-muted); opacity: 1; }
footer.store-footer #mail salla-button,
footer.store-footer #mail .s-button-element { border-radius: 999px !important; }
footer.store-footer #mail .s-button-element {
  height: 44px;
  padding: 0 28px !important;
  border: 0 !important;
  background: var(--tk-grad) !important;
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(123, 47, 247, .40);
  transition: transform .2s, filter .2s, box-shadow .2s;
}
footer.store-footer #mail .s-button-element:hover {
  transform: translateY(-1px);
  filter: brightness(1.12);
  box-shadow: 0 10px 26px rgba(47, 91, 255, .50);
}

/* ---------- السوشيال (يختفي تلقائياً إذا فاضي) ---------- */
footer.store-footer .footer-social:has(.s-social-list:empty) { display: none; }
footer.store-footer .s-social-list { display: flex; flex-wrap: wrap; gap: 10px; }
footer.store-footer .s-social-list a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--tk-card);
  border: 1px solid var(--tk-border);
  transition: background .25s, transform .25s, border-color .25s;
}
footer.store-footer .s-social-list a svg { width: 18px; height: 18px; fill: var(--tk-text); }
footer.store-footer .s-social-list a:hover {
  background: var(--tk-grad);
  border-color: transparent;
  transform: translateY(-3px);
}
footer.store-footer .s-social-list a:hover svg { fill: #fff; }

/* ---------- القسم الأوسط ---------- */
footer.store-footer .footer-middle {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 36px !important;
  padding: 52px 0 40px !important;
  border-bottom: 1px solid var(--tk-border) !important;
}
@media (min-width: 768px) {
  footer.store-footer .footer-middle { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  footer.store-footer .footer-middle { grid-template-columns: 1.5fr 1fr 1.1fr 1fr; }
}
footer.store-footer .footer-profile { max-width: none !important; }

/* اللوقو داخل بطاقة بيضاء ليظهر على الخلفية الداكنة */
footer.store-footer .logo-footer {
  display: inline-flex !important;
  width: max-content;
  padding: 10px 16px;
  margin-bottom: 18px !important;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}

/* وصف المتجر */
footer.store-footer .footer-profile p,
footer.store-footer .footer-profile p span {
  color: var(--tk-muted) !important;
  font-family: inherit !important;   /* إلغاء خط monospace */
  font-size: 14px;
  line-height: 1.9;
}
footer.store-footer .footer-profile p:empty { display: none; }

/* عناوين الأعمدة */
footer.store-footer .footer-title,
footer.store-footer .s-contacts-title {
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 20px !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 700;
}
footer.store-footer .footer-title::after,
footer.store-footer .s-contacts-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 38px;
  height: 3px;
  border-radius: 3px;
  background: var(--tk-grad-line);
}

/* روابط تهمك */
footer.store-footer .footer-list a {
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px !important;
  line-height: 1.5 !important;
  color: var(--tk-muted) !important;
  transition: color .2s, padding .2s;
}
footer.store-footer .footer-list a:last-child { margin-bottom: 0 !important; }
footer.store-footer .footer-list a::before {
  content: "";
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--tk-cyan);
  opacity: .5;
  transition: opacity .2s, box-shadow .2s;
}
footer.store-footer .footer-list a:hover {
  color: var(--tk-cyan) !important;
  padding-inline-start: 6px;
}
footer.store-footer .footer-list a:hover::before {
  opacity: 1;
  box-shadow: 0 0 10px var(--tk-cyan);
}

/* خدمة العملاء */
footer.store-footer .s-contacts-list {
  display: flex !important;
  flex-direction: column;
  gap: 10px;
}
footer.store-footer .s-contacts-item {
  display: flex !important;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin: 0 !important;
  padding: 8px;
  padding-inline-end: 18px;
  border-radius: 14px;
  background: var(--tk-card);
  border: 1px solid var(--tk-border);
  color: var(--tk-text) !important;
  transition: border-color .2s, background .2s, transform .2s;
}
footer.store-footer .s-contacts-item:hover {
  border-color: rgba(25, 200, 242, .6);
  background: rgba(25, 200, 242, .08);
  transform: translateY(-2px);
}
footer.store-footer .s-contacts-icon {
  width: 36px !important;
  height: 36px !important;
  flex-shrink: 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: var(--tk-grad) !important;
}
footer.store-footer .s-contacts-item[href*="wa.me"] .s-contacts-icon {
  background: linear-gradient(135deg, #19C8F2 0%, #2F5BFF 100%) !important;
}
footer.store-footer .s-contacts-icon svg {
  width: 17px !important;
  height: 17px !important;
  fill: #fff !important;
}
footer.store-footer .s-contacts-item .unicode {
  direction: ltr;
  unicode-bidi: isolate;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .3px;
}

/* السجل التجاري */
footer.store-footer .footer-vat {
  padding: 0 !important;
  justify-content: flex-start;
}
footer.store-footer salla-trust-badges {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--tk-card);
  border: 1px solid var(--tk-border);
}
footer.store-footer .s-trust-badges-image {
  width: 46px;
  height: 46px;
  padding: 5px;
  border-radius: 10px;
  background: #fff;
  object-fit: contain;
}
footer.store-footer .s-trust-badges-label {
  margin: 0 0 2px;
  font-size: 12px;
  color: var(--tk-muted) !important;
}
footer.store-footer .s-trust-badges-number {
  font-size: 15px;
  letter-spacing: 1px;
  color: var(--tk-cyan) !important;
}
footer.store-footer salla-apps-icons:empty,
footer.store-footer .footer-images:not(:has(*)) { display: none; }

/* ---------- الشريط السفلي ---------- */
footer.store-footer .footer-bottom { padding: 22px 0 !important; }
footer.store-footer .s-payments-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
footer.store-footer .s-payments-list-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto !important;
  height: 34px !important;
  padding: 4px 8px;
  border: 0 !important;
  border-radius: 8px;
  background: #fff;
  transition: transform .2s, box-shadow .2s;
}
footer.store-footer .s-payments-list-item img {
  width: 40px !important;
  height: 24px !important;
  object-fit: contain;
}
footer.store-footer .s-payments-list-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(47, 91, 255, .35);
}
footer.store-footer .copyrights { opacity: 1 !important; }
footer.store-footer .copyrights p {
  margin: 0 !important;
  color: var(--tk-muted) !important;
}
footer.store-footer .copyrights a {
  font-weight: 600;
  color: var(--tk-cyan) !important;
  transition: color .2s;
}
footer.store-footer .copyrights a:hover { color: #fff !important; }

/* ---------- الموبايل ---------- */
@media (max-width: 767px) {
  footer.store-footer .footer-top {
    margin-top: 28px;
    padding: 22px 18px !important;
    text-align: center;
  }
  footer.store-footer .title-mail { text-align: center; }
  footer.store-footer #mail form { max-width: 100%; }
  footer.store-footer #mail .s-button-element { padding: 0 18px !important; }

  footer.store-footer .footer-middle {
    padding: 40px 0 32px !important;
    text-align: center;
  }
  footer.store-footer .footer-middle > div { align-items: center; }
  footer.store-footer .logo-footer { margin-inline: auto; }

  footer.store-footer .footer-title::after,
  footer.store-footer .s-contacts-title::after {
    inset-inline-start: auto;
    left: 50%;
    transform: translateX(-50%);
  }
  footer.store-footer .footer-list a { justify-content: center; }
  footer.store-footer .footer-list a:hover { padding-inline-start: 0; }
  footer.store-footer .s-contacts-list { align-items: center; }
  footer.store-footer .footer-vat { justify-content: center; }
}


/* =========================================
   Trend KSA – Product Card
   ========================================= */

.s-product-card-vertical {
  --tk-blue: #2F5BFF;
  --tk-cyan: #19C8F2;
  --tk-purple: #7B2FF7;
  --tk-grad: linear-gradient(135deg, #2F5BFF 0%, #7B2FF7 100%);
  --tk-grad-3: linear-gradient(135deg, #19C8F2 0%, #2F5BFF 50%, #7B2FF7 100%);
  --tk-navy: #0A0E27;
  --tk-muted: #6B7395;
  --tk-line: #E6EAF6;
}

/* ---------- الكارد ---------- */
.s-product-card-entry.s-product-card-vertical {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 10px;
  overflow: hidden;
  border: 1.5px solid transparent !important;   /* يلغي اللون #004956 */
  border-radius: 20px !important;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(var(--tk-line), var(--tk-line)) border-box !important;
  box-shadow: 0 4px 16px rgba(10, 14, 39, .05);
  transition: transform .3s ease, box-shadow .3s ease;
}
/* إطار متدرج عند المرور */
.s-product-card-entry.s-product-card-vertical:hover {
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--tk-grad-3) border-box !important;
  box-shadow: 0 18px 40px rgba(47, 91, 255, .18);
}

/* ---------- الصورة ---------- */
.s-product-card-vertical .s-product-card-image {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(25, 200, 242, .10), rgba(123, 47, 247, .10));
}
.s-product-card-vertical .s-product-card-image-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

/* ---------- أزرار المفضلة والعرض السريع ---------- */
.s-product-card-vertical .s-product-card-actions {
  position: absolute;
  top: 10px;
  inset-inline-end: 10px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.s-product-card-vertical .s-product-card-fixed-btn {
  position: static !important;
  margin: 0 !important;
}
.s-product-card-vertical .s-product-card-actions .s-button-element {
  width: 38px !important;
  height: 38px !important;
  min-width: 0;
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0 !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, .92) !important;
  backdrop-filter: blur(6px);
  color: var(--tk-navy) !important;
  box-shadow: 0 6px 16px rgba(10, 14, 39, .12);
  transition: background .25s, color .25s, transform .25s;
}
.s-product-card-vertical .s-product-card-actions .s-button-element i { font-size: 16px; }
.s-product-card-vertical .s-product-card-actions .s-button-element:hover {
  background: var(--tk-grad) !important;
  color: #fff !important;
  transform: scale(1.08);
}
/* المفضلة بعد الإضافة */
.s-product-card-vertical button.btn--wishlist.favorited,
.s-product-card-vertical button.btn--wishlist.added {
  background: var(--tk-grad) !important;
  color: #fff !important;
}

/* ---------- المحتوى ---------- */
.s-product-card-vertical .s-product-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 6px 4px !important;
}
.s-product-card-vertical .s-product-card-content-main { margin: 0 !important; }

/* التصنيف */
.s-product-card-vertical .s-product-card-props {
  display: flex;
  margin-bottom: 8px;
}
.s-product-card-vertical .s-product-card-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(47, 91, 255, .08);
  color: var(--tk-blue) !important;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}
.s-product-card-vertical .s-product-card-category::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tk-cyan);
}

/* اسم المنتج */
.s-product-card-vertical .s-product-card-content-title {
  margin: 0 !important;
  font-size: 15px !important;
  font-weight: 700;
  line-height: 1.6;
}
.s-product-card-vertical .s-product-card-content-title a {
  color: var(--tk-navy) !important;
  transition: color .2s;
}
.s-product-card-vertical:hover .s-product-card-content-title a {
  color: var(--tk-blue) !important;
}

/* السعر (+ سعر التخفيض إن وُجد) */
.s-product-card-vertical .s-product-card-content-sub {
  display: flex;
  align-items: center;
  margin: 0 !important;
}
.s-product-card-vertical .s-product-card-price,
.s-product-card-vertical .s-product-card-sale-price h4 {
  display: inline-block;
  margin: 0;
  font-size: 20px !important;
  font-weight: 800;
  line-height: 1.2;
  background: var(--tk-grad);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
}
.s-product-card-vertical .s-product-card-price i,
.s-product-card-vertical .s-product-card-sale-price h4 i {
  font-size: 16px;
  vertical-align: middle;
}
.s-product-card-vertical .s-product-card-sale-price {
  display: flex;
  align-items: center;
  gap: 8px;
}
.s-product-card-vertical .s-product-card-sale-price span {
  font-size: 13px;
  color: var(--tk-muted) !important;
  text-decoration: line-through;
}

/* ---------- زر أضف للسلة ---------- */
.s-product-card-vertical .s-product-card-content-footer {
  margin-top: auto !important;   /* يثبت الزر أسفل الكارد */
  padding-top: 4px;
}
.s-product-card-vertical .s-product-card-content-footer .s-button-element {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0 !important;
  border-radius: 12px !important;
  background: var(--tk-grad) !important;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(47, 91, 255, .28);
  transition: box-shadow .25s, filter .25s;
}
.s-product-card-vertical .s-product-card-content-footer .s-button-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff !important;
}
/* لمعة تمر على الزر */
.s-product-card-vertical .s-product-card-content-footer .s-button-element::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-20deg);
  transition: left .6s ease;
  pointer-events: none;
}
.s-product-card-vertical .s-product-card-content-footer .s-button-element:hover {
  filter: brightness(1.08);
  box-shadow: 0 12px 26px rgba(123, 47, 247, .38);
}
.s-product-card-vertical .s-product-card-content-footer .s-button-element:hover::after {
  left: 120%;
}

/* ---------- تأثيرات الهوفر (للأجهزة اللي فيها ماوس فقط) ---------- */
@media (hover: hover) {
  .s-product-card-entry.s-product-card-vertical:hover {
    transform: translateY(-6px);
  }
  .s-product-card-vertical:hover .s-product-card-image-cover {
    transform: scale(1.06);
  }
  /* زر العرض السريع يظهر عند المرور */
  .s-product-card-vertical .angel-quick-view-btn {
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity .25s, transform .25s;
  }
  .s-product-card-vertical:hover .angel-quick-view-btn {
    opacity: 1;
    transform: none;
  }
}

/* ---------- الموبايل ---------- */
@media (max-width: 767px) {
  .s-product-card-entry.s-product-card-vertical {
    padding: 8px;
    border-radius: 16px !important;
  }
  .s-product-card-vertical .s-product-card-image { border-radius: 12px; }
  .s-product-card-vertical .s-product-card-content {
    gap: 8px;
    padding: 10px 2px 2px !important;
  }
  .s-product-card-vertical .s-product-card-category { font-size: 11px; padding: 3px 8px; }
  .s-product-card-vertical .s-product-card-content-title { font-size: 13px !important; }
  .s-product-card-vertical .s-product-card-price,
  .s-product-card-vertical .s-product-card-sale-price h4 { font-size: 17px !important; }
  .s-product-card-vertical .s-product-card-content-footer .s-button-element {
    height: 40px;
    font-size: 13px;
  }
  .s-product-card-vertical .s-product-card-actions {
    top: 8px;
    inset-inline-end: 8px;
  }
  .s-product-card-vertical .s-product-card-actions .s-button-element {
    width: 34px !important;
    height: 34px !important;
    border-radius: 10px !important;
  }
}


/* =========================================
   Trend KSA – FAQs
   ========================================= */

.faqs-list {
  --tk-blue: #2F5BFF;
  --tk-cyan: #19C8F2;
  --tk-purple: #7B2FF7;
  --tk-grad: linear-gradient(135deg, #2F5BFF 0%, #7B2FF7 100%);
  --tk-grad-3: linear-gradient(135deg, #19C8F2 0%, #2F5BFF 50%, #7B2FF7 100%);
  --tk-navy: #0A0E27;
  --tk-muted: #5B6385;
  --tk-line: #E6EAF6;
  gap: 16px !important;
}

/* ---------- البطاقة ---------- */
.faqs-list .faqs-list__item {
  border: 1.5px solid transparent !important;
  border-radius: 18px !important;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(var(--tk-line), var(--tk-line)) border-box !important;
  box-shadow: 0 4px 14px rgba(10, 14, 39, .04);
  transition: box-shadow .3s ease;
}
.faqs-list .faqs-list__item:hover {
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(rgba(47, 91, 255, .35), rgba(47, 91, 255, .35)) border-box !important;
  box-shadow: 0 10px 26px rgba(47, 91, 255, .10);
}

/* خط جانبي متدرج يظهر عند الفتح */
.faqs-list .faqs-list__item::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  inset-inline-start: 0;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, #19C8F2 0%, #2F5BFF 50%, #7B2FF7 100%);
  transform: scaleY(0);
  transition: transform .35s ease;
  z-index: 1;
}

/* ---------- السؤال ---------- */
.faqs-list .faqs-list__item label {
  margin: 0 !important;
  padding: 20px 22px !important;
  padding-inline-end: 66px !important;   /* مساحة للأيقونة */
  color: var(--tk-navy) !important;
  font-size: 15px !important;
  font-weight: 700;
  line-height: 1.7 !important;
  transition: color .25s;
}
.faqs-list .faqs-list__item:hover label {
  color: var(--tk-blue) !important;
}

/* أيقونة + */
.faqs-list .faq-item.open-badge {
  top: 17px !important;
  inset-inline-end: 18px;
  width: 32px !important;
  height: 32px !important;
  border-radius: 10px !important;
  background: rgba(47, 91, 255, .08) !important;
  color: var(--tk-blue) !important;
  font-size: 14px;
  transition: transform .35s ease, background .3s, color .3s, box-shadow .3s !important;
}
.faqs-list .faqs-list__item:hover .faq-item.open-badge {
  background: rgba(47, 91, 255, .15) !important;
}

/* ---------- الجواب ---------- */
.faqs-list .faq-answer {
  margin: 0 22px;
  padding: 0 !important;
}
.faqs-list .faq-answer p {
  color: var(--tk-muted) !important;
  font-size: 14px;
  line-height: 1.9;
}

/* زر اعرف المزيد */
.faqs-list .faq-link {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 9px 22px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--tk-grad) !important;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(47, 91, 255, .28);
  transition: filter .25s, box-shadow .25s;
}
.faqs-list .faq-link::after {
  content: "←";
  transition: transform .25s;
}
.faqs-list .faq-link:hover {
  filter: brightness(1.1);
  box-shadow: 0 10px 24px rgba(123, 47, 247, .38);
}
.faqs-list .faq-link:hover::after { transform: translateX(-4px); }

/* ---------- حالة الفتح ---------- */
.faqs-list input:checked + .faqs-list__item {
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--tk-grad-3) border-box !important;
  box-shadow: 0 14px 34px rgba(47, 91, 255, .16);
}
.faqs-list input:checked + .faqs-list__item::before {
  transform: scaleY(1);
}
.faqs-list input:checked + .faqs-list__item label {
  color: var(--tk-blue) !important;
}
.faqs-list input:checked + .faqs-list__item .faq-item.open-badge {
  background: var(--tk-grad) !important;
  color: #fff !important;
  transform: rotate(45deg);                /* + تصير × */
  box-shadow: 0 6px 16px rgba(123, 47, 247, .35);
}
.faqs-list input:checked + .faqs-list__item .faq-answer {
  max-height: 600px;
  opacity: 1;
  transform: none;
  padding-top: 14px !important;
  border-top: 1px dashed var(--tk-line);
}

/* ---------- الموبايل ---------- */
@media (max-width: 767px) {
  .faqs-list { gap: 12px !important; }
  .faqs-list .faqs-list__item { border-radius: 14px !important; }
  .faqs-list .faqs-list__item::before { top: 14px; bottom: 14px; }
  .faqs-list .faqs-list__item label {
    padding: 16px !important;
    padding-inline-end: 56px !important;
    font-size: 14px !important;
  }
  .faqs-list .faq-item.open-badge {
    top: 14px !important;
    inset-inline-end: 14px;
    width: 28px !important;
    height: 28px !important;
    font-size: 12px;
  }
  .faqs-list .faq-answer { margin: 0 16px; }
}


/* =========================================
   Trend KSA – زر أضف للسلة (صفحة المنتج)
   ========================================= */

button.s-button-element[product-id][type="submit"] {
  --tk-cart-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'/%3E%3C/svg%3E");

  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 52px;
  padding: 0 24px !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: linear-gradient(90deg, #2F5BFF 0%, #7B2FF7 50%, #19C8F2 100%) !important;
  background-size: 200% 100% !important;
  color: #fff !important;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(47, 91, 255, .32);
  animation: tkCartGrad 6s ease-in-out infinite alternate;  /* تدرج يتحرك ببطء */
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

@keyframes tkCartGrad {
  0%   { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* النص + أيقونة السلة */
button.s-button-element[product-id][type="submit"] .s-button-text,
button.s-button-element[product-id][type="submit"] .s-button-text > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff !important;
}
button.s-button-element[product-id][type="submit"] .s-button-text > span::before {
  content: "";
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background: currentColor;
  -webkit-mask: var(--tk-cart-icon) center / contain no-repeat;
          mask: var(--tk-cart-icon) center / contain no-repeat;
  transition: transform .3s ease;
}

/* لمعة تمر عند المرور */
button.s-button-element[product-id][type="submit"]::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .4), transparent);
  transform: skewX(-20deg);
  transition: left .7s ease;
  pointer-events: none;
  z-index: -1;
}

/* hover */
button.s-button-element[product-id][type="submit"]:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 14px 30px rgba(123, 47, 247, .40);
}
button.s-button-element[product-id][type="submit"]:hover::after {
  left: 120%;
}
button.s-button-element[product-id][type="submit"]:hover .s-button-text > span::before {
  transform: rotate(-10deg) scale(1.1);
}

/* الضغط */
button.s-button-element[product-id][type="submit"]:active {
  transform: scale(.98);
  box-shadow: 0 6px 14px rgba(47, 91, 255, .30);
}

/* التركيز بالكيبورد */
button.s-button-element[product-id][type="submit"]:focus-visible {
  outline: 3px solid rgba(25, 200, 242, .6);
  outline-offset: 3px;
}

/* الزر معطّل (مثلاً نفدت الكمية) */
button.s-button-element[product-id][type="submit"]:disabled,
button.s-button-element[product-id][type="submit"]:disabled:hover {
  animation: none;
  transform: none;
  filter: grayscale(.4);
  opacity: .65;
  box-shadow: none;
  cursor: not-allowed;
}

/* إيقاف الحركة لمن يفضّل تقليلها */
@media (prefers-reduced-motion: reduce) {
  button.s-button-element[product-id][type="submit"] { animation: none; }
}

/* الموبايل */
@media (max-width: 767px) {
  button.s-button-element[product-id][type="submit"] {
    min-height: 48px;
    font-size: 15px;
    border-radius: 12px !important;
  }
}


/* =========================================
   Trend KSA – Mobile Menu
   ========================================= */

#mobile-menu {
  --tk-blue: #2F5BFF;
  --tk-cyan: #19C8F2;
  --tk-purple: #7B2FF7;
  --tk-grad: linear-gradient(135deg, #2F5BFF 0%, #7B2FF7 100%);
  --tk-grad-3: linear-gradient(135deg, #19C8F2 0%, #2F5BFF 45%, #7B2FF7 100%);
  --tk-navy: #0A0E27;
  --tk-line: #EDF0F8;
  --tk-tint: #F2F5FF;
  --mm-spn-item-height: 54px;
  --mm-spn-item-indent: 20px;

  color: var(--tk-navy) !important;
  background: #fff !important;
}

/* خلفية الصفحة خلف القائمة */
.mm-ocd--open {
  background: rgba(10, 14, 39, .45) !important;
  backdrop-filter: blur(2px);
}

/* ---------- الشريط العلوي (عنوان القائمة) ---------- */
#mobile-menu.mm-spn--navbar::after {
  background: var(--tk-grad-3);
  color: #fff;
  opacity: 1;
  font-size: 15px;
  font-weight: 700;
  z-index: 1;
}
/* سهم الرجوع داخل القوائم الفرعية */
#mobile-menu.mm-spn--navbar::before {
  color: #fff;
  opacity: 1;
  z-index: 2;
}
#mobile-menu.mm-spn--navbar ul::before { opacity: 0; }

/* زر الإغلاق */
#mobile-menu .close-mobile-menu {
  position: absolute !important;
  top: calc((var(--mm-spn-item-height) - 34px) / 2) !important;
  inset-inline-end: 12px;
  z-index: 3;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, .2) !important;
  color: #fff !important;
  font-size: 14px;
}

/* ---------- البانر الفارغ أعلى القائمة ---------- */
#mobile-menu .mobile-menu-slider:has(.menu-silde[data-bg=""]) { display: none; }

/* ---------- العناصر ---------- */
#mobile-menu li::after {            /* الفواصل */
  color: var(--tk-line);
  opacity: 1;
}
#mobile-menu li::before {           /* سهم القائمة الفرعية */
  color: var(--tk-blue);
  opacity: .8;
}
#mobile-menu li > a:not(:last-child)::after {
  color: var(--tk-line);
  opacity: 1;
}

#mobile-menu .sidemenu-link {
  color: var(--tk-navy) !important;
  font-size: 15px;
  font-weight: 600;
  transition: background .2s, color .2s;
}
#mobile-menu .sidemenu-link:active { background: var(--tk-tint); }

/* القسم الحالي */
#mobile-menu .sidemenu-link.active {
  color: var(--tk-blue) !important;
  background: var(--tk-tint);
}
#mobile-menu .sidemenu-link.active::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  inset-inline-start: 0;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, #19C8F2, #7B2FF7);
}
#mobile-menu .display-all-category { color: var(--tk-blue) !important; }

/* إبراز قسم الخصومات */
#mobile-menu .sidemenu-link[aria-label="خصومات"] {
  display: flex !important;
  align-items: center;
  gap: 8px;
}
#mobile-menu .sidemenu-link[aria-label="خصومات"] .menu_title {
  background: var(--tk-grad);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}
#mobile-menu .sidemenu-link[aria-label="خصومات"]::after {
  content: "%";
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: var(--tk-grad);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

/* ---------- روابط تهمك + خدمة العملاء ---------- */
#mobile-menu li.links {
  border-top: 8px solid var(--tk-tint);    /* فاصل بين الأقسام والروابط */
}
#mobile-menu li.links > span,
#mobile-menu li.social > span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
  color: var(--tk-navy);
  font-size: 15px;
  font-weight: 600;
}
#mobile-menu li.links > span i,
#mobile-menu li.social > span i {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  border-radius: 9px;
  background: var(--tk-grad);
  color: #fff;
  font-size: 14px;
}

/* صفحة روابط تهمك */
#mobile-menu .links-menu .footer-title { display: none; }   /* عنوان مكرر */
#mobile-menu .links-menu .footer-list a {
  width: 100% !important;
  margin: 0 !important;
  padding: 16px 20px !important;
  border-bottom: 1px solid var(--tk-line);
  color: var(--tk-navy) !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5 !important;
}
#mobile-menu .links-menu .footer-list a::after { display: none; }
#mobile-menu .links-menu .footer-list a:active {
  background: var(--tk-tint);
  color: var(--tk-blue) !important;
}

/* صفحة خدمة العملاء */
#mobile-menu .social-menu .s-contacts-list {
  display: flex !important;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
}
#mobile-menu .social-menu .s-contacts-item {
  display: flex !important;
  align-items: center;
  gap: 12px;
  width: 100% !important;
  padding: 10px !important;
  border: 1px solid var(--tk-line);
  border-radius: 14px;
  background: #fff;
  color: var(--tk-navy) !important;
  transition: border-color .2s, background .2s;
}
#mobile-menu .social-menu .s-contacts-item span { padding: 0 !important; }
#mobile-menu .social-menu .s-contacts-item:active {
  border-color: var(--tk-cyan);
  background: var(--tk-tint);
}
#mobile-menu .social-menu .s-contacts-icon {
  width: 40px !important;
  height: 40px !important;
  flex-shrink: 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  border-radius: 12px !important;
  background: var(--tk-grad) !important;
}
#mobile-menu .social-menu .s-contacts-item[href*="wa.me"] .s-contacts-icon {
  background: linear-gradient(135deg, #19C8F2, #2F5BFF) !important;
}
#mobile-menu .social-menu .s-contacts-icon svg {
  width: 18px !important;
  height: 18px !important;
  fill: #fff !important;
}
#mobile-menu .social-menu .unicode {
  direction: ltr;
  unicode-bidi: isolate;
  font-size: 15px;
  font-weight: 700;
}