/* إخفاء وسائل الدفع */
.s-payments-list {
  display: none !important;
}


/* إخفاء خطوط عناوين البلوكات والكروت */
.home-block-title > div[class*="border"],
.home-block-title .home-block-line,
.s-block__title > div[class*="border-primary"] {
  display: none !important;
}


/* زر الإضافة للسلة في كروت المنتجات وصفحة المنتج */
.product-card--primary-buttons button,
.product-card--primary-buttons salla-button,
.product-form salla-add-product-button .s-button-element,
.product-form salla-button .s-button-element,
.product-form button[type="submit"],
salla-add-product-button[width="wide"] .s-button-element {
  border-color: #000000 !important;
  color: #ffffff !important;
  background-color: #222214 !important;
}


/* لون الأيقونة داخل زر الإضافة للسلة */
.product-card--primary-buttons button i,
.product-card--primary-buttons salla-button i,
.product-form salla-add-product-button .s-button-element i,
.product-form salla-button .s-button-element i,
.product-form button[type="submit"] i,
salla-add-product-button[width="wide"] .s-button-element i {
  color: #ffffff !important;
}


/* إلغاء بوردر كروت المنتجات */
body.products-has-border .product-card {
  border: 1px solid transparent !important;
}


/* إخفاء أزرار كروت المنتجات */
.product-card__buttons {
  display: none !important;
}


/* إخفاء الصف الثاني من البراندات */
.s-block--animated-brands--wrapper
.s-block--animated-brands--marquee:nth-of-type(2) {
  display: none !important;
}


/* المنتج غير المتوفر داخل كروت المنتجات وصفحة المنتج */
.product-card__normal-cart
salla-add-product-button[product-status="out"]
.s-button-element,

.product-card__normal-cart
.s-button-element[product-status="out"],

.product-card__normal-cart
.s-button-disabled,

.product-form
salla-add-product-button[product-status="out"]
.s-button-element,

.product-form
salla-add-product-button[product-status="out"]
button,

.product-form
.s-button-disabled,

salla-add-product-button[product-status="out"][width="wide"]
.s-button-element {
  background: #e5e7eb !important;
  border-color: #d1d5db !important;
  color: #6b7280 !important;
  opacity: 1 !important;
  cursor: not-allowed !important;
}


/* أيقونة زر المنتج غير المتوفر */
.product-card__normal-cart
salla-add-product-button[product-status="out"]
.s-button-element i,

.product-card__normal-cart
.s-button-disabled i,

.product-form
salla-add-product-button[product-status="out"]
.s-button-element i,

.product-form
.s-button-disabled i,

salla-add-product-button[product-status="out"][width="wide"]
.s-button-element i {
  color: #6b7280 !important;
}


/* إخفاء طرق الاستلام */
.salla-fulfillment-methods {
  display: none !important;
}


/* ضبط المسافات في النصوص */
body,
button,
input,
textarea,
select,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
span {
  word-spacing: 2px;
  letter-spacing: 0 !important;
}


/* تنزيل محتوى بنر الهوم لأسفل على الديسكتوب */
@media screen and (min-width: 768px) {
  section.advanced-slider--0
  .advanced-slider__caption {
    display: flex !important;
    align-items: center !important;
  }

  section.advanced-slider--0
  .advanced-slider__caption
  > .container {
    width: 100% !important;
  }

  section.advanced-slider--0
  .advanced-slider__caption__inner {
    position: relative !important;
    top: 190px  !important;
    bottom: auto !important;
  }

  section.advanced-slider--0
  .advanced-slider__caption__inner__content {
    position: relative !important;
    top: 0 !important;
    transform: none !important;
  }
}



/* الديسكتوب العادي والكبير */
@media screen and (min-width: 1281px) {
  section.advanced-slider--0
  .advanced-slider__caption__inner {
    top: 190px !important;
  }
}

/* شاشات اللابتوب والديسكتوب الأصغر */
@media screen and (min-width: 768px) and (max-width: 1280px) {
  section.advanced-slider--0
  .advanced-slider__caption__inner {
    top: 130px !important;
  }
}






/* الديسكتوب الكبير — كل البنرات */
@media screen and (min-width: 1281px) {
  section.advanced-slider
  .advanced-slider__caption__inner {
    position: relative !important;
    top: 190px !important;
  }
}


