/**
 * EveryRep Returns & Exchanges customer portal.
 *
 * File: assets/css/portal.css
 * Version: 0.3.4
 * Last Updated: 2026-07-18
 */

/* ==========================================================
   DESIGN TOKENS
   ========================================================== */

.everyrep-rma-portal {
	--er-rma-background: #ffffff;
	--er-rma-surface: #ffffff;
	--er-rma-surface-muted: #f7f7f8;
	--er-rma-surface-hover: #f2f2f3;
	--er-rma-border: #e4e4e7;
	--er-rma-border-strong: #d1d1d6;
	--er-rma-text: #151515;
	--er-rma-text-secondary: #5e5e63;
	--er-rma-text-muted: #7a7a80;
	--er-rma-primary: #111111;
	--er-rma-primary-hover: #2b2b2b;
	--er-rma-primary-text: #ffffff;
	--er-rma-success: #16794b;
	--er-rma-success-background: #edf8f2;
	--er-rma-progress-complete: #76767b;
	--er-rma-progress-complete-line: #a6a6ab;
	--er-rma-error: #b42318;
	--er-rma-error-background: #fff1f0;
	--er-rma-focus: rgba(17, 17, 17, 0.18);
	--er-rma-shadow:
		0 1px 2px rgba(0, 0, 0, 0.04),
		0 8px 28px rgba(0, 0, 0, 0.06);
	--er-rma-radius-small: 8px;
	--er-rma-radius-medium: 12px;
	--er-rma-radius-large: 18px;
	--er-rma-control-height: 52px;
	--er-rma-transition:
		160ms cubic-bezier(0.4, 0, 0.2, 1);

	box-sizing: border-box;
	width: 100%;
	margin: 0;
	color: var(--er-rma-text);
	font-family:
		Inter,
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		Helvetica,
		Arial,
		sans-serif;
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.everyrep-rma-portal *,
.everyrep-rma-portal *::before,
.everyrep-rma-portal *::after {
	box-sizing: inherit;
}

.everyrep-rma-portal button,
.everyrep-rma-portal input,
.everyrep-rma-portal select,
.everyrep-rma-portal textarea {
	font: inherit;
}

.everyrep-rma-portal [hidden] {
	display: none !important;
}


.everyrep-rma-portal__layout {
	display: grid;
	grid-template-columns: minmax(0, 760px);
	justify-content: center;
	gap: 28px;
	width: 100%;
}

.everyrep-rma-portal__lifestyle {
	display: none;
	min-height: 680px;
	overflow: hidden;
	border-radius: var(--er-rma-radius-large);
}

.everyrep-rma-portal__lifestyle-image {
	display: none;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.everyrep-rma-portal__lifestyle-image--neutral {
	display: block;
}

.everyrep-rma-portal--men .everyrep-rma-portal__lifestyle-image--neutral,
.everyrep-rma-portal--women .everyrep-rma-portal__lifestyle-image--neutral {
	display: none;
}

.everyrep-rma-portal--men .everyrep-rma-portal__lifestyle-image--men,
.everyrep-rma-portal--women .everyrep-rma-portal__lifestyle-image--women {
	display: block;
}

.everyrep-rma-portal__footer a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (min-width: 1120px) {
	.everyrep-rma-portal--standalone .everyrep-rma-portal__layout {
		grid-template-columns: minmax(0, 760px) minmax(280px, 420px);
		align-items: stretch;
		max-width: 1210px;
		margin: 0 auto;
	}

	.everyrep-rma-portal--standalone .everyrep-rma-portal__lifestyle {
		display: block;
	}
}

/* ==========================================================
   PORTAL SHELL
   ========================================================== */

.everyrep-rma-portal__shell {
	width: 100%;
	max-width: 760px;
	margin: 0 auto;
	padding: 40px 32px;
	background: var(--er-rma-background);
	border: 1px solid var(--er-rma-border);
	border-radius: var(--er-rma-radius-large);
	box-shadow: var(--er-rma-shadow);
}

.everyrep-rma-portal--account .everyrep-rma-portal__shell {
	max-width: none;
	padding: 8px 0 24px;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.everyrep-rma-portal__header {
	margin: 0 0 30px;
	text-align: center;
}

.everyrep-rma-portal--account .everyrep-rma-portal__header {
	text-align: left;
}

.everyrep-rma-portal__eyebrow {
	margin: 0 0 8px;
	color: var(--er-rma-text-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	line-height: 1.2;
	text-transform: uppercase;
}

.everyrep-rma-portal__title {
	margin: 0;
	color: var(--er-rma-text);
	font-size: clamp(28px, 5vw, 40px);
	font-weight: 650;
	letter-spacing: -0.035em;
	line-height: 1.1;
}

.everyrep-rma-portal--account .everyrep-rma-portal__title {
	font-size: clamp(26px, 4vw, 34px);
}

.everyrep-rma-portal__intro {
	max-width: 540px;
	margin: 12px auto 0;
	color: var(--er-rma-text-secondary);
	font-size: 16px;
	line-height: 1.6;
}

.everyrep-rma-portal--account .everyrep-rma-portal__intro {
	margin-left: 0;
}

/* ==========================================================
   PROGRESS INDICATOR
   ========================================================== */

.everyrep-rma-progress {
	margin: 0 0 36px;
	overflow: hidden;
}

.everyrep-rma-progress__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	align-items: start;
	margin: 0;
	padding: 0;
	list-style: none;
}

.everyrep-rma-progress__item {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 0;
	color: var(--er-rma-text-muted);
	text-align: center;
}

.everyrep-rma-progress__item::before,
.everyrep-rma-progress__item::after {
	position: absolute;
	top: 15px;
	z-index: 0;
	width: 50%;
	height: 1px;
	background: var(--er-rma-border);
	content: "";
}

.everyrep-rma-progress__item::before {
	right: 50%;
}

.everyrep-rma-progress__item::after {
	left: 50%;
}

.everyrep-rma-progress__item:first-child::before,
.everyrep-rma-progress__item:last-child::after {
	display: none;
}

.everyrep-rma-progress__number {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 31px;
	height: 31px;
	margin: 0 0 8px;
	background: var(--er-rma-surface);
	border: 1px solid var(--er-rma-border-strong);
	border-radius: 50%;
	color: var(--er-rma-text-muted);
	font-size: 13px;
	font-weight: 650;
	line-height: 1;
	transition:
		background-color var(--er-rma-transition),
		border-color var(--er-rma-transition),
		color var(--er-rma-transition);
}

.everyrep-rma-progress__label {
	display: block;
	max-width: 100%;
	overflow: hidden;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.everyrep-rma-progress__item.is-current,
.everyrep-rma-progress__item.is-complete {
	color: var(--er-rma-text);
}

.everyrep-rma-progress__item.is-current .everyrep-rma-progress__number {
	background: var(--er-rma-primary);
	border-color: var(--er-rma-primary);
	color: #ffffff !important;
}

.everyrep-rma-progress__item.is-complete .everyrep-rma-progress__number {
	background: var(--er-rma-progress-complete);
	border-color: var(--er-rma-progress-complete);
	color: #ffffff;
}

.everyrep-rma-progress__item.is-complete::before,
.everyrep-rma-progress__item.is-complete::after {
	background: var(--er-rma-progress-complete-line);
}

/* ==========================================================
   SCREEN STRUCTURE
   ========================================================== */

.everyrep-rma-screen {
	animation: everyrep-rma-fade-in 220ms ease-out;
}

.everyrep-rma-screen__header {
	margin: 0 0 26px;
}

.everyrep-rma-screen__title {
	margin: 0;
	color: var(--er-rma-text);
	font-size: clamp(23px, 4vw, 30px);
	font-weight: 650;
	letter-spacing: -0.025em;
	line-height: 1.2;
}

.everyrep-rma-screen__description {
	max-width: 600px;
	margin: 9px 0 0;
	color: var(--er-rma-text-secondary);
	font-size: 15px;
	line-height: 1.6;
}

@keyframes everyrep-rma-fade-in {
	from {
		opacity: 0;
		transform: translateY(5px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ==========================================================
   FORMS
   ========================================================== */

.everyrep-rma-form,
.everyrep-rma-items-form,
.everyrep-rma-details-form {
	width: 100%;
}

.everyrep-rma-field {
	margin: 0 0 22px;
}

.everyrep-rma-field__label,
.everyrep-rma-field label {
	display: block;
	margin: 0 0 8px;
	color: var(--er-rma-text);
	font-size: 14px;
	font-weight: 650;
	line-height: 1.3;
}

.everyrep-rma-field__input,
.everyrep-rma-field input,
.everyrep-rma-field select,
.everyrep-rma-field textarea {
	display: block;
	width: 100%;
	min-height: var(--er-rma-control-height);
	margin: 0;
	padding: 13px 15px;
	background: var(--er-rma-surface);
	border: 1px solid var(--er-rma-border-strong);
	border-radius: var(--er-rma-radius-small);
	box-shadow: none;
	color: var(--er-rma-text);
	font-size: 16px;
	line-height: 1.4;
	outline: none;
	transition:
		border-color var(--er-rma-transition),
		box-shadow var(--er-rma-transition),
		background-color var(--er-rma-transition);
	appearance: none;
	-webkit-appearance: none;
}

.everyrep-rma-field textarea {
	min-height: 118px;
	resize: vertical;
}

.everyrep-rma-field__input::placeholder,
.everyrep-rma-field input::placeholder,
.everyrep-rma-field textarea::placeholder {
	color: #929298;
	opacity: 1;
}

.everyrep-rma-field__input:hover,
.everyrep-rma-field input:hover,
.everyrep-rma-field select:hover,
.everyrep-rma-field textarea:hover {
	border-color: #aaaaaf;
}

.everyrep-rma-field__input:focus,
.everyrep-rma-field input:focus,
.everyrep-rma-field select:focus,
.everyrep-rma-field textarea:focus {
	border-color: var(--er-rma-primary);
	box-shadow: 0 0 0 4px var(--er-rma-focus);
}

.everyrep-rma-field.is-invalid .everyrep-rma-field__input,
.everyrep-rma-field.is-invalid input,
.everyrep-rma-field.is-invalid select,
.everyrep-rma-field.is-invalid textarea,
.everyrep-rma-field__input[aria-invalid="true"],
.everyrep-rma-field input[aria-invalid="true"] {
	border-color: var(--er-rma-error);
}

.everyrep-rma-field.is-invalid .everyrep-rma-field__input:focus,
.everyrep-rma-field.is-invalid input:focus,
.everyrep-rma-field__input[aria-invalid="true"]:focus,
.everyrep-rma-field input[aria-invalid="true"]:focus {
	box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.12);
}

.everyrep-rma-field__help {
	margin: 7px 0 0;
	color: var(--er-rma-text-muted);
	font-size: 13px;
	line-height: 1.45;
}

.everyrep-rma-field__error {
	margin: 7px 0 0;
	color: var(--er-rma-error);
	font-size: 13px;
	font-weight: 550;
	line-height: 1.45;
}

.everyrep-rma-form__actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	margin-top: 28px;
}

/* ==========================================================
   BUTTONS
   ========================================================== */

.everyrep-rma-button {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 160px;
	min-height: var(--er-rma-control-height);
	margin: 0;
	padding: 13px 24px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 650;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	outline: none;
	transition:
		background-color var(--er-rma-transition),
		border-color var(--er-rma-transition),
		box-shadow var(--er-rma-transition),
		color var(--er-rma-transition),
		opacity var(--er-rma-transition),
		transform 100ms ease;
	-webkit-tap-highlight-color: transparent;
}

.everyrep-rma-portal .everyrep-rma-button--primary {
	background: var(--er-rma-primary) !important;
	background-color: var(--er-rma-primary) !important;
	border-color: var(--er-rma-primary) !important;
	color: var(--er-rma-primary-text) !important;
}

.everyrep-rma-portal .everyrep-rma-button--primary:hover {
	background: var(--er-rma-primary-hover) !important;
	background-color: var(--er-rma-primary-hover) !important;
	border-color: var(--er-rma-primary-hover) !important;
	color: var(--er-rma-primary-text) !important;
}

.everyrep-rma-button:focus-visible {
	box-shadow:
		0 0 0 3px var(--er-rma-surface),
		0 0 0 6px var(--er-rma-focus);
}

.everyrep-rma-button:active {
	transform: scale(0.985);
}

.everyrep-rma-button:disabled,
.everyrep-rma-button[aria-disabled="true"],
.everyrep-rma-button.is-loading {
	opacity: 0.55;
	cursor: not-allowed;
	transform: none;
}

.everyrep-rma-button__loading {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-left: 10px;
}

.everyrep-rma-back-button {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 0 0 18px;
	padding: 5px 0;
	background: transparent;
	border: 0;
	color: var(--er-rma-text-secondary);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	cursor: pointer;
	outline: none;
	transition:
		color var(--er-rma-transition),
		opacity var(--er-rma-transition);
	-webkit-tap-highlight-color: transparent;
}

.everyrep-rma-back-button:hover {
	color: var(--er-rma-text);
}

.everyrep-rma-back-button:focus-visible {
	border-radius: 4px;
	box-shadow: 0 0 0 4px var(--er-rma-focus);
}

/* ==========================================================
   MESSAGES
   ========================================================== */

.everyrep-rma-portal__messages,
.everyrep-rma-form-message {
	margin: 0 0 22px;
	padding: 13px 15px;
	border: 1px solid var(--er-rma-border);
	border-radius: var(--er-rma-radius-small);
	color: var(--er-rma-text-secondary);
	font-size: 14px;
	line-height: 1.5;
}

.everyrep-rma-form-message {
	margin-top: 18px;
	margin-bottom: 0;
}

.everyrep-rma-portal__messages.is-error,
.everyrep-rma-form-message.is-error {
	background: var(--er-rma-error-background);
	border-color: rgba(180, 35, 24, 0.25);
	color: var(--er-rma-error);
}

.everyrep-rma-portal__messages.is-success,
.everyrep-rma-form-message.is-success {
	background: var(--er-rma-success-background);
	border-color: rgba(22, 121, 75, 0.23);
	color: var(--er-rma-success);
}

/* ==========================================================
   LOADING STATES
   ========================================================== */

.everyrep-rma-loading {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 11px;
	min-height: 150px;
	color: var(--er-rma-text-secondary);
	font-size: 14px;
}

.everyrep-rma-loading__spinner {
	display: inline-block;
	width: 19px;
	height: 19px;
	flex: 0 0 auto;
	border: 2px solid rgba(17, 17, 17, 0.18);
	border-top-color: currentColor;
	border-radius: 50%;
	animation: everyrep-rma-spin 700ms linear infinite;
}

.everyrep-rma-button--primary .everyrep-rma-loading__spinner {
	border-color: rgba(255, 255, 255, 0.35);
	border-top-color: #ffffff;
}

@keyframes everyrep-rma-spin {
	to {
		transform: rotate(360deg);
	}
}

/* ==========================================================
   ORDER AND ITEM CARDS
   ========================================================== */

.everyrep-rma-orders__list,
.everyrep-rma-items,
.everyrep-rma-details {
	display: grid;
	gap: 110px;
}

.everyrep-rma-order-card,
.everyrep-rma-item-card,
.everyrep-rma-detail-card {
	position: relative;
	width: 100%;
	padding: 18px;
	background: var(--er-rma-surface);
	border: 1px solid var(--er-rma-border);
	border-radius: var(--er-rma-radius-medium);
	transition:
		border-color var(--er-rma-transition),
		background-color var(--er-rma-transition),
		box-shadow var(--er-rma-transition),
		transform var(--er-rma-transition);
}

button.everyrep-rma-order-card,
label.everyrep-rma-item-card {
	display: block;
	margin: 0;
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.everyrep-rma-order-card:hover,
.everyrep-rma-item-card:hover {
	background: var(--er-rma-surface-muted);
	border-color: var(--er-rma-border-strong);
}

.everyrep-rma-order-card:focus-visible,
.everyrep-rma-item-card:focus-within {
	border-color: var(--er-rma-primary);
	box-shadow: 0 0 0 4px var(--er-rma-focus);
	outline: none;
}

.everyrep-rma-order-card.is-selected,
.everyrep-rma-item-card.is-selected {
	background: #fafafa;
	border-color: var(--er-rma-primary);
	box-shadow: inset 0 0 0 1px var(--er-rma-primary);
}

.everyrep-rma-order-card__header,
.everyrep-rma-order-card__footer,
.everyrep-rma-item-card__content,
.everyrep-rma-detail-card__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.everyrep-rma-order-card__number,
.everyrep-rma-item-card__title,
.everyrep-rma-detail-card__title {
	margin: 0;
	color: var(--er-rma-text);
	font-size: 16px;
	font-weight: 650;
	line-height: 1.35;
}

.everyrep-rma-order-card__date,
.everyrep-rma-order-card__status,
.everyrep-rma-item-card__meta,
.everyrep-rma-detail-card__meta {
	margin: 3px 0 0;
	color: var(--er-rma-text-secondary);
	font-size: 13px;
	line-height: 1.45;
}

.everyrep-rma-item-card__attributes {
	margin: 5px 0 0;
	color: #5f5f63;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
}

.everyrep-rma-item-card__meta {
	margin-top: 4px;
	color: #707074;
}

.everyrep-rma-field__required {
	color: var(--er-rma-error);
}

.everyrep-rma-order-card__items {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 15px 0;
}

.everyrep-rma-order-card__thumbnail,
.everyrep-rma-item-card__image {
	width: 58px;
	height: 72px;
	flex: 0 0 auto;
	overflow: hidden;
	background: var(--er-rma-surface-muted);
	border-radius: 7px;
}

.everyrep-rma-order-card__thumbnail img,
.everyrep-rma-item-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.everyrep-rma-item-card__content {
	justify-content: flex-start;
}

.everyrep-rma-item-card__body {
	flex: 1 1 auto;
	min-width: 0;
}

.everyrep-rma-item-card__selector {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
}

.everyrep-rma-item-card input[type="checkbox"],
.everyrep-rma-item-card input[type="radio"] {
	width: 21px;
	height: 21px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 1px solid var(--er-rma-border-strong);
	accent-color: var(--er-rma-primary);
	cursor: pointer;
}

/* ==========================================================
   ORDER SUMMARY
   ========================================================== */

.everyrep-rma-order-summary {
	margin: 0 0 22px;
	padding: 15px 17px;
	background: var(--er-rma-surface-muted);
	border-radius: var(--er-rma-radius-small);
	color: var(--er-rma-text-secondary);
	font-size: 14px;
	line-height: 1.5;
}

.everyrep-rma-order-summary:empty {
	display: none;
}

.everyrep-rma-order-summary__number,
.everyrep-rma-order-summary__window {
	display: block;
}

.everyrep-rma-order-summary__window {
	margin-top: 4px;
	color: var(--er-rma-text-secondary);
	font-size: 13px;
	line-height: 1.45;
}

.everyrep-rma-order-summary__remaining {
	display: inline;
	margin-left: 4px;
	font-weight: 500;
	white-space: nowrap;
}

/* ==========================================================
   DETAILS / CHOICE CONTROLS
   ========================================================== */

.everyrep-rma-choice-group {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 18px 0;
}

.everyrep-rma-choice {
	position: relative;
	display: block;
	margin: 0;
	cursor: pointer;
}

.everyrep-rma-choice input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
}

.everyrep-rma-choice__content {
	display: flex;
	flex-direction: column;
	min-height: 96px;
	padding: 15px;
	background: var(--er-rma-surface);
	border: 1px solid var(--er-rma-border);
	border-radius: var(--er-rma-radius-small);
	transition:
		background-color var(--er-rma-transition),
		border-color var(--er-rma-transition),
		box-shadow var(--er-rma-transition);
}

.everyrep-rma-choice:hover .everyrep-rma-choice__content {
	background: var(--er-rma-surface-muted);
	border-color: var(--er-rma-border-strong);
}

.everyrep-rma-choice input:focus-visible + .everyrep-rma-choice__content {
	border-color: var(--er-rma-primary);
	box-shadow: 0 0 0 4px var(--er-rma-focus);
}

.everyrep-rma-choice input:checked + .everyrep-rma-choice__content {
	background: #fafafa;
	border-color: var(--er-rma-primary);
	box-shadow: inset 0 0 0 1px var(--er-rma-primary);
}

.everyrep-rma-choice__title {
	color: var(--er-rma-text);
	font-size: 14px;
	font-weight: 650;
	line-height: 1.35;
}

.everyrep-rma-choice__description {
	margin-top: 5px;
	color: var(--er-rma-text-secondary);
	font-size: 12px;
	line-height: 1.45;
}

/* ==========================================================
   REVIEW
   ========================================================== */

.everyrep-rma-review {
	display: grid;
	gap: 14px;
}

.everyrep-rma-review-section {
	padding: 18px;
	background: var(--er-rma-surface);
	border: 1px solid var(--er-rma-border);
	border-radius: var(--er-rma-radius-medium);
}

.everyrep-rma-review-section__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 14px;
}

.everyrep-rma-review-section__title {
	margin: 0;
	font-size: 16px;
	font-weight: 650;
	line-height: 1.35;
}

.everyrep-rma-review-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	padding: 9px 0;
	border-top: 1px solid var(--er-rma-border);
	font-size: 14px;
	line-height: 1.45;
}

.everyrep-rma-review-row:first-child {
	border-top: 0;
}

.everyrep-rma-review-row__label {
	color: var(--er-rma-text-secondary);
}

.everyrep-rma-review-row__value {
	color: var(--er-rma-text);
	font-weight: 550;
	text-align: right;
}

/* ==========================================================
   EMPTY STATE
   ========================================================== */

.everyrep-rma-empty-state {
	padding: 44px 24px;
	background: var(--er-rma-surface-muted);
	border: 1px solid var(--er-rma-border);
	border-radius: var(--er-rma-radius-medium);
	text-align: center;
}

.everyrep-rma-empty-state__title {
	margin: 0;
	color: var(--er-rma-text);
	font-size: 18px;
	font-weight: 650;
	line-height: 1.35;
}

.everyrep-rma-empty-state__text {
	max-width: 430px;
	margin: 8px auto 0;
	color: var(--er-rma-text-secondary);
	font-size: 14px;
	line-height: 1.55;
}

/* ==========================================================
   ACCOUNT PROMPT
   ========================================================== */

.everyrep-rma-account-prompt {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid var(--er-rma-border);
	text-align: center;
}

.everyrep-rma-account-prompt p {
	margin: 0;
	color: var(--er-rma-text-secondary);
	font-size: 14px;
	line-height: 1.55;
}

.everyrep-rma-account-prompt a {
	color: var(--er-rma-text);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.everyrep-rma-account-prompt a:hover {
	color: var(--er-rma-text-secondary);
}

/* ==========================================================
   CONFIRMATION
   ========================================================== */

.everyrep-rma-confirmation {
	padding: 28px 0 12px;
	text-align: center;
}

.everyrep-rma-confirmation__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	margin: 0 auto 20px;
	background: var(--er-rma-success-background);
	border-radius: 50%;
	color: var(--er-rma-success);
	font-size: 26px;
	font-weight: 700;
	line-height: 1;
}

.everyrep-rma-confirmation__title {
	margin: 0;
	color: var(--er-rma-text);
	font-size: clamp(25px, 4vw, 32px);
	font-weight: 650;
	letter-spacing: -0.025em;
	line-height: 1.2;
}

.everyrep-rma-confirmation__description {
	max-width: 500px;
	margin: 10px auto 0;
	color: var(--er-rma-text-secondary);
	font-size: 15px;
	line-height: 1.6;
}

.everyrep-rma-confirmation__summary {
	margin-top: 28px;
	text-align: left;
}

/* ==========================================================
   FOOTER
   ========================================================== */

.everyrep-rma-portal__footer {
	margin-top: 34px;
	padding-top: 20px;
	border-top: 1px solid var(--er-rma-border);
	text-align: center;
}

.everyrep-rma-portal__footer p {
	margin: 0;
	color: var(--er-rma-text-muted);
	font-size: 12px;
	line-height: 1.5;
}

/* ==========================================================
   WOOCOMMERCE / THEME COMPATIBILITY
   ========================================================== */

.woocommerce-account
.everyrep-rma-portal
button,
.woocommerce-account
.everyrep-rma-portal
input,
.woocommerce-account
.everyrep-rma-portal
select,
.woocommerce-account
.everyrep-rma-portal
textarea {
	text-transform: none;
}

.woocommerce-account
.everyrep-rma-portal
.everyrep-rma-button {
	float: none;
	width: auto;
	margin: 0;
}

.woocommerce-account
.everyrep-rma-portal
.everyrep-rma-field input,
.woocommerce-account
.everyrep-rma-portal
.everyrep-rma-field select,
.woocommerce-account
.everyrep-rma-portal
.everyrep-rma-field textarea {
	max-width: none;
}

/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 640px) {
	.everyrep-rma-portal {
		font-size: 15px;
	}

	.everyrep-rma-portal__shell {
		padding: 28px 18px;
		border-right: 0;
		border-left: 0;
		border-radius: 0;
		box-shadow: none;
	}

	.everyrep-rma-portal--account .everyrep-rma-portal__shell {
		padding: 4px 0 20px;
	}

	.everyrep-rma-portal__header {
		margin-bottom: 25px;
	}

	.everyrep-rma-portal__title {
		font-size: 30px;
	}

	.everyrep-rma-portal__intro {
		margin-top: 10px;
		font-size: 15px;
	}

	.everyrep-rma-progress {
		margin-bottom: 29px;
	}

	.everyrep-rma-progress__number {
		width: 28px;
		height: 28px;
		font-size: 12px;
	}

	.everyrep-rma-progress__item::before,
	.everyrep-rma-progress__item::after {
		top: 13px;
	}

	.everyrep-rma-progress__label {
		font-size: 10px;
	}

	.everyrep-rma-screen__header {
		margin-bottom: 22px;
	}

	.everyrep-rma-screen__title {
		font-size: 24px;
	}

	.everyrep-rma-screen__description {
		font-size: 14px;
	}

	.everyrep-rma-field {
		margin-bottom: 19px;
	}

	.everyrep-rma-form__actions {
		display: block;
		margin-top: 24px;
	}

	.everyrep-rma-button {
		width: 100%;
		min-width: 0;
	}

	.everyrep-rma-order-card,
	.everyrep-rma-item-card,
	.everyrep-rma-detail-card,
	.everyrep-rma-review-section {
		padding: 15px;
	}

	.everyrep-rma-order-card__header,
	.everyrep-rma-order-card__footer {
		align-items: flex-start;
	}

	.everyrep-rma-item-card__content {
		align-items: flex-start;
		gap: 12px;
	}

	.everyrep-rma-item-card__image {
		width: 52px;
		height: 66px;
	}

	.everyrep-rma-choice-group {
		grid-template-columns: 1fr;
	}

	.everyrep-rma-choice__content {
		min-height: 0;
	}

	.everyrep-rma-review-row {
		display: block;
	}

	.everyrep-rma-review-row__value {
		margin-top: 3px;
		text-align: left;
	}

	.everyrep-rma-empty-state {
		padding: 34px 18px;
	}
}

/* ==========================================================
   REDUCED MOTION
   ========================================================== */

@media (prefers-reduced-motion: reduce) {
	.everyrep-rma-portal *,
	.everyrep-rma-portal *::before,
	.everyrep-rma-portal *::after {
		scroll-behavior: auto !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* ==========================================================
   THEME OVERRIDE PROTECTION
   Prevent global er-women span color rules from overriding
   portal controls.
   ========================================================== */

/* ==========================================================
   PREMIUM APPLICATION SHELL — 0.3.4
   ========================================================== */

.everyrep-rma-portal--standalone {
	padding: 34px 24px 64px;
}

.everyrep-rma-portal--standalone .everyrep-rma-portal__layout {
	display: block;
	width: min(100%, 1420px);
	margin: 0 auto;
}

.everyrep-rma-portal--standalone .everyrep-rma-portal__shell {
	display: grid;
	grid-template-columns: minmax(320px, 35%) minmax(0, 65%);
	width: 100%;
	max-width: none;
	height: min(900px, calc(100vh - 96px));
	min-height: 720px;
	margin: 0;
	padding: 0;
	overflow: hidden;
	background: #fff;
	border: 1px solid #e6e6e8;
	border-radius: 24px;
	box-shadow: 0 18px 55px rgba(0, 0, 0, 0.09);
}

.everyrep-rma-portal--standalone .everyrep-rma-portal__lifestyle {
	position: relative;
	display: block;
	min-height: 0;
	height: 100%;
	overflow: hidden;
	border-radius: 0;
	background: #151515;
}

.everyrep-rma-portal--standalone .everyrep-rma-portal__lifestyle-image {
	position: absolute;
	inset: 0;
	display: none;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.everyrep-rma-portal--standalone .everyrep-rma-portal__lifestyle-image--neutral {
	display: block;
}

.everyrep-rma-portal--standalone.everyrep-rma-portal--men .everyrep-rma-portal__lifestyle-image--neutral,
.everyrep-rma-portal--standalone.everyrep-rma-portal--women .everyrep-rma-portal__lifestyle-image--neutral {
	display: none;
}

.everyrep-rma-portal--standalone.everyrep-rma-portal--men .everyrep-rma-portal__lifestyle-image--men,
.everyrep-rma-portal--standalone.everyrep-rma-portal--women .everyrep-rma-portal__lifestyle-image--women {
	display: block;
}

.everyrep-rma-portal__lifestyle-brand,
.everyrep-rma-portal__lifestyle-help {
	position: absolute;
	z-index: 2;
	left: 28px;
	color: #fff;
	text-shadow: 0 1px 18px rgba(0, 0, 0, 0.35);
}

.everyrep-rma-portal__lifestyle-brand {
	top: 28px;
	font-size: 17px;
	font-weight: 500;
	letter-spacing: 0.34em;
}

.everyrep-rma-portal__lifestyle-help {
	bottom: 28px;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	cursor: pointer;
	color: #fff !important;
}

.everyrep-rma-portal__lifestyle-help:hover,
.everyrep-rma-portal__lifestyle-help:focus {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.everyrep-rma-portal--standalone .everyrep-rma-portal__workflow {
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: 0;
	height: 100%;
	padding: 46px 58px 34px;
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-gutter: stable;
}

.everyrep-rma-portal--standalone .everyrep-rma-portal__workflow::-webkit-scrollbar {
	width: 8px;
}

.everyrep-rma-portal--standalone .everyrep-rma-portal__workflow::-webkit-scrollbar-track {
	background: transparent;
}

.everyrep-rma-portal--standalone .everyrep-rma-portal__workflow::-webkit-scrollbar-thumb {
	background: #d6d6da;
	border: 2px solid #fff;
	border-radius: 999px;
}

.everyrep-rma-portal--standalone .everyrep-rma-portal__workflow {
	scrollbar-width: thin;
	scrollbar-color: #d6d6da transparent;
}

.everyrep-rma-portal--standalone .everyrep-rma-portal__header {
	display: none;
}

/* Minimal dot progress */
.everyrep-rma-portal--standalone .everyrep-rma-progress {
	width: min(100%, 390px);
	margin: 4px auto 44px;
}

.everyrep-rma-portal--standalone .everyrep-rma-progress__list {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	align-items: center;
	width: 100%;
	height: 14px;
	margin: 0;
	padding: 0;
}

.everyrep-rma-portal--standalone .everyrep-rma-progress__list::before {
	content: "";
	position: absolute;
	z-index: 0;
	top: 6px;
	left: 12.5%;
	right: 12.5%;
	height: 1px;
	background: #d8d8dc;
	transform: none;
}

.everyrep-rma-portal--standalone .everyrep-rma-progress__item {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
}

.everyrep-rma-portal--standalone .everyrep-rma-progress__item::before,
.everyrep-rma-portal--standalone .everyrep-rma-progress__item::after {
	display: none;
}

.everyrep-rma-portal--standalone .everyrep-rma-progress__number {
	position: relative;
	z-index: 1;
	display: block;
	width: 13px;
	height: 13px;
	padding: 0;
	overflow: hidden;
	color: transparent;
	font-size: 0;
	line-height: 0;
	background: #fff;
	border: 1.5px solid #d3d3d7;
	border-radius: 50%;
}

.everyrep-rma-portal--standalone .everyrep-rma-progress__item.is-current .everyrep-rma-progress__number {
	background: #111;
	border-color: #111;
}

.everyrep-rma-portal--standalone .everyrep-rma-progress__item.is-complete .everyrep-rma-progress__number {
	background: #fff;
	border-color: #d3d3d7;
}

.everyrep-rma-portal--standalone .everyrep-rma-progress__label {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.everyrep-rma-portal--standalone .everyrep-rma-screen__header {
	margin-bottom: 28px;
}

.everyrep-rma-portal--standalone .everyrep-rma-screen__title {
	margin: 0 0 8px;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: clamp(32px, 3vw, 45px);
	font-weight: 500;
	letter-spacing: -0.045em;
	line-height: 1.08;
}

.everyrep-rma-portal--standalone .everyrep-rma-screen__description {
	margin: 0;
	color: #5f5f64;
	font-size: 17px;
	line-height: 1.5;
}

.everyrep-rma-portal--standalone .everyrep-rma-back-button {
	margin-bottom: 18px;
}

/* Compact order identity */
.everyrep-rma-portal--standalone .everyrep-rma-order-summary {
	margin: 0 0 14px;
	padding: 17px 20px;
	background: #fff;
	border: 1px solid #e5e5e8;
	border-radius: 16px;
}

.everyrep-rma-order-summary__number {
	display: block;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.3;
}

.everyrep-rma-order-summary__window {
	display: block;
	margin-top: 3px;
	color: #66666b;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
}

/* Larger product cards and thumbnails */
.everyrep-rma-portal--standalone .everyrep-rma-items {
	display: grid;
	gap: 12px;
}

.everyrep-rma-portal--standalone .everyrep-rma-item-card {
	padding: 12px 16px;
	background: #fff;
	border: 1px solid #e8e8ea;
	border-radius: 18px;
	box-shadow: 0 5px 18px rgba(0, 0, 0, 0.045);
	transition: border-color var(--er-rma-transition), background var(--er-rma-transition), box-shadow var(--er-rma-transition);
}

.everyrep-rma-portal--standalone .everyrep-rma-item-card:hover {
	border-color: #d1d1d5;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.everyrep-rma-portal--standalone .everyrep-rma-item-card.is-selected {
	background: #fafafa;
	border-color: #9c9ca1;
}

.everyrep-rma-portal--standalone .everyrep-rma-item-card__content {
	display: grid;
	grid-template-columns: 36px 126px minmax(0, 1fr);
	align-items: center;
	gap: 18px;
}

.everyrep-rma-portal--standalone .everyrep-rma-item-card__image {
	width: 126px;
	height: 126px;
	overflow: hidden;
	background: #f2f1ef;
	border-radius: 14px;
}

.everyrep-rma-portal--standalone .everyrep-rma-item-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.everyrep-rma-portal--standalone .everyrep-rma-item-card__selector input {
	width: 27px;
	height: 27px;
	margin: 0;
	accent-color: #111;
}

.everyrep-rma-portal--standalone .everyrep-rma-item-card__body {
	position: relative;
	min-width: 0;
	padding-right: 82px;
}

.everyrep-rma-portal--standalone .everyrep-rma-item-card__title {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
}

.everyrep-rma-portal--standalone .everyrep-rma-item-card__eligible {
	position: absolute;
	top: 0;
	right: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 28px;
	padding: 5px 12px;
	color: #2f6b38;
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
	background: #eaf5e9;
	border-radius: 999px;
}

.everyrep-rma-portal--standalone .everyrep-rma-item-card__attributes {
	margin: 5px 0 0;
	color: #5f5f64;
	font-size: 15px;
	font-weight: 450;
	line-height: 1.4;
}

.everyrep-rma-portal--standalone .everyrep-rma-item-card__meta {
	margin: 11px 0 0;
	color: #66666b;
	font-size: 14px;
	font-weight: 400;
}


.everyrep-rma-portal--standalone .everyrep-rma-item-card.is-requested {
	cursor: default;
	background: #fff;
	border-color: #dedee2;
	opacity: 1;
}

.everyrep-rma-portal--standalone .everyrep-rma-item-card.is-requested:hover {
	transform: none;
	background: #fff;
	border-color: #dedee2;
	box-shadow: 0 12px 28px rgba(0,0,0,.045);
}

.everyrep-rma-portal--standalone .everyrep-rma-item-card__content--requested {
	padding-left: 0;
}

.everyrep-rma-portal--standalone .everyrep-rma-item-card__eligible.is-status {
	max-width: 190px;
	color: #55565a;
	background: #ececef;
	text-align: center;
	white-space: normal;
}

.everyrep-rma-portal--standalone .everyrep-rma-item-card__authorization {
	margin: 6px 0 0;
	color: #6b6b70;
	font-size: 13px;
	line-height: 1.4;
}

/* Full-width action button */
.everyrep-rma-portal--standalone .everyrep-rma-form__actions {
	width: 100%;
	margin-top: 24px;
}

.everyrep-rma-portal--standalone .everyrep-rma-items-form .everyrep-rma-button--primary,
.everyrep-rma-portal--standalone .everyrep-rma-details-form .everyrep-rma-button--primary {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	width: 100%;
	min-height: 58px;
	padding: 0 58px;
	border-radius: 12px;
	font-size: 17px;
	font-weight: 500;
}

.everyrep-rma-button__arrow {
	position: absolute;
	right: 22px;
	font-size: 26px;
	font-weight: 300;
	line-height: 1;
	transition: transform var(--er-rma-transition);
}

.everyrep-rma-portal--standalone .everyrep-rma-items-form .everyrep-rma-button--primary:not(:disabled):hover .everyrep-rma-button__arrow {
	transform: translateX(3px);
}

.everyrep-rma-portal--standalone .everyrep-rma-button--primary:disabled,
.everyrep-rma-portal--standalone .everyrep-rma-button--primary[aria-disabled="true"] {
	color: #99999e !important;
	background: #e7e7e9 !important;
	border-color: #e7e7e9 !important;
	box-shadow: none !important;
	cursor: not-allowed;
}

.everyrep-rma-portal--standalone .everyrep-rma-portal__footer {
	margin-top: auto;
	padding-top: 28px;
}

@media (max-width: 1099px) {
	.everyrep-rma-portal--standalone {
		padding: 22px 18px 48px;
	}

	.everyrep-rma-portal--standalone .everyrep-rma-portal__shell {
		display: block;
		height: auto;
		min-height: 0;
		max-width: 820px;
		margin: 0 auto;
	}

	.everyrep-rma-portal--standalone .everyrep-rma-portal__lifestyle {
		display: none;
	}

	.everyrep-rma-portal--standalone .everyrep-rma-portal__workflow {
		height: auto;
		padding: 38px 42px 30px;
		overflow: visible;
		scrollbar-gutter: auto;
	}
}

@media (max-width: 640px) {
	.everyrep-rma-portal--standalone {
		padding: 0;
	}

	.everyrep-rma-portal--standalone .everyrep-rma-portal__shell {
		border: 0;
		border-radius: 0;
		box-shadow: none;
	}

	.everyrep-rma-portal--standalone .everyrep-rma-portal__workflow {
		padding: 28px 18px 26px;
	}

	.everyrep-rma-portal--standalone .everyrep-rma-progress {
		width: 72%;
		margin: 4px auto 38px;
	}

	.everyrep-rma-portal--standalone .everyrep-rma-screen__title {
		font-size: 31px;
	}

	.everyrep-rma-portal--standalone .everyrep-rma-screen__description {
		font-size: 16px;
	}

	.everyrep-rma-portal--standalone .everyrep-rma-order-summary {
		padding: 15px 16px;
	}

	.everyrep-rma-portal--standalone .everyrep-rma-item-card {
		padding: 12px;
		border-radius: 16px;
	}

	.everyrep-rma-portal--standalone .everyrep-rma-item-card__content {
		grid-template-columns: 30px 106px minmax(0, 1fr);
		gap: 12px;
	}

	.everyrep-rma-portal--standalone .everyrep-rma-item-card__image {
		width: 106px;
		height: 116px;
		border-radius: 13px;
	}

	.everyrep-rma-portal--standalone .everyrep-rma-item-card__selector input {
		width: 24px;
		height: 24px;
	}

	.everyrep-rma-portal--standalone .everyrep-rma-item-card__body {
		padding-right: 0;
	}

	.everyrep-rma-portal--standalone .everyrep-rma-item-card__title {
		padding-right: 66px;
		font-size: 16px;
	}

	.everyrep-rma-portal--standalone .everyrep-rma-item-card__eligible {
		min-height: 24px;
		padding: 4px 9px;
		font-size: 11px;
	}

	.everyrep-rma-portal--standalone .everyrep-rma-item-card__attributes,
	.everyrep-rma-portal--standalone .everyrep-rma-item-card__meta {
		font-size: 13px;
	}

	.everyrep-rma-portal--standalone .everyrep-rma-item-card__meta {
		margin-top: 8px;
	}

	.everyrep-rma-portal--standalone .everyrep-rma-items-form .everyrep-rma-button--primary,
	.everyrep-rma-portal--standalone .everyrep-rma-details-form .everyrep-rma-button--primary {
		min-height: 60px;
		border-radius: 11px;
	}
}

@media (max-width: 410px) {
	.everyrep-rma-portal--standalone .everyrep-rma-item-card__content {
		grid-template-columns: 28px 92px minmax(0, 1fr);
		gap: 10px;
	}

	.everyrep-rma-portal--standalone .everyrep-rma-item-card__image {
		width: 92px;
		height: 104px;
	}
}


/* ==========================================================
   MY ACCOUNT INTEGRATION + PROGRESS RELIABILITY — 0.3.7
   ========================================================== */

.everyrep-rma-account-help {
	margin: 22px 0 4px;
	padding: 0;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 15px;
	line-height: 1.55;
	color: #68686d;
}

.everyrep-rma-account-help__prompt {
	margin-right: 6px;
}

.everyrep-rma-account-help__link {
	color: #171719 !important;
	font-weight: 600;
	text-decoration: none !important;
	text-underline-offset: 3px;
}

.everyrep-rma-account-help__link:hover,
.everyrep-rma-account-help__link:focus-visible {
	text-decoration: underline !important;
}

/* Keep progress in the normal workflow flow so it scrolls away naturally
   and never overlays the taller Details view. */
@media (min-width: 981px) {
	.everyrep-rma-portal--standalone .everyrep-rma-progress {
		position: static;
		z-index: auto;
		flex: 0 0 auto;
		padding: 5px 0 12px;
		background: transparent;
	}
}

/* View 3 product identity */
.everyrep-rma-detail-card__header {
	justify-content: flex-start;
	align-items: center;
	gap: 14px;
	margin-bottom: 18px;
}

.everyrep-rma-detail-card__heading {
	min-width: 0;
	flex: 1 1 auto;
}

.everyrep-rma-detail-card__image {
	width: 56px;
	height: 56px;
	flex: 0 0 56px;
	overflow: hidden;
	background: var(--er-rma-surface-muted);
	border-radius: 11px;
}

.everyrep-rma-detail-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (max-width: 600px) {
	.everyrep-rma-detail-card__header {
		gap: 12px;
		margin-bottom: 16px;
	}

	.everyrep-rma-detail-card__image {
		width: 52px;
		height: 52px;
		flex-basis: 52px;
		border-radius: 10px;
	}
}


/* My Account order-item authorization status */
.everyrep-rma-order-item-status {
	display: grid;
	justify-items: start;
	gap: 5px;
	margin-top: 10px;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.everyrep-rma-order-item-status__pill {
	display: inline-flex;
	align-items: center;
	min-height: 26px;
	padding: 4px 10px;
	border: 1px solid #d9d9de;
	border-radius: 999px;
	background: #f4f4f6;
	color: #313136;
	font-size: 12px;
	font-weight: 650;
	line-height: 1.2;
}

.everyrep-rma-order-item-status__deadline {
	display: block;
	margin-top: 1px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	color: #2f3430;
}

.everyrep-rma-order-item-status__reference {
	color: #74747b;
	font-size: 12px;
	line-height: 1.35;
}


/* Customer-facing authorization status colors */
.everyrep-rma-order-item-status__pill--submitted,
.everyrep-rma-order-item-status__pill--awaiting_review,
.everyrep-rma-order-item-status__pill--approved,
.everyrep-rma-order-item-status__pill--label_created,
.everyrep-rma-order-item-status__pill--partially_approved {
	border-color: #b9dbc0;
	background: #eaf6ec;
	color: #255b31;
}

.everyrep-rma-order-item-status__pill--in_transit,
.everyrep-rma-order-item-status__pill--delivered_to_warehouse {
	border-color: #b9d4ea;
	background: #eaf4fb;
	color: #245878;
}

.everyrep-rma-order-item-status__pill--inspection_pending {
	border-color: #d5c6e8;
	background: #f3eef9;
	color: #5d4279;
}

.everyrep-rma-order-item-status__pill--inspection_complete,
.everyrep-rma-order-item-status__pill--ready_for_fulfillment,
.everyrep-rma-order-item-status__pill--exchange_created,
.everyrep-rma-order-item-status__pill--replacement_shipped {
	border-color: #b9ddd8;
	background: #e9f7f5;
	color: #245f58;
}

.everyrep-rma-order-item-status__pill--rejected,
.everyrep-rma-order-item-status__pill--inspection_rejected {
	border-color: #efc0b8;
	background: #fdf0ed;
	color: #943829;
}

.everyrep-rma-order-item-status__pill--expired {
	border-color: #ead3a3;
	background: #fff7e6;
	color: #795813;
}

.everyrep-rma-order-item-status__pill--completed,
.everyrep-rma-order-item-status__pill--refunded,
.everyrep-rma-order-item-status__pill--cancelled {
	border-color: #d9d9de;
	background: #f4f4f6;
	color: #4b4b52;
}


/* Visual same-product exchange selector */
.everyrep-rma-replacement-picker { display: grid; gap: 22px; }
.everyrep-rma-current-item { display: grid; gap: 3px; padding: 16px; border: 1px solid #e2e2e7; border-radius: 16px; background: #fafafa; }
.everyrep-rma-current-item__eyebrow { color: #6e6e73; font-size: 12px; font-weight: 650; text-transform: uppercase; letter-spacing: .04em; }
.everyrep-rma-current-item strong { font-size: 16px; }
.everyrep-rma-current-item > span:last-child:not(.everyrep-rma-current-item__eyebrow) { color: #4b4b52; }
.everyrep-rma-replacement-step { display: grid; gap: 10px; }
.everyrep-rma-replacement-step__label { font-size: 16px; font-weight: 700; }
.everyrep-rma-replacement-colors { display: grid; grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); gap: 10px; }
.everyrep-rma-replacement-color { appearance: none; display: grid; gap: 8px; min-width: 0; padding: 9px; border: 1px solid #d8d8dd; border-radius: 14px; background: #fff; color: inherit; cursor: pointer; text-align: center; }
.everyrep-rma-replacement-color:hover { border-color: #a7a7ad; }
.everyrep-rma-replacement-color.is-selected { border-color: #1d5eff; box-shadow: 0 0 0 1px #1d5eff; }
.everyrep-rma-replacement-color__image { display: block; overflow: hidden; aspect-ratio: 1 / 1; border-radius: 10px; background: #f3f3f5; }
.everyrep-rma-replacement-color__image img { width: 100%; height: 100%; object-fit: cover; }
.everyrep-rma-replacement-color__placeholder { display: block; width: 100%; height: 100%; }
.everyrep-rma-replacement-color__label { overflow: hidden; font-size: 13px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.everyrep-rma-replacement-help { margin: 0; color: #6e6e73; font-size: 13px; }
.everyrep-rma-replacement-sizes { display: flex; flex-wrap: wrap; gap: 9px; }
.everyrep-rma-replacement-size { appearance: none; min-width: 60px; min-height: 48px; padding: 10px 14px; border: 1px solid #d8d8dd; border-radius: 12px; background: #fff; color: #18181b; cursor: pointer; font-size: 15px; font-weight: 650; }
.everyrep-rma-replacement-size:hover { border-color: #a7a7ad; }
.everyrep-rma-replacement-size.is-selected { border-color: #1d5eff; box-shadow: 0 0 0 1px #1d5eff; }
.everyrep-rma-replacement-summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border: 1px solid #dbe4f5; border-radius: 14px; background: #f5f8fd; }
.everyrep-rma-replacement-summary span { color: #6e6e73; font-size: 13px; }
.everyrep-rma-replacement-summary strong { text-align: right; }
@media (max-width: 600px) {
  .everyrep-rma-replacement-colors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .everyrep-rma-replacement-size { flex: 1 0 58px; }
}

.everyrep-rma-replacement-size.is-current { background: #f3f3f5; color: #8a8a91; cursor: not-allowed; }

/* v0.4.3: My Account remains a consistent light operational workspace. */
body.everyrep-rma-portal-page,
body.everyrep-rma-portal-page .site,
body.everyrep-rma-portal-page .site-content,
body.everyrep-rma-portal-page .woocommerce-MyAccount-content,
body.everyrep-rma-portal-page .everyrep-rma-portal {
	--er-rma-background: #fafafa;
	--er-rma-surface: #ffffff;
	--er-rma-surface-muted: #f7f7f8;
	--er-rma-text: #151515;
	--er-rma-text-secondary: #5e5e63;
	background-color: #fafafa !important;
	color: #151515 !important;
}
body.everyrep-rma-portal-page .everyrep-rma-portal :where(h1,h2,h3,h4,p,span,label,strong) { color: inherit; }

.everyrep-rma-inspection-report {
	margin: 32px 0;
	padding: clamp(22px, 4vw, 36px);
	background: #fff;
	border: 1px solid #e4e4e7;
	border-radius: 18px;
	color: #151515;
}
.everyrep-rma-inspection-report__eyebrow { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #5e5e63; }
.everyrep-rma-inspection-report h2 { margin: 0 0 12px; }
.everyrep-rma-inspection-report__item { margin-top: 24px; padding-top: 22px; border-top: 1px solid #e4e4e7; }
.everyrep-rma-inspection-report__item ul { margin: 10px 0 0 20px; }
.everyrep-rma-inspection-report__gallery { display: grid; grid-template-columns: repeat(auto-fit,minmax(150px,1fr)); gap: 12px; margin-top: 14px; }
.everyrep-rma-inspection-report__gallery img { display:block; width:100%; aspect-ratio:1; object-fit:cover; border-radius:12px; }
.everyrep-rma-inspection-report__caption { color:#5e5e63; }
.everyrep-rma-inspection-report__support { margin-top:24px; padding-top:18px; border-top:1px solid #e4e4e7; }


/* v0.4.3.4: Keep every My Account workspace light, including men's orders. */
/* v0.4.3.5: Isolate the portal palette from broad storefront audience rules. */
body.woocommerce-account .everyrep-rma-portal {
	--er-rma-background: #fafafa;
	--er-rma-surface: #ffffff;
	--er-rma-surface-muted: #f7f7f8;
	--er-rma-heading: #151515;
	--er-rma-text: #303036;
	--er-rma-muted: #6e6e73;
	--er-rma-border: #e2e2e7;
	color: var(--er-rma-text) !important;
}

/* The storefront men's stylesheet applies white !important to all text in #content.
 * These selectors deliberately exceed that scope so the operational portal owns its palette. */
/* Reapply intentional secondary hierarchy after the isolation rule. */
body.woocommerce-account #content .everyrep-rma-portal :where(
	.everyrep-rma-portal__eyebrow,
	.everyrep-rma-portal__intro,
	.everyrep-rma-order-card__meta,
	.everyrep-rma-item-card__attributes,
	.everyrep-rma-item-card__meta,
	.everyrep-rma-replacement-help,
	.everyrep-rma-replacement-summary span,
	.everyrep-rma-current-item__eyebrow
) {
	color: var(--er-rma-muted) !important;
}

/* Component colors must remain semantic rather than inherit the storefront theme. */
body.woocommerce-account #content .everyrep-rma-portal .everyrep-rma-item-card__eligible {
	color: #2f6b38 !important;
	background: #eaf5e9 !important;
}

body.woocommerce-account #content .everyrep-rma-portal .everyrep-rma-button--primary:not(:disabled):not([aria-disabled="true"]),
body.woocommerce-account #content .everyrep-rma-portal .everyrep-rma-button--primary:not(:disabled):not([aria-disabled="true"]) span {
	color: #ffffff !important;
}

body.woocommerce-account #content .everyrep-rma-portal .everyrep-rma-button--primary:disabled,
body.woocommerce-account #content .everyrep-rma-portal .everyrep-rma-button--primary:disabled span,
body.woocommerce-account #content .everyrep-rma-portal .everyrep-rma-button--primary[aria-disabled="true"],
body.woocommerce-account #content .everyrep-rma-portal .everyrep-rma-button--primary[aria-disabled="true"] span {
	color: #8a8a91 !important;
	background: #e7e7e9 !important;
	border-color: #e7e7e9 !important;
}

body.woocommerce-account #content .everyrep-rma-portal .everyrep-rma-item-card__title,
body.woocommerce-account #content .everyrep-rma-portal .everyrep-rma-order-card__number,
body.woocommerce-account #content .everyrep-rma-portal .everyrep-rma-detail-card__title {
	color: var(--er-rma-heading) !important;
}

body.woocommerce-account #content .everyrep-rma-portal input,
body.woocommerce-account #content .everyrep-rma-portal select,
body.woocommerce-account #content .everyrep-rma-portal textarea {
	color: var(--er-rma-text) !important;
	background-color: #ffffff !important;
}

/* v0.4.3.6: Keep the existing EveryRep My Account dashboard cards readable
 * when the men's storefront audience class applies broad white text rules. */
/* v0.4.3.7: Mobile item selection cards use a vertical product layout.
 * Keep the selector easy to tap, give the product image adequate space,
 * and place all product copy beneath the image at full card width. */
@media (max-width: 768px) {
	.everyrep-rma-portal--standalone .everyrep-rma-item-card__content {
		grid-template-columns: 32px minmax(0, 1fr);
		grid-template-rows: auto auto;
		align-items: center;
		column-gap: 14px;
		row-gap: 14px;
	}

	.everyrep-rma-portal--standalone .everyrep-rma-item-card__selector {
		grid-column: 1;
		grid-row: 1;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.everyrep-rma-portal--standalone .everyrep-rma-item-card__image {
		grid-column: 2;
		grid-row: 1;
		justify-self: center;
		width: 150px;
		height: 165px;
	}

	.everyrep-rma-portal--standalone .everyrep-rma-item-card__body {
		grid-column: 1 / -1;
		grid-row: 2;
		width: 100%;
		padding: 2px 0 0;
	}

	.everyrep-rma-portal--standalone .everyrep-rma-item-card__title {
		padding-right: 82px;
		font-size: 17px;
		line-height: 1.35;
		overflow-wrap: anywhere;
	}

	.everyrep-rma-portal--standalone .everyrep-rma-item-card__eligible {
		top: 0;
		right: 0;
	}
}

@media (max-width: 410px) {
	.everyrep-rma-portal--standalone .everyrep-rma-item-card__content {
		grid-template-columns: 30px minmax(0, 1fr);
		column-gap: 10px;
	}

	.everyrep-rma-portal--standalone .everyrep-rma-item-card__image {
		width: 138px;
		height: 152px;
	}

	.everyrep-rma-portal--standalone .everyrep-rma-item-card__title {
		padding-right: 72px;
		font-size: 16px;
	}
}


/* v0.4.3.8: Refine mobile selection cards and neutralize remaining men's
 * storefront color inheritance across the standard My Account chrome. */
@media (max-width: 768px) {
	.everyrep-rma-portal--standalone .everyrep-rma-item-card {
		cursor: pointer;
	}

	.everyrep-rma-portal--standalone .everyrep-rma-item-card__content {
		position: relative;
		grid-template-columns: 38px minmax(0, 1fr);
		grid-template-rows: auto auto;
		align-items: start;
		column-gap: 12px;
		row-gap: 12px;
	}

	.everyrep-rma-portal--standalone .everyrep-rma-item-card__selector {
		align-self: start;
		margin-top: 14px;
	}

	.everyrep-rma-portal--standalone .everyrep-rma-item-card__image {
		width: 160px;
		height: 176px;
	}

	.everyrep-rma-portal--standalone .everyrep-rma-item-card__eligible {
		top: 14px;
		right: 14px;
		z-index: 2;
	}

	.everyrep-rma-portal--standalone .everyrep-rma-item-card__title {
		padding-right: 0;
		margin-top: 2px;
	}

	.everyrep-rma-portal--standalone .everyrep-rma-form__actions,
	.everyrep-rma-portal--standalone .everyrep-rma-items-form__actions {
		margin-top: 18px;
	}
}

@media (max-width: 410px) {
	.everyrep-rma-portal--standalone .everyrep-rma-item-card__image {
		width: 148px;
		height: 164px;
	}
}

/* Standard My Account content above and around the dashboard cards. */
/* Header/menu/cart controls on My Account must remain readable on the light shell. */
/* v0.4.3.9: Mobile card-as-control selection pattern.
 * The complete product card is the tap target; the native checkbox remains
 * available to assistive technology and keyboard users without consuming
 * visible horizontal space. */
@media (max-width: 768px) {
	.everyrep-rma-portal--standalone .everyrep-rma-item-card {
		position: relative;
		padding: 18px 20px 20px;
		-webkit-tap-highlight-color: transparent;
	}

	.everyrep-rma-portal--standalone .everyrep-rma-item-card__content {
		display: block;
	}

	.everyrep-rma-portal--standalone .everyrep-rma-item-card__selector {
		position: absolute;
		width: 1px;
		height: 1px;
		margin: -1px;
		padding: 0;
		overflow: hidden;
		clip: rect(0 0 0 0);
		clip-path: inset(50%);
		white-space: nowrap;
		border: 0;
	}

	.everyrep-rma-portal--standalone .everyrep-rma-item-card__selector input {
		position: absolute;
		width: 1px;
		height: 1px;
		opacity: 0;
	}

	.everyrep-rma-portal--standalone .everyrep-rma-item-card__image {
		position: relative;
		width: min(100%, 190px);
		height: 210px;
		margin: 0 auto 18px;
		transition: transform 160ms ease;
	}

	.everyrep-rma-portal--standalone .everyrep-rma-item-card__image::after {
		content: "✓";
		position: absolute;
		top: 10px;
		left: 10px;
		display: grid;
		place-items: center;
		width: 30px;
		height: 30px;
		color: #fff;
		font-size: 18px;
		font-weight: 700;
		line-height: 1;
		background: #111;
		border: 2px solid #fff;
		border-radius: 999px;
		box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
		opacity: 0;
		transform: scale(0.78);
		transition: opacity 150ms ease, transform 150ms ease;
	}

	.everyrep-rma-portal--standalone .everyrep-rma-item-card.is-selected {
		background: #fff;
		border-color: #111;
		box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
	}

	.everyrep-rma-portal--standalone .everyrep-rma-item-card.is-selected .everyrep-rma-item-card__image {
		transform: scale(1.015);
	}

	.everyrep-rma-portal--standalone .everyrep-rma-item-card.is-selected .everyrep-rma-item-card__image::after {
		opacity: 1;
		transform: scale(1);
	}

	.everyrep-rma-portal--standalone .everyrep-rma-item-card:focus-within {
		outline: 2px solid #111;
		outline-offset: 3px;
	}

	.everyrep-rma-portal--standalone .everyrep-rma-item-card__body {
		position: relative;
		width: 100%;
		padding: 0;
	}

	.everyrep-rma-portal--standalone .everyrep-rma-item-card__title {
		padding-right: 86px;
		font-size: 18px;
		line-height: 1.3;
		overflow-wrap: normal;
		word-break: normal;
	}

	.everyrep-rma-portal--standalone .everyrep-rma-item-card__eligible {
		top: 0;
		right: 0;
	}
}

@media (max-width: 410px) {
	.everyrep-rma-portal--standalone .everyrep-rma-item-card {
		padding: 16px 18px 18px;
	}

	.everyrep-rma-portal--standalone .everyrep-rma-item-card__image {
		width: min(100%, 180px);
		height: 198px;
	}

	.everyrep-rma-portal--standalone .everyrep-rma-item-card__title {
		padding-right: 78px;
		font-size: 17px;
	}
}


/* v0.4.4.0: scoped audience image, guest mixed-order access, and mobile polish. */
.everyrep-rma-portal .everyrep-rma-item-card__view-request {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	margin-top: 16px;
	padding: 0 22px;
	border: 1px solid #111;
	border-radius: 8px;
	background: #111;
	color: #fff !important;
	font: inherit;
	font-size: 14px;
	font-weight: 650;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: opacity .18s ease, transform .18s ease;
}

.everyrep-rma-portal .everyrep-rma-item-card__view-request:hover {
	opacity: .84;
	transform: translateY(-1px);
}

body.er-women #content .everyrep-rma-portal .everyrep-rma-item-card__view-request,
body.er-men #content .everyrep-rma-portal .everyrep-rma-item-card__view-request {
	color: #fff !important;
}

@media (max-width: 768px) {
	.everyrep-rma-portal--standalone .everyrep-rma-screen__header {
		max-width: none;
		width: 100%;
	}
	.everyrep-rma-portal--standalone .everyrep-rma-screen__title {
		max-width: 100%;
		font-size: clamp(1.65rem, 7.2vw, 2rem);
		line-height: 1.08;
		text-wrap: balance;
	}
	.everyrep-rma-portal--standalone .everyrep-rma-item-card__image::after {
		content: none !important;
		display: none !important;
	}
	.everyrep-rma-portal--standalone .everyrep-rma-item-card {
		border: 1px solid var(--er-rma-border, #e2e2e7);
		transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
	}
	.everyrep-rma-portal--standalone .everyrep-rma-item-card.is-selected {
		border: 2px solid #151515;
		box-shadow: 0 7px 20px rgba(0,0,0,.07);
	}
	.everyrep-rma-portal--standalone .everyrep-rma-item-card__eligible {
		padding: 4px 8px;
		font-size: 10px;
		line-height: 1.2;
	}
	.everyrep-rma-portal--standalone .everyrep-rma-item-card.is-requested {
		cursor: default;
	}
}

/* v0.4.4.1: deterministic item-card selection borders. */
@media (max-width: 768px) {
	.everyrep-rma-portal--standalone label.everyrep-rma-item-card,
	.everyrep-rma-portal--standalone label.everyrep-rma-item-card:hover,
	.everyrep-rma-portal--standalone label.everyrep-rma-item-card:focus-within {
		border: 1px solid var(--er-rma-border, #e2e2e7) !important;
		outline: 0 !important;
		outline-offset: 0 !important;
		box-shadow: none;
	}

	.everyrep-rma-portal--standalone label.everyrep-rma-item-card.is-selected,
	.everyrep-rma-portal--standalone label.everyrep-rma-item-card.is-selected:hover,
	.everyrep-rma-portal--standalone label.everyrep-rma-item-card.is-selected:focus-within {
		border: 2px solid #151515 !important;
		outline: 0 !important;
		box-shadow: 0 7px 20px rgba(0, 0, 0, 0.07);
	}

	/* Preserve an accessible keyboard-only focus indicator without affecting taps. */
	.everyrep-rma-portal--standalone label.everyrep-rma-item-card:has(input:focus-visible) {
		outline: 2px solid rgba(21, 21, 21, 0.42) !important;
		outline-offset: 3px !important;
	}
}

.everyrep-rma-disposition__option{display:flex;gap:12px;align-items:flex-start;padding:14px 0}.everyrep-rma-disposition__option input{margin-top:4px}.everyrep-rma-disposition__option span{line-height:1.45}.everyrep-rma-policy-ack{display:flex;gap:10px;align-items:flex-start;margin-top:18px;line-height:1.45}.everyrep-rma-policy-ack input{margin-top:4px}.everyrep-rma-refund-summary__note{margin:16px 0 0;color:var(--er-rma-muted,#626262);font-size:14px;line-height:1.5}


/* v0.4.8.2: mobile-friendly inline validation on the review screen. */
.everyrep-rma-review-section[data-er-rma-validation-section]{transition:border-color 180ms ease,box-shadow 180ms ease,background-color 180ms ease}
.everyrep-rma-review-section.has-validation-error{border-color:#c62828!important;box-shadow:0 0 0 1px rgba(198,40,40,.08)}
.everyrep-rma-inline-error{display:flex;align-items:flex-start;gap:8px;margin:12px 0 0;padding:11px 12px;border-radius:8px;background:#fff2f2;color:#a51d1d;font-size:14px;font-weight:600;line-height:1.4}
.everyrep-rma-inline-error::before{content:"!";display:inline-flex;align-items:center;justify-content:center;flex:0 0 18px;width:18px;height:18px;margin-top:1px;border:1.5px solid currentColor;border-radius:50%;font-size:12px;font-weight:700;line-height:1}
.everyrep-rma-inline-error[hidden]{display:none!important}
.everyrep-rma-review-section.is-validation-pulse{animation:everyrep-rma-validation-pulse 800ms ease-out}
@keyframes everyrep-rma-validation-pulse{0%,100%{background-color:transparent}35%{background-color:rgba(198,40,40,.045)}}
@media (prefers-reduced-motion:reduce){.everyrep-rma-review-section.is-validation-pulse{animation:none}.everyrep-rma-review-section[data-er-rma-validation-section]{transition:none}}

/* v0.5.2.1 focused exchange configurator */
.everyrep-rma-exchange-type{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}.everyrep-rma-exchange-type label{display:block;cursor:pointer}.everyrep-rma-exchange-type input{position:absolute;opacity:0;pointer-events:none}.everyrep-rma-exchange-type label>span{display:flex;flex-direction:column;gap:4px;min-height:84px;padding:16px;border:1px solid #d8d8d8;border-radius:12px;background:#fff;transition:border-color .16s,box-shadow .16s}.everyrep-rma-exchange-type input:checked+span{border-color:#111;box-shadow:0 0 0 1px #111}.everyrep-rma-exchange-type small{color:#666;font-size:13px;font-weight:400;line-height:1.4}.everyrep-rma-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.everyrep-rma-product-grid.is-focused{display:block}.everyrep-rma-product-grid.is-focused .everyrep-rma-product-card:not(.is-active){display:none}.everyrep-rma-product-card{border:1px solid #dedede;border-radius:14px;background:#fff;overflow:hidden;transition:border-color .2s,box-shadow .2s,opacity .2s}.everyrep-rma-product-card.is-active{border-color:#111;box-shadow:0 0 0 1px #111}.everyrep-rma-product-card__head{display:flex;width:100%;gap:12px;align-items:center;padding:12px;border:0;background:transparent;text-align:left;cursor:pointer}.everyrep-rma-product-card__head img,.everyrep-rma-product-card__placeholder{width:68px;height:82px;object-fit:cover;border-radius:8px;background:#f2f2f2;flex:0 0 auto}.everyrep-rma-product-card__head span:last-child{display:flex;flex-direction:column;gap:5px}.everyrep-rma-product-card__head small{color:#555;font-size:15px;font-weight:600}.everyrep-rma-product-card__config{padding:2px 14px 16px}.everyrep-rma-product-config{display:grid;gap:16px;padding-top:8px;border-top:1px solid #ececec}.everyrep-rma-config-section{display:grid;gap:8px}.everyrep-rma-config-label{font-size:13px;font-weight:700;color:#555}.everyrep-rma-option-chips,.everyrep-rma-size-group{display:flex;flex-wrap:wrap;gap:8px}.everyrep-rma-option-chip{min-width:48px;padding:9px 13px;border:1px solid #d5d5d5;border-radius:999px;background:#fff;color:#111;font-size:14px;line-height:1.1;cursor:pointer}.everyrep-rma-option-chip.is-selected{border-color:#111;background:#111;color:#fff}.everyrep-rma-choose-another{margin:0 0 12px;padding:0;border:0;background:transparent;color:#111;font-size:14px;font-weight:600;cursor:pointer}.everyrep-rma-exchange-summary{margin-top:16px;padding:18px;border:1px solid #d9d9d9;border-radius:14px;background:#fafafa}.everyrep-rma-exchange-summary__eyebrow{display:block;margin-bottom:12px;font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#555}.everyrep-rma-exchange-summary>div{display:flex;justify-content:space-between;gap:20px;padding:5px 0}.everyrep-rma-exchange-summary__total{margin-top:8px;padding-top:12px!important;border-top:1px solid #d4d4d4;font-size:17px}.everyrep-rma-exchange-summary p{margin:13px 0 0;font-size:13px;color:#555}.everyrep-rma-exchange-summary__selection{display:block;margin-top:8px;font-size:13px;color:#666}.everyrep-rma-replacement-help{margin-bottom:10px}@media(max-width:640px){.everyrep-rma-exchange-type{grid-template-columns:1fr 1fr;gap:8px}.everyrep-rma-exchange-type label>span{min-height:72px;padding:13px}.everyrep-rma-product-grid{grid-template-columns:1fr}.everyrep-rma-product-card__head img,.everyrep-rma-product-card__placeholder{width:58px;height:70px}.everyrep-rma-product-card__head{padding:11px}.everyrep-rma-product-card__config{padding:0 11px 14px}.everyrep-rma-option-chip{padding:8px 12px}.everyrep-rma-exchange-summary{padding:15px}}

/* v0.5.2.3 exchange polish */
.everyrep-rma-exchange-included{display:grid!important;justify-content:start!important;gap:4px!important;margin-top:14px;padding-top:12px!important;border-top:1px solid #e1e1e1;font-size:13px;color:#555}.everyrep-rma-exchange-included strong{color:#222;margin-bottom:2px}.everyrep-rma-review-section__intro{margin:0 0 18px;color:#555;line-height:1.55}.er-rma-exchange-summary__payment{margin-top:18px;padding-top:18px;border-top:1px solid #e2e2e2}.er-rma-exchange-summary__payment-amount{display:block;margin:4px 0 14px;font-size:30px;line-height:1.1;font-weight:750}.er-rma-exchange-summary__payment .button{display:inline-block;border-radius:999px;background:#111;color:#fff!important;padding:13px 22px;text-decoration:none;font-weight:700}
body.woocommerce-order-pay .woocommerce{width:min(100% - 32px,680px)!important;max-width:680px!important;margin:44px auto 80px!important}body.woocommerce-order-pay .woocommerce form#order_review{width:100%!important;max-width:none!important;margin:0!important}body.woocommerce-order-pay .shop_table{width:100%!important;margin:0 0 22px!important}body.woocommerce-order-pay #payment{width:100%!important;margin:0!important}body.woocommerce-order-pay #place_order{width:100%!important;min-height:52px;border-radius:999px!important;font-weight:700!important;font-size:16px!important}body.woocommerce-order-pay .woocommerce-order-details__title,body.woocommerce-order-pay h2{font-size:28px;line-height:1.2;margin-bottom:10px}body.woocommerce-order-pay .er-rma-pay-intro{margin:0 0 24px;padding:22px;border:1px solid #dedede;border-radius:16px;background:#fff}body.woocommerce-order-pay .er-rma-pay-intro__eyebrow{margin:0 0 8px;font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#666}body.woocommerce-order-pay .er-rma-pay-intro h1{margin:0 0 9px;font-size:32px;line-height:1.15}body.woocommerce-order-pay .er-rma-pay-intro p{margin:0;color:#555;line-height:1.55}@media(max-width:640px){body.woocommerce-order-pay .woocommerce{width:calc(100% - 24px)!important;margin:24px auto 50px!important}body.woocommerce-order-pay .er-rma-pay-intro{padding:18px}body.woocommerce-order-pay .er-rma-pay-intro h1{font-size:27px}.er-rma-exchange-summary__payment-amount{font-size:27px}}


/* v0.5.2.4 completion polish */
.everyrep-rma-inspection-note{margin:18px 0 0;padding:14px 16px;border-radius:10px;background:#f6f6f6;color:#3f3f3f;font-size:14px;line-height:1.5}.everyrep-rma-inspection-note[hidden]{display:none!important}
body.woocommerce-order-pay .woocommerce,body.woocommerce-order-pay .woocommerce *{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif}
body.woocommerce-order-pay .shop_table th,body.woocommerce-order-pay .shop_table td{vertical-align:top!important}
body.woocommerce-order-pay .shop_table thead th.product-quantity,body.woocommerce-order-pay .shop_table td.product-quantity{text-align:center!important}
body.woocommerce-order-pay .shop_table thead th.product-subtotal,body.woocommerce-order-pay .shop_table td.product-subtotal,body.woocommerce-order-pay .shop_table tfoot td{text-align:right!important;white-space:nowrap!important}
body.woocommerce-order-pay .shop_table .woocommerce-Price-amount,body.woocommerce-order-pay .shop_table .woocommerce-Price-currencySymbol{font-family:inherit!important;font-weight:400!important;letter-spacing:0!important;line-height:inherit!important;vertical-align:baseline!important}
body.woocommerce-order-pay .shop_table tbody td.product-subtotal,body.woocommerce-order-pay .shop_table tfoot td,body.woocommerce-order-pay .shop_table tfoot th{font-weight:400!important}
body.woocommerce-order-pay .shop_table tfoot tr:last-child th,body.woocommerce-order-pay .shop_table tfoot tr:last-child td,body.woocommerce-order-pay .shop_table tfoot tr:last-child .woocommerce-Price-amount,body.woocommerce-order-pay .shop_table tfoot tr:last-child .woocommerce-Price-currencySymbol{font-weight:700!important}
body.woocommerce-order-pay #place_order{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif!important}


/* Customer evidence upload */
.everyrep-rma-photo-upload {
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 18px;
	border: 1px dashed #b8b8bd;
	border-radius: 14px;
	background: #fafafa;
	cursor: pointer;
	transition: border-color var(--er-rma-transition), box-shadow var(--er-rma-transition), background-color var(--er-rma-transition);
}
.everyrep-rma-photo-upload:hover { border-color: #77777d; background: #fff; }
.everyrep-rma-photo-upload:focus-within { border-color: var(--er-rma-primary); box-shadow: 0 0 0 4px var(--er-rma-focus); }
.everyrep-rma-photo-upload input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.everyrep-rma-photo-upload__title { font-weight: 650; color: var(--er-rma-text); }
.everyrep-rma-photo-upload__help { color: var(--er-rma-text-muted); font-size: 13px; line-height: 1.45; }
.everyrep-rma-photo-field.is-invalid .everyrep-rma-photo-upload { border-color: var(--er-rma-error); box-shadow: 0 0 0 4px rgba(180,35,24,.12); }
.everyrep-rma-photo-preview { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; margin-top: 10px; }
.everyrep-rma-photo-preview img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 9px; border: 1px solid #e2e2e5; }
@media (max-width: 600px) { .everyrep-rma-photo-preview { grid-template-columns: repeat(3,minmax(0,1fr)); } }

.everyrep-rma-portal__lifestyle-help,
.everyrep-rma-portal__lifestyle-help:link,
.everyrep-rma-portal__lifestyle-help:visited,
.everyrep-rma-portal__lifestyle-help:hover,
.everyrep-rma-portal__lifestyle-help:focus,
.everyrep-rma-portal__lifestyle-help:active {
	color: #fff !important;
}


/* v0.5.2.7: ensure the lifestyle help link wins against theme-level #content link rules. */
body.er-women #content a.everyrep-rma-portal__lifestyle-help,
body.er-women #content a.everyrep-rma-portal__lifestyle-help:link,
body.er-women #content a.everyrep-rma-portal__lifestyle-help:visited,
body.er-women #content a.everyrep-rma-portal__lifestyle-help:hover,
body.er-women #content a.everyrep-rma-portal__lifestyle-help:focus,
body.er-women #content a.everyrep-rma-portal__lifestyle-help:active,
body.er-men #content a.everyrep-rma-portal__lifestyle-help,
body.er-men #content a.everyrep-rma-portal__lifestyle-help:link,
body.er-men #content a.everyrep-rma-portal__lifestyle-help:visited,
body.er-men #content a.everyrep-rma-portal__lifestyle-help:hover,
body.er-men #content a.everyrep-rma-portal__lifestyle-help:focus,
body.er-men #content a.everyrep-rma-portal__lifestyle-help:active {
	color: #fff !important;
}
.everyrep-rma-photo-preview__item { position: relative; min-width: 0; }
.everyrep-rma-photo-preview__item img { display: block; }
.everyrep-rma-photo-preview__remove {
	position: absolute; top: 6px; right: 6px; width: 24px; height: 24px;
	display: inline-flex; align-items: center; justify-content: center;
	padding: 0; border: 1px solid rgba(255,255,255,.8); border-radius: 999px;
	background: rgba(15,15,15,.78); color: #fff !important; font: 700 17px/1 Arial,sans-serif;
	cursor: pointer; box-shadow: 0 1px 5px rgba(0,0,0,.28);
}
.everyrep-rma-photo-preview__remove:hover,
.everyrep-rma-photo-preview__remove:focus { background: #000; color: #fff !important; outline: 2px solid #fff; outline-offset: 1px; }


/* Guest confirmation account invitation. */
.everyrep-rma-confirmation__account {
	max-width: 720px;
	margin: 28px auto 0;
	padding: 26px 28px;
	border: 1px solid var(--er-rma-border);
	border-radius: 18px;
	background: #f7f7f8;
	text-align: center;
}

.everyrep-rma-confirmation__account-title {
	margin: 0 0 8px;
	font-size: clamp(20px, 2vw, 24px);
	font-weight: 700;
	line-height: 1.25;
	color: var(--er-rma-heading) !important;
}

.everyrep-rma-confirmation__account-description {
	max-width: 570px;
	margin: 0 auto 18px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--er-rma-muted) !important;
}

.everyrep-rma-confirmation__account-button {
	min-width: 190px;
}


.everyrep-rma-confirmation__account-button.is-success,
.everyrep-rma-confirmation__account-button.is-success:hover,
.everyrep-rma-confirmation__account-button.is-success:focus {
	background: #eaf4ea !important;
	border-color: #d2e5d2 !important;
	color: #2f6b3f !important;
	cursor: default;
	box-shadow: none;
}

body.er-women #content .everyrep-rma-portal--standalone .everyrep-rma-confirmation__account-button.is-success,
body.er-men #content .everyrep-rma-portal--standalone .everyrep-rma-confirmation__account-button.is-success {
	color: #2f6b3f !important;
}

/* Shoptimizer applies broad !important text colors inside #content.
 * The guest portal owns the primary-button palette in every state. */
body.er-women #content .everyrep-rma-portal--standalone .everyrep-rma-button--primary,
body.er-women #content .everyrep-rma-portal--standalone .everyrep-rma-button--primary span,
body.er-men #content .everyrep-rma-portal--standalone .everyrep-rma-button--primary,
body.er-men #content .everyrep-rma-portal--standalone .everyrep-rma-button--primary span {
	color: #ffffff !important;
}

body.er-women #content .everyrep-rma-portal--standalone .everyrep-rma-button--primary:disabled,
body.er-women #content .everyrep-rma-portal--standalone .everyrep-rma-button--primary:disabled span,
body.er-women #content .everyrep-rma-portal--standalone .everyrep-rma-button--primary[aria-disabled="true"],
body.er-women #content .everyrep-rma-portal--standalone .everyrep-rma-button--primary[aria-disabled="true"] span,
body.er-men #content .everyrep-rma-portal--standalone .everyrep-rma-button--primary:disabled,
body.er-men #content .everyrep-rma-portal--standalone .everyrep-rma-button--primary:disabled span,
body.er-men #content .everyrep-rma-portal--standalone .everyrep-rma-button--primary[aria-disabled="true"],
body.er-men #content .everyrep-rma-portal--standalone .everyrep-rma-button--primary[aria-disabled="true"] span {
	color: rgba(255, 255, 255, 0.58) !important;
}


/* Guest account-created confirmation: keep the disabled success state readable. */
body.er-women #content .everyrep-rma-portal--standalone .everyrep-rma-confirmation__account-button.is-success:disabled,
body.er-women #content .everyrep-rma-portal--standalone .everyrep-rma-confirmation__account-button.is-success:disabled span,
body.er-women #content .everyrep-rma-portal--standalone .everyrep-rma-confirmation__account-button.is-success[aria-disabled="true"],
body.er-women #content .everyrep-rma-portal--standalone .everyrep-rma-confirmation__account-button.is-success[aria-disabled="true"] span,
body.er-men #content .everyrep-rma-portal--standalone .everyrep-rma-confirmation__account-button.is-success:disabled,
body.er-men #content .everyrep-rma-portal--standalone .everyrep-rma-confirmation__account-button.is-success:disabled span,
body.er-men #content .everyrep-rma-portal--standalone .everyrep-rma-confirmation__account-button.is-success[aria-disabled="true"],
body.er-men #content .everyrep-rma-portal--standalone .everyrep-rma-confirmation__account-button.is-success[aria-disabled="true"] span {
	background: #eaf4ea !important;
	border-color: #d2e5d2 !important;
	color: #2f6b3f !important;
	opacity: 1 !important;
}

@media (max-width: 640px) {
	.everyrep-rma-confirmation__account {
		margin-top: 22px;
		padding: 22px 18px;
	}

	.everyrep-rma-confirmation__account-button {
		width: 100%;
	}
}


/* Guest access to existing return and exchange requests. */
.everyrep-rma-existing-requests__intro {
	margin: 0 0 18px;
	padding: 20px 22px;
	border: 1px solid var(--er-rma-border);
	border-radius: 16px;
	background: #f7f7f8;
}
.everyrep-rma-existing-requests__title {
	margin: 0 0 6px;
	font-size: 20px;
	line-height: 1.25;
	color: var(--er-rma-heading) !important;
}
.everyrep-rma-existing-requests__text {
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
	color: var(--er-rma-muted) !important;
}
.everyrep-rma-item-card__view-request {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 12px;
	min-height: 40px;
	padding: 0 17px;
	border: 1px solid #111;
	border-radius: 999px;
	background: #111;
	color: #fff !important;
	font: inherit;
	font-size: 14px;
	font-weight: 650;
	cursor: pointer;
}
body.er-women #content .everyrep-rma-item-card__view-request,
body.er-men #content .everyrep-rma-item-card__view-request {
	color: #fff !important;
}
.everyrep-rma-request-activity {
	margin-top: 22px;
	padding: 24px;
	border: 1px solid var(--er-rma-border);
	border-radius: 16px;
	background: #fff;
	text-align: left;
}
.everyrep-rma-request-activity__title {
	margin: 0 0 18px;
	font-size: 19px;
	color: var(--er-rma-heading) !important;
}
.everyrep-rma-request-activity__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 18px;
}
.everyrep-rma-request-activity__item {
	display: grid;
	grid-template-columns: 12px 1fr;
	gap: 12px;
	align-items: start;
}
.everyrep-rma-request-activity__dot {
	width: 10px;
	height: 10px;
	margin-top: 5px;
	border-radius: 50%;
	background: #2e7d32;
	box-shadow: 0 0 0 4px #eef6f0;
}
.everyrep-rma-request-activity__item strong {
	display: block;
	font-size: 15px;
	color: var(--er-rma-heading) !important;
}
.everyrep-rma-request-activity__item p {
	margin: 4px 0 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--er-rma-muted) !important;
}
.everyrep-rma-request-activity__item time {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	color: var(--er-rma-muted) !important;
}

.everyrep-rma-form__actions[hidden] { display: none !important; }

/* v0.5.3.2: existing-request cards use a two-column desktop layout. */
@media (min-width: 769px) {
	.everyrep-rma-portal--standalone .everyrep-rma-item-card__content--requested {
		grid-template-columns: 126px minmax(0, 1fr);
	}

	.everyrep-rma-portal--standalone .everyrep-rma-item-card__content--requested .everyrep-rma-item-card__image {
		grid-column: 1;
	}

	.everyrep-rma-portal--standalone .everyrep-rma-item-card__content--requested .everyrep-rma-item-card__body {
		grid-column: 2;
		width: 100%;
		padding-right: 210px;
	}
}


/* v0.5.3.3: guest request shipping actions. */
.everyrep-rma-guest-shipping {
	margin-top: 22px;
	padding: 26px;
	border: 1px solid var(--er-rma-border);
	border-radius: 16px;
	background: #fff;
	text-align: left;
}
.everyrep-rma-guest-shipping__eyebrow {
	margin: 0 0 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--er-rma-muted) !important;
}
.everyrep-rma-guest-shipping__title {
	margin: 0 0 10px;
	font-size: 24px;
	line-height: 1.25;
	color: var(--er-rma-heading) !important;
}
.everyrep-rma-guest-shipping__text {
	margin: 0 0 18px;
	font-size: 16px;
	line-height: 1.55;
	color: var(--er-rma-heading) !important;
}
.everyrep-rma-guest-shipping__details {
	display: grid;
	gap: 8px;
	margin: 0 0 20px;
}
.everyrep-rma-guest-shipping__details p {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	margin: 0;
	font-size: 14px;
	line-height: 1.45;
}
.everyrep-rma-guest-shipping__details span { color: var(--er-rma-muted) !important; }
.everyrep-rma-guest-shipping__details strong { color: var(--er-rma-heading) !important; text-align: right; }
.everyrep-rma-guest-shipping__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 22px;
	border: 1px solid #111;
	border-radius: 999px;
	background: #111;
	color: #fff !important;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none !important;
}
body.er-women #content .everyrep-rma-guest-shipping__button,
body.er-men #content .everyrep-rma-guest-shipping__button { color: #fff !important; }
.everyrep-rma-guest-shipping__button:hover { opacity: .86; color: #fff !important; }
@media (max-width: 767px) {
	.everyrep-rma-guest-shipping { padding: 22px 18px; }
	.everyrep-rma-guest-shipping__title { font-size: 21px; }
	.everyrep-rma-guest-shipping__button { width: 100%; }
	.everyrep-rma-guest-shipping__details p { display: grid; gap: 2px; }
	.everyrep-rma-guest-shipping__details strong { text-align: left; }
}


/* Guest request details: inspection reports and evidence photos. */
.everyrep-rma-guest-inspection,.everyrep-rma-guest-photo-section{margin-top:24px;padding:30px;border:1px solid #dedee3;border-radius:18px;background:#fff;color:#171717}
.everyrep-rma-guest-inspection__eyebrow{margin:0 0 8px;font-size:12px;font-weight:750;letter-spacing:.09em;text-transform:uppercase;color:#5e5e63}
.everyrep-rma-guest-inspection h3,.everyrep-rma-guest-photo-section h3{margin:0 0 12px;font-size:25px;line-height:1.2}
.everyrep-rma-guest-inspection__next{margin:18px 0;padding:14px 16px;border-radius:12px;background:#f6f6f7}
.everyrep-rma-guest-inspection__item{margin-top:22px;padding-top:20px;border-top:1px solid #e5e5e8}
.everyrep-rma-guest-inspection__item h4{margin:0 0 12px;font-size:18px}.everyrep-rma-guest-inspection__item h5{margin:15px 0 7px;font-size:14px}.everyrep-rma-guest-inspection__item ul{margin:8px 0 0 20px}
.everyrep-rma-guest-photo-section>p{margin:-4px 0 16px;color:#5f5f65}.everyrep-rma-guest-photo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}.everyrep-rma-guest-photo-grid img{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:12px}
@media(max-width:767px){.everyrep-rma-guest-inspection,.everyrep-rma-guest-photo-section{padding:22px 18px;border-radius:15px}.everyrep-rma-guest-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v0.5.3.8: guest request navigation and rejection decision. */
.everyrep-rma-request-back{display:inline-flex;align-items:center;gap:7px;margin:0 0 22px;padding:0;border:0;background:transparent;color:#4f4f55;font:inherit;font-weight:600;cursor:pointer}
.everyrep-rma-request-back:hover{color:#111}
body.er-women #content .everyrep-rma-request-back,body.er-men #content .everyrep-rma-request-back{color:#4f4f55!important}

/* v0.5.4.0 partial-quantity control */
.everyrep-rma-quantity-field{max-width:180px;margin-bottom:22px}.everyrep-rma-quantity-field select{width:100%;min-height:44px}.everyrep-rma-field__help{margin:6px 0 0;color:#666;font-size:13px}


/* Selected exchange colors use the actual catalog swatch color. */
.everyrep-rma-option-chip--color.is-selected {
  border-color: var(--er-rma-selected-border, var(--er-rma-selected-color, #111)) !important;
  background: var(--er-rma-selected-color, #111) !important;
  color: var(--er-rma-selected-text, #fff) !important;
  box-shadow: 0 0 0 1px var(--er-rma-selected-ring, var(--er-rma-selected-color, #111)) !important;
}
.everyrep-rma-option-chip--color.is-selected:hover,
.everyrep-rma-option-chip--color.is-selected:focus-visible {
  border-color: var(--er-rma-selected-border, var(--er-rma-selected-color, #111)) !important;
  background: var(--er-rma-selected-color, #111) !important;
  color: var(--er-rma-selected-text, #fff) !important;
}


/* v0.5.6.3 — item context in customer inspection summaries */
.everyrep-rma-inspection-report__product{display:flex;align-items:flex-start;gap:16px;margin-bottom:14px}
.everyrep-rma-inspection-report__image{flex:0 0 82px;width:82px}
.everyrep-rma-inspection-report__image img{display:block;width:82px;height:82px;object-fit:cover;border-radius:10px}
.everyrep-rma-inspection-report__product-copy{min-width:0}
.everyrep-rma-inspection-report__product-copy h3{margin:0 0 7px}
.everyrep-rma-inspection-report__attribute{margin:2px 0;font-size:14px}
.everyrep-rma-inspection-report__result,.everyrep-rma-guest-inspection__result{display:inline-flex;align-items:center;padding:6px 11px;border:1px solid #cfe1d1;border-radius:999px;background:#edf8ef;font-size:13px;font-weight:700;line-height:1.2}
.everyrep-rma-inspection-report__result.is-rejected,.everyrep-rma-guest-inspection__result.is-rejected{border-color:#ead2d2;background:#fff0f0}
.everyrep-rma-inspection-report__result.is-missing,.everyrep-rma-guest-inspection__result.is-missing{border-color:#ded8c9;background:#faf7ec}
.everyrep-rma-guest-inspection__product{display:flex;align-items:flex-start;gap:14px;margin-bottom:12px}
.everyrep-rma-guest-inspection__product img{flex:0 0 76px;width:76px;height:76px;object-fit:cover;border-radius:10px}
.everyrep-rma-guest-inspection__product h4{margin:0 0 7px}
.everyrep-rma-guest-inspection__attribute{margin:2px 0;font-size:14px}
@media(max-width:520px){.everyrep-rma-inspection-report__image{flex-basis:68px;width:68px}.everyrep-rma-inspection-report__image img{width:68px;height:68px}.everyrep-rma-guest-inspection__product img{flex-basis:64px;width:64px;height:64px}}


/* v0.5.6.4 — item-linked inspection evidence */
.everyrep-rma-inspection-report__item-photos{display:grid;grid-template-columns:repeat(auto-fill,190px);gap:12px;margin-top:18px}
.everyrep-rma-inspection-report__item-photos a{display:block;width:190px;max-width:100%}
.everyrep-rma-inspection-report__item-photos img{display:block;width:190px;height:190px;max-width:100%;object-fit:cover;border-radius:12px}
.everyrep-rma-inspection-report__gallery{grid-template-columns:repeat(auto-fill,190px);justify-content:start}
.everyrep-rma-inspection-report__gallery a{display:block;width:190px;max-width:100%}
.everyrep-rma-inspection-report__gallery img{width:190px;height:190px;max-width:100%}
.everyrep-rma-guest-inspection__item .everyrep-rma-guest-photo-section{margin-top:18px;padding:0;border:0;border-radius:0;background:transparent}
.everyrep-rma-guest-inspection__item .everyrep-rma-guest-photo-section h3{margin:0 0 10px;font-size:16px}
.everyrep-rma-guest-inspection__item .everyrep-rma-guest-photo-grid{grid-template-columns:repeat(auto-fill,190px);justify-content:start}
.everyrep-rma-guest-inspection__item .everyrep-rma-guest-photo-grid a{display:block;width:190px;max-width:100%}
.everyrep-rma-guest-inspection__item .everyrep-rma-guest-photo-grid img{width:190px;height:190px;max-width:100%}
@media(max-width:520px){.everyrep-rma-inspection-report__item-photos,.everyrep-rma-inspection-report__gallery,.everyrep-rma-guest-inspection__item .everyrep-rma-guest-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.everyrep-rma-inspection-report__item-photos a,.everyrep-rma-inspection-report__item-photos img,.everyrep-rma-inspection-report__gallery a,.everyrep-rma-inspection-report__gallery img,.everyrep-rma-guest-inspection__item .everyrep-rma-guest-photo-grid a,.everyrep-rma-guest-inspection__item .everyrep-rma-guest-photo-grid img{width:100%}}


/* v0.5.6.5 — progressive split-exchange allocations */
.everyrep-rma-primary-replacement{position:relative}
.everyrep-rma-primary-replacement__bar,.everyrep-rma-split-row__top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 12px;color:#555;font-size:13px}
.everyrep-rma-primary-replacement__bar strong,.everyrep-rma-split-row__top strong{color:#111;font-weight:700}
.everyrep-rma-add-replacement{display:inline-flex;align-items:center;margin-top:16px;padding:0;border:0;background:transparent;color:#111;font:inherit;font-size:14px;font-weight:700;cursor:pointer}
.everyrep-rma-add-replacement:hover{text-decoration:underline}
.everyrep-rma-split-help{margin:7px 0 0;color:#6a6a70;font-size:12px;line-height:1.45}
.everyrep-rma-split-row{margin-top:18px;padding:18px;border:1px solid #dedee3;border-radius:14px;background:#fafafa}
.everyrep-rma-split-row__control{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}
.everyrep-rma-split-row select{width:100%;min-height:46px;border:1px solid #c9c9ce;border-radius:10px;background:#fff;padding:0 40px 0 13px;font:inherit}
.everyrep-rma-split-row__remove{min-height:44px;padding:0 4px;border:0;background:transparent;color:#6b6b70;font:inherit;font-size:13px;font-weight:650;cursor:pointer}
@media(max-width:560px){.everyrep-rma-split-row__control{grid-template-columns:1fr}.everyrep-rma-split-row__remove{justify-self:start;min-height:auto;padding:2px 0}}

/* v0.5.6.6 — full configurator for split exchanges */
.everyrep-rma-split-row{margin-top:22px;padding:20px;border:1px solid #dedee3;border-radius:16px;background:#fafafa}
.everyrep-rma-split-row__top{margin-bottom:16px;font-size:14px}
.everyrep-rma-split-row__top span{font-weight:750;color:#222}
.everyrep-rma-split-selector .everyrep-rma-current-item,
.everyrep-rma-split-selector [data-er-rma-split-replacement-summary]{display:none!important}
.everyrep-rma-split-selector .everyrep-rma-exchange-type{margin-top:0}
.everyrep-rma-split-row__remove{display:inline-flex;margin-top:14px;padding:0;border:0;background:transparent;color:#666;font:inherit;font-size:13px;font-weight:700;cursor:pointer}
.everyrep-rma-split-row__remove:hover{color:#111}
.everyrep-rma-exchange-summary__selection{display:grid;gap:10px}
.everyrep-rma-summary-allocation{display:grid;gap:2px;padding-top:10px;border-top:1px solid #e1e1e1}
.everyrep-rma-summary-allocation:first-child{margin-top:10px}
.everyrep-rma-summary-allocation strong{font-size:13px;color:#222}
.everyrep-rma-summary-allocation small{font-size:13px;color:#666;line-height:1.45}
@media(max-width:640px){.everyrep-rma-split-row{padding:16px}.everyrep-rma-split-row .everyrep-rma-exchange-type{grid-template-columns:1fr 1fr}}


/* v0.5.6.7 — keep split configurator controls visually identical to the primary configurator */
.everyrep-rma-split-selector .everyrep-rma-option-chip{min-width:48px;padding:9px 13px;border:1px solid #d5d5d5;border-radius:999px;background:#fff;color:#111;font-size:14px;line-height:1.1;cursor:pointer}
.everyrep-rma-split-selector .everyrep-rma-option-chip.is-selected{border-color:#111;background:#111;color:#fff}
.everyrep-rma-split-selector .everyrep-rma-option-chip--color.is-selected{border-color:var(--er-rma-selected-border,var(--er-rma-selected-color,#111))!important;background:var(--er-rma-selected-color,#111)!important;color:var(--er-rma-selected-text,#fff)!important;box-shadow:0 0 0 1px var(--er-rma-selected-ring,var(--er-rma-selected-color,#111))!important}
@media(max-width:640px){.everyrep-rma-split-selector .everyrep-rma-option-chip{padding:8px 12px}}

/* v0.5.7.6 mixed return/exchange financial clarity */
.everyrep-rma-return-credit{display:grid;grid-template-columns:1fr auto;gap:5px 18px;align-items:center;margin:16px 0;padding:16px 18px;border:1px solid #d9d9d9;border-radius:14px;background:#fafafa}.everyrep-rma-return-credit strong{font-size:17px}.everyrep-rma-return-credit small{grid-column:1/-1;color:#666;line-height:1.45}.everyrep-rma-audience-switch{display:inline-flex;gap:3px;margin:0 0 14px;padding:3px;border:1px solid #d8d8d8;border-radius:999px;background:#f4f4f4}.everyrep-rma-audience-switch button{min-width:82px;padding:8px 14px;border:0;border-radius:999px;background:transparent;color:#555;font-weight:700;cursor:pointer}.everyrep-rma-audience-switch button.is-active{background:#111;color:#fff;box-shadow:0 1px 2px rgba(0,0,0,.16)}@media(max-width:640px){.everyrep-rma-return-credit{padding:14px}.everyrep-rma-audience-switch{display:flex;width:max-content}.everyrep-rma-audience-switch button{min-width:76px}}

/* v0.5.7.7 complete mixed-request financial review */
.everyrep-rma-review-row--financial-total {
	margin-top: 2px;
	padding-top: 16px;
	border-top: 1px solid var(--everyrep-rma-border, #dedede);
	font-weight: 700;
}
.everyrep-rma-review-row--financial-total .everyrep-rma-review-row__value {
	font-weight: 700;
}


/* v0.5.7.8 customer-facing credits are displayed as positive values; labels convey direction. */


/* v0.5.7.9 — authenticated order deep links bypass the transient lookup screen. */
.everyrep-rma-auto-open-loading{display:none;min-height:220px;align-items:center;justify-content:center;gap:12px;color:#555;font-weight:650}
.everyrep-rma-portal--auto-opening .everyrep-rma-auto-open-loading{display:flex}
.everyrep-rma-portal--auto-opening [data-er-rma-screen="order"]{display:none!important}


/* v0.5.8.0 — compact static quantity when only one unit is eligible. */
.everyrep-rma-quantity-field.is-static{max-width:none;margin-bottom:22px}
.everyrep-rma-quantity-static{display:flex;align-items:center;justify-content:space-between;min-height:44px;padding:0 2px;border-bottom:1px solid #e2e2e7}
.everyrep-rma-quantity-static .everyrep-rma-field__label{margin:0}
.everyrep-rma-quantity-static strong{font-size:17px;font-weight:600;color:#171717}
.everyrep-rma-quantity-hidden{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;clip-path:inset(50%)!important;border:0!important;padding:0!important;margin:-1px!important}


/* v0.5.8.1 — compact one-line quantity selector for multiple eligible units. */
.everyrep-rma-quantity-field:not(.is-static){max-width:none;margin-bottom:22px}
.everyrep-rma-quantity-compact{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px}
.everyrep-rma-quantity-compact>.everyrep-rma-field__label{margin:0;flex:0 0 auto}
.everyrep-rma-quantity-compact__control{display:flex;align-items:center;justify-content:flex-end;gap:9px;min-width:0}
.everyrep-rma-quantity-compact__control select{width:72px!important;min-height:42px!important;padding:8px 30px 8px 13px!important;border-radius:12px!important;background-color:#fff;background-image:linear-gradient(45deg,transparent 50%,#555 50%),linear-gradient(135deg,#555 50%,transparent 50%);background-position:calc(100% - 15px) 17px,calc(100% - 10px) 17px;background-size:5px 5px,5px 5px;background-repeat:no-repeat;font-size:16px}
.everyrep-rma-quantity-compact__control span{white-space:nowrap;color:var(--er-rma-text-muted);font-size:14px;line-height:1.3}
@media(max-width:480px){.everyrep-rma-quantity-compact{gap:12px}.everyrep-rma-quantity-compact__control{gap:8px}.everyrep-rma-quantity-compact__control select{width:68px!important}}


/* v0.5.8.2 — polished mobile review rows with reliable label/value spacing. */
@media (max-width: 640px) {
	.everyrep-rma-review {
		gap: 16px;
	}

	.everyrep-rma-review-section {
		padding: 18px 16px;
		border-radius: 16px;
	}

	.everyrep-rma-review-section__header {
		margin-bottom: 12px;
	}

	.everyrep-rma-review-section__title {
		font-size: 17px;
		line-height: 1.3;
	}

	.everyrep-rma-review-row {
		display: grid;
		grid-template-columns: minmax(105px, 40%) minmax(0, 1fr);
		align-items: start;
		gap: 12px;
		padding: 12px 0;
		font-size: 14px;
		line-height: 1.45;
	}

	.everyrep-rma-review-row__label,
	.everyrep-rma-review-row__value {
		display: block;
		min-width: 0;
		margin: 0;
	}

	.everyrep-rma-review-row__label {
		color: var(--er-rma-text-secondary);
	}

	.everyrep-rma-review-row__value {
		text-align: right;
		overflow-wrap: anywhere;
		word-break: normal;
	}

	.everyrep-rma-review-row--financial-total {
		padding-top: 16px;
	}

	.everyrep-rma-refund-summary .everyrep-rma-review-row {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.everyrep-rma-refund-summary .everyrep-rma-review-row__value {
		white-space: normal;
	}

	.everyrep-rma-refund-summary__note {
		margin-top: 16px;
		line-height: 1.55;
	}

	.everyrep-rma-policy-ack {
		align-items: flex-start;
		gap: 12px;
	}

	.everyrep-rma-policy-ack input {
		flex: 0 0 auto;
		margin-top: 4px;
	}
}

@media (max-width: 380px) {
	.everyrep-rma-review-row {
		grid-template-columns: minmax(92px, 38%) minmax(0, 1fr);
		gap: 10px;
	}
}


/* v0.5.8.3 — guide customers to incomplete replacement options. */
.everyrep-rma-product-config.is-invalid,
.everyrep-rma-split-row.is-invalid {
	border-color: rgba(180, 35, 24, 0.52) !important;
	background: rgba(180, 35, 24, 0.045);
	box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.10);
	border-radius: 14px;
}
.everyrep-rma-product-config.is-invalid {
	padding: 14px;
}
.everyrep-rma-product-config.is-invalid .everyrep-rma-config-label {
	color: var(--er-rma-error);
}

/* v0.5.8.4 — target the exact missing color or size group. */
.everyrep-rma-product-config.is-invalid .everyrep-rma-config-section.is-invalid {
	border-radius: 12px;
	background: rgba(180, 35, 24, 0.055);
	box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.10);
	padding: 10px;
}
.everyrep-rma-product-config.is-invalid .everyrep-rma-config-section.is-invalid .everyrep-rma-config-label {
	color: var(--er-rma-error);
}


/* Item-level inspection detail in WooCommerce order details. */
.everyrep-rma-order-item-inspection {
  margin: 10px 0 2px;
  padding: 12px 14px;
  border: 1px solid #ececec;
  border-radius: 10px;
  background: #fafafa;
  color: #202124;
  font-size: 13px;
  line-height: 1.4;
}
.everyrep-rma-order-item-inspection__section + .everyrep-rma-order-item-inspection__section { margin-top: 9px; }
.everyrep-rma-order-item-inspection__section > strong { display:block; margin:0 0 4px; font-size:12px; line-height:1.3; }
.everyrep-rma-order-item-inspection ul { margin: 0 0 0 17px; padding: 0; }
.everyrep-rma-order-item-inspection li + li { margin-top:2px; }
.everyrep-rma-order-item-inspection p { margin: 0; }
.everyrep-rma-order-item-inspection__photos { display:flex; flex-wrap:wrap; gap:8px; margin-top:7px; }
.everyrep-rma-order-item-inspection__photos a { display:block; line-height:0; }
.everyrep-rma-order-item-inspection__photos img { width:120px; height:120px; object-fit:cover; border-radius:9px; border:1px solid #ececec; }
.everyrep-rma-order-item-inspection__photo-hint { display:block; margin-top:5px; color:#6b7280; font-size:11px; line-height:1.3; }
@media (max-width: 600px) {
  .everyrep-rma-order-item-inspection { padding:11px 12px; font-size:12px; }
  .everyrep-rma-order-item-inspection__photos img { width:110px; height:110px; }
}


/* Split inspection results for multiple units from one original order line. */
.everyrep-rma-order-item-status--split {
  display: block;
  clear: both;
  width: 100%;
  max-width: 100%;
  margin-top: 18px;
}
.everyrep-rma-order-item-split-panel {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e6e6e8;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}
.everyrep-rma-order-item-unit-result {
  margin: 0;
  padding: 18px 20px;
  background: transparent;
}
.everyrep-rma-order-item-unit-result + .everyrep-rma-order-item-unit-result {
  border-top: 1px solid #ececef;
}
.everyrep-rma-order-item-unit-result__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.everyrep-rma-order-item-unit-result__heading {
  min-width: 0;
}
.everyrep-rma-order-item-unit-result__status-label {
  display: block;
  color: #171717;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.3;
}
.everyrep-rma-order-item-unit-result__title {
  display: block;
  margin-top: 3px;
  color: #6b6b70;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}
.everyrep-rma-order-item-unit-result__header > .everyrep-rma-order-item-status__pill {
  flex: 0 0 auto;
  margin: 0;
  white-space: nowrap;
}
.everyrep-rma-order-item-unit-result .everyrep-rma-order-item-inspection {
  margin: 14px 0 0;
  padding: 14px 0 0;
  border: 0;
  border-top: 1px solid #eeeeef;
  border-radius: 0;
  background: transparent;
}
.everyrep-rma-order-item-status--split > .everyrep-rma-order-item-status__reference {
  display: block;
  margin-top: 10px;
}
@media (max-width: 600px) {
  .everyrep-rma-order-item-status--split {
    margin-top: 14px;
  }
  .everyrep-rma-order-item-split-panel {
    border-radius: 14px;
  }
  .everyrep-rma-order-item-unit-result {
    padding: 16px;
  }
  .everyrep-rma-order-item-unit-result__header {
    gap: 12px;
  }
  .everyrep-rma-order-item-unit-result__status-label {
    font-size: 14px;
  }
  .everyrep-rma-order-item-unit-result__header > .everyrep-rma-order-item-status__pill {
    display: none;
  }
  .everyrep-rma-order-item-unit-result .everyrep-rma-order-item-inspection {
    margin-top: 12px;
    padding-top: 12px;
  }
}

/* 0.5.10.9 — consistent full-image replacement thumbnails */
.everyrep-rma-order-item-exchange-outcome {
  width: min(100%, 390px);
  margin: 14px 0 4px;
}
.everyrep-rma-order-item-exchange-outcome__eyebrow {
  display: block;
  margin: 0 0 8px;
  color: #6b6f76;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}
.everyrep-rma-order-item-exchange-outcome__product {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  min-width: 0;
}
.everyrep-rma-order-item-exchange-outcome__image {
  width: 44px;
  height: 44px;
  min-width: 44px;
  overflow: hidden;
  border-radius: 8px;
  background: #f7f7f7;
}
.everyrep-rma-order-item-exchange-outcome__image img,
.everyrep-rma-order-item-exchange-outcome__img {
  display: block !important;
  width: 44px !important;
  height: 44px !important;
  max-width: 44px !important;
  min-width: 44px !important;
  margin: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 8px !important;
}
.everyrep-rma-order-item-exchange-outcome__content {
  min-width: 0;
}
.everyrep-rma-order-item-exchange-outcome__name,
.everyrep-rma-order-item-exchange-outcome__meta {
  display: block;
  overflow-wrap: anywhere;
}
.everyrep-rma-order-item-exchange-outcome__name {
  color: #34373c;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.28;
}
.everyrep-rma-order-item-exchange-outcome__meta {
  margin-top: 3px;
  color: #747980;
  font-size: 12px;
  line-height: 1.3;
}
.everyrep-rma-order-item-exchange-outcome--cancelled {
  padding-top: 0;
}
.everyrep-rma-order-item-exchange-outcome--cancelled > strong {
  display: block;
  color: #34373c;
  font-size: 14px;
  line-height: 1.3;
}
.everyrep-rma-order-item-unit-result .everyrep-rma-order-item-exchange-outcome {
  margin-top: 12px;
}
@media (max-width: 600px) {
  .everyrep-rma-order-item-exchange-outcome {
    width: 100%;
    margin-top: 13px;
  }
  .everyrep-rma-order-item-exchange-outcome__eyebrow {
    margin-bottom: 7px;
    font-size: 11px;
  }
  .everyrep-rma-order-item-exchange-outcome__product {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 10px;
  }
  .everyrep-rma-order-item-exchange-outcome__image,
  .everyrep-rma-order-item-exchange-outcome__image img,
  .everyrep-rma-order-item-exchange-outcome__img {
    width: 44px !important;
    height: 44px !important;
    max-width: 44px !important;
    min-width: 44px !important;
  }
  .everyrep-rma-order-item-exchange-outcome__name {
    font-size: 13px;
    line-height: 1.25;
  }
  .everyrep-rma-order-item-exchange-outcome__meta {
    font-size: 12px;
  }
}


/* 0.5.10.11 — deterministic, uncropped replacement thumbnail */
.everyrep-rma-order-item-exchange-outcome__image {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  flex: 0 0 44px !important;
  display: block !important;
  overflow: hidden !important;
  border-radius: 8px !important;
  background-color: #f7f7f7 !important;
  background-size: contain !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}
@media (max-width: 600px) {
  .everyrep-rma-order-item-exchange-outcome__image {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    flex-basis: 44px !important;
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }
}

/* 0.5.10.12 — self-contained premium order-item cards and refund detail. */
.woocommerce-order-details .woocommerce-table--order-details tbody {
  display: block;
}
.woocommerce-order-details .woocommerce-table--order-details tbody tr.order_item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  column-gap: 24px;
  margin: 0 0 16px;
  padding: 22px 24px;
  border: 1px solid #e8e8eb;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 7px 24px rgba(20, 24, 32, 0.045);
  box-sizing: border-box;
}
.woocommerce-order-details .woocommerce-table--order-details tbody tr.order_item > td {
  border: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}
.woocommerce-order-details .woocommerce-table--order-details tbody tr.order_item > td.product-name {
  grid-column: 1;
  min-width: 0;
}
.woocommerce-order-details .woocommerce-table--order-details tbody tr.order_item > td.product-total {
  grid-column: 2;
  grid-row: 1;
  min-width: max-content;
  padding-top: 2px !important;
  font-weight: 650;
}
.woocommerce-order-details .woocommerce-table--order-details tfoot {
  display: table-row-group;
}
.woocommerce-order-details .everyrep-rma-order-item-status {
  margin-top: 14px;
  clear: both;
}
.woocommerce-order-details .everyrep-rma-order-item-status__reference {
  display: block;
  margin-top: 14px;
  color: #697078;
  font-size: 12px;
}
.woocommerce-order-details .everyrep-rma-order-item-inspection {
  width: min(100%, 640px);
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fafafa;
}
.woocommerce-order-details .everyrep-rma-order-item-inspection__photos img {
  width: 104px;
  height: 104px;
}
.woocommerce-order-details .everyrep-rma-order-item-inspection__photo-hint {
  display: none;
}
.woocommerce-order-details .everyrep-rma-order-item-exchange-outcome {
  width: min(100%, 520px);
  margin-top: 14px;
  padding: 13px 14px;
  border: 1px solid #ececef;
  border-radius: 12px;
  background: #fbfbfc;
}
.woocommerce-order-details .everyrep-rma-order-item-exchange-outcome__eyebrow {
  margin-bottom: 9px;
  color: #656b73;
  font-size: 12px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}
.woocommerce-order-details .everyrep-rma-order-item-exchange-outcome__name {
  color: #3f4349;
  font-size: 13px;
  font-weight: 500;
}
.woocommerce-order-details .everyrep-rma-order-item-exchange-outcome__meta {
  color: #777d85;
  font-size: 12px;
}
.everyrep-rma-order-item-refund-summary {
  width: min(100%, 520px);
  margin-top: 14px;
  padding: 15px 16px;
  border: 1px solid #e7e8eb;
  border-radius: 12px;
  background: #fbfbfc;
  box-sizing: border-box;
}
.everyrep-rma-order-item-refund-summary__title {
  margin-bottom: 8px;
  color: #2c3035;
  font-size: 13px;
  font-weight: 650;
}
.everyrep-rma-order-item-refund-summary__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 8px 0;
  border-top: 1px solid #ececef;
  color: #5f656d;
  font-size: 13px;
  line-height: 1.3;
}
.everyrep-rma-order-item-refund-summary__row strong {
  color: #25282d;
  font-weight: 600;
  white-space: nowrap;
}
.everyrep-rma-order-item-refund-summary__row--total {
  margin-top: 2px;
  padding-top: 10px;
  color: #202328;
  font-weight: 650;
}
.everyrep-rma-order-item-refund-summary__row--total strong {
  font-weight: 700;
}

@media (max-width: 600px) {
  .woocommerce-order-details .woocommerce-table--order-details tbody tr.order_item {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 12px;
    margin-bottom: 12px;
    padding: 16px 14px;
    border-radius: 15px;
    box-shadow: 0 5px 18px rgba(20, 24, 32, 0.04);
  }
  .woocommerce-order-details .woocommerce-table--order-details tbody tr.order_item > td.product-total {
    font-size: 14px;
  }
  .woocommerce-order-details .everyrep-rma-order-item-status {
    margin-top: 12px;
  }
  .woocommerce-order-details .everyrep-rma-order-item-inspection,
  .woocommerce-order-details .everyrep-rma-order-item-exchange-outcome,
  .everyrep-rma-order-item-refund-summary {
    width: 100%;
  }
  .woocommerce-order-details .everyrep-rma-order-item-exchange-outcome {
    padding: 12px;
  }
  .everyrep-rma-order-item-refund-summary {
    padding: 13px 14px;
  }
  .everyrep-rma-order-item-refund-summary__row {
    gap: 12px;
    font-size: 12px;
  }
}

/* 0.5.10.13 — full-width item cards/panels and aligned status icons. */
.woocommerce-order-details .woocommerce-table--order-details tbody tr.order_item {
  width: 100%;
  max-width: none;
}

/* Keep the status pill in the product-information column while the product
 * thumbnail is still floating. Secondary information then clears the image
 * and spans the full available item-card width. */
.woocommerce-order-details .everyrep-rma-order-item-status {
  clear: none;
  width: 100%;
  max-width: none;
}
.woocommerce-order-details .everyrep-rma-order-item-status > .everyrep-rma-order-item-status__pill {
  clear: none;
}
.woocommerce-order-details .everyrep-rma-order-item-inspection,
.woocommerce-order-details .everyrep-rma-order-item-exchange-outcome,
.woocommerce-order-details .everyrep-rma-order-item-split-panel,
.woocommerce-order-details .everyrep-rma-order-item-refund-summary,
.woocommerce-order-details .everyrep-rma-order-item-status__reference {
  clear: both;
}
.woocommerce-order-details .everyrep-rma-order-item-inspection,
.woocommerce-order-details .everyrep-rma-order-item-exchange-outcome,
.woocommerce-order-details .everyrep-rma-order-item-split-panel,
.woocommerce-order-details .everyrep-rma-order-item-refund-summary {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

/* Consistent semantic icons inside customer-facing status pills. */
.everyrep-rma-order-item-status__pill::before {
  display: inline-grid;
  place-items: center;
  width: 15px;
  height: 15px;
  margin-right: 6px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  box-sizing: border-box;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  flex: 0 0 15px;
}
.everyrep-rma-order-item-status__pill--inspection_complete::before,
.everyrep-rma-order-item-status__pill--ready_for_fulfillment::before,
.everyrep-rma-order-item-status__pill--exchange_created::before,
.everyrep-rma-order-item-status__pill--completed::before,
.everyrep-rma-order-item-status__pill--refunded::before {
  content: "✓";
}
.everyrep-rma-order-item-status__pill--inspection_rejected::before,
.everyrep-rma-order-item-status__pill--rejected::before {
  content: "!";
}
.everyrep-rma-order-item-status__pill--item_missing::before {
  content: "–";
}
.everyrep-rma-order-item-status__pill--inspection_pending::before,
.everyrep-rma-order-item-status__pill--submitted::before,
.everyrep-rma-order-item-status__pill--awaiting_review::before,
.everyrep-rma-order-item-status__pill--approved::before,
.everyrep-rma-order-item-status__pill--label_created::before,
.everyrep-rma-order-item-status__pill--partially_approved::before,
.everyrep-rma-order-item-status__pill--in_transit::before,
.everyrep-rma-order-item-status__pill--delivered_to_warehouse::before,
.everyrep-rma-order-item-status__pill--expired::before,
.everyrep-rma-order-item-status__pill--cancelled::before {
  content: "•";
  font-size: 12px;
}
.everyrep-rma-order-item-status__pill--item_missing {
  border-color: #ead3a3;
  background: #fff7e6;
  color: #795813;
}

@media (max-width: 600px) {
  .woocommerce-order-details .woocommerce-table--order-details tbody tr.order_item {
    width: 100%;
    max-width: none;
  }
  .woocommerce-order-details .everyrep-rma-order-item-inspection,
  .woocommerce-order-details .everyrep-rma-order-item-exchange-outcome,
  .woocommerce-order-details .everyrep-rma-order-item-split-panel,
  .woocommerce-order-details .everyrep-rma-order-item-refund-summary {
    width: 100%;
    max-width: none;
  }
}


/* 0.5.10.14 — true full-width order cards and text-column status alignment. */
.woocommerce-order-details .woocommerce-table--order-details {
  display: block !important;
  width: 100% !important;
  table-layout: fixed !important;
}
.woocommerce-order-details .woocommerce-table--order-details thead,
.woocommerce-order-details .woocommerce-table--order-details tfoot {
  display: table !important;
  width: 100% !important;
  table-layout: fixed !important;
}
.woocommerce-order-details .woocommerce-table--order-details tbody {
  display: block !important;
  width: 100% !important;
}
.woocommerce-order-details .woocommerce-table--order-details tbody tr.order_item {
  width: 100% !important;
  max-width: none !important;
}

/* The hook is emitted inside WooCommerce's product-name cell. Widen the
 * status wrapper across the price column, while aligning only the pill/header
 * beneath the product text rather than beneath the thumbnail. */
.woocommerce-order-details .everyrep-rma-order-item-status {
  width: calc(100% + 124px) !important;
  max-width: none !important;
  box-sizing: border-box !important;
}
.woocommerce-order-details .everyrep-rma-order-item-status__header {
  margin-left: 184px;
  min-width: 0;
}
.woocommerce-order-details .everyrep-rma-order-item-status__header .everyrep-rma-order-item-status__pill {
  display: inline-flex;
  align-items: center;
}
.woocommerce-order-details .everyrep-rma-order-item-inspection,
.woocommerce-order-details .everyrep-rma-order-item-exchange-outcome,
.woocommerce-order-details .everyrep-rma-order-item-split-panel,
.woocommerce-order-details .everyrep-rma-order-item-refund-summary {
  width: 100% !important;
  max-width: none !important;
}
.woocommerce-order-details .everyrep-rma-order-item-status__reference {
  width: 100%;
}

@media (max-width: 600px) {
  .woocommerce-order-details .everyrep-rma-order-item-status {
    width: calc(100% + 72px) !important;
  }
  .woocommerce-order-details .everyrep-rma-order-item-status__header {
    margin-left: 168px;
  }
}

/* 0.5.10.15 — desktop order-card alignment and full-width financial panels. */
.woocommerce-order-details .woocommerce-table--order-details tbody tr.order_item {
  position: relative;
  grid-template-columns: minmax(0, 1fr);
}
.woocommerce-order-details .woocommerce-table--order-details tbody tr.order_item > td.product-name {
  grid-column: 1 / -1;
  width: 100%;
  padding-right: 112px !important;
  box-sizing: border-box;
}
.woocommerce-order-details .woocommerce-table--order-details tbody tr.order_item > td.product-total {
  position: absolute;
  top: 22px;
  right: 24px;
  z-index: 2;
}

/* Present variation attributes as one calm secondary line: Color · Size. */
.woocommerce-order-details .woocommerce-table--order-details .wc-item-meta {
  display: flex !important;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0;
  margin: 5px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.woocommerce-order-details .woocommerce-table--order-details .wc-item-meta li {
  display: inline-flex !important;
  align-items: baseline;
  margin: 0 !important;
  padding: 0 !important;
}
.woocommerce-order-details .woocommerce-table--order-details .wc-item-meta li + li::before {
  content: "·";
  margin: 0 8px;
  color: #7a7f86;
}
.woocommerce-order-details .woocommerce-table--order-details .wc-item-meta li strong {
  display: none !important;
}
.woocommerce-order-details .woocommerce-table--order-details .wc-item-meta li p {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Remove the wrapper box for ordinary single-item results. The status header
 * then remains in the natural text column beside the floated product image,
 * while the panels below can clear the image and span the entire card. */
.woocommerce-order-details .everyrep-rma-order-item-status:not(.everyrep-rma-order-item-status--split) {
  display: contents;
}
.woocommerce-order-details .everyrep-rma-order-item-status:not(.everyrep-rma-order-item-status--split) > .everyrep-rma-order-item-status__header {
  display: block;
  margin: 14px 0 0 !important;
  width: auto;
  min-width: 0;
}
.woocommerce-order-details .everyrep-rma-order-item-status:not(.everyrep-rma-order-item-status--split) > .everyrep-rma-order-item-status__header .everyrep-rma-order-item-status__pill {
  display: inline-flex;
  align-items: center;
}

/* Full-width secondary panels begin beneath both the product image and text,
 * and finish beneath the price column. */
.woocommerce-order-details .everyrep-rma-order-item-status:not(.everyrep-rma-order-item-status--split) > .everyrep-rma-order-item-inspection,
.woocommerce-order-details .everyrep-rma-order-item-status:not(.everyrep-rma-order-item-status--split) > .everyrep-rma-order-item-exchange-outcome,
.woocommerce-order-details .everyrep-rma-order-item-status:not(.everyrep-rma-order-item-status--split) > .everyrep-rma-order-item-refund-summary,
.woocommerce-order-details .everyrep-rma-order-item-status:not(.everyrep-rma-order-item-status--split) > .everyrep-rma-order-item-status__reference {
  clear: both;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box;
}
.woocommerce-order-details .everyrep-rma-order-item-status:not(.everyrep-rma-order-item-status--split) > .everyrep-rma-order-item-inspection,
.woocommerce-order-details .everyrep-rma-order-item-status:not(.everyrep-rma-order-item-status--split) > .everyrep-rma-order-item-exchange-outcome,
.woocommerce-order-details .everyrep-rma-order-item-status:not(.everyrep-rma-order-item-status--split) > .everyrep-rma-order-item-refund-summary {
  margin-top: 20px;
}
.woocommerce-order-details .everyrep-rma-order-item-status:not(.everyrep-rma-order-item-status--split) > .everyrep-rma-order-item-status__reference {
  margin-top: 16px;
}

@media (max-width: 600px) {
  .woocommerce-order-details .woocommerce-table--order-details tbody tr.order_item > td.product-name {
    padding-right: 76px !important;
  }
  .woocommerce-order-details .woocommerce-table--order-details tbody tr.order_item > td.product-total {
    top: 16px;
    right: 14px;
  }
  .woocommerce-order-details .woocommerce-table--order-details .wc-item-meta li + li::before {
    margin: 0 6px;
  }
}

/* 0.5.10.16 — final desktop refund-card spacing, width and semantic pill color. */
@media (min-width: 601px) {
  /* Give the full-width financial panel breathing room below the product image
   * and carry it beneath the order-price column. */
  .woocommerce-order-details .everyrep-rma-order-item-status:not(.everyrep-rma-order-item-status--split) > .everyrep-rma-order-item-refund-summary {
    margin-top: 30px !important;
    width: calc(100% + 168px) !important;
    max-width: none !important;
  }
}

/* Keep semantic text and icon colors visible even when WooCommerce/theme
 * typography rules target strong/span content inside the pill. */
.woocommerce-order-details .everyrep-rma-order-item-status__pill--inspection_complete,
.woocommerce-order-details .everyrep-rma-order-item-status__pill--ready_for_fulfillment,
.woocommerce-order-details .everyrep-rma-order-item-status__pill--exchange_created,
.woocommerce-order-details .everyrep-rma-order-item-status__pill--replacement_shipped {
  color: #24766d !important;
}
.woocommerce-order-details .everyrep-rma-order-item-status__pill--rejected,
.woocommerce-order-details .everyrep-rma-order-item-status__pill--inspection_rejected {
  color: #a33b2f !important;
}
.woocommerce-order-details .everyrep-rma-order-item-status__pill--item_missing,
.woocommerce-order-details .everyrep-rma-order-item-status__pill--expired {
  color: #8a6416 !important;
}
.woocommerce-order-details .everyrep-rma-order-item-status__pill,
.woocommerce-order-details .everyrep-rma-order-item-status__pill::before,
.woocommerce-order-details .everyrep-rma-order-item-status__pill > * {
  color: inherit !important;
}

/* 0.5.10.17 — structural order-item card correction.
 * Keep the product image as the left column, align status beneath the product
 * text, and let all secondary panels clear the product header and span the
 * complete card without overflowing it. */
.woocommerce-order-details .woocommerce-table--order-details tbody tr.order_item {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
}
.woocommerce-order-details .woocommerce-table--order-details tbody tr.order_item > td.product-name {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  padding: 0 112px 0 0 !important;
  box-sizing: border-box !important;
}
.woocommerce-order-details .woocommerce-table--order-details tbody tr.order_item > td.product-total {
  position: absolute !important;
  top: 24px !important;
  right: 26px !important;
  width: auto !important;
  min-width: max-content !important;
  padding: 0 !important;
  z-index: 3 !important;
}

/* Product title and variation attributes remain a single calm text block. */
.woocommerce-order-details .woocommerce-table--order-details tbody tr.order_item > td.product-name > a,
.woocommerce-order-details .woocommerce-table--order-details tbody tr.order_item > td.product-name > strong,
.woocommerce-order-details .woocommerce-table--order-details tbody tr.order_item > td.product-name .product-name {
  white-space: nowrap !important;
}
.woocommerce-order-details .woocommerce-table--order-details .wc-item-meta {
  display: flex !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  align-items: baseline !important;
  width: auto !important;
  max-width: calc(100% - 240px) !important;
}

/* Restore a real wrapper. Header stays beside the image; variable-height
 * panels clear it and occupy the full inner width of the item card. */
.woocommerce-order-details .everyrep-rma-order-item-status:not(.everyrep-rma-order-item-status--split) {
  display: block !important;
  clear: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}
.woocommerce-order-details .everyrep-rma-order-item-status:not(.everyrep-rma-order-item-status--split) > .everyrep-rma-order-item-status__header {
  display: block !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 26px 0 0 230px !important;
}
.woocommerce-order-details .everyrep-rma-order-item-status:not(.everyrep-rma-order-item-status--split) > .everyrep-rma-order-item-inspection,
.woocommerce-order-details .everyrep-rma-order-item-status:not(.everyrep-rma-order-item-status--split) > .everyrep-rma-order-item-exchange-outcome,
.woocommerce-order-details .everyrep-rma-order-item-status:not(.everyrep-rma-order-item-status--split) > .everyrep-rma-order-item-refund-summary {
  display: block !important;
  clear: both !important;
  width: 100% !important;
  max-width: none !important;
  margin: 50px 0 0 !important;
  box-sizing: border-box !important;
}
.woocommerce-order-details .everyrep-rma-order-item-status:not(.everyrep-rma-order-item-status--split) > .everyrep-rma-order-item-status__reference {
  display: block !important;
  clear: both !important;
  width: 100% !important;
  margin: 18px 0 0 !important;
}

/* Semantic pill palette: icon and text share the status hue. */
.woocommerce-order-details .everyrep-rma-order-item-status__pill--inspection_complete,
.woocommerce-order-details .everyrep-rma-order-item-status__pill--ready_for_fulfillment,
.woocommerce-order-details .everyrep-rma-order-item-status__pill--exchange_created,
.woocommerce-order-details .everyrep-rma-order-item-status__pill--replacement_shipped,
.woocommerce-order-details .everyrep-rma-order-item-status__pill--completed,
.woocommerce-order-details .everyrep-rma-order-item-status__pill--refunded {
  background: #eaf7f4 !important;
  border-color: #b8ded8 !important;
  color: #24766d !important;
  -webkit-text-fill-color: #24766d !important;
}
.woocommerce-order-details .everyrep-rma-order-item-status__pill--inspection_complete::before,
.woocommerce-order-details .everyrep-rma-order-item-status__pill--ready_for_fulfillment::before,
.woocommerce-order-details .everyrep-rma-order-item-status__pill--exchange_created::before,
.woocommerce-order-details .everyrep-rma-order-item-status__pill--replacement_shipped::before,
.woocommerce-order-details .everyrep-rma-order-item-status__pill--completed::before,
.woocommerce-order-details .everyrep-rma-order-item-status__pill--refunded::before {
  color: #24766d !important;
  border-color: #24766d !important;
  -webkit-text-fill-color: #24766d !important;
}
.woocommerce-order-details .everyrep-rma-order-item-status__pill--inspection_rejected,
.woocommerce-order-details .everyrep-rma-order-item-status__pill--rejected {
  background: #fff0ed !important;
  border-color: #efc3bb !important;
  color: #a33b2f !important;
  -webkit-text-fill-color: #a33b2f !important;
}
.woocommerce-order-details .everyrep-rma-order-item-status__pill--inspection_rejected::before,
.woocommerce-order-details .everyrep-rma-order-item-status__pill--rejected::before {
  color: #a33b2f !important;
  border-color: #a33b2f !important;
  -webkit-text-fill-color: #a33b2f !important;
}

@media (max-width: 600px) {
  .woocommerce-order-details .woocommerce-table--order-details tbody tr.order_item {
    padding: 16px 14px !important;
  }
  .woocommerce-order-details .woocommerce-table--order-details tbody tr.order_item > td.product-name {
    padding-right: 70px !important;
  }
  .woocommerce-order-details .woocommerce-table--order-details tbody tr.order_item > td.product-total {
    top: 17px !important;
    right: 14px !important;
  }
  .woocommerce-order-details .woocommerce-table--order-details tbody tr.order_item > td.product-name > a,
  .woocommerce-order-details .woocommerce-table--order-details tbody tr.order_item > td.product-name > strong,
  .woocommerce-order-details .woocommerce-table--order-details tbody tr.order_item > td.product-name .product-name {
    white-space: nowrap !important;
    font-size: 16px !important;
  }
  .woocommerce-order-details .woocommerce-table--order-details .wc-item-meta {
    max-width: calc(100% - 132px) !important;
    white-space: nowrap !important;
  }
  .woocommerce-order-details .everyrep-rma-order-item-status:not(.everyrep-rma-order-item-status--split) > .everyrep-rma-order-item-status__header {
    margin: 24px 0 0 152px !important;
  }
  .woocommerce-order-details .everyrep-rma-order-item-status:not(.everyrep-rma-order-item-status--split) > .everyrep-rma-order-item-inspection,
  .woocommerce-order-details .everyrep-rma-order-item-status:not(.everyrep-rma-order-item-status--split) > .everyrep-rma-order-item-exchange-outcome,
  .woocommerce-order-details .everyrep-rma-order-item-status:not(.everyrep-rma-order-item-status--split) > .everyrep-rma-order-item-refund-summary {
    width: 100% !important;
    max-width: none !important;
    margin: 30px 0 0 !important;
  }
}

/* 0.5.10.23 — targeted alignment correction based on stable 0.5.10.17 layout.
 * Do not restructure the card: only align the status pill with the product
 * text column and give the desktop refund panel the intended right reach and
 * breathing room below the product image. */
@media (min-width: 601px) {
  .woocommerce-order-details .everyrep-rma-order-item-status:not(.everyrep-rma-order-item-status--split) > .everyrep-rma-order-item-status__header {
    margin: 26px 0 0 115px !important;
  }

  .woocommerce-order-details .everyrep-rma-order-item-status:not(.everyrep-rma-order-item-status--split) > .everyrep-rma-order-item-refund-summary {
    width: calc(100% + 112px) !important;
    max-width: none !important;
    margin-top: 50px !important;
  }
}

@media (max-width: 600px) {
  .woocommerce-order-details .everyrep-rma-order-item-status:not(.everyrep-rma-order-item-status--split) > .everyrep-rma-order-item-status__header {
    margin-left: 77px !important;
  }
}

/* 0.5.10.24 — pill alignment only. Keep every other 0.5.10.23 layout rule unchanged. */
@media (min-width: 601px) {
  .woocommerce-order-details .everyrep-rma-order-item-status:not(.everyrep-rma-order-item-status--split) > .everyrep-rma-order-item-status__header {
    margin-left: 173px !important;
  }
}

@media (max-width: 600px) {
  .woocommerce-order-details .everyrep-rma-order-item-status:not(.everyrep-rma-order-item-status--split) > .everyrep-rma-order-item-status__header {
    margin-left: 191px !important;
  }
}


/* 0.5.10.25 — pill position only. Reduce the left offset slightly on desktop and mobile. */
@media (min-width: 601px) {
  .woocommerce-order-details .everyrep-rma-order-item-status:not(.everyrep-rma-order-item-status--split) > .everyrep-rma-order-item-status__header {
    margin-left: 157px !important;
  }
}

@media (max-width: 600px) {
  .woocommerce-order-details .everyrep-rma-order-item-status:not(.everyrep-rma-order-item-status--split) > .everyrep-rma-order-item-status__header {
    margin-left: 175px !important;
  }
}


/* 0.5.10.26 — requested micro-adjustments only.
 * Do not alter the refund panel width or any other card layout. */
@media (min-width: 601px) {
  .woocommerce-order-details .everyrep-rma-order-item-status:not(.everyrep-rma-order-item-status--split) > .everyrep-rma-order-item-status__header {
    margin-left: 154px !important;
  }

  .woocommerce-order-details .everyrep-rma-order-item-status:not(.everyrep-rma-order-item-status--split) > .everyrep-rma-order-item-refund-summary {
    margin-top: 60px !important;
  }
}

@media (max-width: 600px) {
  .woocommerce-order-details .everyrep-rma-order-item-status:not(.everyrep-rma-order-item-status--split) > .everyrep-rma-order-item-status__header {
    margin-left: 96px !important;
  }
}


/* 0.5.10.27 — mobile pill vertical position only.
 * Keep desktop and every other mobile rule unchanged. */
@media (max-width: 600px) {
  .woocommerce-order-details .everyrep-rma-order-item-status:not(.everyrep-rma-order-item-status--split) > .everyrep-rma-order-item-status__header {
    margin-top: 10px !important;
  }
}

/* 0.5.10.30 — mobile inspection-pill vertical position only.
 * Visually raise the pill without changing the layout or spacing of any
 * surrounding mobile or desktop element. */
@media (max-width: 600px) {
  .woocommerce-order-details .everyrep-rma-order-item-status:not(.everyrep-rma-order-item-status--split) > .everyrep-rma-order-item-status__header {
    transform: translateY(-36px) !important;
  }
}


/* ==========================================================
   VIEW 2 ACTION-CARD UI — 0.5.10.31
   Presentation and interaction-state styling only.
   ========================================================== */
@media (min-width: 1100px) {
  .everyrep-rma-portal--standalone .everyrep-rma-portal__layout {
    width: min(calc(100vw - 48px), 1540px);
  }

  .everyrep-rma-portal--standalone .everyrep-rma-portal__shell {
    grid-template-columns: minmax(320px, 31%) minmax(0, 69%);
  }

  .everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card__content {
    grid-template-columns: 30px 116px minmax(190px, 1fr) minmax(330px, 43%);
    gap: 18px;
  }

  .everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card__content--requested {
    grid-template-columns: 116px minmax(190px, 1fr) minmax(230px, 34%);
  }
}

.everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-screen__header {
  margin-bottom: 22px;
}

.everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card {
  padding: 14px;
}

.everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card__image {
  width: 116px;
  height: 116px;
  border-radius: 13px;
}

.everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card__body {
  padding-right: 0;
}

.everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card__eligible {
  position: static;
  width: max-content;
  margin-top: 10px;
}

.everyrep-rma-item-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  align-self: stretch;
}

.everyrep-rma-item-action {
  display: grid;
  grid-template-columns: 18px 28px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-width: 0;
  min-height: 100%;
  padding: 14px 13px;
  border: 1px solid #dedee2;
  border-radius: 14px;
  background: #fff;
  color: #151515;
  text-align: left;
  cursor: pointer;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.everyrep-rma-item-action:hover {
  border-color: #a9a9ad;
}

.everyrep-rma-item-action.is-active {
  border-color: #111;
  box-shadow: inset 0 0 0 1px #111;
  background: #fcfcfc;
}

.everyrep-rma-item-action__radio {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 1.5px solid #aaa;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 4px #fff;
}

.everyrep-rma-item-action.is-active .everyrep-rma-item-action__radio {
  border-color: #111;
  background: #111;
}

.everyrep-rma-item-action__icon svg {
  display: block;
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.everyrep-rma-item-action__copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.everyrep-rma-item-action__copy strong {
  font-size: 14px;
  line-height: 1.2;
}

.everyrep-rma-item-action__copy small {
  color: #5f5f64;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.38;
}

.everyrep-rma-item-card__actions--requested {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card.is-requested {
  background: #f7f7f7;
  border-color: #e1e1e4;
}

.everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card.is-requested .everyrep-rma-item-card__image,
.everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card.is-requested .everyrep-rma-item-card__body {
  opacity: .72;
}

.everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card__view-request {
  width: 100%;
  max-width: 210px;
  min-height: 52px;
  margin: 0;
  border-radius: 12px;
}

@media (max-width: 1099px) {
  .everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card__content,
  .everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card__content--requested {
    grid-template-columns: 30px 100px minmax(0, 1fr);
  }

  .everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card__content--requested {
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .everyrep-rma-item-card__actions {
    grid-column: 2 / -1;
  }

  .everyrep-rma-item-card__actions--requested {
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  .everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card__view-request {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card {
    padding: 11px;
    border-radius: 15px;
  }

  .everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card__content,
  .everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card__content--requested {
    grid-template-columns: 22px 76px minmax(0, 1fr);
    gap: 10px;
  }

  .everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card__content--requested {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card__image {
    width: 76px;
    height: 84px;
    border-radius: 10px;
  }

  .everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card__selector input {
    width: 20px;
    height: 20px;
  }

  .everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card__title {
    font-size: 16px;
  }

  .everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card__attributes,
  .everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card__meta,
  .everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card__authorization {
    font-size: 12px;
  }

  .everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card__eligible {
    min-height: 24px;
    margin-top: 7px;
    padding: 4px 9px;
    font-size: 11px;
  }

  .everyrep-rma-item-card__actions {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    gap: 7px;
    margin-top: 2px;
  }

  .everyrep-rma-item-action {
    grid-template-columns: 18px 25px minmax(0, 1fr);
    min-height: 68px;
    padding: 11px 12px;
    border-radius: 12px;
  }

  .everyrep-rma-item-action__icon svg {
    width: 24px;
    height: 24px;
  }

  .everyrep-rma-item-action__copy strong {
    font-size: 13px;
  }

  .everyrep-rma-item-action__copy small {
    font-size: 11px;
    line-height: 1.35;
  }

  .everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card__view-request {
    min-height: 46px;
  }
}


/* ==========================================================
   VIEW 2 LAYOUT REFINEMENT — 0.5.10.32
   UI only: width, image proportions, selector visibility,
   and action-card stacking.
   ========================================================== */
.everyrep-rma-portal--standalone {
  padding-left: 0;
  padding-right: 0;
}

.everyrep-rma-portal--standalone .everyrep-rma-portal__layout {
  width: 100%;
  max-width: none;
}

.everyrep-rma-item-card__selection-input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (min-width: 1100px) {
  .everyrep-rma-portal--standalone .everyrep-rma-portal__layout {
    width: 100%;
  }

  .everyrep-rma-portal--standalone .everyrep-rma-portal__shell {
    grid-template-columns: minmax(350px, 31%) minmax(0, 69%);
  }

  .everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card__content {
    grid-template-columns: 132px minmax(210px, 1fr) minmax(240px, 31%);
    gap: 18px;
    align-items: stretch;
  }

  .everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card__content--requested {
    grid-template-columns: 132px minmax(210px, 1fr) minmax(230px, 31%);
  }

  .everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card__image {
    width: 132px;
    height: 164px;
    align-self: stretch;
  }

  .everyrep-rma-item-card__actions {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
  }

  .everyrep-rma-item-action {
    min-height: 0;
    padding: 12px 13px;
  }
}

@media (max-width: 1099px) {
  .everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card__content,
  .everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card__content--requested {
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .everyrep-rma-item-card__actions {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .everyrep-rma-portal--standalone {
    padding-left: 12px;
    padding-right: 12px;
  }

  .everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card__content,
  .everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card__content--requested {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 10px;
  }

  .everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card__image {
    width: 82px;
    height: 108px;
  }
}

/* ==========================================================
   VIEW 2 FIT + DENSITY REFINEMENT — 0.5.10.33
   UI only.
   ========================================================== */
.everyrep-rma-portal--standalone,
.everyrep-rma-portal--standalone .everyrep-rma-portal__layout,
.everyrep-rma-portal--standalone .everyrep-rma-portal__shell,
.everyrep-rma-portal--standalone .everyrep-rma-portal__main,
.everyrep-rma-portal--standalone [data-er-rma-screen="items"],
.everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-items-list {
  min-width: 0;
  max-width: 100%;
}

.everyrep-rma-portal--standalone .everyrep-rma-portal__shell,
.everyrep-rma-portal--standalone .everyrep-rma-portal__main {
  overflow-x: hidden;
}

.everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card,
.everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card__content,
.everyrep-rma-item-card__actions,
.everyrep-rma-item-action {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card__body {
  align-self: center;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card__title {
  margin-bottom: 5px;
  line-height: 1.16;
}

.everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card__attributes,
.everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card__meta,
.everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card__authorization {
  margin-top: 0;
  margin-bottom: 4px;
  line-height: 1.22;
}

.everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card__eligible {
  order: 10;
  margin-top: 4px;
}

.everyrep-rma-item-action__copy small {
  line-height: 1.28;
}

@media (min-width: 1100px) {
  .everyrep-rma-portal--standalone .everyrep-rma-portal__shell {
    grid-template-columns: minmax(330px, 29%) minmax(0, 71%);
  }

  .everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card__content {
    grid-template-columns: 122px minmax(175px, 1fr) minmax(224px, 29%);
    gap: 16px;
  }

  .everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card__content--requested {
    grid-template-columns: 122px minmax(175px, 1fr) minmax(210px, 29%);
  }

  .everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card__image {
    width: 122px;
    height: 164px;
  }

  .everyrep-rma-item-action {
    grid-template-columns: 18px 25px minmax(0, 1fr);
    gap: 8px;
    padding: 10px 11px;
  }
}

/* ==========================================================
   VIEW 2 MOBILE PRODUCT ROW — 0.5.10.34
   Mobile-only presentation adjustment. Desktop is unchanged.
   ========================================================== */
@media (max-width: 640px) {
  .everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card__content,
  .everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card__content--requested {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 14px;
    row-gap: 12px;
    align-items: center;
  }

  .everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card__image,
  .everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card__content--requested .everyrep-rma-item-card__image {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    align-self: center;
    width: 104px;
    height: 128px;
    margin: 0;
  }

  .everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card__body,
  .everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card__content--requested .everyrep-rma-item-card__body {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    width: 100%;
    padding: 0;
  }

  .everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card__title {
    padding-right: 0;
  }

  .everyrep-rma-item-card__actions,
  .everyrep-rma-item-card__actions--requested {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    margin-top: 0;
  }
}

@media (max-width: 390px) {
  .everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card__content,
  .everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card__content--requested {
    grid-template-columns: 92px minmax(0, 1fr);
    column-gap: 12px;
  }

  .everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card__image,
  .everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card__content--requested .everyrep-rma-item-card__image {
    width: 92px;
    height: 116px;
  }
}


/* ==========================================================
   VIEW 2 MICRO REFINEMENT — 0.5.10.35
   UI only: selected-card border and desktop typography.
   ========================================================== */
.everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card.is-selected,
.everyrep-rma-portal--standalone [data-er-rma-screen="items"] label.everyrep-rma-item-card.is-selected,
.everyrep-rma-portal--standalone [data-er-rma-screen="items"] label.everyrep-rma-item-card.is-selected:hover,
.everyrep-rma-portal--standalone [data-er-rma-screen="items"] label.everyrep-rma-item-card.is-selected:focus-within {
  border: 1px solid #9a9a9f !important;
  outline: 0 !important;
  outline-offset: 0 !important;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.045) !important;
}

@media (min-width: 641px) {
  .everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card__title {
    font-size: 16px;
  }

  .everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card__attributes {
    font-size: 13px;
  }
}


/* ==========================================================
   VIEW 2 DESKTOP TYPE DENSITY — 0.5.10.36
   UI only.
   ========================================================== */
@media (min-width: 641px) {
  .everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card__title {
    font-size: 15px;
    margin-bottom: 3px;
  }

  .everyrep-rma-portal--standalone [data-er-rma-screen="items"] .everyrep-rma-item-card__attributes {
    font-size: 12px;
    margin-bottom: 2px;
  }
}

/* ==========================================================
   VIEW 3 — DETAILS CARD UI (0.5.10.37)
   Presentation only; existing form fields and workflow remain.
   ========================================================== */
[data-er-rma-screen="details"] .everyrep-rma-screen__header{margin-bottom:18px}
[data-er-rma-screen="details"] .everyrep-rma-details{display:grid;gap:110px}
[data-er-rma-screen="details"] .everyrep-rma-detail-card{padding:0;border:0;background:transparent;box-shadow:none;overflow:visible}
[data-er-rma-screen="details"] .everyrep-rma-detail-summary{display:grid;grid-template-columns:76px minmax(0,1fr) auto;align-items:center;gap:16px;padding:14px 16px;border:1px solid #dedede;border-radius:14px;background:#fff}
[data-er-rma-screen="details"] .everyrep-rma-detail-card__image{width:76px;height:92px;margin:0;border-radius:9px;overflow:hidden}
[data-er-rma-screen="details"] .everyrep-rma-detail-card__image img{width:100%;height:100%;object-fit:cover}
[data-er-rma-screen="details"] .everyrep-rma-detail-card__heading{min-width:0;display:grid;gap:3px}
[data-er-rma-screen="details"] .everyrep-rma-detail-card__title{margin:0;font-size:16px;line-height:1.25}
[data-er-rma-screen="details"] .everyrep-rma-detail-card__attributes,
[data-er-rma-screen="details"] .everyrep-rma-detail-card__quantity{margin:0;color:#4f4f4f;font-size:14px;line-height:1.35}
.everyrep-rma-detail-summary__action{align-self:stretch;display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;gap:14px}
.everyrep-rma-detail-summary__pill{display:inline-flex;padding:6px 11px;border-radius:999px;background:#eaf4e7;color:#2d6330;font-size:12px;line-height:1;font-weight:600}
.everyrep-rma-detail-summary__edit{display:inline-flex;align-items:center;gap:6px;padding:0;border:0;background:none;color:#333;font-size:13px;cursor:pointer}
[data-er-rma-screen="details"] .everyrep-rma-quantity-field{margin:16px 0 0}
.everyrep-rma-resolution-state,.everyrep-rma-reason-select-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.everyrep-rma-reason-section{margin-top:20px}
.everyrep-rma-reason-section__heading{margin-bottom:10px}
.everyrep-rma-reason-section__heading h4{margin:0 0 3px;font-size:16px;line-height:1.3}
.everyrep-rma-reason-section__heading p{margin:0;color:#666;font-size:13px}
.everyrep-rma-reason-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.everyrep-rma-reason-card{display:block;margin:0;cursor:pointer}
.everyrep-rma-reason-card input{position:absolute;opacity:0;pointer-events:none}
.everyrep-rma-reason-card__body{display:grid;grid-template-columns:20px 30px minmax(0,1fr);align-items:center;gap:10px;min-height:66px;padding:11px 13px;border:1px solid #dedede;border-radius:11px;background:#fff;transition:border-color .15s,box-shadow .15s}
.everyrep-rma-reason-card__dot{width:18px;height:18px;border:1.5px solid #bbb;border-radius:50%;position:relative}
.everyrep-rma-reason-card__icon{font-size:21px;line-height:1;text-align:center;color:#111}
.everyrep-rma-reason-card strong,.everyrep-rma-reason-card small{display:block}
.everyrep-rma-reason-card strong{font-size:14px;line-height:1.2}
.everyrep-rma-reason-card small{margin-top:3px;color:#555;font-size:12px;line-height:1.3;font-weight:400}
.everyrep-rma-reason-card input:checked+.everyrep-rma-reason-card__body{border-color:#111;box-shadow:0 0 0 1px #111}
.everyrep-rma-reason-card input:checked+.everyrep-rma-reason-card__body .everyrep-rma-reason-card__dot{border-color:#111;background:#111}
.everyrep-rma-reason-card input:checked+.everyrep-rma-reason-card__body .everyrep-rma-reason-card__dot:after{content:"";position:absolute;inset:5px;border-radius:50%;background:#fff}
[data-er-rma-screen="details"] .everyrep-rma-replacement-picker{margin-top:20px}
[data-er-rma-screen="details"] .everyrep-rma-primary-replacement__bar{margin-bottom:8px}
[data-er-rma-screen="details"] .everyrep-rma-exchange-type{margin:0 0 16px}
[data-er-rma-screen="details"] .everyrep-rma-exchange-type label>span{position:relative;min-height:68px;padding:13px 14px 13px 48px;justify-content:center}
[data-er-rma-screen="details"] .everyrep-rma-exchange-type label>span:before{content:"";position:absolute;left:15px;top:50%;width:18px;height:18px;margin-top:-9px;border:1.5px solid #bbb;border-radius:50%}
[data-er-rma-screen="details"] .everyrep-rma-exchange-type input:checked+span:before{border-color:#111;background:#111;box-shadow:inset 0 0 0 5px #fff}
[data-er-rma-screen="details"] .everyrep-rma-exchange-type strong{font-size:14px}
[data-er-rma-screen="details"] .everyrep-rma-exchange-type small{font-size:12px}
[data-er-rma-screen="details"] .everyrep-rma-field[data-er-rma-details-field],
[data-er-rma-screen="details"] .everyrep-rma-photo-field{margin-top:18px}
[data-er-rma-screen="details"] .everyrep-rma-form__actions{margin-top:22px}

@media(max-width:640px){
  [data-er-rma-screen="details"] .everyrep-rma-detail-summary{grid-template-columns:64px minmax(0,1fr) auto;gap:11px;padding:11px}
  [data-er-rma-screen="details"] .everyrep-rma-detail-card__image{width:64px;height:78px}
  [data-er-rma-screen="details"] .everyrep-rma-detail-card__title{font-size:15px}
  [data-er-rma-screen="details"] .everyrep-rma-detail-card__attributes,
  [data-er-rma-screen="details"] .everyrep-rma-detail-card__quantity{font-size:12px}
  .everyrep-rma-detail-summary__action{gap:8px}
  .everyrep-rma-detail-summary__pill{padding:5px 8px;font-size:11px}
  .everyrep-rma-detail-summary__edit{font-size:12px}
  .everyrep-rma-reason-cards{grid-template-columns:1fr;gap:7px}
  .everyrep-rma-reason-card__body{min-height:58px;padding:9px 11px;grid-template-columns:20px 27px minmax(0,1fr)}
  [data-er-rma-screen="details"] .everyrep-rma-exchange-type{grid-template-columns:1fr;gap:7px}
  [data-er-rma-screen="details"] .everyrep-rma-exchange-type label>span{min-height:60px}
}

/* 0.5.10.38 — View 3 exchange card mirrors View 2. */
[data-er-rma-screen="details"] .everyrep-rma-detail-exchange-card{
  padding:14px;
  border:1px solid #b9b9bd;
  border-radius:24px;
  background:#fff;
  box-shadow:none;
}
[data-er-rma-screen="details"] .everyrep-rma-detail-exchange-card.is-selected{
  border-color:#8f8f94;
  box-shadow:none;
}
[data-er-rma-screen="details"] .everyrep-rma-detail-exchange-card .everyrep-rma-item-card__content{
  display:grid;
  grid-template-columns:116px minmax(190px,1fr) minmax(230px,34%);
  align-items:center;
  gap:18px;
}
[data-er-rma-screen="details"] .everyrep-rma-detail-exchange-card .everyrep-rma-item-card__image{
  width:116px;
  height:116px;
  border-radius:13px;
  overflow:hidden;
}
[data-er-rma-screen="details"] .everyrep-rma-detail-exchange-card .everyrep-rma-item-card__image img{
  width:100%;
  height:100%;
  object-fit:cover;
}
[data-er-rma-screen="details"] .everyrep-rma-detail-exchange-card .everyrep-rma-item-card__body{
  min-width:0;
  padding:0;
}
[data-er-rma-screen="details"] .everyrep-rma-detail-exchange-actions{
  grid-template-columns:1fr;
  gap:9px;
}
[data-er-rma-screen="details"] .everyrep-rma-detail-exchange-actions .everyrep-rma-item-action{
  position:relative;
  min-height:0;
}
[data-er-rma-screen="details"] .everyrep-rma-detail-exchange-actions input[data-er-rma-exchange-type]{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
[data-er-rma-screen="details"] .everyrep-rma-detail-exchange-actions .everyrep-rma-item-action.is-disabled{
  opacity:.48;
  cursor:not-allowed;
}

@media(max-width:640px){
  [data-er-rma-screen="details"] .everyrep-rma-detail-exchange-card{
    padding:11px;
    border-radius:18px;
  }
  [data-er-rma-screen="details"] .everyrep-rma-detail-exchange-card .everyrep-rma-item-card__content{
    grid-template-columns:72px minmax(0,1fr);
    gap:12px;
  }
  [data-er-rma-screen="details"] .everyrep-rma-detail-exchange-card .everyrep-rma-item-card__image{
    width:72px;
    height:86px;
    border-radius:9px;
  }
  [data-er-rma-screen="details"] .everyrep-rma-detail-exchange-actions{
    grid-column:1 / -1;
  }
}

/* ==========================================================
   VIEW 4 — DEDICATED REPLACEMENT STEP (0.5.10.39)
   UI-only separation of reason details and replacement choice.
   ========================================================== */
.everyrep-rma-replacement-summary-card { display: none; }
.everyrep-rma-detail-card.is-replacement-view {
  border: 0;
  padding: 0;
  box-shadow: none;
  background: transparent;
}
.everyrep-rma-detail-card.is-replacement-view > .everyrep-rma-detail-summary,
.everyrep-rma-detail-card.is-replacement-view > .everyrep-rma-quantity-field,
.everyrep-rma-detail-card.is-replacement-view > .everyrep-rma-return-credit,
.everyrep-rma-detail-card.is-replacement-view > .everyrep-rma-reason-section,
.everyrep-rma-detail-card.is-replacement-view > [data-er-rma-details-field],
.everyrep-rma-detail-card.is-replacement-view > [data-er-rma-photo-field] {
  display: none !important;
}
.everyrep-rma-detail-card.is-replacement-view > .everyrep-rma-replacement-summary-card {
  display: block;
  margin-bottom: 24px;
}
.everyrep-rma-detail-card:not(.is-replacement-view) > .everyrep-rma-replacement-picker {
  display: none !important;
}
.everyrep-rma-detail-card.is-replacement-view > .everyrep-rma-replacement-picker {
  display: block !important;
}
.everyrep-rma-replacement-list {
  display: grid;
  gap: 110px;
}
.everyrep-rma-replacement-form .everyrep-rma-form__actions {
  margin-top: 28px;
}
.everyrep-rma-progress__list { grid-template-columns: repeat(5, minmax(0, 1fr)); }

@media (max-width: 767px) {
  .everyrep-rma-detail-card.is-replacement-view > .everyrep-rma-replacement-summary-card {
    margin-bottom: 18px;
  }
  .everyrep-rma-replacement-list { gap: 100px; }
}

/* ==========================================================
   0.5.10.40 — View 4 card parity + five-step progress
   UI-only overrides.
   ========================================================== */
.everyrep-rma-portal--standalone .everyrep-rma-progress__list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.everyrep-rma-portal--standalone .everyrep-rma-progress__list::before {
  left: 10%;
  right: 10%;
}

[data-er-rma-screen="replacement"] .everyrep-rma-detail-exchange-card {
  padding: 14px;
  border: 1px solid #b9b9bd;
  border-radius: 24px;
  background: #fff;
  box-shadow: none;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
[data-er-rma-screen="replacement"] .everyrep-rma-detail-exchange-card.is-selected {
  border-color: #8f8f94;
  box-shadow: none;
}
[data-er-rma-screen="replacement"] .everyrep-rma-detail-exchange-card .everyrep-rma-item-card__content {
  display: grid;
  grid-template-columns: 122px minmax(175px, 1fr) minmax(224px, 29%);
  align-items: stretch;
  gap: 16px;
  min-width: 0;
  max-width: 100%;
}
[data-er-rma-screen="replacement"] .everyrep-rma-detail-exchange-card .everyrep-rma-item-card__image {
  width: 122px;
  height: 164px;
  margin: 0;
  border-radius: 13px;
  overflow: hidden;
  align-self: stretch;
  background: #f3f3f3;
}
[data-er-rma-screen="replacement"] .everyrep-rma-detail-exchange-card .everyrep-rma-item-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
[data-er-rma-screen="replacement"] .everyrep-rma-detail-exchange-card .everyrep-rma-item-card__body {
  display: flex;
  min-width: 0;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-self: center;
}
[data-er-rma-screen="replacement"] .everyrep-rma-detail-exchange-card .everyrep-rma-item-card__title {
  margin: 0 0 3px;
  font-size: 15px;
  line-height: 1.16;
  overflow-wrap: normal;
  word-break: normal;
}
[data-er-rma-screen="replacement"] .everyrep-rma-detail-exchange-card .everyrep-rma-item-card__attributes,
[data-er-rma-screen="replacement"] .everyrep-rma-detail-exchange-card .everyrep-rma-item-card__meta {
  margin: 0 0 3px;
  font-size: 12px;
  line-height: 1.22;
}
[data-er-rma-screen="replacement"] .everyrep-rma-detail-exchange-card .everyrep-rma-item-card__eligible {
  position: static;
  order: 10;
  width: max-content;
  margin-top: 4px;
}
[data-er-rma-screen="replacement"] .everyrep-rma-detail-exchange-actions {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  align-self: stretch;
  min-width: 0;
}
[data-er-rma-screen="replacement"] .everyrep-rma-detail-exchange-actions .everyrep-rma-item-action {
  position: relative;
  grid-template-columns: 18px 25px minmax(0, 1fr);
  gap: 8px;
  min-width: 0;
  min-height: 0;
  padding: 10px 11px;
  box-sizing: border-box;
}
[data-er-rma-screen="replacement"] .everyrep-rma-detail-exchange-actions input[data-er-rma-exchange-type] {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  pointer-events: none;
}
[data-er-rma-screen="replacement"] .everyrep-rma-detail-exchange-actions .everyrep-rma-item-action.is-disabled {
  opacity: .48;
  cursor: not-allowed;
}

@media (max-width: 1099px) {
  [data-er-rma-screen="replacement"] .everyrep-rma-detail-exchange-card .everyrep-rma-item-card__content {
    grid-template-columns: 100px minmax(0, 1fr);
  }
  [data-er-rma-screen="replacement"] .everyrep-rma-detail-exchange-card .everyrep-rma-item-card__image {
    width: 100px;
    height: 128px;
  }
  [data-er-rma-screen="replacement"] .everyrep-rma-detail-exchange-actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  [data-er-rma-screen="replacement"] .everyrep-rma-detail-exchange-card {
    padding: 11px;
    border-radius: 15px;
  }
  [data-er-rma-screen="replacement"] .everyrep-rma-detail-exchange-card .everyrep-rma-item-card__content {
    grid-template-columns: 104px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 14px;
    row-gap: 12px;
    align-items: center;
  }
  [data-er-rma-screen="replacement"] .everyrep-rma-detail-exchange-card .everyrep-rma-item-card__image {
    grid-column: 1;
    grid-row: 1;
    width: 104px;
    height: 128px;
    border-radius: 10px;
  }
  [data-er-rma-screen="replacement"] .everyrep-rma-detail-exchange-card .everyrep-rma-item-card__body {
    grid-column: 2;
    grid-row: 1;
  }
  [data-er-rma-screen="replacement"] .everyrep-rma-detail-exchange-actions {
    grid-column: 1 / -1;
    grid-row: 2;
    gap: 7px;
    margin-top: 0;
  }
  [data-er-rma-screen="replacement"] .everyrep-rma-detail-exchange-actions .everyrep-rma-item-action {
    grid-template-columns: 18px 25px minmax(0, 1fr);
    min-height: 68px;
    padding: 11px 12px;
    border-radius: 12px;
  }
}

/* ==========================================================
   0.5.10.41 — View 4 same-item size/color selector
   UI-only: remove repeated product tile and present direct cards.
   ========================================================== */
[data-er-rma-screen="replacement"] [data-er-rma-exchange-panel="same"] .everyrep-rma-product-grid { display:none!important; }
.everyrep-rma-same-selector{margin-top:4px;border:1px solid #e2e2e5;border-radius:18px;background:#fff;overflow:hidden}
.everyrep-rma-same-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-bottom:1px solid #e3e3e6}
.everyrep-rma-same-tabs button{position:relative;min-height:62px;padding:16px 14px;border:0;background:#fff;color:#333;font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.everyrep-rma-same-tabs button::after{content:"";position:absolute;right:0;bottom:-1px;left:0;height:2px;background:transparent}
.everyrep-rma-same-tabs button.is-active{color:#111}
.everyrep-rma-same-tabs button.is-active::after{background:#111}
.everyrep-rma-same-panel{padding:22px 16px 24px}
.everyrep-rma-same-panel__heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px;font-size:14px}
.everyrep-rma-size-guide{display:inline-flex;align-items:center;gap:5px;color:#333;text-decoration:none;font-size:13px;font-weight:500;white-space:nowrap}
.everyrep-rma-size-guide:hover{text-decoration:underline}
.everyrep-rma-same-option-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(92px,1fr));gap:12px}
.everyrep-rma-same-option-card{position:relative;display:flex;min-width:0;min-height:94px;padding:14px 10px;border:1px solid #d9d9dd;border-radius:12px;background:#fff;color:#111;flex-direction:column;align-items:center;justify-content:center;gap:5px;text-align:center;cursor:pointer;transition:border-color .16s,box-shadow .16s,background .16s}
.everyrep-rma-same-option-card:hover{border-color:#999}
.everyrep-rma-same-option-card strong{font-size:19px;line-height:1.05}
.everyrep-rma-same-option-card small{color:#666;font-size:12px;line-height:1.2}
.everyrep-rma-same-option-card.is-selected{border-color:#111;box-shadow:0 0 0 1px #111}
.everyrep-rma-same-option-card.is-selected::after{content:"✓";position:absolute;top:-9px;right:-7px;display:grid;width:22px;height:22px;border-radius:50%;background:#111;color:#fff;place-items:center;font-size:12px;font-weight:800}
.everyrep-rma-same-option-card.is-current{border-color:#e1e1e4;background:#f4f4f5;color:#9a9aa0;cursor:not-allowed;box-shadow:none}
.everyrep-rma-same-option-card.is-current strong,.everyrep-rma-same-option-card.is-current small{color:#9a9aa0}
.everyrep-rma-same-option-grid--colors{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
.everyrep-rma-same-option-card--color{min-height:78px;padding:12px 14px;flex-direction:row;justify-content:flex-start;gap:12px;text-align:left}
.everyrep-rma-same-option-card--color strong{display:block;font-size:14px}
.everyrep-rma-same-option-card__swatch{display:block;width:34px;height:34px;border:1px solid #c8c8cc;border-radius:50%;background:#e5e5e7;flex:0 0 auto}
@media(max-width:640px){
 .everyrep-rma-same-tabs button{min-height:54px;padding:13px 8px;font-size:13px}
 .everyrep-rma-same-panel{padding:17px 10px 19px}
 .everyrep-rma-same-option-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 .everyrep-rma-same-option-card{min-height:76px;padding:10px 6px;border-radius:10px}
 .everyrep-rma-same-option-card strong{font-size:16px}
 .everyrep-rma-same-option-grid--colors{grid-template-columns:repeat(2,minmax(0,1fr))}
 .everyrep-rma-same-option-card--color{min-height:68px;padding:9px;gap:8px}
 .everyrep-rma-same-option-card__swatch{width:28px;height:28px}
}

/* ==========================================================
   0.5.10.42 — Smart same-item combinations + View 4 CTA
   UI-only selection safeguards and presentation.
   ========================================================== */
.everyrep-rma-same-option-card.is-current-attribute:not(.is-combination-disabled) small {
  color: #666;
}
.everyrep-rma-same-option-card.is-combination-disabled,
.everyrep-rma-same-option-card.is-combination-disabled:hover {
  border-color: #e4e4e7;
  background: #f5f5f6;
  color: #aaaab0;
  cursor: not-allowed;
  box-shadow: none;
  opacity: .62;
}
.everyrep-rma-same-option-card.is-combination-disabled strong,
.everyrep-rma-same-option-card.is-combination-disabled small {
  color: #aaaab0;
}
.everyrep-rma-same-option-card--color.is-combination-disabled .everyrep-rma-same-option-card__swatch {
  opacity: .48;
}
.everyrep-rma-same-option-card__swatch {
  background-color: var(--er-rma-selected-color, #e5e5e7);
}
.everyrep-rma-portal--standalone .everyrep-rma-replacement-form .everyrep-rma-form__actions {
  width: 100%;
  margin-top: 28px;
}
.everyrep-rma-portal--standalone .everyrep-rma-replacement-form .everyrep-rma-button--primary {
  display: flex;
  position: relative;
  width: 100%;
  min-height: 58px;
  padding: 0 58px;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 500;
}
.everyrep-rma-portal--standalone .everyrep-rma-replacement-form .everyrep-rma-button__arrow {
  right: 22px;
  font-size: 18px;
  font-weight: 300;
}

/* View 4 CommerceKit size-guide modal fallback styling. */
dialog.ckit-modal.size-guide-modal[data-er-rma-source-url] {
	width: min(920px, calc(100vw - 32px));
	max-width: 920px;
	max-height: calc(100vh - 32px);
	padding: 0;
	border: 0;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 24px 70px rgba(0,0,0,.22);
	overflow: hidden;
}
dialog.ckit-modal.size-guide-modal[data-er-rma-source-url]::backdrop { background: rgba(0,0,0,.52); }
dialog.ckit-modal.size-guide-modal[data-er-rma-source-url] .ckit-modal--container { max-height: calc(100vh - 32px); overflow: auto; }
dialog.ckit-modal.size-guide-modal[data-er-rma-source-url] .ckit-modal-header { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:20px 24px; border-bottom:1px solid #e5e5e5; position:sticky; top:0; background:#fff; z-index:2; }
dialog.ckit-modal.size-guide-modal[data-er-rma-source-url] .ckit-modal-title { font-size:24px; font-weight:600; }
dialog.ckit-modal.size-guide-modal[data-er-rma-source-url] .ckit-modal--button_close { width:38px; height:38px; border:0; padding:7px; background:transparent; cursor:pointer; }
dialog.ckit-modal.size-guide-modal[data-er-rma-source-url] .ckit-modal--button_close svg { width:100%; height:100%; }
dialog.ckit-modal.size-guide-modal[data-er-rma-source-url] .ckit-modal-body { padding:24px; }
dialog.ckit-modal.size-guide-modal[data-er-rma-source-url] img { max-width:100%; height:auto; }
dialog.ckit-modal.size-guide-modal[data-er-rma-source-url] table { width:100%; border-collapse:collapse; }
dialog.ckit-modal.size-guide-modal[data-er-rma-source-url] th,
dialog.ckit-modal.size-guide-modal[data-er-rma-source-url] td { padding:10px; border-bottom:1px solid #ddd; text-align:left; }
@media (max-width: 600px) {
	dialog.ckit-modal.size-guide-modal[data-er-rma-source-url] { width:calc(100vw - 20px); max-height:calc(100vh - 20px); border-radius:14px; }
	dialog.ckit-modal.size-guide-modal[data-er-rma-source-url] .ckit-modal-header { padding:16px; }
	dialog.ckit-modal.size-guide-modal[data-er-rma-source-url] .ckit-modal-title { font-size:20px; }
	dialog.ckit-modal.size-guide-modal[data-er-rma-source-url] .ckit-modal-body { padding:16px; }
}

/* View 4 EveryRep-contained size-guide shell. */
html.everyrep-rma-size-guide-open,
html.everyrep-rma-size-guide-open body {
  overflow: hidden !important;
}
.everyrep-rma-size-guide-shell[hidden] { display: none !important; }
.everyrep-rma-size-guide-shell {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  padding: 24px;
  box-sizing: border-box;
}
.everyrep-rma-size-guide-shell__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17,17,17,.48);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.everyrep-rma-size-guide-shell__panel {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100vw - 48px));
  max-height: min(760px, calc(100vh - 48px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #dedede;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(0,0,0,.24);
}
.everyrep-rma-size-guide-shell__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex: 0 0 auto;
  padding: 20px 24px;
  border-bottom: 1px solid #e6e6e6;
  background: #fff;
}
.everyrep-rma-size-guide-shell__header h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 600;
  color: #171717;
}
.everyrep-rma-size-guide-shell__close {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #d8d8d8;
  border-radius: 50%;
  background: #fff;
  color: #171717;
  font: 300 28px/1 Arial, sans-serif;
  cursor: pointer;
}
.everyrep-rma-size-guide-shell__close:hover { background: #f5f5f5; }
.everyrep-rma-size-guide-shell__body {
  min-height: 180px;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 24px;
  color: #1a1a1a;
  background: #fff;
}
.everyrep-rma-size-guide-shell__loading,
.everyrep-rma-size-guide-shell__error {
  margin: 0;
  padding: 28px 0;
  text-align: center;
  color: #666;
}
.everyrep-rma-size-guide-shell__body .ckit-modal-body,
.everyrep-rma-size-guide-shell__body .ckit-modal--content,
.everyrep-rma-size-guide-shell__body .ckit-modal--container {
  max-width: none !important;
  max-height: none !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
  position: static !important;
  transform: none !important;
  box-shadow: none !important;
  background: transparent !important;
}
.everyrep-rma-size-guide-shell__body img { max-width: 100%; height: auto; }
.everyrep-rma-size-guide-shell__body table { width: 100%; border-collapse: collapse; }
.everyrep-rma-size-guide-shell__body th,
.everyrep-rma-size-guide-shell__body td { padding: 10px 12px; border-bottom: 1px solid #e3e3e3; text-align: left; }
@media (max-width: 600px) {
  .everyrep-rma-size-guide-shell { padding: 12px; }
  .everyrep-rma-size-guide-shell__panel {
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
    border-radius: 16px;
  }
  .everyrep-rma-size-guide-shell__header { padding: 16px 18px; }
  .everyrep-rma-size-guide-shell__header h2 { font-size: 20px; }
  .everyrep-rma-size-guide-shell__body { padding: 18px; }
}


/* v0.5.10.53 — refined exchange-summary presentation only. */
.everyrep-rma-exchange-summary {
	padding: 20px 26px 22px;
	border-color: #dedee3;
	border-radius: 16px;
	background: #fbfbfc;
}
.everyrep-rma-exchange-summary__eyebrow {
	margin-bottom: 16px;
	font-size: 13px;
	font-weight: 750;
	letter-spacing: .09em;
	color: #1d1d1f;
}
.everyrep-rma-exchange-summary > div:not(.everyrep-rma-exchange-included) {
	align-items: baseline;
	padding: 7px 0;
	font-size: 15px;
	line-height: 1.35;
	color: #3a3a3c;
}
.everyrep-rma-exchange-summary > div:not(.everyrep-rma-exchange-included) > strong {
	font-size: 15px;
	font-weight: 650;
	font-variant-numeric: tabular-nums;
	color: #1d1d1f;
}
.everyrep-rma-exchange-summary__total {
	margin-top: 6px;
	padding-top: 16px !important;
	border-top-color: #e4e4e7;
	font-size: 17px !important;
	font-weight: 600;
	color: #1d1d1f !important;
}
.everyrep-rma-exchange-summary__total > strong {
	font-size: 18px !important;
	font-weight: 700 !important;
}
.everyrep-rma-exchange-included {
	gap: 6px !important;
	margin-top: 13px;
	padding-top: 16px !important;
	border-top-color: #e4e4e7;
	font-size: 14px;
	line-height: 1.45;
	color: #505054;
}
.everyrep-rma-exchange-included strong {
	margin-bottom: 3px;
	font-size: 14px;
	font-weight: 650;
	color: #3a3a3c;
}
.everyrep-rma-exchange-summary__selection {
	gap: 8px;
	margin-top: 14px;
}
.everyrep-rma-summary-allocation {
	gap: 3px;
	padding-top: 14px;
	border-top-color: #e4e4e7;
}
.everyrep-rma-summary-allocation:first-child {
	margin-top: 0;
}
.everyrep-rma-summary-allocation strong {
	font-size: 14px;
	font-weight: 650;
	color: #1d1d1f;
}
.everyrep-rma-summary-allocation small {
	font-size: 14px;
	line-height: 1.4;
	color: #6e6e73;
}
@media (max-width: 640px) {
	.everyrep-rma-exchange-summary {
		padding: 18px 20px 20px;
	}
	.everyrep-rma-exchange-summary__eyebrow {
		margin-bottom: 13px;
	}
	.everyrep-rma-exchange-summary > div:not(.everyrep-rma-exchange-included),
	.everyrep-rma-exchange-summary > div:not(.everyrep-rma-exchange-included) > strong {
		font-size: 15px;
	}
	.everyrep-rma-exchange-summary__total {
		font-size: 16px !important;
	}
	.everyrep-rma-exchange-summary__total > strong {
		font-size: 17px !important;
	}
}

/* 0.5.10.54 — View 3 reason-card icon refinement only. */
.everyrep-rma-reason-card__icon{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;flex:0 0 28px;color:#1d1d1f}
.everyrep-rma-reason-card__icon svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}


/* ==========================================================
   0.5.10.55 — Unified Different Item size/color configurator
   Presentation only; preserves the existing product focus and
   replacement commit workflow while matching Same Item controls.
   ========================================================== */
[data-er-rma-screen="replacement"] [data-er-rma-exchange-panel="different"] .everyrep-rma-product-card.is-active .everyrep-rma-product-card__head {
  position: relative;
  padding: 18px 20px;
}
[data-er-rma-screen="replacement"] [data-er-rma-exchange-panel="different"] .everyrep-rma-product-card.is-active .everyrep-rma-product-card__head::after {
  content: "✓";
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
}
[data-er-rma-screen="replacement"] [data-er-rma-exchange-panel="different"] .everyrep-rma-product-card.is-active .everyrep-rma-product-card__head img,
[data-er-rma-screen="replacement"] [data-er-rma-exchange-panel="different"] .everyrep-rma-product-card.is-active .everyrep-rma-product-card__placeholder {
  width: 78px;
  height: 94px;
}
[data-er-rma-screen="replacement"] [data-er-rma-exchange-panel="different"] .everyrep-rma-product-card__config {
  padding: 0;
}
[data-er-rma-screen="replacement"] .everyrep-rma-different-selector {
  margin: 0;
  border: 0;
  border-top: 1px solid #e5e5e7;
  border-radius: 0;
}
[data-er-rma-screen="replacement"] .everyrep-rma-different-selector .everyrep-rma-same-tabs button:disabled {
  color: #a4a4a8;
  cursor: default;
}
[data-er-rma-screen="replacement"] .everyrep-rma-option-empty {
  grid-column: 1 / -1;
  color: #6e6e73;
  font-size: 14px;
}
@media(max-width:640px){
  [data-er-rma-screen="replacement"] [data-er-rma-exchange-panel="different"] .everyrep-rma-product-card.is-active .everyrep-rma-product-card__head {
    padding: 14px;
  }
  [data-er-rma-screen="replacement"] [data-er-rma-exchange-panel="different"] .everyrep-rma-product-card.is-active .everyrep-rma-product-card__head img,
  [data-er-rma-screen="replacement"] [data-er-rma-exchange-panel="different"] .everyrep-rma-product-card.is-active .everyrep-rma-product-card__placeholder {
    width: 64px;
    height: 78px;
  }
}

/* 0.5.10.57 — sequential multi-unit replacement configurators */
.everyrep-rma-sequential-replacement{
  margin-top:24px;
  padding:0;
  border:1px solid #d7d7dc;
  border-radius:18px;
  background:#fff;
  overflow:hidden;
}
.everyrep-rma-sequential-replacement .everyrep-rma-split-row__top{
  margin:0;
  padding:18px 20px 4px;
  font-size:15px;
}
.everyrep-rma-sequential-replacement .everyrep-rma-split-row__intro{
  margin:0;
  padding:0 20px 16px;
  color:#6e6e73;
  font-size:14px;
}
.everyrep-rma-sequential-replacement .everyrep-rma-split-selector{
  border-top:1px solid #e5e5e7;
  padding:20px;
}
.everyrep-rma-sequential-replacement .everyrep-rma-current-item{
  margin-bottom:16px;
}
@media(max-width:640px){
  .everyrep-rma-sequential-replacement .everyrep-rma-split-row__top{padding:16px 16px 4px}
  .everyrep-rma-sequential-replacement .everyrep-rma-split-row__intro{padding:0 16px 14px}
  .everyrep-rma-sequential-replacement .everyrep-rma-split-selector{padding:16px}
}

/* 0.5.10.58 — full duplicated item card for each additional unit */
.everyrep-rma-sequential-replacement{
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  overflow:visible;
}
.everyrep-rma-split-item-card{
  margin:0 0 18px;
}
.everyrep-rma-split-item-card__label{
  margin-top:5px !important;
  color:#1d1d1f !important;
}
.everyrep-rma-split-item-card__label strong{
  font-weight:700;
}
.everyrep-rma-sequential-replacement .everyrep-rma-split-selector{
  padding:0;
  border-top:0;
}
.everyrep-rma-sequential-replacement .everyrep-rma-split-selector > [data-er-rma-split-exchange-panel]{
  margin-top:0;
}

/* 0.5.10.59 — show one complete original-style card per exchanged unit */
.everyrep-rma-primary-replacement.is-multi-unit{
  display:block;
}
.everyrep-rma-unit-replacement-card,
.everyrep-rma-sequential-replacement{
  margin:0 0 24px;
  border:1px solid #a9a9ad;
  border-radius:22px;
  background:#fff;
  overflow:hidden;
}
.everyrep-rma-unit-replacement-card .everyrep-rma-item-card,
.everyrep-rma-sequential-replacement .everyrep-rma-item-card{
  margin:0;
  border:0;
  border-radius:0;
}
.everyrep-rma-unit-selector,
.everyrep-rma-sequential-replacement .everyrep-rma-split-selector{
  padding:0;
  border-top:1px solid #e5e5e7;
}
.everyrep-rma-unit-selector > [data-er-rma-exchange-panel],
.everyrep-rma-sequential-replacement .everyrep-rma-split-selector > [data-er-rma-split-exchange-panel]{
  margin-top:0;
}
.everyrep-rma-unit-label,
.everyrep-rma-split-item-card__label{
  margin-top:5px !important;
  color:#1d1d1f !important;
}
.everyrep-rma-unit-label strong,
.everyrep-rma-split-item-card__label strong{
  font-weight:700;
}
.everyrep-rma-primary-replacement.is-multi-unit + .everyrep-rma-split-replacements{
  margin-top:0;
}
@media(max-width:640px){
  .everyrep-rma-unit-replacement-card,
  .everyrep-rma-sequential-replacement{
    border-radius:18px;
    margin-bottom:18px;
  }
}


/* 0.5.10.60 — immediate multi-unit cards and split-card parity */
[data-er-rma-screen="replacement"] .everyrep-rma-detail-exchange-actions input[data-er-rma-split-exchange-type] {
  position:absolute;
  width:1px;
  height:1px;
  margin:-1px;
  padding:0;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
  opacity:0;
  pointer-events:none;
}
\n\n/* 0.5.10.61 — exact visual parity for every multi-unit card */
[data-er-rma-screen="replacement"] .everyrep-rma-split-item-card .everyrep-rma-item-card__content {
  display:grid !important;
  grid-template-columns:122px minmax(175px,1fr) minmax(224px,29%) !important;
  align-items:stretch !important;
  gap:16px !important;
}
[data-er-rma-screen="replacement"] .everyrep-rma-split-item-card .everyrep-rma-detail-exchange-actions {
  display:grid !important;
  grid-template-columns:1fr !important;
  grid-template-rows:1fr 1fr !important;
  gap:8px !important;
  align-self:stretch !important;
  min-width:0 !important;
}
[data-er-rma-screen="replacement"] .everyrep-rma-split-item-card .everyrep-rma-item-action {
  display:grid !important;
  grid-template-columns:18px 25px minmax(0,1fr) !important;
  align-items:start !important;
  gap:8px !important;
  min-height:0 !important;
  padding:10px 11px !important;
}
[data-er-rma-screen="replacement"] .everyrep-rma-split-item-card input[data-er-rma-split-exchange-type] {
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  margin:-1px !important;
  padding:0 !important;
  overflow:hidden !important;
  clip:rect(0,0,0,0) !important;
  clip-path:inset(50%) !important;
  white-space:nowrap !important;
  border:0 !important;
  opacity:0 !important;
  pointer-events:none !important;
  appearance:none !important;
}
[data-er-rma-screen="replacement"] .everyrep-rma-split-item-card .everyrep-rma-item-action__radio {
  display:block !important;
  width:18px !important;
  height:18px !important;
  margin-top:1px !important;
  flex:none !important;
}
[data-er-rma-screen="replacement"] .everyrep-rma-split-item-card .everyrep-rma-item-action__icon {
  display:block !important;
  width:25px !important;
  height:27px !important;
}
[data-er-rma-screen="replacement"] .everyrep-rma-split-item-card .everyrep-rma-item-action__icon svg {
  display:block !important;
  width:25px !important;
  height:27px !important;
}
[data-er-rma-screen="replacement"] .everyrep-rma-split-item-card .everyrep-rma-item-action__copy {
  display:grid !important;
  gap:4px !important;
  min-width:0 !important;
}
@media(max-width:1099px){
  [data-er-rma-screen="replacement"] .everyrep-rma-split-item-card .everyrep-rma-item-card__content{
    grid-template-columns:100px minmax(0,1fr) !important;
  }
  [data-er-rma-screen="replacement"] .everyrep-rma-split-item-card .everyrep-rma-detail-exchange-actions{
    grid-column:1 / -1 !important;
  }
}
@media(max-width:640px){
  [data-er-rma-screen="replacement"] .everyrep-rma-split-item-card .everyrep-rma-item-card__content{
    grid-template-columns:104px minmax(0,1fr) !important;
    grid-template-rows:auto auto !important;
    column-gap:14px !important;
    row-gap:12px !important;
    align-items:center !important;
  }
  [data-er-rma-screen="replacement"] .everyrep-rma-split-item-card .everyrep-rma-detail-exchange-actions{
    grid-column:1 / -1 !important;
    grid-row:2 !important;
  }
  [data-er-rma-screen="replacement"] .everyrep-rma-split-item-card .everyrep-rma-item-action{
    min-height:68px !important;
    padding:11px 12px !important;
  }
}


/* ==========================================================
   VIEW TRANSITIONS — SUBTLE DIRECTIONAL MOTION
   ========================================================== */
.everyrep-rma-screen {
	animation: none;
	will-change: opacity, transform;
}

.everyrep-rma-screen.is-entering-forward,
.everyrep-rma-screen.is-entering-back {
	opacity: 0.965;
	transition:
		opacity 240ms cubic-bezier(0.22, 1, 0.36, 1),
		transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.everyrep-rma-screen.is-entering-forward {
	transform: translate3d(22px, 0, 0);
}

.everyrep-rma-screen.is-entering-back {
	transform: translate3d(-22px, 0, 0);
}

.everyrep-rma-screen.is-entering-forward.is-active,
.everyrep-rma-screen.is-entering-back.is-active {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}

.everyrep-rma-button__arrow {
	transition: transform 140ms cubic-bezier(0.22, 1, 0.36, 1);
}

.everyrep-rma-button--primary:active .everyrep-rma-button__arrow {
	transform: translateX(3px);
}

@media (prefers-reduced-motion: reduce) {
	.everyrep-rma-screen,
	.everyrep-rma-screen.is-entering-forward,
	.everyrep-rma-screen.is-entering-back,
	.everyrep-rma-button__arrow {
		transition: none !important;
		animation: none !important;
		transform: none !important;
	}
}

/* 0.5.10.63 — clear separation between multi-unit replacement cards */
[data-er-rma-screen="replacement"] .everyrep-rma-primary-replacement.is-multi-unit + .everyrep-rma-split-replacements {
  margin-top: 30px !important;
}
[data-er-rma-screen="replacement"] .everyrep-rma-split-replacements > .everyrep-rma-sequential-replacement + .everyrep-rma-sequential-replacement {
  margin-top: 30px !important;
}
@media (max-width: 640px) {
  [data-er-rma-screen="replacement"] .everyrep-rma-primary-replacement.is-multi-unit + .everyrep-rma-split-replacements,
  [data-er-rma-screen="replacement"] .everyrep-rma-split-replacements > .everyrep-rma-sequential-replacement + .everyrep-rma-sequential-replacement {
    margin-top: 22px !important;
  }
}


/* 0.5.10.64 — spacing between complete multi-unit configurator cards */
[data-er-rma-screen="replacement"] [data-er-rma-split-list] {
  display: block !important;
}
[data-er-rma-screen="replacement"] .everyrep-rma-primary-replacement.is-multi-unit + [data-er-rma-split-list] {
  margin-top: 36px !important;
  padding-top: 0 !important;
}
[data-er-rma-screen="replacement"] [data-er-rma-split-list] > .everyrep-rma-sequential-replacement + .everyrep-rma-sequential-replacement {
  margin-top: 110px !important;
}
@media (max-width: 640px) {
  [data-er-rma-screen="replacement"] .everyrep-rma-primary-replacement.is-multi-unit + [data-er-rma-split-list],
  [data-er-rma-screen="replacement"] [data-er-rma-split-list] > .everyrep-rma-sequential-replacement + .everyrep-rma-sequential-replacement {
    margin-top: 100px !important;
  }
}


/* 0.5.10.66 — direct spacing before every additional replacement card */
[data-er-rma-screen="replacement"] [data-er-rma-split-list] > .everyrep-rma-sequential-replacement {
  margin-top: 110px !important;
}
@media (max-width: 640px) {
  [data-er-rma-screen="replacement"] [data-er-rma-split-list] > .everyrep-rma-sequential-replacement {
    margin-top: 100px !important;
  }
}

/* ==========================================================
   MOBILE APPLICATION CARD WIDTH — 0.5.10.67
   Mobile only. Desktop/tablet layouts remain unchanged.
   ========================================================== */
@media (max-width: 640px) {
	.everyrep-rma-portal--standalone {
		overflow: visible;
	}

	.everyrep-rma-portal--standalone .everyrep-rma-portal__shell {
		width: calc(100% + 36px);
		max-width: none;
		margin-right: -18px;
		margin-left: -18px;
		overflow: hidden;
		background: #fff;
		border: 1px solid #e6e6e8;
		border-radius: 20px;
		box-shadow: 0 16px 42px rgba(0, 0, 0, 0.085);
	}
}

/* 0.5.10.71 — customer order-details rejected-item next step */
.everyrep-rma-order-item-next-step {
  display: block;
  clear: both;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  margin: 20px 0 0;
  padding: 26px 28px;
  border: 1px solid #e3e3e3;
  border-radius: 16px;
  background: #fafafa;
}

.everyrep-rma-order-item-next-step__title {
  display: block;
  margin: 0 0 10px;
  padding: 0;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 600;
}

.everyrep-rma-order-item-next-step__text {
  display: block;
  margin: 0;
  padding: 0;
  line-height: 1.55;
}

.everyrep-rma-order-item-next-step__text.has-action {
  margin-bottom: 18px;
}

.everyrep-rma-order-item-next-step__button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin: 0;
  padding: 12px 24px;
  border-radius: 999px;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .everyrep-rma-order-item-next-step {
    margin-top: 18px;
    padding: 22px 20px;
    border-radius: 16px;
  }

  .everyrep-rma-order-item-next-step__title {
    margin: 0 0 10px;
    line-height: 1.35;
  }

  .everyrep-rma-order-item-next-step__text {
    margin: 0;
    line-height: 1.5;
  }

  .everyrep-rma-order-item-next-step__text.has-action {
    margin-bottom: 18px;
  }

  .everyrep-rma-order-item-next-step__button.button {
    width: 100%;
    min-height: 52px;
    padding: 12px 18px;
    white-space: normal;
    text-align: center;
  }
}


/* v0.5.10.76: guest-only exchange difference payment action. */
.everyrep-rma-portal--guest .everyrep-rma-guest-payment{margin-top:28px;padding:30px 32px;border:1px solid #dedee3;border-radius:18px;background:#fff;color:#171717}
.everyrep-rma-portal--guest .everyrep-rma-guest-payment__eyebrow{margin:0 0 8px;font-size:12px;font-weight:750;letter-spacing:.09em;text-transform:uppercase;color:#5e5e63}
.everyrep-rma-portal--guest .everyrep-rma-guest-payment__title{margin:0 0 10px;font-size:25px;line-height:1.2}
.everyrep-rma-portal--guest .everyrep-rma-guest-payment__text{margin:0 0 20px;color:#4f4f54}

.everyrep-rma-portal--guest .everyrep-rma-guest-payment__breakdown{padding:14px 0 4px;border-top:1px solid #e5e5e8}
.everyrep-rma-portal--guest .everyrep-rma-guest-payment__breakdown>div{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:6px 0;color:#4f4f54;font-size:14px}
.everyrep-rma-portal--guest .everyrep-rma-guest-payment__breakdown strong{color:#171717;font-weight:650}
.everyrep-rma-portal--guest .everyrep-rma-guest-payment__breakdown+.everyrep-rma-guest-payment__amount{margin-top:8px}
@media(max-width:767px){.everyrep-rma-portal--guest .everyrep-rma-guest-payment__breakdown>div{font-size:13px}}
.everyrep-rma-portal--guest .everyrep-rma-guest-payment__amount{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 0;border-top:1px solid #e5e5e8;font-size:15px}
.everyrep-rma-portal--guest .everyrep-rma-guest-payment__amount strong{font-size:18px;color:#171717}
.everyrep-rma-portal--guest .everyrep-rma-guest-payment__button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;margin-top:8px;padding:0 24px;border-radius:999px;background:#111;color:#fff!important;text-decoration:none;font-weight:750}
.everyrep-rma-portal--guest .everyrep-rma-guest-payment__button:hover{opacity:.86;color:#fff!important}
@media(max-width:767px){.everyrep-rma-portal--guest .everyrep-rma-guest-payment{padding:22px 18px;border-radius:15px}.everyrep-rma-portal--guest .everyrep-rma-guest-payment__title{font-size:21px}.everyrep-rma-portal--guest .everyrep-rma-guest-payment__button{width:100%}}


/* v0.5.10.79: protect guest Pay Difference button text from global gender-theme link color rules. */
body.er-women #content .everyrep-rma-portal--guest a.everyrep-rma-guest-payment__button,
body.er-women #content .everyrep-rma-portal--guest a.everyrep-rma-guest-payment__button:link,
body.er-women #content .everyrep-rma-portal--guest a.everyrep-rma-guest-payment__button:visited,
body.er-women #content .everyrep-rma-portal--guest a.everyrep-rma-guest-payment__button:hover,
body.er-women #content .everyrep-rma-portal--guest a.everyrep-rma-guest-payment__button:focus,
body.er-women #content .everyrep-rma-portal--guest a.everyrep-rma-guest-payment__button:active,
body.er-men #content .everyrep-rma-portal--guest a.everyrep-rma-guest-payment__button,
body.er-men #content .everyrep-rma-portal--guest a.everyrep-rma-guest-payment__button:link,
body.er-men #content .everyrep-rma-portal--guest a.everyrep-rma-guest-payment__button:visited,
body.er-men #content .everyrep-rma-portal--guest a.everyrep-rma-guest-payment__button:hover,
body.er-men #content .everyrep-rma-portal--guest a.everyrep-rma-guest-payment__button:focus,
body.er-men #content .everyrep-rma-portal--guest a.everyrep-rma-guest-payment__button:active {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}


/* v0.5.10.80: guest inspection item cleanup and collapsible request activity. */
.everyrep-rma-guest-inspection__product {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}
.everyrep-rma-guest-inspection__product .everyrep-rma-guest-inspection__result {
  margin: 0;
}
.everyrep-rma-request-activity {
  overflow: hidden;
}
.everyrep-rma-request-activity__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 0;
  cursor: pointer;
  list-style: none;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}
.everyrep-rma-request-activity__summary::-webkit-details-marker { display: none; }
.everyrep-rma-request-activity__chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 180ms ease;
  flex: 0 0 auto;
  margin-right: 4px;
}
.everyrep-rma-request-activity[open] .everyrep-rma-request-activity__chevron {
  transform: rotate(225deg);
}
.everyrep-rma-request-activity[open] .everyrep-rma-request-activity__summary {
  margin-bottom: 24px;
}
@media (max-width: 767px) {
  .everyrep-rma-guest-inspection__product { gap: 14px; }
  .everyrep-rma-request-activity__summary { min-height: 62px; font-size: 20px; }
}

/* Guest exchange credit summary */
.everyrep-rma-portal--guest .everyrep-rma-guest-credit{margin-top:28px;padding:30px 32px;border:1px solid #dedee3;border-radius:18px;background:#fff;color:#171717}
.everyrep-rma-portal--guest .everyrep-rma-guest-credit__eyebrow{margin:0 0 8px;font-size:12px;font-weight:750;letter-spacing:.09em;text-transform:uppercase;color:#5e5e63}
.everyrep-rma-portal--guest .everyrep-rma-guest-credit__title{margin:0 0 10px;font-size:25px;line-height:1.2}
.everyrep-rma-portal--guest .everyrep-rma-guest-credit__text{margin:0 0 20px;color:#4f4f54}
.everyrep-rma-portal--guest .everyrep-rma-guest-credit__breakdown{padding:14px 0 4px;border-top:1px solid #e5e5e8}
.everyrep-rma-portal--guest .everyrep-rma-guest-credit__breakdown>div,.everyrep-rma-portal--guest .everyrep-rma-guest-credit__amount,.everyrep-rma-portal--guest .everyrep-rma-guest-credit__code{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:7px 0;color:#4f4f54;font-size:14px}
.everyrep-rma-portal--guest .everyrep-rma-guest-credit__breakdown strong,.everyrep-rma-portal--guest .everyrep-rma-guest-credit__amount strong{color:#171717;font-weight:650}
.everyrep-rma-portal--guest .everyrep-rma-guest-credit__amount{margin-top:8px;padding-top:15px;border-top:1px solid #e5e5e8;font-size:15px}
.everyrep-rma-portal--guest .everyrep-rma-guest-credit__amount strong{font-size:18px}
.everyrep-rma-portal--guest .everyrep-rma-guest-credit__code{margin-top:5px;align-items:flex-start}
.everyrep-rma-portal--guest .everyrep-rma-guest-credit__code code{max-width:68%;padding:7px 10px;border-radius:8px;background:#f5f5f7;color:#171717;font-family:inherit;font-size:13px;font-weight:650;line-height:1.35;overflow-wrap:anywhere;text-align:right}
@media(max-width:767px){.everyrep-rma-portal--guest .everyrep-rma-guest-credit{padding:22px 18px;border-radius:15px}.everyrep-rma-portal--guest .everyrep-rma-guest-credit__title{font-size:21px}.everyrep-rma-portal--guest .everyrep-rma-guest-credit__breakdown>div,.everyrep-rma-portal--guest .everyrep-rma-guest-credit__amount,.everyrep-rma-portal--guest .everyrep-rma-guest-credit__code{font-size:13px}.everyrep-rma-portal--guest .everyrep-rma-guest-credit__code{display:block}.everyrep-rma-portal--guest .everyrep-rma-guest-credit__code code{display:block;max-width:none;margin-top:8px;text-align:left}}

/* 0.5.10.85: Show earned-credit coupon beside logged-in exchange summary. */
.er-rma-exchange-summary__credit-row td{vertical-align:middle!important}.er-rma-exchange-summary__credit-code{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:7px;font-size:13px;line-height:1.35;color:#666;font-weight:500}.er-rma-exchange-summary__credit-code code{display:inline-block;padding:4px 8px;border:1px solid #dedede;border-radius:7px;background:#f7f7f7;color:#222;font-family:inherit;font-size:13px;font-weight:650;letter-spacing:.01em;user-select:all}@media(max-width:640px){.er-rma-exchange-summary__credit-code{align-items:flex-end;flex-direction:column;gap:4px}}

/* 0.5.10.86: Reduce logged-in exchange credit-code typography on mobile only. */
@media (max-width:640px){
  .er-rma-exchange-summary__credit-code,
  .er-rma-exchange-summary__credit-code code{font-size:11px!important;}
}


/* 0.5.10.87: Keep earned credit on one row and place a copyable code beneath the amount. */
.er-rma-exchange-summary__credit-row td{
  vertical-align:middle!important;
}
.er-rma-exchange-summary__credit-code{
  display:block!important;
  width:max-content!important;
  max-width:100%!important;
  margin:8px 0 0 auto!important;
  padding:5px 9px!important;
  border:1px solid #dedede!important;
  border-radius:7px!important;
  background:#f7f7f7!important;
  color:#222!important;
  font-family:inherit!important;
  font-size:13px!important;
  font-weight:650!important;
  line-height:1.25!important;
  letter-spacing:.01em!important;
  text-align:right!important;
  cursor:pointer!important;
  user-select:none!important;
  -webkit-appearance:none!important;
  appearance:none!important;
}
.er-rma-exchange-summary__credit-code:hover,
.er-rma-exchange-summary__credit-code:focus-visible{
  background:#f1f1f1!important;
  border-color:#cfcfcf!important;
}
.er-rma-exchange-summary__credit-code.is-copied{
  background:#eef7ec!important;
  border-color:#cfe3ca!important;
  color:#2f6a39!important;
}
@media(max-width:640px){
  .er-rma-exchange-summary__credit-code{
    font-size:11px!important;
    padding:4px 7px!important;
    white-space:nowrap!important;
  }
}


/* 0.5.11.3 — optional itemized credit calculation for guest and logged-in portals. */
.er-rma-credit-calculation,
.everyrep-rma-credit-calculation{margin-top:22px;border-top:1px solid #e2e2e5;padding-top:18px}
.er-rma-credit-calculation summary,
.everyrep-rma-credit-calculation summary{display:flex;align-items:center;justify-content:space-between;gap:14px;cursor:pointer;color:#242424;font-size:15px;font-weight:650;list-style:none}
.er-rma-credit-calculation summary::-webkit-details-marker,
.everyrep-rma-credit-calculation summary::-webkit-details-marker{display:none}
.er-rma-credit-calculation summary::after,
.everyrep-rma-credit-calculation summary::after{content:"+";display:grid;place-items:center;width:26px;height:26px;flex:0 0 26px;border:1px solid #d8d8dc;border-radius:50%;font-size:18px;font-weight:400;line-height:1}
.er-rma-credit-calculation[open] summary::after,
.everyrep-rma-credit-calculation[open] summary::after{content:"−"}
.er-rma-credit-calculation__body,
.everyrep-rma-credit-calculation__body{margin-top:18px;padding:18px;border:1px solid #e4e4e7;border-radius:14px;background:#fafafa}
.er-rma-credit-calculation__body h3,
.everyrep-rma-credit-calculation__body h4{margin:0 0 10px;font-size:12px;font-weight:750;letter-spacing:.08em;text-transform:uppercase;color:#5d5d63}
.er-rma-credit-calculation__body h3:not(:first-child),
.everyrep-rma-credit-calculation__body h4:not(:first-child){margin-top:22px}
.er-rma-credit-calculation__items,
.everyrep-rma-credit-calculation__items{display:grid;gap:12px}
.er-rma-credit-calculation__item,
.everyrep-rma-credit-calculation__item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:start}
.er-rma-credit-calculation__item strong,
.er-rma-credit-calculation__item small,
.everyrep-rma-credit-calculation__item strong,
.everyrep-rma-credit-calculation__item small{display:block}
.er-rma-credit-calculation__item strong,
.everyrep-rma-credit-calculation__item strong{font-size:14px;font-weight:600;line-height:1.35}
.er-rma-credit-calculation__item small,
.everyrep-rma-credit-calculation__item small{margin-top:2px;color:#6a6a70;font-size:12px;line-height:1.35}
.er-rma-credit-calculation__item>span,
.everyrep-rma-credit-calculation__item>span{font-size:14px;font-weight:600;white-space:nowrap}
.er-rma-credit-calculation__subtotal,
.er-rma-credit-calculation__adjustment,
.er-rma-credit-calculation__final,
.everyrep-rma-credit-calculation__subtotal,
.everyrep-rma-credit-calculation__adjustment,
.everyrep-rma-credit-calculation__final{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;margin-top:14px;padding-top:14px;border-top:1px solid #dedee2;font-size:14px}
.er-rma-credit-calculation__adjustment,
.everyrep-rma-credit-calculation__adjustment{margin-top:10px;padding-top:10px}
.er-rma-credit-calculation__final,
.everyrep-rma-credit-calculation__final{margin-top:16px;padding-top:16px;font-size:16px;font-weight:700}
@media(max-width:640px){.er-rma-credit-calculation__body,.everyrep-rma-credit-calculation__body{padding:15px}.er-rma-credit-calculation__item,.everyrep-rma-credit-calculation__item{gap:12px}.er-rma-credit-calculation summary,.everyrep-rma-credit-calculation summary{font-size:14px}}

/* 0.5.11.5 — robust amount-due calculation disclosure and payment action parity. */

/* v0.5.12.9 — imported CommerceKit size guides use explicit gender classes.
   This prevents a previously opened men's guide from leaving white inline
   text behind when the reusable modal next opens a women's guide. */
.everyrep-rma-size-guide-shell.is-men-guide .everyrep-rma-size-guide-shell__body,
.everyrep-rma-size-guide-shell.is-men-guide .everyrep-rma-size-guide-shell__body * {
  color: #fff !important;
}
.everyrep-rma-size-guide-shell.is-men-guide .everyrep-rma-size-guide-shell__body th,
.everyrep-rma-size-guide-shell.is-men-guide .everyrep-rma-size-guide-shell__body td {
  border-color: rgba(255,255,255,.28) !important;
}
.everyrep-rma-size-guide-shell.is-women-guide .everyrep-rma-size-guide-shell__body,
.everyrep-rma-size-guide-shell.is-women-guide .everyrep-rma-size-guide-shell__body * {
  color: #1a1a1a !important;
}
.everyrep-rma-size-guide-shell.is-women-guide .everyrep-rma-size-guide-shell__body th,
.everyrep-rma-size-guide-shell.is-women-guide .everyrep-rma-size-guide-shell__body td {
  border-color: #dedede !important;
}

/* v0.5.12.10 — desktop-only size-guide width correction.
   Mobile remains unchanged. */
@media (min-width: 769px) {
  .everyrep-rma-size-guide-shell__panel {
    width: min(980px, calc(100vw - 64px));
    max-width: 980px;
  }

  .everyrep-rma-size-guide-shell__body {
    overflow-x: hidden;
  }

  .everyrep-rma-size-guide-shell__body .ckit-modal-body,
  .everyrep-rma-size-guide-shell__body .ckit-modal--content,
  .everyrep-rma-size-guide-shell__body .ckit-modal--container,
  .everyrep-rma-size-guide-shell__body .elementor,
  .everyrep-rma-size-guide-shell__body .elementor-section,
  .everyrep-rma-size-guide-shell__body .elementor-container,
  .everyrep-rma-size-guide-shell__body .elementor-widget-wrap {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .everyrep-rma-size-guide-shell__body img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }
}

/* v0.5.12.12 — use the proven mobile-format presentation for the
   men's size guide on desktop only. Women's and actual mobile layouts remain
   unchanged. */
@media (min-width: 769px) {
  .everyrep-rma-size-guide-shell.is-men-guide .everyrep-rma-size-guide-shell__panel {
    width: min(600px, calc(100vw - 64px)) !important;
    max-width: 600px !important;
  }

  .everyrep-rma-size-guide-shell.is-men-guide .everyrep-rma-size-guide-shell__header {
    padding: 16px 18px !important;
  }

  .everyrep-rma-size-guide-shell.is-men-guide .everyrep-rma-size-guide-shell__header h2 {
    font-size: 20px !important;
  }

  .everyrep-rma-size-guide-shell.is-men-guide .everyrep-rma-size-guide-shell__body {
    padding: 18px !important;
    overflow-x: hidden !important;
  }

  .everyrep-rma-size-guide-shell.is-men-guide .everyrep-rma-size-guide-shell__body,
  .everyrep-rma-size-guide-shell.is-men-guide .everyrep-rma-size-guide-shell__body * {
    box-sizing: border-box !important;
  }

  .everyrep-rma-size-guide-shell.is-men-guide .everyrep-rma-size-guide-shell__body > *,
  .everyrep-rma-size-guide-shell.is-men-guide .everyrep-rma-size-guide-shell__body .ckit-modal-body,
  .everyrep-rma-size-guide-shell.is-men-guide .everyrep-rma-size-guide-shell__body .ckit-modal--content,
  .everyrep-rma-size-guide-shell.is-men-guide .everyrep-rma-size-guide-shell__body .ckit-modal--container,
  .everyrep-rma-size-guide-shell.is-men-guide .everyrep-rma-size-guide-shell__body .elementor,
  .everyrep-rma-size-guide-shell.is-men-guide .everyrep-rma-size-guide-shell__body .elementor-section,
  .everyrep-rma-size-guide-shell.is-men-guide .everyrep-rma-size-guide-shell__body .elementor-container,
  .everyrep-rma-size-guide-shell.is-men-guide .everyrep-rma-size-guide-shell__body .elementor-widget-wrap,
  .everyrep-rma-size-guide-shell.is-men-guide .everyrep-rma-size-guide-shell__body .elementor-widget,
  .everyrep-rma-size-guide-shell.is-men-guide .everyrep-rma-size-guide-shell__body .elementor-widget-container {
    position: static !important;
    left: auto !important;
    right: auto !important;
    float: none !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: visible !important;
  }

  .everyrep-rma-size-guide-shell.is-men-guide .everyrep-rma-size-guide-shell__body img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: none !important;
  }

  .everyrep-rma-size-guide-shell.is-men-guide .everyrep-rma-size-guide-shell__body p,
  .everyrep-rma-size-guide-shell.is-men-guide .everyrep-rma-size-guide-shell__body h1,
  .everyrep-rma-size-guide-shell.is-men-guide .everyrep-rma-size-guide-shell__body h2,
  .everyrep-rma-size-guide-shell.is-men-guide .everyrep-rma-size-guide-shell__body h3,
  .everyrep-rma-size-guide-shell.is-men-guide .everyrep-rma-size-guide-shell__body h4,
  .everyrep-rma-size-guide-shell.is-men-guide .everyrep-rma-size-guide-shell__body table {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }
}


/* v0.5.13.0 — native EveryRep size-guide renderer.
   CommerceKit remains the content source; generated Kadence layout CSS is not
   inserted into the portal. This block owns presentation for both guide themes. */
.everyrep-rma-size-guide-shell__panel {
  width: min(780px, calc(100vw - 48px));
  max-height: min(900px, calc(100dvh - 48px));
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 24px;
  box-shadow: 0 36px 110px rgba(0,0,0,.28), 0 2px 10px rgba(0,0,0,.08);
  transform-origin: 50% 48%;
  animation: everyrep-size-guide-enter 180ms cubic-bezier(.22,.72,.24,1) both;
}
.everyrep-rma-size-guide-shell__backdrop {
  background: rgba(18,18,20,.50);
  backdrop-filter: blur(8px) saturate(115%);
  -webkit-backdrop-filter: blur(8px) saturate(115%);
  animation: everyrep-size-guide-backdrop 160ms ease-out both;
}
.everyrep-rma-size-guide-shell__header {
  min-height: 72px;
  padding: 17px 22px 17px 26px;
  border-bottom: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}
.everyrep-rma-size-guide-shell__header h2 {
  font-family: Inter, Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: -.025em;
  font-weight: 650;
}
.everyrep-rma-size-guide-shell__close {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
  border: 0;
  background: #f1f1f3;
  color: #363638;
  font-size: 25px;
  transition: background-color 140ms ease, transform 140ms ease;
}
.everyrep-rma-size-guide-shell__close:hover { background: #e7e7ea; transform: scale(1.03); }
.everyrep-rma-size-guide-shell__body {
  padding: 0 !important;
  overflow-x: hidden !important;
  background: #fff;
}
.everyrep-native-size-guide {
  --er-guide-bg: #fff;
  --er-guide-text: #161617;
  --er-guide-muted: #646468;
  --er-guide-line: rgba(0,0,0,.09);
  --er-guide-card: #f6f6f8;
  --er-guide-accent: #19191b;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  color: var(--er-guide-text);
  background: var(--er-guide-bg);
  font-family: Inter, Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.everyrep-native-size-guide--men {
  --er-guide-bg: #1e1e1e;
  --er-guide-text: #fff;
  --er-guide-muted: rgba(255,255,255,.70);
  --er-guide-line: rgba(255,255,255,.13);
  --er-guide-card: rgba(255,255,255,.065);
  --er-guide-accent: #fff;
}
.everyrep-native-size-guide__hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--er-guide-bg);
  border-bottom: 1px solid var(--er-guide-line);
}
.everyrep-native-size-guide__hero img {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  margin: 0 !important;
  object-fit: contain;
  animation: everyrep-size-guide-image 240ms ease-out both;
}
.everyrep-native-size-guide__content { padding: 30px 32px 34px; }
.everyrep-native-size-guide__sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
  margin-bottom: 28px;
}
.everyrep-native-size-guide__section {
  display: grid;
  grid-template-columns: 30px minmax(0,1fr);
  gap: 12px;
  align-items: start;
  min-width: 0;
  padding: 19px 18px;
  border: 1px solid var(--er-guide-line);
  border-radius: 16px;
  background: var(--er-guide-card);
}
.everyrep-native-size-guide__step {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--er-guide-accent);
  color: var(--er-guide-bg);
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
}
.everyrep-native-size-guide__section h3 {
  margin: 2px 0 7px !important;
  color: var(--er-guide-text) !important;
  font: 650 17px/1.25 Inter, Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  letter-spacing: -.015em;
}
.everyrep-native-size-guide__section p {
  margin: 0 !important;
  color: var(--er-guide-muted) !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}
.everyrep-native-size-guide__table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--er-guide-line);
  border-radius: 16px;
  -webkit-overflow-scrolling: touch;
}
.everyrep-native-size-guide__table {
  width: 100% !important;
  min-width: 520px;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  table-layout: fixed;
  color: var(--er-guide-text) !important;
  background: transparent !important;
}
.everyrep-native-size-guide__table th,
.everyrep-native-size-guide__table td {
  padding: 14px 13px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--er-guide-line) !important;
  color: var(--er-guide-text) !important;
  background: transparent !important;
  text-align: center !important;
  white-space: nowrap;
  font-size: 13px !important;
  line-height: 1.25 !important;
}
.everyrep-native-size-guide__table thead th {
  color: var(--er-guide-muted) !important;
  font-size: 11px !important;
  letter-spacing: .055em;
  text-transform: uppercase;
  font-weight: 650 !important;
}
.everyrep-native-size-guide__table tbody th { font-weight: 700 !important; }
.everyrep-native-size-guide__table tbody tr:last-child th,
.everyrep-native-size-guide__table tbody tr:last-child td { border-bottom: 0 !important; }
.everyrep-native-size-guide__note {
  max-width: 620px;
  margin: 24px auto 0 !important;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--er-guide-card);
  color: var(--er-guide-muted) !important;
  text-align: center;
  font-size: 13px !important;
  line-height: 1.5 !important;
}
@keyframes everyrep-size-guide-enter {
  from { opacity: 0; transform: scale(.985) translateY(5px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes everyrep-size-guide-backdrop { from { opacity: 0; } to { opacity: 1; } }
@keyframes everyrep-size-guide-image { from { opacity: .35; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .everyrep-rma-size-guide-shell__panel,
  .everyrep-rma-size-guide-shell__backdrop,
  .everyrep-native-size-guide__hero img { animation: none !important; }
}
@media (max-width: 600px) {
  .everyrep-rma-size-guide-shell__panel {
    width: calc(100vw - 24px) !important;
    max-height: calc(100dvh - 24px) !important;
    border-radius: 18px !important;
  }
  .everyrep-rma-size-guide-shell__header {
    min-height: 62px;
    padding: 13px 14px 13px 18px !important;
  }
  .everyrep-rma-size-guide-shell__header h2 { font-size: 19px !important; }
  .everyrep-rma-size-guide-shell__close { width: 34px; height: 34px; flex-basis: 34px; }
  .everyrep-native-size-guide__content { padding: 21px 17px 24px; }
  .everyrep-native-size-guide__sections { grid-template-columns: 1fr; gap: 10px; margin-bottom: 20px; }
  .everyrep-native-size-guide__section { padding: 16px 15px; border-radius: 14px; }
  .everyrep-native-size-guide__section h3 { font-size: 16px !important; }
  .everyrep-native-size-guide__section p { font-size: 13.5px !important; }
  .everyrep-native-size-guide__table-wrap { border-radius: 13px; }
  .everyrep-native-size-guide__table { min-width: 470px; }
  .everyrep-native-size-guide__table th,
  .everyrep-native-size-guide__table td { padding: 12px 10px !important; font-size: 12px !important; }
  .everyrep-native-size-guide__note { margin-top: 18px !important; padding: 14px 15px; }
}

/* Neutralize superseded desktop-only imported-guide overrides. */
@media (min-width: 769px) {
  .everyrep-rma-size-guide-shell.is-men-guide .everyrep-rma-size-guide-shell__panel,
  .everyrep-rma-size-guide-shell.is-women-guide .everyrep-rma-size-guide-shell__panel {
    width: min(780px, calc(100vw - 48px)) !important;
    max-width: 780px !important;
  }
  .everyrep-rma-size-guide-shell.is-men-guide .everyrep-rma-size-guide-shell__header,
  .everyrep-rma-size-guide-shell.is-women-guide .everyrep-rma-size-guide-shell__header {
    padding: 17px 22px 17px 26px !important;
  }
  .everyrep-rma-size-guide-shell.is-men-guide .everyrep-rma-size-guide-shell__header h2,
  .everyrep-rma-size-guide-shell.is-women-guide .everyrep-rma-size-guide-shell__header h2 {
    font-size: 23px !important;
  }
  .everyrep-rma-size-guide-shell.is-men-guide .everyrep-rma-size-guide-shell__body,
  .everyrep-rma-size-guide-shell.is-women-guide .everyrep-rma-size-guide-shell__body {
    padding: 0 !important;
  }
}

/* v0.5.13.1 — men's native size-guide refinement.
   Desktop only: remove the white title bar and float the close control over
   the hero image. Men's step cards and fit note receive explicit high-contrast
   colors. Women's guide, table styling, and mobile header remain unchanged. */
.everyrep-rma-size-guide-shell.is-men-guide .everyrep-native-size-guide__section {
  background: #2b2b2d !important;
  border-color: rgba(255,255,255,.10) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}
.everyrep-rma-size-guide-shell.is-men-guide .everyrep-native-size-guide__section h3 {
  color: #ffffff !important;
  font-weight: 680 !important;
}
.everyrep-rma-size-guide-shell.is-men-guide .everyrep-native-size-guide__section p {
  color: rgba(255,255,255,.76) !important;
  line-height: 1.62 !important;
}
.everyrep-rma-size-guide-shell.is-men-guide .everyrep-native-size-guide__step {
  background: #ffffff !important;
  color: #171719 !important;
  box-shadow: 0 1px 2px rgba(0,0,0,.18);
}
.everyrep-rma-size-guide-shell.is-men-guide .everyrep-native-size-guide__note {
  background: #2b2b2d !important;
  color: rgba(255,255,255,.72) !important;
  border: 1px solid rgba(255,255,255,.07);
}

@media (min-width: 769px) {
  .everyrep-rma-size-guide-shell.is-men-guide .everyrep-rma-size-guide-shell__panel {
    position: relative;
    overflow: hidden;
  }

  .everyrep-rma-size-guide-shell.is-men-guide .everyrep-rma-size-guide-shell__header {
    position: absolute !important;
    inset: 0 0 auto 0;
    z-index: 12;
    min-height: 0 !important;
    padding: 18px 18px 0 !important;
    border: 0 !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    pointer-events: none;
  }

  .everyrep-rma-size-guide-shell.is-men-guide .everyrep-rma-size-guide-shell__header h2 {
    display: none !important;
  }

  .everyrep-rma-size-guide-shell.is-men-guide .everyrep-rma-size-guide-shell__close {
    margin-left: auto;
    pointer-events: auto;
    background: rgba(255,255,255,.88) !important;
    color: #1b1b1d !important;
    border: 1px solid rgba(255,255,255,.65) !important;
    box-shadow: 0 6px 22px rgba(0,0,0,.16);
    backdrop-filter: blur(14px) saturate(135%);
    -webkit-backdrop-filter: blur(14px) saturate(135%);
  }

  .everyrep-rma-size-guide-shell.is-men-guide .everyrep-rma-size-guide-shell__close:hover {
    background: rgba(255,255,255,.97) !important;
  }
}

/* ==========================================================
   v0.5.13.2 — robust men's native size-guide theme
   Uses the actual rendered guide class rather than relying on
   the optional shell audience class. Women's guide is untouched.
   ========================================================== */
.everyrep-native-size-guide--men {
  --er-guide-bg: #1e1e1e !important;
  --er-guide-text: #ffffff !important;
  --er-guide-muted: rgba(255,255,255,.82) !important;
  --er-guide-line: rgba(255,255,255,.13) !important;
  --er-guide-card: #2b2b2d !important;
  --er-guide-accent: #ffffff !important;
  color: #ffffff !important;
  background: #1e1e1e !important;
}

.everyrep-native-size-guide--men .everyrep-native-size-guide__content {
  background: #1e1e1e !important;
}

.everyrep-native-size-guide--men .everyrep-native-size-guide__section {
  background: #2b2b2d !important;
  border-color: rgba(255,255,255,.10) !important;
}

.everyrep-native-size-guide--men .everyrep-native-size-guide__section h3,
.everyrep-native-size-guide--men .everyrep-native-size-guide__section p,
.everyrep-native-size-guide--men .everyrep-native-size-guide__note {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.everyrep-native-size-guide--men .everyrep-native-size-guide__section p {
  color: rgba(255,255,255,.82) !important;
  -webkit-text-fill-color: rgba(255,255,255,.82) !important;
}

.everyrep-native-size-guide--men .everyrep-native-size-guide__note {
  background: #2b2b2d !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  color: rgba(255,255,255,.82) !important;
  -webkit-text-fill-color: rgba(255,255,255,.82) !important;
}

.everyrep-native-size-guide--men .everyrep-native-size-guide__step {
  background: #ffffff !important;
  color: #171719 !important;
  -webkit-text-fill-color: #171719 !important;
}

.everyrep-native-size-guide--men .everyrep-native-size-guide__table,
.everyrep-native-size-guide--men .everyrep-native-size-guide__table th,
.everyrep-native-size-guide--men .everyrep-native-size-guide__table td {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: transparent !important;
}

@media (min-width: 769px) {
  .everyrep-rma-size-guide-shell:has(.everyrep-native-size-guide--men) .everyrep-rma-size-guide-shell__header {
    position: absolute !important;
    inset: 0 0 auto 0 !important;
    z-index: 12 !important;
    min-height: 0 !important;
    padding: 18px 18px 0 !important;
    border: 0 !important;
    background: transparent !important;
    pointer-events: none !important;
  }

  .everyrep-rma-size-guide-shell:has(.everyrep-native-size-guide--men) .everyrep-rma-size-guide-shell__header h2 {
    display: none !important;
  }

  .everyrep-rma-size-guide-shell:has(.everyrep-native-size-guide--men) .everyrep-rma-size-guide-shell__close {
    margin-left: auto !important;
    pointer-events: auto !important;
    background: rgba(255,255,255,.90) !important;
    color: #1b1b1d !important;
    border: 1px solid rgba(255,255,255,.68) !important;
    box-shadow: 0 6px 22px rgba(0,0,0,.16) !important;
    backdrop-filter: blur(14px) saturate(135%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(135%) !important;
  }
}

/* ==========================================================
   MOBILE SIZE GUIDE TABLE HEADER WRAPPING
   Allows long women's size-guide headings to wrap cleanly
   instead of colliding or forcing horizontal overflow.
   ========================================================== */
@media (max-width: 600px) {
  .everyrep-native-size-guide__table {
    width: 100% !important;
    table-layout: fixed !important;
  }

  .everyrep-native-size-guide__table th,
  .everyrep-native-size-guide__table td {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    line-height: 1.25 !important;
    vertical-align: middle !important;
  }

  .everyrep-native-size-guide__table thead th {
    padding: 10px 6px !important;
    font-size: 10px !important;
    letter-spacing: 0.035em !important;
  }
}


/* EveryRep Credit explanation shown only when the authoritative preview returns customer credit. */
.everyrep-rma-credit-explanation{margin:12px 0 2px!important;padding-top:12px;border-top:1px solid #e1e1e1;color:#555!important;font-size:13px!important;line-height:1.5}

/* 0.5.18.31 — mobile order-details status layout.
 * Keep variation attributes visible, then place the RMA status on its own
 * row beneath them. Desktop remains unchanged. */
@media (max-width: 600px) {
  .woocommerce-order-details .woocommerce-table--order-details .wc-item-meta {
    display: flex !important;
    flex-wrap: wrap !important;
    width: auto !important;
    max-width: calc(100% - 82px) !important;
    margin-top: 5px !important;
    white-space: normal !important;
  }

  .woocommerce-order-details .everyrep-rma-order-item-status:not(.everyrep-rma-order-item-status--split) {
    clear: both !important;
    width: 100% !important;
    margin-top: 12px !important;
  }

  .woocommerce-order-details .everyrep-rma-order-item-status:not(.everyrep-rma-order-item-status--split) > .everyrep-rma-order-item-status__header {
    display: grid !important;
    justify-items: start !important;
    gap: 5px !important;
    width: 100% !important;
    margin: 0 !important;
    transform: none !important;
  }

  .woocommerce-order-details .everyrep-rma-order-item-status__pill {
    width: fit-content !important;
    max-width: min(100%, 280px) !important;
    white-space: normal !important;
  }

  .woocommerce-order-details .everyrep-rma-order-item-status__deadline {
    margin-top: 0 !important;
  }
}

/* 0.5.18.32 — mobile order-details spacing rhythm.
 * Add breathing room below the product image and keep an even 8px rhythm
 * between the status pill, return deadline, and request reference. */
@media (max-width: 600px) {
  .woocommerce-order-details .woocommerce-table--order-details tbody tr.order_item > td.product-name img,
  .woocommerce-order-details .woocommerce-table--order-details tbody tr.order_item .product-thumbnail img {
    margin-bottom: 10px !important;
  }

  .woocommerce-order-details .everyrep-rma-order-item-status:not(.everyrep-rma-order-item-status--split) > .everyrep-rma-order-item-status__header {
    gap: 8px !important;
  }

  .woocommerce-order-details .everyrep-rma-order-item-status:not(.everyrep-rma-order-item-status--split) > .everyrep-rma-order-item-status__reference {
    display: block !important;
    margin-top: 8px !important;
  }
}
