/* Barwtech product tabs and customer reviews. Scoped to product pages only. */
body.single-product .woocommerce-tabs.wc-tabs-wrapper {
	--bt-review-navy: #0a355c;
	--bt-review-blue: #1769a8;
	--bt-review-gold: #ffb000;
	--bt-review-ink: #102f4e;
	--bt-review-muted: #657b91;
	--bt-review-line: #ccdeeb;
	--bt-review-surface: #f2f7fb;
	border: 0;
}

body.single-product.woocommerce.product-tab-style-center div.product .woocommerce-tabs > ul.tabs.wc-tabs {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
	gap: 10px;
	overflow: visible !important;
	margin: 0 0 24px !important;
	padding: 9px !important;
	border: 1px solid var(--bt-review-line);
	border-radius: 18px;
	background: #edf5fb;
	box-shadow: 0 12px 34px rgba(10, 53, 92, 0.1);
}

body.single-product.woocommerce.product-tab-style-center div.product .woocommerce-tabs > ul.tabs.wc-tabs::before,
body.single-product.woocommerce.product-tab-style-center div.product .woocommerce-tabs > ul.tabs.wc-tabs::after {
	display: none !important;
}

body.single-product.woocommerce.product-tab-style-center div.product .woocommerce-tabs > ul.tabs.wc-tabs > li {
	display: block !important;
	float: none !important;
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
}

body.single-product.woocommerce.product-tab-style-center div.product .woocommerce-tabs > ul.tabs.wc-tabs > li::before,
body.single-product.woocommerce.product-tab-style-center div.product .woocommerce-tabs > ul.tabs.wc-tabs > li::after {
	display: none !important;
}

body.single-product.woocommerce.product-tab-style-center div.product .woocommerce-tabs > ul.tabs.wc-tabs > li > a {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	min-height: 58px;
	padding: 10px 16px !important;
	border: 1px solid #d8e5ee;
	border-radius: 12px;
	background: #fff;
	color: var(--bt-review-ink) !important;
	font-size: 16px !important;
	font-weight: 750 !important;
	line-height: 1.25;
	text-align: center;
	text-decoration: none !important;
	box-shadow: 0 3px 10px rgba(10, 53, 92, 0.05);
	transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

body.single-product .woocommerce-tabs > ul.tabs.wc-tabs > li#tab-title-description > a::before,
body.single-product .woocommerce-tabs > ul.tabs.wc-tabs > li#tab-title-additional_information > a::before,
body.single-product .woocommerce-tabs > ul.tabs.wc-tabs > li#tab-title-reviews > a::before {
	display: inline-grid;
	place-items: center;
	min-width: 30px;
	height: 30px;
	padding: 0 6px;
	border-radius: 9px;
	background: #e7f1f8;
	color: var(--bt-review-blue);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.04em;
}

body.single-product #tab-title-description > a::before { content: "01"; }
body.single-product #tab-title-additional_information > a::before { content: "02"; }
body.single-product #tab-title-reviews > a::before {
	content: "★";
	background: #fff0b8;
	color: #9a5b00;
	font-size: 17px;
}

body.single-product.woocommerce.product-tab-style-center div.product .woocommerce-tabs > ul.tabs.wc-tabs > li > a:hover {
	transform: translateY(-2px);
	border-color: #99bdd8;
	box-shadow: 0 10px 22px rgba(10, 53, 92, 0.12);
}

body.single-product.woocommerce.product-tab-style-center div.product .woocommerce-tabs > ul.tabs.wc-tabs > li > a:focus-visible {
	outline: 3px solid rgba(255, 176, 0, 0.45);
	outline-offset: 2px;
}

body.single-product.woocommerce.product-tab-style-center div.product .woocommerce-tabs > ul.tabs.wc-tabs > li.active > a {
	transform: none;
	border-color: var(--bt-review-navy);
	background: linear-gradient(135deg, var(--bt-review-navy) 0%, var(--bt-review-blue) 100%);
	color: #fff !important;
	box-shadow: 0 12px 25px rgba(10, 53, 92, 0.24), inset 0 -3px 0 var(--bt-review-gold);
}

body.single-product .woocommerce-tabs > ul.tabs.wc-tabs > li.active > a::before {
	background: var(--bt-review-gold);
	color: var(--bt-review-navy);
}

