/* ==========================================================================
   Relive Health — chrome & shared components
   ========================================================================== */

/* --- Announcement bar ----------------------------------------------------- */

.rl-announce {
	background: var(--rl-slate-900);
	color: #fff;
	font-size: var(--rl-step--1);
	text-align: center;
	padding: 0.6rem var(--rl-gutter);
	position: relative;
	z-index: 60;
}
.rl-announce a {
	color: var(--rl-blue);
	font-weight: 600;
}
.rl-announce__list {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.rl-announce__list li {
	margin: 0;
	display: none;
	align-items: center;
	gap: 0.45em;
}
.rl-announce__list li:first-child {
	display: flex;
}
@media (min-width: 860px) {
	.rl-announce__list li {
		display: flex;
	}
}

/* --- Header --------------------------------------------------------------- */

.rl-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: saturate(180%) blur(12px);
	-webkit-backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color var(--rl-dur) var(--rl-ease), box-shadow var(--rl-dur) var(--rl-ease);
}
.rl-header.is-stuck {
	border-bottom-color: var(--rl-line);
	box-shadow: var(--rl-shadow-sm);
}

.rl-header__inner {
	display: flex;
	align-items: center;
	gap: var(--rl-4);
	height: var(--rl-header-h);
	max-width: var(--rl-wrap-wide);
	margin-inline: auto;
	padding-inline: var(--rl-gutter);
}

.rl-logo {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	margin-right: auto;
}
.rl-logo img,
.rl-logo svg {
	height: 34px;
	width: auto;
}
@media (min-width: 1024px) {
	.rl-logo img,
	.rl-logo svg {
		height: 40px;
	}
}

/* Primary nav (desktop) */
.rl-nav {
	display: none;
}
@media (min-width: 1024px) {
	.rl-nav {
		display: block;
		margin-right: auto;
		margin-left: var(--rl-5);
	}
	.rl-logo {
		margin-right: 0;
	}
}
.rl-nav ul {
	display: flex;
	align-items: center;
	gap: var(--rl-5);
	list-style: none;
	margin: 0;
	padding: 0;
}
.rl-nav li {
	margin: 0;
	position: relative;
}
.rl-nav a {
	display: block;
	padding: 0.6rem 0;
	font-size: var(--rl-step--1);
	font-weight: 500;
	color: var(--rl-slate-900);
	text-decoration: none;
	white-space: nowrap;
}
.rl-nav a:hover,
.rl-nav .current-menu-item > a {
	color: var(--rl-blue-ink);
}
.rl-nav .menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	margin-left: 0.4em;
	border: 4px solid transparent;
	border-top-color: currentColor;
	transform: translateY(2px);
}
.rl-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: -1rem;
	min-width: 230px;
	background: #fff;
	border: 1px solid var(--rl-line);
	border-radius: var(--rl-r-md);
	box-shadow: var(--rl-shadow-lg);
	padding: 0.5rem;
	display: block;
	flex-direction: column;
	gap: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: all var(--rl-dur) var(--rl-ease);
}
.rl-nav li:hover > .sub-menu,
.rl-nav li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.rl-nav .sub-menu a {
	padding: 0.6rem 0.85rem;
	border-radius: var(--rl-r-sm);
}
.rl-nav .sub-menu a:hover {
	background: var(--rl-slate-050);
}

/* Header actions */
.rl-header__actions {
	display: flex;
	align-items: center;
	gap: var(--rl-2);
	flex: 0 0 auto;
}
.rl-header__cta {
	display: none;
}
@media (min-width: 760px) {
	.rl-header__cta {
		display: inline-flex;
	}
}

.rl-iconbtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 0;
	background: transparent;
	border-radius: var(--rl-r-pill);
	color: var(--rl-slate-900);
	cursor: pointer;
	position: relative;
	text-decoration: none;
	transition: background-color var(--rl-dur) var(--rl-ease);
}
.rl-iconbtn:hover {
	background: var(--rl-slate-050);
	color: var(--rl-slate-900);
}
.rl-iconbtn svg {
	width: 22px;
	height: 22px;
}

