/**
 * Richie's Collagen: the customiser.
 *
 * Uses the theme's custom properties where they exist, with the brand hex values as
 * fallbacks so the customiser looks right on any theme.
 */

/* The label fonts, bundled with the plugin, used when the webfont service is not reachable.
   These are the same TTF files the server uses to redraw a label, so print matches preview. */
@font-face {
	font-family: "Richies Sans";
	src: url("../fonts/Lato-Regular.ttf") format("truetype");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Richies Sans";
	src: url("../fonts/Lato-Black.ttf") format("truetype");
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Richies Serif";
	src: url("../fonts/DMSerifDisplay-Regular.ttf") format("truetype");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Richies Script";
	src: url("../fonts/Caveat-Variable.ttf") format("truetype");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
}

.rs-customiser {
	--rs-green: var(--green, #12392c);
	--rs-green-deep: var(--green-deep, #0b251d);
	--rs-sage: var(--sage, #d4d9c4);
	--rs-ivory: var(--ivory, #f5f0e7);
	--rs-cream: var(--cream, #eae1d2);
	--rs-ink: var(--ink, #0a1812);
	--rs-muted: var(--muted, #49574d);
	--rs-pouch: var(--pouch, #efe6d6);
	--rs-radius: var(--radius, 20px);
	--rs-radius-lg: var(--radius-lg, 24px);

	display: grid;
	gap: 40px;
	align-items: start;
	color: var(--rs-ink);
	max-width: 1120px;
	margin: 0 auto;
}

@media (min-width: 900px) {

	.rs-customiser {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 56px;
	}

	/* A theme with a sticky header sets --rs-sticky-top to clear it. */
	.rs-customiser__preview {
		position: sticky;
		top: var(--rs-sticky-top, 24px);
	}
}

/* -------------------------------------------------------------------- pack */
/* Bag: the real pouch render (the theme's assets/img/packs/pouch-template.png) with the photo,
   the MADE FOR badge and the name drawn into it on #rs-pack-canvas. Sachets: the photo of the
   real tin and sachet beside the printed label, #rs-label, which is always the print file. */

.rs-pack {
	position: relative;
	width: 100%;
	margin: 0 auto;
}

.rs-pack__view {
	display: none;
}

.rs-pack--bag .rs-pack__view--bag {
	display: block;
	max-width: 480px;
	margin: 0 auto;
}

/* On desktop the preview is sticky, so it must fit the screen, or the pouch's photo window sits
   below the fold on a short laptop: 150 px covers the sticky offset and the help line. */
@media (min-width: 900px) {

	.rs-pack--bag .rs-pack__view--bag {
		max-width: min(480px, calc((100vh - 150px) * 1044 / 1559));
		max-width: min(480px, calc((100svh - 150px) * 1044 / 1559));
	}
}

/* Front / Back: the back render is the same size and frame as the canvas, laid over it. */
.rs-pack__turn {
	position: relative;
}

.rs-pack__back {
	position: absolute;
	inset: 0;
	cursor: zoom-in;
}

.rs-pack__back[hidden],
.rs-pack__sides[hidden] {
	display: none;
}

.rs-pack__back img {
	display: block;
	width: 100%;
	height: 100%;
}

.rs-pack__sides {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 12px;
}

.rs-pack__side {
	min-height: 40px;
	padding: 0 20px;
	border: 1px solid rgba(10, 24, 18, 0.2);
	border-radius: 999px;
	background: transparent;
	font: inherit;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--rs-green);
	cursor: pointer;
	transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.rs-pack__side:hover {
	border-color: var(--rs-green);
}

.rs-pack__side[aria-pressed="true"] {
	border-color: var(--rs-green);
	background: var(--rs-green);
	color: #fff;
}

.rs-pack__side:focus-visible {
	outline: 3px solid var(--rs-green);
	outline-offset: 3px;
}

.rs-pack__canvas {
	display: block;
	width: 100%;
	height: auto;
	touch-action: none;
	cursor: default;
}

.rs-pack--sachets .rs-pack__view--sachets,
.rs-pack--flat .rs-pack__view--sachets {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.56fr);
	gap: 16px;
	align-items: center;
	max-width: 520px;
	margin: 0 auto;
}

/* No pouch render on this site: the bag shows the printed label on its own. */
.rs-pack--bag.rs-pack--flat .rs-pack__view--sachets {
	grid-template-columns: minmax(0, 1fr);
	max-width: 320px;
}

.rs-pack--bag.rs-pack--flat .rs-pack__photo {
	display: none;
}

.rs-pack__photo {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 16px;
}

.rs-pack__card {
	display: grid;
	gap: 10px;
	margin: 0;
}

.rs-pack__face {
	display: block;
	background: var(--rs-pouch);
	box-shadow: 0 0 0 1px rgba(10, 24, 18, 0.12);
}

.rs-pack__caption {
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.12em;
	text-align: center;
	text-transform: uppercase;
	color: var(--rs-green);
}

.rs-label {
	display: block;
	width: 100%;
	height: auto;
	touch-action: none;
	cursor: default;
}

.rs-label:focus-visible,
.rs-pack__canvas:focus-visible {
	outline: 3px solid var(--rs-green);
	outline-offset: 3px;
}

.rs-label.is-dragging,
.rs-pack__canvas.is-dragging {
	cursor: grabbing;
}

.rs-label-help {
	max-width: 440px;
	margin: 14px auto 0;
	font-size: 0.85rem;
	line-height: 1.5;
	color: var(--rs-muted);
	text-align: center;
}

/* A short settle when the format changes. */
.rs-pack.is-swapping {
	animation: rs-swap 260ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

@keyframes rs-swap {

	from {
		opacity: 0;
		transform: translateY(8px) scale(0.985);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

/* -------------------------------------------------------------------- form */

.rs-form {
	display: grid;
	gap: 26px;
	align-content: start;
}

.rs-form__title {
	margin: 0;
	font-size: clamp(1.6rem, 3vw, 2.1rem);
	line-height: 1.1;
	letter-spacing: -0.01em;
	color: var(--rs-green-deep);
}

/* The hidden attribute must beat the layout rules below. */
.rs-customiser [hidden] {
	display: none;
}

.rs-field {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	border: 0;
}

.rs-label-text {
	display: block;
	padding: 0;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--rs-green-deep);
}

.rs-required {
	color: var(--rs-green);
}

.rs-hint {
	margin: 0;
	font-size: 0.85rem;
	line-height: 1.5;
	color: var(--rs-muted);
}

.rs-status {
	margin: 0;
	min-height: 1.2em;
	font-size: 0.85rem;
	color: var(--rs-muted);
}

.rs-error {
	display: none;
	margin: 0;
	font-size: 0.88rem;
	font-weight: 700;
	line-height: 1.5;
	color: #8a2b1c;
}

.rs-error.is-shown {
	display: block;
}

.rs-error--form.is-shown {
	padding: 12px 14px;
	background: #fbeeea;
	border-left: 4px solid #8a2b1c;
	border-radius: 0 10px 10px 0;
}

.rs-input {
	width: 100%;
	min-height: 52px;
	padding: 12px 16px;
	font: inherit;
	font-size: 1.05rem;
	color: var(--rs-ink);
	background: #fff;
	border: 2px solid rgba(10, 24, 18, 0.18);
	border-radius: 12px;
}

.rs-input:focus-visible,
.rs-range:focus-visible {
	outline: 3px solid var(--rs-green);
	outline-offset: 2px;
	border-color: var(--rs-green);
}

.rs-input[aria-invalid="true"] {
	border-color: #8a2b1c;
}

/* ------------------------------------------------------------------- plans */

.rs-plans__grid {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.rs-plan {
	position: relative;
	display: block;
	cursor: pointer;
}

.rs-plan__input {
	position: absolute;
	top: 14px;
	left: 14px;
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: var(--rs-green);
}

.rs-plan__body {
	display: grid;
	gap: 4px;
	min-height: 96px;
	padding: 14px 16px 14px 44px;
	background: #fff;
	border: 2px solid rgba(10, 24, 18, 0.16);
	border-radius: var(--rs-radius);
}

.rs-plan__input:checked + .rs-plan__body {
	border-color: var(--rs-green);
	background: var(--rs-ivory);
}

.rs-plan__input:focus-visible + .rs-plan__body {
	outline: 3px solid var(--rs-green);
	outline-offset: 2px;
}

.rs-plan__input:disabled + .rs-plan__body {
	opacity: 0.5;
}

.rs-plan__label {
	font-weight: 900;
	font-size: 0.8rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--rs-green);
}

.rs-plan__price {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--rs-green-deep);
}

.rs-plan__price .amount {
	font-weight: 700;
}

.rs-plan__note {
	font-size: 0.82rem;
	line-height: 1.45;
	color: var(--rs-muted);
}

/* The price of the chosen format: the amount, then its qualifier ("10% off", "with the tin") on a
   line of its own. The separator only joins the two into one phrase for screen readers. */
.rs-plan__amount {
	display: block;
}

.rs-plan__sep {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.rs-plan__extra {
	display: block;
	margin-top: 2px;
	font-size: 0.8rem;
	line-height: 1.3;
	color: var(--rs-green);
}

/* Monthly sachets: the reusable tin comes with the first delivery, refills after that. */
.rs-plan__first {
	font-size: 0.8rem;
	text-wrap: pretty;
	font-weight: 700;
	line-height: 1.4;
	color: var(--rs-green-deep);
}

/* On phones the plans are two pills, so this copy of the line sits under them instead. */
.rs-plans__first {
	display: none;
}

/* "Prices in pounds sterling (GBP), VAT included. Free UK delivery." under the plan prices. */
.rs-price-note {
	margin: 10px 0 0;
	font-size: 0.82rem;
	line-height: 1.5;
	color: var(--rs-muted);
	text-wrap: balance;
}

/* ------------------------------------------------------------------ refill */
/* One-time sachets only: "I already have a Richie's tin, send the refill pack". */

.rs-check {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 14px 16px;
	background: #fff;
	border: 2px solid rgba(10, 24, 18, 0.16);
	border-radius: var(--rs-radius);
	cursor: pointer;
	transition: border-color 180ms ease, background-color 180ms ease;
}

.rs-check:hover {
	border-color: rgba(18, 57, 44, 0.45);
}

.rs-check:has(.rs-check__input:checked) {
	border-color: var(--rs-green);
	background: var(--rs-ivory);
}

.rs-check__input {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin: 1px 0 0;
	accent-color: var(--rs-green);
	cursor: pointer;
}

.rs-check__input:focus-visible {
	outline: 3px solid var(--rs-green);
	outline-offset: 2px;
}

.rs-check__text {
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1.45;
	color: var(--rs-green-deep);
}

/* ----------------------------------------------------------------- formats */

.rs-formats__grid {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rs-format {
	position: relative;
	display: block;
	cursor: pointer;
}

/* The radio stays in place, invisible, over the whole pill: the pill shows the state. */
.rs-format__input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.rs-format__body {
	display: grid;
	gap: 6px;
	align-content: start;
	justify-items: start;
	height: 100%;
	padding: 14px 14px 16px;
	background: #fff;
	border: 2px solid rgba(10, 24, 18, 0.16);
	border-radius: var(--rs-radius);
	transition: border-color 180ms ease, background-color 180ms ease;
}

.rs-format__icon {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	color: var(--rs-green);
	background: var(--rs-ivory);
	border-radius: 50%;
	transition: background-color 180ms ease, color 180ms ease;
}

.rs-format__label {
	font-weight: 900;
	font-size: 0.8rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--rs-green);
}

.rs-format__note {
	font-size: 0.8rem;
	line-height: 1.4;
	color: var(--rs-muted);
}

.rs-format:hover .rs-format__body {
	border-color: rgba(18, 57, 44, 0.45);
}

.rs-format__input:checked + .rs-format__body {
	border-color: var(--rs-green);
	background: var(--rs-ivory);
}

.rs-format__input:checked + .rs-format__body .rs-format__icon {
	color: var(--rs-ivory);
	background: var(--rs-green);
}

.rs-format__input:focus-visible + .rs-format__body {
	outline: 3px solid var(--rs-green);
	outline-offset: 2px;
}

/* ------------------------------------------------------------------- photo */

.rs-drop {
	position: relative;
	display: flex;
	gap: 14px;
	align-items: center;
	min-height: 96px;
	padding: 18px 20px;
	background: var(--rs-ivory);
	border: 2px dashed rgba(18, 57, 44, 0.35);
	border-radius: var(--rs-radius);
	cursor: pointer;
}

.rs-drop.is-over {
	border-color: var(--rs-green);
	background: var(--rs-cream);
}

.rs-drop:focus-within {
	outline: 3px solid var(--rs-green);
	outline-offset: 2px;
}

.rs-drop__icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	flex: 0 0 auto;
	color: var(--rs-green);
	background: #fff;
	border-radius: 50%;
}

.rs-drop__text {
	display: grid;
	gap: 2px;
}

.rs-drop__text strong {
	font-size: 0.98rem;
	color: var(--rs-green-deep);
}

.rs-file {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}

.rs-photo-row {
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 10px 12px;
	background: #fff;
	border: 1px solid rgba(10, 24, 18, 0.14);
	border-radius: 14px;
}

.rs-photo-thumb {
	width: 56px;
	height: 56px;
	flex: 0 0 auto;
	object-fit: cover;
	border-radius: 10px;
	background: var(--rs-cream);
}

.rs-photo-name {
	flex: 1 1 auto;
	min-width: 0; /* lets a long unbreakable file name shrink instead of widening the row and the page */
	overflow: hidden;
	font-size: 0.86rem;
	color: var(--rs-muted);
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rs-photo-row {
	max-width: 100%;
	min-width: 0;
}

.rs-photo-row > * {
	min-width: 0;
}

.rs-photo-row .rs-button {
	flex: 0 0 auto;
	white-space: nowrap;
}

/* -------------------------------------------------------------------- zoom */

.rs-zoom {
	display: flex;
	gap: 12px;
	align-items: center;
}

.rs-range {
	flex: 1 1 auto;
	min-height: 44px;
	accent-color: var(--rs-green);
}

/* ----------------------------------------------------------------- buttons */

.rs-button {
	display: inline-flex;
	gap: 10px;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 22px;
	font: inherit;
	font-weight: 700;
	font-size: 0.95rem;
	color: var(--rs-green-deep);
	text-decoration: none;
	background: #fff;
	border: 2px solid rgba(10, 24, 18, 0.2);
	border-radius: 999px;
	cursor: pointer;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.rs-button:hover {
	border-color: var(--rs-green);
}

.rs-button:focus-visible {
	outline: 3px solid var(--rs-green);
	outline-offset: 2px;
}

.rs-button--primary {
	min-height: 56px;
	padding: 14px 28px;
	font-size: 1.05rem;
	color: var(--rs-ivory);
	background: var(--rs-green);
	border-color: var(--rs-green);
}

.rs-button--primary:hover {
	background: var(--rs-green-deep);
	border-color: var(--rs-green-deep);
}

.rs-button--primary[disabled] {
	cursor: progress;
	opacity: 0.75;
}

.rs-button--quiet {
	min-height: 44px;
	padding: 10px 16px;
	font-size: 0.85rem;
}

.rs-button__busy {
	display: none;
	width: 16px;
	height: 16px;
	border: 2px solid rgba(245, 240, 231, 0.45);
	border-top-color: var(--rs-ivory);
	border-radius: 50%;
	animation: rs-spin 700ms linear infinite;
}

.rs-button.is-busy .rs-button__busy {
	display: block;
}

@keyframes rs-spin {

	to {
		transform: rotate(360deg);
	}
}

.rs-smallprint {
	margin: 0;
	font-size: 0.82rem;
	line-height: 1.6;
	color: var(--rs-muted);
}

.rs-note {
	padding: 16px;
	background: var(--rs-ivory);
	border-radius: var(--rs-radius);
}

/* ------------------------------------------------------------ cart display */

.rs-cart-thumb,
.rs-order-thumb {
	border: 1px solid rgba(10, 24, 18, 0.12);
}

@media (prefers-reduced-motion: reduce) {

	.rs-button,
	.rs-button__busy,
	.rs-check,
	.rs-format__body,
	.rs-format__icon,
	.rs-pack.is-swapping {
		transition: none;
		animation: none;
	}
}

/* ------------------------------------------------------------------ phones */
/* Mobile polish pass (coder T, theme): phones only, nothing above 782 px changes.
   Recorded in docs/_decisions.md. */

@media (max-width: 782px) {

	.rs-customiser {
		gap: 24px;
	}

	/* The preview is never taller than 62 per cent of the screen, and stays centred: the pouch
	   render is 1044 by 1559; the tin photo and the label side by side are about 0.64 as tall as
	   they are wide. */
	.rs-pack--bag .rs-pack__view--bag {
		max-width: min(480px, calc(62vh * 1044 / 1559));
		max-width: min(480px, calc(62svh * 1044 / 1559));
	}

	.rs-pack--sachets .rs-pack__view--sachets {
		gap: 12px;
		max-width: min(520px, calc(62vh / 0.64));
		max-width: min(520px, calc(62svh / 0.64));
	}

	/* Formats: two pills, the icon over the name and the one line note under it. */
	.rs-formats__grid {
		gap: 10px;
	}

	.rs-format__body {
		gap: 4px;
		justify-items: center;
		padding: 12px 10px 14px;
		text-align: center;
		border-radius: 18px;
	}

	.rs-format__icon {
		width: 36px;
		height: 36px;
	}

	.rs-format__label {
		font-size: 0.72rem;
	}

	.rs-format__note {
		font-size: 0.74rem;
		line-height: 1.35;
	}

	.rs-label-help {
		margin-top: 10px;
		font-size: 0.8rem;
	}

	.rs-form {
		gap: 22px;
	}

	.rs-form__title {
		font-size: 1.5rem;
	}

	/* Plan switcher: two equal pills, the plan on the first line and the price
	   on the second. The radio stays in place, invisible, over the whole pill. */
	.rs-plans__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.rs-plan__input {
		inset: 0;
		width: 100%;
		height: 100%;
		opacity: 0;
		cursor: pointer;
	}

	.rs-plan__body {
		min-height: 60px;
		padding: 10px 12px;
		gap: 2px;
		align-content: center;
		justify-items: center;
		text-align: center;
		border-radius: 999px;
	}

	.rs-plan__input:checked + .rs-plan__body {
		background: var(--rs-green);
		border-color: var(--rs-green);
	}

	.rs-plan__input:checked + .rs-plan__body .rs-plan__label,
	.rs-plan__input:checked + .rs-plan__body .rs-plan__price,
	.rs-plan__input:checked + .rs-plan__body .rs-plan__extra {
		color: var(--rs-ivory);
	}

	.rs-plan__label {
		font-size: 0.72rem;
	}

	.rs-plan__price {
		font-size: 1rem;
		line-height: 1.2;
	}

	/* The qualifier is a short third line in the pill. */
	.rs-plan__extra {
		margin-top: 0;
		font-size: 0.72rem;
	}

	/* The tin line for monthly sachets moves under the pills. */
	.rs-plan__first {
		display: none;
	}

	.rs-plans__first {
		display: block;
		margin: 2px 0 0;
		text-wrap: balance;
		font-size: 0.82rem;
		font-weight: 700;
		line-height: 1.4;
		text-align: center;
		color: var(--rs-green-deep);
	}

	.rs-check {
		padding: 12px 14px;
		border-radius: 18px;
	}

	.rs-check__text {
		font-size: 0.88rem;
	}

	/* The note stays for screen readers; the pill only has room for the plan and its price. */
	.rs-plan__note {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}

	.rs-input {
		font-size: 16px;
	}

	/* Photo: a tall, obvious tap target with a camera, "Upload a photo" and the
	   size note. Phones cannot drop files, so the drop wording is visually hidden
	   (it stays for screen readers, and the new title is hidden from them). */
	.rs-drop {
		flex-direction: column;
		justify-content: center;
		gap: 8px;
		min-height: 128px;
		padding: 20px 16px;
		text-align: center;
	}

	.rs-drop__icon {
		width: 48px;
		height: 48px;
	}

	.rs-drop__icon svg {
		display: none;
	}

	.rs-drop__icon::before {
		content: "";
		width: 26px;
		height: 26px;
		background: currentColor;
		-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.4h3.2l1.4-2h6.8l1.4 2H20a1 1 0 0 1 1 1v8.2a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V9.4a1 1 0 0 1 1-1Z'/%3E%3Ccircle cx='12' cy='13.4' r='3.3'/%3E%3C/svg%3E") center / contain no-repeat;
		mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.4h3.2l1.4-2h6.8l1.4 2H20a1 1 0 0 1 1 1v8.2a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V9.4a1 1 0 0 1 1-1Z'/%3E%3Ccircle cx='12' cy='13.4' r='3.3'/%3E%3C/svg%3E") center / contain no-repeat;
	}

	.rs-drop__text {
		justify-items: center;
	}

	.rs-drop__text strong {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}

	.rs-drop__text::before {
		content: "Upload a photo";
		content: "Upload a photo" / "";
		font-size: 1rem;
		font-weight: 700;
		color: var(--rs-green-deep);
	}

	/* Zoom: the slider takes the full width, Recentre sits under it. */
	.rs-zoom {
		flex-wrap: wrap;
		gap: 8px 12px;
	}

	.rs-range {
		flex: 1 1 100%;
		width: 100%;
	}

	#rs-recentre {
		margin-left: auto;
	}

	.rs-button--primary {
		width: 100%;
		min-height: 56px;
		height: 56px;
		padding-top: 0;
		padding-bottom: 0;
		line-height: 1.2;
	}
}