body.single-product.woocommerce.product-tab-style-center div.product .woocommerce-tabs > ul.tabs.wc-tabs > li#tab-title-reviews:not(.active) > a {
	border: 2px solid var(--bt-review-gold);
	background: linear-gradient(135deg, #fffdf7 0%, #fff5d3 100%);
	box-shadow: 0 7px 18px rgba(255, 176, 0, 0.16);
}

.bt-review-tab-count,
.bt-review-heading-count {
	display: inline-grid;
	place-items: center;
	min-width: 27px;
	height: 27px;
	padding: 0 8px;
	border-radius: 999px;
	background: var(--bt-review-navy);
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
}

body.single-product .woocommerce-tabs > ul.tabs.wc-tabs > li.active .bt-review-tab-count {
	background: var(--bt-review-gold);
	color: var(--bt-review-navy);
}

body.single-product .woocommerce-tabs #tab-reviews {
	position: relative;
	overflow: hidden;
	margin: 0 !important;
	padding: clamp(22px, 3vw, 38px) !important;
	border: 1px solid #c9ddea;
	border-radius: 24px;
	background: linear-gradient(135deg, #edf6fc 0%, #fff 52%, #fff9e8 100%);
	box-shadow: 0 20px 52px rgba(10, 53, 92, 0.11);
}

body.single-product .woocommerce-tabs #tab-reviews::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 6px;
	background: linear-gradient(90deg, var(--bt-review-navy) 0 72%, var(--bt-review-gold) 72% 100%);
	content: "";
}

body.single-product #tab-reviews #reviews {
	display: grid !important;
	grid-template-columns: minmax(0, 1.65fr) minmax(285px, 0.72fr);
	gap: clamp(20px, 3vw, 34px);
	align-items: start;
}

body.single-product #tab-reviews #comments,
body.single-product #tab-reviews #review_form_wrapper {
	float: none !important;
	width: 100% !important;
	min-width: 0;
	margin: 0 !important;
}

body.single-product #tab-reviews #reviews > #comments:only-child {
	grid-column: 1 / -1;
}

body.single-product #tab-reviews .woocommerce-Reviews-title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 20px;
	color: var(--bt-review-ink);
	font-size: clamp(24px, 2.2vw, 34px);
	font-weight: 800;
	line-height: 1.2;
}

body.single-product #tab-reviews .woocommerce-Reviews-title::before {
	display: inline-block;
	width: 7px;
	height: 34px;
	border-radius: 99px;
	background: var(--bt-review-gold);
	content: "";
}

body.single-product #tab-reviews .woocommerce-noreviews {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 18px 20px;
	border: 1px solid #c8ddea;
	border-left: 5px solid var(--bt-review-gold);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.94);
	color: #405a72;
	font-size: 15.5px;
	font-weight: 650;
	line-height: 1.55;
	box-shadow: 0 10px 24px rgba(10, 53, 92, 0.08);
}

body.single-product #tab-reviews .woocommerce-noreviews::before {
	display: inline-grid;
	flex: 0 0 38px;
	width: 38px;
	height: 38px;
	place-items: center;
	border-radius: 11px;
	background: #fff0b8;
	color: #9a5b00;
	content: "★";
	font-size: 20px;
}

body.single-product #tab-reviews .bt-review-heading-count {
	min-width: 34px;
	height: 34px;
	font-size: 15px;
}

body.single-product #tab-reviews #bt-reviews-overview {
	display: grid;
	grid-template-columns: minmax(185px, 0.78fr) minmax(255px, 1.22fr);
	gap: 16px;
	margin: 0 0 22px;
	padding: 0;
}

body.single-product #tab-reviews #bt-reviews-overview::after {
	display: none;
}

body.single-product #tab-reviews #bt-reviews-overview .bt_reviews_stats_total {
	display: grid;
	float: none;
	place-items: center;
	width: 100%;
	height: auto;
	min-height: 154px;
	padding: 22px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 18px;
	background: linear-gradient(145deg, #082e50 0%, #135f99 100%);
	box-shadow: 0 14px 28px rgba(10, 53, 92, 0.2);
}

body.single-product #tab-reviews #bt-reviews-overview .bt_reviews_stats_total h3 {
	position: static;
	width: auto;
	margin: 0;
	transform: none;
	color: #fff;
	font-size: clamp(22px, 2vw, 30px);
	font-weight: 750;
	line-height: 1.25;
	text-align: center;
}

