/**
 * Rebirth Enterprises - home page sections.
 * Loaded only on the front page. Tokens come from rebirth.css.
 */

.rb-main {
	overflow-x: clip;
}

/* ==========================================================================
   Shared section furniture
   ========================================================================== */
.rb-section {
	padding-block: clamp(3rem, 6vw, 5rem);
}

.rb-section__head {
	max-width: 56ch;
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

.rb-section__title {
	margin: 0.6rem 0 0;
	font-family: var(--rb-font-head);
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: var(--rb-teal);
}

.rb-section__lead {
	margin: 0.9rem 0 0;
	font-family: var(--rb-font-body);
	font-size: clamp(1rem, 1.6vw, 1.0625rem);
	line-height: 1.7;
	color: var(--rb-slate);
}

.rb-eyebrow--dark {
	color: var(--rb-orange-600);
}

.rb-btn--lg {
	padding: 0.95em 1.75em;
	font-size: 1rem;
}

.rb-btn--outline {
	--rb-btn-bg: transparent;
	--rb-btn-fg: var(--rb-teal);
	box-shadow: inset 0 0 0 1.5px rgba(0, 50, 61, 0.18);
}

.rb-btn--outline:hover,
.rb-btn--outline:focus-visible {
	--rb-btn-bg: var(--rb-teal);
	--rb-btn-fg: #fff;
	box-shadow: 0 10px 26px rgba(0, 50, 61, 0.24);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.rb-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(1200px 520px at 8% -10%, var(--rb-orange-100) 0%, transparent 62%),
		linear-gradient(180deg, #fff 0%, var(--rb-wash) 100%);
}

.rb-hero__glow {
	position: absolute;
	top: -180px;
	right: -140px;
	width: 560px;
	height: 560px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(243, 146, 0, 0.22), transparent 66%);
	pointer-events: none;
	animation: rb-drift 20s var(--rb-ease-soft) infinite alternate;
}

.rb-hero__inner {
	position: relative;
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	align-items: center;
	gap: clamp(2rem, 5vw, 4.5rem);
	padding-block: clamp(3rem, 8vw, 6rem);
}

@media (max-width: 900px) {
	.rb-hero__inner {
		grid-template-columns: 1fr;
	}
}

.rb-hero__title {
	margin: 0.75rem 0 0;
	font-family: var(--rb-font-head);
	font-size: clamp(2.125rem, 5.2vw, 3.65rem);
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: -0.02em;
	color: var(--rb-teal);
	text-wrap: balance;
}

.rb-hero__text {
	margin: 1.15rem 0 0;
	max-width: 52ch;
	font-family: var(--rb-font-body);
	font-size: clamp(1rem, 1.7vw, 1.125rem);
	line-height: 1.75;
	color: var(--rb-slate);
}

.rb-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.9rem;
}

.rb-hero__stores {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.75rem 1.1rem;
	margin-top: 2.25rem;
	padding-top: 1.6rem;
	border-top: 1px solid var(--rb-line);
}

.rb-hero__stores-label {
	font-family: var(--rb-font-body);
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--rb-slate);
}

.rb-hero__stores ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.4rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rb-hero__stores li {
	font-family: var(--rb-font-head);
	font-size: 1.0625rem;
	font-weight: 600;
	color: var(--rb-teal);
	opacity: 0.72;
	transition: opacity 0.3s var(--rb-ease-soft), transform 0.3s var(--rb-ease);
}

.rb-hero__stores li:hover {
	opacity: 1;
	transform: translateY(-2px);
}

/* Hero visual */
.rb-hero__visual {
	position: relative;
	min-height: 360px;
}

@media (max-width: 900px) {
	.rb-hero__visual {
		min-height: 320px;
	}
}

.rb-hero__photo {
	margin: 0;
	border-radius: var(--rb-radius-lg);
	overflow: hidden;
	box-shadow: var(--rb-shadow-lg);
}

.rb-hero__photo img {
	display: block;
	width: 100%;
	height: auto;
}

.rb-stack {
	position: relative;
	height: 100%;
	min-height: 360px;
}

.rb-stack__mark {
	position: absolute;
	inset: auto 0 6% 0;
	display: grid;
	place-items: center;
	opacity: 0.09;
	pointer-events: none;
}

.rb-stack__mark img {
	width: min(100%, 420px);
	height: auto;
}

.rb-stack__card {
	position: absolute;
	display: grid;
	gap: 0.15rem;
	width: min(62%, 250px);
	padding: 1.15rem 1.25rem;
	border-radius: var(--rb-radius-lg);
	background: #fff;
	box-shadow: var(--rb-shadow);
	border: 1px solid rgba(0, 50, 61, 0.06);
	animation: rb-float 7s var(--rb-ease-soft) infinite alternate;
}

