/* 1.6.28 styling */
html,body{overflow-x:hidden}
.wfsm-wrap,*{font-weight:700}
.wfsm-wrap{direction:rtl}
/* logout button fixed red at top-left */
.wfsm-logout{position:fixed;top:12px;left:12px;background:#ef4444;color:#fff !important;border:2px solid #fff;border-radius:12px;padding:8px 14px;z-index:100000;box-shadow:0 8px 18px rgba(239,68,68,.35)}
.wfsm-logout:hover{background:#dc2626}
.wfsm-grid{display:grid;gap:16px}
.wfsm-cols-2{grid-template-columns:repeat(1,1fr)}
@media(min-width:1024px){.wfsm-cols-2{grid-template-columns:repeat(2,1fr)}}
.wfsm-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:14px;box-shadow:0 6px 14px rgba(0,0,0,.08);max-width:100%}
.wfsm-card__head{display:flex;justify-content:space-between;align-items:center;background:#f3f4f6;border-radius:12px;padding:10px 12px;margin-bottom:12px}
.wfsm-title__name{color:#059669;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;max-width:100%}
.wfsm-title__sku{color:#6b7280;font-size:.8rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wfsm-thumb{width:64px;height:64px;border-radius:10px;object-fit:cover;border:2px solid #fff}
.wfsm-row{display:grid;grid-template-columns:140px 1fr 180px 1fr;gap:8px;align-items:center;margin:10px 0;max-width:100%}
@media(max-width:540px){.wfsm-row{grid-template-columns:1fr 1fr}}
.wfsm-qty-wrap{display:flex;align-items:center;gap:6px}
.wfsm-btn-spin{background:#f3f4f6;border:1px solid #e5e7eb;border-radius:10px;min-width:38px;height:38px;line-height:36px;text-align:center;font-size:20px;cursor:pointer}
/* bold dropdown */
.wfsm-category, .wfsm-category option, .wfsm-check, .wfsm-check span, .wfsm-count{font-weight:800}
.wfsm-modal{position:fixed;inset:0;background:rgba(0,0,0,.55);display:none;align-items:center;justify-content:center;z-index:99999}
.wfsm-modal[aria-hidden="false"]{display:flex}
.wfsm-modal__content{background:#16a34a;color:#fff;border:3px solid #fff;border-radius:16px;box-shadow:0 18px 40px rgba(0,0,0,.3);max-width:720px;width:92%;padding:18px}
.wfsm-modal__body{max-height:70vh;overflow-y:auto;white-space:pre-line}
.wfsm-btn{padding:8px 12px;border-radius:10px;border:none;cursor:pointer}
.wfsm-card.wfsm-dirty{outline:2px dashed #f59e0b}