body.single-product #tab-reviews #bt-reviews-overview .bt_reviews_stats_total h3 b {
	display: block;
	margin-bottom: 3px;
	color: var(--bt-review-gold) !important;
	font-size: clamp(36px, 3vw, 48px);
	font-weight: 850;
	letter-spacing: -0.04em;
}

body.single-product #tab-reviews #bt-reviews-overview .bt_review_stats_bars {
	display: flex;
	float: none;
	flex-direction: column;
	justify-content: center;
	width: 100%;
	height: auto;
	min-height: 154px;
	padding: 18px 16px;
	border: 1px solid var(--bt-review-line);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 10px 24px rgba(10, 53, 92, 0.08);
}

body.single-product #tab-reviews #bt-reviews-overview .bt_rating_bar_row {
	margin: 0 0 7px;
	color: #a96600;
	font-size: 14px;
	line-height: 18px;
}

body.single-product #tab-reviews #bt-reviews-overview .bt_rating_bar_row:last-child { margin-bottom: 0; }
body.single-product #tab-reviews #bt-reviews-overview .bt_rating_bar { padding: 0 40px; }
body.single-product #tab-reviews #bt-reviews-overview .bt_rating_bar_bg {
	overflow: hidden;
	min-height: 18px;
	border-radius: 99px;
	background: #e7f0f7;
}

body.single-product #tab-reviews #bt-reviews-overview .bt_perc_rating {
	min-height: 18px;
	border-radius: 99px;
	background: linear-gradient(90deg, #ffb000, #ffd35c) !important;
	box-shadow: 0 2px 8px rgba(255, 176, 0, 0.28);
}

body.single-product #tab-reviews #comments ol.commentlist {
	display: grid;
	gap: 16px;
	margin: 0;
	padding: 0;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	list-style: none;
}

body.single-product #tab-reviews #comments ol.commentlist > li {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}

body.single-product #tab-reviews .comment_container {
	display: grid !important;
	grid-template-columns: 64px minmax(0, 1fr);
	gap: 18px;
	overflow: hidden;
	padding: 24px !important;
	border: 1px solid #c9ddea;
	border-left: 6px solid var(--bt-review-gold);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 14px 30px rgba(10, 53, 92, 0.1);
}

body.single-product #tab-reviews .comment_container > img.avatar {
	position: static !important;
	float: none !important;
	width: 60px !important;
	height: 60px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 4px solid #fff;
	border-radius: 50%;
	background: #e8f1f7;
	box-shadow: 0 0 0 2px var(--bt-review-gold), 0 8px 18px rgba(10, 53, 92, 0.16);
}

body.single-product #tab-reviews .comment-text {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 10px 14px;
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
}

body.single-product #tab-reviews .comment-text > .star-rating {
	grid-column: 2;
	grid-row: 1;
	justify-self: end;
	margin: 1px 0 0;
	color: var(--bt-review-gold);
	font-size: 17px;
}

body.single-product #tab-reviews .comment-text > .meta {
	grid-column: 1;
	grid-row: 1;
	margin: 0;
	color: var(--bt-review-muted);
	font-size: 14px;
	line-height: 1.5;
}

body.single-product #tab-reviews .comment-text > .meta strong {
	color: var(--bt-review-ink);
	font-weight: 800;
}

body.single-product #tab-reviews .comment-text > .description {
	grid-column: 1 / -1;
	grid-row: 2;
}

body.single-product #tab-reviews .bt_review_title {
	margin: 2px 0 8px;
	color: var(--bt-review-ink);
	font-size: clamp(20px, 1.8vw, 25px);
	font-weight: 800;
	line-height: 1.25;
}

body.single-product #tab-reviews .comment-text > .description p {
	margin: 0;
	color: #405a72;
	font-size: 16px;
	line-height: 1.7;
}

body.single-product #tab-reviews .bt-review-vote-area {
	display: flex;
	grid-column: 1 / -1;
	grid-row: 3;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 4px;
	color: var(--bt-review-muted);
	font-size: 13px;
	text-align: right;
}

body.single-product #tab-reviews .bt-review-helpful,
body.single-product #tab-reviews .bt-review-vote-container {
	display: inline-flex;
	align-items: center;
	margin: 0;
}

