/* SHIFT Core — داشبورد حساب کاربری
 * .shift-dash      = داشبورد در /my-account/
 * .shift-dash-page = برگه‌ی account-dashboard (پیش‌نمایش و UX Builder)
 */
.woocommerce-MyAccount-content:has(.shift-dash) > p,
.woocommerce-MyAccount-content:has(.shift-dash) > ul.dashboard-links{display:none}
.shift-dash{display:flex;flex-direction:column;gap:14px}
.shift-dash a{text-decoration:none}
.shift-dash-page .sd-hello,.shift-dash-page .sd-stats,.shift-dash-page .sd-card,.shift-dash-page .sd-links,.shift-dash-page .sd-support{margin-bottom:14px}
.shift-dash-page .sd-stats a,.shift-dash-page .sd-card a,.shift-dash-page .sd-links a,.shift-dash-page .sd-support a{text-decoration:none}

:is(.shift-dash,.shift-dash-page) .sd-ic{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:40px;height:40px;border-radius:11px;background:var(--shift-t9);color:var(--shift-brand)}

/* خوشامد */
:is(.shift-dash,.shift-dash-page) .sd-hello{padding:22px;border-radius:14px;background:linear-gradient(135deg,var(--shift-brand),var(--shift-light));color:#fff}
:is(.shift-dash,.shift-dash-page) .sd-hello h2{margin:0 0 6px;font-size:20px;font-weight:800;color:#fff}
:is(.shift-dash,.shift-dash-page) .sd-hello p{margin:0;font-size:14px;line-height:1.9;color:rgba(255,255,255,.9)}

/* کاشی‌های آمار */
:is(.shift-dash,.shift-dash-page) .sd-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
:is(.shift-dash,.shift-dash-page) .sd-stat{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:16px;border:1px solid var(--shift-line);border-radius:14px;background:#fff;transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease}
:is(.shift-dash,.shift-dash-page) .sd-stat:hover{border-color:var(--shift-t35);box-shadow:0 8px 24px var(--shift-a10);transform:translateY(-2px)}
:is(.shift-dash,.shift-dash-page) .sd-num{margin-top:4px;font-size:24px;font-weight:800;line-height:1.2;color:var(--shift-ink)}
:is(.shift-dash,.shift-dash-page) .sd-lbl{font-size:13px;font-weight:600;color:var(--shift-muted)}

/* اشتراک‌های من */
:is(.shift-dash,.shift-dash-page) .sd-card{padding:18px;border:1px solid var(--shift-line);border-radius:14px;background:#fff}
:is(.shift-dash,.shift-dash-page) .sd-card__head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
:is(.shift-dash,.shift-dash-page) .sd-card__head h3{margin:0;font-size:15px;font-weight:700;color:var(--shift-ink)}
:is(.shift-dash,.shift-dash-page) .sd-card__head a{font-size:13px;font-weight:600;color:var(--shift-brand)}
:is(.shift-dash,.shift-dash-page) .sd-camps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
:is(.shift-dash,.shift-dash-page) .sd-camps li{margin:0;list-style:none}
:is(.shift-dash,.shift-dash-page) .sd-camps a{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:12px;background:var(--shift-t4);color:var(--shift-ink);font-size:14px;font-weight:600;transition:background .15s ease}
:is(.shift-dash,.shift-dash-page) .sd-camps a:hover{background:var(--shift-t9)}
:is(.shift-dash,.shift-dash-page) .sd-camp-name{flex:1}
:is(.shift-dash,.shift-dash-page) .sd-go{display:inline-flex;align-items:center;gap:4px;padding:6px 12px;border-radius:8px;background:var(--shift-brand);color:#fff;font-size:12.5px;font-weight:700}
:is(.shift-dash,.shift-dash-page) .sd-empty{margin:0 0 12px;font-size:13.5px;color:var(--shift-muted)}
:is(.shift-dash,.shift-dash-page) .sd-btn{display:inline-flex;padding:8px 18px;border-radius:10px;background:var(--shift-brand);color:#fff;font-size:13.5px;font-weight:700}

/* لینک‌های سریع */
:is(.shift-dash,.shift-dash-page) .sd-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}
:is(.shift-dash,.shift-dash-page) .sd-links a{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid var(--shift-line);border-radius:14px;background:#fff;color:var(--shift-ink);font-size:14px;font-weight:600;transition:border-color .2s ease,color .15s ease}
:is(.shift-dash,.shift-dash-page) .sd-links a:hover{border-color:var(--shift-t35);color:var(--shift-brand)}
:is(.shift-dash,.shift-dash-page) .sd-links .sd-ic{width:34px;height:34px;border-radius:9px}
:is(.shift-dash,.shift-dash-page) .sd-arrow{display:inline-flex;margin-inline-start:auto;color:var(--shift-brand);opacity:.5}

/* پشتیبانی */
:is(.shift-dash,.shift-dash-page) .sd-support{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border:1px dashed var(--shift-t24);border-radius:14px;background:var(--shift-t4)}
:is(.shift-dash,.shift-dash-page) .sd-support strong{display:block;font-size:14px;color:var(--shift-ink)}
:is(.shift-dash,.shift-dash-page) .sd-support span{font-size:12.5px;color:var(--shift-muted)}
:is(.shift-dash,.shift-dash-page) .sd-support__btns{display:flex;gap:8px;flex-shrink:0}
:is(.shift-dash,.shift-dash-page) .sd-support__btns a{padding:7px 14px;border:1px solid var(--shift-t24);border-radius:9px;background:#fff;color:var(--shift-brand);font-size:13px;font-weight:700;transition:background .15s ease,color .15s ease}
:is(.shift-dash,.shift-dash-page) .sd-support__btns a:hover{background:var(--shift-brand);color:#fff}


@media (max-width:849px){
:is(.shift-dash,.shift-dash-page) .sd-stats{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:549px){
:is(.shift-dash,.shift-dash-page) .sd-hello{padding:18px}
:is(.shift-dash,.shift-dash-page) .sd-hello h2{font-size:18px}
:is(.shift-dash,.shift-dash-page) .sd-stat{padding:14px}
:is(.shift-dash,.shift-dash-page) .sd-links{grid-template-columns:1fr}
:is(.shift-dash,.shift-dash-page) .sd-support{flex-direction:column;align-items:stretch;text-align:center}
:is(.shift-dash,.shift-dash-page) .sd-support__btns{justify-content:center}
}

