@font-face{font-family:Vazirmatn;src:url('fonts/vazirmatn-var.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
/* WooSub frontend — Persian RTL, no global selectors */
.ws-front{direction:rtl;text-align:right;box-sizing:border-box;font-family:Vazirmatn,Tahoma,Arial,sans-serif;--ws-green:#244f43;--ws-muted:#6a7b70;--ws-stroke:#e2e8df;--ws-sand:#f7f5ef;color:#21382d;line-height:1.95;font-size:14px;max-width:1220px;margin:20px auto 35px}
.ws-front *{box-sizing:border-box}
.ws-front a{text-decoration:none;transition:background .2s,border-color .2s,color .2s}
.ws-front h2,.ws-front h3,.ws-front p{margin-top:0}
.ws-front h2{font-size:clamp(23px,3.3vw,34px);font-weight:800;line-height:1.5;letter-spacing:-.4px}
.ws-front h3{font-size:19px;font-weight:800;line-height:1.6}
.ws-front p{color:var(--ws-muted)}
.ws-front .ws-kicker{display:inline-block;color:#bc8052;font-size:12px;font-weight:800;letter-spacing:.4px;margin:0 0 6px}
.ws-front .ws-section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}
.ws-front .ws-section-heading p{margin:6px 0 0}
.ws-front .ws-price-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.ws-front .ws-price-card{border:1px solid var(--ws-stroke);border-radius:17px;padding:28px;min-width:0;background:#fff;display:flex;flex-direction:column;box-shadow:0 5px 25px #1c453009}
.ws-front .ws-price-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:31px}
.ws-front .ws-length{display:inline-flex;border-radius:7px;color:#325b46;background:#e7f0e8;padding:3px 12px;font-size:12px;font-weight:800}
.ws-front .ws-current{color:#b57b4d;font-weight:700;font-size:11px}
.ws-front .ws-price-card h3{margin:18px 0 10px}
.ws-front .ws-price-amount{color:#244f43;font-size:24px;font-weight:800;line-height:1.7}
.ws-front .ws-price-amount .woocommerce-Price-amount{font-size:25px}
.ws-front .ws-price-amount del{color:#87958b;font-size:15px}
.ws-front .ws-price-description{font-size:13px;margin:10px 0 17px;min-height:34px}
.ws-front .ws-price-features{padding:15px 0 19px;margin:0 0 auto;list-style:none;border-top:1px solid #edf0e9}
.ws-front .ws-price-features li{position:relative;padding-right:21px;margin:8px 0;font-size:13px;color:#506458}
.ws-front .ws-price-features li:before{content:'✓';position:absolute;right:0;color:#258753;font-weight:800}
.ws-front .ws-action{display:inline-flex;align-items:center;justify-content:center;gap:18px;border-radius:10px;background:var(--ws-green);padding:12px 18px;color:#fff;font-size:14px;font-weight:800;text-align:center;min-height:47px}
.ws-front .ws-action:hover{background:#163a2b;color:#fff}
.ws-front .ws-outline{display:inline-flex;align-items:center;justify-content:center;gap:7px;color:#27543e;border:1px solid #bfd4c5;border-radius:9px;padding:9px 16px;white-space:nowrap;font-weight:800;font-size:12px}
.ws-front .ws-outline:hover{background:#edf5ee;color:#163a2b}
.ws-front .ws-plan-thumbnail{height:150px;margin:14px 0 2px;overflow:hidden;border-radius:9px}
.ws-front .ws-plan-thumbnail img{height:100%;width:100%;object-fit:cover}
.ws-front .ws-account-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:23px}
.ws-front .ws-account-heading h2{margin:0 0 5px}
.ws-front .ws-account-heading p{margin:0}
.ws-front .ws-account-stat{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:22px}
.ws-front .ws-account-stat>div{padding:19px 24px;border:1px solid var(--ws-stroke);background:#fff;border-radius:14px}
.ws-front .ws-account-stat span{display:block;color:var(--ws-muted);font-size:12px;font-weight:700}
.ws-front .ws-account-stat strong{display:block;font-size:29px;color:var(--ws-green);line-height:1.6;margin-top:3px}
.ws-front .ws-account-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.ws-front .ws-sub-card{background:#fff;border:1px solid var(--ws-stroke);border-radius:15px;padding:23px;box-shadow:0 5px 23px #223d2f07;min-width:0}
.ws-front .ws-sub-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}
.ws-front .ws-sub-head h3{margin:13px 0 0}
.ws-front .ws-sub-head p{font-size:12px;margin:0 0 18px}
.ws-front .ws-sub-tag{display:inline-block;border-radius:20px;padding:1px 12px;font-size:11px;font-weight:800}
.ws-front .ws-good{background:#e4f4e9;color:#26734b}
.ws-front .ws-ended{background:#f7ece8;color:#a05c4e}
.ws-front .ws-days{text-align:center;min-width:95px;display:flex;flex-direction:column;color:#2e5d45}
.ws-front .ws-days strong{font-size:31px;line-height:1.45}
.ws-front .ws-days small{font-size:11px;color:var(--ws-muted)}
.ws-front .ws-progress{height:7px;background:#edf0eb;border-radius:20px;overflow:hidden;margin:1px 0 21px}
.ws-front .ws-progress span{display:block;background:#4b9269;height:100%;border-radius:20px}
.ws-front .ws-sub-bottom{display:flex;align-items:end;justify-content:space-between;gap:16px}
.ws-front .ws-date-pair{display:flex;align-items:center;gap:25px}
.ws-front .ws-date-pair small{display:block;color:#7a8b7d;font-size:11px}
.ws-front .ws-date-pair strong{font-size:13px;font-weight:800;white-space:nowrap}
.ws-front .ws-no-record,.ws-front .ws-account-guest{border:1px dashed #c7d9c9;border-radius:17px;background:#fafbf7;padding:34px;text-align:center}
.ws-front .ws-no-record h3,.ws-front .ws-account-guest h2{margin-bottom:7px}
.ws-front .ws-bottom-hint{margin:20px 0;border-radius:10px;padding:14px 19px;background:#f6f8f4;color:#718272;font-size:12px}
.ws-front.ws-lock{background:#f7f8f4;border:1px solid #dfe7dc;padding:28px;border-radius:13px;max-width:750px;margin:25px 0}
.ws-front.ws-lock h3{margin:4px 0}
.ws-front.ws-lock .ws-action{margin-top:12px}
.ws-front.ws-product-warning{padding:12px 15px;border-radius:8px;background:#fff5e8;color:#875a26;margin:10px 0}
.ws-front.ws-product-warning a{color:#27543e;font-weight:800}
@media(max-width:1000px){.ws-front .ws-price-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ws-front .ws-sub-bottom{align-items:flex-start;flex-direction:column}}
@media(max-width:700px){.ws-front{padding:0 10px;font-size:13px}.ws-front .ws-price-grid,.ws-front .ws-account-list{grid-template-columns:1fr}.ws-front .ws-price-card{padding:21px}.ws-front .ws-account-heading{align-items:start;flex-direction:column}.ws-front .ws-account-stat{gap:8px}.ws-front .ws-account-stat>div{padding:13px 11px}.ws-front .ws-account-stat span{font-size:10px}.ws-front .ws-account-stat strong{font-size:23px}.ws-front .ws-date-pair{gap:25px}.ws-front .ws-sub-bottom{flex-direction:row;align-items:end;flex-wrap:wrap}.ws-front .ws-section-heading{margin-bottom:18px}}

.ws-front .ws-trial-action{display:block;padding:10px 8px 1px;color:#2c684d;text-align:center;font-weight:700;font-size:12px}
.ws-front .ws-trial-action:hover{color:#b47b4a;text-decoration:underline}

.ws-front .ws-pending-wrap{border:1px solid #ebd9b0;border-radius:14px;background:#fffaf0;padding:16px 21px;margin:0 0 20px}
.ws-front .ws-pending-wrap h3{font-size:16px;margin:0 0 13px}
.ws-front .ws-pending-order{display:flex;gap:12px;justify-content:space-between;align-items:center;padding:12px 0;border-top:1px solid #eee3d0}
.ws-front .ws-pending-order strong,.ws-front .ws-pending-order small{display:block}
.ws-front .ws-pending-order small{font-size:12px;color:#896d48}
@media(max-width:630px){.ws-front .ws-pending-order{align-items:flex-start;flex-direction:column}}
