/*
 * Reels screen (/reels, app/app/storefront/reels.php, begad-reels.js).
 * A page of its own: none of the storefront's stylesheets are loaded here,
 * so everything the screen draws is styled in this file.
 */
:root {
  --rl-top: var(--safe-area-inset-top, env(safe-area-inset-top, 0px));
  --rl-bottom: var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px));
  --rl-nav: 62px;
  --rl-orange: #f0530f;
  --rl-grad: linear-gradient(135deg, #ff9d2e, #f0530f);
}
html.rl-page, html.rl-page body { margin: 0; height: 100%; background: #000; color: #fff; overflow: hidden; overscroll-behavior: none; }
/* The app layer paints every page's body off-white; on a wide screen (iPhone
   Duo unfolded, iPad) that showed as pale bars beside the 420px feed. */
html.rl-page.rl-page.rl-page body { background: #000 !important; }
html.rl-page body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans Arabic", sans-serif; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.rl-page *, .rl-page *::before, .rl-page *::after { box-sizing: border-box; }
:where(.rl-page) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:where(.rl-page) a { color: inherit; text-decoration: none; }
:where(.rl-page) svg { display: block; }

/* ---- Feed: one item per screen, snapping ---- */
.rl-feed { position: fixed; inset: 0; overflow-y: scroll; scroll-snap-type: y mandatory; overscroll-behavior-y: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.rl-feed::-webkit-scrollbar { display: none; }
.rl-slide { position: relative; height: 100%; width: 100%; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; background: #08090d; contain: layout paint; }
.rl-media { position: absolute; inset: 0; }
/* Reels more than one away from the screen keep their place but draw nothing. */
.rl-slide.is-far > * { display: none; }
.rl-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.rl-slide.is-wide .rl-media video { object-fit: contain; }
/* The soft colour wash behind a photo reel is a 12x20 canvas stretched over
   the screen (the stretching is the blur). A real blur() filter here, and
   backdrop-filter on the buttons, cost 30 ms a frame on a Nothing Phone (2a):
   40 ms per frame with them, 10 ms without. Do not bring either back. */
.rl-blur { position: absolute; inset: -10%; width: 120%; height: 120%; opacity: .8; }
.rl-photo { position: absolute; inset: calc(var(--rl-top) + 64px) 16px calc(var(--rl-nav) + var(--rl-bottom) + 190px); display: grid; place-items: center; }
.rl-photo img { position: absolute; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 26px; background: #fff; box-shadow: 0 30px 60px -22px rgba(0, 0, 0, .75); opacity: 0; transform: scale(.94); transition: opacity .5s ease, transform .5s ease; }
.rl-photo img.is-on { opacity: 1; transform: none; }
.rl-slide.is-active .rl-photo img.is-on { animation: rl-drift 4.2s ease-out both; }
.rl-slide.is-held .rl-photo img.is-on { animation-play-state: paused; }
@keyframes rl-drift { from { transform: scale(.96) rotate(-1.2deg); } to { transform: scale(1.04) rotate(.6deg); } }
.rl-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0) 46%, rgba(0, 0, 0, .82)); }
.rl-tap { position: absolute; inset: 0; }

/* Segments (photo reels) and the video progress line */
.rl-bars { position: absolute; z-index: 3; top: calc(var(--rl-top) + 54px); left: 14px; right: 14px; display: flex; gap: 4px; pointer-events: none; }
.rl-bars i { flex: 1; height: 2.5px; border-radius: 3px; background: rgba(255, 255, 255, .28); overflow: hidden; }
.rl-bars i b { display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: left center; }
[dir="rtl"] .rl-bars i b { transform-origin: right center; }
.rl-bars i.is-done b { transform: none; }
.rl-slide.is-active .rl-bars i.is-on b { animation: rl-fill 3.6s linear forwards; }
.rl-slide.is-held .rl-bars i.is-on b { animation-play-state: paused; }
@keyframes rl-fill { to { transform: none; } }
/* The video's progress line is also a slider (begad-reels.js, "Seeking"):
   the element is a 30px tall touch area, the line is drawn in its middle at
   the same place as before. touch-action: none keeps the browser from
   scrolling the feed when a drag starts on it. */
.rl-line { position: absolute; z-index: 3; left: 0; right: 0; bottom: calc(var(--rl-nav) + var(--rl-bottom) + 1px); height: 30px; touch-action: none; cursor: pointer; }
.rl-line::before, .rl-line b { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2.5px; margin-top: -1.25px; border-radius: 3px; }
.rl-line::before { background: rgba(255, 255, 255, .22); }
.rl-line b { background: #fff; transform: scaleX(0); transform-origin: left center; }
[dir="rtl"] .rl-line b { transform-origin: right center; }
.rl-knob { position: absolute; left: 0; right: 0; top: 50%; height: 0; pointer-events: none; }
.rl-knob i { position: absolute; left: -8px; top: -8px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .45); opacity: 0; transform: scale(.4); transition: opacity .15s ease, transform .15s ease; }
[dir="rtl"] .rl-knob i { left: auto; right: -8px; }
.rl-time { position: absolute; left: 0; right: 0; bottom: 40px; font-style: normal; font-size: 26px; font-weight: 800; text-align: center; font-variant-numeric: tabular-nums; text-shadow: 0 2px 12px rgba(0, 0, 0, .7); opacity: 0; pointer-events: none; transition: opacity .15s ease; direction: ltr; }
.rl-slide.is-seeking .rl-line::before, .rl-slide.is-seeking .rl-line b { height: 5px; margin-top: -2.5px; }
.rl-slide.is-seeking .rl-knob i { opacity: 1; transform: none; }
.rl-slide.is-seeking .rl-time { opacity: 1; }
.rl-slide .rl-info, .rl-slide .rl-rail { transition: opacity .15s ease; }
.rl-slide.is-seeking .rl-info, .rl-slide.is-seeking .rl-rail { opacity: 0; pointer-events: none; }

/* ---- Action rail (where TikTok has like / comment / share) ---- */
/* Instagram-style (owner, 2026-11-07: the old 50-56px discs covered the
   video): bare white icons with a shadow; only the cart keeps a small disc. */
.rl-rail { position: absolute; z-index: 4; inset-inline-end: 6px; bottom: calc(var(--rl-nav) + var(--rl-bottom) + 30px); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.rl-act { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 44px; }
.rl-act > span { position: relative; width: 40px; height: 36px; display: grid; place-items: center; transition: transform .16s cubic-bezier(.3, 1.6, .5, 1), background-color .2s ease; }
.rl-act:active > span { transform: scale(.86); }
.rl-act svg { width: 27px; height: 27px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .55)); }
.rl-act b { font-size: 12px; font-weight: 600; text-shadow: 0 1px 4px rgba(0, 0, 0, .75); font-variant-numeric: tabular-nums; }
.rl-act b:empty { display: none; }
.rl-act.is-cart > span { width: 40px; height: 40px; border-radius: 50%; background: var(--rl-grad); box-shadow: 0 6px 14px -6px rgba(240, 83, 15, .9); }
.rl-act.is-cart svg { width: 22px; height: 22px; filter: none; }
.rl-act.is-cart.is-added > span { background: linear-gradient(135deg, #34c98a, #12925f); box-shadow: 0 6px 14px -6px rgba(18, 146, 95, .9); animation: rl-pop .45s cubic-bezier(.3, 1.7, .5, 1); }
.rl-act.is-busy > span { opacity: .6; }
@keyframes rl-pop { 0% { transform: scale(.7); } 60% { transform: scale(1.18); } 100% { transform: none; } }
/* Cart quantity: a pill beside the cart button. + while the product is in the
   cart, - and the number from 2 up (begad-reels.js, paintCartButtons()). */
.rl-cartbox { position: relative; display: flex; flex-direction: column; align-items: center; }
.rl-cartbox.is-busy .rl-act.is-cart > span, .rl-cartbox.is-busy .rl-step { opacity: .6; }
.rl-step { position: absolute; top: 0; inset-inline-end: calc(100% + 4px); height: 40px; display: flex; align-items: center; gap: 2px; padding: 0 3px; border-radius: 999px; background: rgba(20, 22, 30, .78); border: 1px solid rgba(255, 255, 255, .18); opacity: 0; transform: scale(.6); transform-origin: right center; pointer-events: none; transition: opacity .18s ease, transform .2s cubic-bezier(.3, 1.5, .5, 1); }
[dir="rtl"] .rl-step { transform-origin: left center; }
.rl-step.is-on { opacity: 1; transform: none; pointer-events: auto; }
.rl-step button { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; }
.rl-step button:active { background: rgba(255, 255, 255, .14); }
.rl-step svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; }
.rl-step b { display: none; min-width: 18px; font-size: 15px; font-weight: 800; text-align: center; font-variant-numeric: tabular-nums; }
.rl-step [data-act="less"] { display: none; }
.rl-step.is-many b { display: block; }
.rl-step.is-many [data-act="less"] { display: grid; }
.rl-act.is-off svg .rl-wave { display: none; }
.rl-act.is-on svg .rl-cross { display: none; }

/* ---- Words and the product card ---- */
.rl-info { position: absolute; z-index: 4; inset-inline-start: 12px; inset-inline-end: 60px; bottom: calc(var(--rl-nav) + var(--rl-bottom) + 26px); display: flex; flex-direction: column; gap: 7px; }
.rl-who { display: flex; align-items: center; gap: 9px; min-width: 0; }
.rl-avatar { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--rl-grad); font-size: 13px; font-weight: 800; border: 1.5px solid rgba(255, 255, 255, .9); text-transform: uppercase; }
.rl-who-text { min-width: 0; display: flex; flex-direction: column; }
.rl-who-text strong { font-size: 13.5px; font-weight: 750; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.rl-who-text small { font-size: 11.5px; color: rgba(255, 255, 255, .85); display: flex; align-items: center; gap: 4px; white-space: nowrap; overflow: hidden; }
.rl-who-text small > * { flex: none; }
.rl-who-text small svg { width: 12px; height: 12px; fill: #3ddc97; }
.rl-buy { flex: none; margin-inline-start: 2px; padding: 4px 11px; border-radius: 8px; background: rgba(0, 0, 0, .12); border: 1px solid rgba(255, 255, 255, .85); color: #fff !important; font-size: 12.5px; font-weight: 700; white-space: nowrap; text-shadow: 0 1px 4px rgba(0, 0, 0, .5); transition: transform .14s ease; }
.rl-buy:active { transform: scale(.93); }
.rl-buy.is-busy { opacity: .6; }
.rl-caption { margin: 0; font-size: 13px; line-height: 1.4; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .65); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.rl-caption.is-open { -webkit-line-clamp: 8; }
.rl-stars { display: inline-flex; gap: 1px; vertical-align: -2px; }
.rl-stars svg { width: 13px; height: 13px; fill: rgba(255, 255, 255, .3); }
.rl-stars svg.is-on { fill: #ffc233; }
.rl-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.rl-tag { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 750; background: rgba(20, 22, 30, .66); border: 1px solid rgba(255, 255, 255, .16); }
.rl-tag.is-deal { background: linear-gradient(135deg, #ff4d5e, #d81f5b); border-color: transparent; }
.rl-tag.is-deal small { font-size: 10.5px; font-weight: 650; font-variant-numeric: tabular-nums; }
.rl-product { display: flex; align-items: center; gap: 8px; padding: 5px; padding-inline-end: 10px; border-radius: 12px; background: rgba(20, 22, 30, .5); border: 1px solid rgba(255, 255, 255, .14); transition: transform .14s ease; }
.rl-product:active { transform: scale(.97); }
.rl-product img { flex: none; width: 36px; height: 36px; border-radius: 8px; object-fit: cover; background: #fff; }
.rl-product-text { flex: 1; min-width: 0; }
.rl-product-text strong { display: block; font-size: 12px; font-weight: 600; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rl-price { display: flex; align-items: baseline; gap: 6px; margin-top: 1px; }
.rl-price b { font-size: 13.5px; font-weight: 850; letter-spacing: -.2px; }
.rl-price s { font-size: 11px; color: rgba(255, 255, 255, .62); }
.rl-price em { font-style: normal; font-size: 11.5px; font-weight: 800; color: #ffd166; }
.rl-product > svg { flex: none; width: 15px; height: 15px; fill: none; stroke: rgba(255, 255, 255, .8); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
[dir="rtl"] .rl-product > svg { transform: scaleX(-1); }
.rl-offer { align-self: flex-start; padding: 8px 14px; border-radius: 10px; background: var(--rl-grad); font-size: 13.5px; font-weight: 800; box-shadow: 0 14px 26px -12px rgba(240, 83, 15, .9); }

/* Centre feedback: play / pause, and the burst of a double tap */
.rl-center { position: absolute; z-index: 3; top: 50%; left: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .38); opacity: 0; pointer-events: none; transform: scale(.7); transition: opacity .18s ease, transform .18s ease; }
.rl-center svg { width: 38px; height: 38px; fill: #fff; }
.rl-slide.is-paused .rl-center { opacity: 1; transform: none; }
.rl-burst { position: absolute; z-index: 5; width: 96px; height: 96px; margin: -48px 0 0 -48px; pointer-events: none; animation: rl-burst .8s cubic-bezier(.2, .9, .3, 1) forwards; }
.rl-burst svg { width: 100%; height: 100%; fill: var(--rl-orange); stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .5)); }
@keyframes rl-burst { 0% { opacity: 0; transform: scale(.3) rotate(-18deg); } 25% { opacity: 1; transform: scale(1.15) rotate(6deg); } 60% { opacity: 1; transform: scale(1) rotate(0); } 100% { opacity: 0; transform: translateY(-70px) scale(.9); } }
.rl-sound { position: absolute; z-index: 4; top: calc(var(--rl-top) + 62px); left: 50%; transform: translateX(-50%); padding: 7px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: rgba(0, 0, 0, .5); display: flex; align-items: center; gap: 6px; animation: rl-rise .4s ease both; }
.rl-sound svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes rl-rise { from { opacity: 0; transform: translate(-50%, 8px); } }
.rl-hint { position: absolute; z-index: 4; left: 0; right: 0; top: 40%; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; pointer-events: none; text-shadow: 0 1px 8px rgba(0, 0, 0, .7); animation: rl-nudge 1.6s ease-in-out 3; }
.rl-hint svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes rl-nudge { 0%, 100% { transform: none; opacity: .95; } 50% { transform: translateY(-12px); opacity: .6; } }

/* ---- Top bar ---- */
.rl-top { position: fixed; z-index: 20; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 10px; padding: calc(var(--rl-top) + 8px) 12px 8px; pointer-events: none; }
.rl-top > * { pointer-events: auto; }
.rl-top h1 { flex: 1; margin: 0; font-size: 19px; font-weight: 800; letter-spacing: -.3px; text-shadow: 0 1px 10px rgba(0, 0, 0, .6); display: flex; align-items: center; gap: 8px; pointer-events: none; }
.rl-top h1 i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--rl-orange); }
.rl-top h1 i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: rgba(240, 83, 15, .35); animation: rl-live 1.8s ease-in-out infinite; }
@keyframes rl-live { 50% { transform: scale(1.7); opacity: 0; } }
.rl-round { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(20, 22, 30, .58); border: 1px solid rgba(255, 255, 255, .16); }
.rl-round svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
[dir="rtl"] .rl-round.is-back svg { transform: scaleX(-1); }
.rl-make { display: flex; align-items: center; gap: 4px; height: 32px; padding: 0 11px 0 7px; border-radius: 999px; background: rgba(0, 0, 0, .18); border: 1px solid rgba(255, 255, 255, .7); font-size: 12.5px; font-weight: 700; text-shadow: 0 1px 4px rgba(0, 0, 0, .5); }
.rl-make svg { width: 17px; height: 17px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; }

/* ---- Tab bar (the app's own six tabs, drawn dark for this screen) ---- */
.rl-nav { position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; height: calc(var(--rl-nav) + var(--rl-bottom)); padding: 6px 6px var(--rl-bottom); display: flex; align-items: flex-start; background: rgba(8, 9, 13, .96); border-top: 1px solid rgba(255, 255, 255, .08); }
.rl-nav a { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 3px; padding-top: 4px; font-size: 10.5px; font-weight: 600; color: rgba(255, 255, 255, .62); transition: transform .14s ease; }
.rl-nav a:active { transform: scale(.9); }
.rl-nav a svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rl-nav a span { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rl-nav a.is-on { color: #fff; font-weight: 750; }
.rl-nav a.is-on i { width: 46px; height: 28px; margin-top: -2px; margin-bottom: -1px; border-radius: 14px; display: grid; place-items: center; background: var(--rl-grad); box-shadow: 0 8px 14px -8px rgba(240, 83, 15, .9); }
.rl-nav a.is-on svg { width: 20px; height: 20px; fill: #fff; stroke: none; }
.rl-badge { position: absolute; top: 0; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--rl-orange); color: #fff; font-size: 10px; font-weight: 800; line-height: 18px; text-align: center; }
.rl-badge:empty, .rl-badge[data-n="0"] { display: none; }
.rl-badge.is-bump { animation: rl-pop .45s cubic-bezier(.3, 1.7, .5, 1); }

/* ---- Bottom sheets (reviews, upload) ---- */
.rl-scrim { position: fixed; z-index: 40; inset: 0; background: rgba(0, 0, 0, .5); animation: rl-fade .2s ease both; }
.rl-scrim.is-closing { animation: rl-fade .2s ease reverse both; }
@keyframes rl-fade { from { opacity: 0; } }
.rl-sheet { position: fixed; z-index: 41; left: 0; right: 0; bottom: 0; max-height: 82%; display: flex; flex-direction: column; background: #fff; color: #17202c; border-radius: 24px 24px 0 0; box-shadow: 0 -20px 50px -20px rgba(0, 0, 0, .6); animation: rl-up .28s cubic-bezier(.2, .85, .25, 1) both; -webkit-user-select: text; user-select: text; }
.rl-sheet.is-closing { animation: rl-down .2s ease both; }
@keyframes rl-up { from { transform: translateY(100%); } }
@keyframes rl-down { to { transform: translateY(100%); } }
.rl-sheet-head { flex: none; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 18px; border-bottom: 1px solid #eef0f3; }
.rl-sheet-head::before { content: ""; position: absolute; top: 7px; left: 50%; width: 38px; height: 4px; margin-left: -19px; border-radius: 4px; background: #d9dde3; }
.rl-sheet-head h2 { flex: 1; margin: 8px 0 0; font-size: 16.5px; font-weight: 800; }
.rl-sheet-head button { width: 36px; height: 36px; margin-top: 6px; border-radius: 50%; background: #f2f4f7; font-size: 22px; line-height: 1; color: #4a5462; }
.rl-sheet-body { flex: 1; min-height: 0; overflow-y: auto; padding: 14px 18px calc(var(--rl-bottom) + 18px); overscroll-behavior: contain; }
.rl-sum { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.rl-sum b { font-size: 34px; font-weight: 850; letter-spacing: -1px; }
.rl-sum .rl-stars svg { width: 17px; height: 17px; fill: #dfe3e8; }
.rl-sum small { display: block; font-size: 12.5px; color: #6b7480; margin-top: 2px; }
.rl-vids { display: flex; gap: 10px; overflow-x: auto; margin: 0 -18px 14px; padding: 0 18px; scrollbar-width: none; }
.rl-vids::-webkit-scrollbar { display: none; }
.rl-vid { position: relative; flex: none; width: 96px; height: 150px; border-radius: 14px; overflow: hidden; background: #17202c; color: #fff; }
.rl-vid img { width: 100%; height: 100%; object-fit: cover; }
.rl-vid span { position: absolute; left: 6px; right: 6px; bottom: 6px; font-size: 11px; font-weight: 700; text-align: start; text-shadow: 0 1px 6px rgba(0, 0, 0, .8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rl-vid::after { content: ""; position: absolute; top: 50%; left: 50%; width: 0; height: 0; margin: -9px 0 0 -6px; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent rgba(255, 255, 255, .92); filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .6)); }
.rl-review { padding: 12px 0; border-top: 1px solid #eef0f3; }
.rl-review header { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.rl-review header strong { font-size: 13.5px; font-weight: 750; }
.rl-review header time { margin-inline-start: auto; font-size: 11.5px; color: #8a929d; }
.rl-review .rl-stars svg { fill: #dfe3e8; }
.rl-review p { margin: 0; font-size: 14px; line-height: 1.5; color: #333c48; white-space: pre-line; overflow-wrap: anywhere; }
.rl-empty { padding: 22px 8px; text-align: center; font-size: 14px; line-height: 1.5; color: #6b7480; }
.rl-form { margin-top: 14px; padding: 14px; border-radius: 18px; background: #f6f7f9; }
.rl-form h3 { margin: 0 0 10px; font-size: 14.5px; font-weight: 800; }
.rl-rate { display: flex; gap: 6px; margin-bottom: 10px; direction: ltr; }
.rl-rate button { width: 36px; height: 36px; }
.rl-rate svg { width: 32px; height: 32px; fill: #d5dae2; transition: transform .12s ease; }
.rl-rate button.is-on svg { fill: #ffb020; }
.rl-rate button:active svg { transform: scale(.85); }
.rl-form textarea, .rl-form input[type="text"] { display: block; width: 100%; padding: 11px 13px; border: 1px solid #dfe3e8; border-radius: 14px; background: #fff; font: inherit; font-size: 15px; color: #17202c; resize: none; outline: 0; }
.rl-form textarea:focus, .rl-form input[type="text"]:focus { border-color: var(--rl-orange); }
.rl-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 50px; margin-top: 10px; border-radius: 16px; background: var(--rl-grad); color: #fff !important; font-size: 15.5px; font-weight: 800; box-shadow: 0 12px 24px -12px rgba(240, 83, 15, .9); transition: transform .14s ease, opacity .2s ease; }
.rl-btn:active { transform: scale(.97); }
.rl-btn[disabled] { opacity: .5; box-shadow: none; }
.rl-btn.is-quiet { background: #fff; color: #17202c !important; border: 1px solid #dfe3e8; box-shadow: none; }
.rl-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rl-note { margin: 10px 0 0; font-size: 12.5px; line-height: 1.5; color: #6b7480; text-align: center; }
.rl-note.is-bad { color: #c62828; }
.rl-note.is-good { color: #12925f; font-weight: 700; }

/* Upload sheet */
.rl-pick { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 150px; border: 2px dashed #d5dae2; border-radius: 20px; background: #f6f7f9; color: #4a5462; font-size: 14.5px; font-weight: 700; }
.rl-pick svg { width: 34px; height: 34px; fill: none; stroke: var(--rl-orange); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rl-pick small { font-size: 12px; font-weight: 500; color: #8a929d; }
.rl-preview { position: relative; width: 132px; height: 200px; margin: 0 auto 4px; border-radius: 18px; overflow: hidden; background: #000; }
.rl-preview video { width: 100%; height: 100%; object-fit: cover; }
.rl-preview button { position: absolute; top: 6px; inset-inline-end: 6px; width: 28px; height: 28px; border-radius: 50%; background: rgba(0, 0, 0, .6); color: #fff; font-size: 18px; line-height: 1; }
.rl-label { display: block; margin: 14px 0 7px; font-size: 13px; font-weight: 800; color: #333c48; }
.rl-choices { display: flex; gap: 8px; overflow-x: auto; margin: 0 -18px; padding: 2px 18px 4px; scrollbar-width: none; }
.rl-choices::-webkit-scrollbar { display: none; }
.rl-choice { flex: none; width: 92px; padding: 6px; border: 2px solid #eef0f3; border-radius: 16px; background: #fff; text-align: center; }
.rl-choice img { width: 76px; height: 76px; border-radius: 10px; object-fit: cover; background: #f2f4f7; }
.rl-choice span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 4px; font-size: 11px; line-height: 1.3; color: #333c48; }
.rl-choice.is-on { border-color: var(--rl-orange); background: #fff6f0; }
.rl-chosen { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 16px; background: #f6f7f9; }
.rl-chosen img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; background: #fff; }
.rl-chosen strong { flex: 1; min-width: 0; font-size: 13px; font-weight: 650; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rl-meter { height: 8px; margin-top: 12px; border-radius: 8px; background: #eef0f3; overflow: hidden; }
.rl-meter b { display: block; height: 100%; width: 0; border-radius: 8px; background: var(--rl-grad); transition: width .25s ease; }
.rl-mine { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid #eef0f3; }
.rl-mine img, .rl-mine > i { flex: none; width: 44px; height: 62px; border-radius: 9px; object-fit: cover; background: #17202c; }
.rl-mine strong { flex: 1; min-width: 0; font-size: 13px; font-weight: 600; line-height: 1.35; }
.rl-mine strong small { display: block; font-size: 11.5px; font-weight: 500; color: #8a929d; }
.rl-state { flex: none; padding: 4px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 800; background: #fff3d6; color: #8a5a00; }
.rl-state.is-approved { background: #dff6ea; color: #0f7a4f; }
.rl-state.is-rejected { background: #fde3e3; color: #b3261e; }

/* One video played from the reviews sheet */
.rl-player { position: fixed; z-index: 60; inset: 0; background: #000; animation: rl-fade .2s ease both; }
.rl-player video { width: 100%; height: 100%; object-fit: contain; }
.rl-player button { position: absolute; top: calc(var(--rl-top) + 10px); inset-inline-end: 12px; }

.rl-toast { position: fixed; z-index: 70; left: 16px; right: 16px; bottom: calc(var(--rl-nav) + var(--rl-bottom) + 18px); display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 18px; background: rgba(23, 32, 44, .96); color: #fff; font-size: 14px; font-weight: 650; line-height: 1.35; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .8); animation: rl-toast .3s cubic-bezier(.2, .9, .3, 1.1) both; }
.rl-toast span { flex: 1; min-width: 0; }
.rl-toast a { flex: none; padding: 7px 13px; border-radius: 999px; background: var(--rl-grad); font-size: 13px; font-weight: 800; }
.rl-toast.is-closing { animation: rl-fade .2s ease reverse both; }
@keyframes rl-toast { from { opacity: 0; transform: translateY(14px) scale(.96); } }
.rl-loading { height: 100%; display: grid; place-items: center; scroll-snap-align: start; }
.rl-loading i { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .2); border-top-color: #fff; animation: rl-spin .8s linear infinite; }
@keyframes rl-spin { to { transform: rotate(360deg); } }
.rl-none { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 40px; text-align: center; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .8); }

/* The app's design layer adds its own bars to every page; this screen has its own. */
html.rl-page body > .begad-pbar, html.rl-page body > .begad-app-progress, html.rl-page .begad-help, html.rl-page body > .begad-sky { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  .rl-slide.is-active .rl-photo img.is-on, .rl-hint, .rl-top h1 i::after { animation: none; }
}
@media (min-width: 620px) {
  /* A browser on a computer: keep the phone shape in the middle. */
  .rl-feed, .rl-top, .rl-nav, .rl-sheet, .rl-toast { left: 50%; right: auto; width: 420px; margin-left: -210px; }
}

/* Report / Block (app/ugc_moderation.php) */
.rl-act.is-small > span { width: 36px; height: 28px; }
.rl-act.is-small svg { width: 22px; height: 22px; fill: #fff; stroke: none; }
.rl-more { flex: none; width: 32px; height: 32px; margin-inline-start: 2px; border-radius: 50%; display: grid; place-items: center; color: #6b7480; }
.rl-more svg { width: 18px; height: 18px; fill: currentColor; }
.rl-review header .rl-more { margin-inline-start: 0; }
.rl-vid-wrap { position: relative; flex: none; }
.rl-vid-wrap .rl-more { position: absolute; top: 4px; inset-inline-end: 4px; width: 28px; height: 28px; background: rgba(8, 9, 13, .55); color: #fff; }
.rl-menu { display: flex; flex-direction: column; gap: 4px; }
.rl-menu button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 0 6px; border-radius: 14px; font-size: 15.5px; font-weight: 700; color: #17202c; text-align: start; }
.rl-menu button:active { background: #f2f4f7; }
.rl-menu button.is-bad { color: #d4351c; }
.rl-menu svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.rl-reasons { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; }
.rl-reasons label { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 4px; font-size: 15px; font-weight: 600; }
.rl-reasons input { width: 20px; height: 20px; accent-color: #f0530f; }
.rl-btn.is-bad { background: #d4351c; box-shadow: none; }
.rl-sheet-body > textarea { display: block; width: 100%; padding: 11px 13px; border: 1px solid #dfe3e8; border-radius: 14px; background: #fff; font: inherit; font-size: 15px; color: #17202c; resize: none; outline: 0; }
.rl-sheet-body > textarea:focus { border-color: var(--rl-orange); }

/* ---- Prices: the UAE dirham sign (the <symbol> in reels.php), never "AED" ---- */
.rl-money { display: inline-flex; align-items: baseline; gap: .18em; direction: ltr; unicode-bidi: isolate; white-space: nowrap; }
.rl-page svg.rl-dh { display: inline-block; flex: none; width: .82em; height: .72em; fill: currentColor; stroke: none; align-self: center; }
/* The price is an inline-flex box, which a parent's line-through does not
   cross (nor the sign, an svg), so the old price draws its own line. */
s > .rl-money { position: relative; }
s > .rl-money::after { content: ""; position: absolute; left: -1px; right: -1px; top: 52%; height: 1.5px; background: currentColor; }
.rl-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---- A computer (site owner, 2026-11-19) ----
   >= 768px: the shop's links in a rail at the start side, the feed in the
   middle with arrows beside it, the reel's colours as light behind it, no
   phone tab bar. >= 1024px: the rail shows its labels and the product of the
   reel on screen is shown at the end side. The Begad apps (html.rl-in-app)
   keep their own screen at every size, so every rule here excludes them.
   Only transform and opacity animate; nothing here blurs or uses
   backdrop-filter over the moving video (see "App smoothness", CLAUDE.md). */
.rl-side, .rl-arrows, .rl-panel, .rl-amb { display: none; }
@media (min-width: 768px) {
  html.rl-page:not(.rl-in-app) {
    --rl-side: 84px;
    --rl-panel: 0px;
    --rl-top: 0px;
    --rl-bottom: 0px;
    --rl-nav: 0px;
    --rl-h: calc(100vh - 32px);
    --rl-w: min(calc(var(--rl-h) * 9 / 16), calc(100vw - var(--rl-side) - var(--rl-panel) - 150px), 470px);
    /* Where the feed starts, from the rail's side: centred in the space between rail and panel. */
    --rl-x: calc(var(--rl-side) + (100vw - var(--rl-side) - var(--rl-panel) - var(--rl-w)) / 2);
  }
  html.rl-page:not(.rl-in-app) body { background: radial-gradient(120% 90% at 50% 0%, #1b1420 0%, #07080c 60%) !important; }
  html.rl-page:not(.rl-in-app) .rl-feed { z-index: 1; top: 16px; bottom: 16px; left: auto; right: auto; margin-left: 0; inset-inline-start: var(--rl-x); width: var(--rl-w); border-radius: 22px; background: #08090d; box-shadow: 0 0 0 1px rgba(255, 255, 255, .09), 0 40px 90px -30px rgba(0, 0, 0, .95); }
  html.rl-page:not(.rl-in-app) .rl-nav { display: none; }
  html.rl-page:not(.rl-in-app) .rl-top { top: 16px; left: auto; right: auto; margin-left: 0; inset-inline-start: var(--rl-x); width: var(--rl-w); padding: 12px; }
  html.rl-page:not(.rl-in-app) .rl-top h1, html.rl-page:not(.rl-in-app) .rl-top .rl-make { display: none; }
  html.rl-page:not(.rl-in-app) .rl-sheet { left: auto; right: auto; margin-left: 0; inset-inline-start: var(--rl-x); width: var(--rl-w); bottom: 16px; max-height: calc(var(--rl-h) * .84); border-radius: 24px; }
  html.rl-page:not(.rl-in-app) .rl-toast { left: auto; right: auto; margin-left: 0; inset-inline-start: calc(var(--rl-x) + 14px); width: calc(var(--rl-w) - 28px); bottom: 34px; }
  html.rl-page:not(.rl-in-app) .rl-sound { z-index: 5; top: 78px; left: auto; right: auto; inset-inline-start: var(--rl-x); inset-inline-end: calc(100vw - var(--rl-x) - var(--rl-w)); width: fit-content; margin-inline: auto; transform: none; animation: rl-fade .4s ease both; }
  html.rl-page:not(.rl-in-app) .rl-photo { inset: 70px 18px 200px; }
  html.rl-page:not(.rl-in-app) .rl-bars { top: 58px; }
  html.rl-page:not(.rl-in-app) .rl-tap { cursor: pointer; }

  /* Colour light behind the feed: two 16x9 canvases, stretched (that is the
     blur), cross-faded with opacity when the reel changes. */
  html.rl-page:not(.rl-in-app) .rl-amb { display: block; position: fixed; z-index: 0; inset: 0; overflow: hidden; pointer-events: none; }
  .rl-amb canvas { position: absolute; inset: -8%; width: 116%; height: 116%; opacity: 0; transition: opacity .9s ease; }
  .rl-amb canvas.is-on { opacity: .5; }
  .rl-amb::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 80% at 50% 50%, rgba(7, 8, 12, .15), rgba(7, 8, 12, .86) 75%); }

  /* Rail: the shop's links */
  html.rl-page:not(.rl-in-app) .rl-side { display: flex; flex-direction: column; position: fixed; z-index: 15; top: 0; bottom: 0; inset-inline-start: 0; width: var(--rl-side); padding: 22px 14px 18px; gap: 4px; }
  .rl-logo { display: grid; place-items: center; height: 46px; margin-bottom: 18px; border-radius: 14px; transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
  .rl-logo:hover { transform: rotate(-4deg) scale(1.06); }
  .rl-logo img { display: none; height: 40px; width: auto; }
  .rl-logo img.rl-logo-icon { display: block; height: 38px; }
  .rl-side-nav { display: flex; flex-direction: column; gap: 4px; }
  .rl-side-nav a { display: flex; align-items: center; justify-content: center; gap: 14px; height: 50px; border-radius: 16px; color: rgba(255, 255, 255, .72); font-size: 15px; font-weight: 650; transition: background-color .15s ease, color .15s ease; }
  .rl-side-nav a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .rl-side-nav a i { position: relative; flex: none; width: 26px; height: 26px; display: grid; place-items: center; transition: transform .2s cubic-bezier(.3, 1.6, .5, 1); }
  .rl-side-nav a svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .rl-side-nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
  .rl-side-nav a:hover i { transform: scale(1.14) rotate(-6deg); }
  .rl-side-nav a.is-on { color: #fff; background: var(--rl-grad); box-shadow: 0 12px 26px -12px rgba(240, 83, 15, .95); }
  .rl-side-nav a.is-on svg path { fill: #fff; stroke: #fff; }
  .rl-side-nav a:focus-visible, .rl-side-make:focus-visible, .rl-arrows button:focus-visible, .rl-panel :focus-visible { outline: 2px solid #ffb36b; outline-offset: 2px; }
  .rl-side .rl-badge { top: -7px; left: auto; inset-inline-end: -11px; }
  .rl-side-make { display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; margin-top: 14px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .22); color: #fff; font-size: 14.5px; font-weight: 750; transition: transform .15s ease, background-color .15s ease, border-color .15s ease; }
  .rl-side-make:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .5); transform: translateY(-1px); }
  .rl-side-make:active { transform: scale(.96); }
  .rl-side-make svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; }
  .rl-side-make span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .rl-keys { display: none; margin: auto 4px 0; font-size: 12px; line-height: 1.6; color: rgba(255, 255, 255, .45); }

  /* Up / down arrows beside the feed */
  html.rl-page:not(.rl-in-app) .rl-arrows { display: flex; flex-direction: column; gap: 14px; position: fixed; z-index: 15; top: 50%; inset-inline-start: calc(var(--rl-x) + var(--rl-w) + 22px); transform: translateY(-50%); }
  .rl-arrows button { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .12); transition: transform .18s cubic-bezier(.3, 1.6, .5, 1), background-color .15s ease; }
  .rl-arrows button:hover { background: rgba(255, 255, 255, .2); }
  .rl-arrows button[data-step="-1"]:hover { transform: translateY(-3px); }
  .rl-arrows button[data-step="1"]:hover { transform: translateY(3px); }
  .rl-arrows button:active { transform: scale(.9); }
  .rl-arrows svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
}
@media (min-width: 1024px) {
  html.rl-page:not(.rl-in-app) { --rl-side: 210px; --rl-panel: 340px; }
  .rl-logo { justify-content: start; padding-inline-start: 10px; }
  .rl-logo img { display: block; }
  .rl-logo img.rl-logo-icon { display: none; }
  .rl-side-nav a { justify-content: flex-start; padding-inline-start: 14px; }
  .rl-side-nav a span, .rl-side-make span { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .rl-keys { display: block; }

  /* Panel: the product of the reel on screen */
  html.rl-page:not(.rl-in-app) .rl-panel { display: block; position: fixed; z-index: 15; top: 16px; bottom: 16px; inset-inline-end: 16px; width: calc(var(--rl-panel) - 32px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .2) transparent; border-radius: 24px; background: rgba(17, 18, 25, .9); border: 1px solid rgba(255, 255, 255, .08); -webkit-user-select: text; user-select: text; }
  .rl-pp { display: flex; flex-direction: column; gap: 12px; padding: 16px 16px 20px; }
  .rl-pp.is-in > * { animation: rl-pp-in .42s cubic-bezier(.2, .9, .3, 1) both; }
  .rl-pp.is-in > :nth-child(2) { animation-delay: .03s; }
  .rl-pp.is-in > :nth-child(3) { animation-delay: .06s; }
  .rl-pp.is-in > :nth-child(4) { animation-delay: .09s; }
  .rl-pp.is-in > :nth-child(n+5) { animation-delay: .12s; }
  @keyframes rl-pp-in { from { opacity: 0; transform: translateY(12px); } }
  .rl-pp-photo { position: relative; display: block; aspect-ratio: 1; border-radius: 18px; background: #fff; overflow: hidden; }
  .rl-pp-photo img { width: 100%; height: 100%; object-fit: contain; transition: transform .45s cubic-bezier(.2, .9, .3, 1); }
  .rl-pp-photo:hover img { transform: scale(1.06); }
  .rl-pp-off { position: absolute; top: 12px; inset-inline-start: 12px; padding: 5px 10px; border-radius: 10px; background: linear-gradient(135deg, #ff4d5e, #d81f5b); color: #fff; font-size: 13px; font-weight: 850; transform: rotate(-5deg); box-shadow: 0 10px 18px -10px rgba(216, 31, 91, .9); animation: rl-pop .55s .2s cubic-bezier(.3, 1.7, .5, 1) both; }
  [dir="rtl"] .rl-pp-off { transform: rotate(5deg); }
  .rl-pp-store { margin: 2px 0 0; font-size: 12.5px; color: rgba(255, 255, 255, .6); }
  .rl-pp-store b { color: #fff; font-weight: 700; }
  .rl-pp-name { margin: -6px 0 0; font-size: 16.5px; font-weight: 750; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .rl-pp-name a:hover { color: #ffb36b; }
  .rl-pp-rating { display: flex; align-items: center; gap: 6px; margin-top: -4px; font-size: 12.5px; color: rgba(255, 255, 255, .7); }
  .rl-pp-rating b { color: #fff; font-weight: 800; }
  .rl-pp-rating:hover span { text-decoration: underline; }
  .rl-pp-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
  .rl-pp-price b { font-size: 27px; font-weight: 850; letter-spacing: -.5px; }
  .rl-pp-price s { font-size: 15px; color: rgba(255, 255, 255, .5); }
  .rl-pp-lines { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 13px; font-weight: 600; }
  .rl-pp-lines li { display: flex; align-items: center; gap: 8px; }
  .rl-pp-lines svg { flex: none; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
  .rl-pp-lines .is-good { color: #4be0a1; }
  .rl-pp-lines .is-bad { color: #ff8a7a; }
  .rl-pp-lines .is-deal { color: #ffd166; font-variant-numeric: tabular-nums; }
  .rl-pp-buttons { display: grid; gap: 8px; margin-top: 4px; }
  .rl-pp-cart { position: relative; height: 48px; }
  .rl-pp-add, .rl-pp-step { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 9px; border-radius: 15px; font-size: 15px; font-weight: 800; transition: opacity .2s ease, transform .25s cubic-bezier(.3, 1.6, .5, 1); }
  .rl-pp-add { background: var(--rl-grad); box-shadow: 0 14px 26px -14px rgba(240, 83, 15, .95); }
  .rl-pp-add:hover { transform: translateY(-2px); }
  .rl-pp-add:active { transform: scale(.96); }
  .rl-pp-add svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
  .rl-pp-step { justify-content: space-between; padding: 0 6px; background: linear-gradient(135deg, #34c98a, #12925f); opacity: 0; transform: scale(.9); pointer-events: none; }
  .rl-pp-cart.is-in .rl-pp-add { opacity: 0; transform: scale(.9); pointer-events: none; }
  .rl-pp-cart.is-in .rl-pp-step { opacity: 1; transform: none; pointer-events: auto; }
  .rl-pp-cart.is-busy { opacity: .7; }
  .rl-pp-step > span { display: flex; flex-direction: column; align-items: center; line-height: 1.05; }
  .rl-pp-step b { font-size: 18px; font-variant-numeric: tabular-nums; }
  .rl-pp-step small { font-size: 11px; font-weight: 650; opacity: .9; }
  .rl-pp-step button { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(255, 255, 255, .2); transition: transform .15s ease, background-color .15s ease; }
  .rl-pp-step button:hover { background: rgba(255, 255, 255, .32); }
  .rl-pp-step button:active { transform: scale(.88); }
  .rl-pp-step svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; }
  .rl-pp-buy { display: flex; align-items: center; justify-content: center; height: 48px; border-radius: 15px; background: #fff; color: #17202c !important; font-size: 15px; font-weight: 800; transition: transform .2s cubic-bezier(.3, 1.6, .5, 1); }
  .rl-pp-buy:hover { transform: translateY(-2px); }
  .rl-pp-buy:active { transform: scale(.96); }
  .rl-pp-buy.is-busy { opacity: .6; }
  .rl-pp-view { display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 13.5px; font-weight: 700; color: rgba(255, 255, 255, .78); }
  .rl-pp-view:hover { color: #fff; }
  .rl-pp-view svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
  [dir="rtl"] .rl-pp-view svg { transform: scaleX(-1); }
  .rl-pp-offer { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
  .rl-pp-offer p { margin: 0; font-size: 15px; line-height: 1.5; }
  .rl-pp-offer .rl-pp-buy { align-self: stretch; }
  .rl-pp-more { margin-top: 8px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .08); }
  .rl-pp-more h3 { margin: 0 0 10px; font-size: 14px; font-weight: 800; }
  .rl-pp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .rl-pp-reel { position: relative; aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; background: #1c1e27; transition: transform .22s cubic-bezier(.3, 1.6, .5, 1); }
  .rl-pp-reel:hover { transform: translateY(-3px) scale(1.03); }
  .rl-pp-reel img { width: 100%; height: 100%; object-fit: cover; }
  .rl-pp-reel i { position: absolute; top: 6px; inset-inline-end: 6px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .5); }
  .rl-pp-reel i svg { width: 12px; height: 12px; fill: #fff; }
  .rl-pp-reel > span { position: absolute; inset-inline-start: 5px; bottom: 5px; padding: 2px 6px; border-radius: 7px; background: rgba(0, 0, 0, .62); font-size: 11px; font-weight: 800; }

  /* The panel shows the product, so the card at the bottom of the video
     does not repeat it; the Buy button, caption and side buttons stay. */
  html.rl-page:not(.rl-in-app) .rl-slide .rl-product, html.rl-page:not(.rl-in-app) .rl-slide .rl-tags { display: none; }
}
@media (min-width: 1280px) {
  html.rl-page:not(.rl-in-app) { --rl-side: 240px; --rl-panel: 380px; }
}
@media (min-width: 768px) and (prefers-reduced-motion: reduce) {
  .rl-pp.is-in > *, .rl-pp-off { animation: none; }
}