body.single-product #tab-reviews a.bt-review-vote {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0 0 0 6px;
	padding: 0;
	border: 1px solid #bad0df;
	border-radius: 12px;
	background: #eff6fb;
	color: var(--bt-review-blue);
	font-size: 17px;
	line-height: 1;
	transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

body.single-product #tab-reviews a.bt-review-vote:hover,
body.single-product #tab-reviews a.bt-review-vote:focus-visible {
	transform: translateY(-2px);
	border-color: var(--bt-review-gold);
	background: #fff4ce;
	color: var(--bt-review-navy);
}

body.single-product #tab-reviews #review_form_wrapper {
	padding: 25px;
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 19px;
	background: linear-gradient(145deg, #082e50 0%, #145f98 100%);
	color: #fff;
	box-shadow: 0 16px 32px rgba(10, 53, 92, 0.2);
}

body.single-product #tab-reviews #review_form_wrapper .comment-reply-title {
	display: block;
	margin: 0 0 12px;
	color: #fff;
	font-size: 24px;
	font-weight: 800;
	line-height: 1.25;
}

body.single-product #tab-reviews #review_form_wrapper .must-log-in,
body.single-product #tab-reviews #review_form_wrapper .comment-notes {
	margin: 0;
	color: #dceaf5;
	font-size: 15px;
	line-height: 1.65;
}

body.single-product #tab-reviews #review_form_wrapper a {
	color: #ffd35c;
	font-weight: 750;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

body.single-product #tab-reviews #review_form_wrapper label { color: #fff; font-weight: 700; }
body.single-product #tab-reviews #review_form_wrapper input[type="text"],
body.single-product #tab-reviews #review_form_wrapper input[type="email"],
body.single-product #tab-reviews #review_form_wrapper textarea,
body.single-product #tab-reviews #review_form_wrapper select {
	width: 100%;
	border: 1px solid #b9d0e1;
	border-radius: 11px;
	background: #fff;
	color: var(--bt-review-ink);
}

body.single-product #tab-reviews #review_form_wrapper input:focus,
body.single-product #tab-reviews #review_form_wrapper textarea:focus,
body.single-product #tab-reviews #review_form_wrapper select:focus {
	border-color: var(--bt-review-gold);
	outline: 3px solid rgba(255, 176, 0, 0.25);
}

body.single-product #tab-reviews #review_form_wrapper p.stars a { color: #ffd35c; }
body.single-product #tab-reviews #review_form_wrapper .form-submit #submit {
	width: 100%;
	min-height: 48px;
	border: 0;
	border-radius: 11px;
	background: var(--bt-review-gold);
	color: var(--bt-review-navy);
	font-weight: 850;
	box-shadow: 0 9px 20px rgba(0, 0, 0, 0.16);
}

body.single-product #tab-reviews #review_form_wrapper .form-submit #submit:hover {
	background: #ffc63f;
}

@media (max-width: 920px) {
	body.single-product #tab-reviews #reviews { grid-template-columns: 1fr; }
	body.single-product #tab-reviews #review_form_wrapper { max-width: none; }
}