/* اللابتوب والديسكتوب الأصغر — كل البنرات */
@media screen and (min-width: 768px) and (max-width: 1280px) {
  section.advanced-slider
  .advanced-slider__caption__inner {
    position: relative !important;
    top: 130px !important;
  }
}





/* الموبايل */
#bab-sharqi-custom-product-image {
  display: block !important;

  width: 108% !important;
  max-width: none !important;
  height: auto !important;

  margin-top: 24px !important;
  margin-bottom: 0 !important;
  margin-right: -4% !important;
  margin-left: -4% !important;

  border-radius: 8px;
}


@media screen and (min-width: 768px) {
  #bab-sharqi-custom-product-image {
    width: 88% !important;
    max-width: 520px !important;
    height: auto !important;

    margin-top: 28px !important;
    margin-bottom: 0 !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }
}






.HubLauncher-floatingWidget-JRiXT,
[class*="HubLauncher-floatingWidget"],
[data-testid="hub-widget-container"] {
  display: none !important;
}





@media (max-width: 767px) {
.carousel-slider .swiper, salla-slider[type]:not(.hydrated) .swiper>div>div, salla-slider[type]:not(.hydrated)>div {
    display: flex;
    margin-left: -1.625rem;
    margin-right: -0.635rem;
    padding-left: 5px;
    padding-right: 5px;
}
}









@media screen and (max-width: 767px) {

  /* إخفاء أسهم سلة الأصلية نهائيًا */
  .s-block--product-tabs .s-slider-block__title,
  .s-block--product-tabs .s-slider-block__title-left,
  .s-block--product-tabs .s-slider-block__title-nav,
  .s-block--product-tabs .s-slider-nav-arrow,
  .s-block--product-tabs .s-slider-prev,
  .s-block--product-tabs .s-slider-next {
    display: none !important;
    visibility: hidden !important;
  }

  /* المساحة الجانبية والسيكشن المرجعي للأسهم */
  .s-block--product-tabs .product-tab-content > .container {
    position: relative !important;
    overflow: visible !important;
    padding-right: 12px !important;
    padding-left: 12px !important;
  }

  /* السلايدر */
  .s-block--product-tabs .carousel-slider .swiper {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  /* منتجان فقط في الفيو */
  .s-block--product-tabs .carousel-slider .swiper-slide {
    width: calc(50% - 5px) !important;
    min-width: calc(50% - 5px) !important;
    max-width: calc(50% - 5px) !important;

    margin-left: 10px !important;
    margin-right: 0 !important;

    box-sizing: border-box !important;
    flex-shrink: 0 !important;
  }

  .s-block--product-tabs .carousel-slider .swiper-slide:last-child {
    margin-left: 0 !important;
  }

  /* الأسهم الجديدة */
  .bab-custom-carousel-arrow {
    position: absolute !important;
    top: var(--bab-arrow-top, 50%) !important;
    z-index: 999 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 50% !important;

    background: #222214 !important;
    color: #ffffff !important;

    transform: translateY(-50%) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18) !important;

    cursor: pointer !important;
    touch-action: manipulation !important;
  }

  /* السهم اليمين */
  .bab-custom-carousel-arrow--right {
    right: 2px !important;
    left: auto !important;
  }

  /* السهم الشمال */
  .bab-custom-carousel-arrow--left {
    left: 2px !important;
    right: auto !important;
  }

  .bab-custom-carousel-arrow svg {
    width: 15px !important;
    height: 15px !important;
    display: block !important;
    fill: currentColor !important;
  }

  .bab-custom-carousel-arrow path {
    fill: currentColor !important;
  }

  .bab-custom-carousel-arrow:disabled {
    opacity: 0.3 !important;
    pointer-events: none !important;
  }
}

@media screen and (min-width: 768px) {
  .bab-custom-carousel-arrow {
    display: none !important;
  }
}





.scroll-to-top {
    border-radius: 50%;
    -webkit-border-radius: 50%;
    bottom: 15px;
    cursor: pointer;
    display: none;
    filter: alpha(opacity=0);
    height: 46px;
    position: fixed;
    text-align: center;
    width: 46px;
    z-index: 9;
}














