/* =========================================================
   معين 2.0 — CSS المتجر الكامل
   مكانه: نسخة «معين 2.0 | تصميم تجريبي جديد» ← إعدادات الثيم ← CSS مخصص
   الصقه كامل كما هو (من أول سطر لآخر سطر) ثم احفظ
   ========================================================= */

/* 1) ألوان الهوية: الكحلي بدل الأزرق الفاتح */
html:root{
  --color-primary:#082C4B;
  --color-primary-dark:#051C30;
  --color-primary-d:#051C30;
  --color-primary-light:#E6EEF7;
  --color-primary-reverse:#FFFFFF;
  --theme-primary-color:#082C4B!important;
}

/* 2) إخفاء تاريخ انتهاء الحملة (المبالغ والنسبة تبقى ظاهرة) */
p.text-red-400[role="status"]{display:none!important}

/* 3) الأزرار العامة */
.s-button-btn,.btn{border-radius:14px!important}
.s-button-primary{box-shadow:0 10px 22px -14px rgba(8,44,75,.8)}

/* ===== معين 2.0 · الهيدر ===== */
.store-header{background-color:#051C30!important;background-image:radial-gradient(900px 320px at 85% -30%,rgba(201,162,74,.22),rgba(201,162,74,0) 70%),linear-gradient(180deg,#051C30 0%,#072640 100%)!important}
.store-header .top-nav,#main-nav{background:transparent!important}
#main-nav{padding-top:12px!important;padding-bottom:22px!important}
#main-nav .main-nav__inner{background:#fff!important;border-radius:22px!important;min-height:88px;padding:8px 26px!important;border:1px solid rgba(8,44,75,.06)!important;box-shadow:0 1px 0 rgba(8,44,75,.04),0 22px 48px -28px rgba(8,44,75,.55)!important}
#main-nav .main-nav__inner>div:has(.navbar-brand){border-color:rgba(201,162,74,.35)!important}
#main-nav .navbar-brand{display:inline-flex;align-items:center}
#main-nav .navbar-brand img{height:60px!important;width:auto!important;max-width:240px!important;object-fit:contain}

#main-nav .main-menu>li>a{font-weight:700!important;color:#082C4B!important;padding:10px 18px!important;border-radius:999px!important;transition:background .2s ease,color .2s ease!important}
#main-nav .main-menu>li>a:hover{background:#F7F3EC!important;color:#9A7629!important}
#main-nav button[name="header-search"]{width:44px;height:44px;border-radius:50%!important;background:#F2F5F9!important;color:#082C4B!important;border:0!important;transition:background .2s ease,color .2s ease}
#main-nav button[name="header-search"]:hover{background:#082C4B!important;color:#fff!important}
#main-nav button[name="header-login"]{display:inline-flex!important;align-items:center;gap:10px;height:44px;padding:0 6px 0 18px!important;border-radius:999px!important;background:#F2F5F9!important;color:#082C4B!important;border:0!important;transition:background .2s ease}
#main-nav button[name="header-login"]:hover{background:#E8EEF5!important}
#main-nav button[name="header-login"] .icon{width:34px;height:34px;border-radius:50%;background:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:15px;color:#082C4B;box-shadow:0 4px 10px -6px rgba(8,44,75,.5)}
#main-nav button[name="header-login"] span{font-weight:700}
#main-nav .s-cart-summary-wrapper{height:44px;padding:0 18px!important;border-radius:999px!important;background:#082C4B!important;color:#fff!important;gap:10px;box-shadow:0 10px 22px -12px rgba(8,44,75,.9);transition:background .2s ease}
#main-nav .s-cart-summary-wrapper:hover{background:#0B3A63!important}
#main-nav .s-cart-summary-wrapper #s-cart-icon,#main-nav .s-cart-summary-wrapper #s-cart-icon i,#main-nav .s-cart-summary-total,#main-nav .s-cart-summary-total i{color:#fff!important;fill:#fff!important}
#main-nav .s-cart-summary-content{margin:0!important}
#main-nav .s-cart-summary-count{background:#C9A24A!important;color:#fff!important;border:2px solid #fff;top:-7px!important;right:-6px!important;left:auto!important;width:22px!important;height:22px!important;font-weight:700}
#quick-donation__trigger{background:linear-gradient(135deg,#D4AF5C,#B48C36)!important;border-color:#B48C36!important;color:#051C30!important;font-weight:700!important;box-shadow:0 12px 26px -10px rgba(180,140,54,.75)!important}
@media (max-width:1023px){
 #main-nav{padding-top:10px!important;padding-bottom:14px!important}
 #main-nav .main-nav__inner{min-height:68px;border-radius:18px!important;padding:8px 12px!important}
 #main-nav .navbar-brand img{height:42px!important;max-width:170px!important}
 #main-nav button[name="header-login"]{display:none!important}
 #main-nav .s-cart-summary-content{display:none!important}
 #main-nav .mburger{width:42px;height:42px!important;border-radius:50%;background:#F2F5F9!important;color:#082C4B!important;display:inline-flex!important;align-items:center;justify-content:center}
 #main-nav button[name="header-search"],#main-nav button[name="header-login"]{width:42px;height:42px;padding:0!important;justify-content:center}
 #main-nav button[name="header-login"] .icon{background:transparent;box-shadow:none}
 #main-nav .s-cart-summary-wrapper{height:42px;padding:0 14px!important}
}

body.index .store-header{background-color:#051C30!important;background-image:radial-gradient(900px 320px at 85% -30%,rgba(201,162,74,.22),rgba(201,162,74,0) 70%),linear-gradient(180deg,#051C30 0%,#072640 100%)!important}
body.index #main-content *:has(.mn-hero){margin-top:0!important;padding-top:0!important}

/* زر التبرع السريع: في الجوال بالرئيسية يكفي شريط التبرع السفلي */
@media (max-width:768px){body.index #quick-donation__trigger{display:none!important}body.index{padding-bottom:0!important}body.index .store-footer__info-bar{padding-bottom:76px!important}}

/* ===== معين 2.0 · الفوتر وبطاقات التبرع ===== */
.s-progress-bar-message{display:none!important}
.s-progress-bar-progress{background:linear-gradient(90deg,#B48C36,#E2C27A)!important}
.s-product-card-entry{border-radius:22px!important;overflow:hidden;background:#fff;border:1px solid #EEF1F5!important;box-shadow:0 18px 40px -26px rgba(8,44,75,.45)!important;transition:transform .25s ease,box-shadow .25s ease}
.s-product-card-entry:hover{transform:translateY(-4px);box-shadow:0 26px 50px -24px rgba(8,44,75,.5)!important}
.s-product-card-promotion-title{background:linear-gradient(135deg,#D4AF5C,#B48C36)!important;color:#fff!important;border-radius:999px!important;font-weight:700!important;box-shadow:0 8px 18px -10px rgba(120,90,30,.8)}
.s-product-card-content-title a{color:#082C4B!important;font-weight:800!important}
.s-product-card-entry .s-button-primary-outline{border-color:#082C4B!important;color:#082C4B!important;border-radius:14px!important;font-weight:700!important}
.s-product-card-entry .s-button-primary-outline:hover{background:#082C4B!important;color:#fff!important}
.store-footer{background:#051C30!important;color:rgba(255,255,255,.78)!important;position:relative}
.store-footer:before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,rgba(201,162,74,0),#C9A24A,rgba(201,162,74,0))}
.store-footer .store-footer__inner{background:transparent!important}
.store-footer .footer-logo{display:inline-flex!important;align-items:center;background:#fff!important;border-radius:16px!important;padding:8px 14px!important;box-shadow:0 14px 30px -18px rgba(0,0,0,.6)!important}
.store-footer .footer-logo img{height:56px!important;width:auto!important;max-width:240px!important;filter:none!important}
.store-footer .footer-title,.store-footer .s-contacts-title{color:#F1D9A0!important;font-weight:800!important}
.store-footer p,.store-footer .s-menu-footer-item,.store-footer .s-contacts-item{color:rgba(255,255,255,.78)!important}
.store-footer a:hover,.store-footer .s-menu-footer-item:hover{color:#F1D9A0!important}
.store-footer .about-store p{max-width:100%!important;line-height:1.95!important}
.store-footer .s-contacts-icon,.store-footer .s-contacts-icon svg{color:#C9A24A!important;fill:#C9A24A!important}
.store-footer .s-social-link a{border-color:rgba(255,255,255,.25)!important;background:rgba(255,255,255,.06);color:#fff!important}
.store-footer .s-social-link a svg{fill:#fff!important}
.store-footer iframe{border-radius:18px}
.store-footer .store-footer__info-bar{background:#03121F!important;border-top:1px solid rgba(255,255,255,.08)!important}
.store-footer .store-footer__info-bar p,.store-footer .store-footer__info-bar a{color:rgba(255,255,255,.55)!important}
.store-footer .s-payments-list-item{background:#fff!important;border-radius:8px!important}

/* ===== معين 2.0 · صفحة التبرع ===== */
body.product-single .product-slider{background:transparent!important;box-shadow:none!important;padding:0!important}
body.product-single .details-slider-wrapper{border-radius:26px!important;overflow:hidden;box-shadow:0 24px 50px -32px rgba(8,44,75,.55)}
body.product-single .product-slider .s-slider-container{border-radius:26px!important;overflow:hidden}
body.product-single .product-slider .swiper-slide img{border-radius:26px}
.promotion-badge{white-space:nowrap;background:linear-gradient(135deg,#D4AF5C,#B48C36)!important;color:#fff!important;border-radius:999px!important;font-weight:700!important;padding:7px 14px!important;box-shadow:0 10px 22px -12px rgba(120,90,30,.9)}
body.product-single .main-content h1{color:#082C4B!important;font-weight:800!important}
body.product-single .product-entry__sub-title{color:#9A7629!important;font-weight:700;font-size:15.5px;margin-top:8px;line-height:1.8}
body.product-single .main-content>div.flex.text-sm{display:inline-flex;align-self:flex-start;width:fit-content!important;max-width:100%;align-items:center;padding:9px 14px;border-radius:999px;background:#F7F3EC;border:1px solid #EADFC6;color:#5B4A23}
body.product-single .main-content>div.flex.text-sm .text-primary{color:#082C4B!important;font-weight:800}
body.product-single .product__description{background:#fff;border:1px solid #E8EDF3;border-radius:20px;padding:20px 22px;position:relative}
body.product-single .product__description:before{content:'';position:absolute;top:22px;bottom:22px;right:0;width:4px;border-radius:4px;background:linear-gradient(180deg,#D4AF5C,#B48C36)}
body.product-single .product__description #more-content{color:#4A5A6A!important;font-size:15.5px;line-height:2}
body.product-single .product__description strong{color:#082C4B}
body.product-single .product__description ul{list-style:none!important;padding:0!important;margin:12px 0!important;display:flex;flex-direction:column;gap:8px}
body.product-single .product__description ul li{list-style:none!important;display:block;position:relative;padding:10px 38px 10px 14px!important;margin:0!important;border-radius:14px;background:#F8FAFC;border:1px solid #E3E8EF;color:#334457;font-size:14.5px;line-height:1.8;white-space:normal}
body.product-single .product__description ul li::marker{content:none}
body.product-single .product__description ul li:before{content:'';position:absolute;right:14px;top:50%;width:10px;height:10px;margin-top:-5px;border-radius:50%;background:linear-gradient(135deg,#D4AF5C,#B48C36)}
body.product-single .product__description ul li strong{color:#9A7629}
body.product-single .gift-block{background:linear-gradient(135deg,#F7F3EC 0%,#EFE3C8 100%)!important;border:1px solid #E8DCC0!important;border-radius:20px!important}
body.product-single .gift-block .gift-icon{color:#B48C36!important}
body.product-single .s-gifting-widget .s-list-tile-item-title h3{color:#082C4B!important;font-weight:800}
body.product-single button.s-gifting-widget-action{border-color:#082C4B!important;color:#082C4B!important;background:#fff!important;border-radius:14px!important;font-weight:700}
body.product-single button.s-gifting-widget-action:hover{background:#082C4B!important;color:#fff!important}
body.product-single .product-donation-area{background:#fff;border:1px solid #E8EDF3;border-radius:24px;padding:22px!important;box-shadow:0 24px 50px -32px rgba(8,44,75,.55)}
body.product-single .s-product-options-option-label b{color:#082C4B!important;font-size:17px;font-weight:800}
body.product-single .s-product-options-option-label small{color:#5B6B7B!important}
body.product-single .s-progress-bar-header{color:#082C4B!important}
body.product-single .s-progress-bar-target-section span:first-child{color:#9A7629;font-weight:800}
body.product-single .s-progress-bar-wrapper{background:#EEF1F5!important}
body.product-single .s-product-options-donation-options{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px!important}
body.product-single .s-product-options-donation-options-item{position:relative;margin:0!important}
body.product-single .s-product-options-donation-options-item:last-child{grid-column:1/-1}
body.product-single .s-product-options-donation-options-item input{position:absolute;opacity:0;pointer-events:none}
body.product-single .s-product-options-donation-options-item label{display:flex!important;align-items:center;justify-content:center;width:100%;min-height:56px;padding:10px!important;border-radius:16px!important;border:1.5px solid #DCE3EC!important;background:#fff!important;color:#082C4B!important;font-weight:800!important;font-size:18px;cursor:pointer;transition:all .2s ease}
body.product-single .s-product-options-donation-options-item:last-child label{font-size:15px;font-weight:700!important;color:#5B6B7B!important;border-style:dashed!important}
body.product-single .s-product-options-donation-options-item label:hover{border-color:#C9A24A!important;background:#FBF8F1!important}
body.product-single .s-product-options-donation-options-item input:checked+label{background:#082C4B!important;border-color:#082C4B!important;color:#fff!important;box-shadow:0 12px 24px -14px rgba(8,44,75,.9)}
body.product-single .s-product-options-donation-input-group .s-form-control{height:54px;border-radius:14px!important;border:1.5px solid #DCE3EC!important;font-size:16px}
body.product-single .s-product-options-donation-input-group .s-form-control:focus{border-color:#C9A24A!important;box-shadow:0 0 0 4px rgba(201,162,74,.15)!important}
body.product-single .s-add-product-button-main .s-button-primary{min-height:56px;border-radius:16px!important;font-size:17px!important;font-weight:800!important;background:linear-gradient(135deg,#0B3A63,#082C4B)!important;border-color:#082C4B!important;box-shadow:0 16px 30px -16px rgba(8,44,75,.95)!important}
body.product-single apple-pay-button{--apple-pay-button-height:52px;--apple-pay-button-border-radius:16px}
@media (max-width:640px){body.product-single .s-product-options-donation-options-item label{min-height:52px;font-size:17px}body.product-single .product-donation-area{padding:16px!important;border-radius:20px}}
/* بطاقات التبرع في التصنيفات والمنتجات المشابهة */
.product-entry{border-radius:22px!important;overflow:hidden;background:#fff;border:1px solid #EEF1F5!important;box-shadow:0 18px 40px -26px rgba(8,44,75,.45)!important;transition:transform .25s ease,box-shadow .25s ease}
.product-entry:hover{transform:translateY(-4px);box-shadow:0 26px 50px -24px rgba(8,44,75,.5)!important}
.product-entry__title{color:#082C4B!important;font-weight:800!important}
.product-entry .progress-bg{background:linear-gradient(90deg,#B48C36,#E2C27A)!important}
.product-entry .form-input{border-radius:12px!important}
.product-entry .s-button-primary-outline{border-color:#082C4B!important;color:#082C4B!important;border-radius:14px!important;font-weight:700!important}
.product-entry .s-button-primary-outline:hover{background:#082C4B!important;color:#fff!important}
body.product-index .main-content h1:empty:before{content:'اختر مشروعك.. وابدأ عطاءك';color:#082C4B;font-weight:800}

/* 6) خلفية رملية دافئة لصفحات التبرع والتصنيفات بدل الأبيض */
body.product-single,body.product-index{background:#F7F3EC!important}
body.product-single #main-content,body.product-index #main-content{padding-bottom:40px}
body.product-single .s-breadcrumb-item a,body.product-index .s-breadcrumb-item a{color:#9A7629!important}
body.product-single .gift-block salla-gifting,body.product-single .gift-block .s-gifting-widget,body.product-single .gift-block .s-list-tile-item{background:transparent!important;box-shadow:none!important;border:0!important}
body.product-single .gift-block{align-items:center!important;gap:14px!important;padding:16px 20px!important}
body.product-single .gift-block .gift-icon{width:48px;height:48px;flex:0 0 48px;border-radius:14px;background:#fff;display:inline-flex!important;align-items:center;justify-content:center;font-size:22px;box-shadow:0 10px 22px -14px rgba(120,90,30,.7)}

/* 7) صفحة التبرع: ترتيب جديد يقدّم صندوق التبرع، وتسميات للمبالغ */
body.product-single .main-content>*{order:20}
body.product-single .main-content>div:has(>h1){order:1}
body.product-single .main-content>div.flex.text-sm{order:2}
body.product-single .main-content>#single-product-form{order:3}
body.product-single .main-content>.gift-block{order:4}
body.product-single .main-content>.share-rate-area{order:5}
body.product-single .main-content>.product__description{order:6}
body.product-single .main-content>div:has(>h1):before{content:'مشروع خيري · جمعية مَعين العيون';display:inline-block;margin-bottom:10px;padding:6px 12px;border-radius:999px;background:#082C4B;color:#F1D9A0;font-size:12.5px;font-weight:700}
body.product-single .main-content h1{font-size:clamp(28px,3.2vw,40px)!important;line-height:1.4!important}
body.product-single .s-product-options-donation-options-item label{flex-direction:column;gap:2px;line-height:1.5}
body.product-single .s-product-options-donation-options-item label:after{font-size:12.5px;font-weight:600;opacity:.75}
body.product-single .s-product-options-donation-options-item input:checked+label:after{opacity:.9;color:#F1D9A0}
#product-543003785 #donation-option-0+label:after{content:'كرتون ماء'}
#product-543003785 #donation-option-1+label:after{content:'5 كراتين'}
#product-543003785 #donation-option-2+label:after{content:'10 كراتين'}
#product-497419245 #donation-option-0+label:after{content:'سهم خير'}
#product-497419245 #donation-option-1+label:after{content:'سهم صيانة'}
#product-497419245 #donation-option-2+label:after{content:'سهم الإرواء'}
#product-497419245 #donation-option-3+label:after{content:'برادة كاملة جاهزة للخدمة'}
#product-497419245 .s-product-options-donation-options-item:has(#donation-option-3){grid-column:1/-1}
#product-497419245 #donation-option-3+label{background:linear-gradient(135deg,#FBF6EA,#F3E6C6)!important;border-color:#D9B568!important;color:#7A5A1A!important}
#product-497419245 #donation-option-3:checked+label{background:linear-gradient(135deg,#D4AF5C,#B48C36)!important;border-color:#B48C36!important;color:#fff!important}
#product-497419245 #donation-option-3:checked+label:after{color:#fff}
.s-product-options-donation-options-item #donation-option-custom+label:after{content:'أي مبلغ تختاره'}
body.product-single #single-product-form:after{content:'جمعية مرخّصة من المركز الوطني لتنمية القطاع غير الربحي · ترخيص رقم 1000873500  ·  دفع آمن عبر Apple Pay ومدى والبطاقات';display:block;margin-top:14px;padding:12px 14px;border-radius:14px;background:#fff;border:1px solid #E8EDF3;color:#5B6B7B;font-size:13px;text-align:center;line-height:1.8}
body.product-single .s-product-options-option{display:flex!important;flex-direction:column!important;gap:14px}
body.product-single .s-product-options-option-content,body.product-single .s-product-options-donation-wrapper{width:100%!important}

/* 8) نص الأزرار الأساسية أبيض دائمًا */
.s-button-primary:not(.s-button-outline),.s-button-primary:not(.s-button-outline) .s-button-text,.s-button-primary:not(.s-button-outline) i{color:#fff!important}
/* 9) بطاقة كحلية لعنوان المشروع تكسر الأبيض (مستقلة عن ارتفاع الصفحة) */
body.product-single .main-content>div:has(>h1){position:relative;overflow:hidden;padding:24px 24px 22px;border-radius:24px;background-color:#072640;background-image:radial-gradient(520px 200px at 90% -20%,rgba(201,162,74,.28),rgba(201,162,74,0) 70%),linear-gradient(160deg,#0B3A63 0%,#072640 60%,#051C30 100%);box-shadow:0 24px 50px -30px rgba(5,28,48,.9)}
body.product-single .main-content>div:has(>h1):before{background:rgba(201,162,74,.18)!important;color:#F1D9A0!important;border:1px solid rgba(201,162,74,.45)}
body.product-single .main-content>div:has(>h1):after{content:'';position:absolute;left:-10px;bottom:-26px;width:240px;height:200px;pointer-events:none;opacity:.32;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 200'%3E%3Cg fill='none' stroke='%23F1D9A0' stroke-linecap='round'%3E%3Cpath stroke-width='2' d='M120 18c-14 18-26 34-26 48a26 26 0 0 0 52 0c0-14-12-30-26-48z'/%3E%3Cpath stroke-width='1.4' opacity='.7' d='M108 70a13 13 0 0 0 10 12'/%3E%3Cellipse stroke-width='1.6' cx='120' cy='150' rx='34' ry='8'/%3E%3Cellipse stroke-width='1.3' opacity='.75' cx='120' cy='150' rx='64' ry='15'/%3E%3Cellipse stroke-width='1.1' opacity='.5' cx='120' cy='150' rx='96' ry='23'/%3E%3Cellipse stroke-width='1' opacity='.3' cx='120' cy='150' rx='118' ry='31'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat}
body.product-single .main-content>div:has(>h1)>*{position:relative;z-index:1}
body.product-single .main-content h1{color:#fff!important}
body.product-single .product-entry__sub-title{color:#F1D9A0!important}

/* 10) إطار للقائمة الرئيسية */
@media (min-width:1024px){
 #main-nav .main-menu{display:flex;align-items:center;gap:4px;padding:5px!important;border-radius:999px;background:#F7F3EC!important;border:1px solid #EADFC6}
 #main-nav .main-menu>li{background:transparent!important}
 #main-nav .main-menu>li>a{background:transparent!important;padding:9px 18px!important}
 #main-nav .main-menu>li>a:hover{background:#fff!important;color:#082C4B!important;box-shadow:0 6px 16px -10px rgba(8,44,75,.45)}
}
/* 11) إزالة الإطار الداخلي المكرر في صندوق التبرع */
body.product-single .product-donation-area .s-product-options-option-container,body.product-single .product-donation-area .s-product-options-option,body.product-single .product-donation-area .s-product-options-option-content,body.product-single .product-donation-area .s-product-options-donation-wrapper{border:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;margin:0!important}
@media (max-width:640px){body.product-single .main-content>div:has(>h1):after{opacity:.16;width:170px;height:142px;left:-34px;bottom:-30px}}

/* 12) إصلاحات بعد المراجعة على المعاينة الحقيقية */
.store-footer .s-social-link a{background:transparent!important;border:1px solid rgba(241,217,160,.55)!important;color:#F1D9A0!important}
.store-footer .s-social-link a svg,.store-footer .s-social-link a svg path{fill:#F1D9A0!important}
.store-footer .s-social-link a:hover{background:rgba(241,217,160,.12)!important}
#quick-donation__trigger{top:auto!important;bottom:24px!important;border-radius:14px 0 0 14px!important}
@media (max-width:768px){#quick-donation__trigger{bottom:96px!important}}
.mn-final{padding-bottom:48px!important}
body.product-single salla-add-product-button .s-add-product-button-main{margin-bottom:10px!important}
body.product-single salla-quick-buy{display:block;margin-top:10px!important}
body.product-single .s-block.suggestions:empty,body.product-single .s-blocks-wrapper:empty{display:none!important}
body.product-single .product-donation-area div:not(.s-progress-bar-wrapper):not(.s-progress-bar-progress){border-color:transparent!important;box-shadow:none!important}
body.product-single .product-donation-area salla-product-options,body.product-single .product-donation-area salla-conditional-fields{display:block;border:0!important;padding:0!important;background:transparent!important;box-shadow:none!important}
body.product-single .s-product-options-donation-input-group{position:relative}
body.product-single .s-product-options-donation-amount-currency{position:absolute!important;top:50%!important;transform:translateY(-50%);left:16px!important;right:auto!important;color:#5B6B7B}
body.product-index .s-products-list-wrapper{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(280px,340px))!important;gap:24px!important;justify-content:center!important}
@media (max-width:640px){body.product-index .s-products-list-wrapper{grid-template-columns:1fr!important}}
body.product-index .main-content h1{display:block;flex:1 1 auto;text-align:center;font-size:clamp(22px,2.6vw,30px)!important;line-height:1.5;margin-bottom:8px}
.product-entry__image img{object-fit:cover!important}
.product-entry .add-to-cart-conatiner{padding:0 16px 16px!important}
.product-entry .s-social-share-wrapper{opacity:.9}
.product-entry .promotion-badge-wrap{max-width:calc(100% - 64px)}

/* 13) الفوتر في الجوال: توسيط مرتب */
@media (max-width:640px){
 .store-footer .store-footer__top-area{display:flex;flex-direction:column;align-items:center;gap:16px}
 .store-footer .about-store,.store-footer .footer-title,.store-footer .s-contacts-title,.store-footer .s-menu-footer-list,.store-footer .s-contacts-list{text-align:center!important;align-items:center!important}
 .store-footer .s-contacts-item{justify-content:center}
 .store-footer .store-footer__info-bar p{text-align:center}
}

/* ===== معين 2.1 · إصلاحات المراجعة (أكتوبر 2026) ===== */
/* 14) صفحة التبرع: زر «أضف لسلة التبرعات» كان أطول (56px) من حاويته الثابتة (42px) فيغطي المسافة ويلتصق بزر Apple Pay */
body.product-single .s-add-product-button-main,body.product-single .s-add-product-button-main salla-button{height:auto!important;min-height:56px}
/* إزالة الفراغ أسفل صندوق التبرع (هوامش متراكمة 20+20+22px) */
body.product-single .product-donation-area salla-product-options,body.product-single .s-product-options-donation-options{margin-bottom:0!important}
body.product-single .s-product-options-donation-wrapper>p:first-of-type{margin-top:0!important}
/* صورة المشروع تملأ الإطار بدل الشريطين الأبيضين على الجانبين */
body.product-single .product-slider .swiper-slide img{object-fit:cover!important}
/* خانة «مبلغ آخر» تظهر فقط عند اختيارها (كانت تحجز 54px فارغة أسفل صندوق التبرع) */
body.product-single .s-product-options-donation-wrapper:not(:has(#donation-option-custom:checked)) .s-product-options-donation-input-group{display:none!important}
/* إزالة الفراغ الكبير (~400px) بين الوصف و«منتجات مشابهة» */
/* السبب: عناصر سلة فارغة (تقسيط، كاش باك، مراجعات، hooks) تأخذ فجوة flex 20px لكل منها؛ نلغي الفجوة ونعطي المسافة للعناصر الظاهرة فقط */
body.product-single .main-content{gap:0!important}
body.product-single .main-content>div.flex.text-sm,body.product-single .main-content>#single-product-form,body.product-single .main-content>.gift-block,body.product-single .main-content>.share-rate-area,body.product-single .main-content>.product__description{margin-top:20px!important}
body.product-single .s-blocks-wrapper:not(:has(*)){display:none!important}
/* حاوية عروض فارغة (salla-offer) وكتلة suggestions فارغة: كل واحدة تضيف 64px فراغ */
body.product-single main>.container:has(>salla-offer:only-child:empty),body.product-single main>.s-block.suggestions:not(:has(*)){display:none!important}
body.product-single .three-cols-wrap{padding-bottom:12px!important}
/* زر «أضف إلى السلة» في البطاقات: كان حدّه العلوي مقصوصًا */
.product-entry salla-add-product-button{overflow:visible!important}
.product-entry salla-add-product-button button.s-button-outline{border:1.5px solid #082C4B!important;border-radius:14px!important}
/* التصنيف: إخفاء «لا يوجد المزيد لعرضه» */
body.product-index .s-infinite-scroll-last{display:none!important}
/* الجوال: زر «تبرع سريع» العائم يغطي عنوان المشروع والبطاقات؛ صفحة التبرع فيها صندوقها الخاص */
@media (max-width:768px){
 body.product-single #quick-donation__trigger,body.product-index #quick-donation__trigger,body.cart #quick-donation__trigger{display:none!important}
 body.product-single .product-slider .swiper-slide img{max-height:240px}
 body.product-single .details-slider-wrapper,body.product-single .product-slider .s-slider-container{max-height:240px}
 body.product-single .main-content>div:has(>h1){padding-bottom:26px}
}

/* السلة: نفس الخلفية الرملية لصفحات التبرع */
body.cart{background:#F7F3EC!important}

/* 16) سطر الترخيص أسفل كل الصفحات */
.store-footer .store-footer__info-bar:before{content:'جمعية أهلية مرخّصة من المركز الوطني لتنمية القطاع غير الربحي · رقم ترخيص الجمعية 1000873500 · رقم ترخيص قناة الجمع الإلكتروني 26200748';display:block;padding:14px 16px 0;text-align:center;color:#F1D9A0;font-size:13px;line-height:1.9}

/* 17) تنبيه واضح فوق أزرار الدفع: تحديد المسجد يكون بعد التبرع */
body.product-single #product-543003785 .product-donation-area:after{content:'تبرعك لمسجد معيّن؟ بعد التبرع أرسل اسم المسجد مع رقم الطلب أو صورة إثبات الدفع على واتساب 0569198886';display:block;margin-top:16px;padding:12px 16px 12px 16px;padding-inline-start:52px;border-radius:14px;background:#FBF4E4 url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%239A7629%27%20stroke-width%3D%271.7%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M12%203c-1.8%202-5%203.2-5%206.5V11h10V9.5C17%206.2%2013.8%205%2012%203z%27/%3E%3Cpath%20d%3D%27M5%2021V11h14v10%27/%3E%3Cpath%20d%3D%27M3%2021h18%27/%3E%3Cpath%20d%3D%27M10%2021v-4a2%202%200%200%201%204%200v4%27/%3E%3Cpath%20d%3D%27M12%203V1.5%27/%3E%3C/svg%3E") no-repeat right 16px center/26px 26px;border:1.5px solid #E2C27A;color:#6B5420;font-size:14.5px;font-weight:800;line-height:1.7;text-align:start}
@media (max-width:640px){body.product-single #product-543003785 .product-donation-area:after{font-size:13.5px;padding:11px 14px;padding-inline-start:46px;background-position:right 12px center;background-size:24px 24px}}

/* 18) صفحة «شكرًا لك» بعد التبرع: نفس التنبيه تحت رقم الطلب */
salla-thank-you-header::after{content:'ترغب أن يصل تبرعك لمسجد معيّن؟ أرسل رقم الطلب الظاهر أعلاه واسم المسجد والحي عبر واتساب 0569198886، ونحرص على إيصاله بإذن الله.';display:block;margin:18px auto 0;max-width:560px;padding:14px 16px;border-radius:14px;background:#FBF8F1;border:1px dashed #D9C08A;color:#5B4A23;font-size:14px;font-weight:600;line-height:1.9;text-align:center}

/* 19) الوصف المختصر فوق: بعد بطاقة العنوان مباشرة وقبل صندوق التبرع */
body.product-single .main-content>.product__description{order:2}
body.product-single .main-content>div.flex.text-sm{order:3}
body.product-single .main-content>#single-product-form{order:4}
body.product-single .main-content>.gift-block{order:5}
body.product-single .main-content>.share-rate-area{order:6}
body.product-single .product__description{padding:16px 20px}
body.product-single .product__description #more-content{font-size:15px;line-height:1.95}
body.product-single .product__description p{margin:0 0 6px}
body.product-single .product__description p:last-child{margin-bottom:0;color:#9A7629;font-weight:600}

/* 20) إخفاء «كمّل طلبك / اشتريها معًا» وإلغاء تثبيت صورة المشروع أثناء النزول */
salla-bought-together{display:none!important}
html body.product-single .product-slider{position:relative!important;top:auto!important}

/* 21) شريط التواصل أعلى الهيدر (الرقم والإيميل) واضح على الخلفية الكحلية */
.store-header .top-nav{border-bottom:1px solid rgba(241,217,160,.12)}
.store-header .top-nav .s-contacts-topnav-link,.store-header .top-nav .s-contacts-topnav-link span{color:rgba(255,255,255,.9)!important;font-size:13px;font-weight:500;text-decoration:none!important}
.store-header .top-nav .s-contacts-topnav-link:hover,.store-header .top-nav .s-contacts-topnav-link:hover span{color:#F1D9A0!important}
.store-header .top-nav .s-contacts-topnav-link::before{background:rgba(201,162,74,.18)!important;border:1px solid rgba(201,162,74,.5)!important;color:#F1D9A0!important}