.rl-cart-count {
	position: absolute;
	top: 4px;
	right: 2px;
	min-width: 19px;
	height: 19px;
	padding: 0 5px;
	border-radius: var(--rl-r-pill);
	background: var(--rl-blue);
	color: var(--rl-black);
	font-size: 11px;
	font-weight: 700;
	line-height: 19px;
	text-align: center;
}
.rl-cart-count[data-count="0"] {
	display: none;
}

.rl-burger {
	display: inline-flex;
}
@media (min-width: 1024px) {
	.rl-burger {
		display: none;
	}
}

/* --- Mobile drawer nav ---------------------------------------------------- */

.rl-mobilenav {
	position: fixed;
	inset: 0;
	z-index: 90;
	visibility: hidden;
	pointer-events: none;
}
.rl-mobilenav.is-open {
	visibility: visible;
	pointer-events: auto;
}
.rl-mobilenav__scrim {
	position: absolute;
	inset: 0;
	background: rgba(34, 51, 66, 0.5);
	opacity: 0;
	transition: opacity var(--rl-dur) var(--rl-ease);
}
.rl-mobilenav.is-open .rl-mobilenav__scrim {
	opacity: 1;
}
.rl-mobilenav__panel {
	position: absolute;
	inset: 0 0 0 auto;
	width: min(400px, 88vw);
	background: #fff;
	display: flex;
	flex-direction: column;
	transform: translateX(100%);
	transition: transform var(--rl-dur) var(--rl-ease);
	overflow-y: auto;
	overscroll-behavior: contain;
}
.rl-mobilenav.is-open .rl-mobilenav__panel {
	transform: translateX(0);
}
.rl-mobilenav__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: var(--rl-4);
	border-bottom: 1px solid var(--rl-line);
}
.rl-mobilenav__body {
	padding: var(--rl-4);
	flex: 1;
}
.rl-mobilenav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.rl-mobilenav li {
	margin: 0;
}
.rl-mobilenav > .rl-mobilenav__panel a {
	color: var(--rl-slate-900);
	text-decoration: none;
}
.rl-mobilenav__body > ul > li > a {
	display: block;
	font-family: var(--rl-font-display);
	font-size: var(--rl-step-2);
	font-weight: 700;
	padding: 0.7rem 0;
}
.rl-mobilenav .sub-menu {
	padding: 0 0 0.75rem 0.25rem;
	border-left: 2px solid var(--rl-slate-100);
	margin-left: 0.1rem;
}
.rl-mobilenav .sub-menu a {
	display: block;
	padding: 0.45rem 0.9rem;
	font-size: var(--rl-step-0);
	color: var(--rl-ink-2);
}
.rl-mobilenav__foot {
	padding: var(--rl-4);
	border-top: 1px solid var(--rl-line);
	background: var(--rl-surface-2);
	display: grid;
	gap: var(--rl-2);
}

/* --- Cart drawer ---------------------------------------------------------- */

.rl-cartdrawer {
	position: fixed;
	inset: 0;
	z-index: 95;
	visibility: hidden;
	pointer-events: none;
}
.rl-cartdrawer.is-open {
	visibility: visible;
	pointer-events: auto;
}
.rl-cartdrawer__scrim {
	position: absolute;
	inset: 0;
	background: rgba(34, 51, 66, 0.5);
	opacity: 0;
	transition: opacity var(--rl-dur) var(--rl-ease);
}
.rl-cartdrawer.is-open .rl-cartdrawer__scrim {
	opacity: 1;
}
.rl-cartdrawer__panel {
	position: absolute;
	inset: 0 0 0 auto;
	width: min(440px, 92vw);
	background: #fff;
	display: flex;
	flex-direction: column;
	transform: translateX(100%);
	transition: transform var(--rl-dur) var(--rl-ease);
}
.rl-cartdrawer.is-open .rl-cartdrawer__panel {
	transform: translateX(0);
}
.rl-cartdrawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: var(--rl-4) var(--rl-5);
	border-bottom: 1px solid var(--rl-line);
}
.rl-cartdrawer__head h2 {
	margin: 0;
	font-size: var(--rl-step-1);
}
/* The AJAX fragment re-renders this wrapper, so it sits between the panel and
   the body/foot — it has to carry the flex chain or the footer floats
   mid-panel instead of pinning to the bottom. */