.rb-stack__card strong {
	font-family: var(--rb-font-head);
	font-size: 1.0625rem;
	font-weight: 600;
	color: var(--rb-teal);
}

.rb-stack__card span:last-child {
	font-family: var(--rb-font-body);
	font-size: 0.8125rem;
	color: var(--rb-slate);
}

.rb-stack__ico {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	margin-bottom: 0.55rem;
	border-radius: 14px;
	background: var(--rb-orange-100);
	color: var(--rb-orange-600);
}

.rb-stack__card--1 {
	top: 2%;
	left: 0;
	animation-delay: 0s;
}

.rb-stack__card--2 {
	top: 32%;
	right: 0;
	background: var(--rb-teal);
	border-color: transparent;
	animation-delay: 1.1s;
}

.rb-stack__card--2 strong { color: #fff; }
.rb-stack__card--2 span:last-child { color: rgba(255, 255, 255, 0.7); }

.rb-stack__card--2 .rb-stack__ico {
	background: rgba(255, 255, 255, 0.12);
	color: var(--rb-orange-300);
}

.rb-stack__card--3 {
	bottom: 2%;
	left: 6%;
	animation-delay: 2.2s;
}

@media (max-width: 480px) {
	.rb-stack__card {
		width: min(72%, 230px);
		padding: 0.95rem 1rem;
	}
}

/* ==========================================================================
   USP strip
   ========================================================================== */
.rb-usps {
	background: var(--rb-teal);
	color: rgba(255, 255, 255, 0.76);
}

.rb-usps__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: clamp(1.25rem, 3vw, 2.25rem);
	padding-block: clamp(2rem, 4vw, 2.75rem);
}

.rb-usp {
	display: flex;
	align-items: flex-start;
	gap: 0.9rem;
	font-family: var(--rb-font-body);
}

.rb-usp__ico {
	display: grid;
	place-items: center;
	flex: none;
	width: 42px;
	height: 42px;
	border-radius: 13px;
	background: rgba(255, 255, 255, 0.08);
	color: var(--rb-orange-300);
	transition: background-color 0.4s var(--rb-ease), color 0.4s var(--rb-ease), transform 0.4s var(--rb-ease);
}

.rb-usp:hover .rb-usp__ico {
	background: var(--rb-orange);
	color: #fff;
	transform: translateY(-3px) rotate(-6deg);
}

.rb-usp strong {
	display: block;
	font-size: 0.9375rem;
	font-weight: 700;
	color: #fff;
	line-height: 1.35;
}

.rb-usp span {
	display: block;
	margin-top: 0.2rem;
	font-size: 0.875rem;
	line-height: 1.6;
}

/* ==========================================================================
   Categories
   ========================================================================== */
.rb-cats {
	background: #fff;
}

/* Category cards sit on one single row, however many there are. Below the
   desktop breakpoint the row scrolls sideways instead of wrapping. */
.rb-cats__grid {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(0, 1fr);
	gap: 0.85rem;
}

@media (max-width: 1180px) {
	.rb-cats__grid {
		grid-auto-columns: minmax(215px, 1fr);
		overflow-x: auto;
		scroll-snap-type: x proximity;
		padding-bottom: 0.75rem;
		scrollbar-width: thin;
		/* Let the row bleed to the screen edge while scrolling. */
		margin-inline: calc(var(--rb-gutter) * -1);
		padding-inline: var(--rb-gutter);
	}

	.rb-cats__grid > * {
		scroll-snap-align: start;
	}
}

.rb-cat {
	position: relative;
	padding: clamp(1.15rem, 1.6vw, 1.5rem);
	border-radius: var(--rb-radius-lg);
	background: var(--rb-wash);
	border: 1px solid rgba(0, 50, 61, 0.06);
	overflow: hidden;
	transition: transform 0.45s var(--rb-ease), box-shadow 0.45s var(--rb-ease), background-color 0.45s var(--rb-ease);
}

.rb-cat::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: linear-gradient(90deg, var(--rb-orange), var(--rb-orange-300));
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.5s var(--rb-ease);
}

.rb-cat:hover {
	transform: translateY(-6px);
	background: #fff;
	box-shadow: var(--rb-shadow);
}

.rb-cat:hover::before {
	transform: scaleX(1);
}

.rb-cat__ico {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-bottom: 0.9rem;
	border-radius: 16px;
	background: var(--rb-orange-100);
	color: var(--rb-orange-600);
	transition: transform 0.45s var(--rb-ease), background-color 0.45s var(--rb-ease), color 0.45s var(--rb-ease);
}

