/* Add custom CSS styles below */ 

/* HAMEEM - Brand alignment and registration position */

/* Make the brand column a positioning context */
.store-footer__brand {
  position: relative !important;
  padding-bottom: 58px !important;
}

/* Center the logo and brand description */
.store-footer__brand .store-footer__logo-link {
  justify-content: center !important;
  width: 100% !important;
}

.store-footer__brand .footer-description {
  text-align: center !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.store-footer__brand .footer-description p {
  text-align: center !important;
}

/* Move commercial registration to the left */
.store-footer__brand .footer-badges {
  position: absolute !important;
  left: 0 !important;
  bottom: 0 !important;
  justify-content: flex-start !important;
  width: auto !important;
}

/* Keep the registration badge content aligned */
.store-footer__brand salla-trust-badges {
  justify-content: flex-start !important;
}

/* Mobile: return the badge to normal flow */
@media (max-width: 767px) {
  .store-footer__brand {
    padding-bottom: 0 !important;
  }

  .store-footer__brand .footer-badges {
    position: static !important;
    justify-content: center !important;
    margin-top: 16px !important;
  }
}

/* HAMEEM - Commercial Registration Badge */

@media (min-width: 1024px) {
  .store-footer__brand .footer-badges {
    position: absolute !important;
    left: 0 !important;
    right: calc(100% + 100px) !important;
    top: 180px !important;
    bottom: auto !important;
    width: max-content !important;
    display: flex !important;
    justify-content: flex-start !important;
    z-index: 5 !important;
  }

  .store-footer__brand .footer-badges salla-trust-badges {
    display: flex !important;
    align-items: center !important;
  }

  .store-footer__brand .s-trust-badges-image {
    width: 55px !important;
    height: 55px !important;
    object-fit: contain !important;
  }
}

@media (max-width: 1023px) {
  .store-footer__brand .footer-badges {
    position: static !important;
    justify-content: center !important;
    margin-top: 16px !important;
  }
}

/* تصغير صورة السجل التجاري */
.store-footer__brand .s-trust-badges-image {
  width: 38px !important;
  height: 38px !important;
  object-fit: contain !important;
}
/* تحويل زر إضافة السلة من Stroke إلى Fill */
@media screen and (min-width: 768px) {
  button.s-button-element.s-button-outline.s-button-primary-outline:not([aria-label="Quick view"]):not([aria-label="Add or remove to wishlist"]) {
    background: #1e3453 !important;
    background-color: #1e3453 !important;
    color: #ffffff !important;
    border: 1px solid #1e3453 !important;
  }

  button.s-button-element.s-button-outline.s-button-primary-outline:not([aria-label="Quick view"]):not([aria-label="Add or remove to wishlist"]) .s-button-text,
  button.s-button-element.s-button-outline.s-button-primary-outline:not([aria-label="Quick view"]):not([aria-label="Add or remove to wishlist"]) i {
    color: #ffffff !important;
  }
}

/* إخفاء المعاينة والمفضلة من الكمبيوتر فقط */
@media (min-width: 768px) {
  button[aria-label="Quick view"],
  button[aria-label="Add or remove to wishlist"] {
    display: none !important;
  }
}