html {
	scroll-behavior: smooth;
}

#non-ferrous-metals,
#ferrous-metals,
#industrial-materials,
#coal {
	scroll-margin-top: 120px;
}

.case-category-nav-section {
	padding: 16px 0 0;
	background: transparent;
	border: 0;
}

.case-category-nav-section .container {
	max-width: 1080px;
}

.case-category-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.case-category-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 14px;
	border-radius: 999px;
	border: 1px solid rgba(0, 0, 0, 0.06);
	background: #ffffff;
	color: #1f2a37;
	text-decoration: none;
	box-shadow: none;
	transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
}

.case-filter-tab {
	appearance: none;
	width: auto;
	cursor: pointer;
	font: inherit;
	text-align: center;
}

.case-category-link:hover {
	border-color: rgba(41, 126, 87, 0.2);
	background: #f6fbf8;
	color: #1f4d37;
	text-decoration: none;
}

.case-filter-tab.is-active {
	border-color: rgba(41, 126, 87, 0.28);
	background: #eef7f1;
	color: #1f4d37;
}

.case-filter-tab:focus-visible {
	outline: 2px solid #297e57;
	outline-offset: 2px;
}

.case-anchor-point {
	height: 0;
}

.cardMargin {
	margin-top: 10px;
}

.card-interval-mb36 {
	margin-bottom: 8px;
}

.product-content-cart {
	padding: 66px 0 0;
}

.case-filter-block.is-hidden {
	display: none;
}

.card-max {
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 20px;
}

.card-content-box {
	display: grid;
	row-gap: 72px;
}

.card-content-box > * {
	margin: 0;
}

.card-head-center.card-interval-1,
.card-head-center.card-interval-100 {
	margin-bottom: 44px;
}

.card-interval-mb50 {
	margin-bottom: 0;
}

.card-case-child {
	display: grid;
	grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
	gap: 20px;
	align-items: stretch;
	width: 100%;
	height: auto;
	min-height: 0;
	padding: 20px;
	border: 1px solid #dde3ea;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.card-content-box .card-case-child + .card-case-child {
	margin-top: 24px;
}

.card-case-child-mb16 {
	margin-bottom: 0;
}

.card-display-inline-block {
	display: block;
}

.card-case-child-img {
	width: 100%;
	height: auto;
	display: flex;
}

.card-case-child-img img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 220px;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: 12px;
}