.rb-cat:hover .rb-cat__ico {
	background: var(--rb-orange);
	color: #fff;
	transform: rotate(-8deg) scale(1.06);
}

.rb-cat__title {
	margin: 0;
	font-family: var(--rb-font-head);
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.25;
	color: var(--rb-teal);
	text-wrap: balance;
}

.rb-cat__text {
	margin: 0.45rem 0 0;
	font-family: var(--rb-font-body);
	font-size: 0.8125rem;
	line-height: 1.55;
	color: var(--rb-slate);
}

/* ==========================================================================
   About
   ========================================================================== */
.rb-about {
	background: var(--rb-wash);
}

.rb-about__inner {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	align-items: center;
	gap: clamp(2rem, 5vw, 4rem);
}

@media (max-width: 900px) {
	.rb-about__inner {
		grid-template-columns: 1fr;
	}
}

.rb-checks {
	display: grid;
	gap: 0.75rem;
	margin: 1.75rem 0 2rem;
	padding: 0;
	list-style: none;
}

.rb-checks li {
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
	font-family: var(--rb-font-body);
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--rb-teal);
}

.rb-checks__ico {
	display: grid;
	place-items: center;
	flex: none;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--rb-orange-100);
	color: var(--rb-orange-600);
}

.rb-about__photo {
	margin: 0;
	border-radius: var(--rb-radius-lg);
	overflow: hidden;
	box-shadow: var(--rb-shadow);
}

.rb-about__photo img {
	display: block;
	width: 100%;
	height: auto;
}

.rb-panel {
	position: relative;
	padding: clamp(1.75rem, 4vw, 2.5rem);
	border-radius: var(--rb-radius-lg);
	background: linear-gradient(145deg, var(--rb-teal) 0%, var(--rb-teal-600) 100%);
	color: rgba(255, 255, 255, 0.8);
	box-shadow: var(--rb-shadow-lg);
	overflow: hidden;
	font-family: var(--rb-font-body);
}

.rb-panel::after {
	content: "";
	position: absolute;
	right: -90px;
	bottom: -110px;
	width: 300px;
	height: 300px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(243, 146, 0, 0.26), transparent 68%);
	pointer-events: none;
}

.rb-panel > * {
	position: relative;
}

.rb-panel__mark {
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	margin-bottom: 1.25rem;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.1);
	color: var(--rb-orange-300);
}

.rb-panel h3 {
	margin: 0 0 0.55rem;
	font-family: var(--rb-font-head);
	font-size: 1.375rem;
	font-weight: 600;
	color: #fff;
}

.rb-panel p {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.7;
}

.rb-panel__meta {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
	gap: 1rem;
	margin: 1.6rem 0 1.5rem;
	padding-top: 1.4rem;
	border-top: 1px solid var(--rb-line-light);
}

.rb-panel__meta dt {
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.5);
}

.rb-panel__meta dd {
	margin: 0.25rem 0 0;
	font-size: 0.9375rem;
	color: #fff;
}

.rb-panel__meta a {
	color: inherit;
	text-decoration: none !important;
}

.rb-panel__meta a:hover {
	color: var(--rb-orange-300);
}

.rb-panel__link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--rb-orange-300);
	text-decoration: none !important;
	transition: gap 0.35s var(--rb-ease), color 0.3s var(--rb-ease-soft);
}

.rb-panel__link:hover {
	gap: 0.85rem;
	color: #fff;
}

/* ==========================================================================
   How to order
   ========================================================================== */
.rb-steps {
	background: #fff;
}

.rb-steps__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: clamp(1.25rem, 3vw, 2.25rem);
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.rb-step {
	position: relative;
	padding-top: 1.75rem;
	border-top: 2px solid var(--rb-line);
	transition: border-color 0.45s var(--rb-ease);
}

.rb-step:hover {
	border-color: var(--rb-orange);
}

.rb-step__num {
	display: block;
	margin-bottom: 0.75rem;
	font-family: var(--rb-font-head);
	font-size: 2rem;
	font-weight: 600;
	line-height: 1;
	color: var(--rb-orange);
	opacity: 0.45;
	transition: opacity 0.45s var(--rb-ease), transform 0.45s var(--rb-ease);
}

.rb-step:hover .rb-step__num {
	opacity: 1;
	transform: translateY(-3px);
}

.rb-step__title {
	margin: 0;
	font-family: var(--rb-font-head);
	font-size: 1.1875rem;
	font-weight: 600;
	color: var(--rb-teal);
}

.rb-step__text {
	margin: 0.5rem 0 0;
	font-family: var(--rb-font-body);
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--rb-slate);
}

