/* ترتيب رأس الكشك لكلّ القوالب — يُحمَّل بعد ملفّ القالب فيغلبه في التخطيط فقط (لا الألوان). */
.k-head .wrap{gap:10px;min-width:0}
.k-head .k-brand{min-width:0;flex:0 1 auto;margin-inline-end:auto}
.k-head .k-brand img{flex:none}
.k-head .k-brand span{min-width:0;line-height:1.25}
.k-head .k-nav{flex:none}
.k-head .k-nav a{white-space:nowrap}
.k-head .k-hsearch{flex:1 1 240px;max-width:360px;min-width:180px}
.k-head .k-cart{flex:none;white-space:nowrap}
.k-head .k-cart>svg{flex:none;width:20px;height:20px}
.k-head .k-user,.k-head .k-head-wa,.k-head .aa-mode,.k-head .k-hsearch-toggle,.k-head .k-menu-btn{flex:none}
.k-head .k-user{white-space:nowrap}
/* روابط الأقسام حين يتّسع الرأس فقط — وهي في القائمة الجانبيّة دائمًا */
@media(max-width:1149.98px){.k-head .k-nav{display:none!important}}
@media(max-width:899.98px){
  .k-head .wrap{gap:8px;min-height:60px}
  .k-head .k-brand{gap:8px}
  .k-head .k-brand img{width:36px;height:36px}
  .k-head .k-brand span{font-size:15px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:clip}
  .k-head .aa-mode{display:none!important}
  .k-head .k-cart{padding:8px 12px;gap:6px}
}
@media(max-width:480px){.k-head .k-cart>span{display:none}}
/* زرّ الوضع داخل القائمة الجانبيّة (قالب عالي) */
.k-drawer-mode{display:flex;align-items:center;justify-content:center;gap:8px;height:40px;border-radius:10px;border:1.5px solid var(--line-2,#e5e5ef);background:transparent;color:inherit;font-weight:800;font-size:14px;cursor:pointer;font-family:inherit}
.k-drawer-mode:hover{background:color-mix(in srgb,var(--kp,#312267) 7%,transparent)}

/* ── «لماذا تشتري منّا» شريطًا واحدًا (26/9): لكلّ القوالب، بألوان المتجر ── */
html body .k-features.k-features--band{display:grid;grid-template-columns:repeat(var(--n,3),minmax(0,1fr));gap:0;background:var(--card);border:1px solid var(--line);border-radius:var(--r,18px);box-shadow:var(--sh-1);overflow:hidden;position:relative}
html body .k-features.k-features--band::before{content:"";position:absolute;inset:0;background:radial-gradient(420px 160px at 50% -40%,color-mix(in srgb,var(--kp) 10%,transparent),transparent 70%);pointer-events:none}
html body .k-features.k-features--band .k-feature{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:0;padding:26px 18px 24px;background:none;border:0;border-radius:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;transform:none}
html body .k-features.k-features--band .k-feature+.k-feature::after{content:"";position:absolute;inset-block:22px;inset-inline-start:0;width:1px;background:var(--line)}
html body .k-features.k-features--band .k-feature .ic{width:58px;height:58px;border-radius:50%;background:linear-gradient(145deg,color-mix(in srgb,var(--kp) 72%,#fff) 0%,var(--kp) 60%);color:var(--kp-on,#fff);border:0;box-shadow:0 10px 24px color-mix(in srgb,var(--kp) 30%,transparent),0 0 0 3px var(--card),0 0 0 5px color-mix(in srgb,var(--ka) 70%,transparent);transition:transform .25s ease}
html body .k-features.k-features--band .k-feature .ic svg{width:26px;height:26px}
html body .k-features.k-features--band .k-feature:hover .ic{transform:translateY(-3px) rotate(-6deg)}
html body .k-features.k-features--band .k-feature .t{margin-top:12px;font-size:16px;font-weight:800;line-height:1.35}
html body .k-features.k-features--band .k-feature .d{margin-top:4px;font-size:13px;line-height:1.55;color:var(--muted);max-width:26ch}
@media(max-width:560px){
  html body .k-features.k-features--band .k-feature{padding:18px 8px 16px}
  html body .k-features.k-features--band .k-feature .ic{width:46px;height:46px}
  html body .k-features.k-features--band .k-feature .ic svg{width:21px;height:21px}
  html body .k-features.k-features--band .k-feature .t{font-size:13.5px;margin-top:9px}
  html body .k-features.k-features--band .k-feature .d{font-size:11.5px}
}
@media(max-width:560px){html body .k-features.k-features--band[style*="--n: 4"]{grid-template-columns:repeat(2,minmax(0,1fr))}html body .k-features.k-features--band[style*="--n: 4"] .k-feature:nth-child(3)::after{display:none}}
@media(prefers-reduced-motion:reduce){html body .k-features.k-features--band .k-feature .ic{transition:none}}

/* ── شريط الثقة في التذييل (26/9): شريط واحد بفواصل، بنفس لغة «لماذا تشتري منّا» ── */
html body .k-foot .wrap.k-trust{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding-block:0;margin-block:24px 8px}
@media(min-width:760px){html body .k-foot .wrap.k-trust{grid-template-columns:repeat(4,minmax(0,1fr))}}
html body .k-foot .wrap.k-trust::before{content:"";position:absolute;inset-block:0;inset-inline:16px;background:var(--card);border:1px solid var(--line);border-radius:var(--r,18px);box-shadow:var(--sh-1);pointer-events:none}
@media(min-width:900px){html body .k-foot .wrap.k-trust::before{inset-inline:24px}}
html body .k-foot .wrap.k-trust>*{position:relative;display:flex;align-items:center;gap:12px;padding:18px 18px;background:none;border:0;border-radius:0;box-shadow:none;color:inherit;text-decoration:none}
html body .k-foot .wrap.k-trust>*>svg{flex:none;width:46px;height:46px;padding:12px;border-radius:50%;background:linear-gradient(145deg,color-mix(in srgb,var(--kp) 72%,#fff) 0%,var(--kp) 60%);color:var(--kp-on,#fff);box-shadow:0 8px 20px color-mix(in srgb,var(--kp) 26%,transparent),0 0 0 3px var(--card),0 0 0 4.5px color-mix(in srgb,var(--ka) 65%,transparent)}
html body .k-foot .wrap.k-trust b{font-size:14.5px;font-weight:800}
html body .k-foot .wrap.k-trust span{font-size:12.5px;color:var(--muted);white-space:normal}
html body .k-foot .wrap.k-trust a:hover b{color:var(--kp-t)}
/* الفواصل: عموديّة بين العناصر، وأفقيّة بين الصفّين على الجوال */
html body .k-foot .wrap.k-trust>*::after{content:"";position:absolute;background:var(--line)}
@media(max-width:759.98px){
  html body .k-foot .wrap.k-trust>*{padding:16px 12px 16px 12px;flex-direction:column;text-align:center;gap:8px}
  html body .k-foot .wrap.k-trust>*>svg{width:40px;height:40px;padding:10px}
  html body .k-foot .wrap.k-trust>*:nth-child(1){margin-inline-start:16px}
  html body .k-foot .wrap.k-trust>*:nth-child(2){margin-inline-end:16px}
  html body .k-foot .wrap.k-trust>*:nth-child(3){margin-inline-start:16px}
  html body .k-foot .wrap.k-trust>*:nth-child(4){margin-inline-end:16px}
  html body .k-foot .wrap.k-trust>*:nth-child(even)::after{inset-block:14px;inset-inline-start:0;width:1px}
  html body .k-foot .wrap.k-trust>*:nth-child(n+3)::before{content:"";position:absolute;inset-block-start:0;inset-inline:12px;height:1px;background:var(--line)}
}
@media(min-width:760px){
  html body .k-foot .wrap.k-trust>*:first-child{margin-inline-start:16px}
  html body .k-foot .wrap.k-trust>*:last-child{margin-inline-end:16px}
  html body .k-foot .wrap.k-trust>*+*::after{inset-block:16px;inset-inline-start:0;width:1px}
}
@media(min-width:900px){
  html body .k-foot .wrap.k-trust>*:first-child{margin-inline-start:24px}
  html body .k-foot .wrap.k-trust>*:last-child{margin-inline-end:24px}
}
/* تذييل داكن (إعداد التاجر): الشريط زجاجيّ داكن والنصوص فاتحة */
html body:not(.tpl-aali.mode-light) .k-foot.dark .wrap.k-trust::before{background:color-mix(in srgb,#fff 5%,transparent);border-color:color-mix(in srgb,#fff 12%,transparent);box-shadow:none}
html body:not(.tpl-aali.mode-light) .k-foot.dark .wrap.k-trust>*{color:#fff}
html body:not(.tpl-aali.mode-light) .k-foot.dark .wrap.k-trust span{color:#b3b7c8}
html body:not(.tpl-aali.mode-light) .k-foot.dark .wrap.k-trust>*::after,html body:not(.tpl-aali.mode-light) .k-foot.dark .wrap.k-trust>*::before{background:color-mix(in srgb,#fff 12%,transparent)}
html body:not(.tpl-aali.mode-light) .k-foot.dark .wrap.k-trust>*>svg{box-shadow:0 8px 20px rgba(0,0,0,.35),0 0 0 3px transparent,0 0 0 4.5px color-mix(in srgb,var(--ka) 65%,transparent)}
html body:not(.tpl-aali.mode-light) .k-foot.dark .wrap.k-trust b{color:#fff}
