/* متجر جمعية تحفيظ القرآن الكريم بتثليث — CSS مخصص بهوية الجمعية (أزرق مخضر #3B7A87 · ذهبي #C5A059 · خط سلطان) — أفناد سنا 2026-10 */

/* الأرقام بالإنجليزي: خط سلطان يرسم 0-9 بالشكل العربي، فنأخذ الأرقام وحدها من خط لاتيني محلي */
@font-face{font-family:'TQDigits';font-weight:400;src:local('Arial'),local('ArialMT'),local('Helvetica Neue'),local('HelveticaNeue'),local('Helvetica'),local('Roboto'),local('Roboto-Regular'),local('Segoe UI');unicode-range:U+0030-0039}
@font-face{font-family:'TQDigits';font-weight:700;src:local('Arial Bold'),local('Arial-BoldMT'),local('Helvetica Neue Bold'),local('HelveticaNeue-Bold'),local('Roboto Bold'),local('Roboto-Bold'),local('Segoe UI Bold');unicode-range:U+0030-0039}

:root{
  --font-main:'TQDigits','Sultan',sans-serif!important;
  --color-primary:#3B7A87;
  --color-primary-dark:#2C5F69;
  --color-primary-light:#E3EFF1;
  --color-primary-reverse:#FFFFFF;
  --tq-teal:#3B7A87;
  --tq-teal-d:#2C5F69;
  --tq-teal-dd:#1F4950;
  --tq-gold:#C5A059;
  --tq-gold-l:#E8D6AE;
  --tq-cream:#FAF6EE;
  --tq-ink:#23434A;
  --tq-head:'TQDigits','Sultan',sans-serif;
}

/* الخلفية والنصوص */
body{background:var(--tq-cream)!important;color:var(--tq-ink)}
h1,h2,h3,.s-block__title h2,.s-slider-block__title h2,.footer-title,.s-contacts-title{font-family:var(--tq-head);color:var(--tq-teal);letter-spacing:0}
a:hover{color:var(--tq-teal)}

/* خط الهوية على كامل الموقع */
body,button,input,select,textarea,.s-button-btn,.s-product-card-entry,.store-footer,.store-header{font-family:var(--tq-head)!important}

[style*="Sultan"]{font-family:var(--tq-head)!important}

