/* ---------- Leave a Review form (sits on the dark post-hero fill, like Contact) ---------- */
.a5-review-form {
	max-width: 620px;
}
.a5-review-form .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}
.a5-review-form__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.a5-review-form__field {
	margin: 0 0 20px;
	padding: 0;
	border: 0;
	min-width: 0;
}
.a5-review-form__field label,
.a5-review-form__field legend,
.a5-review-form__group-title {
	display: block;
	margin: 0 0 6px;
	padding: 0;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-weight: 600;
	color: #f3f3e8;
}
.a5-review-form__group-title span {
	text-transform: none;
	letter-spacing: 0;
	font-weight: 400;
	opacity: 0.75;
}
.a5-review-form__field input[type="text"],
.a5-review-form__field input[type="email"],
.a5-review-form__field select,
.a5-review-form__field textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
	font-size: 15px;
	font-family: inherit;
	color: #151616;
	background-color: #ffffff;
	border: 1px solid rgba(21, 22, 22, 0.2);
	border-radius: 4px;
}
.a5-review-form__field input:focus,
.a5-review-form__field select:focus,
.a5-review-form__field textarea:focus {
	outline: none;
	border-color: #151616;
}
.a5-review-form__field input[type="file"] {
	width: 100%;
	color: #f3f3e8;
	font-size: 14px;
}
.a5-review-form__help {
	margin: 6px 0 0;
	font-size: 13px;
	color: rgba(243, 243, 232, 0.7);
}
.a5-review-form__photo-msg {
	margin: 6px 0 0;
	font-size: 13px;
	color: #f1b0b0;
	min-height: 1px;
}
.a5-review-form__previews {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 10px;
}
.a5-review-form__previews img {
	width: 84px;
	height: 84px;
	object-fit: cover;
	border-radius: 6px;
}
.a5-review-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 16px;
}
.a5-review-form__group {
	margin: 0 0 20px;
}
.a5-review-form__choices {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	color: #f3f3e8;
	font-size: 14px;
}
.a5-review-form__choices label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	text-transform: none;
	letter-spacing: 0;
	font-weight: 400;
	font-size: 14px;
}
.a5-review-form__consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 4px 0 24px;
	font-size: 14px;
	color: #f3f3e8;
}
.a5-review-form__consent input {
	margin-top: 3px;
}
.a5-review-form__submit {
	display: inline-block;
	background-color: #f3f3e8;
	color: #151616;
	text-transform: uppercase;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	padding: 13px 32px;
	border: none;
	border-radius: 28px;
	cursor: pointer;
	transition: background-color 0.2s ease;
}
.a5-review-form__submit:hover {
	background-color: #ffffff;
}
.a5-review-form__submit:disabled {
	opacity: 0.6;
	cursor: default;
}
.a5-review-form__notice {
	padding: 12px 16px;
	border-radius: 4px;
	margin: 0 0 22px;
	font-size: 14px;
}
.a5-review-form__notice--success {
	background-color: #e6f2ea;
	color: #2c6b42;
}
.a5-review-form__notice--error {
	background-color: #f8e8e8;
	color: #a13a3a;
}

/* Star picker: DOM order is 5..1 and the row is reversed, so a sibling selector can
   light up every star up to the chosen one. */
.a5-stars-input {
	display: inline-flex;
	flex-direction: row-reverse;
	justify-content: flex-end;
}
.a5-stars-input input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}
.a5-review-form .a5-stars-input label {
	margin: 0 2px 0 0;
	font-size: 36px;
	line-height: 1;
	letter-spacing: 0;
	text-transform: none;
	color: rgba(243, 243, 232, 0.3);
	cursor: pointer;
	transition: color 0.15s ease;
}
.a5-stars-input input:checked ~ label,
.a5-review-form .a5-stars-input label:hover,
.a5-review-form .a5-stars-input label:hover ~ label {
	color: #e3b04b;
}
.a5-stars-input input:focus-visible + label {
	outline: 2px solid #f3f3e8;
	outline-offset: 2px;
	border-radius: 4px;
}

