/* Products page — bilingual doc layout, PC & mobile responsive */

#main .container {
	width: 100%;
	max-width: 1200px;
	box-sizing: border-box;
}

.products-page-header {
	text-align: center;
	margin-bottom: 2em;
}

.products-page-header h2 {
	margin-bottom: 0.35em;
}

.products-page-header p {
	color: #666;
	margin: 0;
	font-size: 0.95em;
}

.products-page-header::after {
	content: "";
	display: block;
	width: 60px;
	height: 3px;
	background: #0d7377;
	margin: 1em auto 0;
	border-radius: 2px;
}

/* Product tabs */
.product-tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75em;
	margin: 0 0 2.5em;
	padding: 0;
	list-style: none;
}

.product-tabs button {
	appearance: none;
	border: 2px solid #0d7377;
	background: #fff;
	color: #0d7377;
	font-family: inherit;
	font-size: 0.92em;
	font-weight: 600;
	padding: 0.75em 1.6em;
	border-radius: 4px;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
	line-height: 1.4;
}

.product-tabs button:hover {
	background: #e8f4f4;
}

.product-tabs button.active {
	background: #0d7377;
	color: #fff;
}

.product-tabs button .tab-sub {
	display: block;
	font-size: 0.82em;
	font-weight: 400;
	margin-top: 0.15em;
	opacity: 0.85;
}

.product-panel {
	display: none;
}

.product-panel.active {
	display: block;
}

.product-panel-title {
	text-align: center;
	margin: 0 0 2em;
	padding: 1.2em 1em;
	background: linear-gradient(135deg, #e8f4f4 0%, #f5fafa 100%);
	border: 1px solid #b8d8da;
	border-radius: 6px;
}

.product-panel-title h3 {
	margin: 0 0 0.35em;
	font-size: 1.35em;
	color: #0d7377;
	text-transform: none;
	letter-spacing: 0.02em;
}

.product-panel-title p {
	margin: 0;
	font-size: 0.95em;
	color: #555;
}

/* Doc sections — 10 blocks per product */
.doc-section {
	margin-bottom: 2.5em;
	padding-bottom: 2em;
	border-bottom: 1px solid #e8e8e8;
}

.doc-section:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.doc-section > h3 {
	border-left: 4px solid #0d7377;
	padding-left: 0.75em;
	margin-bottom: 1.2em;
	font-size: 1.15em;
	color: #333;
	text-transform: none;
	letter-spacing: 0.02em;
	line-height: 1.45;
}

.doc-section > h3 .sec-en {
	display: block;
	font-size: 0.78em;
	font-weight: 400;
	color: #777;
	margin-top: 0.25em;
}

/* Single-column English content */
.content-block {
	max-width: 900px;
}

.content-block p,
.content-block ul,
.content-block table,
.content-block .why-grid-doc,
.content-block .pkg-dual {
	margin-bottom: 0;
}

.content-block > p,
.content-block > h4,
.content-block > ul {
	font-size: 0.92em;
	color: #555;
	line-height: 1.8;
}

.content-block > h4 {
	color: #0d7377;
	margin: 1.1em 0 0.45em;
	text-transform: none;
	letter-spacing: 0;
}

.content-block .doc-table {
	margin: 0.5em 0 1em;
}

.content-block .check-list {
	list-style: none;
	padding-left: 0;
	margin: 0;
}

.content-block .check-list li {
	padding-left: 1.2em;
	position: relative;
	font-size: 0.9em;
	color: #555;
	line-height: 1.7;
	margin-bottom: 0.4em;
}

.content-block .check-list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: #0d7377;
	font-weight: 700;
}

/* Legacy bilingual alias — kept for compatibility */
.bilingual-grid {
	display: block;
	max-width: 900px;
}

.doc-table-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.doc-table {
	width: 100%;
	border-collapse: collapse;
	margin: 0.5em 0 1em;
	font-size: 0.88em;
}

.doc-table th,
.doc-table td {
	padding: 0.55em 0.75em;
	border: 1px solid #ddd;
	vertical-align: top;
}

.doc-table th {
	background: #f5f8f8;
	font-weight: 700;
	color: #444;
	width: 38%;
	white-space: nowrap;
}

.doc-table td {
	color: #555;
}