.rb-steps__stores {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	margin-top: clamp(2rem, 4vw, 3rem);
}

.rb-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.6rem 1.1rem 0.6rem 0.6rem;
	border-radius: var(--rb-radius-pill);
	background: var(--rb-wash);
	border: 1px solid rgba(0, 50, 61, 0.08);
	font-family: var(--rb-font-body);
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--rb-teal);
	text-decoration: none !important;
	transition: transform 0.4s var(--rb-ease), background-color 0.4s var(--rb-ease), box-shadow 0.4s var(--rb-ease);
}

.rb-chip:hover,
.rb-chip:focus-visible {
	transform: translateY(-3px);
	background: #fff;
	box-shadow: var(--rb-shadow-sm);
}

.rb-chip__mark {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--rb-orange);
	color: #fff;
	font-family: var(--rb-font-head);
	font-size: 0.875rem;
}

.rb-chip svg {
	color: var(--rb-orange-600);
}

/* ==========================================================================
   CTA band
   ========================================================================== */
.rb-cta {
	position: relative;
	overflow: hidden;
	background: linear-gradient(120deg, var(--rb-orange-600) 0%, var(--rb-orange) 55%, #ffb347 100%);
	color: rgba(255, 255, 255, 0.92);
}

.rb-cta::before {
	content: "";
	position: absolute;
	top: -160px;
	left: -120px;
	width: 480px;
	height: 480px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 66%);
	pointer-events: none;
	animation: rb-drift 17s var(--rb-ease-soft) infinite alternate;
}

.rb-cta__inner {
	position: relative;
	display: grid;
	grid-template-columns: 1.3fr 0.7fr;
	align-items: center;
	gap: clamp(1.75rem, 4vw, 3.5rem);
	padding-block: clamp(2.75rem, 6vw, 4.25rem);
}

@media (max-width: 860px) {
	.rb-cta__inner {
		grid-template-columns: 1fr;
	}
}

.rb-cta .rb-eyebrow {
	color: rgba(255, 255, 255, 0.92);
}

.rb-cta .rb-eyebrow::before {
	background: #fff;
}

.rb-cta__title {
	margin: 0.6rem 0 0;
	font-family: var(--rb-font-head);
	font-size: clamp(1.625rem, 3.6vw, 2.5rem);
	font-weight: 600;
	line-height: 1.15;
	color: #fff;
	text-wrap: balance;
}

.rb-cta__text {
	margin: 0.85rem 0 0;
	max-width: 54ch;
	font-family: var(--rb-font-body);
	font-size: 1rem;
	line-height: 1.7;
}

.rb-cta__actions {
	display: grid;
	gap: 0.85rem;
	justify-items: start;
}

.rb-cta__actions .rb-btn--whatsapp {
	--rb-btn-bg: var(--rb-teal);
}

.rb-cta__actions .rb-btn--whatsapp:hover {
	box-shadow: 0 12px 28px rgba(0, 50, 61, 0.3);
}

.rb-cta__link {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	font-family: var(--rb-font-body);
	font-size: 0.9375rem;
	font-weight: 600;
	color: #fff;
	text-decoration: none !important;
	transition: gap 0.35s var(--rb-ease), opacity 0.3s var(--rb-ease-soft);
	opacity: 0.9;
}

.rb-cta__link:hover {
	gap: 0.85rem;
	opacity: 1;
}

/* ==========================================================================
   Keyframes
   ========================================================================== */
@keyframes rb-float {
	from { transform: translateY(0); }
	to   { transform: translateY(-14px); }
}

/* ==========================================================================
   Category cards as links
   ========================================================================== */
.rb-cat--link {
	display: block;
	text-decoration: none !important;
	color: inherit;
}

.rb-cat__count {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: 1rem;
	font-family: var(--rb-font-body);
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--rb-orange-600);
	transition: gap 0.35s var(--rb-ease);
}

.rb-cat--link:hover .rb-cat__count {
	gap: 0.75rem;
}

/* ==========================================================================
   Product grid
   ========================================================================== */
.rb-shop {
	background: var(--rb-wash);
}

.rb-section__head--row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
	max-width: none;
}

.rb-shop__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 1.1rem;
}

.rb-pcard {
	display: flex;
	flex-direction: column;
	border-radius: var(--rb-radius-lg);
	background: #fff;
	border: 1px solid rgba(0, 50, 61, 0.07);
	overflow: hidden;
	transition: transform 0.45s var(--rb-ease), box-shadow 0.45s var(--rb-ease), border-color 0.45s var(--rb-ease);
}

.rb-pcard:hover {
	transform: translateY(-6px);
	box-shadow: var(--rb-shadow);
	border-color: rgba(243, 146, 0, 0.35);
}

