/* Reelbook chrome: utility bar, mega menu, rich footer. All pages. Classes rb-util*, rb-mega*, rb-mm*, rb-ft*. */

/* ---------- utility bar ---------- */
.rb-util { background: #0b2a20; color: #d9d2bf; font-size: 0.82rem; }
.rb-util__in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.25rem 1rem; min-height: 34px; padding-top: 0.2rem; padding-bottom: 0.2rem; }
.rb-util p { margin: 0; }
.rb-util a { color: var(--rb-gold-soft); text-decoration: none; }
.rb-util a:hover { color: #fff; text-decoration: underline; }
.rb-util__18 { display: inline-grid; place-items: center; min-width: 1.9rem; height: 1.25rem; margin-right: 0.35rem; border: 1.5px solid var(--rb-gold); border-radius: 999px; color: var(--rb-gold); font-weight: 700; font-size: 0.72rem; }
.rb-util__rg a { font-weight: 700; white-space: nowrap; }
.rb-util__links { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.1rem; }
@media (max-width: 700px) { .rb-util__links { display: none; } }

/* ---------- masthead with mega menu ---------- */
.rb-masthead--mega { position: relative; z-index: 40; }
.rb-masthead--mega .rb-masthead__in { flex-wrap: nowrap; }
.rb-mega__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0.1rem; }
.rb-mega__item { display: flex; align-items: center; }
.rb-mega__top { display: block; padding: 0.55rem 0.15rem 0.55rem 0.6rem; color: var(--rb-paper); text-decoration: none; font-weight: 700; font-size: 0.95rem; white-space: nowrap; border-radius: 6px 0 0 6px; }
.rb-mega__top:hover, .rb-mega__item.is-cur > .rb-mega__top { color: #fff; box-shadow: inset 0 -3px 0 var(--rb-gold); }
.rb-mega__btn { display: inline-grid; place-items: center; width: 1.6rem; height: 2.2rem; padding: 0; margin: 0 0.2rem 0 0; border: 0; background: transparent; color: var(--rb-gold-soft); cursor: pointer; border-radius: 6px; }
.rb-mega__btn::before { content: ""; width: 0.45rem; height: 0.45rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.15s; }
.rb-mega__btn[aria-expanded="true"]::before { transform: translateY(2px) rotate(-135deg); }
.rb-mega__btn:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.rb-mega__item.is-open > .rb-mega__top { color: #fff; }

/* desktop panel */
@media (min-width: 1100px) {
	.rb-mega__panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--rb-sheet); color: var(--rb-ink); border-bottom: 4px solid var(--rb-gold); box-shadow: 0 18px 40px rgba(11, 42, 32, 0.22); padding: 1.4rem 0 1.6rem; }
	.rb-mega__panel[hidden] { display: none; }
	.rb-mm { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) 17rem; gap: 1.5rem 2.25rem; align-items: start; }
	.rb-mm--reviews { grid-template-columns: minmax(0, 1fr) 17rem; }
	.rb-mm--slots { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr) 17rem; }
}