@media (max-width: 560px) {
	.a5-review-form__row {
		grid-template-columns: 1fr;
	}
}

/* ---------- Customer Reviews block on product pages ---------- */
.a5-reviews {
	margin-top: 48px;
}
.a5-review-stars {
	color: #c9922c;
	letter-spacing: 2px;
	white-space: nowrap;
}
.a5-review-stars__off {
	color: rgba(21, 22, 22, 0.2);
}
.a5-post-hero-fill--on-dark .a5-review-stars {
	color: #e3b04b;
}
.a5-post-hero-fill--on-dark .a5-review-stars__off {
	color: rgba(243, 243, 232, 0.25);
}
.a5-reviews__summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin: 0 0 8px;
	font-size: 18px;
}
.a5-reviews__count,
.a5-review__date,
.a5-review__fit {
	font-size: 13px;
	opacity: 0.7;
}
.a5-reviews__fit {
	font-size: 14px;
	margin: 0 0 8px;
}
.a5-reviews__list {
	list-style: none;
	margin: 20px 0 24px;
	padding: 0;
}
.a5-review {
	padding: 18px 0;
	border-top: 1px solid rgba(21, 22, 22, 0.12);
}
.a5-post-hero-fill--on-dark .a5-review {
	border-color: rgba(243, 243, 232, 0.15);
}
.a5-review__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
	margin-bottom: 8px;
}
.a5-review__author {
	font-weight: 600;
}
.a5-review__badge {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 600;
	padding: 3px 9px;
	border-radius: 20px;
	background: rgba(21, 22, 22, 0.08);
}
.a5-post-hero-fill--on-dark .a5-review__badge {
	background: rgba(243, 243, 232, 0.14);
}
.a5-review__text {
	margin: 0 0 6px;
	line-height: 1.55;
}
.a5-review__fit {
	margin: 0 0 8px;
}
.a5-review__photos {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 10px;
}
.a5-review__photo img {
	display: block;
	width: 104px;
	height: 104px;
	object-fit: cover;
	border-radius: 6px;
}
.a5-reviews__empty {
	margin: 0 0 16px;
	opacity: 0.8;
}
.a5-reviews__write {
	display: inline-block;
	padding: 11px 24px;
	border: 1.5px solid currentColor;
	border-radius: 28px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	color: inherit;
}
.a5-reviews__write:hover {
	opacity: 0.7;
}
.a5-review-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.85);
	cursor: zoom-out;
}
.a5-review-lightbox img {
	max-width: 92vw;
	max-height: 92vh;
	border-radius: 6px;
}

/* Theme overrides: the theme's own label color made the fit options invisible on the
   dark fill, its select height clipped the dropdown text, and the constrained layout
   centered the form while the intro text above it is left-aligned. */
.a5-review-form {
	margin-left: 0 !important;
	margin-right: auto !important;
}
.a5-review-form .a5-review-form__choices label {
	color: #f3f3e8;
}
.a5-review-form .a5-review-form__field select {
	height: auto;
	min-height: 46px;
	line-height: 1.3;
}

/* ---------- All-reviews list under the Leave a Review form ---------- */
.a5-reviews--all {
	max-width: 760px;
	margin-left: 0 !important;
	margin-right: auto !important;
}
.a5-review__product {
	display: inline-block;
	margin-bottom: 8px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.a5-review__product:hover {
	opacity: 0.7;
}
.a5-reviews__pager {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 22px;
	margin-top: 8px;
	font-size: 14px;
}
.a5-reviews__pager a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Text inside the reviews blocks inherited the theme's dark text color, which made the
   author, date, count, and badge nearly invisible on dark pages. Set it explicitly. */
.a5-reviews {
	color: #151616;
}
.a5-post-hero-fill--on-dark .a5-reviews {
	color: #f3f3e8;
}
