.fzrm-booking {
	max-width: 1200px;
	margin: 40px auto;
}

.fzrm-booking-header {
	margin-bottom: 30px;
}

.fzrm-booking-progress {
	margin-bottom: 40px;
	overflow-x: auto;
}

.fzrm-booking-progress ol {
	display: flex;
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fzrm-booking-progress li {
	display: flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
	opacity: 0.55;
}

.fzrm-booking-progress li span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border: 1px solid currentColor;
	border-radius: 50%;
}

.fzrm-booking-progress li.is-active {
	font-weight: 600;
	opacity: 1;
}

.fzrm-booking-step-heading {
	margin-bottom: 24px;
}

.fzrm-step-label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
}

.fzrm-device-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.fzrm-device-card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 24px;
	border: 1px solid #ddd;
	border-radius: 10px;
	background: #fff;
}

.fzrm-device-card.is-selected {
	border-width: 2px;
}

.fzrm-device-brand,
.fzrm-device-category {
	font-size: 14px;
}

.fzrm-device-card h4 {
	margin: 8px 0;
}

.fzrm-device-card-action {
	margin-top: 20px;
}

.fzrm-message {
	padding: 15px 18px;
	margin: 20px 0;
	border: 1px solid #ddd;
	border-radius: 6px;
}

@media (max-width: 900px) {
	.fzrm-device-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.fzrm-device-grid {
		grid-template-columns: 1fr;
	}
}

.fzrm-booking {
	max-width: 1200px;
	margin: 40px auto;
}

.fzrm-booking-header {
	margin-bottom: 30px;
}

.fzrm-booking-progress {
	margin-bottom: 40px;
	overflow-x: auto;
}

.fzrm-booking-progress ol {
	display: flex;
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fzrm-booking-progress li {
	display: flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
	opacity: 0.55;
}

.fzrm-booking-progress li span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border: 1px solid currentColor;
	border-radius: 50%;
}

.fzrm-booking-progress li.is-active {
	font-weight: 600;
	opacity: 1;
}

.fzrm-booking-step-heading {
	margin-bottom: 24px;
}

.fzrm-step-label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
}

.fzrm-device-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.fzrm-device-card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 24px;
	border: 1px solid #ddd;
	border-radius: 10px;
	background: #fff;
}

.fzrm-device-card.is-selected {
	border-width: 2px;
}

.fzrm-device-brand,
.fzrm-device-category {
	font-size: 14px;
}

.fzrm-device-card h4 {
	margin: 8px 0;
}

.fzrm-device-card-action {
	margin-top: 20px;
}

.fzrm-message {
	padding: 15px 18px;
	margin: 20px 0;
	border: 1px solid #ddd;
	border-radius: 6px;
}

@media (max-width: 900px) {
	.fzrm-device-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.fzrm-device-grid {
		grid-template-columns: 1fr;
	}
}

.fzrm-booking-progress li.is-complete {
	opacity: 0.85;
}

.fzrm-booking-selection-summary {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 16px;
	margin-bottom: 30px;
	border: 1px solid #ddd;
	border-radius: 8px;
	background: #fff;
}

.fzrm-service-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.fzrm-service-card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 24px;
	border: 1px solid #ddd;
	border-radius: 10px;
	background: #fff;
}

.fzrm-service-card.is-selected {
	border-width: 2px;
}

.fzrm-service-card h4 {
	margin-top: 0;
	margin-bottom: 12px;
}

.fzrm-service-description {
	margin-bottom: 15px;
}

.fzrm-service-time {
	font-size: 14px;
}

.fzrm-service-card-action {
	margin-top: 20px;
}

.fzrm-booking-navigation {
	margin-top: 30px;
}

@media (max-width: 900px) {
	.fzrm-service-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.fzrm-service-grid {
		grid-template-columns: 1fr;
	}

	.fzrm-booking-selection-summary {
		align-items: flex-start;
		flex-direction: column;
	}
}.fzrm-part-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.fzrm-part-card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 24px;
	border: 1px solid #ddd;
	border-radius: 10px;
	background: #fff;
}

.fzrm-part-card.is-selected {
	border-width: 2px;
}

.fzrm-part-card h4 {
	margin-top: 0;
	margin-bottom: 15px;
}

.fzrm-part-meta {
	margin: 6px 0;
	font-size: 14px;
}

.fzrm-part-description {
	margin-top: 15px;
}

.fzrm-part-price {
	margin-top: 20px;
	font-size: 24px;
	font-weight: 700;
}

.fzrm-part-repair-time {
	margin-top: 8px;
	font-size: 14px;
}

.fzrm-part-card-action {
	margin-top: 20px;
}

.fzrm-booking-selection-summary {
	flex-wrap: wrap;
}

@media (max-width: 900px) {
	.fzrm-part-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.fzrm-part-grid {
		grid-template-columns: 1fr;
	}
}


/* ---------------------------------------------------------
 * D75 — Branch Selection
 * --------------------------------------------------------- */

.fzrm-branch-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.fzrm-branch-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 24px;
	border: 1px solid #ddd;
	border-radius: 10px;
	background: #fff;
}

.fzrm-branch-card.is-selected {
	border-width: 2px;
}

.fzrm-branch-card h4 {
	margin-top: 0;
	margin-bottom: 12px;
}

.fzrm-branch-card .button {
	margin-top: auto;
}


/* ---------------------------------------------------------
 * D76 — Appointments
 * --------------------------------------------------------- */

.fzrm-appointment-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.fzrm-appointment-card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 20px;
	padding: 20px;
	border: 1px solid #ddd;
	border-radius: 10px;
	background: #fff;
}


/* ---------------------------------------------------------
 * D77 — Customer Details
 * --------------------------------------------------------- */

.fzrm-login-required {
	max-width: 700px;
	padding: 30px;
	border: 1px solid #ddd;
	border-radius: 10px;
	background: #fff;
}

.fzrm-customer-details-form {
	max-width: 900px;
}

.fzrm-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.fzrm-form-field {
	margin-bottom: 20px;
}

.fzrm-form-field label {
	display: block;
	margin-bottom: 7px;
	font-weight: 600;
}

.fzrm-form-field input,
.fzrm-form-field textarea,
.fzrm-form-field select {
	width: 100%;
	box-sizing: border-box;
}

.fzrm-form-field input {
	min-height: 44px;
	padding: 8px 12px;
}

.fzrm-form-field textarea {
	padding: 10px 12px;
	resize: vertical;
}


/* ---------------------------------------------------------
 * D78 — Review
 * --------------------------------------------------------- */

.fzrm-review-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin-bottom: 30px;
}

.fzrm-review-card {
	padding: 24px;
	border: 1px solid #ddd;
	border-radius: 10px;
	background: #fff;
}

.fzrm-review-card h3 {
	margin-top: 0;
}

.fzrm-review-card dl {
	display: grid;
	grid-template-columns: 150px 1fr;
	gap: 10px 15px;
	margin: 0;
}

.fzrm-review-card dt {
	font-weight: 600;
}

.fzrm-review-card dd {
	margin: 0;
}

.fzrm-primary-button {
	padding-left: 24px !important;
	padding-right: 24px !important;
}

.fzrm-booking-success {
	max-width: 700px;
	padding: 35px;
	margin: 40px auto;
	text-align: center;
	border: 1px solid #ddd;
	border-radius: 12px;
	background: #fff;
}

.fzrm-booking-number {
	margin-top: 25px;
	padding: 20px;
	border: 1px solid #ddd;
	border-radius: 8px;
}

.fzrm-booking-number span {
	display: block;
	margin-bottom: 5px;
}

.fzrm-booking-number strong {
	font-size: 24px;
}


/* ---------------------------------------------------------
 * Responsive
 * --------------------------------------------------------- */