.rb-pcard__media {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	background: #fff;
	overflow: hidden;
}

.rb-pcard__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 0.75rem;
	transition: transform 0.6s var(--rb-ease);
}

.rb-pcard:hover .rb-pcard__media img {
	transform: scale(1.06);
}

.rb-pcard__noimg {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	color: var(--rb-orange-300);
	background: var(--rb-orange-100);
}

.rb-pcard__badge {
	position: absolute;
	top: 0.7rem;
	left: 0.7rem;
	padding: 0.3rem 0.6rem;
	border-radius: var(--rb-radius-pill);
	background: var(--rb-orange);
	color: #fff;
	font-family: var(--rb-font-body);
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	box-shadow: 0 4px 12px rgba(243, 146, 0, 0.35);
}

.rb-pcard__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 0.95rem 1.05rem 1.15rem;
	border-top: 1px solid rgba(0, 50, 61, 0.06);
}

.rb-pcard__cat {
	font-family: var(--rb-font-body);
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--rb-slate);
}

.rb-pcard__title {
	margin: 0.4rem 0 0;
	font-family: var(--rb-font-head);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--rb-teal);
}

.rb-pcard__title a {
	color: inherit;
	text-decoration: none !important;
	transition: color 0.3s var(--rb-ease-soft);
}

.rb-pcard__title a:hover {
	color: var(--rb-orange-600);
}

.rb-pcard__price {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0.85rem 0 0;
	padding-top: 0.85rem;
	border-top: 1px dashed rgba(0, 50, 61, 0.12);
	font-family: var(--rb-font-body);
	margin-top: auto;
}

.rb-pcard__now .amount,
.rb-pcard__now bdi {
	font-size: 1.125rem;
	font-weight: 800;
	color: var(--rb-teal);
}

.rb-pcard__price del {
	opacity: 0.6;
	font-size: 0.875rem;
	color: var(--rb-slate);
	text-decoration: line-through;
}

.rb-pcard__price del .amount,
.rb-pcard__price del bdi {
	font-weight: 600;
}

@media (max-width: 480px) {
	.rb-shop__grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0.75rem; }
	.rb-pcard__body { padding: 0.75rem 0.8rem 0.95rem; }
	.rb-pcard__title { font-size: 0.9375rem; }
}

/* ==========================================================================
   Angled category marquee
   ========================================================================== */
