/* Trang single product — classic WooCommerce template (theo CLAUDE.md #6).
   Số liệu đo trực tiếp từ bjjfightgear.com: h1 25px/weight 800/uppercase,
   nút Add to cart XANH #1db121 (không phải đỏ — đỏ chỉ dùng cho giá/badge sale) 17px/radius 3px/padding 16px. */

.single-product .product_title {
	font-family: var(--wp--preset--font-family--montserrat);
	font-weight: 800;
	font-size: 25px;
	text-transform: uppercase;
}

.single-product .woocommerce-product-gallery img {
	border-radius: 0;
}
.single-product .woocommerce-product-gallery__trigger {
	z-index: 2;
}

/* Dải ảnh nhỏ dưới ảnh chính — mặc định WooCommerce xếp 4 ảnh/hàng, mỗi ảnh to = 25% bề rộng
   (woocommerce.css `.flex-control-thumbs li{width:25%;float:left}`), to và xấu hơn hẳn bản gốc
   (bjjfightgear.com xếp 1 hàng ngang, mỗi ảnh nhỏ ~64px). Ghi đè bằng flexbox, bỏ float. */
.single-product .flex-control-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 10px;
}
.single-product .flex-control-thumbs li {
	width: 64px;
	flex: 0 0 64px;
	float: none;
}
.single-product .flex-control-thumbs li:nth-child(n) {
	clear: none;
}
.single-product .flex-control-thumbs img {
	display: block;
	width: 64px;
	height: 64px;
	object-fit: cover;
	border-radius: 0;
	border: 1px solid transparent;
	opacity: 1;
	transition: border-color var(--bjj-transition-base, 200ms) ease;
}
.single-product .flex-control-thumbs img:hover {
	opacity: 1;
	border-color: var(--wp--preset--color--accent-6);
}
.single-product .flex-control-thumbs img.flex-active {
	border-color: var(--wp--preset--color--contrast);
}

/* Giá — màu trung tính đậm (đo trên bjjfightgear.com: #1d1d1d = --contrast), KHÔNG dùng
   accent-1 (đỏ) — đỏ chỉ dành riêng cho giá sale/CTA (xem del bên dưới và nút add-to-cart). */
.single-product p.price {
	font-size: 24px;
	font-weight: 400;
	color: var(--wp--preset--color--contrast);
}
.single-product p.price ins {
	color: var(--wp--preset--color--accent-1);
	text-decoration: none;
}
.single-product p.price del {
	color: var(--wp--preset--color--accent-3);
	opacity: 1;
	font-size: 15px;
}

.single-product .woocommerce-variation-price .price,
.single-product form.cart {
	margin-top: 16px;
}

/* Bảng chọn biến thể (Size/Color) — mặc định WooCommerce xếp label|giá trị 2 cột trong <table>,
   bản gốc xếp label rồi xuống dòng tới hàng swatch/nút — ép <table> xuống thành các khối full-width. */
.single-product table.variations,
.single-product table.variations tbody,
.single-product table.variations tr,
.single-product table.variations th,
.single-product table.variations td {
	display: block;
	width: auto;
}
.single-product table.variations tr {
	margin-bottom: 20px;
}
.single-product table.variations th.label {
	padding: 0 0 10px;
	text-align: left;
}
.single-product table.variations th.label label {
	font-family: var(--wp--preset--font-family--montserrat);
	font-weight: 700;
	font-size: 0.9rem;
	color: var(--wp--preset--color--contrast);
	margin: 0;
}
.single-product table.variations td.value {
	padding: 0;
}
.single-product a.reset_variations {
	display: inline-block;
	margin-top: 10px;
	font-size: 0.8rem;
	color: var(--wp--preset--color--accent-4);
}

/* Swatch/nút thay <select> Size/Color — xem bjj_gear_variation_attribute_swatches() ở
   functions.php (render) và single-product-swatches.js (đồng bộ chọn/disable với <select> gốc,
   <select> vẫn tồn tại — ẩn bằng clip, không display:none — để add-to-cart-variation.js của
   WooCommerce hoạt động bình thường). */