@media (max-width: 640px) {
	body.single-product.woocommerce.product-tab-style-center div.product .woocommerce-tabs > ul.tabs.wc-tabs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
		padding: 7px !important;
	}

	body.single-product.woocommerce.product-tab-style-center div.product .woocommerce-tabs > ul.tabs.wc-tabs > li:only-child {
		grid-column: 1 / -1;
	}

	body.single-product.woocommerce.product-tab-style-center div.product .woocommerce-tabs > ul.tabs.wc-tabs > li#tab-title-reviews:nth-child(3):last-child {
		grid-column: 1 / -1;
	}

	body.single-product.woocommerce.product-tab-style-center div.product .woocommerce-tabs > ul.tabs.wc-tabs > li > a {
		min-height: 52px;
		padding: 8px 9px !important;
		font-size: 14px !important;
	}

	body.single-product .woocommerce-tabs > ul.tabs.wc-tabs > li > a::before {
		min-width: 27px;
		height: 27px;
	}

	body.single-product .woocommerce-tabs #tab-reviews {
		padding: 24px 14px 130px !important;
		border-radius: 18px;
	}

	body.single-product #tab-reviews .woocommerce-Reviews-title {
		margin-bottom: 16px;
		font-size: 25px;
	}

	body.single-product #tab-reviews #bt-reviews-overview { grid-template-columns: 1fr; }
	body.single-product #tab-reviews #bt-reviews-overview .bt_reviews_stats_total { min-height: 132px; }
	body.single-product #tab-reviews #bt-reviews-overview .bt_review_stats_bars { min-height: 148px; }
	body.single-product #tab-reviews .comment_container {
		grid-template-columns: 1fr;
		gap: 14px;
		padding: 20px 17px 28px !important;
	}

	body.single-product #tab-reviews .comment_container > img.avatar {
		width: 52px !important;
		height: 52px !important;
	}

	body.single-product #tab-reviews .comment-text { grid-template-columns: 1fr; }
	body.single-product #tab-reviews .comment-text > .star-rating {
		grid-column: 1;
		grid-row: 1;
		justify-self: start;
		margin-bottom: 2px;
	}

	body.single-product #tab-reviews .comment-text > .meta { grid-column: 1; grid-row: 2; }
	body.single-product #tab-reviews .comment-text > .description { grid-column: 1; grid-row: 3; }
	body.single-product #tab-reviews .bt-review-vote-area {
		grid-column: 1;
		grid-row: 4;
		align-items: flex-start;
		justify-content: flex-start;
		flex-direction: column;
		text-align: left;
	}

	body.single-product #tab-reviews .comment-text > .description p { font-size: 15.5px; line-height: 1.7; }
	body.single-product #tab-reviews #review_form_wrapper { padding: 22px 18px; }

	/* Keep the fixed advisor from covering review text on narrow screens. */
	body.single-product:has(#tab-title-reviews.active) .bt-contact-bot:not(.is-open) .bt-contact-bot__launcher {
		display: none;
	}
}

body.color-switch-dark.single-product .woocommerce-tabs > ul.tabs.wc-tabs {
	border-color: #34516b;
	background: #10283d;
}

body.color-switch-dark.single-product .woocommerce-tabs > ul.tabs.wc-tabs > li:not(.active) > a {
	border-color: #3b5870;
	background: #17324a;
	color: #edf6ff !important;
}

body.color-switch-dark.single-product .woocommerce-tabs #tab-reviews {
	border-color: #35536d;
	background: linear-gradient(135deg, #10283d 0%, #132f47 58%, #3a3017 100%);
}

body.color-switch-dark.single-product #tab-reviews .woocommerce-Reviews-title,
body.color-switch-dark.single-product #tab-reviews .bt_review_title,
body.color-switch-dark.single-product #tab-reviews .comment-text > .meta strong { color: #f5f9fc; }
body.color-switch-dark.single-product #tab-reviews .comment_container,
body.color-switch-dark.single-product #tab-reviews .bt_review_stats_bars,
body.color-switch-dark.single-product #tab-reviews .woocommerce-noreviews {
	border-color: #3c5870;
	background: #17324a;
}
body.color-switch-dark.single-product #tab-reviews .comment-text > .description p,
body.color-switch-dark.single-product #tab-reviews .comment-text > .meta,
body.color-switch-dark.single-product #tab-reviews .bt-review-vote-area,
body.color-switch-dark.single-product #tab-reviews .woocommerce-noreviews { color: #c3d3df; }
body.color-switch-dark.single-product #tab-reviews #bt-reviews-overview .bt_rating_bar_bg { background: #2a455c; }
body.color-switch-dark.single-product #tab-reviews a.bt-review-vote {
	border-color: #49677f;
	background: #213f57;
	color: #ffd35c;
}

@media (prefers-reduced-motion: reduce) {
	body.single-product .woocommerce-tabs > ul.tabs.wc-tabs > li > a,
	body.single-product #tab-reviews a.bt-review-vote { transition: none !important; }
}

/* 0.29.6: calmer, high-contrast review presentation requested by the store owner. */
body.single-product.woocommerce.product-tab-style-center div.product .woocommerce-tabs > ul.tabs.wc-tabs {
	gap: 6px;
	margin-bottom: 16px !important;
	padding: 6px !important;
	border-radius: 11px;
	background: #f5f8fa;
	box-shadow: none;
}

body.single-product.woocommerce.product-tab-style-center div.product .woocommerce-tabs > ul.tabs.wc-tabs > li > a {
	min-height: 50px;
	padding: 10px 14px !important;
	border: 1px solid transparent;
	border-radius: 8px;
	background: transparent;
	color: var(--bt-review-ink) !important;
	font-size: 15.5px !important;
	box-shadow: none;
}

