/* ==========================================================================
   Bercarlo — products.css
   Product list / series / detail pages, mobile-style layout.
   Ported from the original Minner.css + Mcommon.css of www.bercarlo.com.
   ========================================================================== */

.product-page {
	background: #efefef;
	padding-top: var(--header-height);
	min-height: 60vh;
}

/* -------------------- Breadcrumb -------------------- */
.product-page .Position {
	max-width: 640px;
	margin: 0 auto 10px;
	padding: 0 20px;
	font-size: 12px;
	line-height: 28px;
	text-align: left;
	color: #666;
}

.product-page .Position a {
	color: #666;
	font-size: 12px;
}

.product-page .Position a:hover {
	color: #333;
}

.product-page .Position span {
	padding-right: 10px;
	padding-left: 4px;
}

.product-page .Position em {
	font-style: normal;
	color: #333;
}

/* -------------------- Series nav -------------------- */
.ClassNav {
	max-width: 640px;
	margin: 0 auto;
	padding: 10px 10px 0;
}

.ClassNav .NavTree ul {
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
	list-style: none;
	gap: 8px;
}

.ClassNav .NavTree li {
	flex: 1 1 calc(33.333% - 8px);
	min-width: 100px;
}

.ClassNav .NavTree li a {
	display: block;
	height: 32px;
	line-height: 32px;
	text-align: center;
	font-size: 13px;
	color: #333;
	background: #fff;
	border-radius: 5px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	padding: 0 6px;
}

.ClassNav .NavTree li a:hover {
	background: #b0966a;
	color: #fff;
}

.ClassNav .NavTree li.current a {
	background: #212121;
	color: #fff;
}

/* -------------------- Layout wrapper -------------------- */
#body .inner {
	max-width: 640px;
	margin: auto;
	padding-top: 0;
}

#body .inner .right {
	max-width: 638px;
	background: transparent;
	padding-bottom: 10px;
}

.MorePro {
	margin-bottom: 40px;
	padding: 10px;
}

/* -------------------- Entrance animation --------------------
   Original markup: .ClassNav carries bounceInLeft and .CaseBlock carries
   bounceInUp, both fired once the element scrolls into view. */
.anim-ready [data-animation] {
	opacity: 0;
}

[data-animation].is-visible {
	opacity: 1;
}

.is-visible[data-animation="bounceInLeft"] {
	animation: bercarlo-bounceInLeft .9s both;
}

.is-visible[data-animation="bounceInUp"] {
	animation: bercarlo-bounceInUp .9s both;
}

@keyframes bercarlo-bounceInLeft {
	from {
		opacity: 0;
		transform: translate3d(-60px, 0, 0);
	}
	60% {
		opacity: 1;
		transform: translate3d(8px, 0, 0);
	}
	to {
		opacity: 1;
		transform: none;
	}
}
@keyframes bercarlo-bounceInUp {
	from {
		opacity: 0;
		transform: translate3d(0, 60px, 0);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.gridlist li.albumblock {
	animation: none;
}

/* Cards themselves stay static; the .CaseBlock wrapper carries the animation. */






@media (prefers-reduced-motion: reduce) {
	[data-animation],
	[data-animation].is-visible {
		animation: none;
		opacity: 1;
	}

	.gridlist li.albumblock {
		animation: none;
	}
}

/* -------------------- Product cards -------------------- */
.gridlist {
	margin: 0;
	padding: 0;
	list-style: none;
}

.gridlist li.albumblock {
	margin-bottom: 20px;
	background: #fff;
	border-radius: 10px;
	padding-top: 10px;
	overflow: hidden;
}

.gridlist li .inner {
	width: auto;
	margin: auto;
	padding: 0;
	border-radius: 10px;
}

.gridlist li .img_box {
	position: relative;
	background: #fff;
	text-align: center;
	overflow: hidden;
	padding: 10px 15px 15px;
}

.gridlist li .img_box img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform .5s ease;
}

.gridlist li a:hover .img_box img {
	transform: scale(1.09);
}

/* Card lifts on hover so the whole tile reads as clickable. */
.gridlist li.albumblock {
	transition: box-shadow .3s ease, transform .3s ease;
}

.gridlist li.albumblock:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, .16);
	transform: translateY(-3px);
}

.gridlist li a:hover .InfoTitle .t {
	color: #b0966a;
}

.gridlist li .InfoTitle {
	overflow: hidden;
	font-size: 14px;
	padding: 0 5px 5px;
	text-align: left;
}

