/* Add custom CSS styles below */ 
.s-product-card-out-of-stock .s-product-card-image,
.s-product-card-out-of-stock .s-product-card-image-full {
  position: relative;
}

.s-product-card-out-of-stock .s-product-card-image::after,
.s-product-card-out-of-stock .s-product-card-image-full::after {
  content: "نفدت الكمية";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-18deg);
  z-index: 2;
  box-sizing: border-box;
  width: max-content;
  max-width: 85%;
  padding: 8px 14px;
  border: 3px solid rgba(190, 25, 35, 0.65);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(190, 25, 35, 0.72);
  font-family: inherit;
  font-size: clamp(17px, 2.5vw, 25px);
  font-weight: 900;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
}
body.theme-raed.product-single .main-content > .product-brand {
  position: relative;
  box-sizing: border-box;
  display: block;
  width: 100% !important;
  min-height: 104px;
  margin: 0 0 24px !important;
  padding: 18px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  direction: rtl;
  text-align: right;
}

body.theme-raed.product-single .main-content > .product-brand::before {
  content: "أصلي 100%";
  display: block;
  padding-inline-start: 88px;
  margin-bottom: 4px;
  color: #22c55e;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
}

body.theme-raed.product-single .product-brand > a.brand-logo {
  display: block !important;
  width: auto !important;
  height: auto !important;
  padding-inline-start: 88px;
  color: #363636;
  font-size: 14px;
  line-height: 1.8;
  text-decoration: none;
  overflow-wrap: anywhere;
}

body.theme-raed.product-single .product-brand > a.brand-logo > img {
  position: absolute;
  inset-inline-start: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 64px !important;
  height: 56px !important;
  max-width: 64px;
  max-height: 56px;
  object-fit: contain;
}

body.theme-raed.product-single .product-brand > a.brand-logo::before {
  content: "اضغط هنا للمزيد من ماركة ";
  color: #363636;
}

body.theme-raed.product-single .product-brand > a.brand-logo::after {
  content: attr(title);
  color: var(--color-primary, #55a9be);
  text-decoration: underline;
}
body.theme-raed .s-product-card-content-sub:has(.s-product-card-price, .s-product-card-sale-price),
body.theme-raed.product-single .main-content [data-testid="store-product-price"],
body.theme-raed.product-single .main-content .price-wrapper {
  flex-wrap: wrap !important;
  row-gap: 4px !important;
}

body.theme-raed .s-product-card-content-sub:has(.s-product-card-price, .s-product-card-sale-price)::after,
body.theme-raed.product-single .main-content [data-testid="store-product-price"]::after,
body.theme-raed.product-single .main-content .price-wrapper::after {
  content: "شامل الضريبة";
  display: block;
  flex: 0 0 100%;
  width: 100%;
  order: 99;
  color: #6b7280;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  text-align: start;
  white-space: nowrap;
}