.card-case-child-mr24 {
	margin-left: 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.card-case-child-mr24>* {
	width: 100%;
}

.card-case-child-company {
	height: auto;
	margin-bottom: 0;
	color: #1f2a37;
	font-size: clamp(20px, 1.75vw, 24px);
	font-weight: 700;
	line-height: 1.3;
}

.card-case-child-benefit,
.card-case-child-data {
	display: grid;
	gap: 12px;
}

.card-case-child-benefit {
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.card-case-child-benefit-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 12px;
	grid-column: 1 / -1;
}

.card-case-child-data {
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.card-case-child-benefit-child {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 10px 12px;
	border: 1px solid #e3e8ef;
	border-radius: 10px;
	background: #f8fafc;
	min-width: 0;
	min-height: 0;
}

.card-case-child-data-box {
	display: block;
	flex: none;
	width: auto;
	height: auto;
	margin: 0;
	min-width: 0;
	padding: 11px 12px;
	border: 1px solid #e3e8ef;
	border-radius: 10px;
	background: #ffffff;
	min-height: 0;
}

.benefit-child-mr56,
.benefit-child-mr80 {
	margin-right: 0;
}

.card-case-child .card-interval-mb36,
.card-case-child .card-case-child-mb24,
.card-case-child .cardMargin,
.card-case-child .card-case-child-mb8 {
	margin-bottom: 0;
	margin-top: 0;
}

.card-case-child-benefit-child-data {
	color: #1f2a37;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.45;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.card-case-child-benefit-child-title {
	height: auto;
	color: #6b7280;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.35;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.case-child-data-box-content {
	display: grid;
	grid-template-columns: minmax(150px, max-content) minmax(0, 1fr);
	align-items: center;
	column-gap: 10px;
	row-gap: 6px;
	margin-bottom: 10px;
}

.case-child-data-box-content:last-child {
	margin-bottom: 0;
}

.case-child-data-box-content-title {
	width: auto;
	min-width: 0;
	max-width: 100%;
	padding: 4px 10px;
	border-radius: 6px;
	background: #edf7f1;
	color: #2b7a56;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.35;
	text-align: left;
	white-space: nowrap;
	word-break: keep-all;
	overflow-wrap: normal;
	flex: none;
}

.case-child-data-box-content-data {
	height: auto;
	color: #374151;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.45;
	overflow-wrap: anywhere;
	flex: none;
	min-width: 0;
	word-break: break-word;
}

.card-coal-mine,
.card-coal-mine-max {
	width: auto;
	height: auto;
}

.card-coal-mine p,
.card-case-child-mr24>p,
.card-case-child-mr24>div>p {
	margin: 0;
	padding-top: 0;
	width: auto;
	color: #4b5563;
	font-size: 14px;
	line-height: 1.6;
}

.card-coal-mine {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.card-head-title {
	color: #1f2a37;
	font-size: clamp(28px, 2.5vw, 34px);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0;
}

.card-case-child[style] {
	height: auto;
}

.card-case-child p[style] {
	width: auto;
	padding-top: 0;
}

.card-case-child .card-case-child-data-box[style] {
	width: auto;
}

@media (max-width: 1200px) {
	.product-content-cart {
		padding-top: 50px;
	}

	.card-content-box {
		row-gap: 56px;
	}

	.card-case-child {
		grid-template-columns: 1fr;
	}

	.card-case-child-benefit,
	.card-case-child-data {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.card-case-child-company {
		font-size: 24px;
	}

	.case-child-data-box-content {
		grid-template-columns: minmax(132px, max-content) minmax(0, 1fr);
	}
}

@media (max-width: 767px) {
	#non-ferrous-metals,
	#ferrous-metals,
	#industrial-materials,
	#coal {
		scroll-margin-top: 96px;
	}

	.case-category-nav-section {
		padding: 12px 0 0;
	}

	.case-category-nav {
		gap: 8px;
	}

	.case-category-link {
		padding: 8px 12px;
		font-size: 13px;
	}

	.main .owl-carousel {
		height: 420px;
	}

	.main .owl-carousel .owl-item {
		min-height: 420px;
	}
.card-max {
		padding: 0 16px;
	}

	.product-content-cart {
		padding-top: 36px;
	}

	.card-case-child {
		padding: 14px;
		gap: 12px;
		border-radius: 12px;
	}

	.card-content-box {
		row-gap: 40px;
	}

	.card-content-box .card-case-child + .card-case-child {
		margin-top: 14px;
	}

	.card-case-child-benefit,
	.card-case-child-data {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.card-case-child-company {
		font-size: 18px;
		line-height: 1.35;
	}

	.card-case-child-benefit-child-data,
	.case-child-data-box-content-data {
		font-size: 14px;
		line-height: 1.5;
	}

	.card-case-child-benefit-child-title {
		height: auto;
		line-height: 1.4;
	}

	.card-case-child-benefit-child,
	.card-case-child-data-box {
		min-width: 0;
		padding: 9px 10px;
	}

	.case-child-data-box-content {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.case-child-data-box-content-title {
		min-width: 0;
		white-space: normal;
	}
}

@media (max-width: 560px) {
	.case-category-nav {
		gap: 7px;
	}
}

/* Data-driven case catalog */
.case-catalog {
	background: #fff;
	padding: 0;
}

.catalog-filter-panel {
	position: relative;
	background: #fff;
	border: 1px solid rgba(41, 126, 87, 0.12);
	border-radius: 18px;
	padding: 22px 24px;
	box-shadow: 0 12px 32px rgba(29, 55, 43, 0.07);
	margin-bottom: 28px;
}

.catalog-filter-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.catalog-filter-dropdown {
	position: relative;
	min-width: 0;
}

.catalog-filter-dropdown > summary {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-height: 58px;
	padding: 10px 44px 10px 16px;
	border: 1px solid #dce5e0;
	border-radius: 12px;
	background: #fff;
	color: #27332d;
	cursor: pointer;
	list-style: none;
}

.catalog-filter-dropdown > summary::-webkit-details-marker {
	display: none;
}

.catalog-filter-dropdown > summary::after {
	content: "";
	position: absolute;
	right: 17px;
	top: 50%;
	width: 8px;
	height: 8px;
	border-right: 2px solid #627069;
	border-bottom: 2px solid #627069;
	transform: translateY(-70%) rotate(45deg);
	transition: transform 0.2s ease;
}

.catalog-filter-dropdown[open] > summary {
	border-color: #297e57;
	box-shadow: 0 0 0 3px rgba(41, 126, 87, 0.1);
}

.catalog-filter-dropdown[open] > summary::after {
	transform: translateY(-25%) rotate(225deg);
}

.catalog-filter-dropdown > summary span {
	font-size: 13px;
	font-weight: 600;
	color: #7a857f;
}

.catalog-filter-dropdown > summary strong {
	font-size: 15px;
	font-weight: 700;
	color: #26332d;
}

.catalog-dropdown-menu {
	position: absolute;
	z-index: 20;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	max-height: 390px;
	overflow-y: auto;
	padding: 10px;
	border: 1px solid #dce5e0;
	border-radius: 13px;
	background: #fff;
	box-shadow: 0 18px 42px rgba(28, 49, 39, 0.16);
}

.catalog-dropdown-group + .catalog-dropdown-group {
	margin-top: 8px;
	padding-top: 8px;
	border-top: 1px solid #edf1ef;
}

.catalog-dropdown-group-title {
	padding: 7px 9px 5px;
	color: #297e57;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.catalog-dropdown-option {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 40px;
	margin: 0;
	padding: 7px 9px;
	border-radius: 8px;
	color: #3d4943;
	font-size: 14px;
	cursor: pointer;
}

.catalog-dropdown-option:hover {
	background: #f2f7f4;
}

.catalog-dropdown-option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.catalog-checkmark {
	position: relative;
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	border: 1.5px solid #bdc9c3;
	border-radius: 5px;
	background: #fff;
}

.catalog-dropdown-option input:checked + .catalog-checkmark {
	border-color: #297e57;
	background: #297e57;
}

.catalog-dropdown-option input:checked + .catalog-checkmark::after {
	content: "";
	position: absolute;
	left: 5px;
	top: 2px;
	width: 5px;
	height: 9px;
	border-right: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: rotate(45deg);
}

.catalog-filter-group + .catalog-filter-group {
	margin-top: 18px;
}

.catalog-filter-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 11px;
}

.catalog-filter-heading h2 {
	color: #202824;
	font-size: 16px;
	font-weight: 700;
	margin: 0;
}

.catalog-clear {
	display: block;
	border: 0;
	background: transparent;
	color: #297e57;
	font-size: 14px;
	font-weight: 600;
	margin: 13px 0 0 auto;
	padding: 2px 0;
}

.catalog-filter-options {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
}

.catalog-filter-chip {
	cursor: pointer;
	margin: 0;
}

.catalog-filter-chip input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.catalog-filter-chip span {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 7px 13px;
	border: 1px solid #dfe7e3;
	border-radius: 999px;
	background: #fff;
	color: #4d5a54;
	font-size: 13px;
	font-weight: 600;
	transition: 0.2s ease;
}

.catalog-filter-chip input:checked + span {
	border-color: #297e57;
	background: #297e57;
	color: #fff;
	box-shadow: 0 5px 14px rgba(41, 126, 87, 0.2);
}

.catalog-result-bar {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 20px;
	margin: 0 2px 18px;
}

.catalog-result-bar h2 {
	font-size: 25px;
	font-weight: 700;
	color: #202824;
	margin: 0;
}

.catalog-result-count {
	color: #66736d;
	font-size: 14px;
	font-weight: 600;
}

.catalog-case-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: start;
	width: 100%;
	gap: 22px;
}

.catalog-column {
	display: flex;
	flex-direction: column;
	width: 100%;
	min-width: 0;
	gap: 22px;
}

.catalog-case-card {
	align-self: start;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	background: #fff;
	border: 1px solid rgba(20, 55, 39, 0.09);
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 12px 30px rgba(29, 55, 43, 0.07);
}

@media (min-width: 992px) {
	.catalog-case-card {
		cursor: pointer;
	}
}

.catalog-image-wrap {
	position: relative;
	height: 245px;
	background: #e9eeeb;
	overflow: hidden;
}

.catalog-image-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.catalog-mineral-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.catalog-mineral-badges span {
	padding: 4px 9px;
	border: 1px solid rgba(41, 126, 87, 0.1);
	border-radius: 999px;
	background: #edf5f1;
	color: #297e57;
	font-size: 12px;
	font-weight: 700;
}

.catalog-case-body {
	padding: 20px 21px 21px;
}

.catalog-title-line {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 10px;
	margin-bottom: 13px;
}

.catalog-case-body h3 {
	color: #202824;
	font-size: 21px;
	line-height: 1.35;
	font-weight: 700;
	margin: 0;
	text-transform: none;
	letter-spacing: 0;
}

.catalog-equipment-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 15px;
}

.catalog-equipment-pill {
	padding: 6px 10px;
	border-radius: 8px;
	background: #edf6f1;
	color: #297e57;
	font-size: 12px;
	font-weight: 600;
}

.catalog-equipment-pill b {
	margin-left: 3px;
	color: #1f513b;
}

.catalog-details {
	border-top: 1px solid #edf0ee;
	padding-top: 13px;
}

.catalog-details summary {
	cursor: pointer;
	color: #297e57;
	font-size: 14px;
	font-weight: 700;
	list-style: none;
}

.catalog-details summary::-webkit-details-marker {
	display: none;
}

.catalog-details summary::after {
	content: "＋";
	float: right;
}

.catalog-details[open] summary::after {
	content: "−";
}

.catalog-metrics {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 18px;
	margin: 15px 0 0;
}

.catalog-metric {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	min-width: 0;
	gap: 10px;
	padding: 9px 0;
	border-bottom: 1px solid #f0f2f1;
}

.catalog-metric dt,
.catalog-metric dd {
	font-size: 13px;
	line-height: 1.4;
	margin: 0;
}

.catalog-metric dt {
	color: #77817c;
	font-weight: 500;
}

.catalog-metric dd {
	color: #26332d;
	font-weight: 700;
	text-align: right;
	overflow-wrap: anywhere;
}

.catalog-note {
	margin: 14px 0 0;
	padding: 12px 13px;
	border-radius: 10px;
	background: #f5f8f6;
	color: #56635d;
	font-size: 13px;
	line-height: 1.55;
}

.catalog-empty {
	grid-column: 1 / -1;
	padding: 70px 20px;
	border-radius: 16px;
	background: #fff;
	color: #77817c;
	text-align: center;
}

@media (max-width: 991px) {
	.catalog-case-list {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	.case-catalog {
		padding: 0;
	}

	.catalog-filter-panel {
		padding: 17px 15px;
		border-radius: 14px;
	}

	.catalog-filter-row {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.catalog-dropdown-menu {
		position: static;
		margin-top: 7px;
		max-height: 330px;
		box-shadow: 0 10px 25px rgba(28, 49, 39, 0.12);
	}

	.catalog-image-wrap {
		height: 215px;
	}

	.catalog-case-body {
		padding: 17px;
	}

	.catalog-title-line {
		gap: 7px 8px;
		margin-bottom: 12px;
	}

	.catalog-metrics {
		grid-template-columns: 1fr;
	}
}
