/* تحسين قسم التصنيفات على الجوال */
@media (max-width: 767px) {
  .s-block--categories h3 {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  .s-block--categories .s-slider-block__title p {
    display: block !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: initial !important;
    max-height: none !important;
    height: auto !important;
    font-size: 13px !important;
    line-height: 1.7 !important;
    color: #666666 !important;
    text-align: center !important;
    padding: 0 12px !important;
  }
}
@media (max-width: 767px) {
  .s-block--categories a,
  .s-block--categories h3,
  .s-block--categories a p {
    word-break: normal !important;
    overflow-wrap: normal !important;
    white-space: normal !important;
    hyphens: none !important;
  }

  .s-block--categories a p {
    color: #777777 !important;
  }
}
@media (max-width: 767px) {
  html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip !important;
  }
}
@media (max-width: 767px) {
  .s-block--categories .s-slider-block__title p {
    font-size: 13px !important;
    line-height: 1.7 !important;
    color: #666666 !important;
    text-align: center !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }
}
@media (max-width: 767px) {
  .s-block--categories .s-slider-block__title p {
    color: #666666 !important;
  }
}
/* تحسين خطوط متجر جوهرة العود والمسك */

/* العناوين الرئيسية */
h1, h2, h3 {
  font-family: 'Tajawal', sans-serif !important;
  font-weight: 700 !important;
  line-height: 1.6 !important;
}

/* عناوين الأقسام */
.s-block--categories h3 {
  font-size: 16px !important;
  font-weight: 700 !important;
}

/* وصف الأقسام */
.s-block--categories .s-slider-block__title p {
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.7 !important;
  color: #666666 !important;
}

/* عناوين المنتجات */
.s-product-card-content-title {
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.6 !important;
}
/* تحسين وضوح وصف الأقسام */
.s-block--categories .s-slider-block__title p {
  color: #666666 !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}

/* تحسين عناوين بطاقات الأقسام */
.s-block--categories h3 {
  color: #202735 !important;
  font-weight: 700 !important;
}
/* لون أسماء المنتجات */
.s-product-card-content-title,
.s-product-card-content-title a {
  color: #173A70 !important;
}
/* تحريك نص إعلان الشحن المجاني */
.s-advertisement[data-id="1823717456"]
.s-advertisement-content-main a {
  display: inline-block;
  animation: shipping-text 4s ease-in-out infinite alternate;
}

@keyframes shipping-text {
  from { transform: translateX(12px); }
  to   { transform: translateX(-12px); }
}

@media (prefers-reduced-motion: reduce) {
  .s-advertisement[data-id="1823717456"]
  .s-advertisement-content-main a {
    animation: none;
  }
}
/* تذييل جوهرة العود والمسك */
footer {
  background-color: #173B70 !important;
  color: #ffffff !important;
  padding-top: 12px !important;
  padding-bottom: 0 !important;
  min-height: 0 !important;
}

/* تقليل المسافات الداخلية */
footer .container {
  padding-top: 5px !important;
  padding-bottom: 5px !important;
}

/* تقليل الفراغات بين النصوص */
footer p,
footer li {
  margin-top: 3px !important;
  margin-bottom: 3px !important;
  line-height: 1.5 !important;
}

/* عناوين التذييل */
footer h2,
footer h3,
footer h4 {
  color: #ffffff !important;
  margin-bottom: 8px !important;
}

/* الروابط */
footer a,
footer p,
footer li,
footer span {
  color: #ffffff !important;
}

/* شريط وسائل الدفع */
footer .footer-bottom,
footer .footer-bottom-bar {
  background-color: #102A50 !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}
/* إصلاح عرض بيانات التواصل في الجوال */
@media (max-width: 767px) {
  footer a[href^="mailto:"] {
    display: inline-block !important;
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    white-space: normal !important;
    direction: ltr !important;
    text-align: right !important;
  }

  footer a[href^="mailto:"] * {
    overflow-wrap: anywhere !important;
    white-space: normal !important;
  }
}
/* ترتيب التذييل على الجوال فقط */
@media (max-width: 767px) {

  /* جعل أقسام التذييل بعرض كامل */
  footer .footer-top .row > div,
  footer .footer-top .grid > div {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }

  /* المحافظة على البريد داخل الشاشة */
  footer a[href^="mailto:"] {
    overflow-wrap: anywhere !important;
    white-space: normal !important;
    max-width: 100% !important;
  }
}
/* تحسين المسافة أسفل رأس المتجر على الجوال */
@media (max-width: 767px) {
  header {
    margin-bottom: 0 !important;
  }
}
@media (max-width: 767px) {
  #s-block--fixed-banner-0 {
    margin-top: 0 !important;
  }
}