/*
Theme Name: Html81 B2B Traditional
Theme URI: https://html.92wailian.com/html81/
Author: Panglu
Description: WordPress traditional theme converted from the html81 static template with Panglu B2B product plugin compatibility.
Version: 1.0.0
Text Domain: html81-b2b-traditional
*/

.wp-product-empty,
.wp-news-empty {
	padding: 60px 0;
	text-align: center;
	color: #666;
}

.productbox ul li a {
	display: block;
}

.productbox ul li i img {
	width: 100%;
	height: auto;
}

.b2b-product-detail {
	padding: 60px 0 80px;
}

.b2b-product-head {
	display: grid;
	grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
	gap: 48px;
	margin-bottom: 56px;
}

.b2b-product-main-image {
	border: 1px solid #ddd;
	background: #f8f8f8;
	text-align: center;
}

.b2b-product-main-image img {
	width: 100%;
	height: auto;
	display: block;
}

.b2b-product-gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 12px;
}

.b2b-product-gallery li {
	width: 82px;
	border: 1px solid #ddd;
	background: #fff;
}

.b2b-product-gallery li.is-active {
	border-color: #2D83F9;
}

.b2b-product-gallery button {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}

.b2b-product-gallery button:focus-visible {
	outline: 2px solid #2D83F9;
	outline-offset: 2px;
}

.b2b-product-gallery img {
	display: block;
	width: 100%;
	height: 72px;
	object-fit: cover;
}

.b2b-product-title {
	font-size: 30px;
	line-height: 1.35;
	color: #222;
	font-weight: bold;
	margin-bottom: 20px;
}

.b2b-product-price {
	font-size: 24px;
	color: #f00;
	font-weight: bold;
	margin-bottom: 24px;
}

.b2b-product-excerpt {
	font-size: 15px;
	line-height: 1.8;
	color: #555;
	margin-bottom: 24px;
}

.b2b-product-table {
	border-top: 1px solid #e6e6e6;
	margin-bottom: 24px;
}

.b2b-product-table .param-row,
.b2b-product-table .attr-row {
	display: grid;
	grid-template-columns: 130px 1fr;
	border-bottom: 1px solid #e6e6e6;
}

.b2b-product-table dt,
.b2b-product-table dd {
	padding: 12px 0;
	font-size: 14px;
	line-height: 1.6;
}

.b2b-product-table dt {
	color: #777;
}

.b2b-product-table dd {
	color: #222;
	margin: 0;
}

.b2b-product-inquiry .btn,
.b2b-product-inquiry .send {
	display: inline-block;
	min-width: 160px;
	height: 44px;
	line-height: 44px;
	text-align: center;
	background: #2D83F9;
	color: #fff;
	border-radius: 4px;
}

.b2b-product-content {
	border-top: 1px solid #e6e6e6;
	padding-top: 32px;
	font-size: 16px;
	line-height: 1.9;
	color: #222;
}

.b2b-term-title {
	padding: 40px 0 0;
}

.b2b-term-title h1 {
	font-size: 26px;
	font-weight: bold;
	color: #222;
}

@media (max-width: 767px) {
	.b2b-product-head {
		display: block;
	}

	.b2b-product-media {
		margin-bottom: 28px;
	}

	.b2b-product-title {
		font-size: 22px;
	}

	.b2b-product-table .param-row,
	.b2b-product-table .attr-row {
		grid-template-columns: 96px 1fr;
	}
}
