/* Public Managed Apps page: only what pack_offer.css (hero, sections, feature grid, CTA) does not already give. */

.mp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; max-width: 1200px; margin: 0 auto; }
.mp-card { display: flex; flex-direction: column; gap: 14px; padding: 24px; border: 1px solid #ece6ef; border-radius: 16px; background: #fff;
  box-shadow: 0 1px 2px rgba(36, 17, 41, .04); transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease; }
.mp-card:hover { border-color: #d9c7e0; box-shadow: 0 14px 30px -18px rgba(36, 17, 41, .4); transform: translateY(-2px); }
.mp-card-top { display: flex; align-items: center; gap: 14px; }
.mp-logo { flex: none; width: 52px; height: 52px; border-radius: 12px; object-fit: contain; }
.mp-title { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; min-width: 0; }
.mp-name { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.2; color: #2a0033; }
.mp-tagline { display: inline-block; padding: 2px 10px; border-radius: 999px; background: #f6f1fa; color: #4b2456; font-size: 11.5px; font-weight: 600; }
.mp-desc { flex: 1 1 auto; margin: 0; font-size: 14px; line-height: 1.6; color: #6b6272;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.mp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mp-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid #ece6ef; border-radius: 999px; color: #6b6272; font-size: 12px; font-weight: 600; white-space: nowrap; }
.mp-chip i { font-size: 11px; color: #1f9d6e; }
.mp-buy { display: flex; flex-direction: column; gap: 12px; padding-top: 16px; border-top: 1px solid #ece6ef; }
.mp-price { display: flex; align-items: baseline; gap: 6px; color: #2a0033; }
.mp-price b { font-size: 28px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.mp-price span { font-size: 13px; color: #7b7385; }
/* pack-cta-primary brings its own side margins and 36px padding: the button must fit the card, not overflow it */
.mp-card .mp-btn { display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 100%; margin: 0; padding: 12px 18px; text-align: center; }

.mp-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; max-width: 1000px; margin: 0 auto; }
.mp-step { padding: 28px 22px; border: 1px solid #ece6ef; border-radius: 16px; background: #fff; text-align: center;
  box-shadow: 0 1px 2px rgba(36, 17, 41, .04); }
.mp-features { max-width: 1100px; margin-left: auto; margin-right: auto; gap: 16px; }
.mp-features .pack-feature { height: 100%; padding: 20px; border: 1px solid #ece6ef; border-radius: 16px; background: #fff;
  box-shadow: 0 1px 2px rgba(36, 17, 41, .04); }
.mp-step-n { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 12px; border-radius: 50%;
  background: #3f004a; color: #fff; font-size: 18px; font-weight: 800; }
.mp-step h4 { margin: 0 0 6px; font-size: 17px; font-weight: 700; color: #2a0033; }
.mp-step p { margin: 0; font-size: 14px; line-height: 1.6; color: #6b6272; }

.mp-final { max-width: 720px; margin: 0 auto; padding: 40px 28px; border-radius: 20px; background: #3f004a; text-align: center; color: #fff; }
.mp-final h2 { margin: 0 0 8px; font-size: 26px; font-weight: 800; color: #fff; }
.mp-final p { margin: 0 0 22px; color: #e6d6ec; font-size: 15px; }
[dir="rtl"] .mp-tagline, [dir="rtl"] .mp-desc { text-align: right; }
@media (max-width: 600px) { .mp-card { padding: 20px; } .mp-final { padding: 32px 20px; } }