.rb-marquee {
	position: relative;
	z-index: 2;
	margin-block: clamp(-1.5rem, -2vw, -1rem);
	padding-block: 0.85rem;
	overflow: hidden;
	background: linear-gradient(100deg, var(--rb-orange-600) 0%, var(--rb-orange) 45%, #ffb347 100%);
	transform: rotate(-1.8deg) scale(1.06);
	box-shadow: 0 14px 34px rgba(243, 146, 0, 0.26);
	user-select: none;
}

.rb-marquee__track {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	width: max-content;
	animation: rb-marquee 42s linear infinite;
}

.rb-marquee:hover .rb-marquee__track {
	animation-play-state: paused;
}

.rb-marquee__item {
	flex: none;
	font-family: var(--rb-font-head);
	font-size: clamp(1.0625rem, 1.9vw, 1.5rem);
	font-style: italic;
	font-weight: 500;
	line-height: 1.2;
	color: #fff;
	white-space: nowrap;
	letter-spacing: 0.01em;
}

.rb-marquee__sep {
	flex: none;
	display: grid;
	place-items: center;
	color: rgba(255, 255, 255, 0.72);
}

@keyframes rb-marquee {
	from { transform: translate3d(0, 0, 0); }
	to   { transform: translate3d(-33.333%, 0, 0); }
}

/* ==========================================================================
   Product slider
   ========================================================================== */
.rb-slider {
	position: relative;
}

.rb-slider__track {
	display: flex;
	gap: 1.1rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding-block: 0.5rem;
	margin-inline: calc(var(--rb-gutter) * -1);
	padding-inline: var(--rb-gutter);
	scrollbar-width: none;
	align-items: stretch;
}

.rb-slider__track::-webkit-scrollbar {
	display: none;
}

/* flex-basis with no shrink is what keeps every card at a readable width;
   grid 1fr columns collapse once the track overflows. */
.rb-slider__track > * {
	flex: 0 0 clamp(190px, 21vw, 258px);
	scroll-snap-align: start;
}

.rb-slider__nav {
	position: absolute;
	top: 38%;
	z-index: 3;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(0, 50, 61, 0.1);
	border-radius: 50%;
	background: #fff;
	color: var(--rb-teal);
	cursor: pointer;
	box-shadow: var(--rb-shadow);
	transition: transform 0.35s var(--rb-ease), background-color 0.35s var(--rb-ease), color 0.35s var(--rb-ease), opacity 0.35s var(--rb-ease);
}

.rb-slider__nav:hover {
	background: var(--rb-orange);
	border-color: var(--rb-orange);
	color: #fff;
	transform: scale(1.08);
}

.rb-slider__nav--prev { left: calc(var(--rb-gutter) * -1 + 0.25rem); }
.rb-slider__nav--next { right: calc(var(--rb-gutter) * -1 + 0.25rem); }

.rb-slider__nav[disabled] {
	opacity: 0.3;
	pointer-events: none;
}

@media (max-width: 900px) {
	.rb-slider__nav { display: none; }
}

/* ==========================================================================
   CTA band - card overlapping a split background
   ========================================================================== */
.rb-ctaband {
	position: relative;
	padding-block: clamp(2.5rem, 6vw, 4rem);
	/* Lower half uses the footer colour and glow so the two read as one section. */
	background:
		radial-gradient(780px 430px at 84% 128%, rgba(0, 112, 127, 0.5), transparent 68%),
		linear-gradient(180deg, var(--rb-wash) 0% 52%, var(--rb-teal) 52% 100%);
}

.rb-ctacard {
	position: relative;
	display: grid;
	grid-template-columns: 1.35fr auto;
	align-items: center;
	gap: clamp(1.5rem, 4vw, 3rem);
	padding: clamp(1.75rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3.25rem);
	border-radius: clamp(20px, 2.6vw, 34px);
	background:
		radial-gradient(900px 320px at 88% 8%, rgba(255, 214, 150, 0.5), transparent 62%),
		linear-gradient(105deg, var(--rb-orange-600) 0%, var(--rb-orange) 52%, #ffab3d 100%);
	color: rgba(255, 255, 255, 0.92);
	box-shadow: 0 30px 70px rgba(0, 50, 61, 0.28);
	overflow: hidden;
}

@media (max-width: 900px) {
	.rb-ctacard {
		grid-template-columns: 1fr;
	}
}

.rb-ctacard > * {
	position: relative;
	z-index: 2;
}

/* Decorative outlines */
.rb-ctacard__deco {
	position: absolute;
	z-index: 1;
	color: rgba(255, 255, 255, 0.16);
	pointer-events: none;
}

.rb-ctacard__deco svg {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.1;
}

.rb-ctacard__deco--gift1 { top: 8%; right: 22%; animation: rb-float 9s var(--rb-ease-soft) infinite alternate; }
.rb-ctacard__deco--gift2 { bottom: -12%; left: 3%; animation: rb-float 11s var(--rb-ease-soft) infinite alternate-reverse; }
.rb-ctacard__deco--spark1 { top: 14%; left: 38%; animation: rb-twinkle 4.5s var(--rb-ease-soft) infinite; }
.rb-ctacard__deco--spark2 { bottom: 18%; right: 32%; animation: rb-twinkle 6s var(--rb-ease-soft) infinite 1.2s; }

@keyframes rb-twinkle {
	0%, 100% { opacity: 0.1; transform: scale(0.9) rotate(0deg); }
	50%      { opacity: 0.45; transform: scale(1.15) rotate(25deg); }
}

.rb-ctacard .rb-eyebrow {
	color: rgba(255, 255, 255, 0.92);
}

.rb-ctacard .rb-eyebrow::before {
	background: #fff;
}

.rb-ctacard__title {
	margin: 0.7rem 0 0;
	font-family: var(--rb-font-head);
	font-size: clamp(1.625rem, 3.4vw, 2.5rem);
	font-weight: 600;
	line-height: 1.12;
	letter-spacing: -0.01em;
	color: #fff;
	text-wrap: balance;
}

.rb-ctacard__text {
	margin: 0.85rem 0 0;
	max-width: 48ch;
	font-family: var(--rb-font-body);
	font-size: 1rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.88);
}

.rb-ctacard__mail {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 1.1rem;
	font-family: var(--rb-font-body);
	font-size: 0.875rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none !important;
	transition: gap 0.35s var(--rb-ease), color 0.3s var(--rb-ease-soft);
}

.rb-ctacard__mail:hover {
	gap: 0.8rem;
	color: #fff;
}

.rb-ctacard__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.7rem;
}

.rb-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.85em 1.5em;
	border-radius: var(--rb-radius-pill);
	font-family: var(--rb-font-body);
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
	text-decoration: none !important;
	transition: transform 0.35s var(--rb-ease), box-shadow 0.35s var(--rb-ease), background-color 0.35s var(--rb-ease), color 0.35s var(--rb-ease);
}

