/* ----ferro-alloys-section---- */

.dropdown-toggle::after {
	color: var(--secondary-color);
}

.ferro-alloys-section {
	padding-top: 60px;
}

/* .product-name h2 {
	display: flex;
	justify-content: center;
	color: var(--primary-color);
	padding-bottom: 20px;
	text-transform: uppercase;
	font-size: 35px;
} */

.product-name h2 {
	font-size: 32px;
	color: var(--primary-color);
	text-transform: uppercase;
	font-weight: 700;
	position: relative;
	padding-bottom: 20px;
	font-family: 'Montserrat', sans-serif;
	margin: 0 0 20px 0;
}

.product-name h2::before {
	content: '';
	position: absolute;
	display: block;
	width: 50px;
	height: 3px;
	background-color: var(--secondary-color);
	bottom: 0;
	left: 0;
}

/* base table */
.spec-table {
	width: 100%;
	border-collapse: collapse;
	font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue',
		Arial;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
	overflow: hidden;
	border-radius: 10px;
}

/* header row */
.spec-table thead th {
	background: var(
		--secondary-color
	); /* bootstrap primary-like blue; change to your hex if needed */
	color: #fff;
	padding: 0.9rem 0.9rem;
	text-align: left;
	font-size: 20px;
}

tbody,
td,
tfoot,
th,
thead,
tr {
	border: 1px solid white;
	border-width: 0;
	font-size: 16px;
	font-style: italic;
	text-transform: capitalize;
}

/* second header line (component/specification) */
.spec-table thead tr + tr th {
	background: rgba(255, 159, 67, 0.95); /* vivid orange */
	color: #fff;
	font-weight: 600;
	border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* tbody rows */
.spec-table tbody td {
	padding: 0.75rem 0.9rem;
	background: linear-gradient(
		180deg,
		rgba(255, 243, 230, 1),
		rgba(255, 250, 240, 1)
	); /* very light orange base */
	color: #0f1724;
	vertical-align: middle;
}

/* alternating row accent (slightly stronger orange) */
.spec-table tbody tr:nth-child(even) td {
	background: rgba(255, 243, 230, 1); /* light warm band */
}

/* responsive wrapper sanity */
.table-responsive {
	overflow-x: auto;
	padding: 0.25rem 0;
}

/* .table-responsive {
	margin-top: 40px;
}

#ferro-alloys-section .spec-table {
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
}

#ferro-alloys-section .spec-table th,
#ferro-alloys-section .spec-table td {
	border: 1px solid #ccc;
	padding: 0.5rem 0.75rem;
	text-align: left;
}

#ferro-alloys-section .spec-table thead th[colspan='2'] {
	background-color: #f8f9fa;
	font-size: 1.1rem;
}

#ferro-alloys-section .spec-table tbody tr:nth-child(even) {
	background-color: #fafafa;
} */

/* .ferro-alloys-img {
	position: relative;
	overflow: hidden;
	border-radius: 12px;
	box-shadow: 0 8px 20px rgba(17, 24, 39, 0.08);
} */

.ferro-alloys-img {
	/* height: 40vh; half of viewport height */
	/* min-height: 220px; optional minimum for tiny screens */
	overflow: hidden;
	border-radius: 8px;
	/* box-shadow: 0 8px 20px rgba(17, 24, 39, 0.08); */
}

/* image fills but keeps aspect */
/* .ferro-alloys-img img {
	width: 100%;
	height: 50%;
	min-height: 220px;
	object-fit: cover;
	object-position: center;
	display: block;
	transition: transform 300ms ease;
} */

.ferro-alloys-img img {
	width: 100%;
	max-height: 300px;
	object-fit: cover;
	object-position: center;
	display: block;
	transition: transform 300ms ease;
	border-radius: 20px;
}

/* label at bottom-left */
.ferro-alloys-img::after {
	content: 'Ferro Silicon';
	position: absolute;
	left: 12px;
	bottom: 12px;
	background: rgba(0, 0, 0, 0.5);
	color: #fff;
	padding: 6px 10px;
	border-radius: 6px;
	font-size: 0.9rem;
}

/* hover lift */
.ferro-alloys-img:hover img {
	transform: scale(1.03);
}

.ferro-alloys-img::after {
	content: none !important;
	display: none !important;
}

.cored-wires-width {
	width: 100%;
}

.cored-wires-img-width img {
	width: initial;
}

.nodularisers-imges {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: center;
	margin-bottom: 20px;
}

.nodularisers-imges > .ferro-alloys-img {
	min-width: 350px;
}

.nodularisers-imges > .ferro-alloys-img > img {
	width: 100%;
}

.cored-wires-img {
	width: 100%;
	display: flex;
	justify-content: space-around;
	align-items: stretch;
}
