/* Add custom CSS styles below */ 
/* تقليل ارتفاع صور بطاقات المنتجات على الجوال */
@media (max-width: 767px) {
  .product-card--vertical .product-card__image {
    height: 150px !important;
    min-height: 0 !important;
    max-height: 150px !important;
    aspect-ratio: auto !important;
  }

  .product-card--vertical .product-card__image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }
}/* لون عنوان البانر الرئيسي */
section[component-id="406262496"]
.advanced-slider__caption__inner__content__heading {
  color: #004344 !important;
}

/* لون الوصف */
section[component-id="406262496"]
.advanced-slider__caption__inner__content__text {
  color: #28585A !important;
}

/* لون زر التسوق وكتابته */
section[component-id="406262496"]
.advanced-slider__caption__inner__content__button {
  background-color: #004344 !important;
  color: #FFFFFF !important;
}@media (max-width: 640px) {
  section[component-id="406262496"]
  .advanced-slider__caption__inner__content__heading {
    color: #002F30 !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
  }

  section[component-id="406262496"]
  .advanced-slider__caption__inner__content__text {
    color: #002F30 !important;
    opacity: 1 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.8 !important;
    text-shadow: 0 1px 3px rgba(255,255,255,.75);
  }
}@media (max-width: 640px) {
  section[component-id="406262496"]
  .advanced-slider__caption__inner__content__button {
    position: relative;
    top: 110px;
  }
}@media (max-width: 767px) {

  /* فصل الهيدر عن البانر */
  body.trans_header .store-header {
    position: relative !important;
    top: auto !important;
    background: #fff !important;
    --header-text-color: #064b4d;
  }

  body.trans_header .store-header .top-navbar,
  body.trans_header .store-header .main-nav-container,
  body.trans_header .store-header .main-nav-container > .inner {
    background: #fff !important;
    color: #064b4d !important;
  }

  .store-header .header-btn__icon,
  .store-header .sicon-menu {
    color: #064b4d !important;
  }

  /* ضبط حجم الشعار */
  .store-header .navbar-brand img {
    max-width: 135px !important;
    height: auto !important;
    max-height: 48px !important;
    object-fit: contain;
  }

  /* ترتيب نص البانر الأول */
  .advanced-slider--0 .advanced-slider__caption {
    box-sizing: border-box;
    padding: 20px 16px !important;
  }

  .advanced-slider--0 .advanced-slider__caption__inner__content {
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
  }

  .advanced-slider--0 .advanced-slider__caption__inner__content__heading {
    font-size: clamp(23px, 6vw, 30px) !important;
    line-height: 1.5 !important;
    margin: 0 0 12px !important;
    white-space: normal !important;
    text-wrap: balance;
  }

  .advanced-slider--0 .advanced-slider__caption__inner__content__text {
    font-size: 16px !important;
    line-height: 1.7 !important;
    margin: 0 !important;
  }

  .advanced-slider--0 .advanced-slider__caption__inner__content__button {
    margin-top: 18px !important;
    padding: 10px 22px !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
  }
}/* تقليل ارتفاع التذييل */
.store-footer .store-footer__inner {
  padding-top: 24px !important;
  padding-bottom: 18px !important;
}

.store-footer .store-footer__grid {
  row-gap: 18px !important;
  align-items: start !important;
}

/* ترتيب الروابط المهمة بعمودين */
.store-footer .store-links-items {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 4px 20px !important;
  direction: rtl;
  text-align: right;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

.store-footer .store-links-items li {
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
}

.store-footer .store-footer__menu-link {
  margin: 0 !important;
  padding: 6px 0 !important;
  font-size: 13px !important;
  line-height: 1.7 !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
}

.store-footer .store-footer__menu-title {
  margin: 0 0 12px !important;
}

/* تقليل المسافات حول الشعار والوصف */
.store-footer .store-footer__brand {
  margin-top: 0 !important;
}

.store-footer .store-footer__logo-link img {
  height: auto !important;
  max-height: 48px !important;
  max-width: 160px !important;
  object-fit: contain;
}

.store-footer .footer-description {
  font-size: 12px !important;
  line-height: 1.8 !important;
  margin: 8px 0 12px !important;
}

.store-footer .footer-logos {
  margin-top: 8px !important;
  margin-bottom: 8px !important;
}

/* تصغير مسافات التواصل وحقوق النشر */
.store-footer .store-footer__contacts-row {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

.store-footer .store-footer__social {
  margin-top: 8px !important;
}

.store-footer .store-footer__bottom-inner {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

/* مساحة أوسع للروابط على الكمبيوتر */
@media (min-width: 1024px) {
  .store-footer .store-footer__grid {
    grid-template-columns: 1.2fr 1fr !important;
    column-gap: 40px !important;
  }

  .store-footer .store-footer__apps {
    grid-column: 1 / -1;
  }

  .store-footer .store-footer__apps:not(:has(*)) {
    display: none !important;
  }
}

/* ترتيب مريح على الجوال */
@media (max-width: 1023px) {
  .store-footer .store-footer__grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .store-footer .store-links-items {
    column-gap: 16px !important;
  }

  .store-footer .store-footer__inner {
    padding-top: 20px !important;
    padding-bottom: 12px !important;
  }
}