.rl-cartdrawer__inner {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-height: 0;
}
.rl-cartdrawer__body {
	flex: 1;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: var(--rl-4) var(--rl-5);
}
.rl-cartdrawer__foot {
	border-top: 1px solid var(--rl-line);
	padding: var(--rl-4) var(--rl-5) var(--rl-5);
	background: var(--rl-surface-2);
	display: grid;
	gap: var(--rl-3);
}
.rl-cartdrawer__empty {
	text-align: center;
	padding: var(--rl-8) 0;
	color: var(--rl-ink-3);
}

/* Quick add-ons. Sits between the item list and the totals so it reads as part
   of the order rather than as an ad. */
.rl-quickadd {
	border-top: 1px solid var(--rl-line);
	padding: var(--rl-4) var(--rl-5);
	display: grid;
	gap: var(--rl-3);
}
.rl-quickadd__title {
	font-family: var(--rl-font-display);
	font-size: var(--rl-step--1);
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--rl-ink-3);
	margin: 0;
}
.rl-quickadd__item {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) auto;
	align-items: center;
	gap: var(--rl-3);
}
.rl-quickadd__img {
	width: 44px;
	height: 44px;
	border-radius: var(--rl-r-sm);
	overflow: hidden;
	background: linear-gradient(180deg, #404966, #6d7a9a);
}
.rl-quickadd__img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 3px;
}
.rl-quickadd__text {
	display: grid;
	gap: 2px;
	min-width: 0;
}
.rl-quickadd__name {
	font-size: var(--rl-step--1);
	font-weight: 500;
	color: var(--rl-slate-900);
	line-height: 1.3;
}
.rl-quickadd__price {
	font-size: var(--rl-step--2);
	color: var(--rl-ink-3);
}
.rl-quickadd__price .amount {
	color: inherit;
}
.rl-quickadd__btn {
	--btn-bg: transparent;
	--btn-fg: var(--rl-slate-900);
	--btn-bd: var(--rl-slate-200);
	min-height: 36px;
	padding: 0.45em 1.1em;
	white-space: nowrap;
}
.rl-quickadd__btn:hover {
	background: var(--rl-slate-900);
	border-color: var(--rl-slate-900);
	color: #fff;
}
/* Woo's add-to-cart.js toggles these while the request is in flight. */
.rl-quickadd__btn.loading {
	opacity: 0.6;
	pointer-events: none;
}
.rl-quickadd__btn.added {
	display: none;
}
.rl-quickadd .added_to_cart {
	display: none;
}
.rl-cartdrawer.is-busy .rl-cartdrawer__body {
	opacity: 0.5;
	pointer-events: none;
}

.rl-miniitem {
	display: grid;
	grid-template-columns: 68px 1fr auto;
	gap: var(--rl-3);
	padding: var(--rl-3) 0;
	border-bottom: 1px solid var(--rl-line);
	align-items: start;
}
.rl-miniitem:last-child {
	border-bottom: 0;
}
.rl-miniitem__img img {
	border-radius: var(--rl-r-sm);
	background: var(--rl-surface-2);
	aspect-ratio: 1;
	object-fit: cover;
}
.rl-miniitem__name {
	font-weight: 600;
	font-size: var(--rl-step--1);
	line-height: 1.35;
	color: var(--rl-slate-900);
	text-decoration: none;
	display: block;
}
.rl-miniitem__meta {
	font-size: var(--rl-step--2);
	color: var(--rl-ink-3);
	margin-top: 0.15rem;
}
.rl-miniitem__price {
	font-weight: 600;
	font-size: var(--rl-step--1);
	white-space: nowrap;
}
.rl-miniitem__remove {
	background: none;
	border: 0;
	padding: 0;
	font-size: var(--rl-step--2);
	color: var(--rl-ink-3);
	text-decoration: underline;
	cursor: pointer;
	margin-top: 0.35rem;
}
.rl-miniitem__remove:hover {
	color: var(--rl-danger);
}

