/* Add custom CSS styles below */ 
/* الحاوية العامة */
.custom-price-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0;
  width: 100%;
  max-width: 320px;
  font-family: inherit;
  direction: rtl;
}

/* الكرت الأساسي */
.price-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #e5e5e5;
  background: #fff;
  transition: all 0.25s ease;
  gap: 10px;
}

.price-option:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

/* الأيقونة */
.price-option .icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 17px;
  flex-shrink: 0;
  order: 1;
}

.price-option .icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

/* منطقة المعلومات */
.price-option .info {
  flex: 1;
  text-align: right;
  order: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

/* السعر */
.price-option .price {
  font-size: 14px;
  font-weight: bold;
  color: #222;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  line-height: 1.3;
}

/* الوصف */
.price-option .label {
  font-size: 11px;
  color: #666;
  display: block;
  margin-top: 2px;
  line-height: 1.3;
}

/* شارة "وفر" */
.price-option .save-badge {
  background: #16a34a;
  color: #fff;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 14px;
  font-weight: bold;
  white-space: nowrap;
}

/* ====== Visa / MasterCard (برتقالي) ====== */
.price-option.credit {
  background: #fffaf0;
  border-color: #ffe0a3;
}
.price-option.credit .icon {
  background: #fff3d6;
  color: #d97706;
}

/* ====== STC Pay (بنفسجي) ====== */
.price-option.stcpay {
  background: #f3eeff;
  border-color: #d9c8ff;
}
.price-option.stcpay .icon {
  background: #e4d4ff;
  color: #6b21a8;
}

/* ====== mada (أخضر فاتح + شعار بألوان mada) ====== */
.price-option.mada {
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.price-option.mada .label {
  color: #666 !important;
  font-weight: normal;
}

.price-option.mada .icon {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 0;
  width: 44px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.price-option.mada .mada-logo {
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: -0.5px;
  background: linear-gradient(
    to bottom,
    #0a5ea8 0%,
    #0a5ea8 45%,
    #ffffff 45%,
    #ffffff 55%,
    #2bad27 55%,
    #2bad27 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1;
}

/* ====== التحويل البنكي (أخضر) ====== */
.price-option.bank {
  background: #f0fdf4;
  border-color: #bbf7d0;
}
.price-option.bank .icon {
  background: #d1fae5;
  color: #047857;
}

/* إخفاء صندوق السعر الأصلي بعد حقن الكروت */
.main-content .flex.whitespace-nowrap.gap-4.items-center:has(.custom-price-options) > div:not(.custom-price-options) {
  display: none !important;
}

/* ============================================
   تنسيق قسم "اختر سبيكتك بثقة"
   ============================================ */

h3.text-lg.font-bold.leading-12 {
  font-size: 38px !important;
  line-height: 1.3 !important;
  text-align: center !important;
  margin-bottom: 18px !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px;
}

p.text-sm.line-clamp-2.max-w-lg {
  font-size: 18px !important;
  text-align: center !important;
  max-width: 100% !important;
  line-height: 1.7 !important;
  margin-bottom: 30px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  opacity: 0.95;
}

h3.text-lg.font-bold.leading-12,
p.text-sm.line-clamp-2.max-w-lg {
  display: block;
  width: 100%;
}

/* تجاوب الموبايل */
@media (max-width: 768px) {
  h3.text-lg.font-bold.leading-12 {
    font-size: 26px !important;
  }
  p.text-sm.line-clamp-2.max-w-lg {
    font-size: 15px !important;
  }
}