.meta-inline {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.4em 0.8em;
	font-size: 0.88em;
	margin-bottom: 1em;
	padding: 0.9em 1em;
	background: #f9fbfb;
	border-radius: 4px;
}

.meta-inline dt {
	font-weight: 700;
	color: #444;
}

.meta-inline dd {
	margin: 0;
	color: #555;
}

/* Why choose — 4 cards */
.why-grid-doc {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1em;
	margin-top: 0.5em;
}

.why-card-doc {
	background: #f8fafa;
	border-left: 4px solid #0d7377;
	padding: 1em 1.1em;
	border-radius: 3px;
}

.why-card-doc h5 {
	margin: 0 0 0.4em;
	font-size: 0.92em;
	color: #0d7377;
	text-transform: none;
	letter-spacing: 0;
}

.why-card-doc p {
	margin: 0;
	font-size: 0.86em;
	color: #555;
	line-height: 1.65;
}

/* Packaging dual columns */
.pkg-dual {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1em;
	margin-top: 0.5em;
}

.pkg-box-doc {
	background: #f8f8f8;
	border: 1px solid #e2e2e2;
	border-radius: 4px;
	padding: 1em 1.1em;
}

.pkg-box-doc h5 {
	margin: 0 0 0.5em;
	font-size: 0.92em;
	color: #333;
	text-transform: none;
	letter-spacing: 0;
}

/* FAQ */
.faq-doc {
	list-style: none;
	padding: 0;
	margin: 0.5em 0 0;
}

.faq-doc li {
	border-bottom: 1px solid #eee;
	padding: 0.85em 0;
}

.faq-doc li:last-child {
	border-bottom: none;
}

.faq-doc .faq-q {
	font-weight: 700;
	color: #333;
	font-size: 0.9em;
	margin: 0 0 0.35em;
	line-height: 1.5;
}

.faq-doc .faq-a {
	font-size: 0.88em;
	color: #555;
	line-height: 1.7;
	margin: 0;
}

/* CTA */
.doc-cta {
	background: #e8f4f4;
	border: 1px solid #b8d8da;
	border-radius: 5px;
	padding: 1.6em 2em;
	text-align: center;
	margin-top: 0.5em;
}

.doc-cta p {
	font-size: 0.95em;
	color: #333;
	line-height: 1.75;
	margin: 0 0 1em;
}

/* Trade pills */
.trade-pills-doc {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6em;
	margin: 0.5em 0 1em;
	padding: 0;
	list-style: none;
}

.trade-pills-doc li {
	background: #e8f4f4;
	border: 1px solid #a8cccc;
	border-radius: 3px;
	padding: 0.4em 1.2em;
	font-size: 0.9em;
	color: #0a5c5f;
	font-weight: 700;
}

/* Featured image */
.products-featured-img {
	margin-bottom: 2em;
}

.products-featured-img img {
	width: 100%;
	max-height: 360px;
	object-fit: cover;
	border-radius: 6px;
}

/* ── Tablet ── */
@media (max-width: 960px) {
	.bilingual-grid {
		gap: 1.2em;
	}

	.why-grid-doc {
		grid-template-columns: 1fr;
	}
}

/* ── Mobile ── */
@media (max-width: 736px) {
	body {
		font-size: 16px;
	}

	.products-page-header {
		text-align: left;
		margin-bottom: 1.5em;
	}

	.products-page-header::after {
		margin-left: 0;
	}

	.product-tabs {
		flex-direction: column;
		align-items: stretch;
	}

	.product-tabs button {
		width: 100%;
		text-align: center;
		padding: 0.85em 1em;
	}

	.bilingual-grid,
	.content-block {
		max-width: 100%;
	}

	.doc-section > h3 {
		font-size: 1.05em;
		padding-left: 0.6em;
	}

	.meta-inline {
		grid-template-columns: 1fr;
	}

	.doc-table th {
		width: auto;
		white-space: normal;
	}

	.doc-table-wrap {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.doc-table {
		min-width: 280px;
	}

	.pkg-dual {
		grid-template-columns: 1fr;
	}

	.doc-cta {
		padding: 1.2em 1em;
	}

	.doc-cta .button {
		width: 100%;
	}
}

@media (max-width: 400px) {
	.product-panel-title h3 {
		font-size: 1.15em;
	}
}