/* إزالة أي خط قديم من الفوتر والسيكشن السابق */
footer,
footer > div,
.footer-bottom,
.footer-bottom > .container,
.footer-bottom ~ *,
.footer-bottom::before,
.footer-bottom::after,
.footer-bottom > .container::before,
.footer-bottom > .container::after {
  border-top: 0 !important;
  border-bottom: 0 !important;
  border-image: none !important;
  outline: 0 !important;
  box-shadow: none !important;
}

/* إزالة الخط المنقط من العنصر الموجود مباشرة قبل footer-bottom */
.footer-bottom > * {
  border: 0 !important;
}

.footer-bottom {
  position: relative !important;
  background-image: none !important;
}

/* خط سوليد واحد فقط */
.footer-bottom::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 1px !important;
  background: #e5e5e5 !important;
  border: 0 !important;
}
















/* =========================================================
   BAB SHARQI FOOTER — FINAL LEGAL BLOCK
========================================================= */

.store-footer,
.store-footer * {
  box-sizing: border-box;
}

/* =========================================================
   MAIN FOOTER SPACING
========================================================= */

.store-footer .store-footer__inner {
  padding-top: 44px !important;
  padding-bottom: 38px !important;
}

.store-footer .store-footer__inner .grid {
  align-items: flex-start !important;
  column-gap: 30px !important;
  row-gap: 32px !important;
}

/* =========================================================
   BRAND COLUMN
========================================================= */

.store-footer [data-selia="footer-brand-column"] {
  width: 100% !important;
  margin: 0 !important;

  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;

  text-align: center !important;
}

/* Main logo */

.store-footer [data-selia="footer-brand-column"] .footer-logo {
  width: 100% !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  margin: 0 0 16px !important;
}

.store-footer [data-selia="footer-brand-column"] .footer-logo img {
  display: block !important;

  width: auto !important;
  height: 90px !important;
  max-width: 165px !important;

  object-fit: contain !important;
  margin: 0 auto !important;
}

/* Hide empty description */

