.volo-warranty-wrap {
	--volo-bg: #ffffff;
	--volo-panel-border: #e5e2da;
	--volo-text: #1a1a1a;
	--volo-muted: #8a8a8a;
	--volo-accent: #1a1a1a;
	--volo-btn-bg: #1a1a1a;
	--volo-btn-text: #ffffff;
	--volo-input-border: #d8d5cd;
	--volo-radius: 4px;
	--volo-padding: 28px;
	--volo-margin: 16px;
	--volo-gap: 18px;
	--volo-maxwidth: 1200px;

	max-width: var(--volo-maxwidth);
	margin: var(--volo-margin) auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--volo-text);
	box-sizing: border-box;
}

.volo-warranty-wrap *,
.volo-warranty-wrap *::before,
.volo-warranty-wrap *::after {
	box-sizing: border-box;
}

.volo-warranty-title {
	margin: 0 0 18px;
	text-align: center;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0.01em;
	color: var(--volo-text);
}

.volo-warranty-logo {
	text-align: center;
	margin-bottom: 24px;
}

.volo-warranty-logo img {
	height: auto;
	max-width: 100%;
}

.volo-warranty-panel {
	background: var(--volo-bg);
	border: 1px solid var(--volo-panel-border);
	border-radius: var(--volo-radius);
	padding: var(--volo-padding);
}

.volo-warranty-panel[hidden] {
	display: none !important;
}

.volo-panel--preferences,
.volo-panel--rating {
	background: var(--volo-bg);
	border: 1px solid var(--volo-panel-border);
	border-radius: var(--volo-radius);
	padding: var(--volo-padding);
}

.volo-preference-actions {
	display: flex;
	gap: var(--volo-gap);
	margin-top: 8px;
}

.volo-preference-actions .volo-btn {
	margin-top: 0;
}

.volo-btn--skip {
	background: transparent;
	color: var(--volo-text);
	border: 1px solid var(--volo-panel-border);
}

@media (max-width: 480px) {
	.volo-preference-actions {
		flex-direction: column;
	}
}

.volo-panel-heading {
	margin-bottom: 18px;
}

.volo-panel-heading--with-back {
	display: flex;
	align-items: center;
	gap: 10px;
}

.volo-btn-link {
	display: inline-flex;
	align-items: center;
	background: none;
	border: none;
	padding: 0;
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	color: var(--volo-muted);
	cursor: pointer;
	font-family: inherit;
}

.volo-btn-link:hover {
	color: var(--volo-accent);
}

.volo-panel-heading--secondary {
	margin-top: calc(var(--volo-gap) * 0.4);
}

.volo-panel-heading h3 {
	margin: 0;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--volo-text);
}

.volo-field-row {
	display: flex;
	gap: var(--volo-gap);
}

.volo-field-row .volo-field {
	flex: 1 1 0;
	min-width: 0;
}

.volo-field {
	margin-bottom: var(--volo-gap);
}

.volo-field:last-child {
	margin-bottom: 0;
}

.volo-field label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 8px;
	color: var(--volo-text);
}

.volo-field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.volo-field select {
	width: 100%;
	padding: 12px 14px;
	font-size: 14px;
	border: 1px solid var(--volo-input-border);
	border-radius: var(--volo-radius);
	background: #fff;
	color: var(--volo-text);
	font-family: inherit;
	appearance: none;
	-webkit-appearance: none;
}

.volo-field select {
	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%238a8a8a'%3e%3cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z' clip-rule='evenodd'/%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 16px;
	padding-right: 36px;
}

.volo-field input::placeholder {
	color: #b9b6ae;
}

.volo-field input:focus,
.volo-field select:focus {
	outline: none;
	border-color: var(--volo-accent);
	box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.06);
}

.volo-field input:disabled,
.volo-field select:disabled {
	background: #f7f6f3;
	cursor: not-allowed;
}

.volo-field textarea {
	width: 100%;
	padding: 12px 14px;
	font-size: 14px;
	border: 1px solid var(--volo-input-border);
	border-radius: var(--volo-radius);
	background: #fff;
	color: var(--volo-text);
	font-family: inherit;
	resize: vertical;
	min-height: 84px;
}

.volo-field textarea::placeholder {
	color: #b9b6ae;
}

.volo-field textarea:focus {
	outline: none;
	border-color: var(--volo-accent);
	box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.06);
}

.volo-required {
	color: #b3261e;
}

