.pg-title .sSort {
	padding: 5px;
	border: 1px solid #ddd;
	color: #333;

}

/*left*/
.c-mid .left h3.title:before {
	content: "";
	position: absolute;
	width: 50px;
	border: 1px solid #ccc;
	bottom: 0px;
	left: 0px;
}
.c-mid .left .menu {
	padding: 0px;
	list-style: none;
	margin: 0px;
}
.c-mid .left .menu li {
	position: relative;
}
.c-mid .left .menu li .pg-count{
	position: absolute;
	right: 0px;
	top: 10px;
	font-size: 0.8em;
	color: #999;
}
.c-mid .left .menu li:not(:last-child) {
	border-bottom: 1px solid #ccc;
}
.c-mid .left .menu li a {
	font-size: 1.1em;
	color: #333;
	display: block;
	padding: 8px 0px;
}
.c-mid .left .menu li a:hover {
	color: var(--bs-danger);
}

/*box-service*/
.box-service img {
	width: 80px;
	height: 80px;
	object-fit: cover;
}

/*pg-detail*/
.pg-detail {
	font-size: 1.05em;
	height: 500px;
	overflow: hidden;
	position: relative;
	padding-bottom: 50px;
}
.pg-detail .btn-collapse {
	height: 60px;
	background-image: linear-gradient(rgba(255,255,255,0),rgba(255,255,255,0.75), white);
	position: absolute;
	bottom: 0px;
	width: 100%;
	cursor: pointer;
}
.pg-detail .btn-collapse strong {
	position: absolute;
	bottom: 0px;
	font-size: 1.1em;
	color: var(--bs-dark);
}
.pg-detail h2, .p-detail h2 {
	font-size: 1.5em;
}
.pg-detail h3, .p-detail h3 {
	font-size: 1.4em;
}
.pg-detail h4, .p-detail h4 {
	font-size: 1.3em;
}
.pg-detail h5, .p-detail h5 {
	font-size: 1.2em;
}
.pg-detail img, .p-detail img {
	margin-top: 10px;
	margin-bottom: 10px;
}
.pg-detail p, .p-detail p {
	line-height: 1.5em;
}

/*p-detail*/
.p-detail table tr td, .cg-content table tr td {
	border: 1px solid #555;
}
.p-detail table, .cg-content table {
	max-width: 100%;
}

/*pg-product*/
.pg-product figure {
	transition: all 0.3s;
	position: relative;
}
.pg-product figure img {
	height: 260px;
	object-fit: cover;
}
.pg-product figure h3 {
	font-size: 14px;
}
.pg-product figure:hover {
	box-shadow: 0 .5rem 1rem rgba(50,50,50, .15);
}
.pg-product figure .price {
	color: #f90000;
	font-size: 1.2em;
}
.pg-product figure h3 {
	font-weight: bold;
}
.pg-product figure .sale {
	background: red;
	width: 30px;
	height: 30px;
	position: absolute;
	top: 15px;
	left: 15px;
	text-align: center;
	box-shadow: 0 .5rem 1rem rgba(50,50,50, .75);
	opacity: 0.85;
}
.pg-product figure .sale span {
	position: absolute;
	z-index: 99;
	color: #fff;
	font-size: 12px;
	transform: translate(-50%,-50%);
	top: 50%;
	left: 50%;
}
.pg-product figure .sale:before,
.pg-product figure .sale:after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	height: 30px;
	width: 30px;
	background: red;
}
.pg-product figure .sale:before {
	transform: rotate(30deg);
}
.pg-product figure .sale:after {
	transform: rotate(60deg);
}

/*p-des*/
.p-des h1 {

}
.p-des h1:before {
	content: "";
	position: absolute;
	width: 50px;
	border: 1px solid #ccc;
	bottom: 0px;
	left: 0px;
}

/*box-product*/
.box-product {

}
.box-product img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	transition: all 0.3s;
}
.box-product figure a.mask {
	display: block;
	height: 220px;
	overflow: hidden;
}
.box-product figure:hover img {
	transform: scale(1.1);
}

/*cg-content*/
.cg-content figure {
	transition: all 0.3s;
}
.cg-content figure:hover {
	box-shadow: 0 .5rem 1rem rgba(50,50,50, .15)!important;
}
.cg-content figure img {
	height: 180px;
	object-fit: cover;
}
.cg-content {
	font-size: 1.05em;
}
.cg-content img {
	max-width: 100%;
	margin-bottom: 15px;
}
.cg-content h2 {
	font-size: 1.5em;
}
.cg-content h3 {
	font-size: 1.4em;
}
.cg-content h4 {
	font-size: 1.3em;
}
.cg-content h5 {
	font-size: 1.2em;
}
.cg-content .list img {
	height: 180px;
	object-fit: cover;
}

/*toc*/
.toc {
	list-style: none;
	padding: 0px;
	margin: 0px;
}
.toc ul {
	list-style: none;
	padding: 0px 0px 0px 10px;
	margin: 0px;
}
.toc li {
	padding-top: 5px;
	padding-bottom: 5px;
}
.toc li a {
	color: var(--bs-dark);
}
.toc li a:hover {
	color: #666;
}

/*c-form*/
.c-form input {
	font-size: 0.9em;
}

/*p-color*/
.p-color {
	margin-left:10px;
	display:inline-block;
	width:25px;
	height:25px;
	border: 1px solid #ccc;
	text-align: center;
	cursor: pointer;
	position: relative;
}
.p-color:hover {
	border-color: #999;
}
.p-color.active:after {
	content: "v";
	font-size: 0.8em;
	position: absolute;
	right: 9px;
	top: 3px;
}
.p-color.active {
	border-color: var(--cus-color1);
}

.p-img {
	height:50px;
	margin-right:5px;
	padding:3px;
	border:1px solid #ccc;
}
.p-img.active {
	border-color: var(--cus-color1);
}




@media (min-width: 992px) {
	.pg-product figure img {
		height: 200px;
	}
	.p-amount > div:nth-child(1) {
		width: 30%;
	}
}

@media (min-width: 1200px) {
	.pg-product figure img {
		height: 260px;
	}
}

@media (max-width: 575.98px) {
	.pg-product figure img {
		height: 160px;
	}

	.p-amount > div:nth-child(1) {
		width: 50%;
	}

	.p-contact .btn {
		font-size: 11px!important;
	}

	.pg-product figure img {
		object-fit: contain;
	}
}