/* panel content */
.rb-mm a { color: var(--rb-ink); }
.rb-mm__h { margin: 0 0 0.55rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--rb-green-2); }
.rb-mm__col ul, .rb-mm__col ol { list-style: none; margin: 0; padding: 0; }
.rb-mm__col > ul > li > a { display: block; padding: 0.32rem 0; font-weight: 700; text-decoration: none; border-bottom: 1px dashed var(--rb-line); }
.rb-mm__col > ul > li > a:hover { color: var(--rb-green-2); text-decoration: underline; }
.rb-mm__two ul { columns: 2; column-gap: 1.5rem; }
.rb-mm__two li { break-inside: avoid; }
.rb-mm__top li { display: grid; grid-template-columns: 1.3rem 36px 1fr auto; align-items: center; gap: 0.55rem; padding: 0.35rem 0; border-bottom: 1px dashed var(--rb-line); }
.rb-mm__top a { font-weight: 700; text-decoration: none; }
.rb-mm__top a:hover { text-decoration: underline; }
.rb-mm__top b { font: 600 1.1rem var(--rb-display); color: var(--rb-green); }
.rb-mm__pos { font: 600 0.95rem var(--rb-display); color: var(--rb-muted); }
.rb-mm__brands { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); gap: 0.4rem; }
.rb-mm__brands a { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 0.5rem; padding: 0.35rem 0.5rem; border: 1px solid var(--rb-line); border-radius: 8px; background: #fff; text-decoration: none; font-weight: 700; font-size: 0.9rem; }
.rb-mm__brands a:hover { border-color: var(--rb-green-2); box-shadow: 0 3px 0 var(--rb-gold); }
.rb-mm__brands b { font: 600 0.95rem var(--rb-display); color: var(--rb-green); }
.rb-mm__offers li { display: grid; grid-template-columns: 36px 1fr; gap: 0.6rem; align-items: center; padding: 0.4rem 0; border-bottom: 1px dashed var(--rb-line); }
.rb-mm__offers a { font-weight: 700; }
.rb-mm__offers small { display: block; color: var(--rb-muted); line-height: 1.3; }
.rb-mm__small { margin: 0.5rem 0 0; font-size: 0.78rem; color: var(--rb-muted); }
.rb-mm__draws li { padding: 0.4rem 0 0.55rem; border-bottom: 1px dashed var(--rb-line); }
.rb-mm__dt { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 0.25rem; }
.rb-mm__dt small { font-weight: 400; color: var(--rb-muted); }
.rb-mm__note p:last-child { margin: 0; padding: 0.8rem 0.9rem; border-left: 4px solid var(--rb-gold); background: var(--rb-gold-soft); border-radius: 0 8px 8px 0; font-size: 0.9rem; }
.rb-mm__card { display: block; border: 1px solid var(--rb-line); border-radius: 10px; overflow: hidden; background: #fff; text-decoration: none; }
.rb-mm__card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.rb-mm__card-t { display: block; padding: 0.6rem 0.8rem 0.1rem; font: 600 1.05rem var(--rb-display); color: var(--rb-green); }
.rb-mm__card-t::after { content: " \203A"; color: var(--rb-gold); }
.rb-mm__card-d { display: block; padding: 0 0.8rem 0.75rem; font-size: 0.85rem; color: var(--rb-muted); line-height: 1.4; }
.rb-mm__card:hover .rb-mm__card-t { text-decoration: underline; }

/* ---------- small screens: hamburger + accordion ---------- */
@media (max-width: 1099px) {
	.rb-masthead--mega .rb-masthead__in { flex-wrap: wrap; }
	.rb-js .rb-masthead--mega .rb-nav__toggle:not([hidden]) { display: inline-flex; }
	.rb-js .rb-masthead--mega .rb-nav { flex: 0 0 auto; }
	.rb-js .rb-masthead--mega .rb-nav__panel { display: none; }
	.rb-js .rb-masthead--mega .rb-nav.is-open { flex: 1 0 100%; flex-direction: column; }
	.rb-js .rb-masthead--mega .rb-nav.is-open .rb-nav__toggle { align-self: flex-end; }
	.rb-js .rb-masthead--mega .rb-nav.is-open .rb-nav__panel { display: block; width: 100%; padding: 0.5rem 0 0.25rem; }
	.rb-mega__list { flex-direction: column; align-items: stretch; }
	.rb-mega__item { flex-wrap: wrap; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
	.rb-mega__top { flex: 1; padding: 0.8rem 0.4rem; font-size: 1.02rem; }
	.rb-mega__btn { width: 44px; height: 44px; margin: 0; }
	.rb-mega__panel { flex: 1 0 100%; padding: 0.25rem 0 0.9rem; }
	.rb-mega__panel[hidden] { display: none; }
	.rb-mega__panel .rb-wrap { padding: 0; }
	.rb-mm { display: block; }
	.rb-mm__feat, .rb-mm__side { display: none; }
	.rb-mm__h { color: var(--rb-gold-soft); margin-top: 0.4rem; }
	.rb-mm a { color: var(--rb-paper); }
	.rb-mm__col > ul > li > a { padding: 0.55rem 0.4rem; border-bottom-color: rgba(255, 255, 255, 0.12); font-weight: 400; }
	.rb-mm__two ul { columns: 1; }
	.rb-mm__brands { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rb-mm__brands a { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.15); color: var(--rb-paper); }
	.rb-mm__brands b { color: var(--rb-gold); }
}

/* ---------- rich footer ---------- */
.rb-ft { padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid rgba(231, 224, 207, 0.2); }
.rb-ft__band { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1.5rem 3rem; align-items: start; padding-bottom: 1.75rem; border-bottom: 1px solid rgba(231, 224, 207, 0.2); }
.rb-ft__logo { display: block; width: 240px; max-width: 100%; height: auto; margin-bottom: 0.75rem; }
.rb-ft__name { font: 600 1.6rem var(--rb-display); color: #fff; margin: 0 0 0.6rem; }
.rb-ft__about { margin: 0 0 0.6rem; max-width: 34rem; font-size: 0.95rem; }
.rb-ft__stamp { display: inline-block; margin: 0; padding: 0.2rem 0.7rem; border: 1.5px dashed var(--rb-gold); border-radius: 999px; color: var(--rb-gold); font-size: 0.8rem; font-weight: 700; }
.rb-ft__chk { padding: 1rem 1.1rem; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(231, 224, 207, 0.25); border-radius: 12px; }
.rb-ft__chk label { display: block; font: 600 1.15rem var(--rb-display); color: #fff; margin-bottom: 0.6rem; }
.rb-ft__row { display: flex; gap: 0.5rem; }
.rb-ft__row input { flex: 1; min-width: 0; min-height: 44px; padding: 0.5rem 0.8rem; border: 2px solid var(--rb-gold); border-radius: 10px; background: #fffdf8; color: var(--rb-ink); font: 400 1rem var(--rb-text); }
.rb-ft__chk p { margin: 0.5rem 0 0; font-size: 0.8rem; color: #b9b29f; }
.rb-ft__cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; padding: 1.75rem 0; }
.rb-ft__h { margin: 0 0 0.6rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--rb-gold); }
.rb-ft__cols ul { list-style: none; margin: 0; padding: 0; }
.rb-ft__cols li a { display: inline-flex; align-items: center; min-height: 34px; color: #e7e0cf; text-decoration: none; font-size: 0.93rem; }
.rb-ft__cols li a:hover { color: #fff; text-decoration: underline; }
.rb-ft__ref { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.25rem 3rem; padding-top: 1.25rem; border-top: 1px solid rgba(231, 224, 207, 0.2); }
.rb-ft__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.rb-ft__chips li { display: inline-flex; }
.rb-ft__chips a, .rb-ft__chips--pay li { display: inline-flex; align-items: center; min-height: 34px; padding: 0.25rem 0.75rem; border: 1px solid rgba(231, 224, 207, 0.3); border-radius: 999px; font-size: 0.85rem; text-decoration: none; }
.rb-ft__chips--pay li { color: #e7e0cf; background: rgba(255, 255, 255, 0.05); }
.rb-ft + .rb-nrgp--foot { margin-top: 0; }
@media (max-width: 900px) {
	.rb-ft__band, .rb-ft__ref { grid-template-columns: 1fr; }
	.rb-ft__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* brand tiles: beat the generic ".rb-mm__col > ul > li > a" rule */
.rb-mm__col > .rb-mm__brands > li > a { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 0.5rem; padding: 0.35rem 0.5rem; border: 1px solid var(--rb-line); border-radius: 8px; font-weight: 700; }
.rb-mm__brands span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rb-mm__brands .rb-badge { width: 36px; height: 36px; }
@media (max-width: 1099px) {
	.rb-mm__col > .rb-mm__brands > li > a { border-color: rgba(255, 255, 255, 0.15); padding: 0.35rem 0.5rem; }
}

/* footer payment logos */
.rb-ft__pay { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.rb-ft__pay .rb-pl { display: inline-flex; align-items: center; gap: 0.4rem; height: 42px; padding: 6px 12px; border-radius: 8px; background: #fffdf8; border: 1px solid rgba(231, 224, 207, 0.4); color: var(--rb-green); font-size: 0.85rem; font-weight: 700; }
.rb-ft__pay .rb-pl img { width: auto; height: 100%; max-width: 96px; object-fit: contain; }
.rb-ft__pay .rb-pl--dark { background: #0b2a20; border-color: rgba(231, 224, 207, 0.3); }
.rb-ft__pay .rb-pl--payshap img { height: 26px; border-radius: 5px; }
.rb-ft__pay .rb-pl--visa img { height: 18px; }
.rb-ft__pay .rb-pl--capitec img { height: 22px; }
.rb-ft__paylink { margin: 0.6rem 0 0; font-size: 0.85rem; }

/* ---------- image viewer ---------- */
.rb-zoomable, .rb-zoomable img { cursor: zoom-in; }
img.rb-zoomable:hover, a.rb-zoomable:hover img { opacity: .92; }
html.rb-zv-open { overflow: hidden; }
.rb-zv { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: rgba(8, 20, 15, 0.97); padding: 3.5rem 4.5rem 3rem; }
.rb-zv[hidden] { display: none; }
.rb-zv__stage { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; width: 100%; height: 100%; }
.rb-zv__img { display: block; max-width: 100%; max-height: calc(100vh - 9rem); width: auto; height: auto; object-fit: contain; border-radius: 8px; background: #fffdf8; box-shadow: 0 10px 40px rgba(0, 0, 0, .45); }
.rb-zv__cap { margin: 0; max-width: 60rem; color: #e7e0cf; font-size: .95rem; line-height: 1.4; text-align: center; }
.rb-zv__count { position: absolute; left: 1rem; top: 1rem; margin: 0; color: #e7e0cf; font-size: .9rem; font-variant-numeric: tabular-nums; }
.rb-zv__btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; }
.rb-zv__btn:hover { background: var(--rb-gold); color: var(--rb-ink); }
.rb-zv__btn:focus-visible { outline: 3px solid var(--rb-gold); outline-offset: 2px; }
.rb-zv__btn[hidden] { display: none; }
.rb-zv__close { right: 1rem; top: 1rem; }
.rb-zv__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.rb-zv__next { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) {
	.rb-zv { padding: 3.75rem .75rem 4.5rem; }
	.rb-zv__img { max-height: calc(100vh - 11rem); }
	.rb-zv__prev, .rb-zv__next { top: auto; bottom: 1rem; transform: none; }
	.rb-zv__prev { left: calc(50% - 60px); }
	.rb-zv__next { right: calc(50% - 60px); }
}
