/* «الأسعار» (/pricing). Layout only; colours/radii/sizes from theme-tokens.css (docs/THEME-RULES.md). */
.pr .lg-doc{gap:var(--space-4)}
.pr-notes{display:flex;flex-direction:column;gap:var(--space-2)}
.pr-note{margin:0}
.pr-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:var(--space-3)}
.pr-card{display:flex;flex-direction:column;gap:var(--space-2)}
.pr-card h2 small{font-weight:400;color:var(--text2);font-size:var(--fs-sm)}
.pr-price{margin:0;font-size:var(--fs-lg)}
.pr-price b{font-size:var(--fs-xl)}
.pr-year,.pr-tpl,.pr-branch{margin:0;color:var(--text2)}
.pr-save{color:var(--brand);font-weight:var(--fw-bold)}
.pr-card ul{margin:0;padding-inline-start:var(--space-4)}
.pr-cta{margin:auto 0 0}

/* mystery-shop: tighten card rhythm; featured restaurant; no purple */
.pr-card{gap:6px}
.pr-card h2{margin:0;line-height:1.3}
.pr-price,.pr-year,.pr-tpl,.pr-branch{margin:0;line-height:1.4}
.pr-card ul{margin:6px 0 0}
.pr-cta{margin-top:10px;display:flex;flex-wrap:wrap;gap:8px}
.pr-feat{border-color:#1f7a55;box-shadow:0 0 0 1px #1f7a55}
html[data-theme="dark"] .pr-feat{border-color:#5fc796;box-shadow:0 0 0 1px #5fc796}
.pr-badge{display:inline-block;margin:0 0 4px;padding:2px 8px;border-radius:999px;background:#1f7a55;color:#fff;font-size:12px}
html[data-theme="dark"] .pr-badge{background:#5fc796;color:#0c1a14}
/* identity: no purple. Sky (#3a76dc) is a logo colour. */
.lg.pr .pr-card[data-plan="enterprise"],
.pr .sec-card[data-plan="enterprise"],
.pr-card[data-plan="enterprise"]{
  border-top: 5px solid #3a76dc !important;
  border-color: #3a76dc var(--stroke,#e5e5ea) var(--stroke,#e5e5ea) !important;
  background: inherit;
  --accent: #3a76dc;
  --brand-2: #3a76dc;
}
.pr-card[data-plan="enterprise"] h2,
.pr-card[data-plan="enterprise"] .pr-price{
  color: inherit;
  background: inherit;
  border-top-color: transparent;
}
.pr-card .btn.primary{background:#1f7a55;color:#fff;border:0}
html[data-theme="dark"] .pr-card .btn.primary{background:#5fc796;color:#0c1a14}
/* ghost outline is set below, with specificity to beat html.rb .btn.ghost */

/* Customer review: 3+1 layout, emerald outline trial, light notes */
.pr-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-3)}
@media (max-width:819px){.pr-grid{grid-template-columns:1fr}}
.pr-card[data-plan="enterprise"]{grid-column:1 / -1}
@media (min-width:820px){
  .pr-card[data-plan="enterprise"]{
    display:grid;grid-template-columns:minmax(200px,.95fr) minmax(220px,1.25fr) auto;
    align-items:center;gap:8px 28px;
  }
  .pr-card[data-plan="enterprise"] .pr-ent-main{display:flex;flex-direction:column;gap:4px}
  .pr-card[data-plan="enterprise"] ul{margin:0;padding-inline-start:1.2em}
  .pr-card[data-plan="enterprise"] .pr-cta{margin:0;flex-direction:column;align-items:stretch;min-width:200px}
  .pr-card[data-plan="enterprise"] .pr-cta .btn{width:100%;justify-content:center}
}
html.rb .pr-card a.btn.ghost,
html.rb .pr-card .btn.ghost,
.lg.pr .pr-card a.btn.ghost,
.pr-card a.btn.ghost,
.pr-card .btn.ghost{
  background:transparent !important;
  color:#1f7a55 !important;
  border:1.5px solid #1f7a55 !important;
  box-shadow:none !important;
}
html.rb[data-theme="dark"] .pr-card a.btn.ghost,
html[data-theme="dark"] .pr-card a.btn.ghost,
html[data-theme="dark"] .pr-card .btn.ghost{
  background:transparent !important;
  color:#5fc796 !important;
  border-color:#5fc796 !important;
  box-shadow:none !important;
}
.pr-notes{display:flex;flex-direction:column;gap:10px}
.pr-note{
  margin:0;display:flex;align-items:flex-start;gap:10px;
  padding:12px 16px;border-radius:14px;
  background:#f6faf7;border:1px solid color-mix(in srgb,#1f7a55 16%,#e6eee8);
  color:var(--text,#1c1c1c);
}
html[data-theme="dark"] .pr-note{
  background:color-mix(in srgb,#5fc796 9%,#171717);
  border-color:color-mix(in srgb,#5fc796 24%,transparent);
}
.pr-note .pr-ic{flex:none;width:22px;height:22px;margin-top:1px}
.pr-note-year .pr-ic{color:#1f7a55}
.pr-note-tpl .pr-ic{color:#3a76dc}
html[data-theme="dark"] .pr-note-year .pr-ic{color:#5fc796}
html[data-theme="dark"] .pr-note-tpl .pr-ic{color:#6ea2f0}

.pr .theme-btn{width:40px;height:40px;border-radius:50%;border:1px solid var(--line,rgba(60,64,80,.14));background:transparent;color:inherit;cursor:pointer;display:grid;place-items:center;margin-inline-start:8px}
.pr .theme-btn svg{width:20px;height:20px}
html:not([data-theme=dark]) .pr .theme-btn .sun{display:none}
html:not([data-theme=dark]) .pr .theme-btn .moon{display:block}
html[data-theme=dark] .pr .theme-btn .moon{display:none}
html[data-theme=dark] .pr .theme-btn .sun{display:block}
