.sec-product {
	padding: 20px 0;
}

/* product detail */
.product-image {}

.product-image__for-item {
	position: relative;
	overflow: hidden;
	border-radius: 8px;

}

.product-image__for-item::before {
	content: "";
	padding-top: 80%;
	display: block;
}

.product-image__for-item img {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.product-image__nav-item {
	position: relative;
	overflow: hidden;
	border-radius: 8px;

}

.product-image__nav-item::before {
	content: "";
	padding-top: 100%;
	display: block;
}

.product-image__nav-item img {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.banner-products-category {
    position: relative;
	width: 100%;
}
.banner-products-category:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: #0000009c;
}
.images-categorys {
    width: 100%;
}
.images-categorys img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    display: block;
}
.banner-products-category .info-count-pro {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
    padding: unset;
}
.info-count-pro {
    justify-content: center;
}
.info-count-pro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    /* margin-top: 20px; */
}
.banner-products-category .info-count-pro .count-pro {
    color: #Fff;
    font-weight: 300;
    font-size: 16px;
    width: 100%;
}
.banner-products-category .info-count-pro .count-pro {
    text-align: center;
}
.info-count-pro .count-pro {
    text-transform: uppercase;
}
.banner-products-category .info-count-pro .count-pro span {
    font-size: 30px;
    font-weight: 500;
    text-transform: uppercase;
}
.count-pro p {
    margin-top: 0;
}
.count-pro p a {
    font-size: 12px;
    color: #fff;
    font-weight: 500;
    text-transform: uppercase;
}
.info-count-pro {
    justify-content: center;
}
.info-count-pro.titles-pro {
    margin-top: 20px;
}
.content-category {
    text-align: justify;
    margin-top: 0px;
    margin-bottom: 20px;
}
.content-category img {
    max-width: 100%;
}
.content-category ul li {
    list-style: disc !important;
    margin-left: 20px;
}
.content-category button {
	text-align: center;
	margin: 0 auto;
	margin-top: 10px;
	border: 1px solid #03a5dc;
	/* background: #03a5dc; */
	padding: 7px 22px;
	color: #808080;
	border-radius: 3px;
}

.content-preview {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	/* Giới hạn 3 dòng */
	-webkit-box-orient: vertical;
	overflow: hidden;
	position: relative;
}

.toggle-container {
	text-align: center;
	/* Căn giữa nút trong phần nội dung */
	margin-top: 10px;
}

.btn-read-more {
	margin-top: 5px;
	color: blue;
	cursor: pointer;
	border: none;
	background: none;
	font-size: 14px;
}
.info-count-pro .count-pro {
    font-size: 22px;
    color: #000;
    font-weight: 700;
}
.stars-container {
	direction: rtl;
	display: flex;
	gap: 5px;
}

.stars-container input {
	display: none;
}

.stars-container label {
	font-size: 2rem;
	color: #ccc;
	cursor: pointer;
	transition: color 0.2s;
}

.stars-container input:checked~label,
.stars-container label:hover,
.stars-container label:hover~label {
	color: gold;
}

.options-container {
	display: flex;
	gap: 10px;
	align-items: center;
}

.option-item {
	border: 2px solid #ddd;
	border-radius: 6px;
	padding: 15px 20px;
	text-align: center;
	cursor: pointer;
	background: white;
	transition: all 0.2s ease;
	position: relative;
	min-width: 120px;
}

.option-item:hover {
	border-color: #007bff;
}

.option-item.selected {
	border-color: #1aace3;
	background: #1aace3;
	color: white;
}

.popular-badge {
	background: #ff4757;
	color: white;
	font-size: 10px;
	padding: 4px 8px;
	border-radius: 10px;
	font-weight: bold;
	white-space: nowrap;
	margin-bottom: 8px;
}

.duration {
	font-size: 14px;
	font-weight: bold;
	margin-bottom: 5px;
}

.price {
	font-size: 16px;
	font-weight: bold;
	color: #333;
}

.option-item.selected .price {
	color: white;
}

.unit {
	font-size: 12px;
	color: #666;
}

.option-item.selected .unit {
	color: rgba(255, 255, 255, 0.9);
}

/* .box-detail-sgc .description strong {
	width: 74px;
	
} */
.text-strong {
	width: 50px;
	display: inline-block;
}

.box-detail-sgc .description p {
	padding-bottom: 5px;
	border-bottom: 1px solid #cdcdcd;
	padding-top: 5px;
	color: #333;
	font-size: 15px;
}
.category-product {
	background: #fff;
	padding: 30px 0;
}
.category-product:nth-child(2n) {
    background: #eee;
}
.title {
	display: flex;
	align-items: center;
	gap: 10px;
}

@media(max-width:768px) {
	.box-detail-sgc .product-layout {
		display: block;
	}
	.product-image__nav-item {
			margin: 10px 5px ;
	}
			.product-image {
		display: block;
	}

	.product-info .title {
		flex-wrap: wrap;
		width: 100%;
	}
}

@media (max-width: 480px) {
	.options-container {
		flex-direction: column;
		width: 100%;
	}

	.option-item {
		width: 100%;
	}
}


@media (min-width: 992px) {
	.product-image__nav-item:not(:last-child) {
		margin-bottom: 5px;
	}

	.product-image {
		flex-direction: row-reverse;
	}
}
