/* Add custom CSS styles below */ 
/* Donate banner on mobile: show full image (iPhone ignores fixed backgrounds) */
@media (max-width: 768px) {
  .s-block--full-banner .full-banner-entry { background-attachment: scroll !important; background-size: cover !important; background-position: center top !important; }
  
}
/* Product card images: show full image without cropping */
.product-entry__image img, .s-product-card-image img, img.s-product-card-image-cover { object-fit: contain !important; background: #fff; }
/* Store pattern inspired by the association logo (leaves, bulbs, people) */
body.theme-ataa { background-color: #f6faf3 !important; background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'300'%20height%3D'300'%20viewBox%3D'0%200%20300%20300'%3E%3Cpath%20transform%3D'translate(30%2050)%20rotate(-20)%20scale(1)'%20d%3D'M0%200c6-12%2020-16%2020-16s1%2014-9%2021c-6%204-14%203-11-5z'%20fill%3D'%2356ad3f'%20fill-opacity%3D'0.11'%2F%3E%3Cpath%20transform%3D'translate(200%2030)%20rotate(40)%20scale(0.8)'%20d%3D'M0%200c6-12%2020-16%2020-16s1%2014-9%2021c-6%204-14%203-11-5z'%20fill%3D'%237cc242'%20fill-opacity%3D'0.12'%2F%3E%3Cpath%20transform%3D'translate(140%20150)%20rotate(10)%20scale(1.1)'%20d%3D'M0%200c6-12%2020-16%2020-16s1%2014-9%2021c-6%204-14%203-11-5z'%20fill%3D'%2356ad3f'%20fill-opacity%3D'0.1'%2F%3E%3Cpath%20transform%3D'translate(70%20240)%20rotate(70)%20scale(0.9)'%20d%3D'M0%200c6-12%2020-16%2020-16s1%2014-9%2021c-6%204-14%203-11-5z'%20fill%3D'%237cc242'%20fill-opacity%3D'0.11'%2F%3E%3Cpath%20transform%3D'translate(260%20200)%20rotate(-50)%20scale(0.85)'%20d%3D'M0%200c6-12%2020-16%2020-16s1%2014-9%2021c-6%204-14%203-11-5z'%20fill%3D'%2356ad3f'%20fill-opacity%3D'0.11'%2F%3E%3Cpath%20transform%3D'translate(250%20110)%20rotate(120)%20scale(0.7)'%20d%3D'M0%200c6-12%2020-16%2020-16s1%2014-9%2021c-6%204-14%203-11-5z'%20fill%3D'%237cc242'%20fill-opacity%3D'0.1'%2F%3E%3Cpath%20transform%3D'translate(20%20170)%20rotate(160)%20scale(0.7)'%20d%3D'M0%200c6-12%2020-16%2020-16s1%2014-9%2021c-6%204-14%203-11-5z'%20fill%3D'%2356ad3f'%20fill-opacity%3D'0.09'%2F%3E%3Ccircle%20cx%3D'110'%20cy%3D'40'%20r%3D'3.5'%20fill%3D'%233f9a3e'%20fill-opacity%3D'0.11'%2F%3E%3Ccircle%20cx%3D'170'%20cy%3D'95'%20r%3D'2.5'%20fill%3D'%233f9a3e'%20fill-opacity%3D'0.1'%2F%3E%3Ccircle%20cx%3D'60'%20cy%3D'120'%20r%3D'3'%20fill%3D'%233f9a3e'%20fill-opacity%3D'0.1'%2F%3E%3Ccircle%20cx%3D'285'%20cy%3D'60'%20r%3D'2.5'%20fill%3D'%233f9a3e'%20fill-opacity%3D'0.1'%2F%3E%3Ccircle%20cx%3D'205'%20cy%3D'265'%20r%3D'3.5'%20fill%3D'%233f9a3e'%20fill-opacity%3D'0.11'%2F%3E%3Ccircle%20cx%3D'130'%20cy%3D'280'%20r%3D'2.5'%20fill%3D'%233f9a3e'%20fill-opacity%3D'0.09'%2F%3E%3Ccircle%20cx%3D'10'%20cy%3D'280'%20r%3D'3'%20fill%3D'%233f9a3e'%20fill-opacity%3D'0.1'%2F%3E%3Cg%20transform%3D'translate(95%2095)%20scale(1)'%20stroke%3D'%23ef9a2c'%20stroke-opacity%3D'0.2'%20stroke-width%3D'2.6'%20stroke-linecap%3D'round'%20fill%3D'none'%3E%3Cpath%20d%3D'M-7%206a11%2011%200%201%201%2014%200c-2%202-3%204-3%207h-8c0-3-1-5-3-7z'%2F%3E%3Cpath%20d%3D'M-4%2018h8M-3%2023h6'%2F%3E%3C%2Fg%3E%3Cg%20transform%3D'translate(235%20245)%20scale(0.85)'%20stroke%3D'%23ef9a2c'%20stroke-opacity%3D'0.18'%20stroke-width%3D'2.6'%20stroke-linecap%3D'round'%20fill%3D'none'%3E%3Cpath%20d%3D'M-7%206a11%2011%200%201%201%2014%200c-2%202-3%204-3%207h-8c0-3-1-5-3-7z'%2F%3E%3Cpath%20d%3D'M-4%2018h8M-3%2023h6'%2F%3E%3C%2Fg%3E%3Cg%20transform%3D'translate(210%20165)%20scale(0.8)'%20fill%3D'%231f6fa8'%20fill-opacity%3D'0.1'%3E%3Ccircle%20cx%3D'0'%20cy%3D'-14'%20r%3D'5'%2F%3E%3Cpath%20d%3D'M-13-22c3%2010%208%2014%209%2016v20h8V-6c1-2%206-6%209-16l-4-1c-3%207-7%2011-9%2012-2-1-6-5-9-12z'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") !important; background-size: 300px 300px !important; }
body.theme-ataa .s-block--about-charity { background-color: rgba(255,255,255,.6) !important; }
/* Footer in header green (#477d32) */
footer.store-footer{background-color:#477d32!important;color:#fff!important;}
footer.store-footer h1,footer.store-footer h2,footer.store-footer h3,footer.store-footer h4,footer.store-footer p,footer.store-footer span:not(.s-social-icon),footer.store-footer li,footer.store-footer a,footer.store-footer div{color:#fff!important;}
footer.store-footer .s-social-link a,footer.store-footer .s-social-icon{color:#477d32!important;fill:#477d32!important;}
footer.store-footer .s-social-icon svg,footer.store-footer .s-social-icon svg *{fill:#477d32!important;}
footer.store-footer .store-footer__info-bar{background-color:#3d6c2b!important;}
body footer.store-footer .store-footer__info-bar p,body footer.store-footer .store-footer__info-bar [class*="text-gray"],body footer.store-footer .store-footer__info-bar a{color:rgba(255,255,255,.9)!important;}
footer.store-footer .s-payments-list-item{background-color:#fff!important;}
footer.store-footer img[alt*="جمعية"]{background:#fff;border-radius:12px;padding:6px 10px;}
footer.store-footer *{border-color:rgba(255,255,255,.18)!important;}
/* Main slider (معرض المميزات): show designed 1440x630 images in full + whole slide clickable */
.s-block--main-slider .swiper-slide{height:auto!important;min-height:0!important;aspect-ratio:1440/630;position:relative!important;}
.s-block--main-slider .swiper-slide>.swiper-lazy{position:absolute!important;inset:0!important;background-size:cover!important;background-position:center!important;}
.s-block--main-slider .swiper-slide>.container{position:absolute!important;inset:0!important;padding:0!important;max-width:none!important;}
.s-block--main-slider .swiper-slide>.container *{position:static!important;transform:none!important;animation:none!important;filter:none!important;}
.s-block--main-slider .swiper-slide .btn{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;opacity:0!important;z-index:5!important;}
/* Hide theme promo badge on case cards (the designed images already include "ساهم الآن") */
.product-entry__image .promotion-badge-wrap, .s-product-card-image .s-product-card-promotion-title{display:none!important;}
/* License card under the donate banner button (NCNP fundraising channel licence, valid to 2026-12-31) */
.s-block--full-banner .full-banner-entry > .relative > div{text-align:center;}
.s-block--full-banner .full-banner-entry > .relative > div::after{content:"✓  جمعية مرخّصة من المركز الوطني لتنمية القطاع غير الربحي\Aترخيص الكيان: 2248   ·   ترخيص قناة جمع التبرعات: 26200712";white-space:pre-line;display:block;width:max-content;max-width:min(92vw,620px);margin:30px auto 0;padding:14px 26px;border-radius:16px;background:rgba(255,255,255,.94);color:#2c5520;font-size:15px;font-weight:700;line-height:2;box-shadow:0 8px 24px rgba(0,0,0,.18);}
@media (max-width:640px){.s-block--full-banner .full-banner-entry > .relative > div::after{font-size:12.5px;padding:12px 16px;line-height:1.9;}}
/* Reduce layout shift (CLS): show only first slide before the slider loads + reserve space for the donations block */
.s-block--main-slider salla-slider:not(.hydrated) .swiper-slide:not(:first-child){display:none!important;}
.s-block--main-slider salla-slider{min-height:0!important;}
.s-block--featrues-donations{min-height:555px;}
@media (min-width:768px){.s-block--featrues-donations{min-height:620px;}}
@media (min-width:1280px){.s-block--featrues-donations{min-height:690px;}}
/* Slider dots: small, at the very bottom edge, brand colours */
.s-block--main-slider .swiper-pagination{bottom:6px!important;}
html body .s-block--main-slider salla-slider .swiper-pagination .swiper-pagination-bullet{width:10px!important;height:10px!important;min-width:0!important;min-height:0!important;padding:0!important;margin:0 3px!important;background:rgba(255,255,255,.8)!important;border:0!important;border-radius:5px!important;opacity:1!important;}
html body .s-block--main-slider salla-slider .swiper-pagination .swiper-pagination-bullet::before{display:none!important;}
html body .s-block--main-slider salla-slider .swiper-pagination .swiper-pagination-bullet-active{width:24px!important;background:#ef9a2c!important;}
@media (max-width:640px){.s-block--main-slider .swiper-pagination{bottom:2px!important;}html body .s-block--main-slider salla-slider .swiper-pagination .swiper-pagination-bullet{width:6px!important;height:6px!important;margin:0 2px!important;}html body .s-block--main-slider salla-slider .swiper-pagination .swiper-pagination-bullet-active{width:14px!important;}}
/* Donate banner button: solid orange like the slider button */
.s-block--full-banner .full-banner-entry a.border{background:#ef9a2c!important;border-color:#ef9a2c!important;color:#24401a!important;border-radius:999px!important;box-shadow:0 6px 18px rgba(0,0,0,.18);}
.s-block--full-banner .full-banner-entry a.border:hover{background:#e08a1c!important;border-color:#e08a1c!important;}
/* Header logo on a white card so it reads clearly on green */
.store-header a.navbar-brand{display:inline-flex;align-items:center;background:#fff;border-radius:12px;padding:5px 9px;box-shadow:0 2px 8px rgba(0,0,0,.12);}
/* Footer Telegram: show a label instead of the full link */
footer a.s-contacts-item[href*="t.me"] .unicode{font-size:0!important;}
footer a.s-contacts-item[href*="t.me"] .unicode::after{content:"تيليجرام";font-size:14px;}