/*
Theme Name: مسیر پرداخت — فروش افزونه
Author: محمدتقی حاجی‌باشی
Description: قالب فارسی و راست‌چین فروش افزونه مسیر پرداخت، با تنظیمات پیشخوان، لایسنس، انتشار به‌روزرسانی و تمدید اعتبار.
Version: 1.5.0
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: masir-payment
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
:root{--primary:#0066ff;--accent:#28d5f5;--navy:#051d43;--ink:#092047;--muted:#65748c;--line:#e3ebf5}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:#fff;color:var(--ink);font-family:Tahoma,Arial,sans-serif;line-height:1.9;direction:rtl}a{color:var(--primary);text-decoration:none}button,input,select,textarea{font:inherit}button,a,summary,select{touch-action:manipulation}button,a,select,summary,input{outline-offset:4px}a:focus-visible,button:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--accent)}img{max-width:100%;height:auto}svg{width:36px;height:36px;flex-shrink:0}h1,h2,p{margin:0}h1,h2{line-height:1.5;font-weight:900}em{color:var(--primary);font-style:normal}.container{width:min(1120px,calc(100% - 40px));margin-inline:auto}.site-header{background:var(--navy);color:white;padding:18px 0}.header-row{display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:8px;font-weight:900;font-size:23px;color:white}.brand svg{color:var(--accent);stroke-width:4}.brand img{max-width:180px;max-height:60px;object-fit:contain}#main-nav{display:flex;gap:24px;align-items:center;font-size:14px}#main-nav a{color:#e4efff}#main-nav ul{display:flex;list-style:none;margin:0;padding:0;gap:20px}.menu-toggle{display:none;color:white;border:1px solid #ffffff36;background:transparent;border-radius:10px;padding:5px 12px;font-size:22px}.hero{color:white;background:radial-gradient(ellipse at 25% 60%,#0759b955,transparent 55%),linear-gradient(125deg,var(--navy),#020e24);position:relative;overflow:hidden;padding:45px 0 55px}.hero:before{content:'';position:absolute;inset:0;background-image:linear-gradient(#3d96ff0c 1px,transparent 1px),linear-gradient(90deg,#3d96ff0c 1px,transparent 1px);background-size:44px 44px;pointer-events:none;mask-image:linear-gradient(transparent,#000)}.hero-layout{display:grid;grid-template-columns:1fr 1.1fr;gap:55px;align-items:center;position:relative}.badge{display:inline-block;border:1px solid #3888f582;background:#096eff20;color:#9ee9ff;padding:4px 14px;border-radius:100px;font-size:12px;margin-bottom:18px}.hero h1{font-size:clamp(34px,4vw,52px);letter-spacing:-1.5px;max-width:460px}.hero-copy>p{margin-top:16px;color:#c5d9f0;font-size:17px}.hero-actions{display:flex;align-items:center;gap:24px;margin-top:24px}.button{display:inline-flex;gap:14px;justify-content:center;align-items:center;background:var(--primary);color:#fff;border:0;border-radius:12px;min-height:48px;padding:10px 27px;font-weight:700;box-shadow:0 6px 20px #0066ff24;transition:transform .18s,filter .18s}.button:hover{filter:brightness(1.1);transform:translateY(-2px)}.button.disabled{background:#6b7e98;box-shadow:none;cursor:default}.text-link{color:#d5eeff;font-size:14px}.hero-art{min-width:0}.source-chips{display:flex;justify-content:space-around;gap:12px}.source-chips span{border:1px solid #2b99fa80;border-radius:14px;background:linear-gradient(145deg,#05365f,#08152d);padding:8px 16px;font-size:14px;font-weight:700;box-shadow:0 0 22px #0066ff22}.source-chips span:nth-child(2){border-color:#f0487188;color:#ff99aa}.source-chips span:nth-child(3){border-color:#9272ff;color:#c6b8ff}.routes{width:100%;height:90px;color:var(--accent);filter:drop-shadow(0 0 7px #20c9ff)}.checkout-art{background:linear-gradient(140deg,#fff,#eaf5ff);color:var(--ink);padding:20px;border:1px solid #a5dfff;border-radius:22px;box-shadow:0 0 40px #006aff45,0 18px 35px #0004}.art-title{display:flex;align-items:center;gap:9px;font-size:16px;margin-bottom:14px}.art-title svg{width:24px;height:24px;color:var(--primary)}.status-dot{width:8px;height:8px;background:#20c7a4;border-radius:50%;margin-inline-start:auto;box-shadow:0 0 0 5px #20c7a419}.provider-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.provider{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;background:white;border:1px solid #deebf8;border-radius:14px;padding:15px 7px;font-size:13px;font-weight:700}.provider img{width:80px;height:58px;object-fit:contain}.art-caption{font-size:11px;text-align:center;color:var(--muted);margin-top:13px}.custom-hero{width:100%;max-height:390px;object-fit:contain}.features{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;padding-block:30px}.feature{display:flex;gap:12px;padding:18px 14px;background:white;border:1px solid var(--line);border-radius:16px;box-shadow:0 7px 24px #11305d06}.feature svg{color:var(--primary);width:32px;height:32px}.feature h2{font-size:15px}.feature p{font-size:12px;color:var(--muted);margin-top:6px}.demo-section{display:grid;grid-template-columns:1fr 1fr;gap:35px;align-items:center;border-radius:23px;background:linear-gradient(130deg,#f0f8ff,#e9f5ff);padding:28px 35px}.eyebrow{color:var(--primary);font-size:12px;font-weight:700}.demo-copy h2{font-size:28px;margin:8px 0 12px}.demo-copy p{font-size:14px;max-width:400px}.muted{color:var(--muted);font-size:12px!important;margin-top:12px}.demo-panel{background:#fff;border:1px solid #c9dff7;border-radius:16px;padding:18px;box-shadow:0 12px 30px #2174c30c}.demo-panel>label{font-size:13px;font-weight:700}.demo-panel select{width:100%;margin:8px 0 13px;border:1px solid #cfdeef;border-radius:9px;padding:9px;background:#fff;color:var(--ink);font-size:13px}.demo-method{display:flex;align-items:center;gap:12px;padding:6px 10px;min-height:46px;border-bottom:1px solid #edf1f6;font-size:12px;color:#8390a4}.demo-method.active{background:#f0f7ff;color:var(--ink);font-weight:700;border-radius:8px}.demo-method img,.demo-method svg{width:45px;height:29px;object-fit:contain;margin-inline-start:auto}.demo-check{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border:1px solid #adbbce;border-radius:4px;color:white;line-height:1}.active .demo-check{border-color:var(--primary);background:var(--primary)}.demo-result{font-size:10px;color:var(--muted);margin-top:10px;line-height:1.8}.purchase-section{display:flex;justify-content:center;align-items:center;gap:55px;padding:28px 35px;margin-top:28px;margin-bottom:28px;border:1px solid var(--line);border-radius:22px;box-shadow:0 15px 40px #193a6307}.product-box{width:125px;min-height:178px;flex-shrink:0;border-radius:7px;background:linear-gradient(155deg,#17447d,var(--navy));color:white;box-shadow:10px 12px 0 #072046,15px 20px 28px #12345930;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:11px;transform:rotate(-5deg)}.product-box svg{color:var(--accent);width:47px;height:47px;stroke-width:3}.product-box strong{text-align:center;font-size:20px;line-height:1.4}.product-box span{font-size:10px;background:#4f43b7;border-radius:50px;padding:2px 12px}.purchase-content h2{font-size:25px;margin-top:4px}.price{font-size:23px;font-weight:700;margin:8px 0 14px}.price del{font-size:14px;color:#8997ab}.price ins{text-decoration:none}.purchase-content>small{font-size:11px;color:var(--muted)}.faq{max-width:820px}.faq h2{text-align:center;font-size:22px;margin-bottom:14px}.faq details{border:1px solid var(--line);border-radius:10px;margin-bottom:8px;padding:12px 16px;font-size:13px;background:white}.faq summary{cursor:pointer;font-weight:700}.faq details p{font-size:13px;line-height:2;color:var(--muted);padding-top:12px}.site-footer{text-align:center;font-size:12px;color:var(--muted);padding:25px 0}.site-footer small{display:block;font-size:10px}.site-footer a{display:inline-block;margin-top:6px}.sticky-buy{display:none}.skip-link{position:fixed;top:-100px;inset-inline-start:15px;background:#fff;padding:10px;z-index:9999}.skip-link:focus{top:10px}.content-page{padding-block:35px;min-height:60vh}.content-page h1{margin-bottom:24px;font-size:30px}.content-page p{margin-block:15px}.content-page input,.content-page textarea,.content-page select{max-width:100%;border:1px solid var(--line);border-radius:7px;padding:8px}.content-page .woocommerce a.button,.content-page .woocommerce button.button{color:white;background:var(--primary);border-radius:8px}.woocommerce table.shop_table{border-color:var(--line);border-radius:12px}.woocommerce ul.products li.product .button{display:inline-block}.woocommerce .woocommerce-message,.woocommerce .woocommerce-info{border-top-color:var(--primary)}.woocommerce div.product .woocommerce-tabs ul.tabs li{background:#f3f7fc}.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout{direction:rtl}body.admin-bar .site-header{position:relative}.comment-list{padding-inline-start:20px}
@media(max-width:850px){.hero-layout{gap:25px}.features{grid-template-columns:repeat(2,1fr)}.feature{padding:16px}.demo-section{gap:20px;padding:25px}.hero h1{font-size:38px}.source-chips span{padding:7px 10px;font-size:12px}.provider img{width:60px}}
@media(max-width:600px){body{padding-bottom:88px}.container{width:calc(100% - 32px)}.site-header{padding:14px 0}.brand{font-size:20px}.brand svg{width:31px}.menu-toggle{display:block}.header-row{position:relative}#main-nav{display:none;position:absolute;top:52px;inset-inline:0;background:#08234a;padding:17px;border:1px solid #ffffff20;border-radius:12px;z-index:10;box-shadow:0 15px 30px #0004}#main-nav.open{display:flex;flex-direction:column;align-items:stretch;gap:12px}#main-nav ul{flex-direction:column;gap:12px}.hero{padding:12px 0 26px}.hero-layout{grid-template-columns:1fr;gap:25px}.hero-copy{text-align:center}.badge{font-size:10px;margin-bottom:12px}.hero h1{font-size:36px;max-width:370px;margin:auto;letter-spacing:-1px}.hero-copy>p{font-size:13px;max-width:340px;margin:12px auto 0}.hero-actions{justify-content:center;margin-top:17px;gap:17px}.hero-actions .button{padding:8px 20px;min-height:42px;font-size:13px}.text-link{font-size:12px}.hero-art{max-width:370px;width:100%;margin:auto}.source-chips span{font-size:11px;padding:7px 11px;border-radius:11px}.routes{height:53px}.checkout-art{padding:13px;border-radius:17px}.art-title{font-size:13px;margin-bottom:9px}.provider{padding:10px 5px;font-size:11px;gap:4px;border-radius:11px}.provider img{width:62px;height:43px}.art-caption{font-size:9px;margin-top:9px}.features{gap:10px;padding-block:20px}.feature{gap:9px;padding:13px 10px;border-radius:12px}.feature svg{width:27px;height:27px}.feature h2{font-size:12px}.feature p{font-size:10px;line-height:1.8;margin-top:4px}.demo-section{grid-template-columns:1fr;gap:13px;padding:20px 15px;border-radius:18px}.demo-copy{text-align:center}.demo-copy h2{font-size:24px;margin:5px 0}.demo-copy p{font-size:12px}.demo-copy .muted{display:none}.eyebrow{font-size:10px}.demo-panel{padding:12px}.demo-panel select{padding:7px;margin:5px 0 8px}.demo-method{min-height:37px;padding:4px 8px}.demo-method img{height:25px;width:38px}.demo-result{font-size:9px}.purchase-section{gap:23px;padding:20px;margin-block:20px;border-radius:17px}.product-box{width:86px;min-height:140px;box-shadow:6px 8px 0 #072046,10px 16px 20px #12345930;gap:9px}.product-box strong{font-size:17px}.product-box svg{width:35px;height:35px}.product-box span{font-size:8px;padding:2px 6px}.purchase-content{min-width:0}.purchase-content h2{font-size:18px}.price{font-size:16px;margin:6px 0 10px}.purchase-content .button{font-size:13px;width:100%;min-height:42px;padding:7px 15px}.purchase-content .muted{font-size:10px!important;margin-top:8px}.purchase-content>small{font-size:9px}.faq h2{font-size:19px}.faq details{font-size:11px;padding:10px 12px}.faq details p{font-size:11px}.site-footer{padding-block:19px}.sticky-buy{position:fixed;bottom:0;inset-inline:0;display:flex;align-items:center;justify-content:space-between;gap:15px;background:#fffffff5;backdrop-filter:blur(12px);border-top:1px solid var(--line);padding:10px 16px calc(10px + env(safe-area-inset-bottom));z-index:20;box-shadow:0 -4px 20px #16325709}.sticky-buy small,.sticky-buy strong{display:block;font-size:10px;line-height:1.7}.sticky-buy small{color:var(--muted)}.sticky-buy .button{min-height:43px;padding:8px 24px;flex-basis:55%;font-size:13px}.content-page{padding-top:25px}.content-page h1{font-size:24px}.woocommerce table.shop_table{font-size:12px}}
@media(max-width:360px){.hero h1{font-size:31px}.feature{flex-direction:column;gap:4px}.purchase-section{gap:17px;padding:17px 13px}.purchase-content h2{font-size:16px}.source-chips span{padding:6px 8px}.product-box{width:72px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}
/* Independent section controls and flexible block layout */
.mp-section{background:var(--section-bg,transparent);color:var(--section-ink,var(--ink))}.mp-section-hero .hero{background:var(--section-bg,radial-gradient(ellipse at 25% 60%,#0759b955,transparent 55%),linear-gradient(125deg,var(--navy),#020e24)));color:var(--section-ink,white)}.mp-section .demo-section,.mp-section .purchase-section,.mp-section .feature,.mp-section .faq details{background:var(--section-bg,white);color:var(--section-ink,var(--ink))}.mp-section .hero-copy>p,.mp-section .feature p,.mp-section .muted,.mp-section .faq details p{color:var(--section-ink,var(--muted))}.mp-section-hero .hero-copy>p{color:var(--section-ink,#c5d9f0)}.mp-home>.wp-block-group,.mp-home>.wp-block-columns,.mp-home>.wp-block-image,.mp-home>.wp-block-heading,.mp-home>p,.mp-home>.wp-block-buttons{max-width:1120px;margin-inline:auto}.mp-home>.wp-block-group{padding:24px}.purchase-section{position:relative;overflow:hidden;border:1px solid #bcd8ff;background:linear-gradient(135deg,#f1f8ff,#fff);box-shadow:0 16px 48px #174c8712;align-items:center;border-radius:26px;padding:38px;gap:50px}.purchase-section:before{content:'';position:absolute;inset-block-start:0;inset-inline:0;height:4px;background:linear-gradient(90deg,var(--accent),var(--primary));}.purchase-content{flex:1}.purchase-badge{color:var(--primary);background:#0066ff0a;border-color:#0066ff25;margin-bottom:12px}.purchase-description{font-size:14px;color:var(--section-ink,var(--muted));margin:10px 0}.purchase-perks{display:flex;flex-wrap:wrap;gap:8px 18px;list-style:none;padding:0;margin:14px 0;font-size:12px;color:var(--section-ink,var(--ink))}.purchase-perks li{background:#0066ff07;border-radius:9px;padding:4px 9px}.price{font-size:30px;line-height:1.8}.price del{display:block;font-size:15px;color:var(--muted);opacity:.8}.price ins{text-decoration:none;color:var(--primary);font-weight:900}.purchase-content .button{min-width:230px}.mp-home .wp-block-image img{border-radius:16px}.mp-home .wp-block-columns{padding-inline:20px}.mp-home .wp-block-button__link{border-radius:12px}
@media(max-width:600px){.purchase-section{flex-direction:column;gap:18px;padding:24px;text-align:center}.product-box{width:95px;min-height:132px}.purchase-content{width:100%}.purchase-content h2{font-size:21px}.purchase-description{font-size:12px}.price{font-size:25px}.purchase-perks{justify-content:center;font-size:11px}.purchase-badge{font-size:11px}.mp-home>.wp-block-heading,.mp-home>p,.mp-home>.wp-block-buttons{padding-inline:20px}}

.mp-plan-picker{border:1px solid #bdd6fa;background:#f3f8ff;border-radius:14px;padding:20px;margin:16px 0;width:100%}.mp-plan-picker legend{font-weight:700;padding:0 8px}.mp-plan-picker select,.mp-license-renewal select{display:block;width:100%;min-height:48px;margin:12px 0;border:1px solid #b4cbe5;border-radius:8px;background:#fff;padding:8px;font:inherit}.mp-plan-picker p{font-size:12px;color:#586d84}