.store-footer [data-selia="footer-brand-column"] .footer-description,
.store-footer [data-selia="footer-brand-column"] .ql-align-right {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Hide original blocks */

.store-footer [data-selia="footer-brand-column"] .footer-badges,
.store-footer
  [data-selia="footer-brand-column"]
  .footer-badges
  + div:not(.bs-company-legal) {
  display: none !important;
}

/* =========================================================
   REDESIGNED LEGAL BLOCK
========================================================= */

.bs-company-legal,
.bs-company-legal * {
  box-sizing: border-box;
}

.bs-company-legal {
  width: 100%;
  max-width: 340px;

  display: flex;
  flex-direction: column;
  align-items: center;

  margin: 0 auto;
  padding: 0;

  direction: rtl;
  color: inherit;
}

/* Company text */

.bs-company-intro {
  width: 100%;
  max-width: 320px;

  margin: 0 auto 16px;
  padding: 0;

  font-family: inherit;
  font-size: 11px;
  line-height: 1.8;
  font-weight: 400;

  color: inherit;
  opacity: 0.86;

  text-align: center;
}

/* =========================================================
   DESKTOP LAYOUT
   Three rows underneath each other
========================================================= */

.bs-company-legal__items {
  width: 100%;

  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;

  margin: 0;
  padding: 0;
}

/* All three items identical */

.bs-company-legal__item {
  width: 100%;
  min-width: 0;
  min-height: 64px;

  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: center;
  gap: 12px;

  margin: 0;
  padding: 0;

  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;

  background: transparent !important;
  box-shadow: none !important;

  color: inherit;
  text-decoration: none;

  direction: rtl;
}

/* Clickable items */

a.bs-company-legal__item {
  transition: opacity 0.2s ease;
}

a.bs-company-legal__item:hover {
  opacity: 0.82;
}

/* Fixed icon column */

.bs-company-legal__icon {
  width: 76px;
  height: 60px;
  min-width: 76px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin: 0;
  padding: 0;
}

/* VAT and trademark images */

.bs-company-legal__item:not(.bs-company-legal__item--made)
  .bs-company-legal__icon
  img {
  display: block;

  width: 54px;
  height: 54px;
  max-width: 54px;
  max-height: 54px;

  object-fit: contain;
  object-position: center;

  margin: 0 auto;
}

/* Text content */

.bs-company-legal__content {
  min-width: 0;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;

  text-align: right;
}

.bs-company-legal__label {
  width: 100%;

  margin: 0 0 3px;
  padding: 0;

  font-family: inherit;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 400;

  color: inherit;
  opacity: 0.72;

  text-align: right;
}

.bs-company-legal__value {
  display: block;
  width: 100%;

  margin: 0;
  padding: 0;

  font-family: inherit;
  font-size: 10px;
  line-height: 1.45;
  font-weight: 700;

  color: inherit;

  direction: ltr;
  text-align: right;
  white-space: nowrap;
}

/* Saudi Made
   Same column starting point as other images
*/

.bs-company-legal__item--made {
  grid-template-columns: 76px minmax(0, 1fr);
}

.bs-company-legal__item--made .bs-company-legal__icon {
  width: 76px;
  height: 64px;
  min-width: 76px;

  justify-content: center;
}

.bs-company-legal__item--made .bs-company-legal__icon img {
  display: block;

  width: 76px;
  height: 64px;
  max-width: 76px;
  max-height: 64px;

  object-fit: contain;
  object-position: center;

  margin: 0 auto;
}

/* Empty content maintains exact alignment */

.bs-company-legal__item--made .bs-company-legal__content {
  min-height: 1px;
}

/* =========================================================
   OTHER FOOTER COLUMNS
========================================================= */

.store-footer .footer-title {
  margin: 0 0 14px !important;

  font-size: 15px !important;
  line-height: 1.5 !important;
  font-weight: 700 !important;
}

.store-footer .footer-list {
  display: flex;
  flex-direction: column;
  gap: 8px;

  margin: 0 !important;
  padding: 0 !important;
}

.store-footer .footer-list li {
  margin: 0 !important;
}

.store-footer .footer-list a {
  display: inline-block;

  font-size: 13px !important;
  line-height: 1.65 !important;
}

.store-footer .s-user-menu-inline {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.store-footer .s-user-menu-dropdown-item {
  margin: 0 !important;
}

.store-footer .s-user-menu-dropdown-item-link {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;

  padding: 0 !important;

  font-size: 13px !important;
  line-height: 1.65 !important;
}

.store-footer .s-user-menu-dropdown-item-prefix {
  width: 18px !important;
  min-width: 18px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.store-footer .s-user-menu-dropdown-item-prefix svg {
  width: 17px !important;
  height: 17px !important;
}

.store-footer .user-contacts {
  display: flex !important;
  flex-direction: column !important;
  gap: 9px !important;
}

.store-footer .links-contact {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;

  font-size: 13px !important;
  line-height: 1.6 !important;
}

/* =========================================================
   FOOTER BOTTOM
========================================================= */

.store-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-bottom: 0 !important;

  background-image: none !important;
  box-shadow: none !important;
}

.store-footer .footer-bottom > .container {
  padding-top: 18px !important;
  padding-bottom: 18px !important;
}

.store-footer .footer-bottom > .container > div {
  gap: 20px !important;
}

.store-footer .footer-rights {
  padding: 0 !important;
}

.store-footer .footer-rights p {
  margin: 0 !important;

  font-size: 12px !important;
  line-height: 1.7 !important;

  text-align: center;
}

.store-footer .s-payments-list {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
}

.store-footer .s-payments-list-item {
  margin: 0 !important;
}

.store-footer .s-payments-list-item img {
  width: auto !important;
  height: 29px !important;
  max-width: 47px !important;

  object-fit: contain !important;
}

.store-footer .s-social-list {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
}

.store-footer .s-social-link {
  margin: 0 !important;
}

.store-footer .s-social-link a {
  width: 33px !important;
  height: 33px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.store-footer .s-social-icon,
.store-footer .s-social-icon svg {
  width: 18px !important;
  height: 18px !important;
}

/* =========================================================
   TABLET
========================================================= */

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .store-footer .store-footer__inner {
    padding-top: 40px !important;
    padding-bottom: 36px !important;
  }

  .store-footer .store-footer__inner .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 28px !important;
    row-gap: 32px !important;
  }

  .store-footer [data-selia="footer-brand-column"] {
    grid-column: 1 / -1 !important;
  }

  .bs-company-legal {
    max-width: 540px;
  }

  .bs-company-intro {
    max-width: 480px;
  }

  .bs-company-legal__items {
    max-width: 340px;
    margin: 0 auto;
  }
}

/* =========================================================
   MOBILE
   All three items beside each other
========================================================= */

@media screen and (max-width: 767px) {
  .store-footer .store-footer__inner {
    padding-top: 30px !important;
    padding-bottom: 26px !important;
  }

  .store-footer .store-footer__inner > .container {
    padding-right: 14px !important;
    padding-left: 14px !important;
  }

  .store-footer .store-footer__inner .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

    column-gap: 16px !important;
    row-gap: 26px !important;
  }

  .store-footer [data-selia="footer-brand-column"] {
    grid-column: 1 / -1 !important;
  }

  .store-footer [data-selia="footer-brand-column"] .footer-logo {
    margin-bottom: 13px !important;
  }

  .store-footer [data-selia="footer-brand-column"] .footer-logo img {
    height: 76px !important;
    max-width: 135px !important;
  }

  .bs-company-legal {
    width: 100%;
    max-width: 340px;
  }

  .bs-company-intro {
    max-width: 300px;

    margin-bottom: 13px;

    font-size: 10px;
    line-height: 1.7;
  }

  /* Three equal columns */

  .bs-company-legal__items {
    width: 100%;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;

    margin: 0 auto;
  }

  .bs-company-legal__item,
  .bs-company-legal__item--made {
    width: 100%;
    min-width: 0;
    min-height: 72px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    gap: 3px;

    margin: 0;
    padding: 0 1px;

    text-align: center;
  }

  /* Normal icons */

  .bs-company-legal__icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }

  .bs-company-legal__item:not(.bs-company-legal__item--made)
    .bs-company-legal__icon
    img {
    width: 38px;
    height: 38px;
    max-width: 38px;
    max-height: 38px;
  }

  /* Saudi image */

  .bs-company-legal__item--made .bs-company-legal__icon {
    width: 66px;
    height: 40px;
    min-width: 66px;
  }

  .bs-company-legal__item--made .bs-company-legal__icon img {
    width: 66px;
    height: 40px;
    max-width: 66px;
    max-height: 40px;
  }

  .bs-company-legal__content {
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
  }

  .bs-company-legal__label {
    width: 100%;

    margin: 0 0 1px;

    font-size: 7.5px;
    line-height: 1.25;

    text-align: center;
  }

  .bs-company-legal__value {
    width: 100%;

    font-size: 6px;
    line-height: 1.3;

    text-align: center;
    white-space: nowrap;
  }

  /* Footer columns */

  .store-footer .footer-title {
    margin-bottom: 11px !important;
    font-size: 14px !important;
  }

  .store-footer .footer-list {
    gap: 7px;
  }

  .store-footer .footer-list a,
  .store-footer .s-user-menu-dropdown-item-link,
  .store-footer .links-contact {
    font-size: 11px !important;
    line-height: 1.55 !important;
  }

  .store-footer [data-selia="footer-apps-section"]:empty {
    display: none !important;
  }

  /* Footer bottom */

  .store-footer .footer-bottom > .container {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
  }

  .store-footer .footer-bottom > .container > div {
    flex-direction: column-reverse !important;
    gap: 13px !important;
  }

  .store-footer .footer-rights p {
    font-size: 11px !important;
  }

  .store-footer .s-payments-list {
    max-width: 310px;
    margin: 0 auto !important;
    gap: 6px !important;
  }

  .store-footer .s-payments-list-item img {
    height: 25px !important;
    max-width: 40px !important;
  }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media screen and (max-width: 360px) {
  .store-footer .store-footer__inner > .container {
    padding-right: 11px !important;
    padding-left: 11px !important;
  }

  .bs-company-legal {
    max-width: 310px;
  }

  .bs-company-legal__items {
    gap: 3px;
  }

  .bs-company-legal__item,
  .bs-company-legal__item--made {
    min-height: 68px;
  }

  .bs-company-legal__icon {
    width: 35px;
    height: 35px;
    min-width: 35px;
  }

  .bs-company-legal__item:not(.bs-company-legal__item--made)
    .bs-company-legal__icon
    img {
    width: 35px;
    height: 35px;
    max-width: 35px;
    max-height: 35px;
  }

  .bs-company-legal__item--made .bs-company-legal__icon {
    width: 58px;
    height: 37px;
    min-width: 58px;
  }

  .bs-company-legal__item--made .bs-company-legal__icon img {
    width: 58px;
    height: 37px;
    max-width: 58px;
    max-height: 37px;
  }

  .bs-company-legal__label {
    font-size: 7px;
  }

  .bs-company-legal__value {
    font-size: 5.5px;
  }
}






