/**
 * Genauto product catalog styles — gentle.com.my
 * Loaded only on catalog pages (single product / archive / taxonomy).
 * Namespaced under .gen- so it never collides with the Kadence theme.
 */

.gen-catalog .gen-breadcrumb {
	font-size: 13px;
	opacity: .75;
	margin: 0 0 18px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
}
.gen-catalog .gen-breadcrumb a { text-decoration: none; }
.gen-catalog .gen-breadcrumb a:hover { text-decoration: underline; }
.gen-catalog .gen-breadcrumb .sep { opacity: .5; }
.gen-catalog .gen-breadcrumb .current { font-weight: 600; }

/* ---------- layout ---------- */
.gen-product { margin-bottom: 48px; }

.gen-product-grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 40px;
	align-items: start;
}
@media (max-width: 860px) {
	.gen-product-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- media ---------- */
.gen-product-image {
	margin: 0;
	background: #f6f7f9;
	border: 1px solid #e6e8ec;
	border-radius: 8px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 280px;
}
.gen-product-image img.gen-img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: contain;
}
.gen-product-image.gen-noimg {
	color: #9aa1ab;
	font-size: 14px;
	letter-spacing: .04em;
	text-transform: uppercase;
}

/* ---------- info column ---------- */
.gen-product-title {
	font-size: clamp(24px, 3vw, 34px);
	line-height: 1.2;
	margin: 0 0 12px;
}
.gen-product-lead {
	font-size: 16px;
	line-height: 1.65;
	opacity: .85;
	margin: 0 0 16px;
}
.gen-product-cats {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0 0 24px;
}
.gen-cat-path {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	font-size: 13px;
}
.gen-cat-crumb {
	color: #6b7280;
	text-decoration: none;
}
.gen-cat-crumb:hover {
	color: #1f2933;
	text-decoration: underline;
}
.gen-cat-sep {
	color: #c6ccd4;
	font-size: 11px;
}
.gen-pill {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 999px;
	background: #eef1f5;
	color: #333;
	font-size: 12.5px;
	text-decoration: none;
	line-height: 1.6;
}
.gen-pill:hover { background: #e2e7ee; }

/* ---------- inquiry CTA ---------- */
.gen-product-cta {
	border: 1px solid #e6e8ec;
	border-left: 4px solid #d97706;
	border-radius: 6px;
	background: #fffdf7;
	padding: 18px 20px;
	margin: 0 0 28px;
}
.gen-cta-title { font-size: 17px; margin: 0 0 6px; }
.gen-cta-text { font-size: 14px; line-height: 1.6; opacity: .8; margin: 0 0 14px; }
.gen-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.gen-btn {
	display: inline-block;
	padding: 10px 18px;
	border-radius: 4px;
	font-size: 14px;
	line-height: 1.4;
	text-decoration: none;
	text-align: center;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.gen-btn-primary {
	background: #1f2933;
	color: #fff;
	border: 1px solid #1f2933;
}
.gen-btn-primary:hover { background: #111820; color: #fff; }
.gen-btn-ghost {
	background: transparent;
	color: #1f2933;
	border: 1px solid #c6ccd4;
}
.gen-btn-ghost:hover { border-color: #1f2933; color: #1f2933; }

/* ---------- specs ---------- */
.gen-section-title {
	font-size: 18px;
	margin: 0 0 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid #e6e8ec;
}
.gen-product-specs { margin: 0 0 8px; }
.gen-specs-body { font-size: 15px; line-height: 1.7; overflow-x: auto; }
.gen-specs-body table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 16px;
	font-size: 14px;
}
.gen-specs-body th,
.gen-specs-body td {
	border: 1px solid #e0e3e8;
	padding: 7px 10px;
	text-align: left;
	vertical-align: top;
}
.gen-specs-body th { background: #f4f6f8; font-weight: 600; }
.gen-specs-body .resulttbl { margin-bottom: 20px; }

/* ---------- inquiry section ---------- */
.gen-inquiry {
	margin: 40px 0 0;
	padding: 26px 24px;
	background: #f6f7f9;
	border: 1px solid #e6e8ec;
	border-radius: 8px;
}
.gen-inquiry-sub { font-size: 14.5px; opacity: .82; margin: 0 0 16px; }
.gen-inquiry-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- related ---------- */
.gen-related {
	margin: 56px 0 24px;
	padding-top: 28px;
	border-top: 1px solid #e6e8ec;
}
.gen-related-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 18px;
}
.gen-related-card {
	display: block;
	text-decoration: none;
	color: inherit;
	border: 1px solid #e6e8ec;
	border-radius: 6px;
	overflow: hidden;
	background: #fff;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.gen-related-card:hover {
	border-color: #c6ccd4;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
}
.gen-related-thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f6f7f9;
	aspect-ratio: 1 / 1;
	overflow: hidden;
}
.gen-related-thumb img.gen-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.gen-noimg-sm {
	display: block;
	width: 40%;
	height: 40%;
	background: #dfe3e8;
	border-radius: 4px;
}
.gen-related-title {
	display: block;
	padding: 10px 12px 14px;
	font-size: 13.5px;
	line-height: 1.45;
}

@media (max-width: 600px) {
	.gen-related-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
	.gen-inquiry { padding: 20px 16px; }
	.gen-product-cta { padding: 16px; }
}
