.bdpr-section {
	direction: inherit;
	margin-block: 48px 32px;
	color: var(--wd-text-color, #333);
}

.bdpr-section.woocommerce-Reviews {
	display: block;
	width: 100%;
	max-width: 100%;
	margin-inline: 0;
	padding-inline: 0;
	overflow-x: clip;
}

.bdpr-section.bdpr-location-tabs {
	margin-block: 0;
}

.bdpr-section.woocommerce-Reviews > .bdpr-container {
	width: calc(100% - 32px) !important;
	max-width: 1222px;
	margin-inline: auto;
}

.bdpr-tabs {
	display: flex;
	align-items: end;
	min-height: 58px;
	margin-block-end: 28px;
	border-block-end: 1px solid #e5e7eb;
}

.bdpr-tab {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 58px;
	padding-inline: 18px;
	font-size: 17px;
	font-weight: 700;
}

.bdpr-tab.is-active {
	color: var(--wd-primary-color, #e81269);
}

.bdpr-tab.is-active::after {
	position: absolute;
	inset-inline: 12px;
	inset-block-end: -1px;
	height: 3px;
	border-radius: 3px 3px 0 0;
	background: currentColor;
	content: "";
}

.bdpr-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(28px, 4vw, 64px);
	align-items: start;
}

@media (min-width: 1025px) {
	.bdpr-section.wd-layout-two-column .bdpr-layout:has(.bdpr-summary) {
		grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
	}

	.bdpr-section.wd-layout-two-column .bdpr-summary {
		position: sticky;
		top: 110px;
	}
}

.bdpr-summary {
	position: static;
	padding: 24px;
	border: 1px solid var(--brdcolor-gray-300);
	border-radius: 14px;
	background: var(--bgcolor-white);
	box-shadow: 0 12px 32px rgb(15 23 42 / 8%), 0 2px 8px rgb(15 23 42 / 4%);
}

.bdpr-summary .wd-rating-summary {
	margin-block: 20px;
}

.bdpr-summary h2,
.bdpr-list-heading h2,
.bdpr-form-header h2 {
	margin: 0;
	font-size: 18px;
	line-height: 1.6;
}

.bdpr-average {
	display: flex;
	align-items: baseline;
	gap: 7px;
	margin-block: 22px 8px;
}

.bdpr-average strong {
	font-size: 38px;
	line-height: 1;
}

.bdpr-average span,
.bdpr-rating-count {
	color: #6b7280;
	font-size: 12px;
}

.bdpr-stars .star-rating {
	margin: 0;
}

.bdpr-rating-count {
	margin-block: 8px 20px;
}

.bdpr-invitation {
	margin-block: 0 16px;
	font-size: 13px;
	line-height: 1.9;
	overflow-wrap: anywhere;
}

.bdpr-section .review-invitation__title {
	font-weight: var(--wd-title-font-weight, 600);
}

.bdpr-section .bdpr-add-review.button,
.bdpr-section .form-submit #submit {
	--wd-otl-color: var(--wd-primary-color);
	--wd-otl-style: solid;
	--wd-otl-width: 2px;
	width: 100%;
	min-height: 44px;
	border: 1px solid var(--wd-primary-color);
	border-radius: 8px;
	background-color: transparent;
	box-shadow: none;
	color: var(--wd-primary-color);
}

.bdpr-section .bdpr-add-review.button:is(:hover, :focus-visible),
.bdpr-section .form-submit #submit:is(:hover, :focus-visible) {
	border-color: transparent;
	background-color: var(--wd-primary-color);
	box-shadow: 0 8px 20px color-mix(in srgb, var(--wd-primary-color) 32%, transparent);
	color: #fff;
}

.bdpr-section .bdpr-add-review.button:focus,
.bdpr-section .form-submit #submit:focus {
	outline: 2px solid var(--wd-primary-color);
	outline-offset: 2px;
}

.bdpr-list-column {
	min-width: 0;
}

.bdpr-list-heading {
	display: flex;
	align-items: center;
	min-height: 48px;
}

.bdpr-inline-cta {
	margin-inline-start: auto;
}

.bdpr-inline-cta .bdpr-add-review.button {
	width: auto;
}

.bdpr-sorting.wd-child-product-sorting {
	gap: 14px;
	margin-block-end: 0;
}

.bdpr-sorting .bdpr-image-filter {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 44px;
	white-space: nowrap;
}

.bdpr-image-filter input {
	inline-size: 18px;
	block-size: 18px;
	margin: 0;
}

