/* WEQUA bayi sipariş ekranı (wequa-siparis.js). Mobil öncelikli. */
.wo-entry{margin-top:26px;border-top:1px solid #e4e8ec;padding-top:20px}
.wo-entry .primary{margin-top:6px}
.wo-entry-links{display:flex;justify-content:space-between;gap:12px;margin-top:14px}
html.wo-lock,html.wo-lock body{overflow:hidden}
.wo-shell{position:fixed;inset:0;z-index:1000;display:flex;flex-direction:column;background:#f5f7fb;color:#001b73}
.wo-shell[hidden]{display:none}
.wo-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;background:#fff;border-bottom:1px solid #d8dfe8}
.wo-head strong{display:block;font-size:15px;line-height:1.3}
.wo-eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:750;color:#64708a}
.wo-close{background:#eef2f6;color:#001b73;font-size:14px;padding:9px 12px;white-space:nowrap}
.wo-tabs{display:flex;gap:4px;padding:6px 10px;background:#fff;border-bottom:1px solid #d8dfe8;overflow-x:auto}
.wo-tabs button{flex:1 0 auto;background:transparent;color:#001b73;font-size:14px;padding:10px 12px;border-radius:9px;white-space:nowrap}
.wo-tabs button[aria-pressed=true]{background:#acce00;font-weight:650}
.wo-count:not(:empty){display:inline-block;margin-left:6px;min-width:20px;padding:1px 6px;border-radius:10px;background:#001b73;color:#fff;font-size:12px}
.wo-status{margin:0;padding:0 16px;font-size:14px}
.wo-status:not(:empty){padding:10px 16px;background:#fff8d6;border-bottom:1px solid #f0e3a0}
.wo-status.ok:not(:empty){background:#eef7d0;border-color:#cfe38a}
.wo-status.error:not(:empty){background:#fdecec;border-color:#f3c2c2;color:#8a1010}
.wo-body{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:14px 14px 90px;width:100%;max-width:880px;margin:0 auto}
.wo-body h3{margin:6px 0 10px}
.wo-filters{display:grid;grid-template-columns:1fr;gap:8px;position:sticky;top:-14px;z-index:2;background:#f5f7fb;padding:4px 0 8px}
.wo-filters input[type=search],.wo-filters select,.wo-body textarea,.wo-body input[type=text]:not(.wo-qty input){width:100%;padding:12px;border:1px solid #d8dfe8;border-radius:9px;font:inherit;background:#fff;color:#001b73}
.wo-body textarea{resize:vertical}
.wo-check{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:500;margin:0}
.wo-info{font-size:13px;color:#64708a;margin:6px 0 10px}
.wo-info strong{color:#001b73}
.wo-warn{color:#a3470b;font-size:13px}
.wo-notice{font-size:13px;background:#fff;border-left:4px solid #acce00;padding:10px 12px;border-radius:6px;color:#33405e}
.wo-cat{margin:18px 2px 6px;font-size:12px;letter-spacing:1.2px;text-transform:uppercase;color:#64708a}
.wo-item{display:flex;flex-direction:column;gap:8px;background:#fff;border:1px solid #e1e6ee;border-radius:12px;padding:11px 12px;margin-bottom:8px}
.wo-item.in-cart{border-color:#acce00;box-shadow:inset 4px 0 0 #acce00}
.wo-missing{border-color:#f0b48a}
.wo-name{font-weight:600;font-size:15px;line-height:1.35}
.wo-meta{display:flex;flex-wrap:wrap;gap:4px 10px;font-size:12px;color:#64708a;margin-top:3px}
.wo-badge{display:inline-block;font-size:11px;font-weight:650;background:#eef7d0;color:#3d5200;border-radius:6px;padding:1px 6px}
.wo-item-side{display:flex;align-items:center;justify-content:space-between;gap:10px}
.wo-price{font-weight:650;font-size:15px}.wo-price small{font-weight:400;color:#64708a}
.wo-line-total{font-weight:650}
.wo-qty{display:flex;align-items:center;gap:4px}
.wo-qty button{width:38px;height:38px;padding:0;background:#eef2f6;color:#001b73;font-size:20px;line-height:1}
.wo-qty input{width:54px;height:38px;text-align:center;border:1px solid #d8dfe8;border-radius:8px;font:inherit;font-weight:650;color:#001b73;padding:0}
.wo-unit{font-size:12px;color:#64708a;min-width:28px}
.wo-more{width:100%;background:#fff;border:1px dashed #b9c4d3;color:#001b73;margin-top:6px}
.wo-bar{position:fixed;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:#001b73;color:#fff;z-index:3}
.wo-bar[hidden]{display:none}
.wo-bar-info{font-weight:650;font-size:15px}
.wo-bar .primary{width:auto;margin:0;padding:11px 16px}
.wo-total{display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding:12px 2px;border-top:2px solid #001b73;margin-top:8px;font-size:16px}
.wo-total strong{font-size:19px}
.wo-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;margin-top:14px}
.wo-actions>button{flex:1 1 180px;margin:0}
.wo-actions .primary{width:auto}
.wo-secondary{background:#eef2f6;color:#001b73;font-weight:600}
.wo-body label{display:block;margin:14px 0 6px;font-size:14px;font-weight:600}
.wo-empty{text-align:center;padding:30px 10px;color:#64708a}
.wo-empty .primary{width:auto;padding:12px 22px}
.wo-card{display:block;background:#fff;border:1px solid #e1e6ee;border-radius:12px;padding:12px 14px;margin-bottom:10px}
.wo-card.current{border-color:#acce00}
.wo-card summary{cursor:pointer;list-style:none}
.wo-card summary::-webkit-details-marker{display:none}
.wo-card-head{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.wo-state{font-size:12px;font-weight:650;border-radius:20px;padding:3px 10px;background:#eef2f6}
.wo-state.s-received{background:#fff2c6}.wo-state.s-transferred,.wo-state.s-preparing{background:#dfe9ff}.wo-state.s-shipped{background:#e2f3c0}.wo-state.s-cancelled{background:#f6dcdc}
.wo-summary{margin:8px 0}
.wo-sum-row{display:grid;grid-template-columns:1fr auto;gap:2px 12px;padding:9px 0;border-bottom:1px solid #edf0f4}
.wo-sum-qty{font-weight:650;text-align:right;white-space:nowrap}
.wo-sum-amt{grid-column:2;text-align:right;font-size:13px;color:#64708a}
.wo-sum-row.removed .wo-name,.wo-sum-row.removed .wo-sum-qty{text-decoration:line-through;color:#8b94a7}
.wo-draft-line{font-size:13px;background:#fff;border-radius:8px;padding:8px 10px}
.wo-done{text-align:center;padding:16px 4px}
.wo-done-mark{width:64px;height:64px;margin:0 auto 6px;border-radius:50%;background:#acce00;font-size:34px;line-height:64px;font-weight:700}
.wo-orderno{font-size:18px}
.wo-done .wo-notice{text-align:left}
.wo-wa{display:inline-block;margin:6px 0 4px;padding:12px 20px;border-radius:10px;background:#25d366;color:#fff;font-weight:650;text-decoration:none}
/* dar ekran (320 px): sekmeler sığsın */
@media(max-width:360px){.wo-tabs{gap:2px;padding:6px}.wo-tabs button{flex:1 1 auto;padding:9px 6px;font-size:12.5px}.wo-count:not(:empty){margin-left:3px;padding:1px 5px}.wo-head{padding:10px 12px}.wo-qty button{width:34px}.wo-qty input{width:46px}}
@media(min-width:720px){
 .wo-shell{inset:24px;max-width:960px;margin:0 auto;border-radius:18px;overflow:hidden;box-shadow:0 0 0 100vmax #001b7340;border:1px solid #d8dfe8}
 .wo-filters{grid-template-columns:1fr 240px auto;align-items:center}
 .wo-item{flex-direction:row;align-items:center;justify-content:space-between}
 .wo-item-side{flex:none;gap:18px}
 .wo-price{min-width:120px;text-align:right}
 .wo-bar{position:absolute}
 .wo-sum-row{grid-template-columns:1fr auto 130px}
 .wo-sum-amt{grid-column:auto;font-size:14px;color:#001b73}
}
/* Barem ve etiket (24.11.2026) */
.wo-tiers{font-size:12px;color:#3d5200;background:#f1f8d6;border-radius:6px;padding:3px 8px;margin-top:6px;display:inline-block}
.wo-badge.wo-tag{background:#001b73;color:#fff}
/* Stokta olmayan ürün (ST koduyla arama) */
.wo-stockout{background:#f7f8fa;border-style:dashed;opacity:.95}
.wo-stockout .wo-name{color:#4a5674}
.wo-badge.wo-out{background:#fdecec;color:#8a1010}
.wo-out-note{font-size:13px;color:#33405e;margin-top:6px;line-height:1.45}