.single-product .bjj-variation-swatches__select {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.single-product .bjj-variation-swatches__options {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.single-product .bjj-swatch {
	appearance: none;
	background: var(--wp--preset--color--base);
	cursor: pointer;
	transition: border-color var(--bjj-transition-base, 200ms) ease, opacity var(--bjj-transition-base, 200ms) ease;
}
.single-product .bjj-swatch[hidden] {
	display: none;
}
.single-product .bjj-swatch.is-disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

/* Chip nút (Size...) — viền xám, chọn = viền + chữ đỏ (đo trên bjjfightgear.com: font-weight
   400 (KHÔNG 600 — đậm hơn thấy rõ), cao ~34px do padding quyết định (KHÔNG ép height 44px),
   màu chữ chưa chọn = accent-4 xám (KHÔNG contrast đen — cũng đậm/nặng hơn thấy rõ)). */
.single-product .bjj-swatch--button {
	min-width: 42px;
	padding: 8px 12px;
	border: 1px solid var(--wp--preset--color--accent-6);
	border-radius: 3px;
	font-family: var(--wp--preset--font-family--open-sans);
	font-size: 14px;
	font-weight: 400;
	line-height: 16px;
	color: var(--wp--preset--color--accent-4);
}
.single-product .bjj-swatch--button:hover:not(.is-disabled) {
	border-color: var(--wp--preset--color--contrast);
}
.single-product .bjj-swatch--button.is-selected {
	border-color: var(--wp--preset--color--accent-1);
	color: var(--wp--preset--color--accent-1);
}

/* Ô màu — hình vuông, viền dày hơn khi chọn (đo trên bjjfightgear.com) */
.single-product .bjj-swatch--color {
	width: 38px;
	height: 38px;
	border: 1px solid var(--wp--preset--color--accent-6);
	border-radius: 2px;
	padding: 0;
	background-size: cover;
}
.single-product .bjj-swatch--color:hover:not(.is-disabled) {
	border-color: var(--wp--preset--color--contrast);
}
.single-product .bjj-swatch--color.is-selected {
	border: 2px solid var(--wp--preset--color--contrast);
}

/* Quantity + Add to cart — bjjfightgear.com xếp 2 khối này cao BẰNG NHAU và quantity có nút -/+
   hai bên (WooCommerce classic template mặc định KHÔNG có nút -/+, JS
   single-product-quantity.js chèn thêm — xem file đó). align-items:stretch ở hàng cha khiến
   quantity tự cao bằng nút Add to cart (nút chỉnh cao qua padding — xem bên dưới) — KHÔNG ép
   height cứng lệch nhau như trước (bug cũ: input dùng box-sizing:content-box nên height 44px +
   padding cộng dồn thành ~75px, cao hơn hẳn nút add-to-cart ~56px). */
.single-product form.cart:not(:has(table.variations)),
.single-product .woocommerce-variation-add-to-cart.variations_button {
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 12px;
}
.single-product .quantity {
	display: inline-flex !important;
	align-items: stretch !important;
	float: none !important;
	margin: 0 !important;
}
.single-product .quantity input.qty {
	box-sizing: border-box;
	order: 2;
	width: 96px;
	margin-left: -1px;
	border: 1px solid var(--wp--preset--color--accent-6);
	border-radius: 0;
	padding: 0;
	text-align: center;
	font-family: var(--wp--preset--font-family--open-sans);
	font-size: 16px;
	color: var(--wp--preset--color--accent-4);
	-moz-appearance: textfield;
}
.single-product .quantity input.qty::-webkit-outer-spin-button,
.single-product .quantity input.qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
.single-product .quantity__button {
	box-sizing: border-box;
	appearance: none;
	background: transparent;
	border: 1px solid var(--wp--preset--color--accent-6);
	width: 50px;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--wp--preset--color--contrast);
	font-size: 18px;
	line-height: 1;
}
.single-product .quantity__button--minus {
	order: 1;
	border-radius: 4px 0 0 4px;
}
.single-product .quantity__button--plus {
	order: 3;
	margin-left: -1px;
	border-radius: 0 4px 4px 0;
}
.single-product .quantity__button:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

.single-product .single_add_to_cart_button {
	flex: 1 1 auto;
	border-radius: 3px !important;
	font-size: 17px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.34px;
	padding: 16px !important;
}

/* Trust badges dưới nút Add to cart — xem bjj_gear_trust_badges() ở functions.php (text
   placeholder, cần thay chính sách thật). Check xanh dùng accent-2 (giống "Còn hàng") — KHÔNG
   dùng accent-1 đỏ, quy ước đỏ chỉ dành cho giá/badge sale. */
.single-product .bjj-trust-badges {
	list-style: none;
	margin: 20px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.single-product .bjj-trust-badges li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--wp--preset--font-family--open-sans);
	font-size: 14px;
	color: var(--wp--preset--color--accent-4);
}
.single-product .bjj-trust-badges__icon {
	color: var(--wp--preset--color--accent-2);
	font-weight: 700;
	flex-shrink: 0;
}

