header.dark .da-tm{
  color:#ffffff !important;
}

/* تغيير لون عناوين الفوتر */
.store-footer h3,
.store-footer .footer-title{
  color:#ffffff !important;
}

/* جميع النصوص داخل الفوتر باللون الأبيض */
.store-footer,
.store-footer p,
.store-footer a,
.store-footer li,
.store-footer span{
  color:#ffffff !important;
}

/* تغيير لون نصوص قائمة الحساب فقط */
.dark .s-user-menu-dropdown-item-title{
  color:#2d6973 !important;
}

/* HissCare draft footer — scoped restoration only */
.store-footer[data-hc-footer="v1"] .footer-middle {
  align-items: stretch !important;
}

.store-footer[data-hc-footer="v1"] .hc-footer-grid {
  display: grid;
  width: 100%;
  gap: 2rem;
}

.store-footer[data-hc-footer="v1"] .hc-footer-brand {
  min-width: 0;
}

.store-footer[data-hc-footer="v1"] .hc-brand-lockup {
  display: block;
  width: min(100%, 460px);
}

.store-footer[data-hc-footer="v1"] .hc-brand-image {
  display: block;
  width: 100% !important;
  max-width: 460px !important;
  height: auto !important;
  object-fit: contain !important;
}

.store-footer[data-hc-footer="v1"] .hc-footer-description {
  max-width: 38rem;
  margin-top: .9rem;
  font-size: .9rem;
  line-height: 1.9;
  opacity: .86;
}

.store-footer[data-hc-footer="v1"] .hc-footer-social {
  margin-top: 1rem;
}

.store-footer[data-hc-footer="v1"] .hc-footer-social .s-social-list {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.store-footer[data-hc-footer="v1"] .hc-footer-group {
  min-width: 0;
}

.store-footer[data-hc-footer="v1"] .hc-footer-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
  color: #fff !important;
  font-size: 1rem;
  font-weight: 700;
}

.store-footer[data-hc-footer="v1"] .hc-footer-summary::-webkit-details-marker {
  display: none;
}

.store-footer[data-hc-footer="v1"] .hc-footer-list {
  display: grid;
  gap: .55rem;
  margin: .9rem 0 0;
  padding: 0;
  list-style: none;
}

.store-footer[data-hc-footer="v1"] .hc-footer-list a {
  display: inline-block;
  line-height: 1.55;
  opacity: .84;
  transition: opacity .2s ease, transform .2s ease;
}

.store-footer[data-hc-footer="v1"] .hc-footer-list a:hover {
  opacity: 1;
  transform: translateX(-2px);
}

.store-footer[data-hc-footer="v1"] .hc-footer-chevron {
  display: none;
}

.store-footer[data-hc-footer="v1"] .hc-footer-bottom {
  width: 100%;
}

.store-footer[data-hc-footer="v1"] .hc-footer-verification {
  display: flex;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .store-footer[data-hc-footer="v1"] .hc-footer-grid {
    grid-template-columns: minmax(280px, 1.35fr) repeat(4, minmax(130px, 1fr));
    gap: 2rem 2.25rem;
    align-items: start;
  }

  .store-footer[data-hc-footer="v1"] .hc-brand-lockup,
  .store-footer[data-hc-footer="v1"] .hc-brand-image {
    max-width: 340px !important;
  }

  .store-footer[data-hc-footer="v1"] .hc-footer-summary {
    pointer-events: none;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .store-footer[data-hc-footer="v1"] .hc-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.25rem 3rem;
  }

  .store-footer[data-hc-footer="v1"] .hc-footer-brand {
    grid-column: 1 / -1;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
  }

  .store-footer[data-hc-footer="v1"] .hc-footer-summary {
    pointer-events: none;
  }
}

