.product__description .article--main {
    position: relative;
    max-height: 3.2em; /* تقريباً سطر ونص */
    overflow: hidden;
    transition: max-height .3s ease;
}

.product__description .article--main.expanded {
    max-height: 2000px;
}

.product__description .read-more-btn {
    display: inline-block;
    margin-top: 8px;
    color: #000;
    font-weight: 600;
    cursor: pointer;
}

.product-title-price-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin-bottom:20px;
}

.product-title-price-row h1{
    margin:0 !important;
}

.product-title-price-row .flex.whitespace-nowrap.gap-4.items-center{
    margin:0 !important;
    flex-shrink:0;
}

/* كل الصور المصغرة */
.slide--one-fourth {
    width: 80px !important;
    height: 80px !important;
    aspect-ratio: 1/1 !important;

    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;

    border-radius: 10px !important;
    overflow: hidden !important;
}

/* الصورة نفسها */
.slide--one-fourth img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;

    border: 0 !important;
    box-shadow: none !important;
    background: white !important;
}

/* إزالة أي ستروك من غير المحددة */
.slide--one-fourth:not(.swiper-slide-thumb-active),
.slide--one-fourth:not(.swiper-slide-thumb-active) img {
    border: 0 !important;
    box-shadow: none !important;
}

/* المحددة فقط */
.slide--one-fourth.swiper-slide-thumb-active {
    border: 0 !important;
    box-shadow: inset 0 0 0 1px #000 !important;
}

/* إزالة أي ستروك من الصورة المحددة نفسها */
.slide--one-fourth.swiper-slide-thumb-active img {
    border: 0 !important;
    box-shadow: none !important;
}

#mobile-menu.mobile-menu--moom,
#mobile-menu.mobile-menu--moom * {
  box-sizing: border-box;
}

#mobile-menu.mobile-menu--moom {
  width: 100%;
  max-width: 100vw;
  height: 100dvh;
  overflow-y: auto;
  overflow-x: hidden;
}

#mobile-menu .main-menu {
  width: 100%;
  margin: 0;
  padding: 0;
}

#mobile-menu .mobile-menu-custom-shell {
  width: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

#mobile-menu .mobile-menu-head,
#mobile-menu .mobile-menu-cards-grid,
#mobile-menu .mobile-menu-pages-wrap,
#mobile-menu .mobile-menu-actions-wrap {
  width: 100%;
  flex-shrink: 0;
}

#mobile-menu .mobile-menu-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

#mobile-menu .mobile-menu-card {
  width: 100%;
  min-width: 0;
}

#mobile-menu .mobile-menu-card img {
  max-width: 100%;
  height: auto;
  display: block;
}

#mobile-menu .mobile-menu-pages-wrap {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#mobile-menu .mobile-menu-pages-title,
#mobile-menu .mobile-menu-pages-list,
#mobile-menu .mobile-menu-actions-wrap,
#mobile-menu .mobile-menu-language-btn {
  display: flex;
  visibility: visible !important;
  opacity: 1 !important;
}

#mobile-menu .mobile-menu-pages-title {
  display: block !important;
}

#mobile-menu .mobile-menu-pages-list {
  width: 100%;
  flex-direction: column;
}

#mobile-menu .mobile-menu-actions-wrap {
  width: 100%;
}

#mobile-menu .mobile-menu-language-btn {
  width: 100%;
}

#product-filter.form-input {
    width: 160px !important;
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 16px 0 34px !important;

    background-color: #000 !important;
    color: #fff !important;

    border: none !important;
    border-radius: 12px !important;
    box-shadow: none !important;

    font-size: 14px !important;
    line-height: 32px !important;
}

#product-filter.form-input:focus {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

#product-filter.form-input option {
    background: #fff !important;
    color: #000 !important;
}

/* الكبسولة */
.s-cashback-banner-container{
    display:flex !important;
    align-items:center !important;
    gap:10px !important;

    background:#fff !important;
    border:none !important;
    border-radius:8px !important;

    padding:10px 14px !important;
    width:fit-content !important;
}