.rl-cart-subtotal {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	font-weight: 600;
	font-size: var(--rl-step-1);
	color: var(--rl-slate-900);
}

/* --- Trust bar ------------------------------------------------------------ */

.rl-trustbar {
	background: var(--rl-surface-2);
	border-bottom: 1px solid var(--rl-line);
	padding-block: var(--rl-4);
}
.rl-trustbar__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--rl-3) var(--rl-5);
}
@media (min-width: 860px) {
	.rl-trustbar__grid {
		grid-template-columns: repeat(4, 1fr);
	}
}
/* Align to the first line, not the centre of the block — these labels wrap to
   two lines on narrow screens, and centring floated the icon between them. */
.rl-trustitem {
	display: flex;
	gap: var(--rl-2);
	align-items: flex-start;
}
.rl-trustitem .rl-icon {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
	margin-top: 0.05em;
	color: var(--rl-blue-ink);
}
.rl-trustitem__t {
	font-size: var(--rl-step--2);
	font-weight: 500;
	color: var(--rl-ink-2);
	line-height: 1.35;
}

/* --- Steps / process ------------------------------------------------------ */

.rl-steps {
	counter-reset: rlstep;
	display: grid;
	gap: var(--rl-5);
}
@media (min-width: 860px) {
	.rl-steps--4 {
		grid-template-columns: repeat(4, 1fr);
	}
	.rl-steps--3 {
		grid-template-columns: repeat(3, 1fr);
	}
}
/* Editorial index stacking: rule, then number, then title, then body. The
   rule sits above the number rather than beside it so nothing collides at
   any type size. */
.rl-step {
	position: relative;
	counter-increment: rlstep;
	padding-top: 3.1rem;
}
.rl-step::before {
	content: counter(rlstep, decimal-leading-zero);
	position: absolute;
	top: 0.85rem;
	left: 0;
	font-family: var(--rl-font-display);
	font-size: var(--rl-step-1);
	font-weight: 700;
	line-height: 1;
	color: var(--rl-blue-ink);
	letter-spacing: 0.06em;
}
.rl-step::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: var(--rl-blue);
	border-radius: 2px;
}
.rl-step h3 {
	font-size: var(--rl-step-1);
	margin-bottom: var(--rl-2);
}
.rl-on-dark .rl-step::before {
	color: var(--rl-blue);
}
.rl-on-dark .rl-step::after {
	background: rgba(57, 188, 221, 0.45);
}
.rl-step p {
	font-size: var(--rl-step--1);
	color: var(--rl-ink-2);
	margin: 0;
}
.rl-on-dark .rl-step p {
	color: rgba(255, 255, 255, 0.78);
}

/* --- Accordion / FAQ ------------------------------------------------------ */

.rl-accordion {
	border-top: 1px solid var(--rl-line);
}
.rl-accordion__item {
	border-bottom: 1px solid var(--rl-line);
}
.rl-accordion__btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--rl-4);
	width: 100%;
	background: none;
	border: 0;
	padding: 1.15rem 0;
	font-family: var(--rl-font-body);
	font-size: var(--rl-step-0);
	font-weight: 600;
	color: var(--rl-slate-900);
	text-align: left;
	cursor: pointer;
	line-height: 1.4;
}
.rl-accordion__btn:hover {
	color: var(--rl-blue-ink);
}
.rl-accordion__icon {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	position: relative;
}
.rl-accordion__icon::before,
.rl-accordion__icon::after {
	content: "";
	position: absolute;
	inset: 50% 0 auto 0;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: transform var(--rl-dur) var(--rl-ease);
}
.rl-accordion__icon::after {
	transform: rotate(90deg);
}
.rl-accordion__btn[aria-expanded="true"] .rl-accordion__icon::after {
	transform: rotate(0deg);
}
.rl-accordion__panel {
	display: none;
	padding-bottom: 1.25rem;
	color: var(--rl-ink-2);
	font-size: var(--rl-step--1);
	max-width: 68ch;
}
.rl-accordion__panel.is-open {
	display: block;
}
.rl-accordion__panel > :last-child {
	margin-bottom: 0;
}