/* محاذاة عناوين قوائم الفوتر مع الروابط وإعادة خط الهوية الوردي */
@media (min-width: 768px) {
  .store-footer[data-hc-footer="v1"] .hc-footer-summary {
    position: relative;
    justify-content: center;
    width: 100%;
    padding-bottom: .65rem;
    margin-bottom: .35rem;
    text-align: center;
  }

  .store-footer[data-hc-footer="v1"] .hc-footer-summary::after {
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 48px;
    height: 2px;
    border-radius: 999px;
    background: #F5ADB1;
    transform: translateX(-50%);
  }

  .store-footer[data-hc-footer="v1"] .hc-footer-list {
    justify-items: center;
    margin-top: .55rem;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .store-footer[data-hc-footer="v1"] .footer-middle {
    padding-block: 1.25rem !important;
  }

  .store-footer[data-hc-footer="v1"] .hc-footer-grid {
    display: block;
  }

  .store-footer[data-hc-footer="v1"] .hc-footer-brand {
    padding-bottom: 1.25rem;
    text-align: center;
  }

  .store-footer[data-hc-footer="v1"] .hc-brand-lockup,
  .store-footer[data-hc-footer="v1"] .hc-footer-social .s-social-list {
    margin-inline: auto;
  }

  .store-footer[data-hc-footer="v1"] .hc-brand-lockup,
  .store-footer[data-hc-footer="v1"] .hc-brand-image {
    max-width: 320px !important;
  }

  .store-footer[data-hc-footer="v1"] .hc-footer-description {
    margin-inline: auto;
  }

  .store-footer[data-hc-footer="v1"] .hc-footer-group {
    border-top: 1px solid rgba(255, 255, 255, .16);
  }

  .store-footer[data-hc-footer="v1"] .hc-footer-summary {
    padding-block: 1rem;
    cursor: pointer;
  }

  .store-footer[data-hc-footer="v1"] .hc-footer-summary::after {
    display: none;
  }

  .store-footer[data-hc-footer="v1"] .hc-footer-chevron {
    display: inline-flex;
    width: 1.5rem;
    height: 1.5rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    transition: transform .2s ease;
  }

  .store-footer[data-hc-footer="v1"] .hc-footer-group[open] .hc-footer-chevron {
    transform: rotate(45deg);
  }

  .store-footer[data-hc-footer="v1"] .hc-footer-list {
    margin-top: 0;
    padding-bottom: 1rem;
  }

  .store-footer[data-hc-footer="v1"] .hc-footer-bottom,
  .store-footer[data-hc-footer="v1"] .hc-footer-verification {
    flex-direction: column;
    justify-content: center;
  }
}

/* HissCare draft hero — stable proportions across slides */
.s-block--hero-slider img[alt="hero banner"] {
  width: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

@media (min-width: 768px) {
  .s-block--hero-slider img[alt="hero banner"] {
    aspect-ratio: 1440 / 575;
    height: auto !important;
  }
}

@media (max-width: 767px) {
  .s-block--hero-slider img[alt="hero banner"] {
    aspect-ratio: 2 / 3;
    height: auto !important;
  }
}

/* HissCare draft hero — equal full-width stretch like the published theme */
.s-block--hero-slider.full-banner {
  width: 100% !important;
  max-width: 100% !important;
  margin-inline: 0 !important;
  inset-inline: 0 !important;
  padding-inline: 0 !important;
}

.s-block--hero-slider.full-banner > salla-slider,
.s-block--hero-slider.full-banner .s-slider-container,
.s-block--hero-slider.full-banner .s-slider-swiper-wrapper,
.s-block--hero-slider.full-banner .swiper-slide,
.s-block--hero-slider.full-banner .swiper-slide > a {
  width: 100% !important;
  max-width: 100% !important;
}

/* HissCare draft dividers — compact equal footer-style edge bars */
section.s-angel--divider.centered-title {
  --hc-divider-band: 44px !important;
  --hc-divider-motif-height: 20px !important;
  --hc-divider-motif-line: 2px;
  min-height: var(--hc-divider-band);
  padding-block: 0 !important;
  overflow: visible !important;
  background: #2D6973 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .10),
    inset 0 -1px 0 rgba(245, 173, 177, .16);
}

html body section.s-angel--divider.centered-title .divider-container {
  display: flex;
  height: var(--hc-divider-band);
  align-items: center;
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
  padding: 0 !important;
}

section.s-angel--divider.centered-title .divider-title,
section.s-angel--divider.centered-title .divider-title > .flex,
section.s-angel--divider.centered-title .divider-title .flex-center {
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
}

section.s-angel--divider.centered-title .divider-title .flex-center {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center !important;
  gap: 0 !important;
  isolation: isolate;
  overflow: visible;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
}

html body section.s-angel--divider.centered-title .divider-title .flex-center > .vertical-lines {
  position: absolute !important;
  top: 50% !important;
  z-index: 1;
  flex: none !important;
  width: clamp(52px, 4vw, 76px) !important;
  min-width: clamp(52px, 4vw, 76px) !important;
  inline-size: clamp(52px, 4vw, 76px) !important;
  max-width: 76px !important;
  height: var(--hc-divider-motif-height) !important;
  transform: translateY(-50%) !important;
  background-repeat: no-repeat !important;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .22)) drop-shadow(0 2px 3px rgba(18, 58, 64, .38));
}

