/* Yaddak SMS Login — scoped, standalone, RTL interface */
.ysms-modal[hidden],.ysms-step[hidden],.ysms-message[hidden],.ysms-complete[hidden]{display:none!important}
.ysms-modal,.ysms-inline,.ysms-float,.ysms-open-button{font-family:inherit;direction:rtl}
.ysms-modal{position:fixed!important;inset:0!important;z-index:999999!important;display:grid;place-items:center;padding:18px;isolation:isolate}
.ysms-overlay{position:absolute;inset:0;background:rgba(12,15,22,.76);backdrop-filter:blur(11px);-webkit-backdrop-filter:blur(11px);animation:ysmsFade .3s ease}
.ysms-dialog{position:relative;width:min(100%,480px);max-height:calc(100dvh - 28px);overflow-y:auto;overscroll-behavior:contain;border-radius:27px;box-shadow:0 36px 130px #0006;animation:ysmsPop .32s cubic-bezier(.2,1.15,.35,1);scrollbar-width:thin;background:#fff}
.ysms-inline{width:100%;max-width:560px;margin:28px auto;box-shadow:0 18px 80px #17263c10;border-radius:26px}
.ysms-card{position:relative;background:#fff;color:#181a20;box-sizing:border-box;padding:36px 34px 18px;text-align:right;font-size:14px;line-height:1.65;border-radius:26px;min-width:0}
.ysms-card *{box-sizing:border-box}
.ysms-card button,.ysms-card input,.ysms-card select{font:inherit}
.ysms-card button{cursor:pointer}
.ysms-card svg{flex-shrink:0}
.ysms-close{position:absolute;top:24px;left:24px;width:40px;height:40px;border:0!important;border-radius:13px;background:#f1f2f4!important;color:#565961!important;display:flex;align-items:center;justify-content:center;z-index:1;padding:0!important;transition:.2s ease}
.ysms-close:hover{transform:rotate(90deg);background:#e8e9ec!important}
.ysms-heading{display:flex;gap:16px;align-items:center;margin:0 0 25px;padding-left:36px}
.ysms-symbol{display:grid;place-items:center;width:58px;height:58px;background:#fac900;border-radius:19px;color:#101114;box-shadow:0 8px 24px #fac90055;flex-shrink:0}
.ysms-symbol svg{width:30px;height:30px;stroke-width:1.9}
.ysms-headtext{min-width:0}
.ysms-eyebrow,.ysms-kicker{display:block;font-size:11px;font-weight:850;letter-spacing:.15px;color:#9a7a00;margin-bottom:3px}
.ysms-title{font-size:24px!important;font-weight:950!important;letter-spacing:-.8px!important;line-height:1.45!important;margin:0 0 3px!important;color:#17181a!important}
.ysms-subtitle{font-size:12px!important;color:#83868b!important;margin:0!important;font-weight:500;line-height:1.8}
.ysms-progress{display:flex;gap:7px;margin:0 0 27px}
.ysms-progress-segment{height:5px;flex:1;border-radius:20px;background:#eff0f2;transition:background .2s,transform .2s}
.ysms-progress-segment.active{background:#f8c600}
.ysms-progress-segment.current{background:#17181a}
.ysms-step{animation:ysmsSlide .25s ease}
.ysms-step h3{font-size:21px!important;font-weight:950!important;color:#191a20!important;line-height:1.55!important;margin:0 0 5px!important}
.ysms-step h3 svg{color:#f4bd00;vertical-align:middle;width:21px;height:21px}
.ysms-help{font-size:12px!important;line-height:1.95!important;color:#85888c!important;margin:0 0 23px!important}
.ysms-help b{color:#23272c;direction:ltr;unicode-bidi:embed}
.ysms-step label{display:block;margin:0 0 8px;font-size:12px;font-weight:800;color:#535861}
.ysms-field{border:1.5px solid #e2e3e6;display:flex;align-items:center;gap:10px;border-radius:15px;background:#fbfbfc;padding:0 14px;transition:.22s;border-color:#e3e4e8}
.ysms-field:focus-within{border-color:#efbd00;background:white;box-shadow:0 0 0 4px #ffd21a25}
.ysms-field>svg{color:#92959b;width:20px;height:20px}
.ysms-field input{border:0!important;background:transparent!important;outline:0!important;box-shadow:none!important;flex:1;width:100%;min-width:0;padding:18px 5px!important;height:auto!important;font-size:20px!important;font-weight:800!important;letter-spacing:1.7px;text-align:left!important;color:#1f2125!important}
.ysms-field input::placeholder{color:#b4b6bb;font-size:16px;letter-spacing:1px}
.ysms-primary{margin-top:22px;width:100%;min-height:55px;border-radius:14px!important;border:0!important;background:linear-gradient(110deg,#f8c300 0%,#ffd823 52%,#f6c500 100%)!important;box-shadow:0 9px 20px #ffce1233!important;color:#141414!important;font-size:14px!important;font-weight:900!important;display:flex;align-items:center;justify-content:center;gap:12px;padding:12px 20px!important;transition:transform .2s,box-shadow .2s,filter .2s!important;position:relative;isolation:isolate;overflow:hidden;line-height:1.8!important}
.ysms-primary:before{content:"";position:absolute;inset:0;background:linear-gradient(95deg,transparent 30%,#fff7 45%,transparent 60%);transform:translateX(120%);animation:ysmsShine 4s linear infinite;pointer-events:none;z-index:-1}
.ysms-primary svg{width:18px;height:18px;transition:transform .2s}
.ysms-primary:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 12px 25px #ffcf1266!important;filter:saturate(1.1)}
.ysms-primary:hover svg{transform:translateX(-4px)}
.ysms-primary:disabled{opacity:.66;cursor:wait}
.ysms-primary.loading span,.ysms-primary.loading svg{opacity:.1}
.ysms-primary.loading:after{content:"";position:absolute;width:24px;height:24px;border-radius:50%;border:3px solid #14141425;border-top-color:#111;animation:ysmsSpin .7s linear infinite}
.ysms-note{margin:14px 0 0!important;text-align:center;font-size:11px!important;color:#969aa1!important}
.ysms-message{margin:0 0 18px;background:#fff0ee;border:1px solid #ffd5ce;border-radius:13px;padding:11px 13px;color:#a23728;font-size:12px;font-weight:700;line-height:1.9}
.ysms-message-success{background:#eafaf1;border-color:#bcf0d3;color:#17653d}
.ysms-otp-wrap{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:25px 0 5px}
.ysms-digit{min-width:0!important;max-width:100%!important;width:100%!important;height:56px!important;line-height:1!important;text-align:center!important;padding:0!important;border:1.5px solid #e2e4e8!important;border-radius:12px!important;background:#fbfbfc!important;outline:0!important;font-size:24px!important;font-weight:950!important;font-variant-numeric:tabular-nums;direction:ltr!important;color:#252525!important;transition:.2s!important;box-shadow:none!important}
.ysms-digit:focus{border-color:#e8b700!important;background:#fffbed!important;box-shadow:0 0 0 4px #ffdc4033!important}
.ysms-between{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:18px}
.ysms-link{padding:2px!important;border:0!important;background:transparent!important;color:#8c6e00!important;font-size:12px!important;font-weight:800!important;box-shadow:none!important;text-decoration:none!important}
.ysms-link:disabled{color:#a6aab1!important;cursor:default}
.ysms-vehicle-visual{display:flex;align-items:center;gap:13px;padding:14px;border-radius:15px;background:linear-gradient(110deg,#17191e,#333238);color:white;margin:7px 0 20px;position:relative;overflow:hidden}
.ysms-vehicle-visual:after{content:"";position:absolute;left:-25px;top:-35px;width:135px;height:135px;border:1px solid #fff3;border-radius:50%;box-shadow:0 0 0 22px #fff1,0 0 0 44px #fff1}
.ysms-car-icon{width:48px;height:48px;display:grid;place-items:center;background:#fac900;color:#18191d;border-radius:13px;flex-shrink:0}
.ysms-car-icon svg{width:28px;height:28px}
.ysms-vehicle-visual b{display:block;font-size:13px}
.ysms-vehicle-visual small{display:block;font-size:11px;color:#bcbec5;line-height:1.7;margin-top:3px}
.ysms-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.ysms-control{margin:0 0 15px;min-width:0}
.ysms-control select,.ysms-control input{display:block;width:100%!important;height:54px!important;min-width:0!important;border:1.5px solid #e1e3e6!important;border-radius:13px!important;background:#fff!important;color:#24262a!important;font-size:13px!important;font-weight:750!important;box-shadow:none!important;outline:0!important;margin:0!important;padding:0 13px!important;transition:.2s}
.ysms-control select{cursor:pointer;appearance:auto;max-width:100%;text-overflow:ellipsis}
.ysms-control select:disabled{cursor:not-allowed;background:#f6f6f7!important;color:#b4b7bd!important}
.ysms-control select:focus,.ysms-control input:focus{border-color:#e7b700!important;box-shadow:0 0 0 4px #ffd21a20!important}
.ysms-control input::placeholder{color:#aeb1b6;font-weight:500}
.ysms-tip{margin:15px 0 0!important;padding:11px 12px;border-radius:12px;background:#fffae5;color:#827447!important;font-size:11px!important;display:flex;align-items:center;gap:8px;line-height:1.85}
.ysms-tip svg{width:17px;height:17px;color:#b89b19}
.ysms-footer{display:flex;justify-content:center;gap:6px;align-items:center;margin-top:29px;padding:16px 0 0;border-top:1px solid #f0f0f1;color:#a1a4aa;font-size:10px;font-weight:750}
.ysms-footer svg{width:14px;height:14px;color:#b4a255}
.ysms-complete{text-align:center;padding:23px 0 12px}
.ysms-complete h3{margin:10px 0!important}
.ysms-complete p{font-size:13px;color:#717781;margin:0}
.ysms-success-icon{display:grid;place-items:center;margin:0 auto;width:85px;height:85px;background:#ffed86;color:#121416;border-radius:25px;transform:rotate(-7deg);box-shadow:0 12px 40px #f8c30066}
.ysms-success-icon svg{width:44px;height:44px;stroke-width:3}
.ysms-open-button,.ysms-float{display:inline-flex;align-items:center;justify-content:center;gap:9px;background:#facb08!important;color:#111!important;border:0!important;border-radius:14px!important;padding:12px 20px!important;font-size:13px!important;font-weight:850!important;line-height:1.6!important;box-shadow:0 10px 25px #e8b9002e;cursor:pointer;transition:transform .2s,box-shadow .2s}
.ysms-open-button:hover,.ysms-float:hover{transform:translateY(-2px);box-shadow:0 14px 30px #e9b6004d}
.ysms-open-button svg,.ysms-float svg{width:19px;height:19px}
.ysms-float{position:fixed!important;bottom:26px;left:26px;z-index:99990;animation:ysmsFloat .7s .25s backwards}
.ysms-woo-wrap .ysms-inline{max-width:500px}
body.ysms-modal-open{overflow:hidden!important}
.ysms-shake{animation:ysmsShake .3s}
@keyframes ysmsSpin{to{transform:rotate(360deg)}}
@keyframes ysmsPop{0%{opacity:0;transform:translateY(18px) scale(.965)}100%{opacity:1;transform:translateY(0) scale(1)}}
@keyframes ysmsSlide{0%{opacity:0;transform:translateX(10px)}100%{opacity:1;transform:translateX(0)}}
@keyframes ysmsFade{from{opacity:0}to{opacity:1}}
@keyframes ysmsShine{15%,100%{transform:translateX(-120%)}}
@keyframes ysmsFloat{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
@keyframes ysmsShake{0%,100%{transform:translateX(0)}25%{transform:translateX(5px)}75%{transform:translateX(-5px)}}
@media(max-width:520px){.ysms-modal{padding:0;align-items:end}.ysms-dialog{border-radius:24px 24px 0 0;width:100%;max-height:min(94dvh,900px)}.ysms-card{padding:28px 23px 17px;border-radius:22px}.ysms-close{top:21px;left:20px}.ysms-title{font-size:21px!important}.ysms-symbol{width:52px;height:52px;border-radius:16px}.ysms-otp-wrap{gap:6px}.ysms-digit{height:52px!important;font-size:23px!important}.ysms-float{bottom:18px;left:15px;font-size:12px!important;padding:12px 15px!important}.ysms-inline{margin:10px auto}.ysms-grid{gap:9px}}
@media(max-width:355px){.ysms-card{padding:23px 15px 15px}.ysms-otp-wrap{gap:5px}.ysms-digit{height:47px!important;font-size:20px!important}}
@media(prefers-reduced-motion:reduce){.ysms-modal *, .ysms-card *, .ysms-float {animation:none!important;transition:none!important}}

/* account dashboard widgets */
a.ysms-open-button,a.ysms-status-action,.ysms-seller-btn,.ysms-seller-ghost{text-decoration:none!important}
.ysms-open-button-dark{background:#101216!important;color:#fff!important;box-shadow:0 12px 24px #08090c1f!important}
.ysms-open-button-dark:hover{box-shadow:0 15px 32px #08090c33!important}
.ysms-account-zone{margin:18px 0 26px;padding:18px;border-radius:24px;background:linear-gradient(180deg,#fff 0%,#fcfcfd 100%);border:1px solid #ececf0;box-shadow:0 18px 35px #00000008}
.ysms-account-toolbar{display:grid;grid-template-columns:minmax(0,340px) minmax(0,1fr);gap:14px;align-items:stretch;margin-bottom:14px}
.ysms-account-actions,.ysms-account-status{min-width:0}
.ysms-account-actions .ysms-open-button{width:100%;min-height:58px}
.ysms-status-card{height:100%;display:flex;flex-direction:column;justify-content:space-between;gap:14px;padding:16px 18px;border-radius:20px;border:1px solid #ececf1;background:#fff}
.ysms-status-warning{background:linear-gradient(135deg,#fff8dc 0%,#fffef5 100%);border-color:#f5de83}
.ysms-status-success{background:linear-gradient(135deg,#f6f7fb 0%,#ffffff 100%);border-color:#ececf1}
.ysms-status-head{display:flex;align-items:center;gap:12px}
.ysms-status-head strong{display:block;font-size:15px;color:#111219;font-weight:900}
.ysms-status-head small{display:block;margin-top:4px;color:#6d727d;line-height:1.8;font-size:12px}
.ysms-status-icon,.ysms-mini-icon{width:50px;height:50px;border-radius:16px;display:grid;place-items:center;background:#fac900;color:#101216;box-shadow:0 10px 26px #fac90033;flex-shrink:0}
.ysms-status-icon svg,.ysms-mini-icon svg{width:24px;height:24px}
.ysms-status-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:11px 16px;border-radius:14px;background:#101216;color:#fff;font-weight:850;font-size:13px}
.ysms-status-chip{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 14px;border-radius:14px;background:#101216;color:#fff;font-size:12px;font-weight:800}
.ysms-status-chip b{font-size:18px;letter-spacing:.8px}
.ysms-account-meta{margin-top:6px}
.ysms-mini-status{display:flex;align-items:center;gap:12px;padding:14px 16px;border-radius:18px;background:linear-gradient(135deg,#17191e 0%,#2c2e35 100%);color:#fff}
.ysms-mini-status strong{display:block;font-size:14px;font-weight:900}
.ysms-mini-status small{display:block;color:#c4c7cf;margin-top:4px;font-size:12px}
.ysms-mini-status-muted{background:linear-gradient(135deg,#f6f7fa 0%,#ffffff 100%);color:#15181d;border:1px dashed #d8dbe2}
.ysms-mini-status-muted small{color:#737985}
.ysms-seller-card{margin-top:18px;display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:20px;padding:22px;border-radius:24px;background:radial-gradient(circle at top left,#ffd84433 0,transparent 22%),linear-gradient(135deg,#090a0d 0%,#1e2129 100%);color:#fff;overflow:hidden;position:relative}
.ysms-seller-card:before{content:"";position:absolute;inset:auto auto -48px -40px;width:180px;height:180px;border-radius:50%;border:1px solid #ffffff18;box-shadow:0 0 0 22px #ffffff0c,0 0 0 44px #ffffff08}
.ysms-seller-copy,.ysms-seller-actions{position:relative;z-index:1}
.ysms-seller-copy h3{margin:5px 0 8px!important;color:#fff!important;font-size:24px!important;font-weight:950!important;line-height:1.6!important}
.ysms-seller-copy p{margin:0 0 12px!important;color:#cfd3db!important;line-height:2!important;font-size:13px!important}
.ysms-seller-copy ul{margin:0;padding:0;list-style:none;display:grid;gap:7px}
.ysms-seller-copy li{position:relative;padding-right:18px;color:#f4f5f7;font-size:13px}
.ysms-seller-copy li:before{content:"";position:absolute;right:0;top:9px;width:8px;height:8px;border-radius:50%;background:#fac900;box-shadow:0 0 0 5px #fac90022}
.ysms-seller-actions{display:flex;flex-direction:column;justify-content:center;gap:10px}
.ysms-seller-btn,.ysms-seller-ghost{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 16px;border-radius:15px;font-weight:900;font-size:13px}
.ysms-seller-btn{background:linear-gradient(120deg,#f7c400,#ffdb3b);color:#111}
.ysms-seller-ghost{background:#ffffff12;color:#fff;border:1px solid #ffffff1e}
.ysms-vendor-replaced{padding:0!important;border:0!important;background:none!important}
@media(max-width:920px){.ysms-account-toolbar{grid-template-columns:1fr}.ysms-seller-card{grid-template-columns:1fr}.ysms-seller-actions{align-items:stretch}}
@media(max-width:520px){.ysms-account-zone{padding:14px;border-radius:18px}.ysms-status-card,.ysms-seller-card{padding:16px}.ysms-seller-copy h3{font-size:20px!important}.ysms-status-chip b{font-size:15px}}

/* v1.0.3: restore correct notice icon spacing in the Yaddak Dokan Suite RTL account UI.
   That suite reserves LEFT padding while Woodmart places its icons on the RIGHT. */
body.yaddak-woocommerce-account .woocommerce-MyAccount-content .woocommerce-info,
body.yaddak-woocommerce-account .woocommerce-MyAccount-content .woocommerce-message,
body.yaddak-woocommerce-account .woocommerce-MyAccount-content .woocommerce-error,
body.yaddak-woocommerce-account .yd-account-content-card .woocommerce-info,
body.yaddak-woocommerce-account .yd-account-content-card .woocommerce-message,
body.yaddak-woocommerce-account .yd-account-content-card .woocommerce-error{
  position:relative!important;
  direction:rtl!important;
  text-align:right!important;
  padding:19px 66px 19px 18px!important;
  min-height:67px!important;
  line-height:2!important;
  border-radius:18px!important;
  box-sizing:border-box!important;
  display:flow-root!important;
  overflow:visible!important;
  isolation:isolate;
}
body.yaddak-woocommerce-account .woocommerce-MyAccount-content .woocommerce-info::before,
body.yaddak-woocommerce-account .woocommerce-MyAccount-content .woocommerce-message::before,
body.yaddak-woocommerce-account .woocommerce-MyAccount-content .woocommerce-error::before,
body.yaddak-woocommerce-account .yd-account-content-card .woocommerce-info::before,
body.yaddak-woocommerce-account .yd-account-content-card .woocommerce-message::before,
body.yaddak-woocommerce-account .yd-account-content-card .woocommerce-error::before{
  content:"i"!important;
  font-family:Arial,sans-serif!important;
  font-size:18px!important;
  font-style:normal!important;
  font-weight:900!important;
  color:#312800!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  position:absolute!important;
  right:17px!important;
  left:auto!important;
  top:50%!important;
  bottom:auto!important;
  transform:translateY(-50%)!important;
  width:33px!important;
  height:33px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:11px!important;
  background:#ffe57a!important;
  float:none!important;
  line-height:1!important;
  box-sizing:border-box!important;
  text-shadow:none!important;
  box-shadow:none!important;
}
body.yaddak-woocommerce-account .woocommerce-MyAccount-content .woocommerce-error::before,
body.yaddak-woocommerce-account .yd-account-content-card .woocommerce-error::before{content:"!"!important;background:#ffc7c0!important;color:#8d2b22!important}
body.yaddak-woocommerce-account .woocommerce-MyAccount-content .woocommerce-message::before,
body.yaddak-woocommerce-account .yd-account-content-card .woocommerce-message::before{content:"✓"!important;background:#d4f5dc!important;color:#16632f!important}
body.yaddak-woocommerce-account .woocommerce-MyAccount-content .woocommerce-info .button,
body.yaddak-woocommerce-account .woocommerce-MyAccount-content .woocommerce-message .button,
body.yaddak-woocommerce-account .woocommerce-MyAccount-content .woocommerce-error .button{margin:0 0 0 12px!important;white-space:normal!important;vertical-align:middle!important}
body.yaddak-woocommerce-account .woocommerce-MyAccount-content .yd-account-hero .yd-account-hero__copy h2,
body.yaddak-woocommerce-account .yd-account-hero .yd-account-hero__copy h2{color:#fff!important}
body.yaddak-woocommerce-account .woocommerce-MyAccount-navigation h2,
body.yaddak-woocommerce-account .wd-my-account-sidebar h2{color:#fff!important}
/* Native Dokan form remains functional: no markup replacement or fake URL. */
body.yaddak-woocommerce-account .ysms-native-vendor-area{border:1px solid #e8e9ee!important;border-radius:18px!important;padding:20px!important;background:linear-gradient(110deg,#fffdf1,#fff)!important;margin:16px 0!important;box-sizing:border-box!important}
body.yaddak-woocommerce-account .ysms-native-vendor-action{background:#faca00!important;color:#171717!important;border-radius:12px!important;min-height:44px!important;padding:10px 20px!important;font-weight:900!important;border:0!important;box-shadow:0 8px 18px #f9cb0040!important}
body.yaddak-woocommerce-account .ysms-native-vendor-description{color:#363b45!important;font-size:13px!important;line-height:2!important}
@media(max-width:550px){body.yaddak-woocommerce-account .woocommerce-MyAccount-content .woocommerce-info,body.yaddak-woocommerce-account .woocommerce-MyAccount-content .woocommerce-message,body.yaddak-woocommerce-account .woocommerce-MyAccount-content .woocommerce-error,body.yaddak-woocommerce-account .yd-account-content-card .woocommerce-info,body.yaddak-woocommerce-account .yd-account-content-card .woocommerce-message,body.yaddak-woocommerce-account .yd-account-content-card .woocommerce-error{padding:16px 56px 16px 12px!important;font-size:12px!important}body.yaddak-woocommerce-account .woocommerce-MyAccount-content .woocommerce-info::before,body.yaddak-woocommerce-account .woocommerce-MyAccount-content .woocommerce-message::before,body.yaddak-woocommerce-account .woocommerce-MyAccount-content .woocommerce-error::before{right:12px!important;width:29px!important;height:29px!important}}
/* Prevent the account status card from overflowing its CSS grid track on mobile. */
.ysms-account-toolbar .ysms-status-card{box-sizing:border-box!important;height:auto!important;min-height:150px}
