/* Nice Version: إخفاء صندوق التعليقات في الصفحات التعريفية فقط (السياسات) */
salla-comments[type="page"] { display: none !important; }


/* Nice Version: Arabic-only language chooser; currencies remain available. */
.s-localization-modal-item:has(input[name="language"]:not([value="ar"])) { display: none !important; }

/* Nice Version: hide unavailable cards in home and product recommendations. */
body.index custom-salla-product-card.out-of-stock,
body.product-single salla-products-slider custom-salla-product-card.out-of-stock,
:is(body.index, body.product-single) .swiper-slide:has(> custom-salla-product-card.out-of-stock) {
  display: none !important;
}

/* Nice Version: صور المنتج المصغّرة بخلفية المتجر بدل الرمادي */
.product-single__thumb-image,
.s-slider-thumbs-container .swiper-slide { background: transparent !important; }

/* nv-breadcrumb: مسار الصفحة واضح في كل الصفحات (كان أزرق فاتح على البيج) */
.s-breadcrumb-wrapper .s-breadcrumb-item, .s-breadcrumb-wrapper .s-breadcrumb-item a, .s-breadcrumb-wrapper .s-breadcrumb-arrow, .s-breadcrumb-wrapper .s-breadcrumb-arrow svg { color:#050F2C !important; fill:#050F2C !important; opacity:1 !important; }
.s-breadcrumb-wrapper .s-breadcrumb-item:last-child, .s-breadcrumb-wrapper .s-breadcrumb-item:last-child a { color:#5a5040 !important; }
.s-breadcrumb-wrapper .s-breadcrumb-item a:hover { color:#FF7B00 !important; }

/* nv-order-filters: أزرار تصفية الطلبات بألوان تبين أنها خيارات */
.s-orders-filters .s-button-element { font-weight:700 !important; padding-inline:18px !important; transition:all .2s; }
.s-orders-filters .s-button-primary-outline { background:#050F2C !important; color:#fff !important; border-color:#050F2C !important; }
.s-orders-filters .s-button-primary-outline .s-button-text { color:#fff !important; }
.s-orders-filters .s-button-light-outline { background:#F5F0E2 !important; color:#050F2C !important; border:1.5px solid #BDA77A !important; }
.s-orders-filters .s-button-light-outline .s-button-text { color:#050F2C !important; }
.s-orders-filters .s-button-light-outline:hover { background:#FF7B00 !important; border-color:#FF7B00 !important; }
.s-orders-filters .s-button-light-outline:hover .s-button-text { color:#fff !important; }

/* nv-home-polish: القائمة والعناوين والكروت */
html body header .main-menu > li.root-level > a { font-size:17px !important; font-weight:800 !important; color:#050F2C !important; padding:6px 4px !important; border-bottom:3px solid transparent; transition:border-color .2s,color .2s; }
html body header .main-menu > li.root-level { margin-inline:10px !important; }
header .main-menu { margin-inline-start:28px !important; }
html body header .main-menu > li.root-level > a:hover { color:#FF7B00 !important; }
html body header .main-menu > li.root-level > a.nv-current { border-bottom-color:#FF7B00; }
html body header .main-menu > li.root-level > a.offers-link, .main-menu a.offers-link { color:#FF7B00 !important; font-weight:800 !important; }
.home-block-title h2 { color:#050F2C !important; }
.home-block-title p:not(:empty) { color:#5a5040 !important; font-size:16px !important; margin-top:6px !important; }
.home-block-title .enhanced-title-border { display:block !important; width:56px !important; height:4px !important; border-radius:4px !important; background:#FF7B00 !important; margin:12px auto 0 !important; border:0 !important; }
.home-block-title .enhanced-title-border::before, .home-block-title .enhanced-title-border::after, .home-block-title .enhanced-title-border * { display:none !important; }
/* nv-player-tag: شارة «نسخة اللاعبين» ملتصقة بجدار البطاقة الأيسر وطرفها الأيمن دائري (بدل شارة وفّر %) */
custom-salla-product-card .nv-save { display:none !important; }
html body custom-salla-product-card .product-card__image .product-card__promotion { display:block !important; position:absolute !important; top:14px !important; left:0 !important; right:auto !important; z-index:5; background:#FF7B00 !important; color:#fff !important; font-weight:800 !important; font-size:14px !important; line-height:1.4 !important; padding:6px 16px 6px 12px !important; border-radius:0 999px 999px 0 !important; box-shadow:0 2px 6px rgba(0,0,0,.15); white-space:nowrap; }
custom-salla-product-card .s-product-card-rating { display:none !important; }
custom-salla-product-card .before-price { font-size:17px !important; font-weight:600 !important; color:#5a5040 !important; text-decoration-thickness:2px !important; }
.nv-save { position:absolute; top:12px; inset-inline-start:12px; z-index:5; background:#FF7B00; color:#fff; font-weight:800; font-size:14px; padding:4px 10px; border-radius:20px; line-height:1.4; box-shadow:0 2px 6px rgba(0,0,0,.15); pointer-events:none; }

/* nv-anime-section: تنسيق قسم «تسوق حسب الأنمي» */
.nv-anime{margin-top:48px;margin-bottom:24px}
.nv-anime-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
@media(max-width:768px){.nv-anime-grid{grid-template-columns:repeat(2,1fr);gap:12px}}
.nv-anime-tile{display:flex;flex-direction:column;align-items:center;background:transparent;border:1.5px solid #FF7B00;border-radius:10px;padding:14px 10px 12px;transition:transform .2s,border-color .2s,box-shadow .2s;text-decoration:none}
.nv-anime-tile:hover{transform:translateY(-3px);border-color:#FF7B00;box-shadow:0 6px 18px rgba(5,15,44,.12)}
.nv-anime-img{display:block;width:100%;aspect-ratio:1/1;overflow:hidden}
.nv-anime-img img{width:100%;height:100%;object-fit:contain}
.nv-anime-name{margin-top:8px;font-weight:800;font-size:17px;color:#050F2C}

/* nv-card-frame: إطار صورة مربع موحّد في كل الكروت، الصورة كاملة بدون قص */
custom-salla-product-card .product-card__image { aspect-ratio:1/1 !important; height:auto !important; max-height:none !important; }
custom-salla-product-card .product-card__image > a { display:block; width:100%; height:100%; }
custom-salla-product-card .product-card__image img { width:100% !important; height:100% !important; object-fit:contain !important; padding:6% !important; box-sizing:border-box !important; background:transparent !important; }

/* nv-thumbs: الصور المصغّرة في صفحة المنتج — مربعة، إطار ذهبي، المختارة برتقالي */
.s-slider-thumbs-container .swiper-slide{height:auto !important;aspect-ratio:1/1 !important;border:1.5px solid #BDA77A !important;border-radius:12px !important;overflow:hidden;opacity:.75;transition:border-color .2s,opacity .2s;cursor:pointer;background:transparent !important}
.s-slider-thumbs-container .swiper-slide:hover{opacity:1;border-color:#FF7B00 !important}
html body .s-slider-thumbs-container .swiper-slide.swiper-slide-thumb-active{opacity:1;border:2px solid #FF7B00 !important;box-shadow:0 3px 10px rgba(255,123,0,.25)}
.s-slider-thumbs-container .swiper-slide::after{display:none !important}
.s-slider-thumbs-container .swiper-slide img.product-single__thumb-image{object-fit:contain !important;padding:8% !important;box-sizing:border-box;border-radius:0 !important;background:transparent !important}

/* nv-slider-arrows: أسهم تمرير المنتجات بألوان المتجر في كل الصفحات */
html body .s-slider-nav-arrow{background:#050F2C !important;color:#fff !important;border:2px solid #FF7B00 !important;box-shadow:0 3px 10px rgba(5,15,44,.25) !important;opacity:1 !important;transition:background .2s,transform .2s}
html body .s-slider-nav-arrow svg, html body .s-slider-nav-arrow svg path{fill:#fff !important;color:#fff !important}
html body .s-slider-nav-arrow:hover{background:#FF7B00 !important;transform:scale(1.08)}
html body .s-slider-nav-arrow.swiper-button-disabled{opacity:.35 !important}

/* nv-account-icon: أيقونة الحساب خطّية كحلية بإطار برتقالي بدل الصورة الكرتونية الافتراضية (لا تمس صورة رفعها العميل) */
header .s-user-menu-avatar-wrap:has(img[src*='avatar_male']), header .s-user-menu-avatar-wrap:has(img[src*='avatar_female']){width:38px !important;height:38px !important;border-radius:50%;border:1.6px solid #FF7B00;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23050F2C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8.5' r='3.6'/%3E%3Cpath d='M5.5 19.5c1.2-3.2 3.7-4.8 6.5-4.8s5.3 1.6 6.5 4.8'/%3E%3C/svg%3E") center/25px 25px no-repeat;transition:background-color .2s}
header .s-user-menu-avatar-wrap img[src*='avatar_male'], header .s-user-menu-avatar-wrap img[src*='avatar_female']{opacity:0 !important}
header .s-user-menu-trigger:hover .s-user-menu-avatar-wrap{background-color:#F5F0E2}

/* nv-tour-fixes: إصلاحات جولة 2026-11-02 */
/* أيقونة الحساب الخطّية في كل مكان (الشريط السفلي للجوال وقائمة الحساب) */
body img[src*='avatar_male']:not(header img), body img[src*='avatar_female']:not(header img){content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='18.5' fill='none' stroke='%23FF7B00' stroke-width='1.6'/%3E%3Cg fill='none' stroke='%23050F2C' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='20' cy='15.5' r='4.6'/%3E%3Cpath d='M11.8 29c1.5-4.1 4.7-6.1 8.2-6.1s6.7 2 8.2 6.1'/%3E%3C/g%3E%3C/svg%3E");background:transparent !important;border-radius:50%}
/* واتساب العائم في الجوال: دائرة صغيرة فوق الشريط السفلي */
@media (max-width:768px){
  #wa-selia{width:48px !important;height:48px !important;min-width:0 !important;padding:0 !important;bottom:84px !important;border-radius:50% !important;justify-content:center !important}
  #wa-selia a{gap:0 !important;justify-content:center !important;width:100%;height:100%}
  #wa-selia a span{display:none !important}
  #wa-selia a i{font-size:26px !important;margin:0 !important}
  body.product-single #wa-selia{bottom:150px !important}
}
/* السلة: إخفاء بنر تابي الضخم أعلى السلة + حقل الكوبون بلون هادئ */
body.cart .s-block--fixed-banner{display:none !important}
body.cart #coupon-input{background:#F5F0E2 !important;color:#050F2C !important;border:1.5px solid #BDA77A !important}
body.cart #coupon-input::placeholder{color:#7a6a4c !important}
/* التذييل: إخفاء اختيار اللغة وتبقى العملة */
.store-footer__language-btn, .store-footer__locale-row > span.mx-2\.5{display:none !important}
/* آراء العملاء: بطاقات كريمية بإطار */
html body .testimonials__review-card{background:#F5F0E2 !important;border:1.5px solid #BDA77A !important;color:#050F2C !important;box-shadow:none !important}
html body .testimonials__review-card *{color:#050F2C}
/* شريط المزايا أعلى الرئيسية */
.nv-trust{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:18px auto 6px}
.nv-trust div{display:flex;align-items:center;justify-content:center;gap:8px;background:#F5F0E2;border:1.5px solid #BDA77A;border-radius:12px;padding:10px 8px;font-weight:700;font-size:14px;color:#050F2C;text-align:center}
.nv-trust b{color:#FF7B00;font-size:18px;line-height:1}
@media (max-width:768px){.nv-trust{grid-template-columns:repeat(2,1fr);gap:8px}.nv-trust div{font-size:12.5px;padding:8px 6px}}

/* nv-player-tag-mobile: شارة «نسخة اللاعبين» أصغر في الجوال فقط */
@media (max-width:768px){
  html body custom-salla-product-card .product-card__image .product-card__promotion{font-size:10.5px !important;padding:3px 9px 3px 7px !important;top:8px !important;line-height:1.35 !important;box-shadow:0 1px 3px rgba(0,0,0,.12) !important}
}
/* nv-thankyou: iphone bar + thank-you page cards */
html, body { background-color:#decfac !important; }
.thankyou-block { background:#F5F0E2 !important; border:1px solid #BDA77A; border-radius:14px; box-shadow:none !important; padding:24px 16px; }
.thankyou-block.sent:before { display:none !important; }
.thankyou-block .rounded-icon { width:60px !important; height:60px !important; background:#050f2c !important; color:#decfac; margin-bottom:12px; display:flex; align-items:center; justify-content:center; border-radius:50%; }
.thankyou-block .rounded-icon i { font-size:28px !important; color:#decfac; }
.thankyou-block > p { font-size:16px !important; font-weight:700; color:#050f2c; }
.thankyou-block .form-input { background:#fff !important; color:#050f2c; }
.thankyou-block .sicon-whatsapp { color:#25D366; font-size:22px; }
.thankyou-block a b { font-size:16px; color:#050f2c; }

/* nv-order-status: حالة الطلب واضحة في صفحة تفاصيل الطلب (كانت فيروزي على برتقالي، تباين 1.29) */
.single-order-header-item > span[style*="color"] { color:#0b1a3a !important; background:#fff; padding:2px 10px; border-radius:999px; font-weight:700; }

/* nv-footer-logo: شعار التذييل في الجوال كان 364px */
@media (max-width:1023px){ .store-footer__brand .footer-logo img { max-width:140px !important; height:auto !important; } }

/* nv-float-buttons: في صفحة المنتج بالجوال زر واتساب كان يغطي زر نقص الكمية، نرفعه مع زر الأعلى فوق شريط الإضافة للسلة */
@media (max-width:1023px){ html body.is-sticky-product-bar #wa-selia.wa-selia, html body.is-sticky-product-bar .scroll-to-top.scroll-to-top { bottom:190px !important; } }

/* nv-sizes: المقاس النافد يظهر بحرفه مشطوبًا بدل «M - نفدت الكمية» (النص يُقصّ بـ JS nv-sizes) */
/* nv-sizes (13 نوفمبر): المقاس النافد يظهر كالمتوفر، ويُشطب مع الشفافية بعد أول اختيار لمقاس نافد (الكلاس nv-so-shown على body من JS nv-size-track). القديم: الشطب دائمًا */
body:not(.nv-so-shown) .s-product-options-option-stock-out { opacity:1 !important; }
body.nv-so-shown .s-product-options-option-stock-out .s-product-options-grid-mode-span[data-nv-so] { text-decoration:line-through; text-decoration-thickness:2px; text-decoration-color:#c0392b; }

/* nv-size-track: رسالة المقاس النافد وزر واتساب */
#nv-so-msg { display:none; margin:8px 0 4px; padding:10px 12px; border-radius:10px; background:#F5F0E2; border:1px solid #BDA77A; color:#050f2c; font-size:13px; line-height:1.7; }
#nv-so-msg a { color:#ff7b00; font-weight:700; text-decoration:underline; }

/* nv-product-gap: الفراغ بين دليل المقاسات والسعر في الجوال كان 66px */
@media (max-width:1023px){ form.product-form salla-product-options.s-product-options-wrapper { padding-bottom:4px !important; margin-bottom:0 !important; } form.product-form .product-price { padding-top:10px !important; } }

/* nv-logout-color: «تسجيل الخروج» كان #f55157 على بيج (تباين 2.2)، صار 4.88 */
a.s-user-menu-dropdown-item-link[href$="/logout"] .s-user-menu-dropdown-item-title { color:#a51d1d !important; }

/* nv-home-footer-logo: إخفاء شعار التذييل في كل الصفحات بطلب المالك (كان يظهر فراغًا فارغًا في الجوال) */
.store-footer__brand .footer-logo { display:none !important; }