/* ============================================================
   امرتات کامرس — دپارتمان پرستاشاپ
   Dark re-skin on top of commerce.css tokens.
   PrestaShop accent = cyan (#42D9FF) so the department feels
   distinct but fully on-brand with Emertat Commerce.
   Includes the base components the PS pages rely on
   (steps / faq / final-cta / feature) re-skinned for dark.
   ============================================================ */

/* base: commerce.css scopes the dark theme to [data-page="commerce"],
   so re-apply it for the prestashop pages */
body[data-page="prestashop"] {
  font-family: var(--font-fa);
  background: var(--bg);
  color: var(--text);
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  direction: rtl;
}
body[data-page="prestashop"]::before {
  content: ''; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(640px 480px at 82% -4%, rgba(66,217,255,0.10), transparent 60%),
    radial-gradient(560px 440px at 6% 8%, rgba(108,99,255,0.08), transparent 60%);
}

.ps {
  --ps: #42D9FF;
  --ps-dark: #1FB6DE;
  --ps-darker: #1593BA;
  --ps-soft: rgba(66, 217, 255, 0.12);
  --ps-soft2: rgba(66, 217, 255, 0.22);
  --ps-tint: var(--bg-2);
  --urgent: #FB7185;
  --urgent-dark: #F43F5E;
  --urgent-soft: rgba(251, 113, 133, 0.12);
}

/* ---- accent overrides scoped to PrestaShop ---- */
.ps .eyebrow { color: var(--ps); background: var(--ps-soft); border-color: rgba(66,217,255,0.26); }
.ps .hl { color: var(--ps); }
.ps .grad {
  background: linear-gradient(115deg, #6FE3FF, var(--ps) 55%, #8B83FF);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.ps .section-head h2 { color: var(--text); }

/* PrestaShop buttons */
.btn-ps { background: linear-gradient(180deg, var(--ps), var(--ps-dark)); color: #04222B; font-weight: 800; box-shadow: 0 14px 30px -12px rgba(66, 217, 255, 0.5); }
.btn-ps:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(66, 217, 255, 0.62); }
.btn-ps-outline { background: rgba(255,255,255,0.04); color: var(--text); border: 1px solid var(--border-strong); }
.btn-ps-outline:hover { border-color: var(--ps); color: var(--ps); background: var(--ps-soft); transform: translateY(-2px); }
.btn-urgent { background: var(--urgent); color: #fff; box-shadow: 0 14px 30px -10px rgba(251, 113, 133, 0.5); }
.btn-urgent:hover { background: var(--urgent-dark); transform: translateY(-2px); }

/* ============================================================
   Hero
   ============================================================ */
.ps-hero { padding-top: 64px; padding-bottom: 92px; overflow: hidden; position: relative; }
.ps-aurora { position: absolute; border-radius: 50%; filter: blur(95px); z-index: 0; pointer-events: none; }
.ps-aurora.a1 { width: 540px; height: 540px; background: rgba(66, 217, 255, 0.14); top: -200px; right: -140px; }
.ps-aurora.a2 { width: 460px; height: 460px; background: rgba(108, 99, 255, 0.13); top: 40px; left: -150px; }
.ps-hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.02fr 1fr; gap: 52px; align-items: center; }
.ps-hero-copy { max-width: 580px; }

.crumbs { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-3); margin-bottom: 18px; }
.crumbs a { color: var(--text-3); } .crumbs a:hover { color: var(--ps); }
.crumbs i { font-size: 14px; }

.ps-hero h1 {
  font-size: clamp(32px, 4.6vw, 50px); line-height: 1.22; font-weight: 900;
  letter-spacing: -0.03em; margin-bottom: 20px; text-wrap: balance; color: var(--text);
}
.ps-hero-sub { font-size: 18px; color: var(--text-2); margin-bottom: 28px; line-height: 1.9; }
.ps-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }

.ps-partner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.ps-partner-badge {
  display: inline-flex; align-items: center; gap: 9px; background: var(--ps-soft);
  border: 1px solid var(--ps-soft2); color: var(--ps); font-weight: 700; font-size: 13.5px;
  padding: 9px 15px; border-radius: 100px;
}
.ps-partner-badge i { font-size: 19px; color: var(--ps); }
.ps-rating { display: flex; align-items: center; gap: 9px; }
.ps-rating .stars { display: flex; gap: 2px; color: #F5A623; }
.ps-rating .stars i { font-size: 16px; }
.ps-rating b { font-weight: 700; font-size: 14px; color: var(--text); }
.ps-rating span { font-size: 13px; color: var(--text-2); }

/* hero visual — dark browser mock */
.ps-visual { position: relative; perspective: 1500px; }
.ps-window {
  position: relative;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border-radius: var(--r-xl); border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden; transform: rotateY(-6deg) rotateX(2deg); transition: transform .5s ease;
}
.ps-window::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 2;
  background: linear-gradient(140deg, rgba(66,217,255,0.45), transparent 45%, rgba(108,99,255,0.3) 95%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.ps-visual:hover .ps-window { transform: rotateY(-2deg) rotateX(1deg); }
.ps-topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 14px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,0.015); }
.ps-dots { display: flex; gap: 5px; }
.ps-dots span { width: 9px; height: 9px; border-radius: 50%; }
.ps-dots span:nth-child(1) { background: #FF5F57; } .ps-dots span:nth-child(2) { background: #FEBC2E; } .ps-dots span:nth-child(3) { background: #28C840; }
.ps-url { opacity: .55; display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--text-3); background: var(--surface-3); padding: 3px 10px; border-radius: 6px; font-family: var(--font-en); direction: ltr; }
.ps-url i { font-size: 12px; color: var(--green); }
.ps-shot { aspect-ratio: 16 / 11; display: block; background: var(--surface-3); }
.ps-shot image-slot { width: 100%; height: 100%; display: block; }

.ps-float {
  position: absolute; background: rgba(16,16,29,0.94); border: 1px solid var(--border-strong); border-radius: 14px;
  box-shadow: var(--shadow-md); padding: 12px 16px; display: flex; align-items: center; gap: 11px; z-index: 3; backdrop-filter: blur(6px);
}
.ps-float .pf-ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; }
.ps-float .pf-ico i { font-size: 21px; }
.ps-float .pf-title { font-size: 13.5px; font-weight: 800; line-height: 1.2; color: var(--text); }
.ps-float .pf-sub { font-size: 11.5px; color: var(--text-3); }
.ps-float.f-a { top: -48px; right: -24px; animation: floaty 5s ease-in-out infinite; }
.ps-float.f-a .pf-ico { background: var(--green-soft); }
.ps-float.f-a .pf-ico i { color: var(--green); }
.ps-float.f-b { bottom: 30px; left: -30px; animation: floaty 6s ease-in-out infinite .8s; }
.ps-float.f-b .pf-ico { background: var(--ps-soft); }
.ps-float.f-b .pf-ico i { color: var(--ps); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ============================================================
   Service categories
   ============================================================ */
.ps-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ps-service {
  position: relative; display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 28px 26px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.ps-service:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.ps-svc-ico { width: 56px; height: 56px; border-radius: 15px; background: var(--ps-soft); display: grid; place-items: center; margin-bottom: 18px; }
.ps-svc-ico i { font-size: 31px; color: var(--ps); }
.ps-service h3 { font-size: 19px; margin-bottom: 9px; color: var(--text); }
.ps-svc-desc { font-size: 14.5px; color: var(--text-2); line-height: 1.8; margin-bottom: 18px; flex: 1; }
.ps-svc-meta { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-3); margin-bottom: 16px; }
.ps-svc-meta > i { font-size: 15px; color: var(--ps); }
.ps-svc-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14.5px; color: var(--ps); }
.ps-svc-link i { font-size: 17px; transition: transform .2s ease; }
.ps-service:hover .ps-svc-link i { transform: translateX(-4px); }
.ps-svc-badge { position: absolute; top: 22px; left: 22px; font-size: 11.5px; font-weight: 700; padding: 4px 11px; border-radius: 100px; }
.ps-svc-badge.req { color: var(--ps); background: var(--ps-soft); }
.ps-svc-badge.new { color: var(--ps); background: var(--ps-soft2); }
.ps-svc-badge.fori { color: var(--urgent); background: var(--urgent-soft); }

/* urgent (Emergency Fix) variant */
.ps-service.urgent { border-color: rgba(251,113,133,0.28); background: linear-gradient(180deg, rgba(251,113,133,0.07), var(--surface)); }
.ps-service.urgent:hover { border-color: rgba(251, 113, 133, 0.45); }
.ps-service.urgent .ps-svc-ico { background: var(--urgent-soft); }
.ps-service.urgent .ps-svc-ico i { color: var(--urgent); }
.ps-service.urgent .ps-svc-meta i { color: var(--urgent); }
.ps-service.urgent .ps-svc-link { color: var(--urgent); }
.ps-svc-pulse { display: inline-flex; align-items: center; gap: 7px; color: var(--urgent); }
.ps-svc-pulse .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--urgent); position: relative; }
.ps-svc-pulse .dot::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--urgent); opacity: .55; animation: psPulse 1.8s ease-out infinite; }
@keyframes psPulse { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }

/* ============================================================
   Why choose us — VS comparison
   ============================================================ */