.single-product .product_meta {
	margin-top: 20px;
	font-size: 0.85rem;
	color: var(--wp--preset--color--accent-4);
}

/* Tabs Description/Reviews */
.single-product .woocommerce-tabs ul.tabs {
	border-bottom: 1px solid var(--wp--preset--color--accent-6);
	padding-left: 0;
	display: flex;
	gap: 24px;
}
.single-product .woocommerce-tabs ul.tabs li {
	list-style: none;
	margin: 0;
}
.single-product .woocommerce-tabs ul.tabs li a {
	display: inline-block;
	padding: 10px 0;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 0.85rem;
	letter-spacing: 0.03em;
	color: var(--wp--preset--color--accent-4);
	text-decoration: none;
	border-bottom: 2px solid transparent;
	transition: color var(--bjj-transition-base, 200ms) ease, border-color var(--bjj-transition-base, 200ms) ease;
}
.single-product .woocommerce-tabs ul.tabs li.active a,
.single-product .woocommerce-tabs ul.tabs li a:hover {
	color: var(--wp--preset--color--contrast);
	border-bottom-color: var(--wp--preset--color--accent-1);
}

/* Mô tả sản phẩm — in NGAY trong cột phải (bjj_gear_inline_description() ở functions.php),
   KHÔNG còn ở tab riêng full-width phía dưới ảnh (đã verify DOM bjjfightgear.com: mô tả cùng
   x-position/width với hàng quantity+add-to-cart — tức thuộc cột phải, không phải section
   riêng). Text admin nhập qua wp-admin (Products → Mô tả), KHÔNG hard-code. Ngoài spacing, chỉ
   2 việc:
   1. <strong> trong mô tả đang bị 1 lớp global styles của WordPress (qua @layer — không lộ ra
      khi quét document.styleSheets ở top-level, đã xác nhận qua devtools) ép về font-weight:400,
      ép lại 700 để chữ đậm hiện đúng đậm.
   2. Đoạn <p> nào CHỈ chứa một <strong> duy nhất (kiểu admin viết "Product details:" làm tiêu đề
      phụ trước 1 danh sách) tự nhận diện qua CẤU TRÚC HTML (:has(> strong:only-child)), không
      hard-code chữ "Product details" — admin gõ tiêu đề phụ nào theo đúng kiểu này (1 dòng in
      đậm riêng) cũng tự được style, không chỉ riêng sản phẩm này. */
.single-product .bjj-inline-description {
	margin-top: 24px;
	font-size: 0.95rem;
	line-height: 1.6;
	color: var(--wp--preset--color--accent-4);
}
.single-product .bjj-inline-description strong,
.single-product .bjj-inline-description b {
	font-weight: 700 !important;
	color: var(--wp--preset--color--contrast);
}
.single-product .bjj-inline-description p:has(> strong:only-child) {
	margin-top: 24px;
}
.single-product .bjj-inline-description ul {
	margin: 8px 0 0;
	padding-left: 20px;
}
.single-product .bjj-inline-description ul li {
	margin-bottom: 6px;
	line-height: 1.5;
}
.single-product .bjj-inline-description ul li::marker {
	color: var(--wp--preset--color--accent-3);
}
.single-product .bjj-inline-description table {
	margin-top: 16px;
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
}
.single-product .bjj-inline-description th {
	background: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
	text-align: left;
	padding: 10px 12px;
	font-weight: 700;
}
.single-product .bjj-inline-description td {
	padding: 8px 12px;
	border-bottom: 1px solid var(--wp--preset--color--accent-6);
}