@media (max-width: 900px) {

	.fzrm-branch-grid,
	.fzrm-appointment-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.fzrm-review-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {

	.fzrm-branch-grid,
	.fzrm-appointment-grid,
	.fzrm-form-grid {
		grid-template-columns: 1fr;
	}

	.fzrm-review-card dl {
		grid-template-columns: 1fr;
	}

	.fzrm-review-card dd {
		margin-bottom: 10px;
	}
}

/* =========================================================
 * Calendar-based Appointment Booking
 * ========================================================= */

.fzrm-calendar {
	max-width: 760px;
	margin-top: 30px;
	padding: 24px;
	border: 1px solid #ddd;
	border-radius: 12px;
	background: #fff;
}

.fzrm-calendar-header {
	display: grid;
	grid-template-columns: 44px 1fr 44px;
	align-items: center;
	gap: 12px;
	margin-bottom: 20px;
	text-align: center;
}

.fzrm-calendar-header h4 {
	margin: 0;
	font-size: 22px;
}

.fzrm-calendar-nav {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid #ddd;
	border-radius: 8px;
	text-decoration: none;
	font-size: 20px;
}

.fzrm-calendar-weekdays,
.fzrm-calendar-days {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 7px;
}

.fzrm-calendar-weekdays {
	margin-bottom: 8px;
}

.fzrm-calendar-weekdays span {
	padding: 7px 2px;
	text-align: center;
	font-size: 13px;
	font-weight: 600;
}

.fzrm-calendar-day {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	border: 1px solid #ddd;
	border-radius: 8px;
	background: #fff;
	text-decoration: none;
}

a.fzrm-calendar-day:hover {
	border-width: 2px;
}

.fzrm-calendar-day.is-selected {
	border-width: 2px;
	font-weight: 700;
}

.fzrm-calendar-day.is-today {
	font-weight: 700;
}

.fzrm-calendar-day.is-disabled {
	opacity: 0.35;
	cursor: not-allowed;
	background: #f5f5f5;
}

.fzrm-calendar-day.is-empty {
	border-color: transparent;
	background: transparent;
}

.fzrm-time-selection {
	margin-top: 30px;
}

.fzrm-time-selection h4 {
	margin-bottom: 18px;
}

.fzrm-time-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.fzrm-time-slot {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 70px;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 8px;
	background: #fff;
	text-decoration: none;
}

.fzrm-time-slot:hover {
	border-width: 2px;
}

.fzrm-time-slot strong {
	font-size: 18px;
}

.fzrm-time-slot span {
	margin-top: 2px;
	font-size: 13px;
}

@media (max-width: 900px) {
	.fzrm-time-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {

	.fzrm-calendar {
		padding: 14px;
	}

	.fzrm-calendar-weekdays,
	.fzrm-calendar-days {
		gap: 4px;
	}

	.fzrm-calendar-weekdays span {
		font-size: 11px;
	}

	.fzrm-calendar-day {
		min-height: 40px;
	}

	.fzrm-time-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* =========================================================
 * Customer My Repairs
 * ========================================================= */

.fzrm-customer-repairs {
	width: 100%;
}

.fzrm-customer-repairs h2 {
	margin-top: 0;
}

.fzrm-repair-list {
	display: grid;
	gap: 20px;
	margin-top: 25px;
}

.fzrm-customer-repair-card {
	padding: 22px;
	border: 1px solid #ddd;
	border-radius: 12px;
	background: #fff;
}

.fzrm-customer-repair-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	padding-bottom: 18px;
	border-bottom: 1px solid #eee;
}

.fzrm-repair-number-label {
	display: block;
	margin-bottom: 4px;
	font-size: 13px;
}

.fzrm-repair-number {
	font-size: 18px;
}

.fzrm-customer-status {
	padding: 7px 12px;
	border: 1px solid #ddd;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
}

.fzrm-customer-repair-details {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	padding: 20px 0;
}

.fzrm-customer-repair-details span {
	display: block;
	margin-bottom: 5px;
	font-size: 13px;
	opacity: 0.7;
}

.fzrm-customer-repair-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-top: 18px;
	border-top: 1px solid #eee;
}

.fzrm-customer-repair-footer > span {
	font-size: 18px;
	font-weight: 700;
}

.fzrm-customer-pagination {
	margin-top: 30px;
}

.fzrm-empty-repairs {
	padding: 25px;
	border: 1px solid #ddd;
	border-radius: 10px;
	background: #fff;
}

@media (max-width: 900px) {

	.fzrm-customer-repair-details {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {

	.fzrm-customer-repair-header,
	.fzrm-customer-repair-footer {
		align-items: flex-start;
		flex-direction: column;
	}

	.fzrm-customer-repair-details {
		grid-template-columns: 1fr;
	}
}

/* =========================================================
 * D80 — Customer Repair Details
 * ========================================================= */

.fzrm-customer-repair-details-page {
	width: 100%;
}

.fzrm-repair-page-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 25px;
}

.fzrm-repair-page-header h2 {
	margin: 4px 0 0;
}

.fzrm-repair-page-label {
	font-size: 13px;
	opacity: 0.7;
}

.fzrm-current-repair-status {
	padding: 24px;
	margin-bottom: 25px;
	border: 1px solid #ddd;
	border-radius: 12px;
	background: #fff;
}

.fzrm-current-repair-status > span {
	display: block;
	margin-bottom: 5px;
	font-size: 13px;
	opacity: 0.7;
}

.fzrm-current-repair-status > strong {
	display: block;
	font-size: 24px;
}

.fzrm-current-repair-status p {
	margin-bottom: 0;
}

.fzrm-repair-details-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.fzrm-repair-detail-card,
.fzrm-repair-additional-info,
.fzrm-status-timeline-section {
	padding: 24px;
	border: 1px solid #ddd;
	border-radius: 12px;
	background: #fff;
}

.fzrm-repair-detail-card h3,
.fzrm-repair-additional-info h3,
.fzrm-status-timeline-section h3 {
	margin-top: 0;
}

.fzrm-repair-detail-card dl {
	display: grid;
	grid-template-columns: 150px 1fr;
	gap: 11px 16px;
	margin: 0;
}

.fzrm-repair-detail-card dt {
	font-weight: 600;
}

.fzrm-repair-detail-card dd {
	margin: 0;
	word-break: break-word;
}

.fzrm-repair-additional-info {
	margin-top: 20px;
}

.fzrm-status-timeline-section {
	margin-top: 20px;
}

.fzrm-repair-status-timeline {
	position: relative;
	margin-top: 30px;
}

.fzrm-timeline-item {
	position: relative;
	display: grid;
	grid-template-columns: 24px 1fr;
	gap: 14px;
	padding-bottom: 28px;
}

.fzrm-timeline-item:last-child {
	padding-bottom: 0;
}

.fzrm-timeline-marker {
	position: relative;
	display: flex;
	justify-content: center;
}

.fzrm-timeline-marker::after {
	content: "";
	position: absolute;
	top: 16px;
	bottom: -28px;
	width: 1px;
	background: #ddd;
}

.fzrm-timeline-item:last-child .fzrm-timeline-marker::after {
	display: none;
}

.fzrm-timeline-marker span {
	position: relative;
	z-index: 1;
	display: block;
	width: 12px;
	height: 12px;
	margin-top: 5px;
	border: 2px solid currentColor;
	border-radius: 50%;
	background: #fff;
}

.fzrm-timeline-item.is-current .fzrm-timeline-marker span {
	width: 16px;
	height: 16px;
	margin-top: 3px;
}

.fzrm-timeline-heading {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
}

.fzrm-timeline-heading strong {
	font-size: 17px;
}

.fzrm-timeline-heading time {
	font-size: 13px;
	opacity: 0.7;
	white-space: nowrap;
}

.fzrm-timeline-content p {
	margin: 7px 0 0;
}

.fzrm-repair-terminal-info {
	margin-top: 20px;
	padding: 16px 20px;
	border: 1px solid #ddd;
	border-radius: 10px;
}

.fzrm-booking-success-actions {
	margin-top: 25px;
}

@media (max-width: 800px) {

	.fzrm-repair-details-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {

	.fzrm-repair-page-header,
	.fzrm-timeline-heading {
		flex-direction: column;
	}

	.fzrm-repair-detail-card dl {
		grid-template-columns: 1fr;
	}

	.fzrm-repair-detail-card dd {
		margin-bottom: 8px;
	}

	.fzrm-timeline-heading {
		gap: 4px;
	}
}

/* =========================================================
 * D81 — Customer Repair Updates
 * ========================================================= */

.fzrm-customer-updates-section {
	margin-top: 20px;
	padding: 24px;
	border: 1px solid #ddd;
	border-radius: 12px;
	background: #fff;
}

.fzrm-customer-updates-section h3 {
	margin-top: 0;
}

.fzrm-customer-updates-list {
	display: grid;
	gap: 15px;
	margin-top: 20px;
}

.fzrm-customer-update {
	padding: 18px;
	border: 1px solid #eee;
	border-radius: 10px;
	background: #fff;
}

.fzrm-customer-update-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 10px;
}

.fzrm-customer-update-header time {
	font-size: 13px;
	opacity: 0.7;
	white-space: nowrap;
}

.fzrm-customer-update-content {
	line-height: 1.6;
}

.fzrm-no-customer-updates {
	margin-bottom: 0;
}

@media (max-width: 600px) {

	.fzrm-customer-update-header {
		flex-direction: column;
		gap: 4px;
	}
}

/* =========================================================
 * D83 — Customer Booking Cancellation
 * ========================================================= */

.fzrm-customer-cancellation {
	margin-top: 20px;
}

.fzrm-cancel-booking-box,
.fzrm-cancellation-unavailable {
	padding: 24px;
	border: 1px solid #ddd;
	border-radius: 12px;
	background: #fff;
}

.fzrm-cancel-booking-box h3 {
	margin-top: 0;
}

.fzrm-cancel-booking-form textarea {
	display: block;
	width: 100%;
	margin-top: 8px;
}

.fzrm-cancel-booking-button {
	margin-top: 5px;
}

.fzrm-cancellation-unavailable p {
	margin-bottom: 0;
}
/* =========================================================
 * D88 — Customer Repair UX Polish
 * ========================================================= */

.woocommerce-MyAccount-content {
	min-width: 0;
}


/*
 * Make repair-detail sections consistent.
 */
.fzrm-customer-updates-section,
.fzrm-cancel-booking-box,
.fzrm-cancellation-unavailable {
	box-sizing: border-box;
}


/*
 * Cleaner headings.
 */
.fzrm-customer-updates-section h3,
.fzrm-cancel-booking-box h3 {
	margin-bottom: 8px;
}


/*
 * Customer Update cards.
 */
.fzrm-customer-update {
	transition:
		border-color 0.15s ease,
		box-shadow 0.15s ease;
}

.fzrm-customer-update:hover {
	border-color: #ccc;
	box-shadow:
		0 2px 8px
		rgba(0, 0, 0, 0.04);
}


/*
 * Cancellation form.
 */
.fzrm-cancel-booking-form textarea {
	box-sizing: border-box;
	min-height: 90px;
	resize: vertical;
}

.fzrm-cancel-booking-form label {
	display: block;
	margin-bottom: 5px;
}


/*
 * WooCommerce notices inside Fixzone views.
 */
.woocommerce-MyAccount-content
.woocommerce-message,
.woocommerce-MyAccount-content
.woocommerce-error,
.woocommerce-MyAccount-content
.woocommerce-info {
	box-sizing: border-box;
	width: 100%;
}


/*
 * Long Booking numbers / email / IMEI should not
 * break mobile layouts.
 */
.woocommerce-MyAccount-content {
	overflow-wrap: anywhere;
}


/*
 * Mobile.
 */
@media (max-width: 600px) {

	.fzrm-customer-updates-section,
	.fzrm-cancel-booking-box,
	.fzrm-cancellation-unavailable {
		padding: 18px;
		border-radius: 9px;
	}

	.fzrm-customer-update {
		padding: 15px;
	}

	.fzrm-customer-update-header {
		align-items: flex-start;
		flex-direction: column;
		gap: 4px;
	}

	.fzrm-customer-update-header time {
		white-space: normal;
	}

}

/* =========================================================
 * D90D — Customer Device Hierarchy
 * ========================================================= */

.fzrm-booking-step-header {
	margin-bottom: 24px;
}

.fzrm-booking-step-header h2 {
	margin-bottom: 8px;
}

.fzrm-hierarchy-grid,
.fzrm-device-model-grid {
	display: grid;
	grid-template-columns:
		repeat(
			3,
			minmax(0, 1fr)
		);
	gap: 16px;
}

.fzrm-hierarchy-card,
.fzrm-device-model-card {
	display: flex;
	flex-direction: column;
	gap: 7px;
	box-sizing: border-box;
	min-height: 110px;
	padding: 20px;
	border: 1px solid #ddd;
	border-radius: 10px;
	background: #fff;
	color: inherit;
	text-decoration: none;
	transition:
		transform 0.15s ease,
		border-color 0.15s ease,
		box-shadow 0.15s ease;
}

.fzrm-hierarchy-card:hover,
.fzrm-device-model-card:hover,
.fzrm-hierarchy-card:focus,
.fzrm-device-model-card:focus {
	border-color: #999;
	color: inherit;
	text-decoration: none;
	transform: translateY(-1px);
	box-shadow:
		0 4px 14px
		rgba(0, 0, 0, 0.06);
}

.fzrm-hierarchy-card-title,
.fzrm-device-model-title {
	font-size: 17px;
	line-height: 1.35;
}

.fzrm-hierarchy-card-description,
.fzrm-device-model-name,
.fzrm-device-model-description {
	color: #666;
	font-size: 14px;
	line-height: 1.5;
}

.fzrm-booking-selection-path {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 10px;
	color: #666;
	font-size: 14px;
}

.fzrm-booking-step-actions {
	margin-top: 24px;
}

.fzrm-booking-message {
	padding: 18px;
	border: 1px solid #ddd;
	border-radius: 8px;
	background: #fff;
}

.fzrm-booking-message-error {
	border-color: #d63638;
}

@media (max-width: 900px) {

	.fzrm-hierarchy-grid,
	.fzrm-device-model-grid {
		grid-template-columns:
			repeat(
				2,
				minmax(0, 1fr)
			);
	}
}

@media (max-width: 600px) {

	.fzrm-hierarchy-grid,
	.fzrm-device-model-grid {
		grid-template-columns: 1fr;
	}

	.fzrm-hierarchy-card,
	.fzrm-device-model-card {
		min-height: auto;
		padding: 17px;
	}
}

/* =========================================================
 * Brand Selection Redesign
 * ========================================================= */

.fzrm-brand-selection-step {
	max-width: 1180px;
	margin: 0 auto;
}

.fzrm-brand-selection-header {
	margin-bottom: 30px;
	text-align: center;
}

.fzrm-brand-selection-header h2 {
	margin: 0 0 10px;
	font-size: 34px;
	line-height: 1.2;
}

.fzrm-brand-selection-header p {
	max-width: 680px;
	margin: 0 auto;
	color: #667085;
	font-size: 16px;
	line-height: 1.6;
}

.fzrm-brand-selection-layout {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: 28px;
	align-items: start;
}

.fzrm-brand-info-panel {
	box-sizing: border-box;
	padding: 28px;
	border: 1px solid #e5e7eb;
	border-radius: 18px;
	background: #f8faf9;
}

.fzrm-brand-info-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin-bottom: 20px;
	border-radius: 14px;
	background: #e8f7ee;
	color: #14804a;
	font-size: 22px;
	font-weight: 700;
}

.fzrm-brand-info-panel h3 {
	margin: 0 0 10px;
	font-size: 21px;
	line-height: 1.35;
}

.fzrm-brand-info-panel > p {
	margin: 0;
	color: #667085;
	font-size: 14px;
	line-height: 1.6;
}

.fzrm-brand-info-list {
	display: grid;
	gap: 12px;
	margin: 22px 0 0;
	padding: 0;
	list-style: none;
}

.fzrm-brand-info-list li {
	position: relative;
	padding-left: 24px;
	color: #344054;
	font-size: 14px;
	line-height: 1.5;
}

.fzrm-brand-info-list li::before {
	content: "✓";
	position: absolute;
	top: 0;
	left: 0;
	color: #14804a;
	font-weight: 700;
}

.fzrm-brand-help-box {
	display: grid;
	gap: 4px;
	margin-top: 26px;
	padding-top: 20px;
	border-top: 1px solid #e5e7eb;
}

.fzrm-brand-help-box strong {
	font-size: 14px;
}

.fzrm-brand-help-box span {
	color: #667085;
	font-size: 13px;
	line-height: 1.5;
}

.fzrm-brand-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.fzrm-brand-card {
	display: grid;
	grid-template-columns: 76px minmax(0, 1fr) 34px;
	align-items: center;
	gap: 16px;
	min-height: 118px;
	padding: 20px;
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	background: #fff;
	color: #101828;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.03);
}

.fzrm-brand-card:hover,
.fzrm-brand-card:focus {
	border-color: #14804a;
	box-shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
	transform: translateY(-2px);
}

.fzrm-brand-card-media {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 76px;
	height: 76px;
	overflow: hidden;
	border-radius: 14px;
	background: #f8fafc;
}

.fzrm-brand-card-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 8px;
	box-sizing: border-box;
}

.fzrm-brand-card-fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: #344054;
	font-size: 28px;
	font-weight: 700;
}

.fzrm-brand-card-content {
	display: grid;
	gap: 5px;
	min-width: 0;
}

.fzrm-brand-card-title {
	color: #101828;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
}

.fzrm-brand-card-meta {
	color: #667085;
	font-size: 13px;
	line-height: 1.4;
}

.fzrm-brand-card-arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #f2f4f7;
	color: #344054;
	font-size: 18px;
	transition:
		background 0.15s ease,
		color 0.15s ease,
		transform 0.15s ease;
}

.fzrm-brand-card:hover .fzrm-brand-card-arrow,
.fzrm-brand-card:focus .fzrm-brand-card-arrow {
	background: #14804a;
	color: #fff;
	transform: translateX(2px);
}

@media (max-width: 900px) {

	.fzrm-brand-selection-layout {
		grid-template-columns: 1fr;
	}

	.fzrm-brand-info-panel {
		display: none;
	}

	.fzrm-brand-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {

	.fzrm-brand-selection-header {
		margin-bottom: 22px;
		text-align: left;
	}

	.fzrm-brand-selection-header h2 {
		font-size: 27px;
	}

	.fzrm-brand-selection-header p {
		margin: 0;
		font-size: 14px;
	}

	.fzrm-brand-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.fzrm-brand-card {
		grid-template-columns: 58px minmax(0, 1fr) 30px;
		gap: 13px;
		min-height: 82px;
		padding: 14px;
		border-radius: 13px;
	}

	.fzrm-brand-card-media {
		width: 58px;
		height: 58px;
		border-radius: 11px;
	}

	.fzrm-brand-card-image {
		padding: 6px;
	}

	.fzrm-brand-card-title {
		font-size: 16px;
	}

	.fzrm-brand-card-meta {
		font-size: 12px;
	}

	.fzrm-brand-card-arrow {
		width: 30px;
		height: 30px;
		font-size: 16px;
	}
}

/* =========================================================
 * Fixzone Brand Selection - Desktop / Mobile Redesign
 * ========================================================= */

.fzrm-brand-selection-step {
	max-width: 1220px;
	margin: 0 auto;
	padding: 10px 20px 40px;
	box-sizing: border-box;
}


/* ---------------------------------------------------------
 * Heading
 * --------------------------------------------------------- */

.fzrm-brand-selection-header {
	max-width: 720px;
	margin: 0 0 30px;
	text-align: left;
}

.fzrm-brand-selection-header h2 {
	margin: 0 0 8px;
	color: #16343a;
	font-size: 36px;
	font-weight: 700;
	line-height: 1.15;
}

.fzrm-brand-selection-header p {
	margin: 0;
	color: #62777b;
	font-size: 15px;
	line-height: 1.6;
}


/* ---------------------------------------------------------
 * Main Layout
 * --------------------------------------------------------- */

.fzrm-brand-selection-layout {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 28px;
	align-items: start;
}


/* ---------------------------------------------------------
 * Desktop Sidebar
 * --------------------------------------------------------- */

.fzrm-brand-info-panel {
	position: sticky;
	top: 120px;

	box-sizing: border-box;
	overflow: hidden;

	padding: 0 24px 26px;

	border: 1px solid #dce9e5;
	border-radius: 16px;

	background:
		linear-gradient(
			180deg,
			#effbf7 0%,
			#f7fcfa 100%
		);
}


/*
 * Sidebar Image
 */
.fzrm-brand-info-panel::before {
	content: "";

	display: block;

	width: calc(100% + 48px);
	height: 210px;

	margin:
		0
		-24px
		24px;

	background-image:
		url("https://iwebace.com/fixzone/wp-content/uploads/2026/09/Handy-verkaufen.jpg");

	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}


/*
 * Old icon not required because image is now used.
 */
.fzrm-brand-info-icon {
	display: none;
}


.fzrm-brand-info-panel h3 {
	margin: 0 0 10px;

	color: #15383b;

	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
}

.fzrm-brand-info-panel > p {
	margin: 0;

	color: #61777a;

	font-size: 13px;
	line-height: 1.6;
}


/* Sidebar Benefits */

.fzrm-brand-info-list {
	display: grid;
	gap: 18px;

	margin: 24px 0 0;
	padding: 0;

	list-style: none;
}

.fzrm-brand-info-list li {
	position: relative;

	margin: 0;
	padding-left: 34px;

	color: #315557;

	font-size: 13px;
	line-height: 1.45;
}

.fzrm-brand-info-list li::before {
	content: "✓";

	position: absolute;
	top: -2px;
	left: 0;

	display: flex;
	align-items: center;
	justify-content: center;

	width: 24px;
	height: 24px;

	border-radius: 50%;

	background: #ddf6e9;
	color: #149447;

	font-size: 13px;
	font-weight: 700;
}


/* Sidebar Help */

.fzrm-brand-help-box {
	display: grid;
	gap: 4px;

	margin-top: 26px;
	padding-top: 20px;

	border-top: 1px solid #dce9e5;
}

.fzrm-brand-help-box strong {
	color: #174b3c;
	font-size: 14px;
}

.fzrm-brand-help-box span {
	color: #6b7f81;
	font-size: 12px;
	line-height: 1.5;
}


/* ---------------------------------------------------------
 * Brand Grid
 * --------------------------------------------------------- */

.fzrm-brand-grid-wrap {
	min-width: 0;
}

.fzrm-brand-grid {
	display: grid;

	grid-template-columns:
		repeat(
			3,
			minmax(0, 1fr)
		);

	gap: 18px;
}


/* ---------------------------------------------------------
 * Brand Card
 * --------------------------------------------------------- */

.fzrm-brand-card {
	position: relative;

	display: flex;
	flex-direction: column;
	align-items: flex-start;

	box-sizing: border-box;

	min-height: 175px;

	padding: 22px 22px 20px;

	border: 1px solid #dfe8e5;
	border-radius: 15px;

	background: #ffffff;

	color: #16343a !important;
	text-decoration: none !important;

	box-shadow:
		0 1px 3px
		rgba(16, 42, 48, 0.03);

	transition:
		transform 0.18s ease,
		border-color 0.18s ease,
		box-shadow 0.18s ease,
		background-color 0.18s ease;
}


/*
 * Prevent theme link underline.
 */
.fzrm-brand-card *,
.fzrm-brand-card:hover *,
.fzrm-brand-card:focus * {
	text-decoration: none !important;
}


/* ---------------------------------------------------------
 * Logo
 * --------------------------------------------------------- */

.fzrm-brand-card-media {
	display: flex;
	align-items: center;
	justify-content: flex-start;

	width: 78px;
	height: 52px;

	margin-bottom: 14px;

	overflow: hidden;

	background: transparent;
	border-radius: 0;
}

.fzrm-brand-card-image {
	display: block;

	width: 100%;
	height: 100%;

	padding: 0;

	object-fit: contain;
	object-position: left center;

	box-sizing: border-box;

	transition:
		transform 0.18s ease;
}


.fzrm-brand-card-fallback {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 48px;
	height: 48px;

	border-radius: 12px;

	background: #edf4f2;
	color: #315557;

	font-size: 22px;
	font-weight: 700;
}


/* ---------------------------------------------------------
 * Brand Text
 * --------------------------------------------------------- */

.fzrm-brand-card-content {
	display: grid;
	gap: 4px;

	min-width: 0;
	padding-right: 42px;
}

.fzrm-brand-card-title {
	color: #17393d !important;

	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
}

.fzrm-brand-card-meta {
	color: #728487 !important;

	font-size: 12px;
	line-height: 1.4;
}


/* ---------------------------------------------------------
 * Arrow
 * --------------------------------------------------------- */

.fzrm-brand-card-arrow {
	position: absolute;
	right: 18px;
	bottom: 18px;

	display: flex;
	align-items: center;
	justify-content: center;

	width: 32px;
	height: 32px;

	border: 1px solid #bce9d1;
	border-radius: 50%;

	background: #f4fcf7;
	color: #2D7A1C;

	font-size: 17px;
	line-height: 1;

	transition:
		transform 0.18s ease,
		background-color 0.18s ease,
		color 0.18s ease,
		border-color 0.18s ease;
}


/* ---------------------------------------------------------
 * Hover / Focus
 * --------------------------------------------------------- */

.fzrm-brand-card:hover,
.fzrm-brand-card:focus {
	border-color: #19a456;

	background: #ffffff;

	color: #16343a !important;
	text-decoration: none !important;

	transform: translateY(-3px);

	box-shadow:
		0 12px 28px
		rgba(24, 104, 66, 0.10);
}

.fzrm-brand-card:hover .fzrm-brand-card-image,
.fzrm-brand-card:focus .fzrm-brand-card-image {
	transform: scale(1.04);
}

.fzrm-brand-card:hover .fzrm-brand-card-arrow,
.fzrm-brand-card:focus .fzrm-brand-card-arrow {
	border-color: #2D7A1C;

	background: #2D7A1C;
	color: #ffffff;

	transform: translateX(2px);
}

.fzrm-brand-card:focus-visible {
	outline: 3px solid rgba(22, 152, 77, 0.18);
	outline-offset: 3px;
}


/* ---------------------------------------------------------
 * Tablet
 * --------------------------------------------------------- */

@media (max-width: 1050px) {

	.fzrm-brand-selection-layout {
		grid-template-columns:
			230px
			minmax(0, 1fr);
	}

	.fzrm-brand-grid {
		grid-template-columns:
			repeat(
				2,
				minmax(0, 1fr)
			);
	}
}


/* ---------------------------------------------------------
 * Mobile
 * --------------------------------------------------------- */

@media (max-width: 760px) {

	.fzrm-brand-selection-step {
		padding:
			10px
			14px
			30px;
	}

	.fzrm-brand-selection-header {
		margin-bottom: 20px;
	}

	.fzrm-brand-selection-header h2 {
		font-size: 27px;
	}

	.fzrm-brand-selection-header p {
		font-size: 14px;
	}


	/*
	 * Hide desktop sidebar.
	 */
	.fzrm-brand-info-panel {
		display: none;
	}


	.fzrm-brand-selection-layout {
		display: block;
	}


	.fzrm-brand-grid {
		grid-template-columns: 1fr;
		gap: 10px;
	}


	/*
	 * Mobile horizontal card.
	 */
	.fzrm-brand-card {
		display: grid;

		grid-template-columns:
			52px
			minmax(0, 1fr)
			30px;

		align-items: center;

		gap: 13px;

		min-height: 76px;

		padding: 11px 13px;

		border-radius: 12px;

		transform: none;
	}


	.fzrm-brand-card:hover,
	.fzrm-brand-card:focus {
		transform: none;
	}


	.fzrm-brand-card-media {
		width: 52px;
		height: 46px;

		margin: 0;

		align-items: center;
		justify-content: center;
	}


	.fzrm-brand-card-image {
		width: 100%;
		height: 100%;

		object-position: center;
	}


	.fzrm-brand-card-content {
		gap: 2px;

		padding-right: 0;
	}


	.fzrm-brand-card-title {
		font-size: 15px;
	}


	.fzrm-brand-card-meta {
		font-size: 11px;
	}


	.fzrm-brand-card-arrow {
		position: static;

		width: 28px;
		height: 28px;

		font-size: 15px;
	}
}
/* =========================================================
 * Fixzone Product Type / Device Category Selection
 * UI-only redesign. Intentionally scoped so the All Brands
 * screen and all later booking steps remain unchanged.
 * ========================================================= */

.fzrm-category-selection-step {
	box-sizing: border-box;
	max-width: 1120px;
	margin: 0 auto;
	padding: 10px 20px 42px;
}

.fzrm-category-selection-header {
	max-width: 760px;
	margin: 0 0 30px;
}

.fzrm-category-brand-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-bottom: 20px;
	color: #315557 !important;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	text-decoration: none !important;
	transition: color 0.18s ease;
}

