/* الوجار — صفحة المنتج: اللون + الخط + صورة المنتج */
@import url("https://fonts.googleapis.com/css2?family=Amiri:wght@400;700&family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&display=swap");

/* الخط */
body.product-single .container--product-details,
body.product-single .container--product-details *:not(i):not(h1):not([class*="sicon"]):not([class^="icon"]) {
  font-family: "IBM Plex Sans Arabic", "PingARLT", sans-serif !important;
}
body.product-single .container--product-details h1 {
  font-family: "Amiri", "PingARLT", serif !important;
  font-size: clamp(30px, 3.4vw, 44px) !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
}

/* اللون */
body.product-single { background-color: #F9F5F1 !important; }
body.product-single .container--product-details h1 { color: #27180E !important; }
body.product-single .container--product-details p,
body.product-single .container--product-details li { color: #6F655E; }
body.product-single .total-price { color: #673710 !important; font-size: 26px !important; }
body.product-single .before-price { color: #9B918A !important; }
body.product-single .s-button-primary,
body.product-single .s-button-solid.s-button-primary {
  background-color: #673710 !important; border-color: #673710 !important; color: #FFFDF9 !important; border-radius: 999px !important;
}
body.product-single .s-button-primary:hover { background-color: #563115 !important; }
body.product-single .s-button-primary-outline {
  border-color: #673710 !important; color: #673710 !important; border-radius: 999px !important;
}
body.product-single .s-button-primary-outline:hover { background-color: rgba(103, 55, 16, .06) !important; }

/* صورة المنتج: إطار القوس وبدون خلفية بيضاء */
body.product-single .details-slider {
  border-radius: 999px 999px 28px 28px !important;
  overflow: hidden !important;
  background: radial-gradient(70% 60% at 50% 45%, #FFFDF9, #EAD8BA) !important;
  border: 1px solid rgba(201, 145, 41, .35);
}
body.product-single .details-slider .swiper-wrapper,
body.product-single .details-slider .s-slider-container { background: transparent !important; }
body.product-single .details-slider .swiper-slide { background: radial-gradient(70% 60% at 50% 45%, #FFFDF9, #EAD8BA) !important; }
body.product-single .details-slider .swiper-slide img {
  mix-blend-mode: multiply;
  object-fit: contain !important;
  padding: 10% 8% 6%;
}

/* الصفحة الرئيسية — بدائل إذا لم تعمل البرمجة داخل عنصر HTML */
#alwejar-store:not([data-aw-ready]) #aw-rail .aw-card[hidden] { display: flex !important; }
#alwejar-store:not([data-aw-ready]) .aw-tabs,
#alwejar-store:not([data-aw-ready]) .aw-hero__ui,
#alwejar-store:not([data-aw-ready]) .aw-rail__btn,
#alwejar-store:not([data-aw-ready]) .aw-timer { display: none !important; }
#alwejar-store:not([data-aw-ready]) .aw-wf__timer > span { font-size: 16px; font-weight: 700; color: #991B1B; }

/* === الوجار: خلفية بيج للموقع كامل === */
html, body, body.theme-raed, .app-inner, main { background-color: #F9F5F1 !important; }
.main-nav-container, .main-nav-container .inner, .main-nav-container.bg-white, .top-navbar, .store-header { background-color: #FFFDF9 !important; }
.main-nav-container { border-bottom: 1px solid #EAD8BA !important; box-shadow: none !important; }
.store-footer { background-color: #EAD8BA !important; }
.store-footer__inner { background-color: #F5F0E7 !important; }
.store-footer, .store-footer a, .store-footer p, .store-footer h3 { color: #27180E; }
.s-search-input { background-color: #F5F0E7 !important; }
.breadcrumbs, .s-breadcrumb, .container--product-details .bg-white, .product-single .bg-white, .s-product-card-entry { background-color: transparent !important; }
.s-product-card-entry { background-color: #FFFDF9 !important; border: 1px solid #EFE3CF !important; }

/* === إزالة الخلفية البيضاء من صور المنتجات (قوائم + صفحة المنتج) === */
.s-product-card-image { background: radial-gradient(circle at 50% 40%, #FFFDF9 0%, #F3E8D6 100%) !important; isolation: auto !important; }
.s-product-card-image img, .s-product-card-image-cover, .s-product-card-image-contain { mix-blend-mode: multiply !important; filter: brightness(1.07) contrast(1.06); object-fit: contain !important; }
salla-slider.details-slider .swiper-slide img, .details-slider img { filter: brightness(1.07) contrast(1.06); }

/* === الوجار: الشريط العلوي المتحرك (كل الصفحات) === */
body { padding-top: 40px !important; }
html::before, html::after, body::before, body::after { position: absolute; top: 0; left: 0; right: 0; height: 40px; line-height: 40px; text-align: center; z-index: 9999; pointer-events: none; font-family: 'IBM Plex Sans Arabic', inherit; font-size: 13.5px; direction: rtl; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 12px; }
html::before { content: ''; background: #563115; z-index: 9998; opacity: 1; }
body::before, body::after, html::after { color: #EAD8BA; opacity: 0; animation: aw-ann 13.5s infinite both; }
body::before { content: 'عرض الجمعة البيضاء — على بكج 6 علب معمول دوسري'; color: #F5C76D; animation-delay: 0s; }
body::after { content: 'الدفع عند الاستلام متاح لطلباتك'; animation-delay: 4.5s; }
html::after { content: 'قسّم مشترياتك مع تابي'; animation-delay: 9s; }
@keyframes aw-ann { 0% { opacity: 0; transform: translateY(6px); } 4% { opacity: 1; transform: none; } 29% { opacity: 1; transform: none; } 33.3% { opacity: 0; transform: translateY(-4px); } 100% { opacity: 0; } }
@media (max-width: 640px) { body { padding-top: 36px !important; } html::before, html::after, body::before, body::after { height: 36px; line-height: 36px; font-size: 12.5px; } }
@media (prefers-reduced-motion: reduce) { body::after, html::after { display: none; } body::before { animation: none; opacity: 1; } }

/* === الوجار: حذف عود الند من الواجهة === */
#alwejar-store a[href*="c2108957605"] { display: none !important; }
#alwejar-store .aw-duo { grid-template-columns: 1fr !important; }
@media (min-width: 861px) { #alwejar-store .aw-cats { grid-template-columns: repeat(3, 1fr) !important; } }

/* === الوجار: إخفاء سعر العلبة === */
#alwejar-store .aw-bundle__unit, #alwejar-store .aw-wf__price em, #alwejar-store .aw-pdp__unit { display: none !important; }

/* === الوجار: إخفاء ملصقات الخصم وأقسام محذوفة === */
#alwejar-store .aw-badge { display: none !important; }
#alwejar-store .aw-bundles .aw-h2 { display: none !important; }
#alwejar-store section:has(.aw-editorial) { display: none !important; }

/* === الوجار: شعار قسم القصة بدون خلفية + احتياطي إزالة الخلفية البيضاء لكل الأجهزة === */
#alwejar-store .aw-story__logo { background: none !important; border: 0 !important; aspect-ratio: auto !important; min-height: 420px; }
#alwejar-store .aw-story__logo img { width: 72% !important; max-width: 440px; mix-blend-mode: multiply; }
#alwejar-store .aw-img:not(.aw-photo) > img:not(.aw-cut) { mix-blend-mode: multiply; }
#alwejar-store .aw-card__media .aw-img, #alwejar-store .aw-bundle__media, #alwejar-store .aw-img:not(.aw-photo) { isolation: auto !important; }

/* === الوجار: الشعار في النص والتصنيفات تحته (كمبيوتر) === */
@media (min-width:1024px){
.main-nav-container .inner .container>.flex.justify-between{justify-content:center!important;position:relative}
.main-nav-container .inner .container>.flex.justify-between>.flex.items-center:first-child{flex-direction:column!important;align-items:center!important;width:100%;padding:12px 0 2px;gap:6px}
.main-nav-container .navbar-brand{margin:0!important}
.main-nav-container .navbar-brand img{height:56px!important;max-height:none!important;width:auto!important}
.main-nav-container custom-main-menu{width:100%;display:flex!important;justify-content:center}
.main-nav-container custom-main-menu nav,.main-nav-container custom-main-menu .main-menu{display:flex!important;justify-content:center!important;margin:0 auto!important;width:auto}
.main-nav-container .inner .container>.flex.justify-between>.flex.items-center.justify-end{position:absolute;inset-inline-end:0;top:50%;transform:translateY(-50%);margin:0!important}
}

/* ===== درافت: ألوان بانر المجلس ===== */
html body #alwejar-store{--aw-cream:#e8d9c3;--aw-paper:#f0e4d2;--aw-beige:#d6bd9b;--aw-beige-2:#dcc6a8;--aw-sand:#c6a682;--aw-burgundy:#5b3a1f;--aw-burgundy-2:#4b301a;--aw-burgundy-3:#2b1d13;--aw-brown:#4b301a;--aw-brown-2:#6e5039;--aw-gold:#c39a55;--aw-gold-2:#efcd92;--aw-gold-grad:linear-gradient(120deg,#f3d49c,#c39a55);--aw-dark-grad:radial-gradient(circle at 85% 15%,#5a3d24 0%,transparent 45%),linear-gradient(135deg,#1e140c,#2b1d13);--aw-ink:#2b1d13;--aw-muted:#5e4834;--aw-line:rgba(75,48,26,.16);--aw-line-2:rgba(75,48,26,.26);background-color:#e8d9c3!important}
html body,html body.theme-raed{background-color:#e8d9c3!important}
header.store-header,header.store-header .top-navbar,header.store-header .main-nav-container,header.store-header .main-nav-container .inner,header.store-header .mm-spn--light{background:#2b1d13!important;box-shadow:none!important;border-color:rgba(241,228,207,.12)!important}
header.store-header a,header.store-header .main-menu>li>a,header.store-header i,header.store-header button,header.store-header span{color:#f1e4cf!important}
header.store-header .s-search-input{background:rgba(241,228,207,.1)!important;color:#f1e4cf!important;border-color:rgba(241,228,207,.2)!important}
header.store-header .s-search-input::placeholder{color:#cdb99c!important}
header.store-header .navbar-brand img{content:url("https://cdn.files.salla.network/homepage/1992847837/10a57d54-875e-4b3f-9516-636203f4aaa1-standard.webp");height:58px!important;width:auto!important;max-height:58px!important;object-fit:contain}
footer.store-footer,footer.store-footer .store-footer__inner{background:#2b1d13!important}
footer.store-footer a,footer.store-footer p,footer.store-footer span,footer.store-footer li,footer.store-footer h3,footer.store-footer h4{color:#dccbb3!important}
.s-product-card-entry{background:#f0e4d2!important}
html body main,html body .app-inner{background-color:#e8d9c3!important}
#wjtop .ctas .btn{flex:0 0 auto!important;width:auto!important;min-width:170px;max-width:none!important}
section.s-block:has(#alwejar-store),section.s-block:has(#alwejar-store)>*{margin-top:0!important}
section.s-block:has(#wjtop)+section.s-block,section.s-block:has(#wjtop)+section.s-block>*{margin-top:0!important}
/* شعار قصة الوجار */
html body #alwejar-store .aw-story__visual{min-height:400px;max-width:460px;justify-self:center;width:100%;align-self:center;border-radius:220px 220px 28px 28px;background:url("https://cdn.files.salla.network/homepage/1992847837/10a57d54-875e-4b3f-9516-636203f4aaa1-standard.webp") center/auto 74% no-repeat,radial-gradient(circle at 50% 30%,#5a3d24 0%,transparent 60%),#2b1d13;box-shadow:0 0 0 1px rgba(195,154,85,.45),inset 0 0 0 10px #2b1d13,inset 0 0 0 11px rgba(195,154,85,.5)}
/* صور بدون خلفية */
html body #alwejar-store img[src*="4026f519"]{content:url("https://cdn.files.salla.network/homepage/1992847837/1d27f668-5f6d-4927-aca2-efa8b81910e8-standard.webp");mix-blend-mode:normal!important}
html body #alwejar-store img[src*="41c075de"]{content:url("https://cdn.files.salla.network/homepage/1992847837/d9211f2b-f57b-4658-87ce-6f09216a8386-standard.webp");mix-blend-mode:normal!important}
html body #alwejar-store img[src*="0da5a3dd"]{content:url("https://cdn.files.salla.network/homepage/1992847837/0d931edb-17c1-48a7-ad58-5ca576df89e9-standard.webp");mix-blend-mode:normal!important}
html body #alwejar-store img[src*="ca28f559"]{content:url("https://cdn.files.salla.network/homepage/1992847837/4fb54786-8952-4c70-8b4e-3d320fb9ce73-standard.webp");mix-blend-mode:normal!important}
html body #alwejar-store img[src*="c29d953e"]{content:url("https://cdn.files.salla.network/homepage/1992847837/dce6e5c9-1699-444e-8c78-ce24d603eea1-standard.webp");mix-blend-mode:normal!important}
html body #alwejar-store img[src*="57d2a74c"]{content:url("https://cdn.files.salla.network/homepage/1992847837/da7c72e4-677f-4293-a429-7029fe6ee6a8-standard.webp");mix-blend-mode:normal!important}
html body #alwejar-store img[src*="74c748cd"],html body #alwejar-store img[src*="16b308fb"],html body #alwejar-store img[src*="777db47d"],html body #alwejar-store img[src*="5a7fad00"]{content:url("https://cdn.files.salla.network/homepage/1992847837/f4c63c1b-c69a-4ec5-b2a2-15e4299e6fbe-standard.webp");mix-blend-mode:normal!important;object-fit:contain!important}
html body #alwejar-store img[src*="33fb40fb"],html body #alwejar-store img[src*="0695c931"],html body #alwejar-store img[src*="34e034c0"],html body #alwejar-store img[src*="37da1828"]{content:url("https://cdn.files.salla.network/homepage/1992847837/60f65044-e33f-428d-8c3c-9e88dcbe1f52-standard.webp");mix-blend-mode:normal!important;object-fit:contain!important}
/* أيقونات */
html body #alwejar-store svg.aw-ico{display:inline-block;background-color:currentColor;-webkit-mask:var(--ic) center/contain no-repeat;mask:var(--ic) center/contain no-repeat;--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M11 6l-6 6 6 6'/%3E%3C/svg%3E")}
html body #alwejar-store .aw-trust__item:nth-child(1) svg.aw-ico{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h11v10H3z'/%3E%3Cpath d='M14 9h4l3 3v4h-7'/%3E%3Ccircle cx='7' cy='17.5' r='1.8'/%3E%3Ccircle cx='17' cy='17.5' r='1.8'/%3E%3C/svg%3E");width:30px;height:30px;color:#4b301a}
html body #alwejar-store .aw-trust__item:nth-child(2) svg.aw-ico{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5.5' width='18' height='13' rx='2'/%3E%3Cpath d='M3 10h18M7 15h3'/%3E%3C/svg%3E");width:30px;height:30px;color:#4b301a}
html body #alwejar-store .aw-trust__item:nth-child(3) svg.aw-ico{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5c0 4.5-3 8-7 10-4-2-7-5.5-7-10V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E");width:30px;height:30px;color:#4b301a}
html body #alwejar-store .aw-trust__item:nth-child(4) svg.aw-ico{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12a8 8 0 1 1 3.5 6.6L4 20l1.3-3.6A8 8 0 0 1 4 12z'/%3E%3Cpath d='M9 10.5c.5 2 2 3.5 4 4'/%3E%3C/svg%3E");width:30px;height:30px;color:#4b301a}
html body #alwejar-store .aw-arrow:first-child svg.aw-ico{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E")}
html body #alwejar-store .aw-arrow:last-child svg.aw-ico{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 6l-6 6 6 6'/%3E%3C/svg%3E")}
/* إخفاء قسم دخون العود + خلفية أيقونة الحساب */
section.aw-dk-sec,html body #alwejar-store .aw-dk-sec{display:none!important}
header.store-header .s-user-menu-trigger,header.store-header .s-user-menu-trigger:hover{background:transparent!important;box-shadow:none!important}
html body #alwejar-store .aw-story__logo{display:none!important}
/* ===== تحسينات الجوال ===== */
.aw-wf__timer:has(.aw-timer) .wj-tmr{display:none!important}
@media (max-width:640px){
html body #alwejar-store .aw-bundle{grid-template-columns:1fr!important;grid-template-rows:auto auto!important}
html body #alwejar-store .aw-bundle__media{order:-1;width:100%!important;height:220px!important;min-height:0!important;max-height:none!important;padding:12px!important}
html body #alwejar-store .aw-bundle__media img{width:100%!important;height:100%!important;object-fit:contain!important}
html body #alwejar-store .aw-bundle__body{width:100%!important;padding:18px 18px 22px!important;gap:12px}
html body #alwejar-store .aw-bundle__body .aw-btn{width:100%;justify-content:center}
html body #alwejar-store .aw-trust__list{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;overflow:visible!important}
html body #alwejar-store .aw-trust__list>*{min-width:0!important;width:auto!important;flex:none!important}
html body #alwejar-store .aw-story__visual{min-height:280px!important;max-width:300px!important;margin:8px auto 0!important;border-radius:160px 160px 24px 24px}
html body #alwejar-store .aw-h2{font-size:clamp(26px,7.5vw,34px)!important;line-height:1.35!important}
html body #alwejar-store .aw-lead{font-size:15px!important;line-height:1.9!important}
html body #alwejar-store .aw-section{padding-top:48px!important;padding-bottom:48px!important}
html body #alwejar-store .aw-trust__item{flex-direction:column!important;align-items:center!important;text-align:center!important;gap:8px!important;padding:14px 10px!important}
html body #alwejar-store .aw-trust__item *{text-align:center!important}
footer.store-footer p,footer.store-footer .store-footer__inner p{color:#cbb89b!important}
}