/* ==========================================================================
   Bercarlo — products.css
   Product archive / series / single templates.
   Adapted from the original css.css of www.bercarlo.com.
   ========================================================================== */

.product-page {
	background: #fff;
	padding-top: var(--header-height);
	min-height: 60vh;
}

/* Breadcrumb */
.product-page .Position {
	display: table;
	width: 1200px;
	max-width: 92%;
	margin: 0 auto;
	height: 60px;
	line-height: 60px;
	border-collapse: collapse;
}

.product-page .Position td {
	font-size: 14px;
	color: #7c7c7c;
}

.product-page .Position a {
	color: #333;
}

.product-page .Position a:hover {
	color: var(--color-accent);
}

.product-page .Position span {
	color: #7c7c7c;
	margin: 0 6px;
}

.product-page .Position .current {
	color: #333;
}

/* Layout wrapper */
.page_layout {
	width: 1320px;
	max-width: 94%;
	margin: 0 auto;
}

.sub_product_block {
	width: 100%;
	padding: 40px 0 60px;
}

.sub_product_block #product_list {
	min-height: 400px;
}

/* Product grid */
.pro_block {
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
}

.pro_block li {
	list-style: none;
	margin-bottom: 20px;
	text-align: center;
	transition: .2s ease;
}

.pro_block li a {
	display: block;
	overflow: hidden;
	background: #fff;
	width: 310px;
	padding: 20px 0;
	margin: 0 10px;
}

.pro_block .img-box {
	background: #fff;
	margin: auto;
	text-align: center;
	height: 360px;
	width: 262px;
	overflow: hidden;
}

.pro_block .img-box img {
	height: 360px;
	width: 100%;
	object-fit: cover;
	transition: .4s ease all;
}

.pro_block a img:hover {
	transform: scale(1.1);
}

.pro_block .detail_box .InfoTitle {
	display: block;
	font-size: 16px;
	color: #302d2e;
	text-align: center;
	margin: 30px 0 15px;
}

/* Pagination */
.sub_product_block .t_page {
	text-align: center;
	margin-top: 40px;
}

.sub_product_block .t_page .pagination {
	margin: 0;
}

.sub_product_block .t_page .page-numbers {
	display: inline-block;
	background: #eee;
	color: #333;
	padding: 10px 20px;
	border-radius: 20px;
	margin: 0 10px;
	border: 0;
}

.sub_product_block .t_page .page-numbers.current {
	background: var(--color-accent);
	color: #fff;
}

.sub_product_block .t_page a.page-numbers:hover {
	background: #d4d4d4;
}

.empty {
	width: 300px;
	margin: 60px auto;
	text-align: center;
	color: #867f7f;
}

/* Single product detail */
.sub_productContent_block {
	width: 100%;
	margin: auto;
	padding-bottom: 50px;
}

.sub_productContent_block .content {
	margin: auto;
	width: 1320px;
	max-width: 94%;
	background: #fff;
	padding-top: 30px;
}

.sub_productContent_block .top_product_info {
	display: flex;
	flex-wrap: wrap;
	gap: 50px;
	align-items: flex-start;
}

.sub_productContent_block .left_img {
	width: 400px;
	max-width: 100%;
	position: relative;
}

.sub_productContent_block .left_img img {
	width: 100%;
	border-radius: 5px;
}

.sub_productContent_block .right_info {
	flex: 1;
	min-width: 300px;
}

.sub_productContent_block .InfoTitle {
	margin-bottom: 30px;
}

.sub_productContent_block .InfoTitle h1 {
	margin: 0 0 15px;
	font-size: 38px;
	letter-spacing: 2px;
	color: #302d2e;
}

.sub_productContent_block .InfoTitle .f2 {
	display: inline-block;
	background: #fabd00;
	padding: 0 20px;
	height: 45px;
	line-height: 45px;
	color: #fff;
	font-size: 22px;
	border-radius: 15px;
}

.sub_productContent_block .right_info .Infoen {
	background: #404143;
	margin-bottom: 40px;
}

.sub_productContent_block .right_info .Infoen .name_box {
	height: 45px;
	color: #fff;
	text-align: center;
	font-size: 20px;
	border-bottom: 4px solid #fff;
	line-height: 45px;
}

.sub_productContent_block .right_info .Infoen .info_box {
	padding: 15px 25px;
}

.sub_productContent_block .right_info .Infoen p {
	line-height: 30px;
	margin: 0;
	font-size: 16px;
	color: #edecec;
}

.sub_productContent_block .right_info .Infoen .p1 {
	color: #fff;
}

.sub_productContent_block .Infocn {
	font-size: 15px;
	line-height: 1.9;
	color: #555;
}

.sub_productContent_block .maincontent {
	padding: 60px 40px 40px;
	text-align: center;
	font-size: 15px;
	line-height: 1.9;
	color: #555;
}

.sub_productContent_block .maincontent img {
	max-width: 100%;
	height: auto;
}

/* Related products */
.related-products {
	padding-top: 20px;
}

.related-title {
	font-size: 22px;
	color: #302d2e;
	text-align: center;
	margin: 20px 0 0;
	letter-spacing: 1px;
}

/* Responsive */
@media screen and (max-width: 900px) {
	.product-page {
		padding-top: 60px;
	}

	.pro_block {
		justify-content: center;
	}

	.pro_block li a {
		width: 46vw;
	}

	.pro_block .img-box,
	.pro_block .img-box img {
		width: 100%;
		height: auto;
		aspect-ratio: 262 / 360;
	}

	.sub_productContent_block .top_product_info {
		gap: 24px;
	}

	.sub_productContent_block .left_img {
		width: 100%;
	}

	.sub_productContent_block .InfoTitle h1 {
		font-size: 28px;
	}

	.sub_productContent_block .maincontent {
		padding: 30px 0 20px;
	}
}
