@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800;900&display=swap');

html,
body,
body * {
  font-family: 'Tajawal', sans-serif !important;
}

body {
  background:
    radial-gradient(circle, rgba(0, 91, 216, 0.16) 1.2px, transparent 1.7px),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
  background-size: 22px 22px, 100% 100% !important;
  background-attachment: fixed !important;
}

/* في حال كانت حاويات سلة تغطي خلفية body */
main,
#app,
.app,
.store,
.page-wrapper,
.main-content {
  background:
    radial-gradient(circle, rgba(0, 91, 216, 0.14) 1.2px, transparent 1.7px),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
  background-size: 22px 22px, 100% 100% !important;
}

/* =========================
   الهيدر
========================= */

header {
  background: #ffffff !important;
  border-bottom: 2px solid #0057c8 !important;
}

header img,
header [class*="logo"] img,
header [class*="brand"] img,
header a[href="/"] img {
  max-height: 42px !important;
  width: auto !important;
  object-fit: contain !important;
}

header .s-cart-summary-wrapper,
header .s-cart-summary-count,
header .s-user-menu-trigger,
header .s-search-product-count,
header [class*="cart"],
header [class*="basket"],
header [class*="bag"],
header [class*="wishlist"],
header [class*="compare"],
header [class*="profile"],
header [class*="user"] {
  display: none !important;
}

/* إخفاء عرض الكل */
.s-slider-block__title-right,
.s-slider-block__display-all,
.s-block__display-all,
.s-section-title a {
  display: none !important;
}

/* =========================
   بلوك الحجز السريع - OTOM
========================= */

.otom-quick {
  width: 100% !important;
  margin: 34px 0 22px !important;
  padding: 0 13px !important;
  direction: rtl !important;
}

.otom-quick-box {
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 24px 17px 24px !important;
  border-radius: 26px !important;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
  border: 1px solid #d4e7ff !important;
  box-shadow: 0 14px 34px rgba(0, 87, 200, 0.10) !important;
  text-align: center !important;
  position: relative !important;
  overflow: hidden !important;
}

.otom-quick-box:before {
  content: "" !important;
  position: absolute !important;
  top: -60px !important;
  right: -80px !important;
  width: 180px !important;
  height: 180px !important;
  background: radial-gradient(circle, rgba(0, 98, 255, 0.08), transparent 65%) !important;
  pointer-events: none !important;
}

.otom-quick-box:after {
  content: "" !important;
  position: absolute !important;
  bottom: -70px !important;
  left: -70px !important;
  width: 170px !important;
  height: 170px !important;
  background: radial-gradient(circle, rgba(3, 200, 255, 0.10), transparent 65%) !important;
  pointer-events: none !important;
}

/* حذف الأيقونة العلوية داخل بلوك اختيار الخدمة */
.otom-quick-icon {
  display: none !important;
}

.otom-quick-title {
  position: relative !important;
  z-index: 1 !important;
  font-size: 25px !important;
  font-weight: 900 !important;
  color: #003f9e !important;
  line-height: 1.45 !important;
  margin: 0 auto 10px !important;
  letter-spacing: -0.4px !important;
}

.otom-quick-sub {
  position: relative !important;
  z-index: 1 !important;
  max-width: 330px !important;
  margin: 0 auto 12px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #374151 !important;
  line-height: 1.75 !important;
}

.otom-quick-time {
  position: relative !important;
  z-index: 1 !important;
  max-width: 100% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
  padding: 10px 15px !important;
  border-radius: 18px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f3f9ff 100%) !important;
  border: 1.5px solid #8fc5ff !important;
  color: #0057c8 !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1.7 !important;
  margin: 0 auto 13px !important;
  box-shadow: 0 7px 18px rgba(0, 87, 200, 0.08) !important;
}

/* حذف أيقونة الساعة من مربع أوقات الخدمة */
.otom-quick-time:before {
  display: none !important;
  content: none !important;
}

.otom-quick-alert {
  position: relative !important;
  z-index: 1 !important;
  max-width: 330px !important;
  margin: 0 auto 14px !important;
  color: #d71920 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1.7 !important;
}

.otom-quick-btn {
  position: relative !important;
  z-index: 1 !important;
  width: 100% !important;
  height: 56px !important;
  border-radius: 18px !important;
  background: linear-gradient(135deg, #03c8ff 0%, #0062ff 100%) !important;
  color: #ffffff !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  border: none !important;
  outline: none !important;
  cursor: pointer !important;
  box-shadow: 0 12px 26px rgba(0, 98, 255, 0.28) !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease !important;
  letter-spacing: -0.2px !important;
}

.otom-quick-btn:active {
  transform: scale(0.98) !important;
  box-shadow: 0 7px 18px rgba(0, 98, 255, 0.22) !important;
}

.otom-quick-note {
  position: relative !important;
  z-index: 1 !important;
  margin-top: 13px !important;
  color: #6b7280 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.6 !important;
}

.otom-quick-note:before {
  content: "♡" !important;
  color: #8aa0b8 !important;
  margin-left: 6px !important;
  font-weight: 900 !important;
}

/* =========================
   كروت الخدمات
========================= */

.s-product-card-entry {
  direction: rtl !important;
  background: #ffffff !important;
  border: 1px solid #cfe2ff !important;
  border-radius: 18px !important;
  padding: 10px !important;
  margin: 14px 10px 18px !important;
  box-shadow: 0 8px 22px rgba(0, 87, 200, 0.07) !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: row-reverse !important;
  align-items: stretch !important;
  gap: 10px !important;
}

.s-product-card-image {
  width: 38% !important;
  min-width: 128px !important;
  height: 224px !important;
  min-height: 224px !important;
  background: #ffffff !important;
  border: 0 !important;
  border-radius: 16px !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  box-shadow: none !important;
}

.s-product-card-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 16px !important;
  display: block !important;
}