.rb-pill--solid {
	background: #fff;
	color: var(--rb-teal);
	box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.rb-pill--solid:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 34px rgba(0, 0, 0, 0.26);
	color: var(--rb-teal);
}

.rb-pill--ghost {
	color: #fff;
	box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.55);
}

.rb-pill--ghost:hover {
	transform: translateY(-3px);
	background: rgba(255, 255, 255, 0.14);
	box-shadow: inset 0 0 0 1.5px #fff;
	color: #fff;
}

/* ==========================================================================
   Pointer tilt + richer motion
   ========================================================================== */
.rb-cat,
.rb-pcard,
.rb-storecard {
	transform:
		perspective(900px)
		rotateX(var(--rb-tilt-x, 0deg))
		rotateY(var(--rb-tilt-y, 0deg))
		translateY(var(--rb-lift, 0));
}

.rb-cat:hover,
.rb-pcard:hover { --rb-lift: -6px; }
.rb-storecard:hover { --rb-lift: -6px; }

/* Headings sweep in under a mask */
.rb-section__title,
.rb-hero__title,
.rb-ctacard__title {
	--rb-delay: 0.05s;
}

/* Eyebrow rule draws itself in */
.rb-eyebrow::before {
	animation: rb-draw 0.9s var(--rb-ease) both;
}

@keyframes rb-draw {
	from { width: 0; opacity: 0; }
	to   { width: 26px; opacity: 1; }
}

/* Buttons get a soft pulse ring on hover */
.rb-btn::before,
.rb-pill--solid::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
	transition: box-shadow 0.5s var(--rb-ease);
	pointer-events: none;
}

.rb-pill--solid { position: relative; overflow: hidden; }

.rb-btn:hover::before,
.rb-pill--solid:hover::before {
	box-shadow: 0 0 0 7px rgba(255, 255, 255, 0);
}

/* Product image gets a subtle sheen sweep */
.rb-pcard__media::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: -140%;
	width: 55%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
	transform: skewX(-18deg);
	transition: left 0.85s var(--rb-ease);
	pointer-events: none;
}

.rb-pcard:hover .rb-pcard__media::after {
	left: 150%;
}

/* Category icons breathe gently while in view */
.rb-cat__ico svg {
	transition: transform 0.45s var(--rb-ease);
}

.rb-cat:hover .rb-cat__ico svg {
	transform: scale(1.12);
}

@media (prefers-reduced-motion: reduce) {
	.rb-marquee__track,
	.rb-ctacard__deco {
		animation: none !important;
	}

	.rb-cat,
	.rb-pcard,
	.rb-storecard {
		transform: none !important;
	}
}

/* ==========================================================================
   Slider card sizing - overrides the earlier grid-era rules
   ========================================================================== */

/* Category cards inside the slider */
.rb-cats__track > .rb-cat {
	flex: 0 0 clamp(210px, 20vw, 250px);
	display: flex;
	flex-direction: column;
	padding: 1.35rem 1.35rem 1.25rem;
}

.rb-cat__title {
	font-size: 1.0625rem;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.6em;
}

