/**
 * Returns, refunds & exchanges (Better Homes). Builds on account-page.css (fields, alerts, buttons)
 * and track-order.css (cards, badges). Markup: template-parts/returns/returns.php.
 */

.bh-returns [hidden] {
	display: none !important;
}

/* Without the script the steps cannot be used (a <noscript> message is shown instead). */
.bh-returns:not([data-bh-js]) .bh-rr-flow,
.bh-returns:not([data-bh-js]) .bh-rr-progress {
	display: none;
}

/* ---------- Intro and progress ---------- */

.bh-rr-intro {
	margin: 0 0 22px;
	text-align: center;
}

.bh-returns .bh-rr-intro .bh-track-title {
	margin-bottom: 8px;
}

.bh-returns .bh-rr-lead {
	max-width: 520px;
	margin: 0 auto 20px;
	color: var(--bh-muted);
	font-size: 15px;
	line-height: 1.6;
}

.bh-returns .bh-rr-progress {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bh-rr-progress li {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: var(--bh-muted);
	font-size: 14px;
	font-weight: 500;
	white-space: nowrap;
}

.bh-rr-progress li + li::before {
	content: "";
	width: 28px;
	height: 1.5px;
	margin-right: 2px;
	background: var(--bh-line);
	transition: background .3s ease;
}

.bh-rr-progress li > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border: 1.5px solid var(--bh-line);
	border-radius: 50%;
	background: #fff;
	font-size: 13px;
	font-weight: 600;
	transition: background .3s ease, border-color .3s ease, color .3s ease;
}

.bh-rr-progress li.is-current {
	color: var(--bh-ink);
}

.bh-rr-progress li.is-current > span {
	border-color: var(--bh-accent);
	color: var(--bh-accent);
}

.bh-rr-progress li.is-done > span {
	border-color: var(--bh-accent);
	background: var(--bh-accent);
	color: #fff;
}

.bh-rr-progress li.is-done + li::before {
	background: var(--bh-accent);
}

/* ---------- Step cards ---------- */

.bh-returns .bh-rr-step {
	padding: 0;
	overflow: hidden;
	transition: border-color .25s ease, box-shadow .25s ease;
}

