.advanced-slider__caption{
  align-items: flex-end;
  top: -50px;
color:white;
}

.animated-text{
  font-size:20px;
  font-weight: 600;
}

.border-primary, .min-h-\[40px\], .s-block--testimonials .testimonials-item:after, .testimonials__view-all-wrap{
display: none;
}

.advanced-slider__caption__inner__content__button span {
    color: #6B0D10 !important;
}

.advanced-slider__caption__inner__content__button {
    border: 2px solid #6B0D10;
    border-radius: 4px;
}


section.s-block--three-banners {
  background-color: #6B0D10 !important;
  padding: 40px 0 !important;
  margin-top: 0;
}

.s-block--notification-bar{
  padding: 1.75rem 0;
}


.s-payments-list-item, .bg-primary{
  background-color: transparent;
}

.leading-tight{
display: none;
}

section.s-block--testimonials {
  margin-top: -20px !important;    /* المسافة من الأعلى */
}

button.s-button-element.s-button-btn.s-button-outline.s-button-sm.s-button-wide.s-button-primary-outline.s-button-loader-center {
    background-color: #6B0D10 !important;
    color: #ffffff !important; /* Ensures text is readable on the dark background */
   border-color: #6B0D10 !important; /* Matches border to the new background */
  border-radius: 5px;
}  

.product-card__content{
  background-color: #F9F8F5;
}


/* Targets the banner wrappers */
.three-banners__row .banner {
  padding-left: 20px !important;
  padding-right: 20px !important;
  padding-top: 15px !important;
  box-sizing: border-box; /* Ensures padding doesn't increase total width */
}

/* Ensure the image respects the padding */
.three-banners__image {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important; /* Use contain to avoid cropping if the ratio changes */
}


/* Target the star spans and their SVGs */
.s-rating-stars-wrapper .s-rating-stars-btn-star svg,
.s-rating-stars-wrapper .s-rating-stars-btn-star svg path {
  fill: #8B4513 !important; /* SaddleBrown */
}

/* If the component uses CSS variables for the star color, you can also try: */
salla-rating-stars {
  --s-rating-stars-color: #8B4513 !important;
}








/* الحاوية الرئيسية الموحدة للجداول */
.custom-size-guide-wrapper {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 30px 15px;
  background-color: #fcf8f6;
  box-sizing: border-box;
  direction: rtl;
  color: #3b1e22;
}

/* جدول المقاسات */
.minimal-size-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  margin-bottom: 40px;
}

.minimal-size-table th {
  padding: 14px 8px;
  font-size: 14px;
  font-weight: 700;
  color: #3b1e22;
  border-top: 1px solid #3b1e22;
  border-bottom: 1px solid #3b1e22;
  white-space: nowrap;
}

.minimal-size-table td {
  padding: 16px 8px;
  font-size: 14px;
  color: #3b1e22;
  border-bottom: 1px solid #e2d8d5;
  vertical-align: middle;
}

/* الشارة الموحدة للفاكهة والمقاس */
.fruit-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.fruit-badge .icon {
  font-size: 18px;
  line-height: 1;
}

.fruit-badge .label {
  font-size: 12px;
  font-weight: 800;
  color: #3b1e22;
}

/* قسم شرح أخذ المقاس الموحد */
.how-to-measure-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 10px;
}

.measure-info {
  flex: 1;
  text-align: right;
}

.measure-title {
  font-size: 18px;
  font-weight: 800;
  color: #3b1e22;
  margin-top: 0;
  margin-bottom: 16px;
}

.measure-item {
  font-size: 13px;
  line-height: 1.6;
  color: #4a3335;
  margin-bottom: 12px;
}

.measure-item strong {
  color: #3b1e22;
  font-weight: 700;
}

.measure-image {
  width: 180px;
  flex-shrink: 0;
}

.measure-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

/* التجاوب مع شاشات الجوال */
@media (max-width: 576px) {
  .how-to-measure-section {
    flex-direction: column-reverse;
    text-align: center;
  }

  .measure-info {
    text-align: center;
  }

  .measure-image {
    width: 100%;
    max-width: 220px;
  }

  .minimal-size-table th, 
  .minimal-size-table td {
    padding: 12px 4px;
    font-size: 12px;
  }

  .fruit-badge .icon {
    font-size: 16px;
  }
}