/* حقل "العنوان الترويجي" يُستخدم كحامل مخفي لكميات المقاسات.
   إخفاؤه هنا في CSS (لا في JavaScript) حتى لا يظهر ولو للحظة.
   القواعد تغطي صفحة المنتج وبطاقة المنتج في التصفح والرئيسية معاً. */
.promotion-title,
[class*="promotion-title"],
[class*="promotion_title"],
[class*="promotion-label"],
.s-product-card-promotion-title,
.s-product-card-promotion,
.product-promotion-title,
.product-promotion {
  display: none !important;
}

/* ===== صفحة «طريقة الطلب والتركيب» (منقول من الصفحة لأن سلة صارت تحوّل وسم style لنص، 23 نوفمبر 2026). كل القواعد محصورة في .dw-order-v2 و #dwOrder ===== */
.dw-order-v2{direction:rtl;text-align:right;font-family:var(--font-main,'Cairo'),'Cairo',Tahoma,sans-serif;color:#111;background:#fff;overflow:hidden}
.dw-order-v2 *{box-sizing:border-box}
.dw-order-v2 a{text-decoration:none}
.dw-order-v2 .dw-shell{max-width:1160px;margin:0 auto;padding:22px 14px 56px}
.dw-order-v2 .dw-hero{position:relative;min-height:340px;border-radius:34px;overflow:hidden;background:#111;color:#fff;display:flex;align-items:center;box-shadow:0 24px 70px rgba(0,0,0,.14)}
.dw-order-v2 .dw-hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 82% 12%,rgba(228,50,62,.4),transparent 30%),linear-gradient(135deg,#101010 0%,#202020 48%,#050505 100%);z-index:0}
.dw-order-v2 .dw-hero-copy{position:relative;z-index:2;padding:56px 52px;max-width:820px}
.dw-order-v2 .dw-brandline{display:flex;align-items:center;gap:10px;margin-bottom:18px;color:rgba(255,255,255,.78);font-size:13px;font-weight:800;letter-spacing:.03em}
.dw-order-v2 .dw-brandline span{width:34px;height:2px;background:#e4323e;display:inline-block;border-radius:30px}
.dw-order-v2 h1{margin:0;color:#fff;font-size:clamp(34px,5vw,58px);line-height:1.08;font-weight:800;letter-spacing:-.03em;max-width:720px;overflow-wrap:break-word}
.dw-order-v2 .dw-lead{margin:18px 0 0;max-width:680px;color:rgba(255,255,255,.82);font-size:clamp(17px,2.2vw,21px);line-height:1.75;font-weight:500}
.dw-order-v2 .dw-btn{min-height:48px;border-radius:999px;padding:12px 22px;display:inline-flex;align-items:center;justify-content:center;font-size:15px;font-weight:800;border:1px solid transparent;transition:.2s ease;text-decoration:none;margin-top:28px}
.dw-order-v2 .dw-btn:hover{filter:brightness(1.07);transform:translateY(-1px)}
.dw-order-v2 .dw-btn:active{transform:scale(.97)}
.dw-order-v2 .dw-section{margin-top:18px;border-radius:30px;border:1px solid #ededed;background:#fff;padding:34px 30px;box-shadow:0 16px 44px rgba(0,0,0,.04)}
.dw-order-v2 .dw-section.dark{background:#111;color:#fff;border-color:#111;box-shadow:0 24px 70px rgba(0,0,0,.12)}
.dw-order-v2 .dw-kicker{display:inline-flex;align-items:center;gap:10px;color:#e4323e;font-size:13px;font-weight:800;margin-bottom:12px}
.dw-order-v2 .dw-kicker:before{content:"";width:30px;height:2px;background:#e4323e;border-radius:30px}
.dw-order-v2 h2{margin:0 0 4px;color:#111;font-size:clamp(26px,3vw,40px);line-height:1.2;font-weight:800;letter-spacing:-.03em;overflow-wrap:break-word}
.dw-order-v2 .dark h2{color:#fff}
.dw-order-v2 .dw-process{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:26px}
.dw-order-v2 .dw-step{position:relative;border-radius:24px;padding:24px 20px;color:#fff;border:1px solid rgba(255,255,255,.13);background:linear-gradient(180deg,rgba(255,255,255,.1),rgba(255,255,255,.055))}
.dw-order-v2 .dw-step b{display:block;color:#e4323e;font-size:26px;line-height:1;font-weight:800;margin-bottom:15px}
.dw-order-v2 .dw-step strong{display:block;font-size:18px;font-weight:800;margin-bottom:8px;color:#fff}
.dw-order-v2 .dw-step p{margin:0;color:rgba(255,255,255,.72);font-size:14px;line-height:1.7}
.dw-order-v2 .dw-need{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:26px}
.dw-order-v2 .dw-need-card{border-radius:24px;background:#f8f8f8;border:1px solid #eeeeee;padding:22px 20px}
.dw-order-v2 .dw-need-card strong{display:block;color:#111;font-size:18px;font-weight:800;margin-bottom:9px}
.dw-order-v2 .dw-need-card p{margin:0;color:#4c4d51;font-size:15px;line-height:1.7}
.dw-order-v2 .dw-note{margin-top:18px;border-radius:24px;border:1px solid #f4c9cc;background:#fdf4f4;padding:24px 26px;display:flex;gap:16px;align-items:flex-start}
.dw-order-v2 .dw-note .dw-note-bar{flex:0 0 4px;align-self:stretch;background:#e4323e;border-radius:30px}
.dw-order-v2 .dw-note strong{display:block;color:#111;font-size:18px;font-weight:800;margin-bottom:6px}
.dw-order-v2 .dw-note p{margin:0;color:#4c4d51;font-size:15px;line-height:1.75}
.dw-order-v2 .dw-final{margin-top:18px;border-radius:30px;padding:36px 34px;background:linear-gradient(135deg,#e4323e,#111);color:#fff;display:grid;grid-template-columns:1.2fr auto;gap:22px;align-items:center;overflow:hidden;position:relative}
.dw-order-v2 .dw-final:before{content:"";position:absolute;left:-70px;bottom:-80px;width:220px;height:220px;border-radius:50%;background:rgba(255,255,255,.12)}
.dw-order-v2 .dw-final h2{position:relative;margin:0;color:#fff;font-size:clamp(26px,4vw,44px)}
.dw-order-v2 .dw-final p{position:relative;margin:10px 0 0;color:rgba(255,255,255,.85);font-size:17px;line-height:1.7}
.dw-order-v2 .dw-final .dw-btn{position:relative;background:#fff;color:#111;white-space:nowrap;margin-top:0}
@media(max-width:900px){
  .dw-order-v2 .dw-hero{min-height:auto;border-radius:28px}
  .dw-order-v2 .dw-hero-copy{padding:34px 22px}
  .dw-order-v2 .dw-process,.dw-order-v2 .dw-need{grid-template-columns:1fr 1fr}
  .dw-order-v2 .dw-final{grid-template-columns:1fr}
}
@media(max-width:560px){
  .dw-order-v2{margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);width:100vw}
  .dw-order-v2 .dw-shell{padding:14px 12px 40px}
  .dw-order-v2 .dw-hero{border-radius:24px}
  .dw-order-v2 .dw-hero-copy{padding:30px 18px}
  .dw-order-v2 h1{font-size:32px;line-height:1.12}
  .dw-order-v2 .dw-lead{font-size:16px}
  .dw-order-v2 .dw-btn{width:100%;min-height:50px}
  .dw-order-v2 .dw-process,.dw-order-v2 .dw-need{grid-template-columns:1fr}
  .dw-order-v2 .dw-section{padding:24px 18px;border-radius:24px;margin-top:14px}
  .dw-order-v2 h2{font-size:26px;line-height:1.25}
  .dw-order-v2 .dw-final{padding:28px 20px;border-radius:24px}
}
/* ===== أقسام التوصيل والتركيب والفك والضمان (23 نوفمبر 2026) ===== */
.dw-order-v2 .dw-cols3{grid-template-columns:repeat(3,1fr)}
@media(max-width:900px){.dw-order-v2 .dw-cols3{grid-template-columns:1fr}}
/* ===== تجاوز ثيم سلة بأولوية قصوى ===== */
#dwOrder .dw-btn-red,#dwOrder .dw-btn-red:link,#dwOrder .dw-btn-red:visited,#dwOrder .dw-btn-red:hover,#dwOrder .dw-btn-red:active{color:#fff!important;background:#e4323e!important;text-decoration:none!important}
#dwOrder .dw-final>a.dw-btn,#dwOrder .dw-final>a.dw-btn:link,#dwOrder .dw-final>a.dw-btn:visited,#dwOrder .dw-final>a.dw-btn:hover{color:#111!important;background:#fff!important;text-decoration:none!important}
#dwOrder h1{color:#fff!important;font-size:clamp(34px,5vw,58px)!important;line-height:1.08!important}
#dwOrder .dark h2,#dwOrder .dw-final h2{color:#fff!important}
/* إخفاء زر المفضلة (القلب) من كروت المنتجات في الصفحة الرئيسية */
body.index .s-product-card-wishlist-btn{display:none!important}
/* إخفاء الوزن من صفحة المنتج */
.product-form section:has(.product-weight),.product-weight{display:none!important}
/* وصف الكرت سطرين في صفحة التصنيف */
.dw-cat .s-product-card-content-subtitle{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
/* إخفاء رابط المدونة من كل القوائم (الفوتر ونافذة «حسابي» في الجوال) */
a.s-menu-footer-item[href$="/blog"],.dw-flinks a[href$="/blog"]{display:none!important}
/* إخفاء «لا يوجد المزيد لعرضه» آخر قائمة المنتجات */
.s-items-list-end{display:none!important}
/* إخفاء «أضف إلى السلة» في كروت الجداريات من أول لحظة، والجافاسكربت يحط مكانه «اختر المقاس» */
#product-card-168977808 .s-product-card-content-footer > div:not(.s-button-wrap),
#product-card-1602699150 .s-product-card-content-footer > div:not(.s-button-wrap),
#product-card-1751152000 .s-product-card-content-footer > div:not(.s-button-wrap),
#product-card-552864132 .s-product-card-content-footer > div:not(.s-button-wrap),
#product-card-263351999 .s-product-card-content-footer > div:not(.s-button-wrap),
#product-card-1786364850 .s-product-card-content-footer > div:not(.s-button-wrap),
#product-card-1563477329 .s-product-card-content-footer > div:not(.s-button-wrap){display:none!important}
/* الفوتر يظهر أسفل الصفحة في الجوال كمان (الثيم كان يخفيه ويحطه في «حسابي» بس) */
@media (max-width:1023.98px){
  footer.store-footer .store-footer__inner{display:block!important}
  footer.store-footer .store-footer__bottom{display:flex!important;flex-direction:column;align-items:center;gap:8px;text-align:center;padding-top:16px;padding-bottom:16px}
  footer.store-footer{padding-bottom:84px}
}
/* الشريط السفلي في الجوال: كلمة الزر النشط كانت مضغوطة (ارتفاع السطر 14 بكسل) */
.mobile-bottom-bar__item.is-active{gap:6px!important;padding:0 14px!important}
.mobile-bottom-bar__label{line-height:1.5!important;font-size:13.5px!important;font-weight:700!important;overflow:visible!important;white-space:nowrap}
/* خلفية الفوتر: لمسة باهتة جداً من لون ديوالز بدل الأخضر */
footer.store-footer{background-color:#fdfafa!important}
footer.store-footer .store-footer__inner{border-color:#f3e7e8!important}
/* الشريط السفلي في الجوال: زر واتساب مكان البحث (الجافاسكربت يضيف الزر) */
[data-testid="mobile-bottom-bar-search"]{display:none!important}
.dw-wa-tab{text-decoration:none!important}
/* 29 نوفمبر 2026 (موافقة وليد): الكرت كله يفتح صفحة المنتج، بدل ما الوصف والسعر يكونون بدون رابط */
.s-product-card-entry{position:relative}
.s-product-card-content-title a::after{content:"";position:absolute;inset:0;z-index:1}
.dw-size-btn,.s-product-card-wishlist-btn,.s-product-card-content-footer button{position:relative;z-index:2}
.dw-badge{pointer-events:none}
/* 29 نوفمبر 2026 (موافقة وليد): صفحة التصنيف في الجوال، بدون بنر الجمعة الحمراء (العداد فوق يكفي) ومقدمة مختصرة، عشان أول جدارية تطلع في أول شاشة */
@media (max-width:767px){
  body.dw-cat .dw-catbn{display:none!important}
  body.dw-cat .dwc-stats,body.dw-cat .dwc-pay{display:none!important}
  body.dw-cat .dwc-hero{padding:12px 14px!important;margin:0 0 12px!important}
  body.dw-cat .dwc-hero h2{font-size:17px!important;margin:0 0 4px!important}
  body.dw-cat .dwc-hero p{font-size:13px!important;margin:0!important}
}