/* page product bg category */
.section-product {
	padding: 40px 0;
	background: #132f590d;
}

.section-product__ttl {
	margin-bottom: 30px;
}

/* page detail */
.product-detail {
	padding: 30px 0;
	background: #ebf0f8;
}

.product-detail__flex {
	gap: 30px 0;
}

.product-detail__content {

	gap: 32px;
	display: flex;
	flex-direction: column;
}

.product-detail__path {
	background: white;
	border-radius: 16px;
	box-shadow: 0px 6px 30px 0px rgba(0, 0, 0, 0.04);
	padding: 32px;
}

.reviews-details__review {}

.product-detail__path:not(:last-child) {
	margin-bottom: 30px;
}

.loan-reviews_card {
	display: flex;
	gap: 32px;
	flex-direction: row;
	border-radius: 16px;
	background: #FFF;
	padding: 24px 32px;
	box-shadow: 0px 6px 30px 0px rgba(0, 0, 0, 0.04);
	border: 1px solid #DFE0E4;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	z-index: 0;
}

.loan-reviews__part-one {
	display: flex;
	gap: 32px;
	flex-direction: column;
	padding: 20px 0;
}

.loan-reviews__thumb img {
	/* border-radius: 16px; */
}

.loan-reviews__thumb {
	border-radius: 16px;
	display: flex;
	justify-content: center;
	border-radius: 16px;
}

.loan-reviews__review {
	border: 1px solid #DFE0E4;
	border-radius: 30px;
	padding: 8px 20px 8px 8px;
	display: inline-flex;
	gap: 16px;
	justify-content: center;
	align-items: center;
}

.loan-reviews__review .rating {
	font-size: 24px;
	font-weight: 500;
	color: #2660B5;
	width: 60px;
	min-width: 60px;
	height: 60px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: 1px solid #2660B5;
}

.loan-reviews__review-info {
	flex-direction: column;
	gap: 8px;
}

.fs-small {
	font-size: 14px;
	line-height: 1.5;
}

.loan-reviews__part-two {
	padding: 20px 0 32px 20px;
	position: relative;
	flex: 1;
}

.loan-reviews__part-two::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 3px;
	height: 100%;
	border-left: 1px dashed #C1C4CC;
	border-radius: 16px;
}

.reviews-heading {
	border-bottom: 1px dashed #C1C4CC;
	padding-bottom: 16px;
	margin-bottom: 16px;
}

.reviews-heading__title {
	font-weight: 600;
	font-size: 24px;
}

.reviews-heading__content {
	font-size: 14px;
	color: #222E48;
}

.reviews-view ul li {
	position: relative;
	padding-left: 20px;
}

.reviews-view ul li::before {
	content: "\2713";
	color: #2660B5;
	position: absolute;
	font-weight: 700;
	left: 0;
}

.charges__card {
	border-radius: 16px;
	border: 1px solid #DFE0E4;
	background: rgba(19, 47, 89, 0.03);
	flex-direction: row;
	gap: 24px;
	padding: 24px;
}

.charges__part {
	display: flex;
	gap: 16px;
	flex: 1;
	padding-right: 24px;
	border-right: 1px dashed #C1C4CC;
}

.charges__part:last-child {
	padding-right: 0;
	border-right: none;
}

.charges__part-percentage {
	width: 60px;
	min-width: 60px;
	height: 60px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #2660B5;
	font-size: 18px;
	font-weight: 500;
	color: #2660B5;
}

.charges__part-title {
	font-size: 20px;
	font-weight: 500;
}

.pro__card {
	padding: 24px;
	border: 1px solid #DFE0E4;
	background: rgba(7, 76, 62, 0.03);
	border-radius: 16px;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	position: relative;
}

.pro__part {
	max-width: calc(50% - 20px);
}

.pro__par__ttl {
	font-weight: 600;
	font-size: 24px;
	display: flex;
	gap: 6px;
	align-items: center;
	margin-bottom: 24px;
}

.pro__par__ttl svg {
	width: 24px;
	height: 24px;
}

.pro__par__ttl svg g path {
	fill: #2660B5;
}

.pro__part.free .pro__par__ttl svg g path {
	fill: red;
}

.pro__card:after {
	content: "";
	position: absolute;
	top: 24px;
	left: 50%;
	width: 3px;
	height: 85%;
	border-right: 1px dashed #C1C4CC;
	transform: translateX(-50%);
}

.pro__card ul {
	display: flex;
	gap: 16px;
	flex-direction: column;
}

.pro__card ul li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 500;
}

.pro__part ul li::before {
	content: "\2713";
	color: #2660B5;
	font-weight: 700;
}

.pro__part.free ul li:before {
	content: "\2715";
	color: red;
}

.product-detail__faq {}

.reviews-details__review {
	gap: 32px;
	display: flex;
	flex-direction: column;
}

.average-reviews {}

.average-reviews__title {
	padding-bottom: 32px;
	margin-bottom: 32px;
	border-bottom: 1px dashed #C1C4CC;
	font-size: 24px;
	font-weight: 600;
}

.average-reviews__content {
	padding-bottom: 32px;
	border-bottom: 1px dashed #C1C4CC;
	gap: 40px;
}