/* --- Testimonials --------------------------------------------------------- */

.rl-quote {
	background: #fff;
	border: 1px solid var(--rl-line);
	border-radius: var(--rl-r-lg);
	padding: var(--rl-5);
	display: flex;
	flex-direction: column;
	gap: var(--rl-3);
	height: 100%;
}
.rl-quote__stars {
	color: var(--rl-blue-600);
	letter-spacing: 0.1em;
	font-size: var(--rl-step--1);
}
.rl-quote blockquote {
	margin: 0;
	font-size: var(--rl-step-0);
	line-height: 1.6;
	color: var(--rl-ink);
}
.rl-quote figcaption {
	font-size: var(--rl-step--2);
	color: var(--rl-ink-3);
	margin-top: auto;
}
.rl-quote figcaption b {
	color: var(--rl-slate-900);
	display: block;
	font-size: var(--rl-step--1);
}

/* --- Stat row ------------------------------------------------------------- */

.rl-stat {
	text-align: center;
}
.rl-stat__n {
	display: block;
	font-family: var(--rl-font-display);
	font-size: var(--rl-step-4);
	font-weight: 700;
	line-height: 1;
	color: var(--rl-blue);
}
.rl-stat__l {
	display: block;
	font-size: var(--rl-step--1);
	color: rgba(255, 255, 255, 0.75);
	margin-top: var(--rl-2);
}

/* --- Notices -------------------------------------------------------------- */

.rl-notice {
	display: flex;
	gap: var(--rl-3);
	padding: var(--rl-4);
	border-radius: var(--rl-r-md);
	font-size: var(--rl-step--1);
	line-height: 1.55;
	background: var(--rl-blue-050);
	color: var(--rl-blue-900);
	border: 1px solid var(--rl-blue-200);
}
.rl-notice svg {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin-top: 2px;
}
.rl-notice--warn {
	background: var(--rl-warn-bg);
	color: var(--rl-warn);
	border-color: #f0dcb8;
}
.rl-notice--ok {
	background: var(--rl-success-bg);
	color: var(--rl-success);
	border-color: #bfe5d6;
}
.rl-notice--err {
	background: var(--rl-danger-bg);
	color: var(--rl-danger);
	border-color: #f3c9c6;
}
.rl-notice p:last-child {
	margin-bottom: 0;
}

/* --- Footer --------------------------------------------------------------- */