.ps-vs { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 26px; max-width: 960px; margin-inline: auto; align-items: stretch; }
.ps-vs-card { border-radius: var(--r-xl); padding: 32px 30px; }
.ps-vs-trad { background: var(--surface); border: 1px solid var(--border); }
.ps-vs-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 18px; margin-bottom: 6px; border-bottom: 1px solid var(--border); }
.ps-vs-head h3 { font-size: 20px; color: var(--text); }
.ps-vs-tag { font-size: 11px; font-weight: 700; letter-spacing: .02em; padding: 5px 12px; border-radius: 100px; white-space: nowrap; }
.ps-vs-trad .ps-vs-tag { color: var(--text-3); background: var(--surface-3); }
.ps-vs-list { display: flex; flex-direction: column; gap: 3px; }
.ps-vs-item { display: flex; gap: 12px; padding: 14px 12px; border-radius: var(--r); }
.ps-vs-item > i { font-size: 21px; flex-shrink: 0; margin-top: 2px; }
.ps-vs-trad .ps-vs-item > i { color: var(--urgent); }
.ps-vs-item .vt { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.ps-vs-item .vd { font-size: 13px; color: var(--text-2); line-height: 1.7; }

.ps-vs-us { background: linear-gradient(165deg, rgba(66,217,255,0.16), var(--surface) 72%); border: 1px solid rgba(66,217,255,0.22); color: #fff; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; }
.ps-vs-us .ps-vs-head { border-bottom-color: rgba(255,255,255,0.12); }
.ps-vs-us .ps-vs-head h3 { color: #fff; }
.ps-vs-us .ps-vs-head h3 b { color: var(--ps); font-weight: 800; }
.ps-vs-us .ps-vs-tag { color: #04222B; background: var(--ps); }
.ps-vs-us .ps-vs-item > i { color: var(--green); }
.ps-vs-us .ps-vs-item .vt { color: #fff; }
.ps-vs-us .ps-vs-item .vd { color: rgba(255,255,255,0.66); }
.ps-vs-us .ps-vs-item.hl { background: rgba(66,217,255,0.12); border: 1px solid rgba(66,217,255,0.22); }
.ps-vs-us .ps-vs-cta { margin-top: 18px; }
.ps-vs-us .ps-vs-cta .btn { width: 100%; background: linear-gradient(180deg, var(--ps), var(--ps-dark)); color: #04222B; font-weight: 800; box-shadow: 0 14px 30px -10px rgba(66,217,255,0.45); }
.ps-vs-us .ps-vs-cta .btn:hover { transform: translateY(-2px); }

.ps-vs-badge { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 52px; height: 52px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--border-strong); box-shadow: var(--shadow-md); display: grid; place-items: center; font-family: var(--font-en); font-weight: 800; font-size: 13px; color: var(--text-2); z-index: 3; }

/* ============================================================
   Stats strip
   ============================================================ */
.ps-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 38px 32px; box-shadow: var(--shadow-sm);
}
.ps-stat { text-align: center; position: relative; }
.ps-stat + .ps-stat::before { content: ''; position: absolute; inset-inline-start: -12px; top: 50%; transform: translateY(-50%); width: 1px; height: 54px; background: var(--border); }
.ps-stat .pn { font-size: 38px; font-weight: 800; letter-spacing: -0.02em; color: var(--text); line-height: 1; }
.ps-stat .pn small { font-size: 22px; color: var(--ps); font-weight: 700; }
.ps-stat .pl { font-size: 14px; color: var(--text-2); margin-top: 10px; }

/* ============================================================
   Process steps (base, dark) — 4 columns
   ============================================================ */
.ps .how { background: var(--bg-2); border-block: 1px solid var(--border); }
.ps .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.ps .step { text-align: center; }
.ps .step-num { position: relative; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 18px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border-strong); }
.ps .step-num > i { font-size: 30px; color: var(--ps); }
.ps .step-num .badge { position: absolute; top: -8px; inset-inline-end: -8px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #04222B; background: var(--ps); box-shadow: 0 10px 22px -8px rgba(66, 217, 255, 0.6); }
.ps .step h3 { font-size: 17px; margin-bottom: 8px; color: var(--text); }
.ps .step p { font-size: 13.5px; color: var(--text-2); line-height: 1.75; padding-inline: 6px; }

/* ============================================================
   Feature cards (base, dark)
   ============================================================ */
.ps .features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ps .feature { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px 24px; transition: transform .25s, border-color .25s, box-shadow .25s; }
.ps .feature:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.ps .feature-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; background: var(--ps-soft); }
.ps .feature-ico i { font-size: 27px; color: var(--ps); }
.ps .feature h3 { font-size: 17.5px; margin-bottom: 9px; color: var(--text); }
.ps .feature p { font-size: 14px; color: var(--text-2); line-height: 1.8; }

/* ============================================================
   FAQ (base, dark)
   ============================================================ */
.ps .faq-wrap { max-width: 820px; margin-inline: auto; display: flex; flex-direction: column; gap: 12px; }
.ps .faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; transition: border-color .25s; }
.ps .faq-item.open { border-color: var(--ps-soft2); }
.ps .faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 20px 22px; font-family: var(--font-fa); font-size: 15.5px; font-weight: 700; color: var(--text); text-align: start; cursor: pointer; line-height: 1.6; }
.ps .faq-q .fic { width: 30px; height: 30px; flex-shrink: 0; border-radius: 9px; display: grid; place-items: center; background: var(--ps-soft); color: var(--ps); transition: all .25s; }
.ps .faq-q .fic i { font-size: 16px; transition: transform .25s; }
.ps .faq-item.open .fic { background: var(--ps); color: #04222B; }
.ps .faq-item.open .fic i { transform: rotate(180deg); }
.ps .faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.ps .faq-a-inner { padding: 0 22px 22px; font-size: 14px; color: var(--text-2); line-height: 1.95; }

/* ============================================================
   Final CTA (cyan→purple aurora box)
   ============================================================ */
.ps-cta { padding-block: 96px; }
.ps-cta .cta-box {
  display: block; position: relative; overflow: hidden; text-align: center;
  max-width: 880px; margin-inline: auto; padding: 56px 44px;
  border-radius: var(--r-xl); border: 1px solid rgba(66,217,255,0.24);
  background: linear-gradient(150deg, rgba(66,217,255,0.18), rgba(108,99,255,0.12) 70%, var(--surface));
  box-shadow: var(--shadow-lg);
}
.ps-cta .cta-box h2 { font-size: clamp(26px, 3.4vw, 38px); color: var(--text); margin-bottom: 14px; line-height: 1.25; }
.ps-cta .cta-box > p { font-size: 16.5px; color: var(--text-2); margin-bottom: 28px; max-width: 560px; margin-inline: auto; }
.ps-cta .cta-actions { display: flex; gap: 16px; justify-content: center; align-items: center; flex-wrap: wrap; }
.ps-cta .btn-white { background: #fff; color: #04222B; box-shadow: 0 14px 40px -14px rgba(255,255,255,0.4); }
.ps-cta .btn-white:hover { transform: translateY(-2px); }
.ps-cta .cta-phone { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-weight: 700; font-size: 17px; color: var(--text); }
.ps-cta .cta-phone i { font-size: 20px; color: var(--ps); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .ps-hero-inner { grid-template-columns: 1fr; gap: 54px; }
  .ps-hero-copy { max-width: 640px; }
  .ps-window { transform: none; }
  .ps-services { grid-template-columns: repeat(2, 1fr); }
  .ps-stats { grid-template-columns: repeat(2, 1fr); gap: 30px 24px; }
  .ps-stat:nth-child(3)::before, .ps-stat:nth-child(1)::before { display: none; }
  .ps .steps { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .ps .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .ps-vs { grid-template-columns: 1fr; gap: 30px; }
  .ps-vs-badge { display: none; }
}
@media (max-width: 760px) {
  .ps-services { grid-template-columns: 1fr; }
  .ps-float { display: none; }
  .ps .steps { grid-template-columns: 1fr; }
  .ps .features { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .ps-stats { grid-template-columns: 1fr; padding: 30px 22px; }
  .ps-stat + .ps-stat::before { display: none; }
  .ps-stat + .ps-stat { padding-top: 22px; border-top: 1px solid var(--border); }
  .ps-cta .cta-box { padding: 40px 24px; }
}


/* ████████████████████████████████████████████████████████████
   AUDIT PAGE  (merged from audit.css)
   ████████████████████████████████████████████████████████████ */
/* ============================================================
   امرتات استور — بررسی و بهینه‌سازی پرستاشاپ
   styles مختص صفحه؛ توکن‌ها و اکسنت فیروزه‌ای از prestashop.css می‌آیند.
   ============================================================ */

/* teal-tint the shared page-head decorations under .ps scope */
.ps .page-head .aurora-1 { background: rgba(16, 156, 160, 0.16); }
.ps .page-head .crumbs a:hover { color: var(--ps); }

/* ============================================================
   Hero — live store scan → score report
   ============================================================ */
.audit-head { padding-block: 52px; }
.audit-head .ah-grid {
  display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 54px; align-items: center;
}
.audit-head .ah-copy { max-width: 580px; }
.audit-head .ah-copy h1 { margin-bottom: 14px; }
.audit-head .ah-copy p { font-size: 16.5px; }

.ascan { position: relative; }

/* --- browser mock with wireframe store --- */
.ascan-win {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: 0 30px 64px -24px rgba(16,14,23,0.18), 0 10px 24px -16px rgba(16,14,23,0.10);
  overflow: hidden;
}
.ascan-top { display: flex; align-items: center; gap: 11px; padding: 10px 14px; border-bottom: 1px solid var(--border); background: #fff; }
.ascan-top .ps-dots { display: flex; gap: 6px; }
.ascan-top .ps-dots span { width: 9px; height: 9px; border-radius: 50%; }
.ascan-top .ps-dots span:nth-child(1) { background: #FF5F57; } .ascan-top .ps-dots span:nth-child(2) { background: #FEBC2E; } .ascan-top .ps-dots span:nth-child(3) { background: #28C840; }
.ascan-url { display: flex; align-items: center; gap: 7px; background: var(--surface); padding: 6px 11px; border-radius: 7px; min-width: 150px; }
.ascan-url i { font-size: 12px; color: var(--green); }
.ascan-urlbar { height: 6px; flex: 1; border-radius: 100px; background: linear-gradient(90deg, #DCE3E5, #E7ECEE); }
.ascan-status { margin-inline-start: auto; display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; color: var(--ps-dark); }
.ascan-stdot { width: 7px; height: 7px; border-radius: 50%; background: var(--ps); box-shadow: 0 0 0 0 rgba(16,156,160,0.5); }
.ascan.scanning .ascan-stdot { animation: ascanBlink 1s ease-in-out infinite; }
.ascan.done .ascan-stdot { background: var(--green); box-shadow: none; }
.ascan.done .ascan-status { color: var(--green); }
@keyframes ascanBlink { 0%,100% { box-shadow: 0 0 0 0 rgba(16,156,160,0.45); } 50% { box-shadow: 0 0 0 5px rgba(16,156,160,0); } }

.ascan-view { position: relative; height: 318px; padding: 16px; background: linear-gradient(180deg, #FCFDFD, #F3F5F6); overflow: hidden; }

/* wireframe skeleton blocks */
.wf { background: #E7ECEE; border-radius: 7px; }
.wf-nav { display: flex; align-items: center; justify-content: space-between; height: 24px; padding: 0 10px; background: #EDF1F2; margin-bottom: 12px; }
.wf-logo { width: 46px; height: 9px; border-radius: 4px; background: #D4DCDE; }
.wf-menu { display: flex; gap: 8px; }
.wf-menu span { width: 26px; height: 7px; border-radius: 4px; background: #D4DCDE; }
.wf-hero { display: flex; gap: 12px; height: 92px; padding: 12px; margin-bottom: 12px; background: #EDF1F2; }
.wf-htxt { display: flex; flex-direction: column; gap: 8px; flex: 1; justify-content: center; }
.wf-htxt span { height: 9px; border-radius: 4px; background: #D4DCDE; }
.wf-htxt span:nth-child(1) { width: 86%; } .wf-htxt span:nth-child(2) { width: 60%; }
.wf-htxt .wf-btn { width: 64px; height: 18px; border-radius: 5px; background: var(--ps-soft2); margin-top: 4px; }
.wf-himg { width: 96px; border-radius: 7px; background: #DCE3E5; flex-shrink: 0; }
.wf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.wf-card { height: 46px; border-radius: 7px; background: #EDF1F2; }
.wf-card.broken {
  background: #FBE9EA; box-shadow: inset 0 0 0 1.5px #E2515B; position: relative; overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 66%, 84% 100%, 0 100%);
}
.wf-card.broken::before {
  content: ''; position: absolute; top: -2px; bottom: -2px; left: 52%; width: 9px; transform: translateX(-50%);
  background: #E2515B;
  clip-path: polygon(50% 0, 28% 17%, 62% 33%, 33% 51%, 66% 69%, 38% 87%, 54% 100%, 46% 100%, 30% 86%, 58% 68%, 25% 50%, 54% 32%, 20% 16%, 42% 0);
}
.wf-foot { height: 30px; border-radius: 7px; background: #EDF1F2; margin-top: 12px; }

/* code backbone layer — revealed on the beam's upward return */
.ascan-code {
  position: absolute; inset: 0; z-index: 3; overflow: hidden;
  background: #0E1726; padding: 13px 15px;
  font-family: var(--font-en); direction: ltr; text-align: left;
  clip-path: inset(100% 0 0 0);
}
.acode-lines { display: flex; flex-direction: column; gap: 2.5px; font-size: 9.5px; line-height: 1.55; }
.acl { display: flex; gap: 9px; }
.acl .ln { color: #38496a; min-width: 15px; text-align: right; flex-shrink: 0; user-select: none; }
.acl .ct { white-space: pre; }
.ascan-code .t-tag { color: #5BC8C8; }
.ascan-code .t-attr { color: #C792EA; }
.ascan-code .t-str { color: #9ECE6A; }
.ascan-code .t-fn { color: #82AAFF; }
.ascan-code .t-key { color: #FF9D6C; }
.ascan-code .t-com { color: #56688a; font-style: italic; }
.ascan-code .t-pl { color: #93a6c4; }
.ascan-code .t-err { text-decoration: underline wavy #FF6B6B; text-decoration-skip-ink: none; text-underline-offset: 2.5px; }

/* the scanned tint that grows as the beam travels */
.ascan-scanned { position: absolute; inset-inline: 0; top: 0; height: 0; background: linear-gradient(180deg, rgba(16,156,160,0.13), rgba(16,156,160,0.05)); z-index: 2; pointer-events: none; }

/* the moving scan beam */
.ascan-beam {
  position: absolute; inset-inline: 0; top: 0; height: 3px; z-index: 4; opacity: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--ps) 18%, #2fe0e0 50%, var(--ps) 82%, transparent);
  box-shadow: 0 0 14px 2px rgba(16,156,160,0.65), 0 0 34px 6px rgba(16,156,160,0.32);
}
/* on the upward return the beam reads the source code — cooler violet tint */
.ascan.up .ascan-beam {
  background: linear-gradient(90deg, transparent, #6C63FF 18%, #9b8cff 50%, #6C63FF 82%, transparent);
  box-shadow: 0 0 14px 2px rgba(108,99,255,0.6), 0 0 34px 6px rgba(108,99,255,0.3);
}

/* issue pins */
.ascan-pin { position: absolute; width: 11px; height: 11px; border-radius: 50%; z-index: 5; opacity: 0; transform: scale(0); transition: opacity .25s ease, transform .35s cubic-bezier(.34,1.56,.64,1); }
.ascan-pin.show { opacity: 1; transform: scale(1); }
.ascan-pin::before { content: ''; position: absolute; inset: 2px; border-radius: 50%; background: #fff; }
.ascan-pin::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid currentColor; opacity: .6; animation: ascanPulse 1.7s ease-out infinite; }
.ascan-pin.red { background: var(--urgent); color: var(--urgent); }
.ascan-pin.amber { background: #D97706; color: #D97706; }
.ascan-pin.big { width: 14px; height: 14px; }
.ascan-pin .ascan-pin::before { background: #fff; }
@keyframes ascanPulse { 0% { transform: scale(.5); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }

/* --- score report card --- */
.ascan-report {
  position: relative; margin-top: 14px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 13px 16px; box-shadow: var(--shadow-sm); z-index: 6;
}
.ascan-score { display: flex; align-items: center; gap: 12px; padding-bottom: 11px; margin-bottom: 11px; border-bottom: 1px solid var(--border); }
.ascan-ring {
  width: 60px; height: 60px; border-radius: 50%; flex-shrink: 0;
  background: conic-gradient(var(--ps) 0deg, #E9EEF0 0deg);
  display: grid; place-items: center;
}
.ascan-ring-in {
  width: 45px; height: 45px; border-radius: 50%; background: #fff; display: flex;
  flex-direction: column; align-items: center; justify-content: center; line-height: 1;
}
.ascan-num { font-size: 18px; font-weight: 800; color: var(--ps-dark); }
.ascan-den { font-size: 9px; font-weight: 700; color: var(--text-3); margin-top: 1px; }
.ascan-score-label { font-size: 13px; font-weight: 800; color: var(--text); margin-bottom: 3px; }
.ascan-score-sub { font-size: 11.5px; color: var(--text-2); }

.ascan-meters { display: flex; flex-direction: column; gap: 7px; }
.ascan-meter { display: grid; grid-template-columns: 16px 70px 1fr 38px; align-items: center; gap: 9px; }
.ascan-meter > i { font-size: 15px; color: var(--ps); }
.am-label { font-size: 11.5px; font-weight: 700; color: var(--text); white-space: nowrap; }
.am-track { height: 6px; border-radius: 100px; background: #ECEFF3; overflow: hidden; }
.am-fill { height: 100%; width: 0; border-radius: 100px; transition: width .9s cubic-bezier(.22,.61,.36,1); }
.ascan-meter[data-sev="bad"] .am-fill { background: var(--urgent); }
.ascan-meter[data-sev="mid"] .am-fill { background: #D97706; }
.ascan-meter[data-sev="good"] .am-fill { background: var(--green); }
.am-val { font-size: 11.5px; font-weight: 800; color: var(--text-2); text-align: end; white-space: nowrap; }
.ascan-meter[data-sev="bad"] .am-val { color: var(--urgent); }
.ascan-meter[data-sev="mid"] .am-val { color: #D97706; }
.ascan-meter[data-sev="good"] .am-val { color: var(--green); }

/* floating badges */
.ascan-badge {
  position: absolute; display: flex; align-items: center; gap: 10px; background: #fff;
  border: 1px solid var(--border); border-radius: 13px; padding: 10px 14px; box-shadow: var(--shadow-md);
  z-index: 8; opacity: 0; transform: translateY(8px) scale(.96); transition: opacity .4s ease, transform .4s cubic-bezier(.34,1.56,.64,1);
}
.ascan-badge.show { opacity: 1; transform: translateY(0) scale(1); }
.ascan-badge .abi { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.ascan-badge .abi i { font-size: 19px; }
.ascan-badge .abt b { display: block; font-size: 13px; font-weight: 800; line-height: 1.25; }
.ascan-badge .abt span { font-size: 11px; color: var(--text-2); }
.ab-a { top: 40px; inset-inline-start: -26px; }
.ab-a .abi { background: var(--urgent-soft); } .ab-a .abi i { color: var(--urgent); }
.ab-b { bottom: 96px; inset-inline-end: -22px; }
.ab-b .abi { background: rgba(22,163,74,0.12); } .ab-b .abi i { color: var(--green); }
.ascan-badge.show.float-a { animation: floaty 5s ease-in-out 1s infinite; }
.ascan-badge.show.float-b { animation: floaty 6s ease-in-out 1.4s infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

@media (prefers-reduced-motion: reduce) {
  .ascan.scanning .ascan-stdot { animation: none; }
  .ascan-pin::after { animation: none; }
  .ascan-badge.show.float-a, .ascan-badge.show.float-b { animation: none; }
}

/* sub-nav (anchor links) in page head */
.audit-subnav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.audit-subnav a {
  display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600;
  color: var(--ps-dark); background: #fff; border: 1px solid var(--ps-soft2);
  padding: 8px 15px; border-radius: 100px; transition: background .2s, border-color .2s;
}
.audit-subnav a:hover { background: var(--ps-soft); border-color: var(--ps); }
.audit-subnav a i { font-size: 16px; color: var(--ps); }

/* ============================================================
   6-area overview chips
   ============================================================ */
.audit-mini { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.aam {
  display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px 12px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.aam:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--ps-soft2); }
.aam-ico { width: 54px; height: 54px; border-radius: 15px; background: var(--ps-soft); display: grid; place-items: center; }
.aam-ico i { font-size: 28px; color: var(--ps); }
.aam span { font-size: 13px; font-weight: 700; color: var(--text); line-height: 1.5; }

/* ============================================================
   Detailed audit-area blocks
   ============================================================ */
.audit-area { background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl); padding: 34px; margin-bottom: 22px; }
.audit-area-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.aa-ico { width: 58px; height: 58px; border-radius: 16px; background: var(--ps-soft); display: grid; place-items: center; flex-shrink: 0; }
.aa-ico i { font-size: 31px; color: var(--ps); }
.aa-head-txt h3 { font-size: 21px; margin-bottom: 7px; }
.aa-head-txt p { color: var(--text-2); font-size: 15px; line-height: 1.85; }
.audit-area-body { display: grid; grid-template-columns: 1.5fr 1fr; gap: 18px; }
.aa-measure { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px 24px; }
.aa-sub-title { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 15px; }
.aa-sub-title i { font-size: 18px; color: var(--ps); }
.aa-measure ul { display: flex; flex-direction: column; gap: 11px; }
.aa-measure li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; color: var(--text-2); line-height: 1.65; }
.aa-measure li > i { font-size: 17px; color: var(--ps); flex-shrink: 0; margin-top: 2px; }
.aa-get { background: linear-gradient(160deg, var(--ps-tint), #fff); border: 1px solid var(--ps-soft2); border-radius: var(--r-lg); padding: 22px 24px; }
.aa-get p { font-size: 14px; color: var(--text); line-height: 1.9; }

/* ============================================================
   Packages
   ============================================================ */
.audit-pkgs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; align-items: stretch; max-width: 880px; margin-inline: auto; }
.audit-pkg { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 34px 32px; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.audit-pkg:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.audit-pkg.featured { border: 1.5px solid var(--ps); box-shadow: var(--shadow-lg); }
.pkg-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: linear-gradient(120deg, var(--ps), var(--ps-dark)); color: #fff; font-size: 12.5px; font-weight: 700; padding: 6px 18px; border-radius: 100px; display: flex; align-items: center; gap: 6px; box-shadow: 0 12px 26px -8px rgba(16,156,160,0.5); white-space: nowrap; }
.pkg-badge i { font-size: 15px; }
.pkg-ico { width: 56px; height: 56px; border-radius: 15px; background: var(--ps-soft); display: grid; place-items: center; margin-bottom: 18px; }
.pkg-ico i { font-size: 30px; color: var(--ps); }
.audit-pkg h3 { font-size: 22px; margin-bottom: 10px; }
.pkg-desc { font-size: 14.5px; color: var(--text-2); line-height: 1.8; margin-bottom: 22px; }
.pkg-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; flex: 1; }
.pkg-list li { display: flex; align-items: flex-start; gap: 11px; font-size: 14px; color: var(--text); line-height: 1.7; }
.pkg-list li > i { font-size: 19px; color: var(--ps); flex-shrink: 0; margin-top: 2px; }
.audit-pkg .btn { width: 100%; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .audit-head .ah-grid { grid-template-columns: 1fr; gap: 44px; }
  .audit-head .ah-copy { max-width: 640px; }
  .ascan { max-width: 460px; }
  .ab-a { inset-inline-start: -14px; }
  .ab-b { inset-inline-end: -10px; }
  .audit-mini { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .audit-mini { grid-template-columns: repeat(2, 1fr); }
  .audit-area { padding: 26px 22px; }
  .audit-area-body { grid-template-columns: 1fr; }
  .audit-pkgs { grid-template-columns: 1fr; max-width: 460px; }
  .ab-a, .ab-b { display: none; }
  .ascan-meter { grid-template-columns: 18px 74px 1fr 28px; }
}

/* ============================================================
   Dark re-skin overrides (Emertat Commerce) — the scan illustration
   stays bright on purpose (a light store being audited); surrounding
   panels become dark surfaces.
   ============================================================ */
.ascan-report, .ascan-badge,
.aam, .audit-area, .audit-pkg {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
}
.audit-subnav a { background: rgba(255,255,255,0.04); color: var(--text); border-color: var(--border-strong); }
.audit-subnav a:hover { background: var(--ps-soft); border-color: var(--ps); color: var(--ps); }
.aa-get { background: linear-gradient(160deg, var(--ps-soft), var(--surface)); border-color: var(--ps-soft2); }
.aa-head-txt h3, .audit-pkg h3 { color: var(--text); }
.audit-pkg.featured { border-color: var(--ps); }
.pkg-badge { color: #04222B; }


/* ████████████████████████████████████████████████████████████
   MODULES PAGE  (merged from modules.css)
   ████████████████████████████████████████████████████████████ */
/* ============================================================
   امرتات استور — توسعهٔ اختصاصی پرستاشاپ
   styles مختص صفحه؛ توکن‌ها و اکسنت فیروزه‌ای از prestashop.css.
   ============================================================ */

.ps .page-head .aurora-1 { background: rgba(16, 156, 160, 0.16); }
.ps .page-head .crumbs a:hover { color: var(--ps); }
.dev-subnav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.dev-subnav a { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--ps-dark); background: #fff; border: 1px solid var(--ps-soft2); padding: 8px 15px; border-radius: 100px; transition: background .2s, border-color .2s; }
.dev-subnav a:hover { background: var(--ps-soft); border-color: var(--ps); }
.dev-subnav a i { font-size: 16px; color: var(--ps); }

/* ============================================================
   HERO — live "build a custom module" IDE animation
   ============================================================ */
.dev-hero { padding-block: 52px 58px; overflow: hidden; }
.dev-head-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 50px; align-items: center; }
.dev-head-copy { max-width: 600px; }

/* two-panel build stage: editor (left) | beam | preview (right, outside editor) */
.build-stage { direction: ltr; display: grid; grid-template-columns: minmax(0, 1fr) 22px minmax(160px, 172px); gap: 0; align-items: center; }
.preview-col { direction: rtl; display: flex; flex-direction: column; gap: 10px; }

.ide {
  --ide-bg: #11212B; --ide-bg2: #0C1920; --ide-line: rgba(255,255,255,.07);
  background: var(--ide-bg); border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid rgba(16,156,160,.25);
  box-shadow: 0 34px 70px -24px rgba(8, 60, 64, 0.5), 0 14px 30px -18px rgba(16, 14, 23, 0.4);
  font-family: 'SF Mono', 'Menlo', 'Consolas', monospace;
}

/* title bar */
.ide-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--ide-bg2); border-bottom: 1px solid var(--ide-line); }
.ide-dots { display: inline-flex; gap: 7px; }
.ide-dots i { width: 11px; height: 11px; border-radius: 50%; background: #2C4049; }
.ide-dots i:nth-child(1) { background: #E5564E; } .ide-dots i:nth-child(2) { background: #E5A93D; } .ide-dots i:nth-child(3) { background: #43B97F; }
.ide-tab { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: #BFD3DA; background: var(--ide-bg); padding: 5px 12px; border-radius: 7px 7px 0 0; }
.ide-tab i { color: #19B8B8; font-size: 15px; }

/* code editor */
.ide-code { padding: 16px 15px; position: relative; min-height: 168px; }
.ide-code .code { direction: ltr; text-align: left; margin: 0; font-size: 11px; line-height: 1.75; white-space: pre; color: #C7D7DE; }
.ide-code code { display: block; }
.ide-code .caret { display: inline-block; width: 7px; height: 15px; background: #19B8B8; vertical-align: -2px; margin-inline-start: 1px; animation: ideCaret 1s steps(2) infinite; }
@keyframes ideCaret { 50% { opacity: 0; } }
/* syntax colors */
.tk-key { color: #4FD2D2; } .tk-cls { color: #FFD479; } .tk-fn { color: #8AD6FF; } .tk-str { color: #7FE0A6; } .tk-var { color: #E58FB0; } .tk-pun { color: #7E97A0; } .tk-com { color: #5C7682; font-style: italic; }

/* terminal (inside editor, bottom) */
.ide-term { border-top: 1px solid var(--ide-line); background: var(--ide-bg2); padding: 11px 16px; display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 12px; direction: ltr; }
.ide-term .term-line { display: inline-flex; align-items: center; gap: 7px; }
.term-prompt { color: #43B97F; font-weight: 700; }
.term-txt { color: #C7D7DE; }
.term-txt.pass { color: #43B97F; font-weight: 600; }
.term-caret { display: inline-block; width: 7px; height: 13px; background: #43B97F; vertical-align: -2px; animation: ideCaret 1s steps(2) infinite; }
.build-stage.s-done .term-caret { display: none; }

/* glowing connector beam (between editor and preview) */
.build-beam { position: relative; height: 2px; align-self: center; }
.build-beam::before { content: ''; position: absolute; top: 50%; inset-inline: 0; height: 2px; transform: translateY(-50%); background: var(--border-strong); }
.beam-core { position: absolute; top: 50%; inset-inline-start: 0; width: 0; height: 2px; transform: translateY(-50%); border-radius: 2px; background: linear-gradient(90deg, var(--ps), #4FD2D2); box-shadow: 0 0 10px var(--ps); transition: width .5s ease; }
.build-stage.s-hook .beam-core, .build-stage.s-btn .beam-core, .build-stage.s-done .beam-core { width: 100%; }
.build-stage.s-hook .beam-core { animation: beamPulse 1s ease-in-out infinite; }
@keyframes beamPulse { 50% { box-shadow: 0 0 18px var(--ps), 0 0 28px rgba(16,156,160,.6); } }

/* RIGHT preview column (outside the editor, light) */
.prev-caption { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--text-2); }
.prev-caption i { font-size: 15px; color: var(--ps); }

.prev-window { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 20px 44px -22px rgba(12, 122, 130, 0.34); }
.prev-top { display: flex; align-items: center; gap: 9px; padding: 9px 12px; background: var(--surface); border-bottom: 1px solid var(--border); }
.prev-dots { display: inline-flex; gap: 5px; }
.prev-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); }
/* browser top bar: url (lock + text) on the left, dots on the right */
.prev-top { direction: ltr; }
.prev-url { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: var(--text-3); font-weight: 600; direction: ltr; }
.prev-url i { font-size: 12px; color: var(--green); }
.prev-card { padding: 14px; display: flex; flex-direction: column; gap: 11px; min-height: 150px; }
.prev-row { display: flex; gap: 8px; }
.prev-skel { height: 9px; border-radius: 4px; background: linear-gradient(90deg, #ECEAF3, #F4F3F9, #ECEAF3); background-size: 200% 100%; }
.build-stage.is-running .prev-skel { animation: prevShimmer 1.4s linear infinite; }
@keyframes prevShimmer { to { background-position: -200% 0; } }
.prev-skel.w60 { width: 60%; } .prev-skel.w30 { width: 30%; } .prev-skel.w40 { width: 40%; } .prev-skel.w45 { width: 45%; }

/* hook slot — appears when hook registers */
.prev-hookslot { margin-top: 2px; border: 1px dashed #CBD2DE; border-radius: 7px; padding: 7px 9px; display: flex; align-items: center; justify-content: center; opacity: .4; transform: scale(.96); transition: opacity .4s ease, transform .4s ease, border-color .4s ease, background .4s ease; }
.hook-label { font-family: 'SF Mono','Menlo',monospace; font-size: 10px; color: #9AA1AD; }
.build-stage.s-hook .prev-hookslot, .build-stage.s-btn .prev-hookslot, .build-stage.s-done .prev-hookslot { opacity: 1; transform: scale(1); border-color: rgba(16,156,160,.5); background: var(--ps-soft); }
.build-stage.s-hook .prev-hookslot .hook-label, .build-stage.s-btn .prev-hookslot .hook-label, .build-stage.s-done .prev-hookslot .hook-label { color: var(--ps-dark); }

/* checkout button: skeleton -> real */
.prev-btn { margin-top: auto; height: 38px; border: none; border-radius: 9px; font-family: var(--font-fa); font-weight: 700; font-size: 13.5px; cursor: default; position: relative; overflow: hidden; transition: background .45s ease, color .45s ease, box-shadow .45s ease; }
.prev-btn.skeleton { background: #ECEAF3; color: transparent; }
.prev-btn.skeleton .prev-btn-tx { opacity: 0; }
.build-stage.is-running .prev-btn.skeleton { background: linear-gradient(90deg, #ECEAF3, #F4F3F9, #ECEAF3); background-size: 200% 100%; animation: prevShimmer 1.4s linear infinite; }
.prev-btn.real { background: linear-gradient(180deg, #19B8B8, var(--ps)); color: #fff; box-shadow: 0 8px 18px -7px rgba(16,156,160,.8); animation: btnPop .5s ease; }
.prev-btn.real .prev-btn-tx { opacity: 1; transition: opacity .3s ease .12s; }
@keyframes btnPop { 0% { transform: scale(.9); } 45% { transform: scale(1.05); } 100% { transform: scale(1); } }

/* Persian status pill below preview (outside editor) — centered, styled */
.prev-status { min-height: 30px; display: flex; align-items: center; justify-content: center; }
.prev-status-build { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 700; color: var(--ps-dark); background: var(--ps-soft); border: 1px solid var(--ps-soft2); padding: 5px 13px; border-radius: 100px; white-space: nowrap; }
.prev-status-build i { font-size: 14px; color: var(--ps); }
.ps-spin { animation: psSpin 0.9s linear infinite; }
@keyframes psSpin { to { transform: rotate(360deg); } }
.prev-status-badge { display: none; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800; color: #fff; background: var(--green); padding: 6px 14px; border-radius: 100px; white-space: nowrap; box-shadow: 0 8px 18px -8px rgba(22,163,74,.7); }
.prev-status-badge i { font-size: 15px; }
.build-stage.s-done .prev-status-build { display: none; }
.build-stage.s-done .prev-status-badge { display: inline-flex; animation: btnPop .5s ease; }

@media (prefers-reduced-motion: reduce) {
  .ide-code .caret, .term-caret, .build-stage.s-hook .beam-core, .build-stage.is-running .prev-skel, .build-stage.is-running .prev-btn.skeleton, .ps-spin { animation: none; }
}

/* ============================================================
   INTRO split — copy + 6 pillar chips
   ============================================================ */
.dev-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.dev-intro-copy p { font-size: 15.5px; color: var(--text-2); line-height: 1.95; margin-bottom: 16px; }
.dev-pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.dpil { display: flex; flex-direction: column; gap: 11px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px 20px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.dpil:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--ps-soft2); }
.dpil-ico { width: 46px; height: 46px; border-radius: 12px; background: var(--ps-soft); display: grid; place-items: center; }
.dpil-ico i { font-size: 24px; color: var(--ps); }
.dpil h4 { font-size: 14.5px; font-weight: 700; line-height: 1.5; }

/* ============================================================
   WHAT WE BUILD — 3 detailed blocks
   ============================================================ */
.dev-build { display: flex; flex-direction: column; gap: 22px; }
.dbuild { background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl); padding: 34px; }
.dbuild-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.db-ico { width: 58px; height: 58px; border-radius: 16px; background: var(--ps-soft); display: grid; place-items: center; flex-shrink: 0; }
.db-ico i { font-size: 31px; color: var(--ps); }
.dbuild-head h3 { font-size: 21px; margin-bottom: 7px; }
.dbuild-head p { color: var(--text-2); font-size: 15px; line-height: 1.85; }
.dbuild-body { display: grid; grid-template-columns: 1.35fr 1fr; gap: 18px; }
.db-box { border-radius: var(--r-lg); padding: 22px 24px; }
.db-cases { background: var(--surface); border: 1px solid var(--border); }
.db-approach { background: linear-gradient(160deg, var(--ps-tint), #fff); border: 1px solid var(--ps-soft2); }
.db-sub-title { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 15px; }
.db-sub-title i { font-size: 18px; color: var(--ps); }
.db-cases ul { display: flex; flex-direction: column; gap: 11px; }
.db-cases li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; color: var(--text-2); line-height: 1.65; }
.db-cases li > i { font-size: 17px; color: var(--ps); flex-shrink: 0; margin-top: 2px; }
.db-approach p { font-size: 14px; color: var(--text); line-height: 1.9; }

/* ============================================================
   DIFFERENTIATORS — 4 cards
   ============================================================ */
.dev-diff { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.ddiff { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px 26px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.ddiff:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--ps-soft2); }
.ddiff-head { display: flex; align-items: center; gap: 13px; margin-bottom: 13px; }
.ddiff-ico { width: 50px; height: 50px; border-radius: 13px; background: var(--ps-soft); display: grid; place-items: center; flex-shrink: 0; }
.ddiff-ico i { font-size: 26px; color: var(--ps); }
.ddiff h3 { font-size: 18px; }
.ddiff p { font-size: 14px; color: var(--text-2); line-height: 1.85; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .dev-head-grid { grid-template-columns: 1fr; gap: 40px; }
  .dev-head-copy { max-width: 640px; }
  .build-stage { max-width: 540px; }
  .dev-diff { grid-template-columns: 1fr; }
}
@media (max-width: 880px) {
  .dev-intro { grid-template-columns: 1fr; gap: 36px; }
  .dbuild-body { grid-template-columns: 1fr; }
  .dbuild { padding: 28px 24px; }
}
@media (max-width: 760px) {
  .dev-pillars { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .build-stage { grid-template-columns: 1fr; gap: 18px; }
  .build-beam { display: none; }
  .preview-col { max-width: 280px; }
}

/* ============================================================
   Dark re-skin overrides (Emertat Commerce) — IDE stays dark and the
   browser preview stays light on purpose; the page panels go dark.
   ============================================================ */
.dpil, .dbuild, .ddiff {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
}
.dev-subnav a { background: rgba(255,255,255,0.04); color: var(--text); border-color: var(--border-strong); }
.dev-subnav a:hover { background: var(--ps-soft); border-color: var(--ps); color: var(--ps); }
.db-approach { background: linear-gradient(160deg, var(--ps-soft), var(--surface)); border-color: var(--ps-soft2); }
.dbuild-head h3, .ddiff h3, .dpil h4 { color: var(--text); }


/* ████████████████████████████████████████████████████████████
   SUPPORT PAGE  (merged from support.css)
   ████████████████████████████████████████████████████████████ */
/* ============================================================
   امرتات استور — نگهداری ماهانهٔ پرستاشاپ
   styles مختص صفحه؛ توکن‌ها و اکسنت فیروزه‌ای از prestashop.css.
   ============================================================ */

.ps .page-head .aurora-1 { background: rgba(16, 156, 160, 0.16); }
.ps .page-head .crumbs a:hover { color: var(--ps); }
.head-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.maint-subnav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.maint-subnav a { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--ps-dark); background: #fff; border: 1px solid var(--ps-soft2); padding: 8px 15px; border-radius: 100px; transition: background .2s, border-color .2s; }
.maint-subnav a:hover { background: var(--ps-soft); border-color: var(--ps); }
.maint-subnav a i { font-size: 16px; color: var(--ps); }

/* ============================================================
   HERO — live health monitor
   ============================================================ */
.support-head { padding-block: 52px; }
.support-head .mh-grid { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 54px; align-items: center; }
.support-head .mh-copy { max-width: 580px; }
.mh-visual { position: relative; }

.hmon {
  position: relative; z-index: 2; background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 18px; box-shadow: 0 30px 64px -24px rgba(16,14,23,0.18), 0 10px 24px -16px rgba(16,14,23,0.08);
}

/* header */
.hmon-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.hmon-shield { width: 38px; height: 38px; border-radius: 11px; background: var(--ps-soft); display: grid; place-items: center; flex-shrink: 0; transition: box-shadow .3s, background .3s; }
.hmon-shield i { font-size: 22px; color: var(--ps); }
.hmon.patching .hmon-shield { box-shadow: 0 0 0 4px rgba(16,156,160,0.18); }
.hmon-id-txt b { display: block; font-size: 14px; font-weight: 800; color: var(--text); line-height: 1.3; }
.hmon-id-txt span { font-size: 11.5px; color: var(--text-2); }
.hmon-stat { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 100px; transition: background .3s, color .3s; }
.hmon-stat .hs-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.hmon-stat.ok { background: rgba(22,163,74,0.10); color: var(--green); }
.hmon-stat.ok .hs-dot { background: var(--green); animation: hmPulse 2s ease-out infinite; }
.hmon-stat.work { background: rgba(217,119,6,0.12); color: #B45309; }
.hmon-stat.work .hs-dot { background: #D97706; }

/* ECG / uptime */
.hmon-ecg { position: relative; height: 56px; background: var(--ps-tint); border: 1px solid var(--ps-soft2); border-radius: var(--r); overflow: hidden; margin-bottom: 14px; }
.ecg-svg { width: 100%; height: 100%; display: block; }
.ecg-base { fill: none; stroke: var(--ps-soft2); stroke-width: 1.5; }
.ecg-line { fill: none; stroke: var(--ps); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 3px rgba(16,156,160,0.5)); }
.ecg-scroll { animation: ecgScroll 4.5s linear infinite; }
@keyframes ecgScroll { from { transform: translateX(0); } to { transform: translateX(-320px); } }
.ecg-meta { position: absolute; inset-inline-end: 12px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--text-2); background: rgba(255,255,255,0.78); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); padding: 3px 9px; border-radius: 100px; }
.ecg-meta b { font-size: 12.5px; color: var(--ps-dark); font-weight: 800; }

/* service rows */
.hmon-rows { display: flex; flex-direction: column; gap: 8px; }
.hmrow { position: relative; display: flex; align-items: center; gap: 11px; padding: 11px 13px; border: 1px solid var(--border); border-radius: var(--r); background: #fff; transition: border-color .35s, background .35s; }
.hm-ico { width: 30px; height: 30px; border-radius: 9px; background: var(--ps-soft); display: grid; place-items: center; flex-shrink: 0; }
.hm-ico i { font-size: 17px; color: var(--ps); }
.hm-label { flex: 1; font-size: 13px; font-weight: 700; color: var(--text); line-height: 1.4; }
.hm-state { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.hm-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.hm-spin { display: none; width: 11px; height: 11px; border-radius: 50%; border: 2px solid rgba(217,119,6,0.3); border-top-color: #D97706; animation: hmSpin .7s linear infinite; flex-shrink: 0; }
@keyframes hmSpin { to { transform: rotate(360deg); } }

.hmrow[data-state="ok"] .hm-dot, .hmrow[data-state="done"] .hm-dot { background: var(--green); animation: hmPulse 2.2s ease-out infinite; }
.hmrow[data-state="ok"] .hm-txt, .hmrow[data-state="done"] .hm-txt { color: var(--green); }
.hmrow[data-state="alert"] { border-color: rgba(225,29,72,0.35); background: #FFF6F8; }
.hmrow[data-state="alert"] .hm-dot { background: var(--urgent); }
.hmrow[data-state="alert"] .hm-txt { color: var(--urgent-dark); }
.hmrow[data-state="work"] { border-color: rgba(217,119,6,0.35); background: #FFFBF3; }
.hmrow[data-state="work"] .hm-dot { display: none; }
.hmrow[data-state="work"] .hm-spin { display: inline-block; }
.hmrow[data-state="work"] .hm-txt { color: #B45309; }
@keyframes hmPulse { 0% { box-shadow: 0 0 0 0 rgba(22,163,74,0.45); } 70% { box-shadow: 0 0 0 6px rgba(22,163,74,0); } 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); } }

/* backup progress */
.hm-bak { display: inline-flex; align-items: center; gap: 9px; }
.hm-bak-track { width: 66px; height: 6px; border-radius: 100px; background: #ECEFF3; overflow: hidden; }
.hm-bak-fill { display: block; height: 100%; width: 0; border-radius: 100px; background: var(--ps); transition: width .2s linear, background .4s; }
.hm-bak-fill.done { background: var(--green); }
.hm-bak-pct { font-size: 11px; font-weight: 800; color: var(--text-2); min-width: 32px; text-align: end; }

/* performance sparkline */
.hm-spark { display: inline-flex; align-items: flex-end; gap: 2.5px; height: 16px; }
.hm-spark i { width: 3px; background: var(--ps); border-radius: 2px; transform-origin: bottom; animation: hmSpark 1.6s ease-in-out infinite; }
.hm-spark i:nth-child(1) { height: 7px; animation-delay: 0s; }
.hm-spark i:nth-child(2) { height: 11px; animation-delay: .18s; }
.hm-spark i:nth-child(3) { height: 9px; animation-delay: .36s; }
.hm-spark i:nth-child(4) { height: 14px; animation-delay: .1s; }
.hm-spark i:nth-child(5) { height: 8px; animation-delay: .5s; }
.hm-spark i:nth-child(6) { height: 12px; animation-delay: .28s; }
.hm-spark i:nth-child(7) { height: 10px; animation-delay: .42s; }
@keyframes hmSpark { 0%, 100% { transform: scaleY(.55); } 50% { transform: scaleY(1); } }

/* floating badges */
.hmon-badge { position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--border); border-radius: 13px; padding: 10px 13px; box-shadow: var(--shadow-md); z-index: 6; opacity: 0; transform: translateY(8px) scale(.96); transition: opacity .4s ease, transform .4s cubic-bezier(.34,1.56,.64,1); pointer-events: none; }
.hmon-badge.show { opacity: 1; transform: translateY(0) scale(1); }
.hb-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.hb-ico i { font-size: 19px; }
.hb-txt b { display: block; font-size: 12.5px; font-weight: 800; line-height: 1.25; color: var(--text); }
.hb-txt span { font-size: 10.5px; color: var(--text-2); }
.hb-a { top: 24px; inset-inline-start: -26px; }
.hb-a .hb-ico { background: rgba(22,163,74,0.12); } .hb-a .hb-ico i { color: var(--green); }
.hb-b { bottom: 22px; inset-inline-end: -22px; }
.hb-b .hb-ico { background: var(--ps-soft); } .hb-b .hb-ico i { color: var(--ps); }
.hmon-badge.show.float-a { animation: floaty 5s ease-in-out 1s infinite; }
.hmon-badge.show.float-b { animation: floaty 6s ease-in-out 1.4s infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

@media (prefers-reduced-motion: reduce) {
  .ecg-scroll, .hm-spark i, .hmon-stat.ok .hs-dot,
  .hmrow[data-state="ok"] .hm-dot, .hmrow[data-state="done"] .hm-dot,
  .hm-spin, .hmon-badge.show.float-a, .hmon-badge.show.float-b { animation: none; }
}

/* ============================================================
   INTRO split — copy + 6 pillar chips
   ============================================================ */
.maint-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.maint-intro-copy p { font-size: 15.5px; color: var(--text-2); line-height: 1.95; margin-bottom: 16px; }
.maint-bottom { display: flex; gap: 12px; align-items: flex-start; background: var(--ps-tint); border: 1px solid var(--ps-soft2); border-radius: var(--r-lg); padding: 18px 20px; margin-top: 6px; }
.maint-bottom > i { font-size: 26px; color: var(--ps); flex-shrink: 0; margin-top: 2px; }
.maint-bottom p { margin: 0; font-size: 14.5px; color: var(--text); line-height: 1.8; }
.maint-bottom b { color: var(--ps-dark); }
.maint-pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.mpil { display: flex; flex-direction: column; gap: 11px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px 20px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.mpil:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--ps-soft2); }
.mpil-ico { width: 46px; height: 46px; border-radius: 12px; background: var(--ps-soft); display: grid; place-items: center; }
.mpil-ico i { font-size: 24px; color: var(--ps); }
.mpil h4 { font-size: 14.5px; font-weight: 700; line-height: 1.5; }

/* ============================================================
   COVERAGE — 6 detailed cards
   ============================================================ */
.maint-cover { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.mcov { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px 26px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.mcov:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--ps-soft2); }
.mcov-head { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 16px; }
.mcov-ico { width: 50px; height: 50px; border-radius: 13px; background: var(--ps-soft); display: grid; place-items: center; flex-shrink: 0; }
.mcov-ico i { font-size: 26px; color: var(--ps); }
.mcov-head h3 { font-size: 18px; margin-bottom: 6px; }
.mcov-head p { font-size: 13.5px; color: var(--text-2); line-height: 1.75; }
.mcov ul { display: flex; flex-direction: column; gap: 10px; }
.mcov li { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; color: var(--text-2); line-height: 1.65; }
.mcov li > i { font-size: 16px; color: var(--ps); flex-shrink: 0; margin-top: 2px; }

/* ============================================================
   PLANS — 3 tier cards
   ============================================================ */
.maint-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.mplan { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 32px 28px; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.mplan:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.mplan.featured { border: 1.5px solid var(--ps); box-shadow: var(--shadow-lg); }
.mplan-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: linear-gradient(120deg, var(--ps), var(--ps-dark)); color: #fff; font-size: 12.5px; font-weight: 700; padding: 6px 18px; border-radius: 100px; display: flex; align-items: center; gap: 6px; box-shadow: 0 12px 26px -8px rgba(16,156,160,0.5); white-space: nowrap; }
.mplan-badge i { font-size: 15px; }
.mplan-ico { width: 52px; height: 52px; border-radius: 14px; background: var(--ps-soft); display: grid; place-items: center; margin-bottom: 16px; }
.mplan-ico i { font-size: 28px; color: var(--ps); }
.mplan h3 { font-size: 21px; margin-bottom: 9px; }
.mplan-desc { font-size: 14px; color: var(--text-2); line-height: 1.75; margin-bottom: 22px; min-height: 42px; }
.mplan ul { display: flex; flex-direction: column; gap: 13px; margin-bottom: 22px; flex: 1; }
.mplan li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.8px; color: var(--text); line-height: 1.6; }
.mplan li > i { font-size: 18px; color: var(--ps); flex-shrink: 0; margin-top: 2px; }
.mplan-best { display: flex; gap: 9px; align-items: flex-start; background: var(--surface); border-radius: var(--r); padding: 13px 15px; margin-bottom: 20px; font-size: 12.5px; color: var(--text-2); line-height: 1.6; }
.mplan-best > i { font-size: 17px; color: var(--ps); flex-shrink: 0; margin-top: 1px; }
.mplan .btn { width: 100%; }

/* ============================================================
   VALUE — 3 reasons (maintenance vs one-off)
   ============================================================ */
.maint-value { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mval { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px 26px; }
.mval-ico { width: 50px; height: 50px; border-radius: 13px; background: var(--ps-soft); display: grid; place-items: center; margin-bottom: 16px; }
.mval-ico i { font-size: 26px; color: var(--ps); }
.mval h3 { font-size: 17.5px; margin-bottom: 9px; }
.mval p { font-size: 14px; color: var(--text-2); line-height: 1.85; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .support-head .mh-grid { grid-template-columns: 1fr; gap: 44px; }
  .support-head .mh-copy { max-width: 640px; }
  .mh-visual { max-width: 480px; }
  .hb-a { inset-inline-start: -14px; }
  .hb-b { inset-inline-end: -10px; }
  .maint-plans { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .maint-value { grid-template-columns: 1fr; }
}
@media (max-width: 880px) {
  .maint-intro { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 760px) {
  .maint-cover { grid-template-columns: 1fr; }
  .maint-pillars { grid-template-columns: 1fr; }
  .hb-a, .hb-b { display: none; }
}

/* ============================================================
   Dark re-skin overrides (Emertat Commerce)
   ============================================================ */
.hmon { background: linear-gradient(180deg, var(--surface-2), var(--surface)); }
.hmrow { background: var(--surface-3); }
.hmrow[data-state="alert"] { background: linear-gradient(180deg, rgba(251,113,133,0.10), var(--surface-3)); }
.hmrow[data-state="work"] { background: linear-gradient(180deg, rgba(251,191,36,0.10), var(--surface-3)); }
.hmrow[data-state="work"] .hm-txt, .hmon-stat.work { color: var(--warning); }
.hmon-stat.work { background: var(--warning-soft); }
.ecg-meta { background: rgba(16,16,29,0.78); }
.hm-bak-track { background: var(--surface-3); }
.hmon-badge { background: rgba(16,16,29,0.94); border-color: var(--border-strong); }
.mpil, .mcov, .mplan, .mval {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
}
.mplan-best { background: var(--surface-3); }
.mplan.featured { border-color: var(--ps); }
.mplan-badge, .mval h3, .mcov-head h3, .mplan h3, .mpil h4 { color: var(--text); }
.mplan-badge { color: #04222B; }


/* ████████████████████████████████████████████████████████████
   UPGRADE PAGE  (merged from upgrade.css)
   ████████████████████████████████████████████████████████████ */
/* ============================================================
   امرتات استور — ارتقای نسخهٔ پرستاشاپ
   styles مختص صفحه؛ توکن‌ها و اکسنت فیروزه‌ای از prestashop.css.
   ============================================================ */

.ps .page-head .aurora-1 { background: rgba(16, 156, 160, 0.16); }
.ps .page-head .crumbs a:hover { color: var(--ps); }
.head-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.head-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; }
.head-trust span { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--text-2); font-weight: 500; }
.head-trust i { color: var(--ps); font-size: 18px; }
.head-trust .stars { color: #F5A623; }

/* ============================================================
   HERO — migration pipeline animation
   ============================================================ */
.mig-hero { padding-block: 52px 58px; }
.mig-hero .head-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 458px);
  gap: 50px; align-items: center;
}
.head-copy { max-width: 600px; }

.mig-stage {
  position: relative; background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 24px 22px;
  box-shadow: 0 30px 64px -22px rgba(12, 122, 130, 0.26), 0 12px 28px -16px rgba(16, 14, 23, 0.10);
}
.mig-stage-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 26px; }
.mig-live { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700; color: var(--ps-dark); }
.mig-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ps); position: relative; flex-shrink: 0; }
.mig-stage.is-running .mig-dot::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--ps); opacity: .5; animation: psPulse 1.8s ease-out infinite; }
.mig-zero { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; color: var(--green); background: rgba(22, 163, 74, 0.10); padding: 5px 11px; border-radius: 100px; white-space: nowrap; }
.mig-zero i { font-size: 15px; }

.mig-flow { display: flex; align-items: center; gap: 8px; }
.mig-store { flex: 0 0 auto; width: 116px; text-align: center; padding: 18px 12px; border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--surface); position: relative; }
.mig-store-ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin: 0 auto 12px; background: #fff; border: 1px solid var(--border); }
.mig-store-ico i { font-size: 27px; }
.mig-store-name { display: block; font-size: 12.5px; font-weight: 700; color: var(--text-2); margin-bottom: 9px; }
.mig-ver { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; padding: 4px 10px; border-radius: 9px; }
.mig-ver .en { font-weight: 800; font-size: 14px; }

/* ---- old store: dusty, neglected, broken security ---- */
.mig-store.src { background: #F1F0EC; border-color: #E4E2DA; filter: grayscale(.6); }
.mig-store.src .mig-store-ico { background: #ECEAE3; border-color: #DFDCD2; }
.mig-store.src .mig-store-ico i { color: #ABA59B; }
.mig-store.src .mig-store-name { color: #97928A; }
.mig-store.src .mig-ver { background: #E4E2DA; color: #A29D93; }
.mig-store.src::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background-image: radial-gradient(circle, rgba(116, 106, 90, 0.22) 1px, transparent 1.6px);
  background-size: 10px 10px; opacity: .55; mix-blend-mode: multiply;
}
.mig-broken {
  position: absolute; top: -10px; inset-inline-start: -10px; z-index: 6;
  width: 28px; height: 28px; border-radius: 50%; background: var(--urgent); color: #fff;
  display: grid; place-items: center; font-size: 15px; box-shadow: 0 6px 16px -6px rgba(225, 29, 72, 0.7);
}
.mig-stage.is-running .mig-broken { animation: migShake 2.6s ease-in-out infinite; }
@keyframes migShake { 0%, 88%, 100% { transform: rotate(0); } 91% { transform: rotate(-12deg); } 95% { transform: rotate(10deg); } }

.mig-store.dst { background: linear-gradient(180deg, #fff, var(--ps-tint)); border-color: var(--ps-soft2); box-shadow: 0 0 0 4px var(--ps-soft); }
.mig-store.dst .mig-store-ico { background: var(--ps); border-color: transparent; box-shadow: 0 10px 22px -8px rgba(16, 156, 160, 0.6); }
.mig-store.dst .mig-store-ico i { color: #fff; }
.mig-store.dst .mig-ver { background: var(--ps); color: #fff; }

/* conduit + dashed flow line */
.mig-conduit { position: relative; flex: 1 1 auto; height: 66px; min-width: 90px; }
.mig-conduit::before {
  content: ''; position: absolute; top: 50%; inset-inline: 4px; height: 2px; transform: translateY(-50%);
  background-image: linear-gradient(90deg, var(--ps-soft2) 0 9px, transparent 9px 17px);
  background-size: 17px 2px; background-repeat: repeat-x;
}
.mig-stage.is-running .mig-conduit::before { animation: migDash 1s linear infinite; }
@keyframes migDash { to { background-position-x: -17px; } }

/* flying data packets */
.mig-packet {
  position: absolute; top: 50%; inset-inline-start: 0;
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px 6px 10px;
  background: #fff; border: 1px solid var(--ps-soft2); border-radius: 100px;
  box-shadow: 0 8px 18px -8px rgba(12, 122, 130, 0.4); font-size: 11.5px; font-weight: 700;
  color: var(--ps-dark); white-space: nowrap; will-change: transform, opacity; pointer-events: none; z-index: 4;
}
.mig-packet i { font-size: 15px; color: var(--ps); }

/* arrival shield-check */
.mig-check { position: absolute; top: -10px; inset-inline-end: -10px; width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 16px; opacity: 0; transform: scale(.4); z-index: 5; box-shadow: 0 6px 16px -6px rgba(22, 163, 74, 0.7); }
.mig-check.show { opacity: 1; transform: scale(1); }
.mig-check.pop { animation: migPop .65s ease; }
@keyframes migPop { 0% { transform: scale(1); } 35% { transform: scale(1.28); } 70% { transform: scale(.92); } 100% { transform: scale(1); } }

/* progress bar + scope chips + status */
.mig-bar { margin-top: 24px; }
.mig-bar-track { height: 8px; border-radius: 100px; background: var(--surface-2); overflow: hidden; }
.mig-bar-fill { height: 100%; width: 0; border-radius: 100px; background: linear-gradient(90deg, var(--ps), #19B8B8); transition: width .55s cubic-bezier(.4, 0, .2, 1); }

.mig-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.mig-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: var(--text-3); background: var(--surface-2); border: 1px solid var(--border); padding: 5px 9px; border-radius: 100px; transition: color .35s ease, background .35s ease, border-color .35s ease; }
.mig-chip-ico { font-size: 13px; }
.mig-chip-st { font-size: 13px; color: var(--text-3); transition: color .3s ease; }
/* loading: spinner */
.mig-chip.loading { color: var(--ps-dark); border-color: var(--ps-soft2); background: var(--ps-soft); }
.mig-chip.loading .mig-chip-st { color: var(--ps); animation: migSpin .8s linear infinite; }
/* done: green check */
.mig-chip.done { color: var(--text); border-color: rgba(22, 163, 74, 0.30); background: rgba(22, 163, 74, 0.08); }
.mig-chip.done .mig-chip-st { color: var(--green); }

.mig-status { margin-top: 13px; font-size: 12px; min-height: 20px; }
.mig-status-run { color: var(--text-2); font-weight: 600; }
.mig-pct { color: var(--ps-dark); font-weight: 800; }
.mig-status-done { display: none; align-items: center; gap: 7px; color: var(--ps-dark); font-weight: 800; }
.mig-status-done i { font-size: 19px; color: var(--green); }
.mig-stage.is-done .mig-status-run { display: none; }
.mig-stage.is-done .mig-status-done { display: inline-flex; animation: migDoneIn .5s ease; }
@keyframes migDoneIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.mig-ver.flip { animation: migFlip .5s ease; }
@keyframes migFlip { 0% { transform: rotateX(0); } 45% { transform: rotateX(90deg); opacity: .25; } 55% { transform: rotateX(-90deg); opacity: .25; } 100% { transform: rotateX(0); opacity: 1; } }

/* control button (outside the stage) */
.mig-btn { margin-top: 16px; width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 16px; border-radius: var(--r); border: none; background: var(--ps); color: #fff; font-family: inherit; font-weight: 800; font-size: 14.5px; cursor: pointer; box-shadow: 0 14px 26px -12px rgba(16, 156, 160, 0.7); transition: background .2s ease, transform .2s ease, box-shadow .2s ease; }
.mig-btn:hover:not(:disabled) { background: var(--ps-dark); transform: translateY(-2px); box-shadow: 0 18px 30px -12px rgba(16, 156, 160, 0.8); }
.mig-btn:disabled { opacity: .8; cursor: default; }
.mig-btn i { font-size: 18px; }
.mig-btn i.ph-spinner { animation: migSpin 1s linear infinite; }
@keyframes migSpin { to { transform: rotate(360deg); } }

/* ============================================================
   URGENCY — why migrate
   ============================================================ */
.mig-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mig-why-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px 26px; transition: transform .25s ease, box-shadow .25s ease; }
.mig-why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.mw-ico { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; }
.mw-ico i { font-size: 29px; }
.mig-why-card h3 { font-size: 18px; margin-bottom: 9px; }
.mig-why-card p { font-size: 14.5px; color: var(--text-2); line-height: 1.85; }
.mig-why-card.warn { border-color: rgba(217, 119, 6, 0.25); background: linear-gradient(180deg, #fff, #FFFBF4); }
.mig-why-card.warn .mw-ico { background: rgba(217, 119, 6, 0.12); }
.mig-why-card.warn .mw-ico i { color: var(--amber); }
.mig-why-card.mid .mw-ico { background: rgba(225, 29, 72, 0.10); }
.mig-why-card.mid .mw-ico i { color: var(--urgent); }
.mig-why-card.good { border-color: var(--ps-soft2); background: linear-gradient(180deg, #fff, var(--ps-tint)); }
.mig-why-card.good .mw-ico { background: var(--ps-soft); }
.mig-why-card.good .mw-ico i { color: var(--ps); }

/* ============================================================
   METHOD — 3 phases
   ============================================================ */
.mig-phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mig-phase { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px 26px; }
.mp-top { display: flex; align-items: center; gap: 13px; margin-bottom: 12px; }
.mp-ico { width: 50px; height: 50px; border-radius: 13px; background: var(--ps-soft); display: grid; place-items: center; flex-shrink: 0; }
.mp-ico i { font-size: 26px; color: var(--ps); }
.mp-label { font-size: 12px; font-weight: 700; color: var(--ps-dark); letter-spacing: .02em; }
.mig-phase h3 { font-size: 19px; margin-bottom: 16px; }
.mig-phase ul { display: flex; flex-direction: column; gap: 11px; margin-bottom: 20px; flex: 1; }
.mig-phase li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; color: var(--text-2); line-height: 1.6; }
.mig-phase li > i { font-size: 17px; color: var(--ps); flex-shrink: 0; margin-top: 2px; }
.mp-out { display: flex; align-items: center; gap: 11px; background: var(--ps-tint); border: 1px solid var(--ps-soft2); border-radius: var(--r); padding: 13px 15px; }
.mp-out > i { font-size: 22px; color: var(--ps); flex-shrink: 0; }
.mp-out b { font-size: 13px; font-weight: 700; display: block; }
.mp-out em { font-size: 11.5px; font-style: normal; color: var(--text-2); }

/* ============================================================
   SCOPE — what we migrate
   ============================================================ */
.mig-scope { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mig-scope-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px 24px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.mig-scope-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--ps-soft2); }
.ms-head { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.ms-ico { width: 46px; height: 46px; border-radius: 12px; background: var(--ps-soft); display: grid; place-items: center; flex-shrink: 0; }
.ms-ico i { font-size: 24px; color: var(--ps); }
.mig-scope-card h3 { font-size: 16.5px; }
.mig-scope-card ul { display: flex; flex-direction: column; gap: 10px; }
.mig-scope-card li { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; color: var(--text-2); line-height: 1.65; }
.mig-scope-card li .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ps); flex-shrink: 0; margin-top: 7px; }

/* ============================================================
   COMPATIBILITY — migration paths
   ============================================================ */
.mig-paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mig-path { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; }
.mpa-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--ps-soft); color: var(--ps-dark); font-weight: 700; padding: 8px 14px; border-radius: 10px; margin-bottom: 14px; }
.mpa-badge i { font-size: 18px; color: var(--ps); }
.mpa-badge .en { font-weight: 800; font-size: 14px; }
.mig-path ul { display: flex; flex-direction: column; gap: 9px; }
.mig-path li { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; color: var(--text-2); line-height: 1.65; }
.mig-path li .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ps); flex-shrink: 0; margin-top: 7px; }

/* ============================================================
   RISK prevention
   ============================================================ */
.mig-risk { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.mig-risk-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px 28px; }
.mr-head { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.mr-ico { width: 46px; height: 46px; border-radius: 12px; background: var(--urgent-soft); display: grid; place-items: center; flex-shrink: 0; }
.mr-ico i { font-size: 24px; color: var(--urgent); }
.mig-risk-card h3 { font-size: 17px; }
.mr-line { display: flex; gap: 9px; font-size: 13.5px; color: var(--text-2); line-height: 1.7; align-items: flex-start; }
.mr-line + .mr-line { margin-top: 10px; }
.mr-line > i { font-size: 17px; flex-shrink: 0; margin-top: 2px; }
.mr-line.risk > i { color: var(--urgent); }
.mr-line.risk b { color: var(--urgent-dark); }
.mr-line.prev > i { color: var(--ps); }
.mr-line.prev b { color: var(--ps-dark); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .mig-hero .head-grid { grid-template-columns: 1fr; gap: 44px; }
  .head-copy { max-width: 640px; }
  .mig-stage { max-width: 460px; }
  .mig-scope, .mig-paths { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .mig-why, .mig-phases { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .mig-scope, .mig-paths, .mig-risk { grid-template-columns: 1fr; }
}
@media (max-width: 440px) {
  .mig-store { width: 96px; padding: 15px 9px; }
  .mig-store-ico { width: 44px; height: 44px; }
  .mig-store-ico i { font-size: 23px; }
}

/* ============================================================
   Dark re-skin overrides (Emertat Commerce)
   ============================================================ */
.mig-stage { background: linear-gradient(180deg, var(--surface-2), var(--surface)); }
.mig-store-ico { background: var(--surface-3); }
.mig-store.src { background: #1b1d29; border-color: #2a2c3a; }
.mig-store.src .mig-store-ico { background: #23252f; border-color: #2f313e; }
.mig-store.src .mig-store-ico i { color: #6b6e7e; }
.mig-store.src .mig-store-name { color: #6b6e7e; }
.mig-store.src .mig-ver { background: #2a2c3a; color: #80828f; }
.mig-store.src::after { mix-blend-mode: screen; opacity: .3; }
.mig-store.dst { background: linear-gradient(180deg, var(--surface-2), rgba(66,217,255,0.08)); }
.mig-store.dst .mig-store-ico i { color: #04222B; }
.mig-store.dst .mig-ver { color: #04222B; }
.mig-packet { background: rgba(16,16,29,0.96); }
.mig-why-card, .mig-phase, .mig-scope-card, .mig-path, .mig-risk-card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
}
.mig-why-card.warn { background: linear-gradient(180deg, rgba(251,191,36,0.08), var(--surface)); border-color: rgba(251,191,36,0.24); }
.mig-why-card.warn .mw-ico { background: var(--warning-soft); }
.mig-why-card.warn .mw-ico i { color: var(--warning); }
.mig-why-card.good { background: linear-gradient(180deg, var(--ps-soft), var(--surface)); border-color: var(--ps-soft2); }
.mp-out { background: var(--ps-soft); border-color: var(--ps-soft2); }
.mig-btn { color: #04222B; }
.mig-why-card h3, .mig-phase h3, .mig-scope-card h3, .mig-path h3, .mig-risk-card h3, .mp-out b { color: var(--text); }