.rb-cat__text {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.rb-cat__count {
	margin-top: auto;
	padding-top: 1rem;
	white-space: nowrap;
}

/* Product cards inside the slider */
.rb-pcard {
	height: 100%;
}

.rb-pcard__media {
	aspect-ratio: 1 / 1;
	flex: none;
}

.rb-pcard__title {
	font-size: 0.9375rem;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.7em;
}

.rb-pcard__cat {
	display: block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 0.625rem;
}

.rb-pcard__price {
	white-space: nowrap;
}

.rb-pcard__now .amount,
.rb-pcard__now bdi {
	font-size: 1.0625rem;
}

/* Nav arrows sit clear of the cards */
.rb-slider__nav {
	top: 50%;
	transform: translateY(-50%);
}

.rb-slider__nav:hover {
	transform: translateY(-50%) scale(1.08);
}

/* ==========================================================================
   Slider controls sit above the track, never over the cards
   ========================================================================== */
.rb-slider {
	padding-top: 3.6rem;
}

.rb-slider__nav {
	top: 0;
	bottom: auto;
	transform: none;
	width: 42px;
	height: 42px;
}

.rb-slider__nav:hover {
	transform: none;
}

.rb-slider__nav--prev {
	left: auto;
	right: 3.3rem;
}

.rb-slider__nav--next {
	right: 0;
}

@media (max-width: 900px) {
	.rb-slider {
		padding-top: 0;
	}

	.rb-slider__nav {
		display: none;
	}
}

/* Give the section header room when the controls sit beside it */
.rb-section__head--row {
	margin-bottom: 1rem;
}

/* ==========================================================================
   Continuous marquee sliders
   Scroll snapping pulls the track back to the nearest card, which fights a
   constant-speed scroll, so it is switched off for the auto-running tracks.
   ========================================================================== */
.rb-slider__track {
	scroll-snap-type: none;
}

.rb-slider__track > * {
	scroll-snap-align: none;
}

@media (prefers-reduced-motion: reduce) {
	.rb-slider__track {
		scroll-snap-type: x proximity;
	}

	.rb-slider__track > * {
		scroll-snap-align: start;
	}
}

/* ==========================================================================
   Slider controls live in the section header; tracks sit flush
   ========================================================================== */
.rb-slider__controls {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex: none;
}

/* Arrows are now laid out in the header, not positioned over the cards. */
.rb-slider__nav {
	position: static;
	transform: none;
	width: 42px;
	height: 42px;
	flex: none;
}

.rb-slider__nav:hover {
	transform: none;
}

.rb-slider__controls .rb-btn--outline {
	margin-right: 0.35rem;
}

/* No leading or trailing gutter - the first card lines up with the heading. */
.rb-slider__track {
	margin-inline: 0;
	padding-inline: 0;
	padding-block: 0.5rem;
}

/* The wrapper no longer needs room for overlaid arrows. */
.rb-slider {
	padding-top: 0;
}

.rb-section__head--row {
	align-items: flex-end;
	margin-bottom: 1.5rem;
}

@media (max-width: 760px) {
	.rb-slider__controls {
		width: 100%;
		justify-content: flex-start;
	}

	.rb-slider__nav {
		display: grid;
	}
}

/* ==========================================================================
   Full-bleed slider track
   The track is a sibling of .rb-container, so it spans the full section
   width. Its leading padding matches where the container's content starts,
   which keeps the first card aligned under the heading while the rest of
   the row runs off the right edge of the screen.
   ========================================================================== */
.rb-section > .rb-slider__track {
	width: 100%;
	max-width: none;
	margin-inline: 0;
	padding-inline-start: max(
		var(--rb-gutter),
		calc((100% - var(--rb-container)) / 2 + var(--rb-gutter))
	);
	padding-inline-end: var(--rb-gutter);
}

/* ==========================================================================
   Hero parallax - cards drift with the pointer
   ========================================================================== */
.rb-stack__card {
	transform: translate3d(var(--rb-px, 0), var(--rb-py, 0), 0);
	transition: transform 0.4s var(--rb-ease-soft);
}

/* The float keyframes and the pointer offset would fight each other, so the
   float is applied to an inner wrapper-free element via its own property. */
.rb-stack__card--1 { animation-name: rb-float-1; }
.rb-stack__card--2 { animation-name: rb-float-2; }
.rb-stack__card--3 { animation-name: rb-float-3; }

@keyframes rb-float-1 {
	from { transform: translate3d(var(--rb-px, 0), calc(var(--rb-py, 0px) + 0px), 0); }
	to   { transform: translate3d(var(--rb-px, 0), calc(var(--rb-py, 0px) - 14px), 0); }
}

@keyframes rb-float-2 {
	from { transform: translate3d(var(--rb-px, 0), calc(var(--rb-py, 0px) + 0px), 0); }
	to   { transform: translate3d(var(--rb-px, 0), calc(var(--rb-py, 0px) - 12px), 0); }
}

@keyframes rb-float-3 {
	from { transform: translate3d(var(--rb-px, 0), calc(var(--rb-py, 0px) + 0px), 0); }
	to   { transform: translate3d(var(--rb-px, 0), calc(var(--rb-py, 0px) - 16px), 0); }
}

@media (prefers-reduced-motion: reduce) {
	.rb-stack__card {
		animation: none !important;
		transform: none !important;
	}
}

/* ==========================================================================
   Product image framing
   The image was sized at 100% with its own padding but, being unclassed, it
   never picked up border-box - so it overflowed and the padding read as
   uneven. The padding now sits on the frame and the image centres inside it.
   ========================================================================== */
.rb-pcard__media {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.85rem;
	box-sizing: border-box;
}

.rb-pcard__media img {
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	padding: 0;
	object-fit: contain;
	object-position: center;
}

/* Keep the badge clear of the new padding. */
.rb-pcard__badge {
	top: 0.55rem;
	left: 0.55rem;
	z-index: 2;
}

.rb-pcard__noimg {
	border-radius: 12px;
}

/* A product with no price set yet. */
.rb-pcard__ask {
	font-family: var(--rb-font-body);
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--rb-orange-600);
}