body.single-product .woocommerce-tabs > ul.tabs.wc-tabs > li#tab-title-description > a::before,
body.single-product .woocommerce-tabs > ul.tabs.wc-tabs > li#tab-title-additional_information > a::before,
body.single-product .woocommerce-tabs > ul.tabs.wc-tabs > li#tab-title-reviews > a::before {
	display: none !important;
	content: none !important;
}

body.single-product.woocommerce.product-tab-style-center div.product .woocommerce-tabs > ul.tabs.wc-tabs > li > a:hover {
	transform: none;
	border-color: #c3d4e0;
	background: #fff;
	box-shadow: none;
}

body.single-product.woocommerce.product-tab-style-center div.product .woocommerce-tabs > ul.tabs.wc-tabs > li.active > a,
body.single-product.woocommerce.product-tab-style-center div.product .woocommerce-tabs > ul.tabs.wc-tabs > li#tab-title-reviews.active > a {
	border-color: #c3d4e0;
	background: #fff;
	color: var(--bt-review-navy) !important;
	box-shadow: inset 0 -3px 0 var(--bt-review-gold), 0 2px 8px rgba(10, 53, 92, 0.07);
}

body.single-product.woocommerce.product-tab-style-center div.product .woocommerce-tabs > ul.tabs.wc-tabs > li#tab-title-reviews:not(.active) > a {
	border: 1px solid transparent;
	background: transparent;
	box-shadow: none;
}

.bt-review-tab-count,
.bt-review-heading-count,
body.single-product .woocommerce-tabs > ul.tabs.wc-tabs > li.active .bt-review-tab-count {
	background: var(--bt-review-gold);
	color: var(--bt-review-navy);
}

body.single-product .woocommerce-tabs #tab-reviews {
	overflow: visible;
	padding: clamp(22px, 2.6vw, 34px) !important;
	border: 1px solid var(--bt-review-line);
	border-top: 4px solid var(--bt-review-navy);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 10px 28px rgba(10, 53, 92, 0.07);
}

body.single-product .woocommerce-tabs #tab-reviews::before { display: none; }

body.single-product #tab-reviews #reviews {
	grid-template-columns: minmax(0, 1fr) minmax(310px, 380px);
	gap: clamp(22px, 3vw, 38px);
}

body.single-product #tab-reviews .woocommerce-Reviews-title {
	margin-bottom: 18px;
	font-size: clamp(23px, 2vw, 30px);
}

body.single-product #tab-reviews .woocommerce-Reviews-title::before {
	width: 5px;
	height: 29px;
}

body.single-product #tab-reviews #bt-reviews-overview {
	grid-template-columns: minmax(150px, 0.62fr) minmax(240px, 1.38fr);
	gap: 12px;
	margin-bottom: 20px;
}

body.single-product #tab-reviews #bt-reviews-overview .bt_reviews_stats_total {
	min-height: 136px;
	padding: 18px;
	border: 1px solid #cbdde9;
	border-radius: 10px;
	background: #eef5fa;
	box-shadow: none;
}

body.single-product #tab-reviews #bt-reviews-overview .bt_reviews_stats_total h3 {
	color: var(--bt-review-ink);
	font-size: 20px;
}

body.single-product #tab-reviews #bt-reviews-overview .bt_reviews_stats_total h3 b {
	color: var(--bt-review-navy) !important;
	font-size: clamp(34px, 3vw, 43px);
}

body.single-product #tab-reviews #bt-reviews-overview .bt_review_stats_bars {
	min-height: 136px;
	padding: 16px;
	border-radius: 10px;
	background: #fff;
	box-shadow: none;
}

body.single-product #tab-reviews #bt-reviews-overview .bt_rating_bar_bg { min-height: 15px; }
body.single-product #tab-reviews #bt-reviews-overview .bt_perc_rating {
	min-height: 15px;
	background: var(--bt-review-gold) !important;
	box-shadow: none;
}

body.single-product #tab-reviews .comment_container {
	grid-template-columns: 54px minmax(0, 1fr);
	gap: 16px;
	padding: 21px !important;
	border: 1px solid var(--bt-review-line);
	border-left: 4px solid var(--bt-review-gold);
	border-radius: 10px;
	box-shadow: 0 6px 18px rgba(10, 53, 92, 0.06);
}

