:root {
	--xg-primary: #f3a712;
	--xg-dark: #101923;
	--xg-text: #34404c;
	--xg-muted: #66717d;
	--xg-border: #dfe5ea;
	--xg-light: #f5f7f9;
}

.xg-category-page, .xg-category-page * { box-sizing: border-box; }
.xg-category-page { color: var(--xg-text); font-size: 16px; line-height: 1.7; }
.xg-container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.xg-category-page h1, .xg-category-page h2, .xg-category-page h3 { color: var(--xg-dark); line-height: 1.2; }
.xg-category-page a { transition: .2s ease; }

.xg-category-hero { position: relative; min-height: 500px; display: grid; align-items: center; color: #fff; background: #18232d var(--xg-hero-image) center/cover no-repeat; }
.xg-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,15,23,.88), rgba(7,15,23,.28)); }
.xg-hero-content { position: relative; z-index: 1; max-width: 1180px; }
.xg-hero-content h1 { max-width: 760px; margin: 8px 0 18px; color: #fff; font-size: clamp(42px, 6vw, 72px); }
.xg-hero-content > p:not(.xg-eyebrow) { max-width: 720px; margin: 0 0 28px; font-size: 20px; }
.xg-eyebrow { margin: 0 0 8px; color: var(--xg-primary); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.xg-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 25px; border-radius: 3px; background: var(--xg-primary); color: #111 !important; font-weight: 800; text-decoration: none !important; }
.xg-button:hover { background: #ffc342; transform: translateY(-1px); }
.xg-button-dark { background: var(--xg-dark); color: #fff !important; }

.xg-breadcrumbs { padding: 18px 0; border-bottom: 1px solid var(--xg-border); background: #fff; font-size: 14px; }
.xg-breadcrumbs .xg-container { display: flex; flex-wrap: wrap; gap: 8px; }
.xg-breadcrumbs a { color: #3e576e; text-decoration: none; }

.xg-main-section { padding: 72px 0 88px; }
.xg-content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 46px; align-items: start; }
.xg-section-heading { max-width: 760px; margin: 0 auto 42px; text-align: center; }
.xg-section-heading h2 { margin: 0 0 15px; font-size: clamp(30px, 4vw, 44px); }
.xg-section-heading > p:last-child { color: var(--xg-muted); }
.xg-align-left { max-width: none; margin-inline: 0; text-align: left; }
.xg-intro { max-width: 800px; color: var(--xg-muted); }

.xg-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.xg-product-card { overflow: hidden; border: 1px solid var(--xg-border); border-radius: 5px; background: #fff; box-shadow: 0 7px 24px rgba(16,25,35,.05); }
.xg-product-image { display: grid; height: 270px; place-items: center; overflow: hidden; background: var(--xg-light); color: var(--xg-muted); text-decoration: none; }
.xg-product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.xg-product-card:hover .xg-product-image img { transform: scale(1.035); }
.xg-product-body { padding: 23px; }
.xg-product-body h3 { margin: 0 0 12px; font-size: 22px; }
.xg-product-body h3 a { color: var(--xg-dark); text-decoration: none; }
.xg-card-excerpt { min-height: 54px; color: var(--xg-muted); font-size: 15px; }
.xg-card-actions { display: flex; gap: 22px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--xg-border); }
.xg-text-link { color: #1c5d85; font-weight: 800; text-decoration: none; }
.xg-text-link:hover { color: var(--xg-primary); }
.xg-empty-state { grid-column: 1/-1; padding: 35px; border: 1px dashed var(--xg-border); background: var(--xg-light); text-align: center; }
.xg-pagination { margin-top: 32px; }

.xg-sidebar { position: sticky; top: 30px; display: grid; gap: 25px; }
.xg-sidebar-box { padding: 25px; border: 1px solid var(--xg-border); background: #fff; }
.xg-sidebar-box h2, .xg-sidebar-cta h2 { margin: 0 0 18px; font-size: 21px; }
.xg-category-list { margin: 0; padding: 0; list-style: none; }
.xg-category-list li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--xg-border); }
.xg-category-list li:last-child { border-bottom: 0; }
.xg-category-list a { flex: 1; padding: 11px 0; color: var(--xg-text); text-decoration: none; }
.xg-category-list .current-cat a { color: #b66c00; font-weight: 800; }
.xg-other-products { display: grid; gap: 15px; }
.xg-other-products a { display: grid; grid-template-columns: 70px 1fr; gap: 13px; align-items: center; color: var(--xg-dark); font-size: 14px; font-weight: 700; line-height: 1.4; text-decoration: none; }
.xg-other-products img { width: 70px; height: 62px; object-fit: cover; }
.xg-sidebar-cta { padding: 30px 25px; background: var(--xg-dark); color: #d6dde3; }
.xg-sidebar-cta h2 { color: #fff; }

.xg-manufacturer-section { padding: 90px 0; background: var(--xg-light); }
.xg-two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.xg-two-column h2 { margin: 0 0 20px; font-size: clamp(32px, 4vw, 48px); }
.xg-check-list { display: grid; gap: 10px; margin: 24px 0 30px; padding: 0; list-style: none; }
.xg-check-list li::before { content: '✓'; margin-right: 10px; color: #b66c00; font-weight: 900; }
.xg-feature-image img { display: block; width: 100%; min-height: 430px; object-fit: cover; box-shadow: 20px 20px 0 var(--xg-primary); }
.xg-image-placeholder { display: grid; min-height: 280px; place-items: center; padding: 25px; background: #263440; color: #d6dde3; font-weight: 700; text-align: center; }
.xg-feature-image > .xg-image-placeholder { min-height: 430px; box-shadow: 20px 20px 0 var(--xg-primary); }

.xg-why-section { padding: 92px 0; }
.xg-benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.xg-benefit-card { padding: 32px 25px; border-top: 4px solid var(--xg-primary); background: var(--xg-light); }
.xg-benefit-card span { color: var(--xg-primary); font-size: 34px; font-weight: 900; }
.xg-benefit-card h3 { margin: 15px 0 12px; font-size: 21px; }
.xg-benefit-card p { margin: 0; color: var(--xg-muted); font-size: 15px; }

.xg-factory-section { padding: 92px 0; background: var(--xg-dark); color: #d6dde3; }
.xg-factory-section h2 { color: #fff; }
.xg-factory-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.xg-factory-grid figure { margin: 0; overflow: hidden; }
.xg-factory-grid img { display: block; width: 100%; height: 280px; object-fit: cover; transition: transform .35s ease; }
.xg-factory-grid figure:hover img { transform: scale(1.04); }

.xg-faq-section { padding: 92px 0; }
.xg-faq-wrap { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; }
.xg-faq-list { display: grid; gap: 13px; }
.xg-faq-list details { border: 1px solid var(--xg-border); background: #fff; }
.xg-faq-list summary { position: relative; padding: 19px 50px 19px 21px; color: var(--xg-dark); font-weight: 800; cursor: pointer; list-style: none; }
.xg-faq-list summary::-webkit-details-marker { display: none; }
.xg-faq-list summary::after { content: '+'; position: absolute; right: 20px; font-size: 23px; }
.xg-faq-list details[open] summary::after { content: '−'; }
.xg-faq-list details p { margin: 0; padding: 0 21px 21px; color: var(--xg-muted); }

.xg-bottom-cta { padding: 55px 0; background: var(--xg-primary); }
.xg-bottom-cta .xg-container { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.xg-bottom-cta .xg-eyebrow { color: #4f3700; }
.xg-bottom-cta h2 { margin: 0; font-size: clamp(28px, 4vw, 42px); }
.xg-bottom-cta .xg-button { background: var(--xg-dark); color: #fff !important; }

@media (max-width: 1000px) {
	.xg-content-layout, .xg-two-column, .xg-faq-wrap { grid-template-columns: 1fr; }
	.xg-sidebar { position: static; grid-template-columns: repeat(2, 1fr); }
	.xg-sidebar-cta { grid-column: 1/-1; }
	.xg-benefit-grid, .xg-factory-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
	.xg-container { width: min(100% - 28px, 1180px); }
	.xg-category-hero { min-height: 440px; }
	.xg-hero-content > p:not(.xg-eyebrow) { font-size: 17px; }
	.xg-main-section, .xg-manufacturer-section, .xg-why-section, .xg-factory-section, .xg-faq-section { padding: 58px 0; }
	.xg-product-grid, .xg-sidebar, .xg-benefit-grid, .xg-factory-grid { grid-template-columns: 1fr; }
	.xg-product-image { height: 245px; }
	.xg-feature-image img { min-height: 320px; box-shadow: 10px 10px 0 var(--xg-primary); }
	.xg-factory-grid img { height: 240px; }
	.xg-bottom-cta .xg-container { align-items: flex-start; flex-direction: column; }
}
