.wmo-state { display: none !important; }

.wmo-bar {
    padding: 10px 14px; margin: 8px 12px; font-size: 13px; border-radius: 6px;
    direction: rtl; text-align: right; box-sizing: border-box;
    background: #f7f9fc; color: #444; border-right: 4px solid var(--wmo-accent, #ff6b9d);
}
.wmo-bar.wmo-gate { background: #fff8e1; border-right-color: #f5a623; }
.wmo-bar.wmo-done { background: #e8f5e9; border-right-color: #4caf50; color: #2e7d32; font-weight: 600; }
.wmo-bar strong { color: #e74c3c; }
.wmo-reward { color: var(--wmo-accent-dark, #d9527f); font-size: 1.25em; font-weight: 800; }

.wmo-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.wmo-pct { font-size: 12px; color: #999; }

.wmo-pw { background: #eee; border-radius: 10px; height: 6px; margin-top: 8px; overflow: hidden; }
.wmo-pf { height: 100%; border-radius: 10px; transition: width .5s ease; background: linear-gradient(90deg, var(--wmo-accent, #ff6b9d), var(--wmo-accent-dark, #d9527f)); }
.wmo-gate .wmo-pf { background: linear-gradient(90deg, #f5a623, #e74c3c); }
.wmo-done .wmo-pf { background: linear-gradient(90deg, #66bb6a, #2e7d32); }

.wmo-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.wmo-chip { background: #e8f5e9; color: #2e7d32; border-radius: 12px; padding: 3px 12px; font-size: 14px; font-weight: 700; }

.wmo-bar.wmo-cart { margin: 28px 0; padding: 14px 18px; font-size: 14px; border-radius: 8px; }
.wmo-bar.wmo-cart .wmo-pw { height: 8px; margin-top: 10px; }

.wmo-continue-btn, .wmo-shop-btn {
    display: block; width: 100%; box-sizing: border-box; text-align: center;
    background: var(--wmo-accent, #ff6b9d) !important; color: #fff !important;
    border-radius: 6px; font-weight: 700; text-decoration: none !important; transition: background .3s;
}
.wmo-continue-btn { padding: 11px; font-size: 14px; margin: 8px 0 0; }
.wmo-shop-btn { padding: 14px; font-size: 15px; margin-top: 8px; }
.wmo-continue-btn:hover, .wmo-shop-btn:hover { background: var(--wmo-accent-dark, #d9527f) !important; }

body.wmo-below-min .wc-proceed-to-checkout .checkout-button,
body.wmo-below-min a.checkout-button,
body.wmo-below-min .woocommerce-mini-cart__buttons a.checkout,
body.wmo-below-min .widget_shopping_cart a.checkout,
body.wmo-below-min .wc-block-cart__submit-container,
body.wmo-below-min .wc-block-mini-cart__footer-checkout { display: none !important; }

/* يمنع الوميض: الشريط يظهر بعد ما الـ JS يظبط عرضه */
.wmo-js .wmo-bar.wmo-cart:not(.wmo-aligned) { visibility: hidden; }

.wmo-bar.wmo-checkout { margin: 0 0 24px; padding: 14px 18px; font-size: 14px; border-radius: 8px; }
.wmo-bar.wmo-checkout .wmo-chips { margin-top: 10px; }

.wmo-old { color: #999; text-decoration: line-through; margin-inline-end: 6px; }
.wmo-free { color: #2e7d32; font-weight: 800; }

.wmo-savings-row th, .wmo-savings-row td { color: #2e7d32; }
.wmo-savings-row th small { display: block; font-weight: 400; opacity: .85; }