.gridlist li .InfoTitle span {
	display: block;
	line-height: 30px;
}

.gridlist li .InfoTitle .t {
	text-align: center;
	font-size: 16px;
	color: #333;
}

.gridlist li .InfoTitle .Title {
	text-align: center;
	font-size: 20px;
	color: #b0966a;
	margin-bottom: 10px;
	letter-spacing: 1px;
}

/* -------------------- Text pagination -------------------- */
.t_page {
	padding: 20px 0 40px;
	text-align: center;
}

.t_page .pagination {
	margin: 0;
}

.t_page .page-numbers {
	display: inline-block;
	padding: 5px 10px;
	margin: 0 3px;
	font-size: 12px;
	color: #242525;
	background: #fff;
	border: 0;
	border-radius: 3px;
}

.t_page .page-numbers.current {
	background: #212121;
	color: #fff;
}

.t_page a.page-numbers:hover {
	background: #b0966a;
	color: #fff;
}

.empty {
	width: 300px;
	margin: 60px auto;
	text-align: center;
	color: #867f7f;
	font-size: 14px;
}

/* -------------------- Detail: banner + wrapper -------------------- */
.single-product .main {
	padding: 0;
}

.single-product .pro-banner img {
	width: 100%;
	height: auto;
	display: block;
}

.single-product .ProInfo {
	max-width: 640px;
	margin: 0 auto;
	background: #fff;
	border-radius: 10px;
	padding-bottom: 20px;
	overflow: hidden;
}

/* -------------------- Detail: main image -------------------- */
.single-product .ProInfo .image {
	width: 100%;
	margin: 10px auto 20px;
}

.single-product .spec-preview {
	margin: auto;
	padding-top: 10px;
	text-align: center;
	position: relative;
}

.single-product .spec-preview img {
	width: 70%;
	max-width: 420px;
	height: auto;
	border-radius: 5px;
}

/* -------------------- Detail: 型号 / 名称 + design notes -------------------- */
.single-product .infoTitle {
	padding: 0 15px;
	margin-bottom: 10px;
}

.single-product .infoTitle h1 {
	font-size: 16px;
	line-height: 26px;
	font-weight: bold;
	color: #333;
	margin: 0 0 10px;
	text-align: left;
}

.single-product .infoTitle h1 span {
	display: inline-block;
	white-space: nowrap;
}

.single-product .Infocn {
	font-size: 13px;
	line-height: 200%;
	color: #555;
}

.single-product .Infocn p {
	margin: 0;
	padding: 3px 0;
	text-align: left;
}

/* -------------------- Detail: gallery groups -------------------- */
.single-product .type_img {
	margin-top: 15px;
}

.single-product .type_img .tp {
	background: #404143;
	color: #fff;
	height: 50px;
	line-height: 50px;
	font-size: 14px;
	padding-left: 20px;
}

.single-product .type_img img {
	width: 100%;
	height: auto;
	display: block;
}

/* -------------------- Detail: spec table -------------------- */
.single-product .Parameter {
	padding-top: 10px;
}

.single-product .Parameter .pbox {
	padding: 0 20px;
	min-height: 40px;
	line-height: 40px;
	border-bottom: 1px dotted #ddd;
	font-size: 13px;
	overflow: hidden;
}

.single-product .Parameter label {
	float: left;
	width: 80px;
	color: #989696;
}

.single-product .Parameter .lbox {
	float: left;
	color: #333;
}

/* -------------------- Detail: body copy -------------------- */
.single-product .maincontent {
	font-size: 14px;
	line-height: 22px;
	letter-spacing: 1px;
	padding: 0 0 10px;
}

.single-product .maincontent .article_content {
	padding: 0 15px;
}

.single-product .maincontent p {
	padding: 5px 0;
	font-size: 13px;
	line-height: 200%;
	text-align: left;
}

.single-product .maincontent img {
	max-width: 100%;
	height: auto;
}

/* -------------------- Responsive -------------------- */
@media screen and (max-width: 900px) {
	.product-page {
		padding-top: 60px;
	}

	.ClassNav .NavTree li {
		flex: 1 1 calc(50% - 8px);
	}

	.single-product .spec-preview img {
		width: 82%;
	}

	.single-product .type_img .tp {
		height: 44px;
		line-height: 44px;
		font-size: 13px;
		padding-left: 15px;
	}
}