.fzrm-category-brand-link:hover,
.fzrm-category-brand-link:focus {
	color: #2D7A1C !important;
	text-decoration: none !important;
}

.fzrm-category-brand-link-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border: 1px solid #dce9e5;
	border-radius: 50%;
	background: #f7fcfa;
	font-size: 14px;
	line-height: 1;
}

.fzrm-category-eyebrow {
	display: inline-flex;
	align-items: center;
	margin-bottom: 9px;
	padding: 6px 10px;
	border: 1px solid #bce9d1;
	border-radius: 999px;
	background: #f4fcf7;
	color: #2D7A1C;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.07em;
	line-height: 1;
	text-transform: uppercase;
}

.fzrm-category-selection-header h2 {
	margin: 0 0 10px;
	color: #16343a;
	font-size: 36px;
	font-weight: 700;
	line-height: 1.16;
}

.fzrm-category-selection-header p {
	max-width: 680px;
	margin: 0;
	color: #62777b;
	font-size: 15px;
	line-height: 1.65;
}

.fzrm-category-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.fzrm-category-card {
	position: relative;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	min-height: 238px;
	padding: 24px;
	border: 1px solid #dfe8e5;
	border-radius: 18px;
	background: #ffffff;
	color: #16343a !important;
	text-decoration: none !important;
	box-shadow: 0 2px 5px rgba(16, 42, 48, 0.035);
	transition:
		transform 0.18s ease,
		border-color 0.18s ease,
		box-shadow 0.18s ease,
		background-color 0.18s ease;
}

.fzrm-category-card *,
.fzrm-category-card:hover *,
.fzrm-category-card:focus * {
	text-decoration: none !important;
}

.fzrm-category-card-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	margin-bottom: 25px;
	border: 1px solid #dce9e5;
	border-radius: 18px;
	background:
		linear-gradient(
			180deg,
			#effbf7 0%,
			#f7fcfa 100%
		);
	color: #2D7A1C;
	transition:
		transform 0.18s ease,
		background-color 0.18s ease,
		border-color 0.18s ease;
}

.fzrm-category-card-icon svg {
	display: block;
	width: 42px;
	height: 42px;
}

.fzrm-category-card-body {
	display: grid;
	gap: 7px;
	min-width: 0;
	padding-right: 44px;
}

.fzrm-category-card-title {
	color: #17393d !important;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
}

.fzrm-category-card-description {
	color: #728487 !important;
	font-size: 13px;
	line-height: 1.55;
}

.fzrm-category-card-action {
	position: absolute;
	right: 22px;
	bottom: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1px solid #bce9d1;
	border-radius: 50%;
	background: #f4fcf7;
	color: #2D7A1C;
	font-size: 18px;
	line-height: 1;
	transition:
		transform 0.18s ease,
		background-color 0.18s ease,
		color 0.18s ease,
		border-color 0.18s ease;
}

.fzrm-category-card:hover,
.fzrm-category-card:focus {
	border-color: #19a456;
	background: #ffffff;
	color: #16343a !important;
	text-decoration: none !important;
	transform: translateY(-4px);
	box-shadow: 0 14px 30px rgba(24, 104, 66, 0.10);
}

.fzrm-category-card:hover .fzrm-category-card-icon,
.fzrm-category-card:focus .fzrm-category-card-icon {
	border-color: #bce9d1;
	transform: translateY(-2px) scale(1.02);
}

.fzrm-category-card:hover .fzrm-category-card-action,
.fzrm-category-card:focus .fzrm-category-card-action {
	border-color: #2D7A1C;
	background: #2D7A1C;
	color: #ffffff;
	transform: translateX(2px);
}

.fzrm-category-card:focus-visible {
	outline: 3px solid rgba(22, 152, 77, 0.18);
	outline-offset: 3px;
}

.fzrm-category-card-direct .fzrm-category-card-icon {
	background: #f7fcfa;
}

.fzrm-category-footer {
	display: flex;
	align-items: center;
	margin-top: 28px;
	padding-top: 22px;
	border-top: 1px solid #dce9e5;
}

.fzrm-category-back-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 42px;
	padding: 0 16px;
	border: 1px solid #dce9e5;
	border-radius: 10px;
	background: #ffffff;
	color: #315557 !important;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none !important;
	transition:
		border-color 0.18s ease,
		box-shadow 0.18s ease,
		color 0.18s ease;
}

.fzrm-category-back-button:hover,
.fzrm-category-back-button:focus {
	border-color: #bce9d1;
	color: #2D7A1C !important;
	text-decoration: none !important;
	box-shadow: 0 4px 12px rgba(24, 104, 66, 0.06);
}

@media (max-width: 960px) {
	.fzrm-category-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 680px) {
	.fzrm-category-selection-step {
		padding: 10px 14px 30px;
	}

	.fzrm-category-selection-header {
		margin-bottom: 22px;
	}

	.fzrm-category-brand-link {
		margin-bottom: 16px;
	}

	.fzrm-category-selection-header h2 {
		font-size: 27px;
	}

	.fzrm-category-selection-header p {
		font-size: 14px;
	}

	.fzrm-category-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.fzrm-category-card {
		display: grid;
		grid-template-columns: 60px minmax(0, 1fr) 30px;
		align-items: center;
		gap: 14px;
		min-height: 92px;
		padding: 14px;
		border-radius: 14px;
		transform: none;
	}

	.fzrm-category-card:hover,
	.fzrm-category-card:focus {
		transform: none;
	}

	.fzrm-category-card-icon {
		width: 60px;
		height: 60px;
		margin: 0;
		border-radius: 14px;
	}

	.fzrm-category-card-icon svg {
		width: 34px;
		height: 34px;
	}

	.fzrm-category-card-body {
		gap: 3px;
		padding-right: 0;
	}

	.fzrm-category-card-title {
		font-size: 16px;
	}

	.fzrm-category-card-description {
		font-size: 11.5px;
		line-height: 1.45;
	}

	.fzrm-category-card-action {
		position: static;
		width: 30px;
		height: 30px;
		font-size: 15px;
	}

	.fzrm-category-footer {
		margin-top: 22px;
		padding-top: 18px;
	}
}

/* =========================================================
 * Fixzone Device Model Selection — v1.1.2 UI Redesign
 * UI-only. Scoped to the model selection step so the All
 * Brands and Product Type / Device Category screens retain
 * their existing v1.1.1 appearance.
 * ========================================================= */

.fzrm-model-selection-step {
	box-sizing: border-box;
	max-width: 1220px;
	margin: 0 auto;
	padding: 10px 20px 42px;
}

.fzrm-model-selection-header {
	max-width: 100%;
	margin: 0 0 28px;
}

.fzrm-model-back-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-bottom: 18px;
	color: #315557 !important;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	text-decoration: none !important;
	transition: color 0.18s ease;
}

.fzrm-model-back-link:hover,
.fzrm-model-back-link:focus {
	color: #2D7A1C !important;
	text-decoration: none !important;
}

.fzrm-model-back-link-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border: 1px solid #dce9e5;
	border-radius: 50%;
	background: #f7fcfa;
	font-size: 14px;
	line-height: 1;
}

.fzrm-model-selection-path {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 7px;
	margin-bottom: 10px;
	color: #728487;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.4;
}

.fzrm-model-selection-path strong {
	color: #315557;
	font-weight: 700;
}

.fzrm-model-selection-path-separator {
	color: #a3b0b2;
}

.fzrm-model-eyebrow {
	display: inline-flex;
	align-items: center;
	margin-bottom: 9px;
	padding: 6px 10px;
	border: 1px solid #bce9d1;
	border-radius: 999px;
	background: #f4fcf7;
	color: #2D7A1C;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.07em;
	line-height: 1;
	text-transform: uppercase;
}

.fzrm-model-selection-header h2 {
	margin: 0 0 10px;
	color: #16343a;
	font-size: 36px;
	font-weight: 700;
	line-height: 1.16;
}

.fzrm-model-header-row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
}

.fzrm-model-header-row > p {
	max-width: 680px;
	margin: 0;
	color: #62777b;
	font-size: 15px;
	line-height: 1.65;
}

.fzrm-model-count {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 0 12px;
	border: 1px solid #dce9e5;
	border-radius: 999px;
	background: #f7fcfa;
	color: #315557;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
}

.fzrm-model-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.fzrm-model-card {
	position: relative;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	min-width: 0;
	min-height: 182px;
	padding: 20px;
	border: 1px solid #dfe8e5;
	border-radius: 16px;
	background: #ffffff;
	color: #16343a !important;
	text-decoration: none !important;
	box-shadow: 0 2px 5px rgba(16, 42, 48, 0.035);
	transition:
		transform 0.18s ease,
		border-color 0.18s ease,
		box-shadow 0.18s ease,
		background-color 0.18s ease;
}

.fzrm-model-card *,
.fzrm-model-card:hover *,
.fzrm-model-card:focus * {
	text-decoration: none !important;
}

.fzrm-model-card-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	margin-bottom: 20px;
	border: 1px solid #dce9e5;
	border-radius: 14px;
	background:
		linear-gradient(
			180deg,
			#effbf7 0%,
			#f7fcfa 100%
		);
	color: #2D7A1C;
	transition:
		transform 0.18s ease,
		border-color 0.18s ease,
		background-color 0.18s ease;
}

.fzrm-model-card-icon svg {
	display: block;
	width: 31px;
	height: 31px;
}

.fzrm-model-card-body {
	display: grid;
	gap: 5px;
	min-width: 0;
	padding-right: 38px;
}

.fzrm-model-card-title {
	min-width: 0;
	color: #17393d !important;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.38;
	overflow-wrap: anywhere;
}

.fzrm-model-card-name {
	color: #728487 !important;
	font-size: 11.5px;
	font-weight: 500;
	line-height: 1.45;
	overflow-wrap: anywhere;
}

.fzrm-model-card-action {
	position: absolute;
	right: 18px;
	bottom: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border: 1px solid #bce9d1;
	border-radius: 50%;
	background: #f4fcf7;
	color: #2D7A1C;
	font-size: 16px;
	line-height: 1;
	transition:
		transform 0.18s ease,
		background-color 0.18s ease,
		color 0.18s ease,
		border-color 0.18s ease;
}

.fzrm-model-card:hover,
.fzrm-model-card:focus {
	border-color: #19a456;
	background: #ffffff;
	color: #16343a !important;
	text-decoration: none !important;
	transform: translateY(-3px);
	box-shadow: 0 12px 26px rgba(24, 104, 66, 0.09);
}

.fzrm-model-card:hover .fzrm-model-card-icon,
.fzrm-model-card:focus .fzrm-model-card-icon {
	border-color: #bce9d1;
	transform: translateY(-1px) scale(1.02);
}

.fzrm-model-card:hover .fzrm-model-card-action,
.fzrm-model-card:focus .fzrm-model-card-action {
	border-color: #2D7A1C;
	background: #2D7A1C;
	color: #ffffff;
	transform: translateX(2px);
}

.fzrm-model-card:focus-visible {
	outline: 3px solid rgba(22, 152, 77, 0.18);
	outline-offset: 3px;
}

.fzrm-model-empty-state {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 22px;
	border-color: #dce9e5;
	border-radius: 14px;
	background: #f7fcfa;
}

.fzrm-model-empty-icon {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	border: 1px solid #dce9e5;
	border-radius: 14px;
	background: #ffffff;
	color: #2D7A1C;
}