.bdpr-image-filter label {
	margin: 0;
	font-size: 12px;
	cursor: pointer;
}

.bdpr-image-filter.is-disabled {
	opacity: .45;
}

.bdpr-apply-filters {
	display: none;
}

.bdpr-comment-list {
	--wd-gap: 15px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bdpr-section.bdpr-cols-lg-1 .bdpr-comment-list { --wd-col-lg: 1; }
.bdpr-section.bdpr-cols-lg-2 .bdpr-comment-list { --wd-col-lg: 2; }
.bdpr-section.bdpr-cols-lg-3 .bdpr-comment-list { --wd-col-lg: 3; }
.bdpr-section.bdpr-cols-md-1 .bdpr-comment-list { --wd-col-md: 1; }
.bdpr-section.bdpr-cols-md-2 .bdpr-comment-list { --wd-col-md: 2; }
.bdpr-section.bdpr-cols-md-3 .bdpr-comment-list { --wd-col-md: 3; }
.bdpr-section.bdpr-cols-sm-1 .bdpr-comment-list { --wd-col-sm: 1; }
.bdpr-section.bdpr-cols-sm-2 .bdpr-comment-list { --wd-col-sm: 2; }
.bdpr-section.bdpr-cols-sm-3 .bdpr-comment-list { --wd-col-sm: 3; }

.bdpr-comment-list.wd-review-style-2 > .bdpr-review {
	padding: 15px;
	border: 1px solid var(--brdcolor-gray-300);
	border-radius: var(--wd-brd-radius);
	background-color: var(--bgcolor-white);
}

.bdpr-review {
	margin: 0;
	padding-block: 28px;
	border-block-end: 1px solid #e5e7eb;
}

.bdpr-section .bdpr-review .comment_container {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 14px;
}

.bdpr-review-main {
	min-width: 0;
}

.bdpr-review-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px 24px;
	min-width: 0;
}

.bdpr-review-identity {
	min-width: 0;
}

.bdpr-review-head time {
	direction: inherit;
	flex: 0 0 auto;
	margin-inline-start: auto;
	padding-block-start: 2px;
	color: #6b7280;
	font-size: 12px;
	white-space: nowrap;
}

.bdpr-review-author {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-block-end: 10px;
}

.bdpr-review-author strong {
	font-size: 14px;
}

.bdpr-verified {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	padding-inline: 9px;
	border-radius: 999px;
	background: #e8f7ef;
	color: #168257;
	font-size: 11px;
	font-weight: 600;
}

.bdpr-variation {
	margin-block: 0 8px;
	color: #6b7280;
	font-size: 12px;
}

.bdpr-review-rating {
	margin-block-end: 14px;
}

.single-product .bdpr-section :is(.bdpr-stars, .bdpr-review-rating) .star-rating {
	--wd-empty-star-color: var(--color-gray-400);
	float: none;
	color: var(--wd-star-color, #EABE12);
	font-size: clamp(17px, 1.4vw, 20px);
	letter-spacing: 3px;
	line-height: 1.25;
}

.single-product .bdpr-section :is(.bdpr-stars, .bdpr-review-rating) .star-rating:before {
	opacity: .72;
}

.bdpr-review-copy {
	font-size: 14px;
	line-height: 2.05;
	overflow-wrap: anywhere;
}

.bdpr-review-copy > :first-child {
	margin-block-start: 0;
}

.bdpr-review-copy > :last-child {
	margin-block-end: 0;
}

.bdpr-js .bdpr-review-copy.is-collapsed {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 5;
}

.bdpr-js .bdpr-review-copy.is-expanded {
	display: block;
	overflow: visible;
}

.single-product .bdpr-section .bdpr-review-toggle {
	min-height: 0;
	padding: 0 2px;
	border: 0;
	border-radius: 0;
	background: none;
	background-image: none;
	box-shadow: none;
	color: inherit;
	font: inherit;
	line-height: inherit;
	text-transform: none;
	transform: none;
	appearance: none;
	cursor: pointer;
}

.single-product .bdpr-section .bdpr-review-toggle:is(:hover, :focus, :active) {
	border-color: transparent;
	background: none;
	background-image: none;
	box-shadow: none;
	color: inherit;
	transform: none;
}

.single-product .bdpr-section .bdpr-review-toggle:hover {
	opacity: .75;
}

.single-product .bdpr-section .bdpr-review-toggle:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.bdpr-review-side {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	min-height: 44px;
	min-width: 0;
}

.bdpr-section .bdpr-review-votes {
	display: flex;
	direction: rtl;
	flex: 0 0 auto;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	width: max-content;
	max-width: 100%;
	min-width: 0;
	margin: 0;
}

.bdpr-vote-controls {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 6px;
	width: max-content;
	max-width: 100%;
	white-space: nowrap;
}

.bdpr-vote-question {
	color: #6b7280;
	font-size: 11px;
	white-space: nowrap;
}

.bdpr-section .bdpr-review-votes .bdpr-vote.wd-action-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	min-width: 48px;
	min-height: 44px;
	padding: 5px 9px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #fff;
	color: #6b7280;
}