/* تكبير صورة صناعة سعودية */

.bs-company-legal__item--made .bs-company-legal__icon {
  width: 88px !important;
  height: 70px !important;
  min-width: 88px !important;
}

.bs-company-legal__item--made .bs-company-legal__icon img {
  width: 88px !important;
  height: 70px !important;
  max-width: 88px !important;
  max-height: 70px !important;
  object-fit: contain !important;
}

/* الموبايل */
@media screen and (max-width: 767px) {
  .bs-company-legal__item--made .bs-company-legal__icon {
    width: 72px !important;
    height: 46px !important;
    min-width: 72px !important;
  }

  .bs-company-legal__item--made .bs-company-legal__icon img {
    width: 72px !important;
    height: 46px !important;
    max-width: 72px !important;
    max-height: 46px !important;
  }
}




/* تكبير صورة صناعة سعودية فعليًا على الديسكتوب */
.bs-company-legal__item--made {
  overflow: visible !important;
}

.bs-company-legal__item--made .bs-company-legal__icon {
  width: 110px !important;
  height: 76px !important;
  min-width: 110px !important;
  overflow: visible !important;
}

.bs-company-legal__item--made .bs-company-legal__icon img {
  width: 110px !important;
  height: 76px !important;
  max-width: none !important;
  max-height: none !important;

  object-fit: contain !important;
  transform: scale(1.45) !important;
  transform-origin: center !important;
}

