/* Motana – one designed popup for form problems (checkout + contact) */
html.ms-fe-ready :is(.woocommerce-NoticeGroup-checkout,.checkout-inline-error-message,.wpcf7-not-valid-tip,.wpcf7-response-output){display:none!important}
form.checkout .woocommerce-invalid :is(input.input-text,select,textarea),form.checkout .woocommerce-invalid .select2-selection,.wpcf7 .wpcf7-not-valid{border-color:#d4483b!important;box-shadow:0 0 0 3px rgba(212,72,59,.12)!important}
html.ms-fe-lock{overflow:hidden}
.ms-fe{position:fixed;inset:0;z-index:2147483600;display:grid;place-items:center;padding:18px;visibility:hidden;pointer-events:none;font-family:inherit;direction:rtl}
html[dir=ltr] .ms-fe{direction:ltr}
.ms-fe.on{visibility:visible;pointer-events:auto}
.ms-fe-bg{position:absolute;inset:0;background:rgba(12,12,14,.55);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);opacity:0;transition:opacity .3s}
.ms-fe.on .ms-fe-bg{opacity:1}
.ms-fe-card{position:relative;width:min(420px,100%);max-height:calc(100vh - 36px);overflow:auto;padding:34px 24px 22px;background:#fff;color:#151515;border-radius:var(--fe-r,24px);box-shadow:0 34px 80px -24px rgba(0,0,0,.55);text-align:center;opacity:0;transform:translateY(22px) scale(.96);transition:opacity .3s,transform .45s cubic-bezier(.2,1.4,.4,1)}
.ms-fe.on .ms-fe-card{opacity:1;transform:none}
.ms-fe-x{position:absolute;top:12px;inset-inline-end:12px;width:40px;height:40px;padding:0;border-radius:50%;border:1.5px solid #e2e2e6;background:#fff;color:#222;display:grid;place-items:center;cursor:pointer;transition:transform .3s,background .2s,color .2s}
.ms-fe-x:hover{transform:rotate(90deg);background:#111;color:#fff;border-color:#111}
.ms-fe-x svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2.3;stroke-linecap:round}
.ms-fe-ic{width:74px;height:74px;margin:0 auto 14px;border-radius:50%;display:grid;place-items:center;background:var(--fe-soft,#fff1ee);color:var(--fe-ic,#d4483b)}
.ms-fe--ok .ms-fe-ic{background:#e9f8ef;color:#1f9d55}
.ms-fe-ic svg{width:44px;height:44px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.ms-fe-ic svg circle:not(.dot){stroke-dasharray:132;stroke-dashoffset:132}
.ms-fe-ic svg path{stroke-dasharray:60;stroke-dashoffset:60}
.ms-fe-ic svg .dot{fill:currentColor;stroke:none;opacity:0}
.ms-fe.on .ms-fe-ic svg circle:not(.dot){animation:feDraw .55s .1s cubic-bezier(.6,0,.2,1) forwards}
.ms-fe.on .ms-fe-ic svg path{animation:feDraw .4s .5s ease-out forwards}
.ms-fe.on .ms-fe-ic svg .dot{animation:feDot .2s .8s forwards}
.ms-fe--warn.on .ms-fe-ic,.ms-fe--fail.on .ms-fe-ic{animation:feShake .5s .9s}
@keyframes feDraw{to{stroke-dashoffset:0}}
@keyframes feDot{to{opacity:1}}
@keyframes feShake{0%,100%{transform:none}20%{transform:translateX(-6px) rotate(-4deg)}40%{transform:translateX(5px) rotate(3deg)}60%{transform:translateX(-3px)}80%{transform:translateX(2px)}}
.ms-fe h3{margin:0 0 6px!important;font-size:22px!important;line-height:1.3!important;font-weight:800!important;color:inherit!important;font-family:inherit!important;letter-spacing:0!important;text-transform:none!important}
.ms-fe-sub{margin:0 0 14px!important;font-size:16px!important;line-height:1.55!important;color:#5b5b63!important}
.ms-fe-list{list-style:none!important;margin:0 0 20px!important;padding:12px 14px!important;background:#f6f6f8;border-radius:calc(var(--fe-r,24px) * .6);text-align:start}
.ms-fe-list li{position:relative;margin:0!important;padding:8px 26px 8px 4px!important;font-size:16px!important;line-height:1.45!important;color:#222!important;opacity:0;transform:translateY(6px);animation:feIn .35s var(--d,0ms) forwards;border-bottom:1px dashed #e3e3e8}
html[dir=ltr] .ms-fe-list li{padding:8px 4px 8px 26px!important}
.ms-fe-list li:last-child{border-bottom:0}
.ms-fe-list li::before{content:"";position:absolute;inset-inline-start:6px;top:15px;width:9px;height:9px;border-radius:50%;background:var(--fe-ic,#d4483b);box-shadow:0 0 0 3px var(--fe-soft,#fff1ee)}
@keyframes feIn{to{opacity:1;transform:none}}
.ms-fe-ok{display:flex;align-items:center;justify-content:center;width:100%;min-height:54px;padding:0 20px;border:0;border-radius:var(--fe-btn-r,999px);background:var(--fe-btn,#111);color:var(--fe-btn-c,#fff);font:inherit;font-size:17px;font-weight:700;line-height:1;cursor:pointer;transition:transform .2s,filter .2s}
.ms-fe-ok:hover{filter:brightness(1.12);transform:translateY(-1px)}
.ms-fe-ok:active{transform:scale(.98)}
@media(max-width:560px){.ms-fe{place-items:end center;padding:0}.ms-fe-card{width:100%;border-radius:var(--fe-r,24px) var(--fe-r,24px) 0 0;padding-bottom:calc(20px + env(safe-area-inset-bottom));transform:translateY(100%)}.ms-fe.on .ms-fe-card{transform:none}}
/* per shop */
.ms-skin-ot .ms-fe{--fe-r:0px;--fe-btn-r:0px;--fe-btn:#111;--fe-btn-c:#fff}
.ms-skin-ot .ms-fe-x{border-color:#111;color:#111}
.ms-skin-ag .ms-fe{--fe-btn:#111;--fe-btn-c:#fff}
.ms-skin-ag .ms-fe-card::before{content:"";position:absolute;inset:0 0 auto;height:4px;border-radius:inherit;background:linear-gradient(90deg,#ff3d6e,#ffb02e,#3ddc84,#2ec5ff,#a855ff,#ff3d6e);background-size:200% 100%;animation:feRgb 3s linear infinite}
@keyframes feRgb{to{background-position:200% 0}}
.ms-skin-jl .ms-fe{--fe-btn:#ffffff;--fe-btn-c:#fff;--fe-soft:#f0f0f0;--fe-ic:#111111}
.ms-skin-jl .ms-fe-card{background:linear-gradient(180deg,#f7f7f7,#fff 46%)}
.ms-skin-jl .ms-fe-list{background:#fff1ec}
