.ks-jd{cursor:pointer;text-align:right}
.ksd{position:fixed;z-index:2147483000;width:290px;background:#fff;border:1px solid #dfe5e2;border-radius:16px;box-shadow:0 18px 50px rgba(16,32,27,.2);padding:12px;font-family:inherit;color:#10201b;direction:rtl}
.ksd__head{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:8px}
.ksd__sel{display:flex;gap:6px;flex:1;justify-content:center}
.ksd__sel select{height:34px;border:1.5px solid #e2e9e6;border-radius:10px;background:#fff;font:inherit;font-size:.88rem;padding:0 8px;color:inherit;cursor:pointer;width:auto!important;min-height:0!important}
.ksd__nav{width:34px;height:34px;border:0;border-radius:50%;background:#f1f4f2;font-size:1.3rem;line-height:1;cursor:pointer;color:#10201b;padding:0}
.ksd__nav:hover{background:#e3ebe7}
.ksd__grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;text-align:center}
.ksd__grid b{font-size:.74rem;color:#7b8782;padding:6px 0;font-weight:700}
.ksd__d{height:36px;border:0;border-radius:10px;background:transparent;font:inherit;font-size:.9rem;cursor:pointer;color:#10201b;padding:0}
.ksd__d:hover:not(:disabled){background:#eef6f3}
.ksd__d.is-fri{color:#c0392b}
.ksd__d.is-today{box-shadow:inset 0 0 0 1.5px #d98a1f}
.ksd__d.is-sel{background:#0b6b57!important;color:#fff!important}
.ksd__d:disabled{opacity:.3;cursor:not-allowed}
.ksd__foot{display:flex;justify-content:space-between;margin-top:8px;padding-top:8px;border-top:1px solid #eef1ef}
.ksd__foot button{border:0;background:none;color:#0b6b57;font:inherit;font-weight:700;font-size:.85rem;cursor:pointer;padding:4px 8px;border-radius:8px}
.ksd__foot button:hover{background:#eef6f3}
.wp-admin .ksd{border-radius:8px}

/* نقشه‌ی انتخاب آدرس */
.ksm{position:fixed;inset:0;z-index:2147482000;background:rgba(10,20,17,.55);display:none;align-items:center;justify-content:center;padding:16px}
.ksm.is-on{display:flex}
.ksm__box{background:#fff;border-radius:22px;width:100%;max-width:760px;max-height:94vh;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 30px 80px rgba(0,0,0,.35);direction:rtl;font-family:inherit}
.ksm__head{display:flex;justify-content:space-between;align-items:center;padding:14px 18px;border-bottom:1px solid #eef1ef}
.ksm__x{border:0;background:#f1f4f2;width:34px;height:34px;border-radius:50%;font-size:1.3rem;cursor:pointer;line-height:1}
.ksm__bar{display:flex;gap:8px;padding:10px 14px;flex-wrap:wrap}
.ksm__q{flex:1;min-width:180px;height:42px;border:1.5px solid #e2e9e6;border-radius:12px;padding:0 14px;font:inherit}
.ksm__go,.ksm__me{height:42px;border:0;border-radius:12px;padding:0 16px;font:inherit;font-weight:700;cursor:pointer;background:#10201b;color:#fff}.ksm__me{background:#eef6f3;color:#0b6b57}
.ksm__map{height:min(52vh,420px);min-height:260px;background:#e8ece9;direction:ltr}
.ksm__addr{padding:10px 18px;font-size:.9rem;color:#2a3833;min-height:44px;line-height:1.8;background:#f8faf9}
.ksm__foot{display:flex;gap:10px;padding:12px 16px;border-top:1px solid #eef1ef}
html.ksm-lock{overflow:hidden}
.ks-mapbtn{display:inline-flex;align-items:center;gap:6px}
.ks-mapstat{font-size:.84rem;color:#0b6b57;font-weight:700;margin-inline-start:10px}