.volo-field-hint {
	margin: 6px 0 0;
	font-size: 12px;
	color: var(--volo-muted);
}

.volo-field-hint.is-error {
	color: #b3261e;
}

/* Date field with a custom calendar icon overlay */
.volo-date-field {
	position: relative;
}

.volo-date-field input[type="date"] {
	padding-right: 40px;
}

.volo-date-field input[type="date"]::-webkit-calendar-picker-indicator {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.volo-date-field input[type="date"]::-webkit-inner-spin-button {
	display: none;
}

.volo-date-icon {
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--volo-muted);
	pointer-events: none;
}

/* Checkbox field (Terms & Conditions) */
.volo-field--checkbox {
	display: flex;
}

.volo-checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 13px;
	font-weight: 400;
	cursor: pointer;
	color: var(--volo-text);
}

.volo-checkbox-label input[type="checkbox"] {
	width: 16px;
	height: 16px;
	margin-top: 2px;
	flex: 0 0 auto;
	accent-color: var(--volo-accent);
}

.volo-checkbox-label a {
	color: var(--volo-accent);
	text-decoration: underline;
}

/* File upload dropzone (Purchase Invoice) */
.volo-file-input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

.volo-file-drop {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	text-align: center;
	padding: 28px 20px;
	border: 1.5px dashed var(--volo-input-border);
	border-radius: var(--volo-radius);
	background: #fbfaf8;
	color: var(--volo-muted);
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.volo-file-drop:hover,
.volo-file-drop.is-dragover {
	border-color: var(--volo-accent);
	background: #f5f3ee;
}

.volo-file-drop svg {
	color: var(--volo-muted);
}

.volo-file-drop-text {
	font-size: 14px;
	font-weight: 600;
	color: var(--volo-text);
}

.volo-file-drop-help {
	font-size: 12px;
	color: var(--volo-muted);
}

.volo-file-drop-filename {
	font-size: 12px;
	font-weight: 600;
	color: var(--volo-accent);
	word-break: break-all;
}

.volo-file-drop-filename:not(:empty) {
	margin-top: 4px;
}

.volo-btn {
	display: block;
	width: 100%;
	margin-top: 8px;
	padding: 15px 20px;
	background: var(--volo-btn-bg);
	color: var(--volo-btn-text);
	border: none;
	border-radius: var(--volo-radius);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.01em;
	cursor: pointer;
	transition: opacity 0.2s ease, transform 0.05s ease;
}

.volo-btn:hover {
	opacity: 0.9;
}

.volo-btn:active {
	transform: translateY(1px);
}

.volo-btn:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.volo-warranty-message {
	min-height: 0;
	font-size: 13px;
	color: #b3261e;
	margin-bottom: 0;
}

.volo-warranty-message:not(:empty) {
	margin-bottom: var(--volo-gap);
}

.volo-warranty-success {
	text-align: center;
	padding: calc(var(--volo-padding) * 1.4) var(--volo-padding);
	border: 1px solid var(--volo-panel-border);
	border-radius: var(--volo-radius);
	background: var(--volo-bg);
}

.volo-warranty-success svg {
	color: #1e8a4c;
	margin-bottom: 14px;
}

.volo-success-heading {
	margin: 0 0 8px;
	font-size: 20px;
	font-weight: 700;
}

.volo-success-message {
	margin: 0 0 14px;
	color: var(--volo-muted);
	font-size: 14px;
}

.volo-success-countdown {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	color: var(--volo-accent);
}

/* Image-choice tiles (checkbox-with-image picker) */
.volo-image-choices > label {
	margin-bottom: 12px;
}

.volo-tile-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}