body.single-product #tab-reviews .comment_container > img.avatar {
	width: 52px !important;
	height: 52px !important;
	border: 2px solid #dbe7ef;
	box-shadow: none;
}

body.single-product #tab-reviews .bt_review_title { font-size: clamp(19px, 1.7vw, 23px); }
body.single-product #tab-reviews .comment-text > .description p { line-height: 1.65; }

body.single-product #tab-reviews a.bt-review-vote {
	border-radius: 8px;
	background: #f4f8fb;
}

body.single-product #tab-reviews #review_form_wrapper {
	padding: 22px;
	border: 1px solid #cbdbe6;
	border-top: 4px solid var(--bt-review-gold);
	border-radius: 10px;
	background: #fff;
	color: var(--bt-review-ink);
	box-shadow: 0 6px 18px rgba(10, 53, 92, 0.07);
}

body.single-product #tab-reviews #review_form_wrapper #respond,
body.single-product #tab-reviews #review_form_wrapper .comment-respond,
body.single-product #tab-reviews #review_form_wrapper .comment-form {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

body.single-product #tab-reviews #review_form_wrapper .comment-reply-title {
	margin-bottom: 16px;
	color: var(--bt-review-navy) !important;
	font-size: 23px;
}

body.single-product #tab-reviews #review_form_wrapper .must-log-in,
body.single-product #tab-reviews #review_form_wrapper .comment-notes,
body.single-product #tab-reviews #review_form_wrapper p {
	color: #516a80 !important;
}

body.single-product #tab-reviews #review_form_wrapper a { color: var(--bt-review-blue) !important; }

body.single-product #tab-reviews #review_form_wrapper label {
	display: block;
	margin-bottom: 7px;
	color: var(--bt-review-ink) !important;
	font-size: 14.5px;
	font-weight: 750;
}

body.single-product #tab-reviews #review_form_wrapper input[type="text"],
body.single-product #tab-reviews #review_form_wrapper input[type="email"],
body.single-product #tab-reviews #review_form_wrapper textarea,
body.single-product #tab-reviews #review_form_wrapper select {
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid #b9ccda;
	border-radius: 8px;
	background: #fff !important;
	color: var(--bt-review-ink) !important;
	box-shadow: none;
}

body.single-product #tab-reviews #review_form_wrapper textarea { min-height: 116px; }
body.single-product #tab-reviews #review_form_wrapper p.stars a {
	color: var(--bt-review-gold) !important;
	font-size: 18px;
}

body.single-product #tab-reviews #review_form_wrapper .form-submit #submit {
	border-radius: 8px;
	box-shadow: none;
}

@media (max-width: 960px) {
	body.single-product #tab-reviews #reviews { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	body.single-product.woocommerce.product-tab-style-center div.product .woocommerce-tabs > ul.tabs.wc-tabs {
		gap: 5px;
		padding: 5px !important;
	}
	body.single-product.woocommerce.product-tab-style-center div.product .woocommerce-tabs > ul.tabs.wc-tabs > li > a {
		min-height: 47px;
	}
	body.single-product .woocommerce-tabs #tab-reviews {
		padding: 22px 14px 130px !important;
		border-radius: 10px;
	}
	body.single-product #tab-reviews #bt-reviews-overview { grid-template-columns: 1fr; }
	body.single-product #tab-reviews .comment_container {
		grid-template-columns: 46px minmax(0, 1fr);
		gap: 12px;
		padding: 18px 14px 24px !important;
	}
	body.single-product #tab-reviews .comment_container > img.avatar {
		width: 44px !important;
		height: 44px !important;
	}
	body.single-product #tab-reviews #review_form_wrapper { padding: 19px 16px; }
}

body.color-switch-dark.single-product #tab-reviews #review_form_wrapper {
	border-color: #45657f;
	background: #17324a;
	color: #f5f9fc;
}

body.color-switch-dark.single-product #tab-reviews #review_form_wrapper .comment-reply-title,
body.color-switch-dark.single-product #tab-reviews #review_form_wrapper label { color: #fff !important; }

body.color-switch-dark.single-product #tab-reviews #review_form_wrapper .must-log-in,
body.color-switch-dark.single-product #tab-reviews #review_form_wrapper .comment-notes,
body.color-switch-dark.single-product #tab-reviews #review_form_wrapper p { color: #d4e1eb !important; }
