/* Outcast Rewards - the points card. The store's own look: #B10F2E, Changa, 10px corners. */
.ocr-card {
	--ocr-red: #b10f2e;
	--ocr-line: #dddedf;
	background: #fff;
	border: 1px solid var(--ocr-line);
	border-radius: 14px;
	padding: 18px 20px;
	margin: 0 0 20px;
	direction: rtl;
	text-align: right;
	font-family: Changa, inherit;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
}
.ocr-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.ocr-icon { font-size: 28px; line-height: 1; }
.ocr-title { font-size: 18px; font-weight: 600; color: #1a1a1a; line-height: 1.5; }
.ocr-title b { color: var(--ocr-red); }
.ocr-sub { font-size: 14px; color: #6b6b6b; line-height: 1.6; }
.ocr-note { font-size: 13px; color: #6b6b6b; margin-top: 10px; }
.ocr-warn { font-size: 14px; color: #8a4b00; background: #fff6e5; border-radius: 10px; padding: 8px 12px; margin-top: 10px; }
.ocr-bar { height: 6px; background: #f1f1f1; border-radius: 6px; margin-top: 6px; overflow: hidden; max-width: 320px; }
.ocr-bar i { display: block; height: 100%; background: var(--ocr-red); border-radius: 6px; }

.ocr-choices { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 12px; }
.ocr-chip {
	border: 1.5px solid var(--ocr-line); background: #fff; color: #1a1a1a; border-radius: 10px;
	padding: 8px 14px; font: 600 15px Changa, inherit; cursor: pointer; line-height: 1.3;
}
.ocr-chip small { display: block; font-weight: 400; font-size: 12px; color: #6b6b6b; }
.ocr-chip.is-on { border-color: var(--ocr-red); background: #fdf1f3; color: var(--ocr-red); }

.ocr-input {
	width: 100%; box-sizing: border-box; height: 44px; border: 1px solid var(--ocr-line); border-radius: 10px;
	padding: 0 14px; font: 16px Changa, inherit; margin-bottom: 10px; background: #fff;
}
.ocr-input:focus { outline: none; border-color: var(--ocr-red); box-shadow: 0 0 0 3px rgba(177, 15, 46, .12); }
.ocr-code { letter-spacing: 10px; text-align: center; font-size: 22px; }
.ocr-btn {
	width: 100%; height: 46px; border: 0; border-radius: 10px; background: var(--ocr-red); color: #fff;
	font: 700 16px Changa, inherit; cursor: pointer;
	/* the theme gives buttons text-align:right and no padding - the label sat on the edge on phones (20 Oct 2026) */
	display: flex; align-items: center; justify-content: center; text-align: center !important; padding: 0 16px;
	line-height: 1.2; box-sizing: border-box;
}
.ocr-step1 .ocr-btn, .ocr-step2 .ocr-btn { margin-top: 10px; }
.ocr-btn[disabled] { opacity: .6; cursor: wait; }
.ocr-link { background: none; border: 0; color: var(--ocr-red); text-decoration: underline; cursor: pointer; font: 14px Changa, inherit; padding: 6px 0; }
.ocr-applied { font-size: 16px; color: #0f6b3a; background: #ecf8f1; border-radius: 10px; padding: 10px 14px; }
.ocr-applied .ocr-link { margin-right: 8px; }
.ocr-msg { font-size: 14px; margin-top: 8px; min-height: 1em; }
.ocr-msg.is-err { color: var(--ocr-red); }
.ocr-msg.is-ok { color: #0f6b3a; }

@media (min-width: 700px) {
	.ocr-step1, .ocr-step2 { display: flex; gap: 10px; align-items: flex-start; }
	.ocr-step1 .ocr-input, .ocr-step2 .ocr-input { margin: 0; flex: 1; }
	.ocr-step1 .ocr-btn, .ocr-step2 .ocr-btn { width: auto; padding: 0 22px; white-space: nowrap; margin-top: 0; }
	.ocr-card > .ocr-btn { width: auto; padding: 0 28px; }
	.ocr-step2 .ocr-sent { flex-basis: 100%; }
	.ocr-step2 { flex-wrap: wrap; }
}

/* the totals line «🎁 بتكسب X نقطة» */
tr.ocr-earn th, tr.ocr-earn td { color: #0f6b3a; }
tr.ocr-earn small { color: #6b6b6b; font-weight: 400; }

/* login page: the phone first, the e-mail form under it */
.ocr-or { text-align: center; margin: 4px 0 16px; color: #8a8a8a; font-size: 13px; }

/* account page */
.ocr-h { margin: 22px 0 10px; }
.ocr-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ocr-table td { padding: 10px 6px; border-bottom: 1px solid #f0f0f0; }
.ocr-table .ocr-d { color: #8a8a8a; white-space: nowrap; width: 1%; }
.ocr-in { color: #0f6b3a; font-weight: 700; white-space: nowrap; text-align: left; }
.ocr-out { color: var(--ocr-red, #b10f2e); font-weight: 700; white-space: nowrap; text-align: left; }
.ocr-pass { margin-top: 22px; }
.ocr-pass .ocr-input { margin-top: 10px; }

/* while the store answers: the card dims and says what is happening */
.ocr-card { position: relative; }
.ocr-card.is-busy > *:not(.ocr-busy) { opacity: .35; pointer-events: none; }
.ocr-busy {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px;
	font: 600 16px Changa, inherit; color: #1a1a1a; text-align: center; padding: 0 16px;
}
.ocr-spin {
	width: 22px; height: 22px; border-radius: 50%; border: 3px solid #f1d3d9; border-top-color: #b10f2e;
	animation: ocr-spin .8s linear infinite; flex: none;
}
@keyframes ocr-spin { to { transform: rotate(360deg); } }

/* [hidden] must win over the flex rows above */
.ocr-card [hidden] { display: none !important; }

/* a phone-only account is not asked for an e-mail */
.ocr-hidden { display: none !important; }

/* Vite's old «احصل على تخفيض عند استعمال النقاط» boxes in the Bricks templates (checkout, cart) */
#brxe-sanfay, #brxe-ezowsb { display: none !important; }

/* ------------------------------------------------------------------ «المكافأت» (17 Oct 2026, the shop's black + red only) */
.ocr-acc { --r: #d7141f; --r2: #8f0a3c; --ink: #0a0b0d; --line: #e7e2e0; --mut: #6f6f73; direction: rtl; text-align: right; color: #141414; }
.ocr-acc .ocr-ic { width: 22px; height: 22px; flex: none; color: var(--r); }
.ocr-acc .ocr-hero { background: var(--ink); color: #fff; border-radius: 20px; padding: 24px; margin: 0 0 18px; position: relative; overflow: hidden; }
.ocr-acc .ocr-hero::before { content: ""; position: absolute; top: -50px; left: 46%; width: 2px; height: 180px; background: var(--r); transform: rotate(45deg); opacity: .85; }
.ocr-acc .ocr-hero::after { content: ""; position: absolute; inset: auto auto -120px -120px; width: 300px; height: 300px; border-radius: 50%;
	display: none; }
.ocr-hero-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; position: relative; z-index: 1; }
.ocr-hero-k { font-size: 14px; color: #a9a9ad; letter-spacing: .3px; }
.ocr-hero-v { display: flex; align-items: baseline; gap: 8px; margin: 2px 0 6px; }
.ocr-hero-v b { font-size: 48px; font-weight: 700; line-height: 1; direction: ltr; unicode-bidi: isolate; }
.ocr-hero-v span { font-size: 18px; color: #d6d6d8; }
.ocr-hero-s { font-size: 14px; color: #c9c9cc; }
.ocr-hero-s b { color: #fff; }
.ocr-hero-lv { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 112px;
	background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 10px 14px; }
.ocr-hero-lv .ocr-ronin img { height: 64px; width: auto; display: block; }
.ocr-hero-lv .ocr-lv-ic .ocr-ic { width: 40px; height: 40px; color: #fff; }
.ocr-hero-lv small { font-size: 11px; color: #a9a9ad; }
.ocr-hero-lv b { font-size: 17px; }
.ocr-prog { margin-top: 18px; position: relative; z-index: 1; }
.ocr-prog-t { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; color: #c9c9cc; margin-bottom: 8px; flex-wrap: wrap; }
.ocr-prog-t b { color: #fff; }
.ocr-gift { display: inline-flex; align-items: center; gap: 6px; }
.ocr-gift .ocr-ic { width: 16px; height: 16px; color: #fff; }
.ocr-prog-b { height: 8px; background: rgba(255,255,255,.1); border-radius: 8px; overflow: hidden; }
.ocr-prog-b i { display: block; height: 100%; background: linear-gradient(270deg, var(--r), var(--r2)); border-radius: 8px; }
.ocr-hero-warn { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; color: #fff;
	background: #18191c; border: 1px solid #2a2b2f; border-radius: 12px; padding: 9px 12px; position: relative; z-index: 1; }
.ocr-hero-warn .ocr-ic { width: 18px; height: 18px; color: #ff5a63; }
.ocr-hero-btn { display: inline-block; margin-top: 18px; background: linear-gradient(135deg, var(--r), var(--r2)); color: #fff !important;
	text-decoration: none !important; font-weight: 700; font-size: 15px; border-radius: 12px; padding: 11px 26px; position: relative; z-index: 1;
	transition: transform .15s; }
.ocr-hero-btn:hover { transform: translateY(-1px); }

.ocr-how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 30px; }
.ocr-how > div { display: flex; flex-direction: column; align-items: center; gap: 4px; background: #fff; border: 1px solid var(--line);
	border-radius: 16px; padding: 16px 12px; text-align: center; }
.ocr-how .ocr-ic { width: 26px; height: 26px; padding: 9px; box-sizing: content-box; background: #fdeff0; border-radius: 12px; margin-bottom: 4px; }
.ocr-how b { font-size: 16px; }
.ocr-how small { font-size: 13px; color: var(--mut); line-height: 1.55; }

.ocr-acc .ocr-h2 { font-size: 21px; font-weight: 700; margin: 0 0 14px; }
.ocr-levels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.ocr-lv { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 14px 14px; text-align: center;
	display: flex; flex-direction: column; align-items: center; }
.ocr-lv em { position: absolute; top: -11px; right: 50%; transform: translateX(50%); background: linear-gradient(135deg, var(--r), var(--r2)); color: #fff;
	font-style: normal; font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 20px; white-space: nowrap; }
.ocr-lv.is-me { border: 2px solid var(--r); }
.ocr-lv.is-next .ocr-lv-pic { filter: grayscale(1); opacity: .55; }
.ocr-lv-pic { height: 92px; display: flex; align-items: center; justify-content: center; }
.ocr-lv-pic .ocr-ronin img { height: 92px; width: auto; display: block; }
.ocr-lv-pic .ocr-lv-ic { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); }
.ocr-lv-pic .ocr-lv-ic .ocr-ic { width: 32px; height: 32px; color: #fff; }
.ocr-lv.is-me .ocr-lv-pic .ocr-lv-ic, .ocr-lv.is-done .ocr-lv-pic .ocr-lv-ic { background: linear-gradient(135deg, var(--r), var(--r2)); }
.ocr-lv-n { font-size: 18px; font-weight: 700; margin-top: 8px; }
.ocr-lv-t { font-size: 13px; color: var(--mut); direction: rtl; }
.ocr-lv-g { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--r); background: #fdeff0;
	border-radius: 20px; padding: 3px 10px; margin-top: 8px; }
.ocr-lv-g .ocr-ic { width: 14px; height: 14px; }
.ocr-lv-g.is-none { color: var(--mut); background: #f3f1f0; font-weight: 600; }
.ocr-lv ul { list-style: none; margin: 12px 0 0; padding: 12px 0 0; border-top: 1px solid #f0ebe9; text-align: right; width: 100%; }
.ocr-lv li { font-size: 13px; line-height: 1.6; color: #2b2b2e; padding-right: 18px; position: relative; margin: 0 0 4px; }
.ocr-lv li::before { content: ""; position: absolute; right: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--r); }
.ocr-fine { font-size: 12px; color: var(--mut); margin: 10px 0 30px; }

.ocr-hist { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; margin: 0 0 22px; }
.ocr-row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid #f3efed; }
.ocr-row:last-child { border-bottom: 0; }
.ocr-row.is-void { opacity: .5; text-decoration: line-through; }
.ocr-row-i { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 18px; }
.ocr-row-i.in { background: var(--ink); color: #fff; }
.ocr-row-i.out { background: #fdeff0; color: var(--r); }
.ocr-row-m { flex: 1; min-width: 0; }
.ocr-row-m b { display: block; font-size: 14px; font-weight: 600; }
.ocr-row-m small { font-size: 12px; color: #8c8c90; }
.ocr-row-v { font-weight: 700; font-size: 16px; white-space: nowrap; direction: ltr; unicode-bidi: isolate; }
.ocr-row-v.in { color: var(--ink); }
.ocr-row-v.out { color: var(--r); }
.ocr-empty { padding: 24px; text-align: center; color: var(--mut); }

.ocr-pass2 { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px 18px; }
.ocr-pass2 summary { display: flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 700; font-size: 15px; list-style: none; }
.ocr-pass2 summary::-webkit-details-marker { display: none; }
.ocr-pass2 summary .ocr-ic { width: 18px; height: 18px; }
.ocr-pass2 summary small { font-weight: 400; color: #8c8c90; }
.ocr-pass2 p { font-size: 13px; color: #555; line-height: 1.7; margin: 10px 0; }
.ocr-pass2 .ocr-card { border: 0; box-shadow: none; padding: 0; margin: 0; }

@media (max-width: 900px) { .ocr-levels { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 10px; } }
@media (max-width: 560px) {
	.ocr-acc .ocr-hero { padding: 20px 18px; }
	.ocr-hero-v b { font-size: 40px; }
	.ocr-hero-lv { min-width: 92px; padding: 8px 10px; }
	.ocr-how { grid-template-columns: 1fr; gap: 8px; }
	.ocr-how > div { flex-direction: row; text-align: right; gap: 12px; padding: 12px 14px; }
	.ocr-how .ocr-ic { margin: 0; }
	.ocr-how > div b { min-width: 52px; }
}

/* «كمّل بياناتك» (20 Oct 2026) */
.ocr-prof { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; margin: 0 0 22px; }
.ocr-prof-h { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.ocr-prof-h .ocr-ic { width: 26px; height: 26px; padding: 9px; box-sizing: content-box; background: #fdeff0; color: var(--r); border-radius: 12px; flex: none; }
.ocr-prof-h b { display: block; font-size: 16px; color: var(--ink); }
.ocr-prof-h small { display: block; color: var(--mut); font-size: 13px; margin-top: 2px; }
.ocr-prof-f { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ocr-prof-f label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink); }
.ocr-prof-f select { width: 100%; height: 46px; border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; background: #fff; font: inherit; font-weight: 400; }
.ocr-prof-btn { display: flex; align-items: center; justify-content: center; text-align: center !important; padding: 0 16px; margin-top: 14px; width: 100%; height: 48px; border: 0; border-radius: 12px; background: linear-gradient(135deg, var(--r), var(--r2)); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.ocr-prof-err { background: #fdeff0; color: var(--r); border-radius: 10px; padding: 8px 12px; font-size: 13px; margin-bottom: 12px; }
.ocr-prof-ok { display: flex; align-items: center; gap: 8px; background: #0a0b0d; color: #fff; border-radius: 14px; padding: 12px 16px; margin: 0 0 22px; font-weight: 700; }
.ocr-prof-ok .ocr-ic { width: 20px; height: 20px; color: #ff5a63; }
@media (max-width: 600px) { .ocr-prof-f { grid-template-columns: 1fr; } }

/* «نقاطك مش باينة؟» (20 Oct 2026) */
.ocr-help { margin-top: 14px; font-size: 13px; }
.ocr-help summary { cursor: pointer; color: #6f6f73; text-decoration: underline; list-style: none; }
.ocr-help summary::-webkit-details-marker { display: none; }
.ocr-help-f { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.ocr-help textarea.ocr-input { height: auto; min-height: 60px; padding-top: 10px; resize: vertical; }
.ocr-help-ok { margin-top: 10px; background: #0a0b0d; color: #fff; border-radius: 10px; padding: 10px 12px; }
.ocr-help-err { margin-top: 10px; background: #fdeff0; color: #d7141f; border-radius: 10px; padding: 8px 12px; }

/* the level counts purchase points only (11 Nov 2026) */
.ocr-prog-n { margin-top: 8px; font-size: 12px; color: #9a9aa0; line-height: 1.6; }
.ocr-prog-n b { color: #fff; }