.average-reviews__card {
	padding: 20px;
	background: #2660B5;
	color: #FFF;
	text-align: center;
	border-radius: 16px;
	min-width: 190px;
}

.average-reviews__count {
	font-size: 24px;
}

.headingTwo {
	font-size: 40px;
	font-weight: 700;
}

.average-reviews__card .testimonials-slider__rating {
	justify-content: center;
}

.progress-area {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
}

.progress-area__part {
	display: flex;
	align-items: center;
	gap: 20px;
}

.progress-area__part .gap-1 {
	display: flex;
	align-items: center;
	gap: 4px;
}

.progress-area__part .bi-star-fill {
	color: #EB7A23;
}

.progress-area__part .prog-bar {
	height: 12px;
	width: 100%;
	background: #EBECEF;
	border-radius: 5px;
	overflow: hidden;
}

.prog-percentage {
	height: 12px;
	background: #EB7A23;
	animation: none;
	position: relative;

}

.author {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.author__content {
	border-radius: 16px;
	background: rgba(19, 47, 89, 0.05);
	padding: 24px;
	gap: 24px;
	display: flex;
	flex-direction: column;
}

.author__submit-time {
	padding-bottom: 24px;
	border-bottom: 1px dashed #C1C4CC;
}

.author__text p {
	font-size: 18px;
	color: #222E48;
	margin-top: 12px;
}

.author__flex {
	display: flex;
	align-items: center;
	gap: 20px;
}

.author__thumbs {
	width: 72px;
	height: 72px;
}

.author__thumbs img {
	border-radius: 50%;
}

.author__name {
	font-size: 20px;
	font-weight: 600;
}

.binhluan .rating-form {}



.binhluan .form-header {
	text-align: center;
	margin-bottom: 30px;
}

.binhluan .form-header h2 {
	color: #1e293b;
	font-size: 33px;
	font-weight: 700;
	margin-bottom: 8px;
}

.binhluan .form-header p {
	color: #64748b;
	font-size: 16px;
}

.binhluan .product-info {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 10px 20px;
	background: linear-gradient(135deg, #f8fafc, #f1f5f9);
	border-radius: 12px;
	margin-bottom: 30px;
}

.binhluan .product-image {
	width: 60px;
	height: 60px;
	border-radius: 8px;
	overflow: hidden;
}

.binhluan .product-image img {
	width: 80px !important;
	height: 80px !important;
	object-fit: cover;
}

.binhluan .product-details h3 {
	color: #1e293b;
	font-weight: 600;
	margin-bottom: 4px !important;
}

.binhluan .product-details p {
	color: #64748b;
	font-size: 14px;
}

.binhluan .form-group {
	margin-bottom: 24px;
}

.binhluan .form-group label {
	display: block;
	color: #374151;
	font-weight: 600;
	margin-bottom: 5px;
	font-size: 18px;
}

.binhluan .star-rating {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
}

.binhluan .stars-container {
	display: flex;
	gap: 4px;
}

.binhluan .star {
	font-size: 2.5rem !important;
	color: #e2e8f0 !important;
	cursor: pointer;
	transition: all 0.3s ease;
	user-select: none;
}

.binhluan .star:hover {
	transform: scale(1.1);
	color: #fbbf24 !important;
}

.binhluan .star.active {
	color: #fbbf24;
	text-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
}

.binhluan .star.hover {
	color: #fde68a;
	transform: scale(1.05);
}

.binhluan .rating-text {
	color: var(--color-main);
	font-weight: 600;
	font-size: 1.1rem;
	margin-left: 12px;
	min-width: 120px;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.binhluan .rating-text.show {
	opacity: 1;
}

.binhluan .rating-labels {
	display: flex;
	justify-content: space-between;
	margin-top: 8px;
	font-size: 12px;
	color: #94a3b8;
}

.binhluan .quick-ratings {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 12px;
	margin-bottom: 20px;
}

.binhluan .quick-rating-btn {
	padding: 12px 16px;
	border: 1px solid #e5e7eb;
	background: white;
	border-radius: 12px;
	cursor: pointer;
	transition: all 0.3s ease;
	text-align: center;
	font-size: 14px;
	font-weight: 600;
	color: #64748b;
}

.binhluan .quick-rating-btn:hover {
	border-color: var(--color-main2);
	color: var(--color-main2);
	transform: translateY(-1px);
}

.binhluan .quick-rating-btn.active {
	background: var(--color-main2);
	color: white;
	border-color: var(--color-main2);
}

/* .binhluan .comment-textarea {
	width: 100%;
	min-height: 120px;
	padding: 16px;
	border: 1px solid #e5e7eb;
	border-radius: 5px;
	font-family: inherit;
	line-height: 1.6;
	resize: vertical;
	transition: all 0.3s ease;
	background: #fafbfc;
} */



/* .binhluan .comment-textarea::placeholder {
	color: #94a3b8;
} */

.binhluan .char-count {
	text-align: right;
	font-size: 12px;
	color: #94a3b8;
	margin-top: 8px;
}

.binhluan .user-info {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.binhluan .input-field {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid #e5e7eb;
	border-radius: 5px;
	font-size: 16px;
	transition: all 0.3s ease;
	background: #fafbfc;
}

.binhluan .input-field:focus {
	outline: none;
	border-color: var(--color-main);
	background: white;
	box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.binhluan .checkbox-group {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.binhluan .checkbox-item {
	display: flex;
	align-items: center;
	gap: 12px;
}

.binhluan .custom-checkbox {
	position: relative;
	width: 20px;
	height: 20px;
}

.binhluan .custom-checkbox input {
	opacity: 0;
	position: absolute;
	width: 100%;
	height: 100%;
	cursor: pointer;
}

.binhluan .checkmark {
	position: absolute;
	top: 0;
	left: 0;
	width: 20px;
	height: 20px;
	background: #f1f5f9;
	border: 1px solid #e5e7eb;
	border-radius: 4px;
	transition: all 0.3s ease;
}

.binhluan .custom-checkbox input:checked+.checkmark {
	background: linear-gradient(135deg, var(--color-main), #4f46e5);
	border-color: var(--color-main);
}

.binhluan .checkmark::after {
	content: '';
	position: absolute;
	display: none;
	left: 6px;
	top: 2px;
	width: 6px;
	height: 10px;
	border: solid white;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.binhluan .custom-checkbox input:checked+.checkmark::after {
	display: block;
}

.binhluan .checkbox-item label {
	margin: 0;
	font-weight: 500;
	font-size: 14px;
	cursor: pointer;
}

.binhluan .submit-section {
	margin-top: 20px;
}


.stars-container input {
	display: none;
}

.binhluan .submit-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.binhluan .submit-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

.sidebar__desc ul li {
	position: relative;
	padding-left: 20px;
}

.sidebar__desc ul li::before {
	content: "\2713";
	color: #2660B5;
	position: absolute;
	left: 0;
	font-weight: 700;
}

.sidebar__part {
	border-radius: 16px;
	background: #FFF;
	box-shadow: 0px 6px 30px 0px rgba(0, 0, 0, 0.04);
	padding: 24px;
}

.sidebar__part:not(:last-child) {
	margin-bottom: 24px;
}

.sidebar__part-title {
	padding-bottom: 24px;
	border-bottom: 1px dashed #C1C4CC;
	margin-bottom: 24px;
}

.minimum-loan {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.minimum-loan__title {
	font-size: 18px;
	font-weight: 500;
}

.minimum-loan__price {
	color: #2660B5;
	font-weight: 500;
	font-size: 2.4rem;
}

.product-detail__sidebar {
	position: sticky;
	top: 110px;
}

.sidebar__check {
	display: flex;
	gap: 12px;
	flex-direction: column;
	margin-bottom: 40px;
}

.sidebar__check li::before {
	content: "\2713";
	color: #2660B5;
	margin-right: 5px;
}

.sidebar__btn {
	display: flex;
	width: 100%;
}

.sidebar__social {
	gap: 10px;
}

.sidebar__social a {
	width: 32px;
	min-width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #2660B5;
	border: 1px solid #2660B5;
}

.sidebar__social a svg {
	width: 20px;
	height: 20px;
}

.sidebar__social a svg path {
	fill: currentColor;
}

.sidebar__social a:hover {
	background: #2660B5;
	color: white;
}

.sidebar__info-desc {
	margin-top: 10px;
}

.sidebar__info {
	margin-top: 20px;
}

@media screen and (max-width: 1440px) {


	.charges__card {
		flex-direction: column;
	}

	.charges__part {
		border-right: 0;
		padding-right: 0;
	}

	.loan-reviews_card {
		padding: 20px;
	}
}

@media screen and (max-width: 992px) {

	.product-detail__flex {
		flex-direction: column-reverse;
	}

	.product-detail__path {
		padding: 20px;
	}

	.average-reviews__title {
		padding-bottom: 20px;
		margin-bottom: 20px;
	}

	.author__content {
		gap: 15px;
	}

	.author__submit-time {
		padding-bottom: 15px;
	}

	.author__text p {
		font-size: 15px;
	}

	.author__flex {
		gap: 10px
	}

}

@media screen and (max-width: 767px) {
	.pro__card {
		flex-direction: column;
		gap: 25px;
	}

	.product-detail__content {
		gap: 20px;
	}

	.pro__card:after {
		display: none;
	}

	.pro__part {
		max-width: 100%;
		width: 100%;
	}

	.loan-reviews__part-two {
		width: 100%;
		padding: 0;
	}

	.loan-reviews__part-one {
		padding: 0;
		gap: 15px;
	}

	.loan-reviews_card {
		flex-direction: column-reverse;
		padding: 20px;
	}

	.loan-reviews__part-two::before {
		display: none;
	}

	.sidebar__part {
		padding: 20px;
	}

	.sidebar__check {
		margin-bottom: 20px;
	}

	.sidebar__part-title {
		padding-bottom: 10px;
		margin-bottom: 10px;
	}

	.average-reviews__content {
		flex-direction: column;
		align-items: center;
		gap: 20px;
	}

	.average-reviews__card {
		max-width: 190px;
	}
}