.fzrm-model-empty-icon svg {
	width: 30px;
	height: 30px;
}

.fzrm-model-empty-state strong {
	display: block;
	margin-bottom: 4px;
	color: #17393d;
	font-size: 15px;
}

.fzrm-model-empty-state p {
	margin: 0;
	color: #62777b;
	font-size: 13px;
	line-height: 1.5;
}

.fzrm-model-footer {
	display: flex;
	align-items: center;
	margin-top: 28px;
	padding-top: 22px;
	border-top: 1px solid #dce9e5;
}

.fzrm-model-back-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 42px;
	padding: 0 16px;
	border: 1px solid #dce9e5;
	border-radius: 10px;
	background: #ffffff;
	color: #315557 !important;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none !important;
	transition:
		border-color 0.18s ease,
		box-shadow 0.18s ease,
		color 0.18s ease;
}

.fzrm-model-back-button:hover,
.fzrm-model-back-button:focus {
	border-color: #bce9d1;
	color: #2D7A1C !important;
	text-decoration: none !important;
	box-shadow: 0 4px 12px rgba(24, 104, 66, 0.06);
}

@media (max-width: 1080px) {
	.fzrm-model-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 820px) {
	.fzrm-model-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.fzrm-model-header-row {
		align-items: flex-start;
		flex-direction: column;
		gap: 14px;
	}
}

@media (max-width: 560px) {
	.fzrm-model-selection-step {
		padding: 10px 14px 30px;
	}

	.fzrm-model-selection-header {
		margin-bottom: 22px;
	}

	.fzrm-model-back-link {
		margin-bottom: 15px;
	}

	.fzrm-model-selection-header h2 {
		font-size: 27px;
	}

	.fzrm-model-header-row > p {
		font-size: 14px;
	}

	.fzrm-model-count {
		min-height: 30px;
		padding: 0 10px;
		font-size: 11px;
	}

	.fzrm-model-grid {
		grid-template-columns: 1fr;
		gap: 11px;
	}

	.fzrm-model-card {
		display: grid;
		grid-template-columns: 52px minmax(0, 1fr) 30px;
		align-items: center;
		gap: 12px;
		min-height: 78px;
		padding: 12px;
		border-radius: 13px;
		transform: none;
	}

	.fzrm-model-card:hover,
	.fzrm-model-card:focus {
		transform: none;
	}

	.fzrm-model-card-icon {
		width: 52px;
		height: 52px;
		margin: 0;
		border-radius: 13px;
	}

	.fzrm-model-card-icon svg {
		width: 29px;
		height: 29px;
	}

	.fzrm-model-card-body {
		gap: 2px;
		padding-right: 0;
	}

	.fzrm-model-card-title {
		font-size: 14px;
		line-height: 1.35;
	}

	.fzrm-model-card-name {
		font-size: 10.5px;
	}

	.fzrm-model-card-action {
		position: static;
		width: 30px;
		height: 30px;
		font-size: 15px;
	}

	.fzrm-model-footer {
		margin-top: 22px;
		padding-top: 18px;
	}
}

@media (max-width: 360px) {
	.fzrm-model-selection-step {
		padding-right: 10px;
		padding-left: 10px;
	}

	.fzrm-model-card {
		grid-template-columns: 46px minmax(0, 1fr) 28px;
		gap: 10px;
		padding: 10px;
	}

	.fzrm-model-card-icon {
		width: 46px;
		height: 46px;
	}

	.fzrm-model-card-icon svg {
		width: 26px;
		height: 26px;
	}

	.fzrm-model-card-action {
		width: 28px;
		height: 28px;
	}
}


/* =========================================================
 * Repair Problems / Multi-Service Booking
 * ========================================================= */

.fzrm-multiservice-flow {
	max-width: 1120px;
	margin: 0 auto;
	padding: 12px 20px 38px;
	box-sizing: border-box;
	color: #16343a;
}

.fzrm-multiservice-flow .fzrm-booking-header {
	margin-bottom: 22px;
}

.fzrm-multiservice-flow .fzrm-booking-header h2 {
	margin: 0 0 8px;
	color: #17393d;
	font-size: clamp(28px, 3vw, 38px);
	line-height: 1.15;
	letter-spacing: -0.025em;
}

.fzrm-multiservice-flow .fzrm-booking-header p {
	max-width: 760px;
	margin: 0;
	color: #62777b;
	font-size: 15px;
	line-height: 1.65;
}

.fzrm-multiservice-flow .fzrm-booking-selection-summary {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 18px;
	margin: 0 0 22px;
	padding: 14px 16px;
	border: 1px solid #dce9e5;
	border-radius: 12px;
	background: #f7fcfa;
	color: #315557;
	font-size: 14px;
}

.fzrm-repair-problem-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 14px;
	color: #62777b;
	font-size: 13px;
}

.fzrm-repair-problem-toolbar strong {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: #2D7A1C;
	font-size: 13px;
}

.fzrm-repair-problem-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.fzrm-repair-problem-card {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 14px;
	min-width: 0;
	min-height: 126px;
	padding: 18px;
	border: 1px solid #dce9e5;
	border-radius: 15px;
	background: #ffffff;
	cursor: pointer;
	box-sizing: border-box;
	transition:
		border-color 0.18s ease,
		box-shadow 0.18s ease,
		transform 0.18s ease,
		background 0.18s ease;
}

.fzrm-repair-problem-card:hover {
	border-color: #bce9d1;
	box-shadow: 0 10px 24px rgba(24, 104, 66, 0.08);
	transform: translateY(-2px);
}

.fzrm-repair-problem-card.is-selected {
	border-color: #19a456;
	background: #f7fcfa;
	box-shadow: 0 8px 22px rgba(24, 104, 66, 0.10);
}

.fzrm-repair-problem-card:focus-within {
	outline: 3px solid rgba(22, 152, 77, 0.15);
	outline-offset: 2px;
}

.fzrm-repair-problem-checkbox {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
}

.fzrm-repair-checkmark {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	margin-top: 1px;
	border: 1px solid #c9dcda;
	border-radius: 8px;
	background: #ffffff;
	color: transparent;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	transition:
		background 0.18s ease,
		border-color 0.18s ease,
		color 0.18s ease;
}

.fzrm-repair-problem-card.is-selected .fzrm-repair-checkmark {
	border-color: #2D7A1C;
	background: #2D7A1C;
	color: #ffffff;
}

.fzrm-repair-problem-content {
	display: flex;
	flex: 1 1 auto;
	min-width: 0;
	flex-direction: column;
	gap: 5px;
}

.fzrm-repair-problem-content strong {
	color: #17393d;
	font-size: 15px;
	line-height: 1.35;
	overflow-wrap: anywhere;
}

.fzrm-repair-problem-content small {
	color: #2D7A1C;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.fzrm-repair-problem-content span {
	color: #62777b;
	font-size: 12.5px;
	line-height: 1.5;
}

.fzrm-repair-problem-content em {
	align-self: flex-start;
	margin-top: 3px;
	padding: 4px 8px;
	border-radius: 999px;
	background: #eef8f2;
	color: #2D7A1C;
	font-size: 11px;
	font-style: normal;
	font-weight: 700;
}

.fzrm-repair-problem-card.is-other-problem {
	border-style: dashed;
}

.fzrm-other-problem-panel {
	margin-top: 18px;
	padding: 18px;
	border: 1px solid #bce9d1;
	border-radius: 14px;
	background: #f7fcfa;
}

.fzrm-other-problem-panel[hidden] {
	display: none !important;
}

.fzrm-other-problem-panel label {
	display: block;
	margin-bottom: 8px;
	color: #17393d;
}

.fzrm-other-problem-panel textarea {
	display: block;
	width: 100%;
	max-width: 100%;
	min-height: 112px;
	padding: 12px 14px;
	border: 1px solid #c9dcda;
	border-radius: 10px;
	background: #ffffff;
	color: #16343a;
	box-sizing: border-box;
	resize: vertical;
	font: inherit;
	line-height: 1.5;
}

.fzrm-other-problem-panel textarea:focus {
	border-color: #2D7A1C;
	outline: 3px solid rgba(22, 152, 77, 0.12);
}

.fzrm-other-problem-panel p {
	margin: 8px 0 0;
	color: #62777b;
	font-size: 12px;
	line-height: 1.5;
}

.fzrm-multiservice-flow .fzrm-booking-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid #dce9e5;
}

.fzrm-multiservice-flow .button,
.fzrm-multiservice-flow .fzrm-primary-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 17px;
	border: 1px solid #dce9e5;
	border-radius: 10px;
	background: #ffffff;
	color: #315557;
	box-sizing: border-box;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
}

.fzrm-multiservice-flow .fzrm-primary-button {
	border-color: #2D7A1C;
	background: #2D7A1C;
	color: #ffffff;
}

.fzrm-multiservice-flow .fzrm-primary-button:hover,
.fzrm-multiservice-flow .fzrm-primary-button:focus {
	border-color: #19a456;
	background: #19a456;
	color: #ffffff;
}

.fzrm-service-estimate-list {
	display: grid;
	gap: 14px;
}

.fzrm-service-estimate-card {
	padding: 18px;
	border: 1px solid #dce9e5;
	border-radius: 14px;
	background: #ffffff;
}

.fzrm-service-estimate-card h3 {
	margin: 0 0 10px;
	color: #17393d;
	font-size: 17px;
}

.fzrm-service-estimate-options {
	display: grid;
	gap: 8px;
}

.fzrm-service-estimate-option {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 14px;
	border: 1px solid #dce9e5;
	border-radius: 10px;
	background: #f9fcfb;
	cursor: pointer;
}

.fzrm-service-estimate-option:hover {
	border-color: #bce9d1;
}

.fzrm-service-estimate-option input {
	flex: 0 0 auto;
}

.fzrm-quote-required {
	display: inline-flex;
	align-items: center;
	padding: 5px 9px;
	border-radius: 999px;
	background: #eef8f2;
	color: #2D7A1C;
	font-size: 11px;
	font-weight: 700;
}

.fzrm-known-estimate {
	margin: 16px 0;
	padding: 14px 16px;
	border: 1px solid #dce9e5;
	border-radius: 12px;
	background: #f7fcfa;
	color: #315557;
}

.fzrm-known-estimate strong {
	color: #17393d;
}