html body section.s-angel--divider.centered-title .divider-title .flex-center > .vertical-lines:first-child {
  left: 0 !important;
  right: auto !important;
  clip-path: none !important;
  background:
    linear-gradient(#F5ADB1, #F5ADB1) right top / 100% var(--hc-divider-motif-line) no-repeat,
    linear-gradient(#F5ADB1, #F5ADB1) right center / 100% var(--hc-divider-motif-line) no-repeat,
    linear-gradient(#F5ADB1, #F5ADB1) right bottom / 100% var(--hc-divider-motif-line) no-repeat !important;
}

html body section.s-angel--divider.centered-title .divider-title .flex-center > .vertical-lines:last-child {
  right: 0 !important;
  left: auto !important;
  clip-path: none !important;
  background:
    linear-gradient(#F5ADB1, #F5ADB1) left top / 100% var(--hc-divider-motif-line) no-repeat,
    linear-gradient(#F5ADB1, #F5ADB1) left center / 100% var(--hc-divider-motif-line) no-repeat,
    linear-gradient(#F5ADB1, #F5ADB1) left bottom / 100% var(--hc-divider-motif-line) no-repeat !important;
}

html body section.s-angel--divider.centered-title .divider-title .flex-center::before {
  content: none !important;
  display: none !important;
  background: none !important;
  box-shadow: none !important;
}

html body section.s-angel--divider.centered-title .divider-title .flex-center::after {
  content: '' !important;
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: 30px;
  height: 30px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background-color: #2D6973 !important;
  background-image: url('https://cdn.files.salla.network/theme/530213433/77ea5840-cbdf-46ff-92ff-b1bb77ba954c_405x393.png') !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: 26px 26px !important;
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, .26),
    inset 0 -2px 3px rgba(8, 42, 48, .42);
}

@media (max-width: 767px) {
  section.s-angel--divider.centered-title {
    --hc-divider-band: 36px !important;
    --hc-divider-motif-height: 18px !important;
  }

  html body section.s-angel--divider.centered-title .divider-container {
    padding: 0 !important;
  }

  html body section.s-angel--divider.centered-title .divider-title .flex-center > .vertical-lines {
    width: 44px !important;
    min-width: 44px !important;
    inline-size: 44px !important;
    max-width: 44px !important;
  }

  html body section.s-angel--divider.centered-title .divider-title .flex-center::after {
    width: 25px;
    height: 25px;
    background-size: 22px 22px !important;
  }
}

section.s-angel--divider.centered-title .divider-title .vertical-lines { opacity: 1 !important; }

/* HissCare draft homepage content — align with divider edges */
@media (min-width: 1536px) {
  .app-inner > .s-block--banners > .container,
  .app-inner > .s-block--fixed-banner > .container,
  .app-inner > .s-block--best-offers.container {
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
  }
}

/* وضع عمود عن هيس كير بجوار هوية المتجر على الشاشات الكبيرة */
@media (min-width: 1024px) {
  .store-footer[data-hc-footer="v1"] .hc-footer-grid > .hc-footer-brand { order: 1; }
  .store-footer[data-hc-footer="v1"] .hc-footer-grid > .hc-footer-group:nth-child(3) { order: 2; }
  .store-footer[data-hc-footer="v1"] .hc-footer-grid > .hc-footer-group:nth-child(2) { order: 3; }
  .store-footer[data-hc-footer="v1"] .hc-footer-grid > .hc-footer-group:nth-child(4) { order: 4; }
  .store-footer[data-hc-footer="v1"] .hc-footer-grid > .hc-footer-group:nth-child(5) { order: 5; }
}