.rl-footer {
	background: var(--rl-slate-900);
	color: rgba(255, 255, 255, 0.72);
	padding-block: var(--rl-8) var(--rl-5);
	font-size: var(--rl-step--1);
}
.rl-footer__grid {
	display: grid;
	gap: var(--rl-6);
	grid-template-columns: 1fr;
}
@media (min-width: 700px) {
	.rl-footer__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (min-width: 1000px) {
	.rl-footer__grid {
		grid-template-columns: 1.6fr repeat(3, 1fr);
		gap: var(--rl-7);
	}
}
.rl-footer h3 {
	font-size: var(--rl-step--1);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #fff;
	margin-bottom: var(--rl-4);
}
.rl-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.rl-footer li {
	margin-bottom: 0.6rem;
}
.rl-footer a {
	color: rgba(255, 255, 255, 0.72);
	text-decoration: none;
}
.rl-footer a:hover {
	color: #fff;
	text-decoration: underline;
}
.rl-footer__logo img {
	height: 40px;
	width: auto;
	margin-bottom: var(--rl-4);
}
.rl-footer__legal {
	margin-top: var(--rl-7);
	padding-top: var(--rl-5);
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	display: flex;
	flex-wrap: wrap;
	gap: var(--rl-3) var(--rl-5);
	justify-content: space-between;
	align-items: flex-start;
	font-size: var(--rl-step--2);
	color: rgba(255, 255, 255, 0.55);
}
.rl-footer__legal ul {
	display: flex;
	flex-wrap: wrap;
	gap: var(--rl-4);
}
.rl-footer__legal li {
	margin: 0;
}
.rl-footer__disclaimer {
	max-width: 78ch;
	line-height: 1.6;
}

/* --- Newsletter ----------------------------------------------------------- */

.rl-subscribe {
	display: flex;
	gap: var(--rl-2);
	margin-top: var(--rl-3);
	flex-wrap: wrap;
}
.rl-subscribe input[type="email"] {
	flex: 1 1 190px;
	background: rgba(255, 255, 255, 0.07);
	border-color: rgba(255, 255, 255, 0.22);
	color: #fff;
}
.rl-subscribe input::placeholder {
	color: rgba(255, 255, 255, 0.45);
}

/* --- Sticky mobile buy bar ------------------------------------------------ */

.rl-stickybuy {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 45;
	background: rgba(255, 255, 255, 0.97);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-top: 1px solid var(--rl-line);
	padding: 0.65rem var(--rl-gutter) calc(0.65rem + env(safe-area-inset-bottom));
	display: flex;
	align-items: center;
	gap: var(--rl-3);
	transform: translateY(110%);
	transition: transform var(--rl-dur) var(--rl-ease);
}
.rl-stickybuy.is-visible {
	transform: translateY(0);
}
.rl-stickybuy__info {
	min-width: 0;
	flex: 1;
}
.rl-stickybuy__name {
	display: block;
	font-weight: 600;
	font-size: var(--rl-step--1);
	color: var(--rl-slate-900);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.rl-stickybuy__price {
	display: block;
	font-size: var(--rl-step--2);
	color: var(--rl-ink-3);
}
.rl-stickybuy .rl-btn {
	flex: 0 0 auto;
}
@media (min-width: 1024px) {
	.rl-stickybuy {
		display: none;
	}
}

/* --- Breadcrumbs ---------------------------------------------------------- */

.rl-breadcrumb,
.woocommerce-breadcrumb {
	font-size: var(--rl-step--2);
	color: var(--rl-ink-3);
	padding-block: var(--rl-4) 0;
}
.rl-breadcrumb a,
.woocommerce-breadcrumb a {
	color: var(--rl-ink-3);
	text-decoration: none;
}
.rl-breadcrumb a:hover,
.woocommerce-breadcrumb a:hover {
	color: var(--rl-blue-ink);
	text-decoration: underline;
}

/* --- Page hero ------------------------------------------------------------ */

.rl-pagehero {
	padding-block: var(--rl-7) var(--rl-6);
	background: linear-gradient(180deg, var(--rl-slate-050), #fff);
	border-bottom: 1px solid var(--rl-line);
}
.rl-pagehero h1 {
	margin-bottom: var(--rl-3);
}
.rl-pagehero p {
	max-width: 62ch;
	color: var(--rl-ink-2);
	font-size: var(--rl-step-1);
	margin: 0;
}

/* --- Prose (blog / legal pages) ------------------------------------------- */

.rl-prose {
	max-width: 72ch;
}
.rl-prose h2 {
	font-size: var(--rl-step-3);
	margin-top: var(--rl-7);
}
.rl-prose h3 {
	font-size: var(--rl-step-1);
	margin-top: var(--rl-6);
}
.rl-prose img,
.rl-prose figure {
	border-radius: var(--rl-r-md);
	margin-block: var(--rl-5);
}
.rl-prose blockquote {
	margin: var(--rl-5) 0;
	padding-left: var(--rl-4);
	border-left: 3px solid var(--rl-blue);
	font-size: var(--rl-step-1);
	color: var(--rl-slate-900);
}
.rl-prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--rl-step--1);
	margin-block: var(--rl-5);
}
.rl-prose th,
.rl-prose td {
	padding: 0.7rem 0.9rem;
	border: 1px solid var(--rl-line);
	text-align: left;
}
.rl-prose th {
	background: var(--rl-surface-2);
	font-weight: 600;
}

/* --- Pagination ----------------------------------------------------------- */

.rl-pagination {
	display: flex;
	justify-content: center;
	gap: var(--rl-2);
	margin-top: var(--rl-7);
	flex-wrap: wrap;
}
.rl-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 0.75rem;
	border-radius: var(--rl-r-sm);
	border: 1px solid var(--rl-line);
	color: var(--rl-slate-900);
	text-decoration: none;
	font-size: var(--rl-step--1);
	font-weight: 500;
}
.rl-pagination .page-numbers.current {
	background: var(--rl-slate-900);
	border-color: var(--rl-slate-900);
	color: #fff;
}
.rl-pagination a.page-numbers:hover {
	border-color: var(--rl-slate-400);
	background: var(--rl-slate-050);
}

