/* 1. السعر الحالي (الأسود الكبير) */
#sale-price {
    color: #0f1111 !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    display: block !important; /* إجبار السعر على أخذ سطر كامل */
    margin-bottom: 2px !important; /* مسافة بسيطة جداً قبل السطر الذي تحته */
}

/* إضافة "درهم" للسعر الحالي وإخفاء العملة القديمة */
span[class*="font-[inherit]"] { display: none !important; }

#sale-price::after {
    content: " درهم" !important;
    font-size: 14px !important;
    font-weight: normal !important;
    color: #0f1111 !important;
}

/* 2. السعر قبل الخصم (السطر المشطوب بالكامل تحت السعر الحالي) */
.line-through {
    color: #999999 !important; /* رصاصي فاتح هادئ */
    font-size: 14px !important; /* حجم أصغر */
    text-decoration: none !important; /* سنستخدم الشطب اليدوي لضمان اتصاله */
    display: block !important; /* إجبار السطر على البدء من الأسفل */
    width: fit-content !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* إضافة "قبل الخصم" و "درهم" في سطر واحد مشطوب */
.line-through::before {
    content: "قبل الخصم: " !important;
    text-decoration: none !important;
}

.line-through::after {
    content: " درهم" !important;
    text-decoration: none !important;
}

/* رسم خط الشطب المتصل فوق السطر بالكامل */
.line-through::after {
    content: " درهم" !important;
}

/* إضافة خط الشطب اليدوي */
.line-through::before {
    content: "قبل الخصم: ";
}

/* هذا التنسيق يضمن رسم خط واحد مستمر من البداية للنهاية */
.line-through {
    background: linear-gradient(transparent 47%, #999999 48%, #999999 52%, transparent 53%);
}

/* إخفاء أي مسافات أو عناصر زائدة قد تعيق النزول للسطر التالي */
div.flex.items-center.gap-x-1 {
    display: block !important;
}
div.flex.items-center.gap-x-3 {
    display: block !important;
}