.bdpr-section .bdpr-review-votes .bdpr-vote.is-active,
.bdpr-section .bdpr-review-votes .bdpr-vote:hover,
.bdpr-section .bdpr-review-votes .bdpr-vote:focus-visible {
	border-color: var(--wd-primary-color, #e81269);
	color: var(--wd-primary-color, #e81269);
}

.bdpr-section .bdpr-review-votes .wd-action-icon {
	position: static;
	display: inline-block;
	width: 15px;
	height: 15px;
	line-height: 1;
	transform: none;
}

.bdpr-section .bdpr-review-votes .wd-like-icon {
	--wd-btn-icon: "\f183a";
}

.bdpr-section .bdpr-review-votes .wd-dislike-icon {
	--wd-btn-icon: "\f183b";
}

.bdpr-section .bdpr-review-votes .wd-action-icon::before {
	color: currentColor;
	content: var(--wd-btn-icon);
	font-family: "woodmart-font";
	font-size: 15px;
	font-weight: 400;
	line-height: 1;
}

.bdpr-vote-status {
	flex-basis: 100%;
	min-height: 18px;
	color: #6b7280;
	font-size: 11px;
}

.bdpr-vote-status:empty {
	display: none;
}

.bdpr-review-images {
	display: flex;
	gap: 10px;
	max-width: 100%;
	margin-block-start: 18px;
	padding-block-end: 5px;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	scrollbar-width: thin;
}

.bdpr-review-image {
	flex: 0 0 82px;
	width: 82px;
	height: 82px;
	padding: 0;
	overflow: hidden;
	border: 1px solid #d1d5db;
	border-radius: 9px;
	background: #fff;
}

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

.bdpr-comment-list .bdpr-review--reply {
	margin-inline-start: 42px;
	margin-block: 20px;
	padding: 20px;
	border: 0;
	border-radius: 10px;
	background: transparent;
}

body.single-product .bdpr-section .bdpr-comment-list ol.children {
	background-color: rgba(var(--bgcolor-black-rgb), 0.04);
}

.bdpr-section .bdpr-review--reply .comment_container {
	grid-template-columns: minmax(0, 1fr);
}

.bdpr-empty {
	margin-block-start: 24px;
	padding: 32px;
	border: 1px dashed #d1d5db;
	border-radius: 12px;
	text-align: center;
}

.bdpr-empty h3 {
	margin-block: 0 8px;
}

.bdpr-empty p {
	margin: 0;
	color: #6b7280;
}

.bdpr-empty .bdpr-empty__image {
	display: block;
	inline-size: min(120px, 100%);
	block-size: auto;
	margin: 20px auto 0;
}

.bdpr-form-wrapper {
	margin-block-start: 36px;
	padding: clamp(20px, 4vw, 36px);
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	background: #fff;
	scroll-margin-top: 100px;
}

.bdpr-form-wrapper[hidden] {
	display: none;
}

.bdpr-form-header {
	display: flex;
	align-items: start;
	justify-content: space-between;
	gap: 20px;
	margin-block-end: 24px;
}

.bdpr-close-form {
	display: inline-grid;
	place-items: center;
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid #e5e7eb;
	border-radius: 50%;
	background: #fff;
	font-size: 24px;
}

.bdpr-form-wrapper .comment-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.bdpr-form-wrapper .comment-form > * {
	min-width: 0;
}

.bdpr-form-wrapper .comment-form-rating,
.bdpr-form-wrapper .comment-form-comment,
.bdpr-form-wrapper .wd-review-criteria-wrap,
.bdpr-form-wrapper .bdpg-review-upload,
.bdpr-form-wrapper .form-submit {
	grid-column: 1 / -1;
}

.single-product .bdpr-form-wrapper .wd-review-criteria-wrap {
	display: flex;
	flex-direction: column;
	gap: 0;
	width: 100%;
	margin-block-end: 5px;
	padding-inline: 0;
}

.single-product .bdpr-form-wrapper .wd-review-criteria-wrap > .comment-form-rating {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	min-width: 0;
	width: 100%;
	margin: 0 0 14px;
	padding: 0;
}

.single-product .bdpr-form-wrapper .wd-review-criteria-wrap > .comment-form-rating > label {
	display: block;
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	padding: 0;
	line-height: 1.8;
	overflow-wrap: anywhere;
}

.single-product .bdpr-form-wrapper .wd-review-criteria-wrap > .comment-form-rating > .stars {
	direction: ltr;
	flex: 0 0 auto;
	margin: 0;
}

.single-product .bdpr-section .comment-form-rating .stars {
	--wd-empty-star-color: var(--color-gray-400);
	display: inline-flex;
	align-items: center;
}

.single-product .bdpr-section .comment-form-rating .stars > span {
	display: inline-flex;
	align-items: center;
	gap: 2px;
}

.single-product .bdpr-section .comment-form-rating .stars a {
	display: inline-grid;
	place-items: center;
	width: 36px;
	height: 44px;
	border-radius: var(--wd-brd-radius);
	font-size: 0;
}

.single-product .bdpr-section .comment-form-rating .stars a:before {
	font-size: 19px;
}

.single-product .bdpr-section .comment-form-rating .stars a:is(:hover, :focus-visible) {
	background-color: color-mix(in srgb, var(--wd-star-color, #EABE12) 12%, transparent);
}

.single-product .bdpr-section .comment-form-rating .stars a:focus {
	outline: 2px solid var(--wd-primary-color);
	outline-offset: 2px;
}

.bdpr-form-wrapper textarea,
.bdpr-form-wrapper input[type="text"],
.bdpr-form-wrapper input[type="email"],
.bdpr-form-wrapper select {
	width: 100%;
	max-width: 100%;
}

.bdpr-form-wrapper textarea {
	resize: vertical;
}

.bdpr-section :focus-visible {
	outline: 2px solid var(--wd-primary-color, #e81269);
	outline-offset: 2px;
}

@media (max-width: 1024px) {
	.bdpr-layout {
		grid-template-columns: 1fr;
	}

	.bdpr-summary {
		position: static;
	}
}

@media (max-width: 768.98px) {
	.bdpr-section {
		margin-block-start: 32px;
	}

	.bdpr-section.woocommerce-Reviews > .bdpr-container {
		width: calc(100% - 24px) !important;
	}

	.bdpr-tabs,
	.bdpr-tab {
		min-height: 52px;
	}

	.bdpr-tabs {
		margin-block-end: 20px;
	}

	.bdpr-summary {
		padding: 20px;
	}

	.bdpr-sorting.wd-child-product-sorting {
		align-items: stretch;
		flex-wrap: wrap;
		height: auto;
		padding-block: 10px;
	}

	.bdpr-sorting .wd-child-sorting-main {
		flex: 1 1 100%;
	}

	.bdpr-sorting .wd-child-sorting-control {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		gap: 10px;
		width: 100%;
	}

	.bdpr-sorting .wd-child-sorting-title {
		min-height: 44px;
	}

	.bdpr-sorting.wd-child-product-sorting .wd-child-sorting-select {
		position: static;
		display: block;
		width: 100%;
		height: 44px;
		padding: 0 12px;
		opacity: 1;
		border: 1px solid #d1d5db;
		border-radius: 8px;
		background: #fff;
		cursor: pointer;
	}

	.bdpr-sorting .bdpr-image-filter {
		flex: 1 1 auto;
	}

	.bdpr-sorting .wd-child-sorting-count {
		margin-inline-start: auto;
	}

	.bdpr-section .bdpr-review .comment_container,
	.bdpr-section .bdpr-review--reply .comment_container {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.bdpr-review--reply {
		margin-inline-start: 18px;
	}

	.single-product .bdpr-form-wrapper .wd-review-criteria-wrap > .comment-form-rating {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
	}

	.bdpr-form-wrapper .comment-form {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 430px) {
	.bdpr-review-side {
		min-width: 0;
	}

	.bdpr-section .bdpr-review-votes {
		max-width: 100%;
	}

	.single-product .bdpr-section .comment-form-rating .stars a {
		width: 32px;
	}

	.bdpr-review-image {
		flex-basis: 72px;
		width: 72px;
		height: 72px;
	}
}