/* Ảnh bảng kích thước — chèn qua bjj_gear_size_chart_image() (functions.php), SAU mô tả, đúng
   vị trí đo trên bjjfightgear.com (mô tả → Key features → ảnh size chart). Chỉ hiện khi admin
   đã gán ảnh qua meta box "Bảng kích thước" ở trang sửa sản phẩm. */
.single-product .bjj-size-chart {
	margin-top: 24px;
}
.single-product .bjj-size-chart img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* "Sản phẩm tương tự" — block THẬT (woocommerce/product-collection, xem
   templates/single-product.html), dùng CHUNG class/CSS với card shop/trang chủ
   (.wc-block-components-product-image/.wp-block-post-title/... trong shop-archive.css) nên TỰ
   ĐỘNG đồng bộ — kể cả swatch màu, brand, tình trạng còn hàng, hiệu ứng nút hover (đều đến từ
   filter GLOBAL đã có sẵn: bjj_gear_product_card_swatches(), bjj_gear_product_card_brand_and_
   stock() trong functions.php). Ở đây CHỈ chỉnh spacing/heading của khối wrapper — dùng
   className riêng (.bjj-related-collection/.bjj-related-heading, đặt trong template) để không
   ảnh hưởng các chỗ khác cũng dùng block Product Collection (trang chủ...). */
.single-product .bjj-related-collection {
	clear: both;
	margin-top: 56px !important;
	padding-top: 40px;
	border-top: 1px solid var(--wp--preset--color--accent-6);
}
.single-product .bjj-related-heading {
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: 1.375rem;
	font-weight: 800;
	text-transform: uppercase;
	text-align: left;
	margin: 0 0 24px !important;
}

/* Đánh giá khách hàng — section riêng SAU "Sản phẩm tương tự" (xem bjj_gear_reviews_section() ở
   functions.php — dùng lại nguyên comments_template()/single-product-reviews.php của
   WooCommerce, chỉ style lại vị trí/typography cho khớp "CUSTOMER REVIEWS" đo trực tiếp trên
   bjjfightgear.com — section đó thực ra là widget Judge.me riêng (jdgm-rev-widg), KHÁC hẳn
   markup/class với review classic của WooCommerce mà mình đang dùng, nên không "kế thừa" được gì
   — phải đo từng giá trị (cỡ chữ/màu/spacing) rồi tự viết lại CSS tương ứng ở đây.
   ĐÍNH CHÍNH LẦN 2: lần trước thu hẹp cả container (max-width:960px) tưởng vậy mới "căn giữa"
   được — SAI, làm luôn cả list comment (vốn căn trái, full-width thật trên bjjfightgear.com) bị
   bó hẹp/lệch theo. Bản gốc: `.jdgm-rev-widg` rộng ngang "Sản phẩm tương tự" thật (không phải
   cột hẹp) — heading/summary "trông" căn giữa chỉ vì bản thân 2 khối đó tự
   text-align:center/justify-content:center bên trong, KHÔNG PHẢI vì cả container bị thu hẹp.
   Còn `.jdgm-rev` (từng review) là block bình thường, tự động căn trái + full width theo đúng
   container rộng. Nên quay lại max-width theo wideSize (khớp "Sản phẩm tương tự"), chỉ căn giữa
   NỘI DUNG bên trong heading/summary — vừa đúng cả 2, không cần 2 max-width khác nhau. */