@media (max-width: 900px) {
	.fzrm-repair-problem-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.fzrm-multiservice-flow {
		padding: 8px 14px 30px;
	}

	.fzrm-multiservice-flow .fzrm-booking-header h2 {
		font-size: 27px;
	}

	.fzrm-repair-problem-toolbar {
		align-items: flex-start;
		flex-direction: column;
		gap: 4px;
	}

	.fzrm-repair-problem-grid {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.fzrm-repair-problem-card {
		min-height: 92px;
		padding: 14px;
		border-radius: 13px;
		transform: none;
	}

	.fzrm-repair-problem-card:hover {
		transform: none;
	}

	.fzrm-multiservice-flow .fzrm-booking-actions {
		align-items: stretch;
		flex-direction: column-reverse;
	}

	.fzrm-multiservice-flow .button,
	.fzrm-multiservice-flow .fzrm-primary-button {
		width: 100%;
	}

	.fzrm-service-estimate-option {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (max-width: 360px) {
	.fzrm-multiservice-flow {
		padding-right: 10px;
		padding-left: 10px;
	}

	.fzrm-repair-problem-card {
		gap: 11px;
		padding: 12px;
	}

	.fzrm-repair-checkmark {
		width: 24px;
		height: 24px;
	}
}


.fzrm-multi-estimate-list,
.fzrm-selected-repairs-summary,
.fzrm-review-repair-list {
	display: grid;
	gap: 14px;
}

.fzrm-estimate-service-card,
.fzrm-selected-repairs-summary,
.fzrm-review-card {
	padding: 18px;
	border: 1px solid #dce9e5;
	border-radius: 14px;
	background: #ffffff;
	box-sizing: border-box;
}

.fzrm-estimate-service-heading strong,
.fzrm-selected-repairs-summary h3,
.fzrm-review-card h3 {
	color: #17393d;
}

.fzrm-estimate-service-heading p {
	margin: 7px 0 0;
	color: #62777b;
	line-height: 1.5;
}

.fzrm-price-option-list {
	display: grid;
	gap: 9px;
	margin-top: 12px;
}

.fzrm-price-option {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border: 1px solid #dce9e5;
	border-radius: 10px;
	background: #f9fcfb;
	cursor: pointer;
	box-sizing: border-box;
}

.fzrm-price-option:hover,
.fzrm-price-option:focus-within {
	border-color: #bce9d1;
	background: #ffffff;
}

.fzrm-price-option span {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 2px;
}

.fzrm-price-option strong {
	color: #17393d;
	overflow-wrap: anywhere;
}

.fzrm-price-option small {
	color: #62777b;
}

.fzrm-price-option b {
	color: #2D7A1C;
	white-space: nowrap;
}

.fzrm-quotation-required {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 12px;
	padding: 12px 14px;
	border: 1px solid #bce9d1;
	border-radius: 10px;
	background: #f7fcfa;
}

.fzrm-quotation-required strong {
	color: #2D7A1C;
}

.fzrm-quotation-required span {
	color: #62777b;
	font-size: 12.5px;
}

.fzrm-estimate-note,
.fzrm-quote-warning {
	margin-top: 16px;
	padding: 13px 15px;
	border: 1px solid #dce9e5;
	border-radius: 11px;
	background: #f7fcfa;
	color: #62777b;
	line-height: 1.55;
}

.fzrm-estimate-note {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.fzrm-estimate-note strong,
.fzrm-known-total strong {
	color: #17393d;
}

.fzrm-repair-selection-recap {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin: 0 0 18px;
}

.fzrm-repair-selection-recap > div {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 4px;
	padding: 13px 14px;
	border: 1px solid #dce9e5;
	border-radius: 11px;
	background: #f7fcfa;
}

.fzrm-repair-selection-recap strong {
	color: #62777b;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.fzrm-repair-selection-recap span {
	color: #17393d;
	font-weight: 700;
	overflow-wrap: anywhere;
}

.fzrm-branch-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.fzrm-branch-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	padding: 18px;
	border: 1px solid #dce9e5;
	border-radius: 14px;
	background: #ffffff;
	box-sizing: border-box;
}

.fzrm-branch-card h4 {
	margin: 0 0 8px;
	color: #17393d;
}

.fzrm-branch-card p {
	margin: 0 0 8px;
	color: #62777b;
	font-size: 13px;
	line-height: 1.5;
}

.fzrm-branch-card .button {
	margin-top: auto;
}

.fzrm-selected-repairs-summary ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.fzrm-selected-repairs-summary li,
.fzrm-review-repair-item {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 14px;
	padding: 11px 0;
	border-bottom: 1px solid #edf3f1;
}

.fzrm-selected-repairs-summary li:last-child,
.fzrm-review-repair-item:last-child {
	border-bottom: 0;
}

.fzrm-selected-repairs-summary li > span,
.fzrm-review-repair-item > span {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 3px;
}

.fzrm-selected-repairs-summary small,
.fzrm-review-repair-item small {
	color: #62777b;
	font-weight: 400;
	line-height: 1.45;
}

.fzrm-selected-repairs-summary b,
.fzrm-review-repair-item b {
	color: #2D7A1C;
	text-align: right;
	white-space: nowrap;
}

.fzrm-known-total {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid #dce9e5;
}

.fzrm-review-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.fzrm-review-card dl {
	display: grid;
	grid-template-columns: minmax(110px, .4fr) 1fr;
	gap: 7px 13px;
	margin: 0;
}

.fzrm-review-card dt {
	color: #62777b;
	font-size: 12px;
	font-weight: 700;
}

.fzrm-review-card dd {
	min-width: 0;
	margin: 0;
	color: #17393d;
	overflow-wrap: anywhere;
}

.fzrm-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.fzrm-form-field {
	margin-bottom: 14px;
}

.fzrm-form-field label {
	display: block;
	margin-bottom: 6px;
	color: #17393d;
	font-size: 13px;
	font-weight: 700;
}

.fzrm-form-field input,
.fzrm-form-field select,
.fzrm-form-field textarea {
	width: 100%;
	max-width: 100%;
	padding: 10px 12px;
	border: 1px solid #c9dcda;
	border-radius: 9px;
	background: #ffffff;
	box-sizing: border-box;
	color: #16343a;
}

@media (max-width: 820px) {
	.fzrm-branch-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.fzrm-review-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.fzrm-repair-selection-recap,
	.fzrm-branch-grid,
	.fzrm-form-grid {
		grid-template-columns: 1fr;
	}

	.fzrm-price-option {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.fzrm-price-option b {
		grid-column: 2;
		white-space: normal;
	}

	.fzrm-quotation-required,
	.fzrm-selected-repairs-summary li,
	.fzrm-review-repair-item,
	.fzrm-known-total {
		align-items: flex-start;
		flex-direction: column;
	}

	.fzrm-selected-repairs-summary b,
	.fzrm-review-repair-item b {
		text-align: left;
		white-space: normal;
	}

	.fzrm-review-card dl {
		grid-template-columns: 1fr;
	}
}


/* =========================================================
 * Fixzone 1.4.0 integrated UX refinements
 * ========================================================= */
@media (min-width: 961px) {
  .fzrm-category-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
  .fzrm-category-card { min-height: 174px; padding: 18px; border-radius: 15px; }
  .fzrm-category-card-icon { width: 56px; height: 56px; margin-bottom: 16px; border-radius: 14px; }
  .fzrm-category-card-icon svg { width: 34px; height: 34px; }
  .fzrm-category-card-title { font-size: 17px; }
  .fzrm-category-card-action { right: 16px; bottom: 16px; width: 32px; height: 32px; }
}
.fzrm-repair-card-meta { display:grid!important; gap:4px; margin-top:5px; padding-top:8px; border-top:1px solid #edf3f1; }
.fzrm-repair-card-meta small { color:#62777b!important; font-size:11px!important; font-weight:500!important; letter-spacing:0!important; text-transform:none!important; }
.fzrm-repair-card-price { color:#2D7A1C; font-size:15px; }
.fzrm-mobile-model-picker,.fzrm-mobile-branch-picker { display:none; margin:0 0 16px; }
.fzrm-mobile-model-picker select,.fzrm-mobile-branch-picker select { width:100%; min-height:46px; padding:9px 12px; border:1px solid #c9dcda; border-radius:10px; background:#fff; color:#17393d; }
@media (max-width: 600px) {
  .fzrm-mobile-model-picker,.fzrm-mobile-branch-picker { display:block; }
  .fzrm-model-grid,.fzrm-branch-grid { display:none; }
  .fzrm-repair-problem-card { min-height:auto; }
}

/* =========================================================
 * Fixzone 1.4.1 category-first booking + series model picker
 * ========================================================= */
.fzrm-service-category-step,
.fzrm-category-brand-step {
	--fzrm-surface: #ffffff;
	--fzrm-surface-soft: #f7fcfa;
	--fzrm-border: #dce9e5;
	--fzrm-text: #16343a;
	--fzrm-muted: #62777b;
	--fzrm-accent: #2D7A1C;
	--fzrm-accent-soft: #f0faf3;
	box-sizing: border-box;
	max-width: 1180px;
	margin: 0 auto;
	padding: 12px 20px 42px;
	color: var(--fzrm-text);
}
.fzrm-service-category-header,
.fzrm-category-brand-header { margin-bottom: 28px; }
.fzrm-service-category-header h2,
.fzrm-category-brand-header h2 { margin: 0 0 10px; color: var(--fzrm-text); font-size: 36px; line-height: 1.16; }
.fzrm-service-category-header p,
.fzrm-category-brand-header p { max-width: 760px; margin: 0; color: var(--fzrm-muted); font-size: 15px; line-height: 1.65; }
.fzrm-service-category-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.fzrm-service-category-card {
	position: relative; display: grid; grid-template-columns: 66px minmax(0,1fr) 34px; align-items: center;
	gap: 16px; min-height: 138px; padding: 22px; border: 1px solid var(--fzrm-border); border-radius: 18px;
	background: var(--fzrm-surface); color: var(--fzrm-text)!important; text-decoration: none!important;
	box-shadow: 0 3px 10px rgba(16,42,48,.04); transition: border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.fzrm-service-category-card:not(.is-disabled):hover,
.fzrm-service-category-card:not(.is-disabled):focus { border-color: #19a456; box-shadow: 0 12px 26px rgba(24,104,66,.09); transform: translateY(-2px); text-decoration:none!important; }
.fzrm-service-category-card.is-disabled { opacity:.56; cursor:not-allowed; }
.fzrm-service-category-icon { display:flex; align-items:center; justify-content:center; width:66px; height:66px; border:1px solid var(--fzrm-border); border-radius:16px; background:var(--fzrm-accent-soft); color:var(--fzrm-accent); }
.fzrm-service-category-icon svg { width:38px; height:38px; }
.fzrm-service-category-copy { display:grid; gap:5px; min-width:0; }
.fzrm-service-category-copy strong { color:var(--fzrm-text); font-size:18px; line-height:1.3; }
.fzrm-service-category-copy small { color:var(--fzrm-muted); font-size:12px; line-height:1.45; }
.fzrm-service-category-copy em { color:var(--fzrm-accent); font-size:11px; font-style:normal; font-weight:700; }
.fzrm-service-category-arrow { display:flex; align-items:center; justify-content:center; width:34px; height:34px; border:1px solid #bce9d1; border-radius:50%; background:var(--fzrm-accent-soft); color:var(--fzrm-accent); }

.fzrm-category-brand-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.fzrm-category-brand-card { position:relative; display:flex; align-items:center; gap:14px; min-height:92px; padding:16px; border:1px solid var(--fzrm-border); border-radius:15px; background:var(--fzrm-surface); color:var(--fzrm-text)!important; text-decoration:none!important; }
.fzrm-category-brand-card:hover,.fzrm-category-brand-card:focus { border-color:#19a456; box-shadow:0 9px 22px rgba(24,104,66,.08); text-decoration:none!important; }
.fzrm-category-brand-media { flex:0 0 auto; display:flex; align-items:center; justify-content:center; width:52px; height:52px; border:1px solid var(--fzrm-border); border-radius:12px; background:var(--fzrm-surface-soft); overflow:hidden; }
.fzrm-category-brand-image { max-width:42px!important; max-height:42px!important; width:auto!important; height:auto!important; object-fit:contain; }
.fzrm-category-brand-fallback { color:var(--fzrm-accent); font-size:22px; font-weight:800; }
.fzrm-category-brand-copy { display:grid; gap:4px; min-width:0; padding-right:24px; }
.fzrm-category-brand-copy strong { color:var(--fzrm-text); font-size:15px; }
.fzrm-category-brand-copy small { color:var(--fzrm-muted); font-size:11px; }
.fzrm-category-brand-arrow { position:absolute; right:14px; color:var(--fzrm-accent); }

.fzrm-series-picker { margin:0 0 22px; padding:18px; border:1px solid #dce9e5; border-radius:16px; background:#f8fcfa; }
.fzrm-series-picker-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:14px; }
.fzrm-series-picker-heading strong { color:#17393d; font-size:15px; }
.fzrm-series-picker-heading span { color:#728487; font-size:12px; }
.fzrm-series-buttons { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
.fzrm-series-button { display:flex; align-items:center; justify-content:space-between; gap:8px; min-height:46px; padding:9px 12px; border:1px solid #dce9e5; border-radius:11px; background:#fff; color:#315557; font:inherit; font-size:12px; font-weight:700; text-align:left; cursor:pointer; }
.fzrm-series-button small { flex:0 0 auto; display:flex; align-items:center; justify-content:center; min-width:25px; height:25px; padding:0 6px; border-radius:999px; background:#edf7f1; color:#2D7A1C; font-size:10px; }
.fzrm-series-button:hover,.fzrm-series-button:focus,.fzrm-series-button.is-active { border-color:#2D7A1C; background:#f1faf4; color:#1f6517; outline:none; }
.fzrm-model-series-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:0 0 13px; }
.fzrm-model-series-heading h3 { margin:0; color:#17393d; font-size:19px; }
.fzrm-model-series-heading span { color:#728487; font-size:11px; font-weight:600; }
.fzrm-mobile-model-picker label { display:block; margin:0 0 6px; }
.fzrm-mobile-model-picker select + label { margin-top:12px; }

@media (max-width: 980px) {
	.fzrm-service-category-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
	.fzrm-category-brand-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
	.fzrm-series-buttons { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 600px) {
	.fzrm-service-category-step,.fzrm-category-brand-step { padding:10px 14px 30px; }
	.fzrm-service-category-header h2,.fzrm-category-brand-header h2 { font-size:27px; }
	.fzrm-service-category-grid,.fzrm-category-brand-grid { grid-template-columns:1fr; gap:11px; }
	.fzrm-service-category-card { grid-template-columns:54px minmax(0,1fr) 30px; min-height:94px; padding:13px; border-radius:14px; transform:none!important; }
	.fzrm-service-category-icon { width:54px; height:54px; border-radius:13px; }
	.fzrm-service-category-icon svg { width:31px; height:31px; }
	.fzrm-service-category-copy strong { font-size:15px; }
	.fzrm-service-category-copy small { font-size:10.5px; }
	.fzrm-service-category-copy em { font-size:10px; }
	.fzrm-series-picker { display:none; }
	.fzrm-series-model-groups { display:none; }
	.fzrm-mobile-model-picker { display:block; }
}

/* Category/brand dark mode follows the website theme only; OS preference must not override FixZone light mode. */
body.dark-mode .fzrm-service-category-step, body.dark-mode .fzrm-category-brand-step,
body.dark .fzrm-service-category-step, body.dark .fzrm-category-brand-step,
[data-theme="dark"] .fzrm-service-category-step, [data-theme="dark"] .fzrm-category-brand-step,
.wp-dark-mode-active .fzrm-service-category-step, .wp-dark-mode-active .fzrm-category-brand-step {
	--fzrm-surface:#172225; --fzrm-surface-soft:#1d2b2e; --fzrm-border:#33484b; --fzrm-text:#eef7f5; --fzrm-muted:#a9bdbc; --fzrm-accent:#8bd36f; --fzrm-accent-soft:#20372a;
}


/* FixZone 1.5.0 — explicit light-mode brand-card presentation.
 * Dark styling is applied only by the explicit site dark-mode selectors above. */
html:not([data-theme="dark"]):not(.wp-dark-mode-active) body:not(.dark-mode):not(.dark) .fzrm-category-brand-step {
	--fzrm-surface:#ffffff;
	--fzrm-surface-soft:#f7fcfa;
	--fzrm-border:#dce9e5;
	--fzrm-text:#16343a;
	--fzrm-muted:#62777b;
	--fzrm-accent:#2D7A1C;
	--fzrm-accent-soft:#f0faf3;
}
html:not([data-theme="dark"]):not(.wp-dark-mode-active) body:not(.dark-mode):not(.dark) .fzrm-category-brand-card {
	background:#ffffff !important;
	border-color:#dce9e5 !important;
	color:#16343a !important;
	text-decoration:none !important;
}
html:not([data-theme="dark"]):not(.wp-dark-mode-active) body:not(.dark-mode):not(.dark) .fzrm-category-brand-card:hover,
html:not([data-theme="dark"]):not(.wp-dark-mode-active) body:not(.dark-mode):not(.dark) .fzrm-category-brand-card:focus {
	background:#fbfffc !important;
	border-color:#2D7A1C !important;
	box-shadow:0 10px 24px rgba(45,122,28,.10);
}
html:not([data-theme="dark"]):not(.wp-dark-mode-active) body:not(.dark-mode):not(.dark) .fzrm-category-brand-card *,
html:not([data-theme="dark"]):not(.wp-dark-mode-active) body:not(.dark-mode):not(.dark) .fzrm-category-brand-card:hover *,
html:not([data-theme="dark"]):not(.wp-dark-mode-active) body:not(.dark-mode):not(.dark) .fzrm-category-brand-card:focus * {
	text-decoration:none !important;
}
html:not([data-theme="dark"]):not(.wp-dark-mode-active) body:not(.dark-mode):not(.dark) .fzrm-category-brand-copy strong { color:#16343a !important; }
html:not([data-theme="dark"]):not(.wp-dark-mode-active) body:not(.dark-mode):not(.dark) .fzrm-category-brand-copy small { color:#62777b !important; }
html:not([data-theme="dark"]):not(.wp-dark-mode-active) body:not(.dark-mode):not(.dark) .fzrm-category-brand-arrow { color:#2D7A1C !important; }

/* FixZone 1.4.4 — family / generation hierarchy */
.fzrm-hierarchy-choice-header p { max-width:760px; }
.fzrm-hierarchy-choice-grid {
	display:grid;
	grid-template-columns:repeat(3,minmax(0,1fr));
	gap:14px;
	margin-top:22px;
}
.fzrm-hierarchy-choice-card {
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:14px;
	min-height:92px;
	padding:20px 22px;
	border:1px solid #d7e8dc;
	border-radius:16px;
	background:#ffffff;
	color:#183a32;
	text-decoration:none;
	transition:border-color .2s ease, box-shadow .2s ease, transform .2s ease, background .2s ease;
}
.fzrm-hierarchy-choice-card:hover,
.fzrm-hierarchy-choice-card:focus {
	border-color:#35a72d;
	background:#f5fbf4;
	box-shadow:0 10px 26px rgba(45,122,28,.12);
	transform:translateY(-2px);
	outline:none;
}
.fzrm-hierarchy-choice-copy { display:flex; flex-direction:column; gap:4px; min-width:0; }
.fzrm-hierarchy-choice-copy strong { font-size:16px; line-height:1.25; color:inherit; text-decoration:none; }
.fzrm-hierarchy-choice-copy small { color:#72847b; font-size:12px; font-weight:600; }
.fzrm-hierarchy-choice-arrow { display:inline-flex; align-items:center; justify-content:center; flex:0 0 34px; width:34px; height:34px; border-radius:50%; background:#eef8ec; color:#2D7A1C; font-size:19px; transition:background .2s ease, transform .2s ease; }
.fzrm-hierarchy-choice-card:hover .fzrm-hierarchy-choice-arrow,.fzrm-hierarchy-choice-card:focus .fzrm-hierarchy-choice-arrow { background:#dff2da; transform:translateX(2px); }
@media (max-width:900px) {
	.fzrm-hierarchy-choice-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:600px) {
	.fzrm-hierarchy-choice-grid { grid-template-columns:1fr; gap:9px; margin-top:16px; }
	.fzrm-hierarchy-choice-card { min-height:64px; padding:13px 15px; border-radius:11px; }
	.fzrm-hierarchy-choice-copy strong { font-size:14px; }
}
body.dark-mode .fzrm-hierarchy-choice-card,
body.dark .fzrm-hierarchy-choice-card,
[data-theme="dark"] .fzrm-hierarchy-choice-card,
.wp-dark-mode-active .fzrm-hierarchy-choice-card {
	background:#172225;
	border-color:#33484b;
	color:#eef7f5;
}
body.dark-mode .fzrm-hierarchy-choice-copy small,
body.dark .fzrm-hierarchy-choice-copy small,
[data-theme="dark"] .fzrm-hierarchy-choice-copy small,
.wp-dark-mode-active .fzrm-hierarchy-choice-copy small { color:#a9bdbc; }
body.dark-mode .fzrm-hierarchy-choice-card:hover,
body.dark .fzrm-hierarchy-choice-card:hover,
[data-theme="dark"] .fzrm-hierarchy-choice-card:hover,
.wp-dark-mode-active .fzrm-hierarchy-choice-card:hover {
	background:#20372a;
	border-color:#75bd5b;
}


/* =========================================================
 * FixZone 1.4.7 — polished hierarchy, appointment and OTP UI
 * ========================================================= */

/* Site-controlled dark mode only: do not force hierarchy cards dark from OS preference. */
.fzrm-hierarchy-choice-card { cursor:pointer; }
body:not(.dark-mode):not(.dark) .fzrm-hierarchy-choice-card,
html:not([data-theme="dark"]) .fzrm-hierarchy-choice-card { background:#fff; }

.fzrm-appointment-booking-layout {
	display:grid;
	grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);
	gap:24px;
	align-items:stretch;
	margin-top:28px;
}
.fzrm-calendar-panel,
.fzrm-time-panel {
	min-width:0;
	border:1px solid #dce8e2;
	border-radius:18px;
	background:#fff;
	box-shadow:0 8px 28px rgba(23,57,61,.06);
}
.fzrm-calendar { max-width:none; margin:0; padding:24px; border:0; border-radius:18px; box-shadow:none; background:transparent; }
.fzrm-calendar-header { margin-bottom:18px; }
.fzrm-calendar-header h4 { font-size:20px; color:#17393d; }
.fzrm-calendar-nav { border-color:#d8e7df; color:#2d7a1c; background:#f8fcf7; transition:.2s ease; }
.fzrm-calendar-nav:hover { border-color:#35a72d; background:#eef8ec; }
.fzrm-calendar-weekdays span { color:#5f746e; font-weight:700; }
.fzrm-calendar-day { min-height:50px; border-color:#e1ebe6; color:#17393d; background:#fff; transition:.16s ease; }
a.fzrm-calendar-day:hover { border:1px solid #4caf3d; background:#f1faf0; color:#266d1a; }
.fzrm-calendar-day.is-selected { border:1px solid #2f9f2a; background:#2f9f2a; color:#fff; box-shadow:0 5px 14px rgba(47,159,42,.2); }
.fzrm-calendar-day.is-today:not(.is-selected) { border-color:#87c87d; color:#2d7a1c; background:#f5fbf4; }
.fzrm-calendar-day.is-disabled { opacity:1; color:#b5c0bc; border-color:#edf1ef; background:#f7f9f8; }
.fzrm-time-panel { padding:24px; display:flex; flex-direction:column; }
.fzrm-time-empty-state { margin:auto; text-align:center; color:#667a74; padding:42px 20px; }
.fzrm-time-empty-icon { display:flex; align-items:center; justify-content:center; width:54px; height:54px; margin:0 auto 14px; border-radius:50%; background:#edf8ea; color:#2d7a1c; font-size:25px; }
.fzrm-time-empty-state h4 { margin:0 0 7px; color:#17393d; font-size:19px; }
.fzrm-time-empty-state p { margin:0; }
.fzrm-time-selection { margin:0; }
.fzrm-time-heading { margin-bottom:18px; }
.fzrm-time-heading span { display:block; color:#2d7a1c; font-size:12px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; }
.fzrm-time-heading h4 { margin:5px 0 0; color:#17393d; font-size:19px; }
.fzrm-time-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.fzrm-time-slot { appearance:none; font:inherit; cursor:pointer; min-height:58px; border:1px solid #dce8e2; background:#fff; color:#17393d; }
.fzrm-time-slot:hover { border:1px solid #52b547; background:#f4fbf2; }
.fzrm-time-slot.is-selected { border-color:#2f9f2a; background:#2f9f2a; color:#fff; box-shadow:0 5px 14px rgba(47,159,42,.18); }
.fzrm-time-slot strong { font-size:16px; }
.fzrm-time-slot span { color:#73867f; font-size:11px; }
.fzrm-time-slot.is-selected span { color:#e8f8e4; }
.fzrm-time-continue { display:flex!important; justify-content:center; margin-top:20px!important; text-align:center; }
.fzrm-time-continue[hidden] { display:none!important; }

.fzrm-email-verification { max-width:760px; margin:24px 0; padding:26px; border:1px solid #dbe9e2; border-radius:16px; background:#fff; box-shadow:0 8px 28px rgba(23,57,61,.05); }
.fzrm-auth-copy h3 { margin:6px 0 7px; color:#17393d; font-size:23px; }
.fzrm-auth-copy p { margin:0 0 20px; color:#647973; }
.fzrm-auth-email-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:12px; align-items:end; }
.fzrm-auth-email-row .fzrm-form-field { margin:0; }
.fzrm-auth-email-row .button { min-height:44px; }
.fzrm-auth-code-wrap { margin-top:18px; padding-top:18px; border-top:1px solid #edf1ef; }
.fzrm-auth-code-wrap .fzrm-form-field { max-width:300px; margin-bottom:12px; }
.fzrm-auth-code-wrap input { letter-spacing:.25em; font-size:20px; font-weight:700; text-align:center; }
.fzrm-auth-actions { display:flex; flex-wrap:wrap; gap:10px; }
.fzrm-auth-alert { margin:14px 0; padding:11px 13px; border-radius:10px; font-size:14px; }
.fzrm-auth-alert.is-success { background:#eef9eb; color:#21691b; border:1px solid #cfe8ca; }
.fzrm-auth-alert.is-error { background:#fff1f1; color:#a32727; border:1px solid #f0caca; }
.fzrm-auth-verified { max-width:760px; margin:20px 0; padding:13px 15px; border:1px solid #cce7c6; border-radius:10px; background:#eff9ed; color:#276d20; font-weight:600; }
.fzrm-customer-details-form[hidden] { display:none!important; }

/* Explicit FixZone/site dark mode. */
body.dark-mode .fzrm-calendar-panel, body.dark-mode .fzrm-time-panel, body.dark-mode .fzrm-email-verification,
body.dark .fzrm-calendar-panel, body.dark .fzrm-time-panel, body.dark .fzrm-email-verification,
[data-theme="dark"] .fzrm-calendar-panel, [data-theme="dark"] .fzrm-time-panel, [data-theme="dark"] .fzrm-email-verification,
.wp-dark-mode-active .fzrm-calendar-panel, .wp-dark-mode-active .fzrm-time-panel, .wp-dark-mode-active .fzrm-email-verification { background:#172225; border-color:#33484b; color:#eef7f5; }
body.dark-mode .fzrm-calendar, body.dark .fzrm-calendar, [data-theme="dark"] .fzrm-calendar, .wp-dark-mode-active .fzrm-calendar { background:transparent; }
body.dark-mode .fzrm-calendar-header h4, body.dark-mode .fzrm-time-heading h4, body.dark-mode .fzrm-time-empty-state h4, body.dark-mode .fzrm-auth-copy h3,
body.dark .fzrm-calendar-header h4, body.dark .fzrm-time-heading h4, body.dark .fzrm-time-empty-state h4, body.dark .fzrm-auth-copy h3,
[data-theme="dark"] .fzrm-calendar-header h4, [data-theme="dark"] .fzrm-time-heading h4, [data-theme="dark"] .fzrm-time-empty-state h4, [data-theme="dark"] .fzrm-auth-copy h3,
.wp-dark-mode-active .fzrm-calendar-header h4, .wp-dark-mode-active .fzrm-time-heading h4, .wp-dark-mode-active .fzrm-time-empty-state h4, .wp-dark-mode-active .fzrm-auth-copy h3 { color:#eef7f5; }
body.dark-mode .fzrm-calendar-day, body.dark-mode .fzrm-time-slot,
body.dark .fzrm-calendar-day, body.dark .fzrm-time-slot,
[data-theme="dark"] .fzrm-calendar-day, [data-theme="dark"] .fzrm-time-slot,
.wp-dark-mode-active .fzrm-calendar-day, .wp-dark-mode-active .fzrm-time-slot { background:#1d2b2e; border-color:#33484b; color:#eef7f5; }
body.dark-mode .fzrm-calendar-day.is-disabled, body.dark .fzrm-calendar-day.is-disabled, [data-theme="dark"] .fzrm-calendar-day.is-disabled, .wp-dark-mode-active .fzrm-calendar-day.is-disabled { background:#141e20; color:#677b79; border-color:#26383b; }
body.dark-mode .fzrm-calendar-day.is-selected, body.dark-mode .fzrm-time-slot.is-selected,
body.dark .fzrm-calendar-day.is-selected, body.dark .fzrm-time-slot.is-selected,
[data-theme="dark"] .fzrm-calendar-day.is-selected, [data-theme="dark"] .fzrm-time-slot.is-selected,
.wp-dark-mode-active .fzrm-calendar-day.is-selected, .wp-dark-mode-active .fzrm-time-slot.is-selected { background:#3a9f32; color:#fff; border-color:#75bd5b; }

@media (max-width:900px) {
	.fzrm-appointment-booking-layout { grid-template-columns:1fr; }
	.fzrm-time-panel { min-height:220px; }
}
@media (max-width:600px) {
	.fzrm-appointment-booking-layout { gap:14px; margin-top:18px; }
	.fzrm-calendar-panel,.fzrm-time-panel { border-radius:14px; }
	.fzrm-calendar { padding:15px; }
	.fzrm-time-panel { padding:17px; }
	.fzrm-time-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
	.fzrm-auth-email-row { grid-template-columns:1fr; }
	.fzrm-email-verification { padding:18px; }
}

/* =========================================================
 * FixZone 1.4.8 — refined hierarchy/calendar/time controls
 * ========================================================= */

/* Generation / family cards are controls, not text links. */
.fzrm-hierarchy-choice-card,
.fzrm-hierarchy-choice-card:link,
.fzrm-hierarchy-choice-card:visited,
.fzrm-hierarchy-choice-card:hover,
.fzrm-hierarchy-choice-card:focus,
.fzrm-hierarchy-choice-card *,
.fzrm-hierarchy-choice-card:hover *,
.fzrm-hierarchy-choice-card:focus * {
	text-decoration:none !important;
}
.fzrm-hierarchy-choice-grid {
	gap:14px;
}
.fzrm-hierarchy-choice-card {
	min-height:76px;
	padding:17px 18px;
	border:1px solid #dce9e1;
	border-radius:14px;
	background:#fff;
	box-shadow:0 3px 12px rgba(20,55,43,.035);
	transition:border-color .18s ease, box-shadow .18s ease, background .18s ease, transform .18s ease;
}
.fzrm-hierarchy-choice-card:hover,
.fzrm-hierarchy-choice-card:focus-visible {
	border-color:#51ad43;
	background:#f7fcf5;
	box-shadow:0 8px 22px rgba(47,159,42,.10);
	transform:translateY(-1px);
	outline:none;
}
.fzrm-hierarchy-choice-copy strong {
	font-size:15px;
	font-weight:750;
	line-height:1.3;
	color:#14383b;
}
.fzrm-hierarchy-choice-copy small {
	margin-top:1px;
	font-size:12px;
	font-weight:600;
	line-height:1.35;
	color:#6f817b;
}
.fzrm-hierarchy-choice-arrow {
	border:1px solid #d8edd3;
	background:#eef8ec;
	color:#2f9228;
	box-shadow:none;
}
.fzrm-hierarchy-choice-card:hover .fzrm-hierarchy-choice-arrow,
.fzrm-hierarchy-choice-card:focus-visible .fzrm-hierarchy-choice-arrow {
	background:#31a42b;
	border-color:#31a42b;
	color:#fff;
}

/* Calendar links should visually behave like calendar controls. */
.fzrm-calendar a,
.fzrm-calendar a:link,
.fzrm-calendar a:visited,
.fzrm-calendar a:hover,
.fzrm-calendar a:focus,
.fzrm-calendar-day,
.fzrm-calendar-nav {
	text-decoration:none !important;
}
.fzrm-calendar-header {
	align-items:center;
}
.fzrm-calendar-nav {
	display:inline-flex;
	align-items:center;
	justify-content:center;
	width:38px;
	height:38px;
	padding:0;
	border:1px solid #d9e8df;
	border-radius:10px;
	font-size:18px;
	font-weight:700;
	line-height:1;
	background:#f8fcf7;
	color:#2e8f27;
}
.fzrm-calendar-nav:hover,
.fzrm-calendar-nav:focus-visible {
	border-color:#48a93d;
	background:#edf8ea;
	color:#287b22;
	outline:none;
}
.fzrm-calendar-days {
	gap:6px;
}
.fzrm-calendar-day {
	display:flex;
	align-items:center;
	justify-content:center;
	min-height:48px;
	border-radius:9px;
	font-weight:650;
	line-height:1;
}
.fzrm-calendar-day.is-disabled {
	color:#aebbb6;
	background:#f6f8f7;
	border-color:#ebf0ed;
}
.fzrm-calendar-day.is-selected {
	font-weight:800;
}

/* Clean one-value appointment slot grid. */
.fzrm-time-grid {
	display:grid;
	grid-template-columns:repeat(2,minmax(0,1fr));
	gap:11px;
}
.fzrm-time-slot,
.fzrm-time-slot:hover,
.fzrm-time-slot:focus,
.fzrm-time-slot * {
	text-decoration:none !important;
}
.fzrm-time-slot {
	display:flex;
	align-items:center;
	justify-content:center;
	min-height:52px;
	padding:12px 10px;
	border:1px solid #d9e6df;
	border-radius:10px;
	background:#fff;
	color:#183a3d;
	box-shadow:none;
	transition:border-color .16s ease, background .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.fzrm-time-slot:hover,
.fzrm-time-slot:focus-visible {
	border-color:#55ae49;
	background:#f5fbf3;
	color:#286f21;
	box-shadow:0 5px 14px rgba(47,159,42,.08);
	transform:translateY(-1px);
	outline:none;
}
.fzrm-time-slot.is-selected,
.fzrm-time-slot.is-selected:hover,
.fzrm-time-slot.is-selected:focus-visible {
	border-color:#2fa32a;
	background:#2fa32a;
	color:#fff;
	box-shadow:0 7px 18px rgba(47,159,42,.18);
	transform:none;
}
.fzrm-time-slot-label {
	display:block;
	font-size:15px;
	font-weight:750;
	line-height:1;
	letter-spacing:.01em;
	color:inherit;
}
.fzrm-time-continue {
	min-height:46px;
	border-radius:10px !important;
}

/* Explicit site dark mode equivalents. */
body.dark-mode .fzrm-hierarchy-choice-card,
body.dark .fzrm-hierarchy-choice-card,
[data-theme="dark"] .fzrm-hierarchy-choice-card,
.wp-dark-mode-active .fzrm-hierarchy-choice-card {
	background:#1a2729;
	border-color:#34484a;
	box-shadow:none;
}
body.dark-mode .fzrm-hierarchy-choice-copy strong,
body.dark .fzrm-hierarchy-choice-copy strong,
[data-theme="dark"] .fzrm-hierarchy-choice-copy strong,
.wp-dark-mode-active .fzrm-hierarchy-choice-copy strong { color:#f0f7f5; }
body.dark-mode .fzrm-hierarchy-choice-card:hover,
body.dark .fzrm-hierarchy-choice-card:hover,
[data-theme="dark"] .fzrm-hierarchy-choice-card:hover,
.wp-dark-mode-active .fzrm-hierarchy-choice-card:hover {
	background:#203033;
	border-color:#66b65b;
}
body.dark-mode .fzrm-calendar-nav,
body.dark .fzrm-calendar-nav,
[data-theme="dark"] .fzrm-calendar-nav,
.wp-dark-mode-active .fzrm-calendar-nav {
	background:#1b292b;
	border-color:#3a5052;
	color:#88cf7d;
}
body.dark-mode .fzrm-time-slot,
body.dark .fzrm-time-slot,
[data-theme="dark"] .fzrm-time-slot,
.wp-dark-mode-active .fzrm-time-slot {
	background:#1d2b2e;
	border-color:#34494b;
	color:#edf7f4;
}

@media (max-width:600px) {
	.fzrm-hierarchy-choice-grid { gap:10px; }
	.fzrm-hierarchy-choice-card { min-height:68px; padding:14px 15px; }
	.fzrm-calendar-day { min-height:44px; }
	.fzrm-time-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
	.fzrm-time-slot { min-height:50px; }
}

/* Guard against theme button/link rules loaded after generic FixZone declarations. */
.fzrm-booking .fzrm-time-slot {
	border:1px solid #d9e6df !important;
	background:#fff !important;
	color:#183a3d !important;
}
.fzrm-booking .fzrm-time-slot:hover,
.fzrm-booking .fzrm-time-slot:focus-visible {
	border-color:#55ae49 !important;
	background:#f5fbf3 !important;
	color:#286f21 !important;
}
.fzrm-booking .fzrm-time-slot.is-selected,
.fzrm-booking .fzrm-time-slot.is-selected:hover,
.fzrm-booking .fzrm-time-slot.is-selected:focus-visible {
	border-color:#2fa32a !important;
	background:#2fa32a !important;
	color:#fff !important;
}
body.dark-mode .fzrm-booking .fzrm-time-slot,
body.dark .fzrm-booking .fzrm-time-slot,
[data-theme="dark"] .fzrm-booking .fzrm-time-slot,
.wp-dark-mode-active .fzrm-booking .fzrm-time-slot {
	background:#1d2b2e !important;
	border-color:#34494b !important;
	color:#edf7f4 !important;
}
body.dark-mode .fzrm-booking .fzrm-time-slot.is-selected,
body.dark .fzrm-booking .fzrm-time-slot.is-selected,
[data-theme="dark"] .fzrm-booking .fzrm-time-slot.is-selected,
.wp-dark-mode-active .fzrm-booking .fzrm-time-slot.is-selected {
	background:#3a9f32 !important;
	border-color:#75bd5b !important;
	color:#fff !important;
}

/* =========================================================
 * FixZone Repair Management 1.5.1 — Site Dark Mode Restore
 * The FixZone site dark-mode plugin toggles html.sdmt-dark-mode.
 * These rules are deliberately scoped to FixZone Repair frontend
 * surfaces so they cannot recolor unrelated WordPress/plugin UI.
 * ========================================================= */

html.sdmt-dark-mode body .fzrm-booking,
html.sdmt-dark-mode body .fzrm-customer-repairs,
html.sdmt-dark-mode body .fzrm-customer-repair-details-page {
	--fzrm-background: #050806;
	--fzrm-surface: #0d140f;
	--fzrm-surface-soft: #121a15;
	--fzrm-text: #f2f7f3;
	--fzrm-muted: #aebbb2;
	--fzrm-border: #2b3a2f;
	--fzrm-accent: #45bd3b;
	--fzrm-accent-soft: #14271a;
	background: #050806 !important;
	color: #e7ebe8 !important;
}

/* Headings, labels and ordinary content */
html.sdmt-dark-mode body .fzrm-booking :is(
	h1,h2,h3,h4,h5,h6,
	.fzrm-booking-step-heading,
	.fzrm-brand-selection-header h2,
	.fzrm-category-selection-header h2,
	.fzrm-service-category-header h2,
	.fzrm-category-brand-header h2,
	.fzrm-brand-card-title,
	.fzrm-category-brand-copy strong,
	.fzrm-service-category-copy strong,
	.fzrm-hierarchy-card-title,
	.fzrm-device-model-title,
	.fzrm-hierarchy-choice-copy strong,
	.fzrm-service-card h4,
	.fzrm-part-card h4,
	.fzrm-branch-card h4,
	.fzrm-review-card h3,
	.fzrm-calendar-header h4,
	.fzrm-time-heading h4,
	.fzrm-time-empty-state h4,
	.fzrm-auth-copy h3,
	.fzrm-form-field label
) {
	color: #f4f8f5 !important;
}

html.sdmt-dark-mode body .fzrm-booking :is(
	p,small,
	.fzrm-brand-selection-header p,
	.fzrm-category-selection-header p,
	.fzrm-service-category-header p,
	.fzrm-category-brand-header p,
	.fzrm-brand-card-meta,
	.fzrm-category-brand-copy small,
	.fzrm-service-category-copy small,
	.fzrm-hierarchy-card-description,
	.fzrm-device-model-name,
	.fzrm-device-model-description,
	.fzrm-hierarchy-choice-copy small,
	.fzrm-service-description,
	.fzrm-service-time,
	.fzrm-part-meta,
	.fzrm-part-description,
	.fzrm-part-repair-time,
	.fzrm-booking-selection-path,
	.fzrm-booking-selection-summary,
	.fzrm-review-card dt,
	.fzrm-review-card dd,
	.fzrm-time-empty-state p,
	.fzrm-auth-copy p
) {
	color: #b8c3bb !important;
}

/* Shared card surfaces */
html.sdmt-dark-mode body .fzrm-booking :is(
	.fzrm-brand-info-panel,
	.fzrm-brand-card,
	.fzrm-category-card,
	.fzrm-service-category-card,
	.fzrm-category-brand-card,
	.fzrm-hierarchy-card,
	.fzrm-device-model-card,
	.fzrm-hierarchy-choice-card,
	.fzrm-device-card,
	.fzrm-service-card,
	.fzrm-part-card,
	.fzrm-branch-card,
	.fzrm-appointment-card,
	.fzrm-review-card,
	.fzrm-calendar-panel,
	.fzrm-time-panel,
	.fzrm-email-verification,
	.fzrm-login-required,
	.fzrm-booking-success
) {
	background: #0d140f !important;
	background-color: #0d140f !important;
	border-color: #2b3a2f !important;
	color: #eef4ef !important;
	box-shadow: none !important;
}

/* Selected/hovered cards */
html.sdmt-dark-mode body .fzrm-booking :is(
	.fzrm-brand-card,
	.fzrm-category-card,
	.fzrm-service-category-card,
	.fzrm-category-brand-card,
	.fzrm-hierarchy-card,
	.fzrm-device-model-card,
	.fzrm-hierarchy-choice-card,
	.fzrm-device-card,
	.fzrm-service-card,
	.fzrm-part-card,
	.fzrm-branch-card
):hover,
html.sdmt-dark-mode body .fzrm-booking :is(
	.fzrm-brand-card,
	.fzrm-category-card,
	.fzrm-service-category-card,
	.fzrm-category-brand-card,
	.fzrm-hierarchy-card,
	.fzrm-device-model-card,
	.fzrm-hierarchy-choice-card,
	.fzrm-device-card,
	.fzrm-service-card,
	.fzrm-part-card,
	.fzrm-branch-card
):focus-visible {
	background: #112418 !important;
	border-color: #4fb548 !important;
	color: #fff !important;
}

html.sdmt-dark-mode body .fzrm-booking :is(
	.fzrm-device-card.is-selected,
	.fzrm-service-card.is-selected,
	.fzrm-part-card.is-selected,
	.fzrm-branch-card.is-selected,
	.fzrm-hierarchy-card.is-selected,
	.fzrm-device-model-card.is-selected
) {
	background: #14291a !important;
	border-color: #55bd4e !important;
	box-shadow: 0 0 0 2px rgba(69,189,59,.15) !important;
}

/* Brand and category media/icon containers */
html.sdmt-dark-mode body .fzrm-booking :is(
	.fzrm-brand-card-media,
	.fzrm-category-brand-media,
	.fzrm-service-category-icon,
	.fzrm-category-card-icon,
	.fzrm-device-card-action,
	.fzrm-service-card-action,
	.fzrm-part-card-action,
	.fzrm-brand-card-arrow,
	.fzrm-category-brand-arrow,
	.fzrm-hierarchy-choice-arrow
) {
	background: #14271a !important;
	border-color: #2e4934 !important;
	color: #6bdb62 !important;
}

html.sdmt-dark-mode body .fzrm-booking :is(
	.fzrm-brand-card:hover .fzrm-brand-card-arrow,
	.fzrm-category-brand-card:hover .fzrm-category-brand-arrow,
	.fzrm-hierarchy-choice-card:hover .fzrm-hierarchy-choice-arrow
) {
	background: #35a92f !important;
	border-color: #35a92f !important;
	color: #fff !important;
}

html.sdmt-dark-mode body .fzrm-booking .fzrm-brand-card-fallback,
html.sdmt-dark-mode body .fzrm-booking .fzrm-category-brand-fallback {
	color: #6bdb62 !important;
}

/* Sidebar/help areas */
html.sdmt-dark-mode body .fzrm-booking .fzrm-brand-info-panel {
	background-image: linear-gradient(180deg,#0d140f 0%,#101a13 100%) !important;
}
html.sdmt-dark-mode body .fzrm-booking .fzrm-brand-info-panel h3,
html.sdmt-dark-mode body .fzrm-booking .fzrm-brand-help-box strong,
html.sdmt-dark-mode body .fzrm-booking .fzrm-brand-info-list li {
	color: #eef4ef !important;
}
html.sdmt-dark-mode body .fzrm-booking .fzrm-brand-info-panel > p,
html.sdmt-dark-mode body .fzrm-booking .fzrm-brand-help-box span {
	color: #b7c3ba !important;
}
html.sdmt-dark-mode body .fzrm-booking .fzrm-brand-help-box {
	border-top-color: #2b3a2f !important;
}

/* Service / price details */
html.sdmt-dark-mode body .fzrm-booking .fzrm-part-price,
html.sdmt-dark-mode body .fzrm-booking .fzrm-final-price,
html.sdmt-dark-mode body .fzrm-booking .fzrm-estimate-service-heading,
html.sdmt-dark-mode body .fzrm-booking .fzrm-estimate-service-card strong {
	color: #72dc68 !important;
}
html.sdmt-dark-mode body .fzrm-booking .fzrm-estimate-service-card {
	background: #101a13 !important;
	border-color: #2b3a2f !important;
	color: #eef4ef !important;
}
html.sdmt-dark-mode body .fzrm-booking .fzrm-estimate-note {
	color: #aebbb2 !important;
}

/* Inputs / selects / textareas */
html.sdmt-dark-mode body .fzrm-booking :is(
	input[type="text"],
	input[type="email"],
	input[type="tel"],
	input[type="number"],
	input[type="date"],
	input[type="time"],
	select,
	textarea
) {
	background: #121a15 !important;
	color: #fff !important;
	border-color: #2b3a2f !important;
	box-shadow: none !important;
}
html.sdmt-dark-mode body .fzrm-booking :is(input,textarea)::placeholder {
	color: #849188 !important;
	opacity: 1 !important;
}
html.sdmt-dark-mode body .fzrm-booking :is(input,select,textarea):focus {
	border-color: #55bd4e !important;
	box-shadow: 0 0 0 3px rgba(69,189,59,.12) !important;
	outline: none !important;
}

/* Native checkbox/radio controls */
html.sdmt-dark-mode body .fzrm-booking input[type="checkbox"],
html.sdmt-dark-mode body .fzrm-booking input[type="radio"] {
	accent-color: #35a92f;
}

/* Calendar and time slots */
html.sdmt-dark-mode body .fzrm-booking .fzrm-calendar {
	background: transparent !important;
	color: #eef4ef !important;
}
html.sdmt-dark-mode body .fzrm-booking .fzrm-calendar-weekdays span {
	color: #c4cec7 !important;
}
html.sdmt-dark-mode body .fzrm-booking .fzrm-calendar-nav {
	background: #121f16 !important;
	border-color: #314636 !important;
	color: #72dc68 !important;
}
html.sdmt-dark-mode body .fzrm-booking .fzrm-calendar-nav:hover,
html.sdmt-dark-mode body .fzrm-booking .fzrm-calendar-nav:focus-visible {
	background: #17301d !important;
	border-color: #57b84f !important;
	color: #fff !important;
}
html.sdmt-dark-mode body .fzrm-booking .fzrm-calendar-day {
	background: #121a15 !important;
	border-color: #2b3a2f !important;
	color: #eef4ef !important;
}
html.sdmt-dark-mode body .fzrm-booking .fzrm-calendar-day:hover:not(.is-disabled),
html.sdmt-dark-mode body .fzrm-booking .fzrm-calendar-day:focus-visible:not(.is-disabled) {
	background: #17301d !important;
	border-color: #57b84f !important;
}
html.sdmt-dark-mode body .fzrm-booking .fzrm-calendar-day.is-disabled,
html.sdmt-dark-mode body .fzrm-booking .fzrm-calendar-day.is-empty {
	background: #0b100d !important;
	border-color: #202b23 !important;
	color: #68756c !important;
}
html.sdmt-dark-mode body .fzrm-booking .fzrm-calendar-day.is-today:not(.is-selected) {
	border-color: #65bd5d !important;
	color: #8ae081 !important;
}
html.sdmt-dark-mode body .fzrm-booking .fzrm-calendar-day.is-selected,
html.sdmt-dark-mode body .fzrm-booking .fzrm-time-slot.is-selected {
	background: #35a92f !important;
	border-color: #69cf61 !important;
	color: #fff !important;
}
html.sdmt-dark-mode body .fzrm-booking .fzrm-time-slot {
	background: #121a15 !important;
	border-color: #314036 !important;
	color: #eef4ef !important;
}
html.sdmt-dark-mode body .fzrm-booking .fzrm-time-slot:hover,
html.sdmt-dark-mode body .fzrm-booking .fzrm-time-slot:focus-visible {
	background: #17301d !important;
	border-color: #57b84f !important;
	color: #fff !important;
}

/* OTP / auth messages */
html.sdmt-dark-mode body .fzrm-booking .fzrm-auth-alert.is-success,
html.sdmt-dark-mode body .fzrm-booking .fzrm-auth-verified {
	background: #112418 !important;
	border-color: #254f2d !important;
	color: #a8e8ae !important;
}
html.sdmt-dark-mode body .fzrm-booking .fzrm-auth-alert.is-error,
html.sdmt-dark-mode body .fzrm-booking .fzrm-booking-message-error,
html.sdmt-dark-mode body .fzrm-booking .fzrm-message.is-error {
	background: #251313 !important;
	border-color: #5a2929 !important;
	color: #f0b5b5 !important;
}

/* Progress / summaries / dividers */
html.sdmt-dark-mode body .fzrm-booking .fzrm-booking-progress,
html.sdmt-dark-mode body .fzrm-booking .fzrm-booking-selection-summary,
html.sdmt-dark-mode body .fzrm-booking .fzrm-booking-number,
html.sdmt-dark-mode body .fzrm-booking .fzrm-message {
	background: #101812 !important;
	border-color: #2b3a2f !important;
	color: #dce5de !important;
}
html.sdmt-dark-mode body .fzrm-booking .fzrm-booking-progress li {
	color: #aebbb2 !important;
}
html.sdmt-dark-mode body .fzrm-booking .fzrm-booking-progress li.is-active,
html.sdmt-dark-mode body .fzrm-booking .fzrm-booking-progress li.is-complete {
	color: #75d66d !important;
}

/* Buttons / links within booking */
html.sdmt-dark-mode body .fzrm-booking a:not(.button):not(.fzrm-primary-button),
html.sdmt-dark-mode body .fzrm-booking .fzrm-category-back-button {
	color: #78d970;
}
html.sdmt-dark-mode body .fzrm-booking .fzrm-category-back-button,
html.sdmt-dark-mode body .fzrm-booking .fzrm-booking-navigation .button:not(.button-primary) {
	background: #121a15 !important;
	border-color: #34463a !important;
	color: #eef4ef !important;
}
html.sdmt-dark-mode body .fzrm-booking .fzrm-category-back-button:hover,
html.sdmt-dark-mode body .fzrm-booking .fzrm-booking-navigation .button:not(.button-primary):hover {
	background: #17301d !important;
	border-color: #57b84f !important;
	color: #fff !important;
}

/* Review / success */
html.sdmt-dark-mode body .fzrm-booking .fzrm-review-card dl,
html.sdmt-dark-mode body .fzrm-booking .fzrm-review-card dt,
html.sdmt-dark-mode body .fzrm-booking .fzrm-review-card dd {
	border-color: #29372d !important;
}
html.sdmt-dark-mode body .fzrm-booking .fzrm-booking-success {
	background: #0f1a12 !important;
}

/* Customer dashboard surfaces belonging to Repair Management */
html.sdmt-dark-mode body :is(.fzrm-customer-repair-card,.fzrm-repair-detail-card,.fzrm-repair-additional-info,.fzrm-status-timeline-section,.fzrm-customer-updates-section,.fzrm-cancel-booking-box,.fzrm-cancellation-unavailable) {
	background: #0d140f !important;
	border-color: #2b3a2f !important;
	color: #e8eee9 !important;
}
html.sdmt-dark-mode body :is(.fzrm-customer-repairs,.fzrm-customer-repair-details-page) :is(h2,h3,strong,dt) {
	color: #f4f8f5 !important;
}
html.sdmt-dark-mode body :is(.fzrm-customer-repairs,.fzrm-customer-repair-details-page) :is(p,span,dd,time) {
	color: #b8c3bb;
}

/* Keep dark mode confined to explicit site state; no OS auto-dark. */
html:not(.sdmt-dark-mode) body .fzrm-booking {
	color-scheme: light;
}
html.sdmt-dark-mode body .fzrm-booking {
	color-scheme: dark;
}

/* =========================================================
 * FixZone Repair Management 1.5.2 — definitive SDMT integration
 * Root cause fixed:
 * - Early wizard screens use .fzrm-booking-step without .fzrm-booking.
 * - Site Dark Mode Toggle applies black/white !important rules to generic
 *   div/span/link elements. These scoped rules intentionally outrank those
 *   generic rules without affecting any non-FixZone frontend surface.
 * ========================================================= */

/* Dark surfaces for BOTH Repair frontend roots. */
html.sdmt-dark-mode body .fzrm-booking-step,
html.sdmt-dark-mode body .fzrm-booking {
	--fzrm-dm-bg: #050806;
	--fzrm-dm-surface: #0d140f;
	--fzrm-dm-surface-soft: #121a15;
	--fzrm-dm-surface-hover: #15231a;
	--fzrm-dm-line: #2b3a2f;
	--fzrm-dm-text: #f2f7f3;
	--fzrm-dm-muted: #aebbb2;
	--fzrm-dm-green: #45bd3b;
	--fzrm-dm-green-soft: #17301d;
	background-color: #050806 !important;
	color: #f2f7f3 !important;
	color-scheme: dark;
}

/* Generic text/copy descendants must not inherit invisible theme values. */
html.sdmt-dark-mode body .fzrm-booking-step :is(h1,h2,h3,h4,h5,h6,strong,b,label,legend),
html.sdmt-dark-mode body .fzrm-booking :is(h1,h2,h3,h4,h5,h6,strong,b,label,legend) {
	color: #f2f7f3 !important;
}
html.sdmt-dark-mode body .fzrm-booking-step :is(p,small,em,span,li,dt,dd,time),
html.sdmt-dark-mode body .fzrm-booking :is(p,small,em,span,li,dt,dd,time) {
	color: #b8c3bb !important;
}

/* Neutralise SDMT's generic black background on nested text/copy wrappers. */
html.sdmt-dark-mode body .fzrm-booking-step :is(
	.fzrm-brand-card-content,
	.fzrm-category-card-body,
	.fzrm-category-brand-copy,
	.fzrm-service-category-copy,
	.fzrm-hierarchy-choice-copy,
	.fzrm-model-card-body,
	.fzrm-repair-problem-content,
	.fzrm-repair-card-meta,
	.fzrm-time-heading,
	.fzrm-auth-copy
),
html.sdmt-dark-mode body .fzrm-booking :is(
	.fzrm-brand-card-content,
	.fzrm-category-card-body,
	.fzrm-category-brand-copy,
	.fzrm-service-category-copy,
	.fzrm-hierarchy-choice-copy,
	.fzrm-model-card-body,
	.fzrm-repair-problem-content,
	.fzrm-repair-card-meta,
	.fzrm-time-heading,
	.fzrm-auth-copy
) {
	background: transparent !important;
	background-color: transparent !important;
}

/* Primary selection cards across the whole wizard. */
html.sdmt-dark-mode body .fzrm-booking-step :is(
	.fzrm-brand-card,
	.fzrm-category-card,
	.fzrm-category-brand-card,
	.fzrm-service-category-card,
	.fzrm-hierarchy-card,
	.fzrm-hierarchy-choice-card,
	.fzrm-model-card,
	.fzrm-device-model-card,
	.fzrm-repair-problem-card,
	.fzrm-price-option,
	.fzrm-branch-card,
	.fzrm-calendar-panel,
	.fzrm-time-panel,
	.fzrm-email-verification,
	.fzrm-login-required,
	.fzrm-review-card,
	.fzrm-booking-message
),
html.sdmt-dark-mode body .fzrm-booking :is(
	.fzrm-brand-card,
	.fzrm-category-card,
	.fzrm-category-brand-card,
	.fzrm-service-category-card,
	.fzrm-hierarchy-card,
	.fzrm-hierarchy-choice-card,
	.fzrm-model-card,
	.fzrm-device-model-card,
	.fzrm-repair-problem-card,
	.fzrm-price-option,
	.fzrm-branch-card,
	.fzrm-calendar-panel,
	.fzrm-time-panel,
	.fzrm-email-verification,
	.fzrm-login-required,
	.fzrm-review-card,
	.fzrm-booking-message
) {
	background: #0d140f !important;
	background-color: #0d140f !important;
	border-color: #2b3a2f !important;
	color: #f2f7f3 !important;
	box-shadow: none !important;
}

/* Hover/focus and selected card states. */
html.sdmt-dark-mode body .fzrm-booking-step :is(
	.fzrm-brand-card,
	.fzrm-category-card,
	.fzrm-category-brand-card,
	.fzrm-service-category-card,
	.fzrm-hierarchy-card,
	.fzrm-hierarchy-choice-card,
	.fzrm-model-card,
	.fzrm-device-model-card,
	.fzrm-repair-problem-card,
	.fzrm-price-option,
	.fzrm-branch-card
):is(:hover,:focus-visible),
html.sdmt-dark-mode body .fzrm-booking :is(
	.fzrm-brand-card,
	.fzrm-category-card,
	.fzrm-category-brand-card,
	.fzrm-service-category-card,
	.fzrm-hierarchy-card,
	.fzrm-hierarchy-choice-card,
	.fzrm-model-card,
	.fzrm-device-model-card,
	.fzrm-repair-problem-card,
	.fzrm-price-option,
	.fzrm-branch-card
):is(:hover,:focus-visible) {
	background: #15231a !important;
	border-color: #4fb548 !important;
	color: #fff !important;
}
html.sdmt-dark-mode body .fzrm-booking-step :is(
	.fzrm-brand-card.is-selected,
	.fzrm-category-card.is-selected,
	.fzrm-hierarchy-card.is-selected,
	.fzrm-device-model-card.is-selected,
	.fzrm-repair-problem-card.is-selected,
	.fzrm-price-option.is-selected,
	.fzrm-branch-card.is-selected
),
html.sdmt-dark-mode body .fzrm-booking :is(
	.fzrm-brand-card.is-selected,
	.fzrm-category-card.is-selected,
	.fzrm-hierarchy-card.is-selected,
	.fzrm-device-model-card.is-selected,
	.fzrm-repair-problem-card.is-selected,
	.fzrm-price-option.is-selected,
	.fzrm-branch-card.is-selected
) {
	background: #14291a !important;
	border-color: #55bd4e !important;
	box-shadow: 0 0 0 2px rgba(69,189,59,.16) !important;
}

/* Titles, names, price and important values inside cards. */
html.sdmt-dark-mode body .fzrm-booking-step :is(
	.fzrm-brand-card-title,
	.fzrm-category-card-title,
	.fzrm-category-brand-copy strong,
	.fzrm-service-category-copy strong,
	.fzrm-hierarchy-card-title,
	.fzrm-hierarchy-choice-copy strong,
	.fzrm-model-card-title,
	.fzrm-model-card-name,
	.fzrm-repair-problem-content strong,
	.fzrm-repair-card-price,
	.fzrm-part-price,
	.fzrm-final-price
),
html.sdmt-dark-mode body .fzrm-booking :is(
	.fzrm-brand-card-title,
	.fzrm-category-card-title,
	.fzrm-category-brand-copy strong,
	.fzrm-service-category-copy strong,
	.fzrm-hierarchy-card-title,
	.fzrm-hierarchy-choice-copy strong,
	.fzrm-model-card-title,
	.fzrm-model-card-name,
	.fzrm-repair-problem-content strong,
	.fzrm-repair-card-price,
	.fzrm-part-price,
	.fzrm-final-price
) {
	color: #f4f8f5 !important;
	background: transparent !important;
}
html.sdmt-dark-mode body .fzrm-booking-step :is(
	.fzrm-brand-card-meta,
	.fzrm-category-card-description,
	.fzrm-category-brand-copy small,
	.fzrm-service-category-copy small,
	.fzrm-hierarchy-card-description,
	.fzrm-hierarchy-choice-copy small,
	.fzrm-device-model-description,
	.fzrm-repair-card-meta,
	.fzrm-service-time
),
html.sdmt-dark-mode body .fzrm-booking :is(
	.fzrm-brand-card-meta,
	.fzrm-category-card-description,
	.fzrm-category-brand-copy small,
	.fzrm-service-category-copy small,
	.fzrm-hierarchy-card-description,
	.fzrm-hierarchy-choice-copy small,
	.fzrm-device-model-description,
	.fzrm-repair-card-meta,
	.fzrm-service-time
) {
	color: #aebbb2 !important;
	background: transparent !important;
}
html.sdmt-dark-mode body .fzrm-booking-step :is(.fzrm-repair-card-price,.fzrm-part-price,.fzrm-final-price),
html.sdmt-dark-mode body .fzrm-booking :is(.fzrm-repair-card-price,.fzrm-part-price,.fzrm-final-price) {
	color: #72dc68 !important;
}

/* Logos/icons/arrows: preserve images, use a controlled dark icon surface. */
html.sdmt-dark-mode body .fzrm-booking-step :is(
	.fzrm-brand-card-media,
	.fzrm-category-brand-media,
	.fzrm-category-card-icon,
	.fzrm-service-category-icon,
	.fzrm-brand-card-arrow,
	.fzrm-category-brand-arrow,
	.fzrm-service-category-arrow,
	.fzrm-hierarchy-choice-arrow,
	.fzrm-model-card-icon,
	.fzrm-model-card-action
),
html.sdmt-dark-mode body .fzrm-booking :is(
	.fzrm-brand-card-media,
	.fzrm-category-brand-media,
	.fzrm-category-card-icon,
	.fzrm-service-category-icon,
	.fzrm-brand-card-arrow,
	.fzrm-category-brand-arrow,
	.fzrm-service-category-arrow,
	.fzrm-hierarchy-choice-arrow,
	.fzrm-model-card-icon,
	.fzrm-model-card-action
) {
	background: #14271a !important;
	background-color: #14271a !important;
	border-color: #2e4934 !important;
	color: #6bdb62 !important;
}
html.sdmt-dark-mode body .fzrm-booking-step :is(.fzrm-brand-card-media,.fzrm-category-brand-media) img,
html.sdmt-dark-mode body .fzrm-booking :is(.fzrm-brand-card-media,.fzrm-category-brand-media) img {
	filter: none !important;
	opacity: 1 !important;
	visibility: visible !important;
	mix-blend-mode: normal !important;
}

/* Header/back/path controls on early steps. */
html.sdmt-dark-mode body .fzrm-booking-step :is(
	.fzrm-booking-step-header,
	.fzrm-model-header-row,
	.fzrm-model-selection-path,
	.fzrm-model-footer,
	.fzrm-category-footer
) {
	background: transparent !important;
	background-color: transparent !important;
}
html.sdmt-dark-mode body .fzrm-booking-step :is(
	.fzrm-model-back-link,
	.fzrm-model-back-button,
	.fzrm-category-back-button
) {
	background: #121a15 !important;
	border-color: #34463a !important;
	color: #eef4ef !important;
	text-decoration: none !important;
}
html.sdmt-dark-mode body .fzrm-booking-step :is(
	.fzrm-model-back-link,
	.fzrm-model-back-button,
	.fzrm-category-back-button
):is(:hover,:focus-visible) {
	background: #17301d !important;
	border-color: #57b84f !important;
	color: #fff !important;
}

/* Brand helper/sidebar from original brand-first flow. */
html.sdmt-dark-mode body .fzrm-booking-step .fzrm-brand-info-panel {
	background: linear-gradient(180deg,#0d140f 0%,#101a13 100%) !important;
	border-color: #2b3a2f !important;
	color: #eef4ef !important;
}
html.sdmt-dark-mode body .fzrm-booking-step .fzrm-brand-info-panel :is(h3,strong,li) {
	color: #eef4ef !important;
	background: transparent !important;
}
html.sdmt-dark-mode body .fzrm-booking-step .fzrm-brand-info-panel :is(p,span) {
	color: #b7c3ba !important;
	background: transparent !important;
}
html.sdmt-dark-mode body .fzrm-booking-step .fzrm-brand-info-icon {
	background: #17301d !important;
	color: #72dc68 !important;
}

/* Form controls and OTP/details surfaces regardless of which root they render under. */
html.sdmt-dark-mode body :is(.fzrm-booking-step,.fzrm-booking) :is(
	input[type="text"],input[type="email"],input[type="tel"],input[type="number"],input[type="date"],input[type="time"],select,textarea
) {
	background: #121a15 !important;
	background-color: #121a15 !important;
	color: #fff !important;
	border-color: #2b3a2f !important;
	box-shadow: none !important;
}
html.sdmt-dark-mode body :is(.fzrm-booking-step,.fzrm-booking) :is(input,textarea)::placeholder {
	color: #849188 !important;
	opacity: 1 !important;
}
html.sdmt-dark-mode body :is(.fzrm-booking-step,.fzrm-booking) :is(input,select,textarea):focus {
	border-color: #55bd4e !important;
	box-shadow: 0 0 0 3px rgba(69,189,59,.12) !important;
	outline: none !important;
}

/* Calendar/time controls: explicitly override SDMT's generic button/link rules. */
html.sdmt-dark-mode body :is(.fzrm-booking-step,.fzrm-booking) .fzrm-calendar {
	background: transparent !important;
	color: #eef4ef !important;
}
html.sdmt-dark-mode body :is(.fzrm-booking-step,.fzrm-booking) .fzrm-calendar-weekdays span {
	background: transparent !important;
	color: #c4cec7 !important;
}
html.sdmt-dark-mode body :is(.fzrm-booking-step,.fzrm-booking) .fzrm-calendar-day,
html.sdmt-dark-mode body :is(.fzrm-booking-step,.fzrm-booking) .fzrm-time-slot {
	background: #121a15 !important;
	background-color: #121a15 !important;
	border-color: #314036 !important;
	color: #eef4ef !important;
	text-decoration: none !important;
}
html.sdmt-dark-mode body :is(.fzrm-booking-step,.fzrm-booking) .fzrm-calendar-day.is-disabled,
html.sdmt-dark-mode body :is(.fzrm-booking-step,.fzrm-booking) .fzrm-calendar-day.is-empty {
	background: #0b100d !important;
	border-color: #202b23 !important;
	color: #68756c !important;
}
html.sdmt-dark-mode body :is(.fzrm-booking-step,.fzrm-booking) .fzrm-calendar-day.is-selected,
html.sdmt-dark-mode body :is(.fzrm-booking-step,.fzrm-booking) .fzrm-time-slot.is-selected {
	background: #35a92f !important;
	border-color: #69cf61 !important;
	color: #fff !important;
}
html.sdmt-dark-mode body :is(.fzrm-booking-step,.fzrm-booking) .fzrm-calendar-nav {
	background: #121f16 !important;
	border-color: #314636 !important;
	color: #72dc68 !important;
}

/* Buttons and links inside Repair keep their intended green hierarchy. */
html.sdmt-dark-mode body :is(.fzrm-booking-step,.fzrm-booking) a {
	text-decoration-color: transparent !important;
}
html.sdmt-dark-mode body :is(.fzrm-booking-step,.fzrm-booking) :is(.fzrm-primary-button,.button-primary) {
	background: #35a92f !important;
	border-color: #35a92f !important;
	color: #fff !important;
}

/* Keep light mode explicit and unchanged. */
html:not(.sdmt-dark-mode) body .fzrm-booking-step,
html:not(.sdmt-dark-mode) body .fzrm-booking {
	color-scheme: light;
}