/* الموبايل */
@media screen and (max-width: 767px) {
  .bs-company-legal__item--made .bs-company-legal__icon {
    width: 76px !important;
    height: 48px !important;
    min-width: 76px !important;
  }

  .bs-company-legal__item--made .bs-company-legal__icon img {
    width: 76px !important;
    height: 48px !important;
    transform: scale(1.25) !important;
  }
}
salla-delivery-promise {
    display: none !important;
}

/* إخفاء شعار الماركة (باب شرقي) في صفحة المنتج */
.product-single__brand-row .brand-logo {
    display: none !important;
}

/* السعر داخل الشريط السفلي الثابت بصفحة المنتج (جوال) */
@media (max-width: 767px) {
  .sticky-product-bar .sticky-product-bar__quantity {
    gap: 12px;
  }
  .sticky-product-bar .bs-sticky-price {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
  }
  .sticky-product-bar .bs-sticky-price .total-price {
    font-size: 1.35rem !important;
    line-height: 1.2;
  }
  .sticky-product-bar .bs-sticky-price .before-price {
    font-size: .9rem;
  }
  .sticky-product-bar .sticky-product-bar__quantity salla-quantity-input {
    flex: 0 0 150px !important;
    width: 150px !important;
    max-width: 150px;
  }
  .sticky-product-bar .sticky-product-bar__quantity .s-quantity-input-container {
    width: 100% !important;
  }
}

