/* «أعلمني عند التوفر» */
.oh-ntf { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; cursor: pointer; font: inherit; font-weight: 800; color: #fff; background: linear-gradient(135deg, #f59e0b, #d97706); border-radius: 12px; padding: 12px 18px; font-size: 15px; line-height: 1.2; transition: filter .15s, transform .1s; -webkit-tap-highlight-color: transparent; }
.oh-ntf:hover { filter: brightness(1.08); }
.oh-ntf:active { transform: scale(.97); }
.oh-ntf i { font-style: normal; }
.oh-ntf--sm { flex: 1 0 100%; width: 100%; margin-top: 8px; padding: 8px 10px; font-size: 12.5px; border-radius: 10px; gap: 5px; position: relative; z-index: 2; white-space: nowrap; }
.oh-oos .oh-pc__p, .oh-pc.oh-oos .oh-pc__p { flex-wrap: wrap; }
.oh-ntf, .oh-ntf span, .oh-ntf i { color: #fff !important; }
.oh-ntf.is-on { background: #1f3b2c; cursor: default; }
.oh-ntf.is-on, .oh-ntf.is-on span, .oh-ntf.is-on i { color: #4ade80 !important; }
.oh-ntf.is-busy { opacity: .6; pointer-events: none; }

.oh-ntf-box { margin: 14px 0; padding: 14px; border: 1px solid #3a2f12; background: #1f1a0c; border-radius: 14px; direction: rtl; }
.oh-ntf-box p { margin: 0 0 10px; color: #e7d9b0; font-size: 14px; line-height: 1.7; }
.oh-ntf-box p b { color: #fbbf24; }
.oh-ntf-box .oh-ntf { width: 100%; }

/* Homepage card badge */
.oh-pc__oos { position: absolute; bottom: 8px; right: 8px; left: 8px; background: rgba(0, 0, 0, .78); color: #fca5a5; font-style: normal; text-align: center; border-radius: 10px; padding: 4px; font-size: 12px; font-weight: 800; }
.oh-pc.oh-oos .oh-pc__im img, .oh-pc.oh-oos .oh-pc__n, .oh-pc.oh-oos .oh-pc__p > span:first-child { opacity: .55; }
.oh-pc.oh-oos .oh-pc__im img { filter: grayscale(.7); }

/* Sign-in prompt */
.oh-ntf-m { position: fixed; inset: 0; z-index: 100000; background: rgba(5, 5, 10, .72); display: flex; align-items: flex-end; justify-content: center; padding: 16px; direction: rtl; }
.oh-ntf-m[hidden] { display: none; }
.oh-ntf-m__c { width: 100%; max-width: 400px; background: #1c1b21; border: 1px solid #2c2a35; border-radius: 20px; padding: 24px 20px 20px; text-align: center; color: #fff; position: relative; animation: oh-ntf-up .2s ease-out; }
@media (min-width: 700px) { .oh-ntf-m { align-items: center; } }
@keyframes oh-ntf-up { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.oh-ntf-m__i { font-size: 38px; line-height: 1; }
.oh-ntf-m__c h3 { margin: 10px 0 6px; font-size: 19px; color: #fff; }
.oh-ntf-m__c p { margin: 0 0 18px; color: #b4b1c2; font-size: 14px; line-height: 1.8; }
.oh-ntf-m__b { display: block; padding: 13px; border-radius: 12px; font-weight: 800; font-size: 15px; text-decoration: none !important; margin-top: 8px; }
.oh-ntf-m__b--main { background: #6d4eec; color: #fff !important; }
.oh-ntf-m__b--alt { background: #2a2833; color: #fff !important; }
.oh-ntf-m__x { position: absolute; top: 10px; left: 12px; background: none; border: 0; color: #8e8b9c; font-size: 24px; cursor: pointer; line-height: 1; padding: 4px; }

.oh-ntf-t { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); z-index: 100001; background: #1f3b2c; color: #bbf7d0; border: 1px solid #2f6b47; padding: 12px 16px; border-radius: 12px; font-size: 14px; font-weight: 700; direction: rtl; max-width: calc(100% - 32px); text-align: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
.oh-ntf-t.is-err { background: #3b1f1f; color: #fecaca; border-color: #6b2f2f; }

/* Sold-out product page: nothing to buy, so only the alert box shows */
body.oh-is-oos form.cart, body.oh-is-oos #oh-buybar, body.oh-is-oos #onetv-sports-modern, body.oh-is-oos #oh-gc { display: none !important; }
body.oh-is-oos .oh-ntf-box { margin-top: 4px; }

/* Close button: the theme styles every <button>, so force a small red × in the top corner */
.oh-ntf-m .oh-ntf-m__x { position: absolute !important; top: 10px !important; left: 10px !important; right: auto !important; margin: 0 !important; width: 30px !important; height: 30px !important; min-width: 0 !important; min-height: 0 !important; padding: 0 !important; display: grid !important; place-items: center; background: rgba(239, 68, 68, .12) !important; border: 1px solid rgba(239, 68, 68, .35) !important; border-radius: 50% !important; color: #ef4444 !important; font-size: 18px !important; font-weight: 700 !important; line-height: 1 !important; box-shadow: none !important; transform: none !important; }
.oh-ntf-m .oh-ntf-m__x:hover { background: rgba(239, 68, 68, .22) !important; }
