/* تصغير الحاوية */
#tabbyPromo,
.tamara-summary-widget__container,
.tamara-summary-widget-inline {
  padding: 6px 8px !important;
  border-radius: 10px !important;
  height: auto !important;
}

/* تصغير الارتفاع العام */
#tabbyPromo > div,
.tamara-summary-widget__content {
  min-height: unset !important;
  height: auto !important;
}
  section.sku.details {
 
    padding: .05rem 0.45rem !important;
}
section.is-sold.details{
      padding: .05rem 0.45rem !important;

}
/* تصغير اللوجو داخلهم */
#tabbyPromo img,
.tamara-summary-widget img {
  max-height: 8px !important;
  width: auto !important;
}

/* تقليل الفراغ داخل البوكس */
#tabbyPromo,
.tamara-summary-widget {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
}

.text-xs {
    font-size:6px !important;
    font-weight: 900 !important;
}


/* تصغير المسافة داخل بلوك السعر */
.price.my-1 {
  margin-bottom: 2px !important;
}

/* النص نفسه */
.price.my-1 small.color-grey.da-tm {
  font-size: 10px !important;
  margin: 0 !important;
  position: relative;
  top: -7px; /* هذا اللي يرفعه فعليًا */
  display: block;
}

/* فك قيود الكونتينر لهذا القسم فقط */
.s-block.s-block--payment.container.details {
  max-width: 100% !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.main-content.mob.container {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.s-block--payment ul {
  width: 100% !important;
  justify-content: space-between !important;
}


section.s-block.s-block--payment.container.details.\!py-4 ul.flex.justify-center.items-center.flex-wrap.gap-2 {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 3px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
}

section.s-block.s-block--payment.container.details.\!py-4 ul.flex.justify-center.items-center.flex-wrap.gap-2::-webkit-scrollbar {
  display: none !important;
}

section.s-block.s-block--payment.container.details.\!py-4 ul.flex.justify-center.items-center.flex-wrap.gap-2 > li {
  flex: 0 0 auto !important;
  width: 32px !important;
  min-width: 32px !important;
  height: 22px !important;
  padding: 2px !important;
  margin: 0 !important;
  border-radius: 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

section.s-block.s-block--payment.container.details.\!py-4 ul.flex.justify-center.items-center.flex-wrap.gap-2 > li img {
  max-width: 100% !important;
  max-height: 12px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  margin: 0 !important;
}






.custom-bnpl-box {
  background: #f7f7f7;
  border-radius: 18px;
  padding: 14px;
  margin: 12px 0;
}

.custom-bnpl-title {
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  color: #111;
  margin-bottom: 12px;
  line-height: 1.4;
}

.custom-bnpl-title strong {
  font-weight: 800;
}

.custom-bnpl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.custom-bnpl-card {
  position: relative;
  background: #f8f8f8;
  border-radius: 14px;
  min-height: 78px;
  border: 1px solid #d8d8d8;
  overflow: hidden;
}

.custom-bnpl-face {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 78px;
  padding: 10px 12px;
  pointer-events: none;
}

.custom-bnpl-logo-svg svg {
  display: block;
  width: 120px;
  max-width: 100%;
  height: auto;
}

.custom-bnpl-info {
  width: 25px;
  height: 25px;
  min-width: 25px;
  border: 1px solid #111;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 500;
  color: #111;
  background: #fff;
  line-height: 1;
}

.custom-bnpl-overlay-source {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 0.01 !important;
  z-index: 5 !important;
  margin: 0 !important;
  padding: 0 !important;
  cursor: pointer !important;
  overflow: hidden !important;
}

.custom-bnpl-overlay-tamara tamara-widget,
.custom-bnpl-overlay-tamara {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

.custom-bnpl-overlay-tabby,
.custom-bnpl-overlay-tabby #tabbyPromo {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

.custom-bnpl-overlay-source * {
  max-width: 100% !important;
}

@media (max-width: 768px) {
  .custom-bnpl-box {
    border-radius: 14px;
    padding: 10px;
    margin: 10px 0;
  }

  .custom-bnpl-title {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .custom-bnpl-grid {
    gap: 8px;
  }

  .custom-bnpl-card {
    min-height: 66px;
    border-radius: 12px;
  }

  .custom-bnpl-face {
    min-height: 66px;
    gap: 10px;
    padding: 8px 10px;
  }

  .custom-bnpl-logo-svg svg {
    width: 95px;
  }

  .custom-bnpl-info {
    width: 25px;
    height: 25px;
    min-width: 25px;
    font-size: 16px;
  }
}