/* صفحة المنتج: اسم المنتج ← السعر (شامل الضريبة) مع المشاركة والمفضلة ← التقييمات */
.product-single__brand-row .product-brand {
    display: none !important;
}
.product-single__info .product-single__title {
    margin-top: 0 !important;
    line-height: 1.5 !important;
}
.bs-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 6px 0 4px;
}
.bs-price-box {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.bs-price-box .product-price-top,
.bs-price-box .product-single__tax-note,
.bs-price-row .product-single__share-row {
    margin: 0 !important;
}
.product-single__info salla-rating-stars {
    margin-top: 4px !important;
    margin-bottom: 12px !important;
}

/* شريط الدفع السفلي (جوال): زرين أكبر - أضف للسلة + Apple Pay */
@media (max-width: 767px) {
  .sticky-product-bar salla-add-product-button {
    gap: 8px !important;
    margin-top: 14px !important;
  }
  .sticky-product-bar salla-add-product-button.s-add-product-button-with-apple-pay > * {
    flex: 1 1 0 !important;
    min-width: 0;
  }
  .sticky-product-bar salla-add-product-button .s-add-product-button-main {
    gap: 8px !important;
  }
  .sticky-product-bar salla-add-product-button .s-add-product-button-main > * {
    flex: 1 1 0 !important;
    min-width: 0;
  }
  /* إخفاء "اشترِ الآن" فقط إذا ظهر Apple Pay */
  .sticky-product-bar salla-add-product-button.s-add-product-button-with-apple-pay salla-mini-checkout-widget {
    display: none !important;
  }
  .sticky-product-bar salla-add-product-button .s-button-element,
  .sticky-product-bar salla-add-product-button .s-fast-checkout-button {
    height: 48px !important;
    min-height: 48px !important;
    font-size: 15px !important;
    width: 100% !important;
  }
  .sticky-product-bar salla-add-product-button salla-quick-buy,
  .sticky-product-bar salla-add-product-button apple-pay-button {
    display: block;
    width: 100% !important;
    height: 48px !important;
    --apple-pay-button-width: 100%;
    --apple-pay-button-height: 48px;
    --apple-pay-button-border-radius: 6px;
  }
  /* إظهار نص "أضف إلى السلة" بجانب الأيقونة */
  .sticky-product-bar salla-add-product-button .s-add-product-button-main .s-button-element {
    gap: 8px;
  }
  .sticky-product-bar salla-add-product-button .s-add-product-button-main .s-button-text {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
  }
  .sticky-product-bar salla-add-product-button .s-add-product-button-main .s-button-text svg {
    width: 18px;
    height: 18px;
  }
  .sticky-product-bar salla-add-product-button .s-add-product-button-sr-only {
    position: static !important;
    width: auto !important;
    height: auto !important;
    clip: auto !important;
    clip-path: none !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
    font-weight: 700;
  }
}

/* شارة "متجر موثّق" في الفوتر بنفس سطر الرقم الضريبي وصناعة سعودية */
.bs-company-legal__item--sbc {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.bs-company-legal__item--sbc iframe.sbc-seal-frame {
    position: static !important;
    inset: auto !important;
    z-index: auto !important;
    display: block;
    width: 127px !important;
    height: 44px !important;
    min-height: 0 !important;
    max-height: 44px !important;
    max-width: none !important;
    opacity: 1 !important;
}
@media (max-width: 767px) {
  /* جوال: الثلاثة في سطر واحد ومتوسّطة أفقيًا وعموديًا */
  .bs-company-legal__item,
  .bs-company-legal__item--made,
  .bs-company-legal__item--sbc {
    justify-content: center !important;
    align-items: center !important;
  }
  .bs-company-legal__item--made .bs-company-legal__content:empty {
    display: none;
  }
  .bs-company-legal__item--sbc iframe.sbc-seal-frame {
    zoom: .82;
  }
}

/* ===== صفحة المنتج: إخفاء خانة (السعر) المكررة داخل نموذج المنتج ===== */
.product-form .product-price-bottom {
  display: none !important;
}


/* ===== صفحة المنتج: بادج توصيل سريع على صورة المنتج (لون الهوية الزيتي) ===== */
.product-single__main-media .s-slider-container::after {
  content: "توصيل سريع";
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  padding: 7px 31px 7px 11px;
  background: var(--color-primary, #59684b) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg transform='matrix(-1 0 0 1 24 0)'%3E%3Cpath d='M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2'/%3E%3Cpath d='M15 18H9'/%3E%3Cpath d='M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14'/%3E%3Ccircle cx='17' cy='18' r='2'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3C/g%3E%3C/svg%3E") no-repeat right 10px center / 15px 15px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
  pointer-events: none;
}

/* ~~~~~ صفحة المنتج (ديسكتوب): تثبيت بادج التوصيل السريع على زاوية الصورة ~~~~~ */
/* الصورة مربعة والحاوية مو مربعة، فنلصق الصورة بالزاوية العلوية اليمنى عشان البادج يركب عليها */
@media (min-width: 768px) {
  .product-single__main-media .s-slider-container .product-single__slide-image {
    object-position: top right !important;
  }
  .product-single__main-media .s-slider-container::after {
    top: 16px;
    right: 16px;
  }
}