/* الهيدر */
.store-header{background:#fff!important;border-bottom:3px solid var(--tq-gold);box-shadow:0 4px 18px rgba(31,73,80,.06)}
.store-header .main-nav{background:#fff}
.navbar-brand img{max-height:64px;width:auto}
.header-btn:hover,.topnav-link-item:hover{color:var(--tq-teal)}
.s-cart-summary-count{background:var(--tq-gold)!important;color:#fff!important}

/* عناوين الأقسام */
.s-block__title,.s-slider-block__title{position:relative;padding-bottom:12px;margin-bottom:22px}
.s-block__title h2::after,.s-slider-block__title h2::after{content:"";display:block;width:64px;height:4px;border-radius:4px;margin:10px auto 0;background:linear-gradient(90deg,var(--tq-gold),var(--tq-gold-l))}

/* البنرات المتحركة */
.s-block--photos-slider .swiper-slide img,.photos-slider img{border-radius:18px}
.s-block--photos-slider{margin-top:18px}
.swiper-pagination-bullet{background:var(--tq-teal)!important;opacity:.35}
.swiper-pagination-bullet-active{background:var(--tq-gold)!important;opacity:1;width:22px;border-radius:6px}
.s-slider-nav-arrow{background:#fff;color:var(--tq-teal);box-shadow:0 6px 16px rgba(31,73,80,.15)}
.s-slider-nav-arrow:hover{background:var(--tq-teal);color:#fff}

/* بطاقات المشاريع */
.s-product-card-entry,.product-entry,.donation-card{background:#fff;border-radius:18px!important;overflow:hidden;border:1px solid #EFE6D2;box-shadow:0 8px 24px rgba(31,73,80,.06);transition:transform .25s,box-shadow .25s}
.s-product-card-entry:hover,.product-entry:hover,.donation-card:hover{transform:translateY(-4px);box-shadow:0 16px 34px rgba(31,73,80,.12)}
.s-product-card-content-title a,.product-entry__title{font-family:var(--tq-head);color:var(--tq-teal-dd)}
.s-product-card-price,.donation-target,.total-price{color:var(--tq-teal)}
.s-progress-bar,.progress-bar,.donation-progress{background:#EEF3F4;border-radius:10px}
.s-progress-bar-progress,.progress-bar__fill,.donation-progress span{background:linear-gradient(90deg,var(--tq-teal),var(--tq-gold))!important;border-radius:10px}

/* الأزرار */
.s-button-primary,.btn--primary,.btn-primary,.party-button{background:var(--tq-teal)!important;border-color:var(--tq-teal)!important;color:#fff!important;border-radius:40px!important}
.s-button-primary:hover,.btn--primary:hover,.btn-primary:hover,.party-button:hover{background:var(--tq-gold)!important;border-color:var(--tq-gold)!important}
.s-button-outline,.btn--outline{border-color:var(--tq-teal)!important;color:var(--tq-teal)!important;border-radius:40px!important}
.s-button-btn{border-radius:40px}
input:focus,textarea:focus,select:focus{border-color:var(--tq-teal)!important;box-shadow:0 0 0 3px rgba(59,122,135,.15)!important}

/* التبرع السريع */
salla-quick-donation .button,.quick-donation__btn{background:var(--tq-gold)!important;color:#fff!important}

/* الفوتر */
.store-footer{background:var(--tq-teal-dd)!important;color:#E9F1F2!important;position:relative}
.store-footer::before{content:"";position:absolute;top:0;left:0;right:0;height:5px;background:linear-gradient(90deg,var(--tq-gold),var(--tq-gold-l),var(--tq-gold))}
.store-footer__inner,.store-footer__top-area{background:transparent!important}
.store-footer .footer-title,.store-footer .s-contacts-title,.store-footer h3{color:var(--tq-gold-l)!important}
.store-footer a,.store-footer .s-menu-footer-item,.store-footer .s-contacts-item,.store-footer .about-store,.store-footer p,.store-footer span{color:#E9F1F2!important}
.store-footer a:hover,.store-footer .s-menu-footer-item:hover{color:var(--tq-gold-l)}
.store-footer .footer-logo{background:#fff!important;border-radius:14px;padding:8px 12px;display:inline-block}
.store-footer .s-contacts-icon{background:rgba(255,255,255,.1);color:var(--tq-gold-l)}
.store-footer__info-bar{background:var(--tq-teal-d)!important;color:#D4E3E6!important;border-top:1px solid rgba(255,255,255,.08)}
.store-footer__info-bar *{color:#D4E3E6!important}
.store-footer hr,.store-footer .border-t{border-color:rgba(255,255,255,.12)!important}
.store-footer .s-social-list a{background:rgba(255,255,255,.1);color:#fff}
.store-footer .s-social-list a:hover{background:var(--tq-gold)}

/* الجوال */
@media (max-width:768px){
  .navbar-brand img{max-height:48px}
  .s-block--photos-slider .swiper-slide img,.photos-slider img{border-radius:12px}
  .s-block__title h2::after{width:48px}
}
/* الجوال: بطاقات مشاريع أصغر وأخف */
@media (max-width:640px){
  .s-block--fixed-products .s-products-list-wrapper{gap:10px!important}
  .s-product-card-entry .s-product-card-image{aspect-ratio:4/3!important;height:auto!important;background:#fff}
  .s-product-card-entry .s-product-card-image img{object-fit:contain!important;height:100%!important;width:100%!important}
  .s-product-card-entry .s-product-card-wishlist-btn{display:none!important}
  .s-product-card-entry .s-product-card-content{padding:8px 10px 10px!important}
  .s-product-card-content-title,.s-product-card-content-title a{font-size:13px!important;line-height:1.4!important}
  .s-product-card-donation-input > span{display:none!important}
  .s-product-card-donation-input .s-form-control{height:32px!important;font-size:12px!important;padding:4px 8px!important}
  .s-product-card-donation-input{margin:4px 0!important}
  .s-product-card-entry .s-button-btn{height:34px!important;min-height:34px!important;font-size:12.5px!important;padding:0 8px!important}
  .s-progress-bar-target-section{font-size:11.5px!important}
  .s-progress-bar-container{margin:4px 0!important}
}
/* الجوال (قالب بطاقات الجوال product-entry) */
@media (max-width:767px){
  .product-entry .content-wrap{padding:0!important}
  .product-entry .product-entry__content{padding:8px 10px 4px!important}
  .product-entry .product-entry__title{font-size:13px!important;line-height:1.4!important}
  .product-entry .product-entry__content .mb-2\.5{margin-bottom:4px!important}
  .product-entry .product-entry__content .my-2\.5{margin:6px 0 4px!important}
  .product-entry .product-entry__content input{height:32px!important;padding:4px 8px!important;font-size:12px!important}
  .product-entry .add-to-cart-conatiner{padding:0 10px 10px!important;height:auto!important;min-height:0!important}
  .product-entry .add-to-cart-conatiner .s-button-btn{height:36px!important;min-height:36px!important;font-size:12.5px!important;border-radius:30px!important;border:1.5px solid var(--tq-teal)!important}
  .product-entry salla-social-share{transform:scale(.8);transform-origin:top left}
  .s-block--fixed-products .s-products-list-wrapper{gap:10px!important}
}

/* البنرات العريضة (نمط متجر صحتنا): زوايا مستديرة ومسافات */
.s-block--fixed-banner{margin-top:22px!important;margin-bottom:22px!important}
.s-block--fixed-banner img{border-radius:18px!important;box-shadow:0 10px 30px rgba(31,73,80,.10)}
/* على الجوال: الثيم يعرض صورة سطح المكتب فقط، فنستبدلها بالنسخة المربعة */
@media (max-width:767px){
  .s-block--fixed-banner img[src*="4ae3bc64-4779"],.s-block--fixed-banner img[data-src*="4ae3bc64-4779"]{content:url(https://cdn.files.salla.network/other/175563813/5820790c-c79f-497c-8bd3-af53eeb82d72-original.webp)}
  .s-block--fixed-banner img[src*="64d08240-8e49"],.s-block--fixed-banner img[data-src*="64d08240-8e49"]{content:url(https://cdn.files.salla.network/other/175563813/36ed4586-41d6-44bb-b055-cdd83933a692-original.webp)}
  .s-block--fixed-banner img[src*="5d3610bc-e1ab"],.s-block--fixed-banner img[data-src*="5d3610bc-e1ab"]{content:url(https://cdn.files.salla.network/other/175563813/86bb5882-d418-40b2-8b0f-173fa95cb294-original.webp)}
  .s-block--fixed-banner{margin-top:14px!important;margin-bottom:14px!important}
}