.single-product .bjj-reviews-section {
	clear: both;
	max-width: var(--wp--style--global--wide-size, 1400px);
	margin: 56px auto 0;
	padding-top: 40px;
	border-top: 1px solid var(--wp--preset--color--accent-6);
}
.single-product .bjj-reviews-section .woocommerce-Reviews-title {
	/* 24px/800/uppercase/Montserrat, CĂN GIỮA — đo lại đúng heading "CUSTOMER REVIEWS" thật
	   (text-align:center, không phải left như lần đo trước). Text tiêu đề cũng đã cố định thành
	   "Đánh giá khách hàng" qua filter `woocommerce_reviews_title` (functions.php) — bỏ phần "N
	   đánh giá cho <Tên SP>" mặc định của WooCommerce vì bản gốc không lặp lại tên sản phẩm ở đây
	   (đã hiện ở đầu trang). */
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: 1.5rem;
	line-height: 1.4; /* mặc định theme ~1.125 → heading thấp hơn hẳn bản gốc (27px vs 33.6px đo
		được), ép lại đúng tỉ lệ line-height đo trên bjjfightgear.com */
	font-weight: 800;
	text-transform: uppercase;
	text-align: center;
	margin: 0 0 24px;
}

/* Rating trung bình + biểu đồ phân bố sao — chèn qua bjj_gear_review_summary_html(), ngay sau
   heading, đúng vị trí đo trên bjjfightgear.com. Chỉ hiện khi có ít nhất 1 review (xem điều kiện
   trong hàm PHP). CĂN GIỮA cả cụm (average + histogram cạnh nhau, không dàn 2 đầu) — đo đúng
   `.jdgm-row-stars { display:flex; justify-content:center }` trên bjjfightgear.com. */
.bjj-review-summary {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	gap: 32px;
	margin-bottom: 32px;
}
.bjj-review-summary__text {
	/* Nhóm rating trung bình + "Dựa trên N đánh giá" thành 1 khối, đứng cạnh histogram — đúng cấu
	   trúc 2 khối `.jdgm-rev-widg__summary` + `.jdgm-histogram` đo trên bjjfightgear.com. */
	text-align: center;
}
.bjj-review-histogram {
	/* Đường kẻ dọc ngăn với khối rating trung bình — đo trực tiếp bjjfightgear.com
	   (`.jdgm-histogram { border-left: 1px solid rgba(16,132,116,.1) }`, cùng màu cực mảnh với
	   border-top của từng review bên dưới). align-items:stretch ở .bjj-review-summary để đường kẻ
	   cao bằng khối bên cạnh (không phải chỉ cao bằng nội dung). */
	border-left: 1px solid rgba(26, 39, 68, .1);
	padding-left: 32px;
}
.bjj-review-summary__average {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}
.bjj-review-summary__value {
	font-size: 1rem;
	color: #1a2744; /* teal đo trực tiếp link "X.XX out of 5" trên bjjfightgear.com */
	text-decoration: underline;
}
.bjj-review-summary__count {
	margin: 4px 0 0;
	font-size: 1rem;
	color: var(--wp--preset--color--contrast);
}
.bjj-review-histogram {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 220px;
}
.bjj-review-histogram__row {
	display: flex;
	align-items: center;
	gap: 8px;
}
.bjj-review-histogram__row .bjj-stars {
	font-size: 11px; /* ~12.8px đo trên bjjfightgear.com, làm tròn xuống cho khớp lưới 4px */
}
.bjj-review-histogram__bar {
	position: relative;
	display: inline-block;
	width: 140px;
	height: 14px;
	background: rgba(224, 224, 224, .5); /* track — đo trực tiếp bjjfightgear.com */
	border-radius: 2px;
	overflow: hidden;
}
.bjj-review-histogram__bar span {
	position: absolute;
	inset: 0 auto 0 0;
	height: 100%;
	background: #1a2744; /* fill teal — đo trực tiếp bjjfightgear.com */
}
.bjj-review-histogram__freq {
	min-width: 18px;
	font-size: 0.8rem; /* 12.8px */
	color: #7b7b7b; /* đo trực tiếp bjjfightgear.com */
	text-align: right;
}

/* Icon sao dùng chung (rating trung bình, histogram, review classic .star-rating bên dưới) — kỹ
   thuật 2 lớp giống hệt cách đã fix cho card sản phẩm ở shop-archive.css (viền mỏng cho phần
   rỗng, tô đặc cho phần đạt, cùng màu #d4982a). Ở đây dùng ký tự Unicode ★ (bjj_gear_star_icons_
   html()) thay vì font icon riêng của WooCommerce — component TỰ VIẾT nên không bị giới hạn bởi
   markup/CSS gốc của block product-rating. */