.s-product-card-content {
  flex: 1 !important;
  min-width: 0 !important;
  padding: 8px 4px 8px 0 !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: center !important;
}

.s-product-card-content-title,
.s-product-card-content-title a,
.s-product-card-content h3,
.s-product-card-content h3 a {
  color: #071b3a !important;
  font-size: 19px !important;
  font-weight: 900 !important;
  line-height: 1.35 !important;
  text-align: center !important;
  margin: 2px 0 6px !important;
  text-decoration: none !important;
}

.s-product-card-content p,
.s-product-card-content-description,
.s-product-card-content-subtitle {
  color: #8a96a8 !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  line-height: 1.65 !important;
  text-align: center !important;
  margin: 0 0 6px !important;
}

.s-product-card-price,
.s-product-card-content .s-price {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #0062d6 !important;
  font-size: 22px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  padding: 0 !important;
  margin: 4px auto 8px !important;
}

.s-product-card-price *,
.s-product-card-content .s-price * {
  color: #0062d6 !important;
  font-weight: 900 !important;
}

.otom-features {
  width: 100% !important;
  margin: 6px 0 10px !important;
  padding: 0 !important;
  background: #f8fbff !important;
  border: 1px solid #d8e8ff !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}

.otom-feature-row {
  display: grid !important;
  grid-template-columns: 62px 1fr !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 7px 8px !important;
  border-bottom: 1px solid #e4eefc !important;
  font-size: 11.5px !important;
  line-height: 1.5 !important;
}

.otom-feature-row:last-child {
  border-bottom: none !important;
}

.otom-feature-label {
  color: #0057c8 !important;
  font-weight: 900 !important;
  text-align: right !important;
  white-space: nowrap !important;
}

.otom-feature-value {
  color: #2d3748 !important;
  font-weight: 800 !important;
  text-align: right !important;
}

.s-product-card-entry button,
.s-product-card-entry .s-button-element,
.s-product-card-content-footer button,
.s-product-card-content-footer .s-button-element {
  width: 100% !important;
  min-height: 48px !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, #0077e6 0%, #0057c8 100%) !important;
  color: #ffffff !important;
  border: 0 !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  box-shadow: 0 8px 20px rgba(0, 87, 200, 0.22) !important;
}

.s-product-card-entry [class*="wishlist"],
.s-product-card-entry [class*="favorite"],
.s-product-card-entry [class*="heart"],
.s-product-card-entry [class*="rating"] {
  display: none !important;
}

/* =========================
   قسم SEO
========================= */

.otom-seo-section {
  padding: 18px 12px 30px !important;
  background: transparent !important;
  direction: rtl !important;
}

.otom-seo-box {
  max-width: calc(100% - 8px) !important;
  margin: 0 auto !important;
  padding: 18px 15px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
  border: 1px solid #dbeafe !important;
  border-radius: 22px !important;
  box-shadow: 0 10px 28px rgba(0, 87, 200, 0.08) !important;
  text-align: center !important;
}

.otom-seo-badge {
  display: inline-block !important;
  padding: 7px 14px !important;
  margin-bottom: 10px !important;
  background: #eaf4ff !important;
  color: #0057c8 !important;
  border: 1px solid #cfe5ff !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

.otom-seo-box h2 {
  font-size: 22px !important;
  font-weight: 900 !important;
  color: #0057c8 !important;
  line-height: 1.4 !important;
}

.otom-seo-box h3 {
  font-size: 18px !important;
  font-weight: 900 !important;
  color: #06306b !important;
  margin-top: 16px !important;
  margin-bottom: 10px !important;
}

.otom-seo-box p {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #4b5563 !important;
  line-height: 1.9 !important;
}

.otom-seo-features {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 8px !important;
  margin: 15px 0 18px !important;
}

.otom-seo-features div {
  padding: 10px 8px !important;
  background: #ffffff !important;
  border: 1px solid #dbeafe !important;
  border-radius: 14px !important;
  color: #0057c8 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

/* =========================
   أحياء شرق الرياض - مهم للروابط
========================= */

.otom-areas {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px !important;
  margin-top: 12px !important;
}

/* يدعم الروابط الجديدة والأحياء بدون روابط */
.otom-areas a,
.otom-areas span,
.otom-areas .otom-area-link,
.otom-areas .otom-area-item {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 7px 11px !important;
  background: #ffffff !important;
  color: #0057c8 !important;
  border: 1px solid #dbeafe !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.5 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  min-height: 34px !important;
  box-shadow: 0 4px 10px rgba(0, 87, 200, 0.04) !important;
}

/* تمييز بسيط للأحياء التي لها رابط */
.otom-areas a,
.otom-areas .otom-area-link {
  border-color: #b9dbff !important;
  color: #004fb6 !important;
  cursor: pointer !important;
}

/* الأحياء التي بدون رابط تبقى واضحة لكن أقل بروزًا */
.otom-areas span,
.otom-areas .otom-area-item {
  color: #5b6b80 !important;
  border-color: #e3ecf8 !important;
  background: #fbfdff !important;
}

/* تفاعل الروابط */
.otom-areas a:hover,
.otom-areas .otom-area-link:hover {
  background: #eaf4ff !important;
  border-color: #8fc5ff !important;
  color: #0057c8 !important;
  text-decoration: none !important;
  transform: translateY(-1px) !important;
}

/* منع أي تنسيق من سلة يغير لون الرابط */
.otom-areas a *,
.otom-areas .otom-area-link * {
  color: inherit !important;
  text-decoration: none !important;
}

/* =========================
   الأسئلة الشائعة
========================= */

.otom-faq {
  margin-top: 18px !important;
  text-align: right !important;
}

.otom-faq-item {
  background: #ffffff !important;
  border: 1px solid #e0ecff !important;
  border-radius: 16px !important;
  padding: 12px !important;
  margin-bottom: 10px !important;
}

.otom-faq-item strong {
  color: #0057c8 !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}

.otom-faq-item p {
  margin-bottom: 0 !important;
}

.otom-seo-cta {
  display: block !important;
  width: 100% !important;
  margin-top: 16px !important;
  padding: 14px 16px !important;
  background: linear-gradient(135deg, #05c7ff 0%, #0062ff 100%) !important;
  color: #ffffff !important;
  border-radius: 16px !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

/* =========================
   واتساب
========================= */

.otom-whatsapp {
  display: flex !important;
  position: fixed !important;
  bottom: 18px !important;
  left: 18px !important;
  z-index: 2147483647 !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 125px !important;
  height: 44px !important;
  padding: 0 16px !important;
  background: #25d366 !important;
  color: #ffffff !important;
  border-radius: 999px !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35) !important;
}

/* =========================
   تحسين الجوال
========================= */

@media (max-width: 768px) {
  .otom-quick {
    margin-top: 30px !important;
  }

  .otom-quick-box {
    padding: 22px 16px 23px !important;
    border-radius: 24px !important;
  }

  .otom-quick-title {
    font-size: 22px !important;
    line-height: 1.45 !important;
  }

  .otom-quick-sub {
    font-size: 14.5px !important;
  }

  .otom-quick-time {
    font-size: 14px !important;
    padding: 8px 15px !important;
  }

  .otom-quick-alert {
    font-size: 13px !important;
  }

  .otom-quick-btn {
    height: 54px !important;
    font-size: 18px !important;
  }

  .s-product-card-entry {
    gap: 10px !important;
  }

  .s-product-card-content-title,
  .s-product-card-content-title a,
  .s-product-card-content h3,
  .s-product-card-content h3 a {
    font-size: 18px !important;
  }

  .otom-feature-row {
    font-size: 11.5px !important;
  }
}

@media (max-width: 430px) {
  .otom-quick-title {
    font-size: 22px !important;
    line-height: 1.45 !important;
  }

  .otom-quick-sub {
    font-size: 14px !important;
    line-height: 1.75 !important;
  }

  .otom-quick-time {
    font-size: 13.2px !important;
    padding: 9px 12px !important;
    line-height: 1.65 !important;
  }

  .otom-quick-alert {
    font-size: 12.5px !important;
  }

  .otom-quick-btn {
    font-size: 17px !important;
  }

  .s-product-card-entry {
    gap: 9px !important;
    padding: 9px !important;
    margin-left: 10px !important;
    margin-right: 10px !important;
  }

  .s-product-card-image {
    width: 38% !important;
    min-width: 124px !important;
    height: 224px !important;
    min-height: 224px !important;
  }

  .s-product-card-content-title,
  .s-product-card-content-title a,
  .s-product-card-content h3,
  .s-product-card-content h3 a {
    font-size: 18px !important;
  }

  .s-product-card-content p,
  .s-product-card-content-description,
  .s-product-card-content-subtitle {
    font-size: 13px !important;
  }

  .s-product-card-price,
  .s-product-card-content .s-price {
    font-size: 21px !important;
  }

  .otom-feature-row {
    grid-template-columns: 58px 1fr !important;
    font-size: 11px !important;
    padding: 6px 7px !important;
  }

  .otom-areas {
    gap: 7px !important;
  }

  .otom-areas a,
  .otom-areas span,
  .otom-areas .otom-area-link,
  .otom-areas .otom-area-item {
    font-size: 11.5px !important;
    padding: 7px 10px !important;
    min-height: 32px !important;
  }
}