/* النجمة */
.s-cashback-banner-icon{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    margin:0 !important;
    flex-shrink:0 !important;
}

.s-cashback-banner-inner-icon svg{
    width:18px !important;
    height:18px !important;
}

.s-cashback-banner-inner-icon svg path{
    fill:#FFD700 !important;
}

/* النص */
.s-cashback-banner-container p{
    margin:0 !important;
    color:#000 !important;
    display:flex !important;
    align-items:center !important;
    gap:4px !important;
    line-height:1.4 !important;
}

.s-cashback-banner-label,
.s-cashback-banner-value,
.s-cashback-banner-value i{
    color:#000 !important;
}

/* إلغاء أي خلفية قديمة */
salla-cashback-banner,
.s-cashback-banner{
    background:transparent !important;
}

@media (max-width: 768px){
    .center-between.w-full:has(.price-wrapper){
        display: none !important;
    }
}


.s-gifting-widget-action.s-button-element{
    background: #000 !important;
    border-color: #000 !important;
    color: #fff !important;
}

.s-gifting-widget-action.s-button-element .s-button-text,
.s-gifting-widget-action.s-button-element span{
    color: #fff !important;
}

.s-gifting-widget-action.s-button-element svg{
    fill: #fff !important;
    color: #fff !important;
}

@media (max-width: 768px) {

    .product-form > section.flex.bg-white.p-5.sm\:pb-0.rounded-md.rounded-b-none {
        display: none !important;
    }

}

.s-gifting-widget-action.s-button-element svg path{
    fill: #fff !important;
}

.product-story__badge{
    background:#000 !important;
    color:#fff !important;
    border:none !important;
    padding:6px 12px !important;
    border-radius:6px !important;
}

.product-story__badge *{
    color:#fff !important;
}

/* English FAQ Only */
.faq-section:has(.faq-section__badge:not(:lang(ar))) {
    direction: ltr !important;
    text-align: left !important;
}

.faq-section:has(.faq-section__badge:not(:lang(ar))) .faq-section__head,
.faq-section:has(.faq-section__badge:not(:lang(ar))) .faq-item__summary,
.faq-section:has(.faq-section__badge:not(:lang(ar))) .faq-item__question,
.faq-section:has(.faq-section__badge:not(:lang(ar))) .faq-item__answer {
    direction: ltr !important;
    text-align: left !important;
}

.faq-section:has(.faq-section__badge:not(:lang(ar))) .faq-item__summary {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}


/* English pages direction fix only */
html[lang="en"] body,
html[lang="en"] .container,
html[lang="en"] .main-content,
html[lang="en"] .product__description,
html[lang="en"] .article--main,
html[lang="en"] .product-title-price-row,
html[lang="en"] .form-label,
html[lang="en"] .product-stock-indicator,
html[lang="en"] .s-breadcrumb-wrapper {
  direction: ltr !important;
  text-align: left !important;
}

/* Product title + price */
html[lang="en"] .product-title-price-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 16px !important;
}

/* Lists inside English description */
html[lang="en"] .article--main ul,
html[lang="en"] .product__description ul {
  padding-left: 22px !important;
  padding-right: 0 !important;
}

/* Price / quantity rows */
html[lang="en"] .center-between {
  direction: ltr !important;
}

/* Fix Arabic "read more" if it appears in English page */
html[lang="en"] .read-more-btn {
  direction: ltr !important;
  text-align: left !important;
}

/* English pages only */
html[lang="en"] .product-more-info-item,
html[lang="en"] .product-more-info-item summary,
html[lang="en"] .product-more-info-item ul,
html[lang="en"] .product-more-info-item li,
html[lang="en"] .product-customer-experience,
html[lang="en"] h4,
html[lang="en"] .product__description {
    direction: ltr !important;
    text-align: left !important;
}

/* Summary */
html[lang="en"] .product-more-info-item summary {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    direction: ltr !important;
}

