@import url("./inter.css");

:root {
	--chang-orange: #e89536;
	--chang-black: #151515;
	--chang-green: #063b16;
	--chang-ink: #202020;
	--chang-muted: #666;
	--chang-line: #e5e5e5;
	--chang-paper: #f5f5f3;
	--chang-white: #fff;
}

* { box-sizing: border-box; }
html, body { margin: 0; overflow-x: hidden; }
body {
	font-family: Inter, Arial, sans-serif;
	color: var(--chang-ink);
	background: var(--chang-white);
	line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.market-wrap { width: min(1180px, calc(100% - 64px)); margin: 0 auto; }
.market-topbar { border-bottom: 1px solid var(--chang-line); color: var(--chang-muted); font-size: 14px; }
.market-topbar .market-wrap { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.market-header { position: sticky; top: 0; z-index: 20; background: var(--chang-black); color: #fff; }
.market-nav { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.market-logo img { width: 176px; height: auto; }
.market-links { display: flex; align-items: center; gap: 28px; font-weight: 750; }
.market-links a[aria-current="page"] { color: var(--chang-orange); }
.market-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 24px;
	background: var(--chang-orange);
	color: #fff;
	font-weight: 800;
	border: 1px solid var(--chang-orange);
}
.market-button.dark { background: var(--chang-black); border-color: var(--chang-black); }
.market-button.ghost { background: transparent; color: var(--chang-black); border-color: var(--chang-black); }
.catalog-hero {
	min-height: 420px;
	display: flex;
	align-items: center;
	background: linear-gradient(90deg, rgba(21,21,21,.88), rgba(21,21,21,.26)), url("./home-bg-df20e-forklift.png") center right / contain no-repeat, var(--chang-orange);
	color: #fff;
}
.catalog-hero h1, .product-copy h1, .section-title { margin: 0; line-height: 1.06; letter-spacing: 0; }
.catalog-hero h1 { max-width: 840px; font-size: clamp(46px, 7vw, 78px); }
.catalog-hero p { max-width: 680px; margin: 24px 0 0; font-size: 18px; }
.catalog-hero.wheel-loader-hero {
	background: linear-gradient(90deg, rgba(21,21,21,.9), rgba(21,21,21,.2)), url("./catalog/vn/ch938.png") center right / contain no-repeat, var(--chang-orange);
}
.catalog-hero.wheel-loader-hero.no-market-image {
	background: linear-gradient(115deg, var(--chang-black) 0 58%, var(--chang-orange) 58% 100%);
}
.market-kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--chang-orange); font-weight: 850; }
.market-kicker::before { content: ""; width: 18px; height: 3px; background: currentColor; }
.catalog-hero .market-kicker { color: #fff; }
.catalog-section { padding: 76px 0; }
.catalog-section.alt { background: var(--chang-paper); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.section-title { font-size: clamp(34px, 5vw, 54px); }
.section-head p { max-width: 480px; margin: 0; color: var(--chang-muted); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.product-card { display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--chang-line); }
.product-card-media { height: 260px; display: grid; place-items: center; overflow: hidden; padding: 20px; background: #fff; }
.product-card-media img { width: 100%; height: 100%; object-fit: contain; }
.product-placeholder { width: 100%; height: 100%; display: grid; place-items: center; border: 1px dashed #c7c7c7; color: var(--chang-muted); background: var(--chang-paper); }
.market-source-sheet { margin-top: 38px; padding: 12px; background: #fff; border: 1px solid var(--chang-line); }
.market-source-sheet img { width: 100%; height: auto; }
.product-card-body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 24px; }
.product-card h3 { margin: 0; font-size: 26px; line-height: 1.15; }
.product-card p { margin: 0; color: var(--chang-muted); }
.product-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.product-tag { padding: 6px 10px; background: var(--chang-paper); border: 1px solid var(--chang-line); font-size: 13px; font-weight: 750; }
.product-price { margin-top: auto; font-size: 24px; line-height: 1.2; font-weight: 900; color: var(--chang-green); }
.product-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.product-actions .market-button { min-height: 44px; padding: 0 18px; }
.product-hero { background: var(--chang-paper); padding: 66px 0; }
.product-hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); align-items: center; gap: 60px; }
.product-copy h1 { font-size: clamp(46px, 7vw, 76px); }
.product-summary { margin: 22px 0; max-width: 620px; color: var(--chang-muted); font-size: 18px; }
.detail-price { color: var(--chang-green); font-size: clamp(32px, 4vw, 48px); line-height: 1.1; font-weight: 900; }
.price-note { margin: 8px 0 24px; color: var(--chang-muted); font-size: 14px; }
.product-visual { min-height: 520px; display: grid; place-items: center; background: #fff; border: 1px solid var(--chang-line); padding: 18px; }
.product-visual img { width: 100%; height: 100%; max-height: 620px; object-fit: contain; }
.spec-section { padding: 76px 0; }
.spec-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.spec-intro { position: sticky; top: 118px; }
.spec-intro p { color: var(--chang-muted); }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { padding: 16px 12px; border-bottom: 1px solid var(--chang-line); vertical-align: top; text-align: left; }
.spec-table th { width: 46%; color: var(--chang-muted); font-weight: 700; }
.source-note { margin-top: 22px; padding: 18px 20px; background: var(--chang-paper); color: var(--chang-muted); font-size: 14px; }
.empty-state { max-width: 720px; padding: 48px 0 72px; }
.empty-state p { margin: 16px 0 28px; color: var(--chang-muted); font-size: 18px; line-height: 1.7; }
.market-cta { padding: 64px 0; background: var(--chang-black); color: #fff; }
.market-cta-row { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.market-cta h2 { max-width: 760px; margin: 0; font-size: clamp(32px, 5vw, 52px); line-height: 1.08; }
.market-footer { padding: 38px 0; background: #0d0d0d; color: #d4d4d4; }
.market-footer-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.market-footer img { width: 148px; }

@media (max-width: 980px) {
	.market-topbar { display: none; }
	.market-nav { padding: 16px 0; align-items: flex-start; }
	.market-links { justify-content: flex-end; flex-wrap: wrap; gap: 10px 16px; font-size: 14px; }
	.market-nav > .market-button { display: none; }
	.product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.product-hero-grid, .spec-grid { grid-template-columns: 1fr; }
	.product-visual { min-height: 440px; }
	.spec-intro { position: static; }
}

@media (max-width: 680px) {
	.market-wrap { width: min(1180px, calc(100% - 40px)); }
	.market-logo img { width: 146px; }
	.market-links { max-width: 190px; }
	.catalog-hero { min-height: 540px; padding: 56px 0 180px; align-items: flex-start; background-position: bottom center; background-size: 120%; }
	.section-head, .market-cta-row { display: block; }
	.section-head p { margin-top: 16px; }
	.product-grid { grid-template-columns: 1fr; }
	.product-card-media { height: 280px; }
	.product-hero { padding: 48px 0; }
	.product-hero-grid { gap: 32px; }
	.product-visual { min-height: 360px; }
	.spec-section { padding: 56px 0; }
	.market-cta .market-button { margin-top: 22px; }
}
