/* Add custom CSS styles below */


/* REMOVE-ALL-DISCOUNTS-20261004: hide the former price, preserve the final price. */
.s-product-card-sale-price > span,
.price-wrapper .before-price {
  display: none !important;
}


/* خلفية بيضاء لإطار صور المنتجات في كل المتجر */
.s-product-card-image, .s-block--banners .square-photos{background:#fff!important}


/* عملاق البرودة — حركة خفيفة: كروت المنتجات + ظهور الأقسام + الحاسبة */
@media (hover:hover) and (prefers-reduced-motion:no-preference){
.s-product-card-entry{transition:transform .25s ease,box-shadow .25s ease}
.s-product-card-entry:hover{transform:translateY(-4px);box-shadow:0 10px 24px rgba(11,37,69,.10)}
.s-product-card-image{overflow:hidden}
.s-product-card-image img{transition:transform .35s ease}
.s-product-card-entry:hover .s-product-card-image img{transform:scale(1.04)}
}
@media (prefers-reduced-motion:no-preference){
.cg-rv{opacity:0;transform:translateY(18px);transition:opacity .5s ease,transform .5s ease}
.cg-rv.cg-in{opacity:1;transform:none}
#cgc .bar b{transition:background .3s ease}
#cgc .bar b:nth-child(2){transition-delay:.06s}#cgc .bar b:nth-child(3){transition-delay:.12s}
#cgc .bar b:nth-child(4){transition-delay:.18s}#cgc .bar b:nth-child(5){transition-delay:.24s}
#cgc .ton.cg-pop{animation:cgPop .35s ease}
@keyframes cgPop{0%{opacity:.3;transform:translateY(6px)}100%{opacity:1;transform:none}}
}


/* عملاق البرودة — قسم الماركات المختصر */
.s-block--logos-slider{padding-top:32px!important;padding-bottom:32px!important;background:#fff!important}
.s-block--logos-slider .grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:12px!important;grid-auto-flow:row!important}
.s-block--logos-slider .brand-item{grid-row:auto!important;height:84px!important;border:1px solid #C9DBF2;border-radius:12px;background:#fff!important;padding:12px!important;display:flex!important;align-items:center;justify-content:center}
.s-block--logos-slider .brand-item img{max-height:44px!important;width:auto!important;object-fit:contain}
@media(max-width:760px){.s-block--logos-slider .grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.s-block--logos-slider .brand-item{height:68px!important}}





/* عملاق البرودة — فوتر كحلي + اختصار الجوال */
.store-footer,.store-footer .store-footer__inner{background:#0B2545!important;color:#C9DBF2!important}
.store-footer>div:not(.store-footer__inner){background:#081C36!important;border-color:#1E3A5F!important}
.store-footer h3,.store-footer .s-contacts-title{color:#fff!important}
.store-footer a,.store-footer p,.store-footer span,.store-footer strong,.store-footer li{color:#C9DBF2!important}
.store-footer a:hover{color:#fff!important}
.store-footer b,.store-footer .s-trust-badges-number{color:#fff!important}
.store-footer .s-contacts-icon,.store-footer .s-social-link a{background:rgba(255,255,255,.08)!important;border-color:rgba(255,255,255,.18)!important}
.store-footer .s-contacts-icon svg,.store-footer .s-social-link svg{fill:#fff!important}
.store-footer .cg-sbc img{background:#fff;border-radius:8px;padding:4px;box-sizing:border-box}
.store-footer .s-contacts-list>div:nth-child(3){display:none!important}
@media(max-width:1023px){
.store-footer .store-footer__inner{padding-top:24px!important;padding-bottom:12px!important}
.store-footer .store-footer__inner>.container{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px 16px!important}
.store-footer .store-footer__inner>.container>div:first-child,.store-footer salla-apps-icons{grid-column:1/-1}
.store-footer .max-w-sm.leading-6{display:none!important}
.store-footer h3,.store-footer .s-contacts-title{font-size:16px!important;margin-bottom:8px!important}
.store-footer salla-menu a,.store-footer .s-contacts-item{font-size:13px!important;padding-top:4px!important;padding-bottom:4px!important}
.store-footer .s-contacts-list{gap:4px!important}
.store-footer .s-contacts-icon{width:30px!important;height:30px!important}
.store-footer .s-contacts-item{min-width:0!important}
.store-footer .s-contacts-item .unicode{font-size:12px!important;overflow-wrap:anywhere;min-width:0}
}


/* عملاق البرودة — الشريط العلوي كحلي مثل الفوتر */
.store-header .top-navbar{background:#0B2545!important;border-top:1px solid rgba(255,255,255,.08)}
.store-header .top-navbar a,.store-header .top-navbar span,.store-header .top-navbar p,.store-header .top-navbar li,.store-header .top-navbar i,.store-header .top-navbar b{color:#C9DBF2!important}
.store-header .top-navbar a:hover{color:#fff!important}
.store-header .top-navbar svg{fill:#C9DBF2!important}
.store-header .top-navbar *{border-color:rgba(255,255,255,.15)!important}
.store-header .top-navbar input{background:rgba(255,255,255,.10)!important;color:#fff!important;border-color:transparent!important}
.store-header .top-navbar input::placeholder{color:#9FB6D3!important}
.store-header .top-navbar .s-search-container,.store-header .top-navbar .s-search-input{background:rgba(255,255,255,.10)!important}


/* عملاق البرودة — ضغط الفوتر + صف الشارات + إخفاء STC Bank */
.s-block--bundle-personalized-shoppers-who-bought{display:none!important}
#cg-show{margin-bottom:0!important}
.store-footer .s-payments-list-item:has(img[alt="stc_pay"]){display:none!important}
@media(min-width:1024px){
.store-footer .store-footer__inner>.container{gap:24px!important}
.store-footer .store-footer__inner>.container>div:first-child{grid-column:span 4/span 4!important;display:flex!important;flex-wrap:wrap;align-items:center;column-gap:20px;row-gap:12px}
.store-footer .store-footer__inner>.container>div:first-child>*{flex:0 0 100%}
.store-footer .store-footer__inner>.container>div:first-child>.flex.gap-4,.store-footer .store-footer__inner>.container>div:first-child>.cg-sbc{flex:0 0 auto;margin-top:0!important}
.store-footer .max-w-sm.leading-6{margin-bottom:0!important;max-width:560px!important}
.store-footer salla-apps-icons{display:none!important}
}


/* عملاق البرودة — توحيد الألوان مع الهوية */
body{background:#F7FAFE!important}
.s-product-card-content-title,.s-product-card-content-title a,.s-block__title h2,.s-slider-block__title h2,.main-nav-container a{color:#0B2545!important}
.s-product-card-content-subtitle{color:#4A5B73!important}
.s-cart-summary-count{background:#FFC72C!important;color:#0B2545!important}
.s-slider-prev,.s-slider-next,.s-user-menu-login-btn,.header-btn__icon,.s-cart-summary-wrapper .s-cart-summary-icon{border-color:#C9DBF2!important}


/* عملاق البرودة — مسافات أقسام الرئيسية + توسيط المميزات على الجوال */
.index main .s-block{margin-top:32px!important}
.index main .s-block .s-block{margin-top:0!important}
.index main>.s-block:first-child{margin-top:16px!important}
#cgc,#cg-types,#cg-trust,#cg-show{margin-top:0!important;margin-bottom:0!important}
@media(max-width:767px){
.index main .s-block{margin-top:22px!important}
.index main .s-block .s-block{margin-top:0!important}
}


.s-block--logos-slider.s-block--full-bg{background:transparent!important}


/* عملاق البرودة — صفحة المنتج: الأزرار قبل الوصف + صندوق المعلومات */
#cg-pinfo{background:#E8F2FE;border:1px solid #C9DBF2;border-radius:12px;padding:12px 14px;margin:4px 0 18px}
#cg-pinfo ul{list-style:none;margin:0;padding:0;display:grid;gap:6px}
#cg-pinfo li{position:relative;padding-inline-start:20px;font-size:13px;line-height:1.7;color:#4A5B73}
#cg-pinfo li:before{content:"✓";position:absolute;inset-inline-start:0;top:0;color:#1877F2;font-weight:700}
#cg-pinfo b{color:#0B2545}
#cg-pinfo a{color:#1462C9;text-decoration:underline}
body.product-single .s-comments-product{background:transparent!important}


/* عملاق البرودة — المميزات: أيقونة فوق + توسيط كامل */
.index .s-block--features__item{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;text-align:center!important;gap:6px!important;padding:18px 14px!important}
.index .s-block--features__item .feature-icon{margin:0 0 4px!important;flex:none!important;width:56px!important;height:56px!important;display:flex!important;align-items:center!important;justify-content:center!important}
.index .s-block--features__item h2,.index .s-block--features__item p{margin:0!important;width:100%;text-align:center!important}
.index .s-block--features__item h2{font-size:16px!important;line-height:1.5!important}
.index .s-block--features__item p{font-size:13px!important;line-height:1.6!important}
@media(max-width:767px){
.index .grid:has(>.s-block--features__item){grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
.index .s-block--features__item{grid-column:auto!important;padding:12px 6px!important;gap:4px!important}
.index .s-block--features__item .feature-icon{width:40px!important;height:40px!important}
.index .s-block--features__item .feature-icon i{font-size:18px!important}
.index .s-block--features__item h2{font-size:12.5px!important}
.index .s-block--features__item p{font-size:10.5px!important;line-height:1.5!important}
}


/* عملاق البرودة — توحيد ألوان الهوية (بعد تعديل المميزات) */
.s-block--features__item h2{color:#0B2545!important}
.s-block--features__item p{color:#4A5B73!important}
.s-block__display-all{color:#1877F2!important}
.store-footer .store-footer__inner{border-color:#1E3A5F!important}
#cgc .card,#cgc [class*="card"]{border-color:#C9DBF2!important}
#cgc-sun{border-color:#C9DBF2!important}
.s-product-card-image,.s-product-card-image img{background-color:#FFFFFF!important}


/* عملاق البرودة — صفحة المنتج: إخفاء مربع المرفقات والملاحظة */
body.product-single form.product-form > section:has(textarea[name="notes"]){display:none!important}

/* عملاق البرودة — 10) صفحة البراندات: شبكة واحدة + إخفاء البراندات الفاضية */
body.brands-index .brands-nav-wrap,body.brands-index main section>.flex.items-center{display:none!important}
body.brands-index main .px-8.xl\:px-0{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;padding-bottom:40px}
body.brands-index main .px-8.xl\:px-0>section,body.brands-index main .px-8.xl\:px-0>section>.grid{display:contents!important}
body.brands-index main .brand-item{height:130px;border:1px solid #C9DBF2;border-radius:12px;background:#fff!important;padding:14px!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-decoration:none;transition:transform .2s ease,box-shadow .2s ease}
body.brands-index main .brand-item:hover{transform:translateY(-3px);box-shadow:0 8px 20px rgba(11,37,69,.10)}
body.brands-index main .brand-item img{max-height:56px!important;width:auto;object-fit:contain}
body.brands-index main .brand-item .cg-bn{font-size:13px;font-weight:600;color:#0B2545}
body.brands-index #cg-brands-intro{display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:#4A5B73;font-size:14px;margin:-8px 0 20px}
body.brands-index #cg-brands-intro .cg-badge{background:#FFC72C;color:#0B2545;font-weight:700;font-size:13px;border-radius:9999px;padding:3px 12px}
@media(max-width:767px){body.brands-index main .px-8.xl\:px-0{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding-left:16px!important;padding-right:16px!important}body.brands-index main .brand-item{height:110px}}
body.brands-index main a.brand-item[href*="brand-1559623211"]{display:none!important}
body.brands-index main a.brand-item[href*="brand-378639825"]{display:none!important}
body.brands-index main a.brand-item[href*="brand-778752061"]{display:none!important}

/* عملاق البرودة — الحاسبة: توحيد عرض أزرار الخيارات مع بقاء مقاس الحاسبة كما هو (نفس الارتفاع على الجوال والكمبيوتر) */
#cgc .chips{display:flex!important;flex-wrap:nowrap!important;gap:4px!important;max-width:360px}
#cgc .chip{flex:1 1 0!important;min-width:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;white-space:nowrap!important;padding:1px 4px!important;position:relative}
/* منطقة ضغط أكبر بدون تغيير الشكل ولا الارتفاع */
#cgc .chip::after{content:"";position:absolute;inset:-6px -2px}
@media(max-width:760px){#cgc .chips{max-width:none}}

/* عملاق البرودة — شريط البراندات العشرة: صفان متوازنان وشعارات كاملة */
.index .s-block--logos-slider .grid{display:grid!important;grid-template-columns:repeat(5,164px)!important;justify-content:center!important;gap:12px!important;max-width:868px;margin-inline:auto!important}
.index .s-block--logos-slider .brand-item{width:164px!important;height:84px!important;min-width:0;overflow:hidden!important}
.index .s-block--logos-slider .brand-item img{width:auto!important;height:auto!important;max-width:140px!important;max-height:60px!important;object-fit:contain!important;flex-shrink:1!important;mix-blend-mode:multiply}
@media(max-width:760px){.index .s-block--logos-slider .grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-width:360px!important;gap:12px!important}.index .s-block--logos-slider .brand-item{width:100%!important;height:68px!important}.index .s-block--logos-slider .brand-item img{max-width:100%!important;max-height:44px!important}}
/* عملاق البرودة — نص الأقسام الخمسة وأسئلتها الشائعة */
#cg-cat-info{direction:rtl;text-align:right;box-sizing:border-box;width:calc(100% - 32px);max-width:860px;margin:32px auto;padding:24px;background:#E8F2FE;border:1px solid #C9DBF2;border-radius:12px;color:#4A5B73;font-size:16px;line-height:1.85;overflow-wrap:anywhere}
#cg-cat-info *{box-sizing:border-box}
#cg-cat-info h2{color:#0B2545;font-size:24px;line-height:1.5;font-weight:700;margin:0 0 12px}
#cg-cat-info p{font-size:inherit;line-height:inherit;color:#4A5B73;margin:0 0 16px}
#cg-cat-info a{color:#1462C9;text-decoration:underline;text-underline-offset:3px}
#cg-cat-info a:focus-visible,#cg-cat-info summary:focus-visible{outline:3px solid #FFC72C;outline-offset:3px}
#cg-cat-info details{border-top:1px solid #C9DBF2}
#cg-cat-info summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:12px 0;color:#0B2545;font-size:inherit;font-weight:700;cursor:pointer;list-style:none}
#cg-cat-info summary::-webkit-details-marker{display:none}
#cg-cat-info summary::after{content:"";width:8px;height:8px;flex:none;border-right:2px solid #1462C9;border-bottom:2px solid #1462C9;transform:rotate(45deg);margin:0 4px;transition:transform .15s ease}
#cg-cat-info details[open]>summary::after{transform:rotate(225deg)}
#cg-cat-info details p{padding-bottom:4px}
@media(max-width:760px){#cg-cat-info{font-size:15px;padding:16px;margin:24px auto}#cg-cat-info h2{font-size:21px}}
@media(prefers-reduced-motion:reduce){#cg-cat-info summary::after{transition:none}}

/* عملاق البرودة — صندوق معلومات الأقسام بعرض الحاوية على الكمبيوتر */
@media(min-width:1024px){
#cg-cat-info{width:100%;max-width:none;margin:32px 0;flex:0 0 100%;grid-column:1/-1}
#cg-cat-info p{max-width:75ch;margin-right:0;margin-left:auto}
}