.volo-tile {
	display: flex;
	flex-direction: column;
	background: var(--volo-bg);
	border: 1px solid var(--volo-panel-border);
	border-radius: var(--volo-radius);
	padding: 8px;
	cursor: pointer;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.volo-tile:hover {
	border-color: var(--volo-accent);
}

.volo-tile.is-selected {
	border-color: var(--volo-accent);
	box-shadow: 0 0 0 1px var(--volo-accent);
}

.volo-tile input[type="checkbox"] {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.volo-tile-image {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: calc(var(--volo-radius) - 1px);
	overflow: hidden;
	background: #ece8e0;
	margin-bottom: 10px;
}

.volo-tile-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.volo-tile-check {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 18px;
	height: 18px;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(0, 0, 0, 0.12);
}

.volo-tile.is-selected .volo-tile-check {
	background: var(--volo-accent);
	border-color: var(--volo-accent);
}

.volo-tile.is-selected .volo-tile-check::after {
	content: "";
	position: absolute;
	left: 5px;
	top: 2px;
	width: 5px;
	height: 9px;
	border: solid var(--volo-btn-text);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.volo-tile-title {
	display: block;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-align: center;
	color: var(--volo-text);
	margin-bottom: 4px;
}

.volo-tile-desc {
	display: block;
	font-size: 12px;
	line-height: 1.4;
	text-align: center;
	color: var(--volo-muted);
}

@media (max-width: 900px) {
	.volo-tile-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 782px) {
	.volo-field-row {
		flex-direction: column;
		gap: 0;
	}
}

/* Required-field asterisk */
.volo-required {
	color: #b3261e;
}

/* Address textarea */
.volo-field textarea {
	width: 100%;
	padding: 12px 14px;
	font-size: 14px;
	border: 1px solid var(--volo-input-border);
	border-radius: var(--volo-radius);
	background: #fff;
	color: var(--volo-text);
	font-family: inherit;
	resize: vertical;
}

.volo-field textarea::placeholder {
	color: #b9b6ae;
}

.volo-field textarea:focus {
	outline: none;
	border-color: var(--volo-accent);
	box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.06);
}

/* Date field with calendar icon */
.volo-date-field {
	position: relative;
}

.volo-date-field input[type="date"] {
	padding-right: 40px;
}

.volo-date-field input[type="date"]::-webkit-calendar-picker-indicator {
	position: absolute;
	right: 0;
	top: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}

.volo-date-field input[type="date"]:invalid,
.volo-date-field input[type="date"]:not(:focus):placeholder-shown {
	color: #b9b6ae;
}

.volo-date-icon {
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--volo-muted);
	pointer-events: none;
}

.volo-field-hint {
	margin: 6px 0 0;
	font-size: 12px;
	min-height: 0;
}

.volo-field-hint:not(:empty) {
	color: #b3261e;
}

/* File upload dropzone */
.volo-file-input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.volo-file-drop {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	padding: 28px 16px;
	border: 1.5px dashed var(--volo-input-border);
	border-radius: var(--volo-radius);
	background: #fbfaf8;
	color: var(--volo-muted);
	cursor: pointer;
	text-align: center;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.volo-file-drop:hover,
.volo-file-drop.is-dragover {
	border-color: var(--volo-accent);
	background: #f5f3ee;
}

.volo-file-drop svg {
	color: var(--volo-muted);
}

.volo-file-drop-text {
	font-size: 14px;
	font-weight: 600;
	color: var(--volo-text);
}

.volo-file-drop-help {
	font-size: 12px;
	color: var(--volo-muted);
}

.volo-file-drop-filename {
	font-size: 13px;
	font-weight: 600;
	color: var(--volo-accent);
}

.volo-file-drop-filename:not(:empty)::before {
	content: "\2713 ";
}

/* Terms & Conditions checkbox */
.volo-field--checkbox {
	margin-top: -4px;
}

.volo-checkbox-label {
	display: flex !important;
	align-items: flex-start;
	gap: 10px;
	font-size: 13px !important;
	font-weight: 400 !important;
	cursor: pointer;
}

.volo-checkbox-label input[type="checkbox"] {
	margin-top: 3px;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.volo-checkbox-label a {
	color: var(--volo-accent);
	text-decoration: underline;
}

/* 5-star rating step (shown after "Activate", before the survey step) */
.volo-rating-subtext {
	margin: 0 0 14px;
	font-size: 13px;
	color: var(--volo-muted);
}

.volo-star-picker {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin-bottom: 10px;
}

.volo-star {
	background: none;
	border: none;
	padding: 2px;
	cursor: pointer;
	color: var(--volo-input-border);
	transition: color 0.1s ease, transform 0.1s ease;
}

.volo-star:hover,
.volo-star.is-hover {
	transform: scale(1.08);
}

.volo-star.is-selected,
.volo-star.is-hover {
	color: #e0a63a;
}

.volo-star svg path {
	fill: currentColor;
	fill-opacity: 0;
}

.volo-star.is-selected svg path,
.volo-star.is-hover svg path {
	fill-opacity: 1;
}

.volo-btn--rating-submit {
	max-width: 260px;
	margin-left: auto;
	margin-right: auto;
}

.volo-rating-message {
	text-align: center;
}
