/* ============================================================
   امرتات کامرس — دپارتمان Sylius
   Dark re-skin on top of commerce.css + prestashop.css structure.
   Sylius accent = emerald green (#34D399) — distinct from
   PrestaShop's cyan, Shopware's blue, and the main-site violet.
   Reuses the generic .ps-* structural classes from prestashop.css
   (hero / services / stats / steps / faq / final-cta) and simply
   overrides the accent custom-properties + a few hardcoded cyan
   spots for this page.
   ============================================================ */

body[data-page="sylius"] {
  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="sylius"]::before {
  content: ''; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(640px 480px at 82% -4%, rgba(52,211,153,0.10), transparent 60%),
    radial-gradient(560px 440px at 6% 8%, rgba(108,99,255,0.08), transparent 60%);
}

/* accent override: reuse the same var names the ps-* structural
   rules already reference, just with Sylius's emerald green */
.ps.sy {
  --ps: #34D399;
  --ps-dark: #16A87A;
  --ps-darker: #0E8563;
  --ps-soft: rgba(52, 211, 153, 0.12);
  --ps-soft2: rgba(52, 211, 153, 0.22);
  --ps-tint: var(--bg-2);
  --urgent: #FB7185;
  --urgent-dark: #F43F5E;
  --urgent-soft: rgba(251, 113, 133, 0.12);
}
.sy .eyebrow { border-color: rgba(52,211,153,0.28); }
.sy .btn-ps { color: #04241A; box-shadow: 0 14px 30px -12px rgba(52,211,153,0.5); }
.sy .btn-ps:hover { box-shadow: 0 20px 40px -14px rgba(52,211,153,0.62); }

/* hardcoded-cyan spots in prestashop.css → sylius emerald */
.sy .ps-aurora.a1 { background: rgba(52, 211, 153, 0.16); }
.sy .ps-window::before { background: linear-gradient(140deg, rgba(52,211,153,0.45), transparent 45%, rgba(108,99,255,0.3) 95%); }
.sy .cta-final.ps-cta { border-color: rgba(52,211,153,0.24); background: linear-gradient(150deg, rgba(52,211,153,0.18), rgba(108,99,255,0.12) 70%, var(--surface)); }

/* ---- open-source strip ---- */
.sy-os { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--border); }
.sy-os-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); font-weight: 600; }
.sy-os-item i { font-size: 17px; color: var(--ps); }

/* ---- edition strip (Community / Plus) ---- */
.sy-editions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 820px; margin-inline: auto; }
.sy-edition { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px 24px; transition: border-color .25s, transform .25s; }
.sy-edition:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.sy-edition.hl { border-color: rgba(52,211,153,0.4); background: linear-gradient(180deg, rgba(52,211,153,0.10), var(--surface)); }
.sy-edition .se-name { font-size: 18px; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.sy-edition .se-tag { display: inline-block; font-size: 11px; font-weight: 700; color: var(--ps); background: var(--ps-soft); padding: 3px 11px; border-radius: 100px; margin-bottom: 14px; }
.sy-edition .se-desc { font-size: 13.5px; color: var(--text-2); line-height: 1.85; margin-bottom: 14px; }
.sy-edition .se-list { display: flex; flex-direction: column; gap: 7px; }
.sy-edition .se-list li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-2); list-style: none; }
.sy-edition .se-list li i { color: var(--ps); font-size: 15px; flex-shrink: 0; }

@media (max-width: 1080px) {
  .sy-editions { grid-template-columns: 1fr; max-width: 520px; }
}
@media (max-width: 600px) {
  .sy-os { gap: 10px 18px; }
}