.bh-returns .bh-rr-step.is-open {
	border-color: var(--bh-brand-line, #e5d3da);
	box-shadow: 0 8px 24px rgba(36, 36, 36, .06);
}

.bh-rr-step__head {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px 22px;
}

.bh-rr-step__no {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border: 1.5px solid var(--bh-line);
	border-radius: 50%;
	color: var(--bh-muted);
	font-size: 14px;
	font-weight: 600;
	transition: background .25s ease, border-color .25s ease, color .25s ease;
}

.bh-rr-step__no svg {
	display: none;
}

.bh-rr-step.is-open .bh-rr-step__no {
	border-color: var(--bh-accent);
	color: var(--bh-accent);
}

.bh-rr-step.is-done .bh-rr-step__no {
	border-color: var(--bh-accent);
	background: var(--bh-accent);
	color: #fff;
}

.bh-rr-step.is-done .bh-rr-step__no span {
	display: none;
}

.bh-rr-step.is-done .bh-rr-step__no svg {
	display: block;
}

.bh-rr-step__titles {
	flex: 1 1 auto;
	min-width: 0;
}

.bh-returns .bh-rr-step .bh-rr-step__title {
	margin: 0;
	font-size: 17px;
	outline: none;
}

.bh-rr-step:not(.is-open):not(.is-done) .bh-rr-step__title {
	color: var(--bh-muted);
}

.bh-returns .bh-rr-step .bh-rr-step__summary {
	margin: 3px 0 0;
	overflow: hidden;
	color: var(--bh-muted);
	font-size: 14px;
	line-height: 1.4;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bh-returns .bh-rr-step__change {
	letter-spacing: normal;
	text-transform: none;
	flex: 0 0 auto;
	margin: 0;
	padding: 6px 2px;
	border: 0;
	background: none;
	color: var(--bh-ink);
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.bh-returns .bh-rr-step__change:hover {
	color: var(--bh-accent);
}

.bh-rr-step__body {
	padding: 0 22px 22px;
	animation: bh-rr-in .28s ease;
}

@keyframes bh-rr-in {
	from {
		opacity: 0;
		transform: translateY(6px);
	}

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

@media (prefers-reduced-motion: reduce) {
	.bh-rr-step__body {
		animation: none;
	}
}

.bh-returns .bh-rr-hint {
	margin: 0 0 16px;
	color: var(--bh-muted);
	font-size: 14px;
	line-height: 1.55;
}

.bh-returns .bh-rr-step .bh-auth__submit {
	margin-top: 6px;
}

.bh-returns .bh-rr-step .bh-auth__submit:not(:disabled),
.bh-returns .bh-auth__form.is-ready .bh-auth__submit {
	background: var(--btn-accented-bgcolor, var(--bh-accent));
	color: var(--btn-accented-color, #fff);
	cursor: pointer;
}

.bh-returns .bh-auth__submit:disabled {
	cursor: not-allowed;
}

.bh-returns .bh-auth__submit[aria-busy="true"] {
	opacity: .7;
}

.bh-returns .bh-rr-alt {
	margin: 14px 0 0;
	text-align: center;
}

.bh-returns .bh-rr-link {
	letter-spacing: normal;
	text-transform: none;
	margin: 0;
	padding: 4px 2px;
	border: 0;
	background: none;
	color: var(--bh-ink);
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.bh-returns .bh-rr-link:hover {
	color: var(--bh-accent);
}

/* ---------- Choices (orders, topics, reasons) ---------- */

.bh-returns .bh-rr-list {
	display: grid;
	gap: 10px;
	min-width: 0;
	margin: 0 0 18px;
	padding: 0;
	border: 0;
}

.bh-returns .bh-rr-legend {
	margin: 0 0 10px;
	padding: 0;
	color: var(--bh-ink);
	font-size: 15px;
	font-weight: 600;
}

.bh-returns .bh-rr-choice {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
	padding: 14px 16px;
	border: 1px solid var(--bh-line);
	border-radius: 12px;
	background: #fff;
	color: var(--bh-ink);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.45;
	cursor: pointer;
	transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
	-webkit-tap-highlight-color: transparent;
}

.bh-returns .bh-rr-choice:hover {
	border-color: #b9b9b9;
}

.bh-returns .bh-rr-choice input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
	pointer-events: none;
}

.bh-returns .bh-rr-choice:has(input:checked) {
	border-color: var(--bh-accent);
	background: var(--bh-brand-soft, #f7f0f3);
	box-shadow: inset 0 0 0 1px var(--bh-accent);
}

.bh-returns .bh-rr-choice:has(input:focus-visible) {
	outline: 2px solid var(--bh-ink);
	outline-offset: 2px;
}

.bh-rr-radio {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	margin-left: auto;
	border: 1.5px solid #bdbdbd;
	border-radius: 50%;
	background: #fff;
	color: transparent;
	transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.bh-rr-choice input:checked ~ .bh-rr-radio {
	border-color: var(--bh-accent);
	background: var(--bh-accent);
	color: #fff;
}

/* Order */
.bh-rr-order {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.bh-rr-order.is-found {
	padding: 14px 16px;
	border: 1px solid var(--bh-line);
	border-radius: 12px;
	background: var(--bh-brand-tint, #fbf7f9);
}

.bh-rr-order__pics {
	display: flex;
	flex: 0 0 auto;
}

.bh-returns .bh-rr-order__pics img {
	width: 56px;
	height: 56px;
	border: 2px solid #fff;
	border-radius: 10px;
	background: var(--bh-brand-soft, #f7f0f3);
	object-fit: cover;
}

.bh-returns .bh-rr-order__pics img + img {
	margin-left: -26px;
}

.bh-rr-order__info {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.bh-rr-order__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
}

.bh-rr-order__top strong {
	font-size: 15px;
	font-weight: 600;
}

.bh-rr-order__meta,
.bh-rr-order__items {
	overflow: hidden;
	color: var(--bh-muted);
	font-size: 13.5px;
	line-height: 1.4;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bh-rr-order__items {
	color: var(--bh-ink);
}

.bh-rr-found {
	margin: 0;
}

/* Topic */
.bh-rr-topic__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.bh-rr-topic__text strong {
	font-size: 15px;
	font-weight: 600;
}

.bh-rr-topic__text span {
	color: var(--bh-muted);
	font-size: 13.5px;
}

.bh-returns .bh-rr-list--topics {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Reason */
.bh-returns .bh-rr-reason {
	padding: 13px 16px;
}

/* ---------- Notes ---------- */

.bh-rr-notes {
	display: grid;
	gap: 10px;
	margin: 0 0 18px;
}

.bh-rr-notes:not(:has(.bh-rr-note:not([hidden]))) {
	margin: 0;
}

.bh-returns .bh-rr-note {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
	padding: 14px 16px;
	border: 1px solid var(--bh-line);
	border-radius: 12px;
	background: var(--bh-brand-soft, #f7f0f3);
	color: var(--bh-ink);
	font-size: 14px;
	line-height: 1.55;
	animation: bh-rr-in .25s ease;
}

.bh-returns .bh-rr-note svg {
	flex: 0 0 auto;
	margin-top: 1px;
	color: var(--bh-accent);
}

.bh-returns .bh-rr-note--collect {
	border-color: var(--bh-brand-line, #e5d3da);
	background: var(--bh-brand-soft, #f7f0f3);
}

.bh-rr-note strong {
	display: block;
	margin-bottom: 2px;
	font-weight: 600;
}

.bh-rr-note a {
	color: var(--bh-ink);
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ---------- Sign in (visitors) ---------- */

.bh-returns .bh-rr-signin {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
	margin: 0 0 20px;
	padding: 16px 18px;
	border: 1px solid var(--bh-brand-line, #e5d3da);
	border-radius: 12px;
	background: var(--bh-brand-soft, #f7f0f3);
}

.bh-rr-signin__icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #fff;
	color: var(--bh-accent);
}

.bh-rr-signin > div {
	display: flex;
	flex: 1 1 220px;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	font-size: 14px;
	line-height: 1.5;
}

.bh-rr-signin strong {
	color: var(--bh-ink);
	font-size: 15px;
	font-weight: 600;
}

.bh-rr-signin span {
	color: var(--bh-muted);
}

/* ---------- Sent ---------- */

.bh-returns .bh-rr-done {
	padding: 32px 26px;
	text-align: center;
	outline: none;
	animation: bh-rr-in .3s ease;
}

.bh-rr-done__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin: 0 0 14px;
	border-radius: 50%;
	background: var(--bh-brand-soft, #f7f0f3);
	color: var(--bh-accent);
}

.bh-returns .bh-rr-done h2 {
	margin-bottom: 10px;
	font-size: 22px;
}

.bh-returns .bh-rr-done p {
	max-width: 480px;
	margin: 0 auto 8px;
}

.bh-returns .bh-rr-done [data-bh-done-summary] {
	color: var(--bh-ink);
	font-weight: 500;
}

.bh-returns .bh-rr-done .bh-rr-done__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-top: 20px;
}

/* ---------- Your requests ---------- */

.bh-returns .bh-rr-requests {
	margin: 0;
	padding: 0;
	list-style: none;
}

.bh-rr-requests li {
	margin: 0;
	padding: 14px 0;
	border-top: 1px solid var(--bh-line);
}

.bh-rr-requests li:first-child {
	padding-top: 0;
	border-top: 0;
}

.bh-rr-requests li:last-child {
	padding-bottom: 0;
}

.bh-rr-requests__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 6px 12px;
	margin-bottom: 4px;
}

.bh-rr-requests__top strong {
	font-size: 15px;
	font-weight: 600;
}

.bh-returns .bh-rr-requests p {
	margin: 0;
	color: var(--bh-muted);
	font-size: 14px;
}

/* ---------- The Fluent Forms form, in our style ---------- */

.bh-returns .bh-rr-form .ff-el-group {
	margin: 0 0 16px;
}

.bh-returns .bh-rr-form .ff-el-input--label {
	margin: 0 0 6px;
	padding: 0;
}

.bh-returns .bh-rr-form .ff-el-input--label label {
	margin: 0;
	color: var(--bh-ink);
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
}

.bh-returns .bh-rr-form .ff-el-is-required.asterisk-right label::after {
	margin-left: 3px;
	color: var(--bh-error);
}

.bh-returns .bh-rr-form .ff-el-form-control {
	display: block;
	width: 100%;
	height: 52px;
	margin: 0;
	padding: 0 16px;
	border: 1px solid var(--bh-line);
	border-radius: 8px;
	background: #fff;
	box-shadow: none;
	color: var(--bh-ink);
	font-family: inherit;
	font-size: 16px; /* no zoom on iPhones */
	line-height: 1.3;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.bh-returns .bh-rr-form textarea.ff-el-form-control {
	height: auto;
	min-height: 104px;
	padding: 14px 16px;
	resize: vertical;
}

.bh-returns .bh-rr-form select.ff-el-form-control,
.bh-returns .bh-rr-form select.ff-el-form-control:not([size]):not([multiple]) {
	height: 52px;
	padding-right: 36px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18' fill='none' stroke='%23242424' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-position: right 12px center;
	background-repeat: no-repeat;
	-webkit-appearance: none;
	appearance: none;
}

.bh-returns .bh-rr-form .ff-el-form-control:hover {
	border-color: #b9b9b9;
}

.bh-returns .bh-rr-form .ff-el-form-control:focus {
	border-color: var(--bh-accent);
	box-shadow: 0 0 0 3px rgba(55, 13, 29, .15);
	outline: none;
}

.bh-returns .bh-rr-form .ff-el-is-error .ff-el-form-control {
	border-color: var(--bh-error);
}

.bh-returns .bh-rr-form .error,
.bh-returns .bh-rr-form .text-danger {
	margin: 6px 2px 0;
	color: var(--bh-error);
	font-size: 13px;
	line-height: 1.4;
}

.bh-returns .bh-rr-form .ff-errors-in-stack {
	margin: 0 0 14px;
	padding: 12px 16px;
	border: 1px solid #f1c7cf;
	border-radius: 10px;
	background: #fdf3f5;
	color: var(--bh-error);
	font-size: 14px;
}

.bh-returns .bh-rr-form .ff-errors-in-stack:empty {
	display: none;
}

.bh-returns .bh-rr-form .ff_submit_btn_wrapper {
	margin: 4px 0 0;
}

.bh-returns .bh-rr-form .ff-btn-submit.ff-btn-submit,
.bh-returns .bh-rr-form .ff-btn-submit.ff-btn-submit:hover,
.bh-returns .bh-rr-form .ff-btn-submit.ff-btn-submit:focus {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 52px;
	margin: 0;
	padding: 0 24px;
	border: 0;
	border-radius: var(--btn-default-brd-radius, 5px); /* the site's button corners */
	background: var(--btn-accented-bgcolor, var(--bh-accent));
	box-shadow: none;
	color: var(--btn-accented-color, #fff);
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-transform: none;
	opacity: 1;
	cursor: pointer;
}

.bh-returns .bh-rr-form .ff-btn-submit.ff-btn-submit:hover {
	filter: brightness(1.06);
}

.bh-returns .bh-rr-form .ff-btn-submit.ff-btn-submit:focus-visible {
	outline: 2px solid var(--bh-ink);
	outline-offset: 3px;
}

.bh-returns .bh-rr-form .ff-btn-submit.ff-btn-submit.disabled,
.bh-returns .bh-rr-form .ff-working .ff-btn-submit.ff-btn-submit {
	opacity: .7;
}

.bh-returns .bh-rr-form .ff-message-success {
	display: none; /* our own "sent" card is shown instead */
}

/* ---------- Phones ---------- */

@media (max-width: 600px) {
	.bh-returns .bh-rr-progress {
		gap: 4px;
	}

	.bh-rr-progress li {
		gap: 6px;
		font-size: 12.5px;
	}

	.bh-rr-progress li + li::before {
		width: 12px;
	}

	.bh-rr-step__head {
		gap: 12px;
		padding: 16px;
	}

	.bh-rr-step__body {
		padding: 0 16px 18px;
	}

	.bh-returns .bh-rr-list--topics {
		grid-template-columns: minmax(0, 1fr);
	}

	.bh-returns .bh-rr-choice {
		padding: 13px 14px;
	}

	.bh-returns .bh-rr-order__pics img {
		width: 48px;
		height: 48px;
	}

	.bh-returns .bh-rr-signin .bh-btn {
		width: 100%;
	}
}

@media (max-width: 380px) {
	.bh-rr-progress li {
		font-size: 0;
	}

	.bh-rr-progress li > span {
		font-size: 13px;
	}
}

/* Latest note from the team, and the link to all updates, in "Your requests". */
.bh-returns .bh-rr-requests .bh-rr-requests__note {
	margin-top: 8px;
	padding: 10px 12px;
	border-left: 3px solid var(--bh-accent);
	border-radius: 0 8px 8px 0;
	background: var(--bh-brand-soft, #f7f0f3);
	color: var(--bh-ink);
}

.bh-returns .bh-rr-requests .bh-rr-requests__link {
	margin-top: 6px;
}

.bh-rr-requests__link a {
	color: var(--bh-ink);
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Return window: "Return by ..." on orders, the closed-window note, "Having a problem with an older order?" */
.bh-rr-order__until {
	color: var(--bh-accent);
	font-size: 13px;
	font-weight: 500;
}

.bh-returns .bh-rr-step__body > .bh-rr-note {
	margin: 0 0 18px;
}

.bh-returns .bh-rr-help {
	margin: 18px 0 0;
	color: var(--bh-muted);
	font-size: 14px;
	text-align: center;
}

.bh-rr-help a,
.bh-returns .bh-alert__text a {
	color: var(--bh-ink);
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ---------- Phone number: country flag + dialling code (intl-tel-input) ---------- */

.bh-returns .iti {
	display: block;
	width: 100%;
	--iti-border-color: var(--bh-line);
	--iti-dialcode-color: var(--bh-ink);
	--iti-dropdown-bg: #fff;
	--iti-hover-color: var(--bh-brand-soft, #f7f0f3);
	--iti-arrow-color: var(--bh-ink);
}

.bh-returns .iti .iti__selected-country,
.bh-returns .iti .iti__selected-country:hover,
.bh-returns .iti .iti__selected-country:focus {
	min-height: 0;
	height: 100%;
	margin: 0;
	padding: 0 8px 0 14px;
	border: 0;
	border-radius: 8px 0 0 8px;
	background: transparent;
	box-shadow: none;
	color: var(--bh-ink);
	font-family: inherit;
	font-size: 16px;
	font-weight: 400;
	letter-spacing: normal;
	text-transform: none;
}

.bh-returns .iti .iti__selected-country-primary,
.bh-returns .iti .iti__selected-country-primary:hover {
	background: transparent;
}

.bh-returns .iti .iti__selected-country:hover .iti__selected-country-primary {
	background: var(--bh-brand-soft, #f7f0f3);
}

.bh-returns .iti .iti__selected-dial-code {
	margin-left: 6px;
	color: var(--bh-ink);
	font-size: 16px;
}

.bh-returns .iti .iti__selected-country:focus-visible {
	outline: 2px solid var(--bh-ink);
	outline-offset: -2px;
}

.bh-returns .iti__dropdown-content {
	overflow: hidden;
	border: 1px solid var(--bh-line);
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(36, 36, 36, .12);
}

.bh-returns .iti .iti__search-input {
	height: 44px;
	margin: 0;
	padding: 0 12px 0 38px;
	border: 0;
	border-bottom: 1px solid var(--bh-line);
	border-radius: 0;
	box-shadow: none;
	font-size: 16px;
}

.bh-returns .iti .iti__country {
	padding: 9px 12px;
	font-size: 15px;
}

.bh-returns .iti .iti__country.iti__highlight {
	background: var(--bh-brand-soft, #f7f0f3);
}

.bh-returns .iti .iti__dial-code {
	color: var(--bh-muted);
}

/* The country search box, also when the list opens full screen on phones (outside the page): room for its icon. */
.iti input.iti__search-input[type="search"] {
	height: 44px;
	padding: 0 12px 0 38px;
	font-size: 16px;
	box-shadow: none;
}

/* Dialling code and number on one line: same size, line height and colour (Fluent Forms' grey text colour is
   more specific than ours, hence the extra .fluentform). */
.bh-returns .bh-rr-form .fluentform .ff-el-form-control {
	color: var(--bh-ink);
	line-height: 1.3;
}

.bh-returns .iti .iti__selected-dial-code {
	line-height: 1.3;
}

.bh-returns .iti .iti__selected-country,
.bh-returns .iti .iti__selected-country:hover,
.bh-returns .iti .iti__selected-country:focus {
	padding-right: 2px;
}

/* Which item(s): tick boxes with the product picture. */
.bh-returns .bh-rr-items {
	display: grid;
	gap: 10px;
}

.bh-returns .bh-rr-item img {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	border-radius: 8px;
	background: var(--bh-brand-soft, #f7f0f3);
	object-fit: cover;
}

.bh-rr-item__qty {
	color: var(--bh-muted);
	white-space: nowrap;
}

.bh-returns .bh-rr-radio--box {
	border-radius: 6px;
}

/* ---------- Photos and videos ---------- */

.bh-returns .bh-rr-evidence {
	margin: 0 0 18px;
}

.bh-returns .bh-rr-evidence .bh-rr-hint {
	margin-bottom: 12px;
}

.bh-returns .bh-rr-drop {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 22px 16px;
	border: 1.5px dashed var(--bh-brand-line, #e5d3da);
	border-radius: 12px;
	background: var(--bh-brand-tint, #fbf7f9);
	color: var(--bh-ink);
	font-size: 14px;
	font-weight: 400;
	text-align: center;
	cursor: pointer;
	transition: border-color .2s ease, background-color .2s ease;
}

.bh-returns .bh-rr-drop:hover,
.bh-returns .bh-rr-drop.is-over {
	border-color: var(--bh-accent);
	background: var(--bh-brand-soft, #f7f0f3);
}

.bh-returns .bh-rr-drop:has(input:focus-visible) {
	outline: 2px solid var(--bh-ink);
	outline-offset: 2px;
}

.bh-returns .bh-rr-drop svg {
	color: var(--bh-accent);
}

.bh-returns .bh-rr-drop input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.bh-rr-drop strong {
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.bh-rr-drop__or {
	color: var(--bh-muted);
}

@media (hover: none) {
	.bh-rr-drop__or {
		display: none; /* no dragging on phones */
	}
}

.bh-returns .bh-rr-evidence__error {
	margin: 8px 2px 0;
	color: var(--bh-error);
	font-size: 13px;
}

.bh-returns .bh-rr-files {
	display: grid;
	gap: 8px;
	margin: 10px 0 0;
	padding: 0;
	list-style: none;
}

.bh-rr-file {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 8px 10px;
	border: 1px solid var(--bh-line);
	border-radius: 10px;
	background: #fff;
	list-style: none;
}

.bh-rr-file.is-error {
	border-color: #f1c7cf;
	background: #fdf3f5;
}

.bh-rr-file__thumb {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	overflow: hidden;
	border-radius: 8px;
	background: var(--bh-brand-soft, #f7f0f3);
	color: var(--bh-muted);
}

.bh-returns .bh-rr-file__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bh-rr-file__info {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.bh-rr-file__name {
	overflow: hidden;
	color: var(--bh-ink);
	font-size: 14px;
	font-weight: 500;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bh-rr-file__meta {
	color: var(--bh-muted);
	font-size: 12.5px;
}

.bh-rr-file.is-error .bh-rr-file__meta {
	color: var(--bh-error);
}

.bh-rr-file__bar {
	display: block;
	height: 4px;
	overflow: hidden;
	border-radius: 4px;
	background: var(--bh-brand-soft-2, #f1e4ea);
}

.bh-rr-file__bar span {
	display: block;
	width: 0;
	height: 100%;
	background: var(--bh-accent);
	transition: width .2s ease;
}

.bh-rr-file.is-done .bh-rr-file__bar,
.bh-rr-file.is-error .bh-rr-file__bar {
	display: none;
}

.bh-returns .bh-rr-file__remove {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--bh-muted);
	cursor: pointer;
}

.bh-returns .bh-rr-file__remove:hover {
	background: var(--bh-brand-soft, #f7f0f3);
	color: var(--bh-ink);
}

/* Upload progress: each file's state, and the overall line above Continue. */
.bh-rr-file.is-done .bh-rr-file__state {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	color: var(--bh-brand, #370d1d);
	font-weight: 500;
}

.bh-rr-file.is-uploading .bh-rr-file__state {
	color: var(--bh-ink);
}

.bh-rr-file__bar {
	height: 6px;
}

.bh-rr-file.is-uploading .bh-rr-file__bar span {
	background-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, .35) 50%, rgba(255, 255, 255, 0) 100%);
	background-size: 200% 100%;
	animation: bh-rr-shimmer 1.2s linear infinite;
}

@keyframes bh-rr-shimmer {
	from {
		background-position: 200% 0;
	}

	to {
		background-position: -200% 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bh-rr-file.is-uploading .bh-rr-file__bar span {
		animation: none;
	}
}

.bh-returns .bh-rr-file__retry {
	align-self: flex-start;
	min-height: 0;
	margin: 4px 0 0;
	padding: 4px 10px;
	border: 1px solid var(--bh-error);
	border-radius: var(--btn-default-brd-radius, 5px);
	background: #fff;
	color: var(--bh-error);
	font-family: inherit;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: normal;
	text-transform: none;
	cursor: pointer;
}

.bh-returns .bh-rr-file__retry:hover {
	background: var(--bh-error);
	color: #fff;
}

.bh-rr-upload-status {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0 0 12px;
	padding: 12px 14px;
	border: 1px solid var(--bh-brand-line, #e5d3da);
	border-radius: 10px;
	background: var(--bh-brand-soft, #f7f0f3);
	color: var(--bh-ink);
	font-size: 14px;
	font-weight: 500;
}

.bh-rr-upload-status__bar {
	display: block;
	height: 6px;
	overflow: hidden;
	border-radius: 6px;
	background: var(--bh-brand-soft-2, #f1e4ea);
}

.bh-rr-upload-status__bar span {
	display: block;
	width: 0;
	height: 100%;
	background: var(--bh-accent);
	transition: width .25s ease;
}

/* Refund / exchange: "I confirm the item is …" */
.bh-returns .bh-rr-confirm {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0 0 16px;
	padding: 14px 16px;
	border: 1px solid var(--bh-line);
	border-radius: 12px;
	background: var(--bh-brand-tint, #fbf7f9);
	color: var(--bh-ink);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.55;
	cursor: pointer;
}

.bh-returns .bh-rr-confirm:has(input:checked) {
	border-color: var(--bh-accent);
	background: var(--bh-brand-soft, #f7f0f3);
}

.bh-returns .bh-rr-confirm:has(input:focus-visible) {
	outline: 2px solid var(--bh-ink);
	outline-offset: 2px;
}

.bh-returns .bh-rr-confirm input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
}

.bh-rr-confirm__box {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	margin-top: 1px;
	border: 1.5px solid #9a9a9a;
	border-radius: 6px;
	background: #fff;
	color: transparent;
	transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.bh-rr-confirm input:checked + .bh-rr-confirm__box {
	border-color: var(--bh-accent);
	background: var(--bh-accent);
	color: #fff;
}

/* The order found by number: checked by the customer before going on. */
.bh-returns .bh-rr-found__title {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0 0 12px;
	padding: 12px 14px;
	border: 1px solid var(--bh-brand-line, #e5d3da);
	border-radius: 10px;
	background: var(--bh-brand-soft, #f7f0f3);
	color: var(--bh-ink);
	font-size: 14px;
	line-height: 1.5;
	outline: none;
}

.bh-rr-found__title svg {
	flex: 0 0 auto;
	margin-top: 1px;
	color: var(--bh-accent);
}

.bh-rr-found__title strong {
	font-weight: 600;
}

.bh-returns .bh-rr-found .bh-rr-order.is-found {
	margin: 0 0 14px;
}

.bh-returns .bh-rr-found__lines {
	display: grid;
	gap: 8px;
	margin: 10px 0 0;
	padding: 0;
	list-style: none;
}

.bh-rr-found__lines li {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	color: var(--bh-ink);
	font-size: 14px;
	line-height: 1.4;
	list-style: none;
}

.bh-returns .bh-rr-found__lines img {
	flex: 0 0 auto;
	width: 48px;
	height: 48px;
	border-radius: 8px;
	background: var(--bh-brand-soft, #f7f0f3);
	object-fit: cover;
}

.bh-rr-found__qty {
	color: var(--bh-muted);
	white-space: nowrap;
}

.bh-returns .bh-rr-found .bh-rr-alt {
	color: var(--bh-muted);
	font-size: 14px;
}

/* Text links that are buttons ("Search again", "Can't see your order?"): underlined like links (the theme's
   button styles would otherwise remove it). */
.bh-returns .bh-rr-step button.bh-rr-link {
	color: var(--bh-ink);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.bh-returns .bh-rr-step button.bh-rr-link:hover {
	color: var(--bh-accent);
}

/* Woodmart sets "text-decoration: none !important" on every button, so the underline of these text-link buttons
   is drawn as a 1px line under the text instead. */
.bh-returns .bh-rr-step button.bh-rr-link,
.bh-returns .bh-rr-step .bh-rr-step__change {
	min-height: 0;
	height: auto;
	padding: 0 0 1px;
	line-height: 1.35;
	background-image: linear-gradient(currentColor, currentColor);
	background-position: 0 100%;
	background-repeat: no-repeat;
	background-size: 100% 1px;
}