/* --- Rounded shell -------------------------------------------------------
   The page reads as a stack of inset cards rather than full-bleed bands: the
   announcement bar, every section that carries a background, and the footer all
   sit on the page colour with the same radius.

   Deliberately not applied to .rl-main as a single wrapper — that would need
   overflow clipping, and an overflow ancestor silently kills the position:
   sticky used by the product gallery and the checkout summary.
   ------------------------------------------------------------------------ */

:root {
	--rl-shell-gap: 10px;
	--rl-r-shell: 15px;
}

@media (min-width: 768px) {
	body {
		background: var(--rl-slate-100);
		padding-inline: var(--rl-shell-gap);
	}

	.rl-announce {
		margin-top: var(--rl-shell-gap);
		border-radius: var(--rl-r-shell);
	}

	/* The header stays white and sticky; rounding it keeps the seam consistent
	   with the bands above and below it. */
	.rl-header {
		margin-top: var(--rl-shell-gap);
		border-radius: var(--rl-r-shell);
	}

	.rl-main {
		background: #fff;
		border-radius: var(--rl-r-shell);
		margin-top: var(--rl-shell-gap);
	}

	/* Sections with their own colour become inset cards inside the main card. */
	.rl-main > .rl-section.rl-on-dark,
	.rl-main > .rl-section.rl-on-soft,
	.rl-main > .rl-hero,
	.rl-main > .rl-trustbar,
	.rl-main > .rl-statband,
	.rl-main > .rl-ctaband,
	.rl-main > .rl-greviews,
	.rl-main > article > .rl-section.rl-on-dark,
	.rl-main > article > .rl-section.rl-on-soft {
		border-radius: var(--rl-r-shell);
		margin-inline: var(--rl-shell-gap);
	}

	/* .rl-main cannot clip its own corners — an overflow ancestor kills the
	   sticky gallery — so the first and last children inherit the radius and a
	   coloured band never paints over the rounded edge. */
	.rl-main > *:first-child {
		border-top-left-radius: var(--rl-r-shell);
		border-top-right-radius: var(--rl-r-shell);
	}
	.rl-main > *:last-child {
		border-bottom-left-radius: var(--rl-r-shell);
		border-bottom-right-radius: var(--rl-r-shell);
	}

	.rl-footer {
		margin-top: var(--rl-shell-gap);
		margin-bottom: var(--rl-shell-gap);
		border-radius: var(--rl-r-shell);
	}
}

/* Rounded corners on content imagery. Logos, icons and anything already inside
   a rounded frame are left alone. */
.rl-main img:not(.rl-icon):not(.rl-logo img),
.rl-prose img,
.rl-hero img {
	border-radius: var(--rl-r-shell);
}
.rl-logo img,
.rl-icon,
svg.rl-icon,
.rl-quickadd__img img,
.rl-miniitem__img img {
	border-radius: 0;
}
