/* Mftaah — support & contact pages (store front) */
.mst{--p:#4933D1;--p2:#3a28b0;--ink:#242424;--muted:#6B6B76;--line:#E0E0E7;--soft:#F5F4FB;--soft2:#DCD6F7;color:var(--ink);font-size:16px;line-height:1.8}
.mst *{box-sizing:border-box}
.mst a{color:var(--p)}
.mst h1,.mst h2,.mst h3{color:inherit;font-weight:700;margin:0}
.mst-hero{color:#fff;background:linear-gradient(225deg,#2A2470 0%,#15123A 45%,#0E0C24 100%);border-radius:24px;margin:0 0 8px}
.mst-in{max-width:1200px;margin:0 auto;padding:52px 28px 48px;display:flex;flex-direction:column;align-items:flex-start;gap:14px}
.mst-badge{padding:6px 14px;border-radius:999px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);font-size:14px;font-weight:600}
.mst-hero h1{font-size:clamp(28px,4.6vw,46px);line-height:1.25;color:#fff}
.mst-hero p{margin:0;font-size:18px;color:#C9C5E6;max-width:640px}
.mst-quick{display:flex;flex-wrap:wrap;gap:10px;margin-top:6px}
.mst-quick a{display:inline-flex;align-items:center;gap:8px;min-height:46px;padding:0 18px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.22);color:#fff!important;text-decoration:none;font-weight:600}
.mst-quick a:hover{background:rgba(255,255,255,.16)}
.mst-sec{max-width:1200px;margin:0 auto;padding:40px 4px 8px}
.mst-sec>h2{font-size:28px;margin-bottom:6px}
.mst-sub{color:var(--muted);margin:0 0 18px}
.mst-faq{display:flex;flex-direction:column;gap:10px;margin-top:14px}
.mst-faq details{border:1px solid var(--line);border-radius:16px;background:#fff;overflow:hidden}
.mst-faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 20px;font-weight:600;font-size:17px;min-height:56px}
.mst-faq summary::-webkit-details-marker{display:none}
.mst-faq summary i{width:28px;height:28px;border-radius:50%;background:var(--soft);flex:none;position:relative}
.mst-faq summary i:before,.mst-faq summary i:after{content:"";position:absolute;inset:0;margin:auto;width:12px;height:2px;background:var(--p);border-radius:2px}
.mst-faq summary i:after{transform:rotate(90deg);transition:transform .2s}
.mst-faq details[open] summary i:after{transform:rotate(0)}
.mst-faq details p{margin:0;padding:0 20px 18px;color:#4A4A57}
.mst-steps{list-style:none;margin:0 0 22px;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px}
.mst-steps li{border:1px solid var(--line);border-radius:18px;padding:20px;background:#fff}
.mst-steps li b{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--p);color:#fff;font-size:17px;margin-bottom:10px}
.mst-steps h3{font-size:18px;margin-bottom:4px}
.mst-steps p{margin:0;color:var(--muted);font-size:15px}
.mst-two{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}
.mst-card{border:1px solid var(--line);border-radius:20px;padding:24px;background:#fff;display:flex;flex-direction:column;gap:10px}
.mst-card h3{font-size:19px}
.mst-card ol{margin:0;padding:0 20px 0 0;display:flex;flex-direction:column;gap:8px;font-size:15px}
.mst-card .mst-sub{margin:0;font-size:14px}
.mst-warn{margin:4px 0 0;padding:12px 14px;border-radius:12px;background:#FFF6E0;color:#5C4300;font-size:14px;font-weight:500}
.mst-fail{margin:20px 0 0;font-size:16px;font-weight:600}
.mst-cta{border-radius:24px;padding:28px;background:var(--soft);border:1px solid var(--soft2);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 24px}
.mst-cta h2{font-size:24px}
.mst-cta p{margin:4px 0 0;color:#4A4A57}
.mst-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:0 26px;border:0;border-radius:999px;background:var(--p);color:#fff!important;font-size:16px;font-weight:700;text-decoration:none;cursor:pointer;font-family:inherit}
.mst-btn:hover{background:var(--p2)}
.mst-btn.ghost{background:#fff;color:var(--p)!important;border:1.5px solid var(--p)}
.mst-btn.ghost:hover{background:var(--soft)}
.mst-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
.mst-card.c{align-items:flex-start}
.mst-card.c p{margin:0;color:var(--muted);font-size:15px}
.mst-card.c b{font-size:17px}
.mst-card.c .mst-btn{margin-top:auto;width:100%}
.mst-card.c small{color:var(--muted);font-size:13px}
.mst-card .ic{width:46px;height:46px;border-radius:14px;background:var(--soft);color:var(--p);display:grid;place-items:center}
.mst-card .ic.wa{background:#E7F8EE;color:#128C4B}
.mst-facts{list-style:none;margin:16px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.mst-facts li{display:grid;grid-template-columns:auto 1fr;gap:0 10px;align-items:center;padding:14px 16px;border-radius:16px;background:var(--soft)}
.mst-facts li svg{grid-row:span 2;color:var(--p)}
.mst-facts li span{color:var(--muted);font-size:13px}
.mst-facts li b{font-size:15px}
.mst-form-wrap{max-width:820px;margin:0 auto;border:1px solid var(--line);border-radius:24px;padding:28px;background:#fff}
.mst-form-wrap>h2{font-size:26px}
.mst-form{display:flex;flex-direction:column;gap:16px}
.mst-form label{display:flex;flex-direction:column;gap:6px;font-weight:600;font-size:15px}
.mst-form label em{font-style:normal;color:var(--muted);font-weight:400}
.mst-form input[type=text],.mst-form input[type=email],.mst-form input[type=tel],.mst-form select,.mst-form textarea{width:100%;min-height:48px;padding:10px 14px;border:1px solid #D9D9E1;border-radius:12px;font:inherit;font-weight:400;background:#fff;color:var(--ink)}
.mst-form textarea{min-height:120px}
.mst-form input:focus,.mst-form select:focus,.mst-form textarea:focus{outline:none;border-color:var(--p);box-shadow:0 0 0 3px rgba(73,51,209,.15)}
.mst-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.mst-type,.mst-pri{border:0;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px}
.mst-type legend,.mst-pri legend{font-weight:600;font-size:15px;margin-bottom:6px;padding:0}
.mst-type label,.mst-pri label{position:relative;cursor:pointer}
.mst-type input,.mst-pri input{position:absolute;opacity:0;pointer-events:none}
.mst-type span,.mst-pri span{display:flex;flex-direction:column;padding:12px 14px;border:1.5px solid var(--line);border-radius:14px;min-height:64px;justify-content:center}
.mst-type small,.mst-pri small{color:var(--muted);font-weight:400;font-size:13px}
.mst-type input:checked+span,.mst-pri input:checked+span{border-color:var(--p);background:var(--soft)}
.mst-type input:focus-visible+span,.mst-pri input:focus-visible+span{box-shadow:0 0 0 3px rgba(73,51,209,.25)}
.mst-form[data-type=msg] .only-t,.mst-form[data-type=ticket] .only-msg,.mst-form[data-type=msg] .lt,.mst-form[data-type=ticket] .lm{display:none!important}
.mst-hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.mst-privacy{margin:0;color:var(--muted);font-size:13px}
.mst-err{margin:0 0 12px;padding:12px 14px;border-radius:12px;background:#FDECEA;color:#8C1D18;font-weight:500}
.mst-done{border-radius:18px;padding:22px;background:#EAF7EF;border:1px solid #BFE6CD;color:#14532D}
.mst-done h3{font-size:22px;margin-bottom:6px}
.mst-done p{margin:0 0 8px}
.mst-track{display:grid;grid-template-columns:1fr 1fr auto;gap:10px}
.mst-track input{min-height:48px;padding:10px 14px;border:1px solid #D9D9E1;border-radius:12px;font:inherit}
.mst-ticket .top{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}
.mst-ticket h3{font-size:19px;margin-bottom:14px}
.mst-st{padding:2px 12px;border-radius:999px;font-size:13px;font-weight:700;background:#eceef1}
.mst-st.s-new,.mst-st.s-open{background:#E8E6FA;color:var(--p)}
.mst-st.s-pending{background:#FFF1CF;color:#8A5A00}
.mst-st.s-resolved,.mst-st.s-closed{background:#D8F3E5;color:#0B7A4B}
.mst-thread{list-style:none;margin:0 0 18px;padding:0;display:flex;flex-direction:column;gap:10px}
.mst-thread li{border-radius:16px;padding:12px 16px;max-width:90%}
.mst-thread li.me{background:var(--soft);align-self:flex-start}
.mst-thread li.them{background:#EAF7EF;align-self:flex-end}
.mst-thread small{color:var(--muted);font-size:12px}
.mst-thread p{margin:2px 0 0}
@media (max-width:900px){.mst-steps,.mst-cards,.mst-facts{grid-template-columns:1fr 1fr}.mst-two{grid-template-columns:1fr}}
@media (max-width:600px){.mst-steps,.mst-cards,.mst-facts,.mst-grid,.mst-track{grid-template-columns:1fr}.mst-in{padding:36px 18px}.mst-form-wrap{padding:20px 16px}.mst-hero{border-radius:18px}}
.mst-card.c b{overflow-wrap:anywhere;direction:ltr;unicode-bidi:isolate}
.mst-card.c b[dir=ltr]{white-space:nowrap;font-size:16px}
.mst-track input{width:100%;min-width:0}
.mst-track .mst-btn{white-space:nowrap}
.mst-card.c small a{white-space:nowrap}
.mst-cats{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 6px}
.mst-cats a{display:inline-flex;align-items:center;min-height:40px;padding:0 16px;border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--ink)!important;text-decoration:none;font-weight:600;font-size:14px}
.mst-cats a:hover{border-color:var(--p);color:var(--p)!important}
.mst-cat{font-size:19px;margin:26px 0 0;scroll-margin-top:90px}
.mst-tuts{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:12px}
.mst-tuts details.mst-card{padding:0;gap:0}
.mst-tuts summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 20px;font-size:16px}
.mst-tuts summary::-webkit-details-marker{display:none}
.mst-tuts summary i{width:28px;height:28px;border-radius:50%;background:var(--soft);flex:none;position:relative}
.mst-tuts summary i:before,.mst-tuts summary i:after{content:"";position:absolute;inset:0;margin:auto;width:12px;height:2px;background:var(--p);border-radius:2px}
.mst-tuts summary i:after{transform:rotate(90deg)}
.mst-tuts details[open] summary i:after{transform:rotate(0)}
.mst-tuts ol{padding:0 40px 18px 20px!important}
.mst-catsel{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:4px 0 10px;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:#fff;position:sticky;top:84px;z-index:5}
.mst-catsel label{font-weight:700;font-size:14px;color:var(--ink)}
.mst-catsel select{flex:1 1 260px;min-height:44px;border:1.5px solid var(--line);border-radius:12px;padding:0 14px;font:inherit;font-size:15px;background:#F7F7FA;color:var(--ink)}