.bjj-stars {
	position: relative;
	display: inline-block;
	line-height: 1;
	font-family: Arial, Helvetica, sans-serif;
	white-space: nowrap;
}
.bjj-stars__bg,
.bjj-stars__fg {
	display: block;
}
.bjj-stars__bg {
	color: transparent;
	-webkit-text-stroke: 1px #d4982a;
}
.bjj-stars__fg {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	width: var(--bjj-stars-fill, 0%);
	color: #d4982a;
	-webkit-text-stroke: 0;
}

.single-product .bjj-reviews-section .commentlist {
	list-style: none;
	margin: 0;
	padding: 0;
}
.single-product .bjj-reviews-section .commentlist li {
	/* padding 16px (không phải 20px) + border-top RẤT mảnh (10% opacity teal, gần như vô hình,
	   không phải border-bottom xám rõ như trước) — đo trực tiếp `.jdgm-rev { border-top:1px solid
	   rgba(16,132,116,.1); padding:16px 0 }` trên bjjfightgear.com. border-top (không phải
	   border-bottom) để mỗi review chỉ có 1 đường kẻ, không bị đúp giữa 2 item liền nhau. */
	padding: 16px 0;
	border-top: 1px solid rgba(26, 39, 68, .1);
}
.single-product .bjj-reviews-section .commentlist li:first-child {
	border-top: none;
}
.single-product .bjj-reviews-section .comment-text {
	/* WooCommerce mặc định vẽ .comment-text như 1 "thẻ" riêng — border 1px + border-radius 4px +
	   padding 1em (`.comment-text{margin:0 0 0 50px;border:1px solid #e1dde7;border-radius:4px;
	   padding:1em 1em 0}` trong woocommerce.css) — đây chính là khung viền lộ rõ khiến cả review
	   nhìn như 1 ô vuông, SAI hẳn so với bjjfightgear.com (không có border/box nào, chỉ có border-
	   top rất mảnh của cả <li>, đã style ở trên). Bỏ hết border/bo góc/padding riêng của WC, chỉ
	   giữ margin-left để chừa chỗ cho avatar (32px + padding/border/gap ~ đo lại còn 44px).
	   !important bắt buộc — CSS gốc WooCommerce cùng selector/specificity nhưng load sau (lỗi y
	   hệt đã gặp ở .star-rating/.wc-block-components-product-rating__stars phía trên, đã verify
	   qua getComputedStyle: border vẫn còn 1px dù đặt border:none không !important). */
	margin-left: 44px;
	border: none !important;
	border-radius: 0 !important;
	padding: 0 !important;
}
.single-product .bjj-reviews-section img.avatar {
	/* Avatar tròn nhỏ gọn hơn — bo tròn hoàn toàn (border-radius:50%) thay vì vuông viền xám mặc
	   định của WooCommerce, đỡ nặng nề hơn, gần với icon avatar nhỏ trên bjjfightgear.com. */
	border-radius: 50%;
}
.single-product .bjj-reviews-section .star-rating {
	/* Cùng kỹ thuật/màu với .wc-block-components-product-rating__stars ở shop-archive.css —
	   class khác (.star-rating là review CLASSIC của WooCommerce, không phải block) nhưng cùng
	   lỗi mặc định (color:inherit ăn theo màu chữ theme, ra đen/xám thay vì cam-vàng).
	   Bỏ float:right mặc định của WooCommerce (làm sao trông như nằm NGANG HÀNG với tên người
	   review thay vì đứng thành hàng RIÊNG trên cùng — đúng thứ tự đo trên bjjfightgear.com: sao →
	   ngày (cùng hàng) → tên → nội dung). width/overflow cũng bỏ giới hạn 5.4em mặc định để chứa
	   được <time> (đã chuyển vào đây qua bjj_gear_postprocess_reviews_html() trong functions.php,
	   xem comment ở đó) nằm bên phải, cách đều 2 đầu hàng. */
	/* Icon sao render qua ::before TUYỆT ĐỐI định vị (position:absolute;top:0;left:0 — mặc định
	   WooCommerce), nên KHÔNG tham gia flex layout — chỉ <time> mới là flex item thật. Vì vậy
	   không dùng justify-content:space-between (chỉ có 1 item thì vô tác dụng, item đó tự nằm
	   sát trái, ĐÈ LÊN sao — bug thật đã gặp). Thay bằng width:100% (rộng hết hàng) + margin-left:
	   auto trên <time> để tự đẩy sang phải, sao vẫn nằm yên bên trái nhờ absolute position. */
	/* font-size kế thừa mặc định 22px (context .description/.meta) trong khi height ép cứng
	   16px — icon sao ở font-size 22px cao hơn hẳn 16px, bị overflow:hidden cắt mất phần đáy (bug
	   thật đã gặp: "sao bị mất bottom"). Ép lại font-size khớp đúng height bên dưới. */
	font-size: 16px;
	display: flex;
	align-items: center;
	float: none;
	width: 100%;
	height: 16px;
	/* GIỮ overflow:hidden (không đổi thành visible) — đây chính là cơ chế WooCommerce dùng để ẩn
	   text đọc-màn-hình "Được xếp hạng X trên 5 sao" (nằm trong <span> con, bị đẩy xuống dưới qua
	   padding-top:1.5em rồi cắt mất nhờ overflow:hidden + chiều cao cố định). Bug thật đã gặp: đổi
	   overflow:visible lúc đầu làm lộ hẳn dòng text đó ra ngoài, đè lên tên người review. */
	overflow: hidden;
	color: transparent;
	-webkit-text-stroke: 1px #d4982a;
	margin-bottom: 8px;
}
.single-product .bjj-reviews-section .star-rating .woocommerce-review__published-date {
	margin-left: auto;
	font-size: 0.85rem;
	line-height: 16px; /* khớp height cố định ở trên để không bị cắt trên/dưới bởi overflow:hidden */
	color: var(--wp--preset--color--contrast);
	-webkit-text-stroke: 0;
	white-space: nowrap;
}
.single-product .bjj-reviews-section .star-rating::before {
	/* !important bắt buộc — CSS gốc WooCommerce (woocommerce.css) dùng cùng selector/specificity
	   nhưng load sau, xem giải thích chi tiết ở .wc-block-components-product-rating__stars::before
	   trong shop-archive.css (lỗi y hệt, đã verify qua getComputedStyle). */
	color: transparent !important;
	-webkit-text-stroke: 1px #d4982a !important;
	opacity: 1 !important;
}
.single-product .bjj-reviews-section .star-rating span::before {
	color: #d4982a !important;
	-webkit-text-stroke: 0 !important;
}
.single-product .bjj-reviews-section .woocommerce-review__author {
	font-weight: 400;
	font-style: normal;
	color: #1a2744; /* teal đo trực tiếp tên người review trên bjjfightgear.com */
}
/* .woocommerce-review__dash không còn trong DOM nữa — đã bỏ hẳn qua
   bjj_gear_postprocess_reviews_html() khi chuyển <time> vào star-rating (không có dấu "–" trước
   ngày ở bản gốc). .woocommerce-review__published-date giờ style riêng ở trong .star-rating phía
   trên. */
.single-product .bjj-reviews-section .description p {
	margin: 8px 0 0;
	font-size: 1rem;
	color: var(--wp--preset--color--contrast);
}
.single-product .bjj-reviews-section #review_form_wrapper {
	margin-top: 32px;
}
.single-product .bjj-reviews-section .comment-form-rating,
.single-product .bjj-reviews-section .comment-form-comment,
.single-product .bjj-reviews-section .comment-form-author,
.single-product .bjj-reviews-section .comment-form-email {
	margin-bottom: 16px;
}
.single-product .bjj-reviews-section input[type="text"],
.single-product .bjj-reviews-section input[type="email"],
.single-product .bjj-reviews-section textarea,
.single-product .bjj-reviews-section select {
	width: 100%;
	border: 1px solid var(--wp--preset--color--accent-6);
	border-radius: 4px;
	padding: 10px 12px;
	box-sizing: border-box;
}
