.myload-reviews-home {
	display: grid;
	grid-template-columns: 70fr 30fr;
	gap: 18px;
	align-items: stretch;
	margin: 26px auto;
	width: min(100% - 28px, 1180px);
	color: #111827;
}

.myload-reviews-home__scroller,
.myload-reviews-home__form,
.myload-reviews-page,
.myload-review-widget {
	border: 1px solid #dee2e6;
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 12px 34px rgba(15, 23, 42, .05);
}

.myload-reviews-home__scroller {
	display: grid;
	align-content: start;
	padding: 16px;
	overflow: hidden;
}

.myload-reviews-home__form {
	display: grid;
	align-content: start;
}

.myload-reviews-track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 24px) / 3);
	gap: 12px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: 8px;
}

.myload-review-item {
	scroll-snap-align: start;
	display: grid;
	gap: 10px;
	min-height: 176px;
	padding: 16px;
	border: 1px solid #edf0f2;
	border-radius: 8px;
	background: #f8fafc;
}

.myload-review-item.is-filtered-out {
	display: none !important;
}

.myload-review-item__stars {
	color: #ef130b;
	font-size: 18px;
	letter-spacing: 0;
}

.myload-review-item p {
	margin: 0;
	color: #667085;
	font-size: 14px;
	line-height: 1.5;
}

.myload-review-item strong {
	align-self: end;
	color: #111827;
	font-size: 14px;
}

.myload-reviews-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 12px;
}

.myload-reviews-filter button,
.myload-reviews-filter a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 0 11px;
	border: 1px solid #dee2e6;
	border-radius: 999px;
	background: #ffffff;
	color: #111827;
	cursor: pointer;
	text-decoration: none;
	font-size: 13px;
	font-weight: 700;
}

.myload-reviews-filter .is-active,
.myload-reviews-filter button:hover,
.myload-reviews-filter a:hover {
	border-color: #ef130b;
	background: #ef130b;
	color: #ffffff;
}

.myload-reviews-home__form {
	padding: 16px;
}

.myload-review-form {
	display: grid;
	gap: 11px;
}

.myload-review-form h3 {
	margin: 0;
	font-size: 20px;
}

.myload-review-form input[type="text"],
.myload-review-form input[type="email"],
.myload-review-form textarea {
	width: 100%;
	min-height: 42px;
	padding: 10px 12px;
	border: 1px solid #dee2e6;
	border-radius: 6px;
	background: #ffffff;
	color: #111827;
}

.myload-review-form textarea {
	min-height: 112px;
	resize: vertical;
}

.myload-review-stars-input {
	display: inline-flex;
	flex-direction: row;
	justify-content: flex-end;
	gap: 3px;
	width: max-content;
	max-width: 100%;
	padding: 7px 9px;
	border: 1px solid #dee2e6;
	border-radius: 8px;
	background: #ffffff;
}

.myload-review-stars-input label {
	cursor: pointer;
}

.myload-review-stars-input input {
	position: absolute;
	opacity: 0;
}

.myload-review-stars-input span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border: 0;
	border-radius: 999px;
	color: #c6ccd3;
	font-size: 22px;
	line-height: 1;
	transition: color .15s ease, transform .15s ease;
}

.myload-review-stars-input label.is-active span,
.myload-review-stars-input label.is-hovered span,
.myload-review-stars-input label:hover span {
	color: #ef130b;
	transform: translateY(-1px);
}

.myload-review-form button,
.myload-review-widget a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 16px;
	border: 1px solid #ef130b;
	border-radius: 6px;
	background: #ef130b;
	color: #ffffff;
	cursor: pointer;
	font-weight: 700;
	text-decoration: none;
}

.myload-reviews-page {
	width: min(100% - 28px, 1180px);
	margin: 24px auto;
	padding: 16px;
}

.myload-reviews-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.myload-review-widget {
	display: grid;
	gap: 10px;
	margin: 18px 0;
	padding: 18px;
}

.myload-review-widget span {
	color: #ef130b;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
}

.myload-review-widget h2 {
	margin: 0;
	font-size: 24px;
}

html[data-theme="dark"] .myload-reviews-home,
html[data-theme="dark"] .myload-reviews-page,
html[data-theme="dark"] .myload-review-widget {
	color: #f7f7f7;
}

html[data-theme="dark"] .myload-reviews-home__scroller,
html[data-theme="dark"] .myload-reviews-home__form,
html[data-theme="dark"] .myload-reviews-page,
html[data-theme="dark"] .myload-review-widget,
html[data-theme="dark"] .myload-review-item,
html[data-theme="dark"] .myload-review-form input,
html[data-theme="dark"] .myload-review-form textarea,
html[data-theme="dark"] .myload-review-stars-input,
html[data-theme="dark"] .myload-reviews-filter button,
html[data-theme="dark"] .myload-reviews-filter a {
	border-color: #333b47;
	background: #171b22;
	color: #f7f7f7;
}

html[data-theme="dark"] .myload-review-stars-input span {
	color: #596273;
}

html[data-theme="dark"] .myload-review-stars-input label.is-active span,
html[data-theme="dark"] .myload-review-stars-input label.is-hovered span,
html[data-theme="dark"] .myload-review-stars-input label:hover span {
	color: #ff4b43;
}

.myload-review-stars-input:has(label:nth-child(1):hover) label:nth-child(-n+1) span,
.myload-review-stars-input:has(label:nth-child(2):hover) label:nth-child(-n+2) span,
.myload-review-stars-input:has(label:nth-child(3):hover) label:nth-child(-n+3) span,
.myload-review-stars-input:has(label:nth-child(4):hover) label:nth-child(-n+4) span,
.myload-review-stars-input:has(label:nth-child(5):hover) label:nth-child(-n+5) span {
	color: #ef130b;
	transform: translateY(-1px);
}

.myload-my-reviews {
	display: grid;
	gap: 12px;
	margin-top: 20px;
}

.myload-my-reviews h2 {
	margin: 0;
	font-size: 22px;
}

.myload-my-review-card {
	display: grid;
	gap: 10px;
	padding: 14px;
	border: 1px solid #dee2e6;
	border-radius: 8px;
	background: #ffffff;
}

html[data-theme="dark"] .myload-my-review-card {
	border-color: #333b47;
	background: #171b22;
}

html[data-theme="dark"] .myload-my-review-card > span {
	background: #222936;
	color: #b8c0cc;
}

.myload-my-review-card > span {
	width: max-content;
	padding: 4px 9px;
	border-radius: 999px;
	background: #f8fafc;
	color: #667085;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
}

html[data-theme="dark"] .myload-review-item p {
	color: #b8c0cc;
}

html[data-theme="dark"] .myload-review-item strong {
	color: #f7f7f7;
}

@media (max-width: 820px) {
	.myload-reviews-home {
		grid-template-columns: 1fr;
	}

	.myload-reviews-track {
		grid-auto-columns: 100%;
	}

	.myload-reviews-grid {
		grid-template-columns: 1fr;
	}
}