/* Lists */
html[lang="en"] .product-more-info-item ul {
    list-style-type: disc !important;
    list-style-position: outside !important;
    direction: ltr !important;
    text-align: left !important;
    padding-left: 24px !important;
    padding-right: 0 !important;
    margin: 0 !important;
    display: block !important;
}

html[lang="en"] .product-more-info-item li {
    display: list-item !important;
    direction: ltr !important;
    text-align: left !important;
    float: none !important;
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
}

/* Force marker left */
html[lang="en"] .product-more-info-item li::before {
    content: none !important;
}

/* See the Look */
html[lang="en"] h4 {
    text-align: left !important;
}

/* Bullet alignment */
html[lang="en"] .product-more-info-item ul {
    direction: ltr !important;
    text-align: left !important;
    list-style-type: disc !important;
    list-style-position: outside !important;
    padding-left: 24px !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
}

html[lang="en"] .product-more-info-item li {
    direction: ltr !important;
    text-align: left !important;
    display: list-item !important;
    list-style-type: disc !important;
    list-style-position: outside !important;
}

/* لا تنشئ نقطة وهمية */
html[lang="en"] .product-more-info-item li::before {
    content: unset !important;
}

/* English footer titles */
html[lang="en"] .store-footer-v2__col h4 {
    font-size: 0 !important;
}

html[lang="en"] .store-footer-v2__col h4::after {
    content: "Store Links";
    font-size: 16px;
}

/* Footer menu links */
html[lang="en"] a[href*="/en/blog"] {
    font-size: 0 !important;
}

html[lang="en"] a[href*="/en/blog"]::after {
    content: "Blog";
    font-size: 14px;
}

html[lang="en"] a[href*="سياسة-الإستبدال-والإسترجاع"] {
    font-size: 0 !important;
}

html[lang="en"] a[href*="سياسة-الإستبدال-والإسترجاع"]::after {
    content: "Returns & Exchanges";
    font-size: 14px;
}

html[lang="en"] a[href*="سياسة-الاستخدام-والخصوصية"] {
    font-size: 0 !important;
}

html[lang="en"] a[href*="سياسة-الاستخدام-والخصوصية"]::after {
    content: "Privacy Policy";
    font-size: 14px;
}

/* My Account button */
html[lang="en"] a[href="/en/profile"],
html[lang="en"] a[href*="/en/profile"] {
    font-size: 0 !important;
}

/* مسافة بين الكاش باك وتمارا */
salla-cashback-banner {
    display: block !important;
    margin-bottom: 14px !important;
}

/* حاوية تمارا */
salla-installment {
    display: block !important;
    margin-top: 14px !important;
}

salla-installment > div,
salla-installment .mb-5 {
    background: #fff !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
    border-radius: 12px !important;
    margin: 0 0 18px 0 !important;
    padding: 0 !important;
}

/* تمارا */
salla-installment {
  display: block !important;
  margin-top: 14px !important;
}

salla-installment .mb-5 {
  background: #fff !important;
  margin: 14px 0 18px 0 !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

/* محاولة تغيير متغير الستروك من كل المستويات */
salla-installment,
salla-installment *,
tamara-widget,
tamara-widget * {
  --inline-border-color: #ffffff !important;
}

/* العنصر الحقيقي داخل تمارا */
html body .tamara-summary-widget__container,
html body .tamara-summary-widget--inline-outlined {
  --inline-border-color: #ffffff !important;
  border: 1px solid #ffffff !important;
  border-color: #ffffff !important;
  box-shadow: none !important;
  outline: none !important;
  background: #ffffff !important;
}

/* إخفاء نسخة السعر المكررة */
.product-title-price-row .product-summary-price {
  display: none !important;
}

/* إخفاء زر "اعرف المزيد" المكرر */
.product__description span.read-more-btn {
  display: none !important;
}

/* لون خلفية أيقونة الكاش باك */
.s-cashback-banner-icon,
.s-cashback-banner-inner-icon {
  background: var(--color-primary, #d9a441) !important;
}