/* تعديلات خاصة بالووردبريس فقط — التصميم الأساسي في site.css */

.ash-lang[hidden] { display: none !important; }

#wpadminbar { z-index: 100000; }
body.admin-bar header.fixed { top: 46px; }
@media screen and (min-width: 783px) {
  body.admin-bar header.fixed { top: 44px; }
}

/* درج قائمة الجوال */
.ash-drawer {
  position: fixed;
  inset: 0;
  z-index: 2147483646 !important;
  display: none;
}
.ash-drawer.open { display: block !important; }
body.ash-menu-open { overflow: hidden !important; }
.ash-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}
.ash-drawer__panel {
  position: absolute;
  top: 88px;
  inset-inline: 12px;
  border-radius: 1.75rem;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  padding: 12px;
  animation: scale-in 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.ash-drawer__panel a {
  display: block;
  padding: 12px 16px;
  border-radius: 9999px;
  font-weight: 800;
  color: var(--foreground);
  text-decoration: none;
}
.ash-drawer__panel a:hover { background: var(--orange-soft); }
.dark .ash-drawer__panel a:hover { background: rgba(255, 255, 255, 0.08); }

/* تنبيهات */
.ash-toast {
  pointer-events: auto;
  padding: 14px 22px;
  border-radius: 9999px;
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.5);
  animation: fade-up 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.ash-toast--ok { background: linear-gradient(135deg, #FF6A00 0%, #FF8A00 45%, #FFA733 100%); }
.ash-toast--err { background: #1f2937; }

/* لايت بوكس الألبوم */
.ash-lightbox {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  animation: scale-in 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.ash-lightbox img {
  max-width: 95vw;
  max-height: 90vh;
  border-radius: 1.75rem;
  box-shadow: var(--shadow-float);
}

/* عناصر الأسئلة الشائعة */
[data-ash-answer] { overflow: hidden; transition: max-height 0.4s ease, opacity 0.3s ease; }
[data-ash-answer][data-open="0"] { max-height: 0 !important; opacity: 0; }

/* شريط شركاء النجاح — حلقة لانهائية */
@keyframes marquee-loop{0%{transform:translate3d(0,0,0)}100%{transform:translate3d(-50%,0,0)}}
.animate-marquee-loop{animation:marquee-loop 35s linear infinite;will-change:transform}
#partners [dir="ltr"]{direction:ltr}

/* === ASH v3.9.2 — إصلاح الهيدر (الشعار العملاق / الشريط الأبيض الضخم) === */
header .ash-logo,
header a > img[alt="Auto Shield Hut"],
.ash-site-header img.ash-logo{
  height:56px !important;
  max-height:56px !important;
  width:auto !important;
  max-width:220px !important;
  object-fit:contain !important;
  display:block !important;
}
@media (min-width:640px){
  header .ash-logo,
  header a > img[alt="Auto Shield Hut"]{ height:72px !important; max-height:72px !important; max-width:280px !important; }
}
header.fixed > div{ max-width:80rem !important; }
header.fixed > div > div{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  min-height:0 !important;
  padding-top:.5rem !important;
  padding-bottom:.5rem !important;
}
header.fixed{ pointer-events:auto; }
/* منع أي إضافة من تكبير صور الهيدر */
header img{ max-height:80px; width:auto; }


/* ASH 4.3.2: FAQ مطابق للمشروع ومستقل عن Elementor */
.ash-faq-section{padding:6rem 1rem;background:linear-gradient(to bottom,var(--background),var(--orange-soft));color:var(--foreground)}
.dark .ash-faq-section{background:linear-gradient(to bottom,#0a0a0a,#0f0f0f)}
.ash-faq-container{width:min(100%,48rem);margin-inline:auto}
.ash-faq-heading{text-align:center;margin-bottom:3.5rem;display:block!important;visibility:visible!important;opacity:1!important;color:var(--foreground)}
.ash-faq-eyebrow{display:inline-flex;padding:.45rem 1rem;border-radius:999px;background:var(--card);box-shadow:var(--shadow-card);color:var(--orange-1);font-size:1.125rem;font-weight:800;margin-bottom:1rem}
.dark .ash-faq-eyebrow{background:rgba(255,255,255,.05)}
.ash-faq-heading h2{display:block!important;visibility:visible!important;opacity:1!important;margin:0;font-size:clamp(2.25rem,5vw,3rem);line-height:1.2;font-weight:900;color:var(--foreground)}
.ash-faq-list{display:grid;gap:1rem}
.ash-faq-item{overflow:hidden;border:1px solid var(--border);border-radius:1.5rem;background:var(--card);box-shadow:var(--shadow-card)}
.ash-faq-item h3{margin:0;font-size:inherit;line-height:inherit}
.ash-faq-question{width:100%;min-height:4.5rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.25rem 1.5rem;text-align:start;cursor:pointer;color:var(--foreground);background:transparent;border:0;font-size:clamp(1rem,2vw,1.125rem);line-height:1.6;font-weight:900}
.ash-faq-question svg{width:1.25rem;height:1.25rem;flex:0 0 1.25rem;color:var(--orange-1);transition:transform .3s ease}
.ash-faq-question svg.is-open{transform:rotate(180deg)}
.ash-faq-answer{overflow:hidden;opacity:1;transition:max-height .4s ease,opacity .25s ease}
.ash-faq-answer[data-open="0"]{max-height:0!important;opacity:0}
.ash-faq-answer p{margin:0;padding:0 1.5rem 1.5rem;color:var(--muted-foreground);line-height:1.8}

/* ASH 4.3.2: صفحة آلية العمل مطابقة لترتيب مشروع Lovable */
.ash-process-page{padding-top:8rem;color:var(--foreground);background:var(--background);overflow:hidden}
.ash-process-hero{width:min(100% - 2rem,48rem);margin-inline:auto;text-align:center}
.ash-process-eyebrow{display:inline-flex;padding:.45rem 1rem;border-radius:999px;background:var(--orange-soft);color:var(--orange-1);font-size:.875rem;font-weight:700;margin-bottom:1rem}
.dark .ash-process-eyebrow{background:rgba(255,255,255,.05)}
.ash-process-hero h1{margin:0;font-size:clamp(2.25rem,6vw,3.75rem);line-height:1.15;font-weight:900;color:var(--foreground)}
.ash-process-hero>p{max-width:42rem;margin:1.25rem auto 0;color:var(--muted-foreground);line-height:1.8}
.ash-process-timeline{position:relative;width:min(100% - 2rem,72rem);margin:1rem auto 0;padding:6rem 0}
.ash-process-spine{position:absolute;inset-block:6rem;width:1px;inset-inline-start:50%;background:linear-gradient(to bottom,transparent,var(--orange-1) 12%,var(--orange-1) 88%,transparent)}
.ash-process-timeline ol{display:grid;gap:.5rem;margin:0;padding:0;list-style:none}
.ash-process-step{position:relative;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:3rem;min-height:10rem}
.ash-process-node{position:absolute;z-index:2;top:50%;inset-inline-start:50%;width:1rem;height:1rem;transform:translate(50%,-50%);border:2px solid var(--orange-1);border-radius:50%;background:var(--background)}
html[dir="ltr"] .ash-process-node{transform:translate(-50%,-50%)}
.ash-process-icon{width:9rem;height:9rem;display:grid;place-items:center;border-radius:50%;background:#f5f5f5;box-shadow:var(--shadow-float);color:#111;transition:transform .4s ease}
.ash-process-step:hover .ash-process-icon{transform:scale(1.05)}
.ash-process-icon svg{width:3.5rem;height:3.5rem;stroke:#111}
.ash-process-copy{max-width:28rem}
.ash-process-title{display:flex;align-items:center;gap:.75rem}
.ash-process-title>span{font-size:1.875rem;font-weight:900;color:color-mix(in srgb,var(--muted-foreground) 50%,transparent);font-variant-numeric:tabular-nums}
.ash-process-title h2{margin:0;color:var(--orange-1);font-size:1.25rem;line-height:1.4;font-weight:900}
.ash-process-copy>p{margin:.5rem 0 0;color:var(--muted-foreground);font-size:.9375rem;line-height:1.8}
.ash-process-step--odd .ash-process-icon{grid-column:1;justify-self:end;margin-inline-end:3.5rem}
.ash-process-step--odd .ash-process-copy{grid-column:2;grid-row:1;margin-inline-start:3.5rem;text-align:start}
.ash-process-step--even .ash-process-copy{grid-column:1;grid-row:1;justify-self:end;margin-inline-end:3.5rem;text-align:end}
.ash-process-step--even .ash-process-title{justify-content:flex-end}
.ash-process-step--even .ash-process-icon{grid-column:2;grid-row:1;justify-self:start;margin-inline-start:3.5rem}
@media(max-width:767px){
 .ash-process-page{padding-top:7rem}.ash-process-timeline{padding:4rem 0}.ash-process-spine{inset-block:4rem;inset-inline-start:1.5rem}.ash-process-step{display:block;min-height:0;padding:1rem 0 1rem 4rem}.ash-process-node{top:2.5rem;inset-inline-start:1.5rem}.ash-process-icon{display:none}.ash-process-copy,.ash-process-step--odd .ash-process-copy,.ash-process-step--even .ash-process-copy{max-width:none;margin:0;text-align:start}.ash-process-step--even .ash-process-title{justify-content:flex-start}.ash-process-title h2{font-size:1.125rem}.ash-process-title>span{font-size:1.5rem}
}

/* v4.3.4 — تثبيت أحجام النصوص ضد تعارض Elementor أو الإضافات */
.ash-faq-section .ash-faq-item h3{font-size:inherit!important;line-height:inherit!important;margin:0!important;font-weight:inherit!important}
.ash-faq-section .ash-faq-question{font-size:1.0625rem!important;line-height:1.6!important;font-weight:900!important;text-transform:none!important}
.ash-faq-section .ash-faq-answer p{font-size:1rem!important;line-height:1.9!important;font-weight:400!important}
.ash-faq-section .ash-faq-heading h2{font-size:clamp(2rem,5vw,3rem)!important}
.ash-process-page .ash-process-title h2{font-size:1.25rem!important;line-height:1.4!important}
.ash-process-page .ash-process-copy>p{font-size:.9375rem!important;line-height:1.8!important}
.ash-process-page .ash-process-title>span{font-size:1.875rem!important}

/* v4.3.5 — صفحة آلية العمل من المشروع مباشرة */
main.pt-32>#process{padding-top:6rem!important;padding-bottom:6rem!important}
main.pt-32>#process h3{font-size:1.25rem!important;line-height:1.4!important;margin:0!important}
main.pt-32>#process p{font-size:.9375rem!important;line-height:1.8!important}
main.pt-32>#process ol{margin:0!important;padding-inline-start:0!important;list-style:none!important}
main.pt-32>#process li{list-style:none!important}
