* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

*, 
*::before, 
*::after { 
	box-sizing: border-box; margin: 0; padding: 0; 
}

@font-face {
	font-family: 'Neue Haas Grotesk Text Pro';
	font-style: normal;
	font-weight: normal;
	font-display: auto;
	src: url('/fonts/nhaasgrotesktxpro-55rg.woff2') format('woff2'),
		url('/fonts/nhaasgrotesktxpro-55rg.woff') format('woff'),
		url('/fonts/NHaasGroteskTXPro-55Rg.ttf') format('truetype');
}
@font-face {
	font-family: 'Neue Haas Grotesk Text Pro';
	font-style: normal;
	font-weight: 500;
	font-display: auto;
	src: url('/fonts/nhaasgrotesktxpro-65md.woff2') format('woff2'),
		url('/fonts/nhaasgrotesktxpro-65md.woff') format('woff');
}
@font-face {
	font-family: 'Neue Haas Grotesk Text Pro';
	font-style: normal;
	font-weight: bold;
	font-display: auto;
	src: url('/fonts/nhaasgrotesktxpro-75bd.woff2') format('woff2'),
		url('/fonts/nhaasgrotesktxpro-75bd.woff') format('woff'),
		url('/fonts/NHaasGroteskTXPro-75Bd.ttf') format('truetype');
}

body {
	font-family: "Neue Haas Grotesk Text Pro", Sans-serif;
	background: #f5f5f5;
	padding: 20px;
	min-height: 100vh;
}

.container {
	max-width: 1440px;
	margin: 0 auto;
	background: white;
	border-radius: 8px;
	box-shadow: 0 2px 20px rgba(0,0,0,0.1);
	overflow: hidden;
}

.header {
	background: #cf000e;
	padding: 30px 40px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.logo {
	height: 50px;
}

.header-title {
	color: white;
	font-size: 28px;
	font-weight: 700;
}

.progress-bar {
	display: flex;
	background: #f5f5f5;
	padding: 0;
}

.progress-step {
	flex: 1;
	padding: 15px;
	text-align: center;
	color: #000;
	font-size: 14px;
	font-weight: 600;
	position: relative;
	cursor: pointer;
	transition: all 0.3s;
}

.progress-step.active {
	background: #cf000e;
	color: white;
}

.progress-step.completed {
	background: #f5f5f5;
	color: #000;
}

.form-wrapper {
	position: relative;
	overflow: hidden;
	min-height: 500px;
}

.form-container {
	display: flex;
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-step {
	min-width: 100%;
	padding: 60px;
}

.step-title {
	color: #333;
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 40px;
	text-align: center;
}

.form-group {
	margin-bottom: 30px;
}

label {
	display: block;
	margin-bottom: 12px;
	color: #333;
	font-weight: 600;
	font-size: 16px;
}

input[type="number"],
select {
	width: 100%;
	padding: 16px;
	border: 2px solid #ddd;
	border-radius: 6px;
	font-size: 16px;
	transition: border-color 0.3s;
	background: white;
}

input[type="number"]:focus,
select:focus {
	outline: none;
	border-color: #cf000e;
}

.button-group {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	margin-top: 40px;
	justify-content: center;
}

.btn {
	padding: 16px 40px;
	border: none;
	border-radius: 6px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.btn-primary {
	background: #cf000e;
	color: white;
}

.btn-primary:hover {
	background: #a50009;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(207, 0, 14, 0.3);
}

.btn-secondary {
	background: #333;
	color: white;
}

.btn-secondary:hover {
	background: #000;
}

.btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.results {
	padding: 60px;
	display: none;
}

.results.show {
	display: block;
}

.results-title {
	color: #333;
	font-size: 36px;
	font-weight: 700;
	margin-bottom: 30px;
	text-align: center;
}

.calculation-summary {
	background: #f5f5f5;
	padding: 30px;
	border-radius: 8px;
	margin-bottom: 40px;
	border-left: 6px solid #cf000e;
}

.calc-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
}

.calc-item {
	text-align: center;
}

.calc-label {
	color: #666;
	font-size: 13px;
	margin-bottom: 8px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.calc-value {
	color: #cf000e;
	font-size: 28px;
	font-weight: 700;
}

.products-section h2 {
	color: #333;
	font-size: 28px;
	font-weight: 700;
	margin-bottom: 30px;
}

.tabs {
	display: flex;
	gap: 0;
	margin-bottom: 30px;
	border-bottom: 3px solid #e0e0e0;
}

.tab {
	padding: 15px 40px;
	background: #f5f5f5;
	border: none;
	font-size: 18px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s;
	color: #666;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border-bottom: 3px solid transparent;
	margin-bottom: -3px;
}

.tab:hover {
	background: #e8e8e8;
	color: #333;
}

.tab.active {
	background: white;
	color: #cf000e;
	border-bottom: 3px solid #cf000e;
}

.tab-content {
	display: none;
}

.tab-content.active {
	display: block;
}

.tab-count {
	background: #cf000e;
	color: white;
	padding: 2px 8px;
	border-radius: 12px;
	font-size: 14px;
	margin-left: 8px;
}

.products-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-top: 20px;
}

.product-image-wrap {
	width: 100%;
	height: 140px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
	background: #f8f8f8;
	border-radius: 6px;
	overflow: hidden;
}
.product-image {
	max-width: 100%;
	max-height: 140px;
	width: auto;
	height: auto;
	object-fit: contain;
}
.product-card {
	background: white;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	padding: 20px;
	transition: all 0.3s;
}

.product-card:hover {
	border-color: #cf000e;
	box-shadow: 0 4px 12px rgba(207, 0, 14, 0.1);
	transform: translateY(-2px);
}

.product-name {
	font-weight: 700;
	color: #333;
	font-size: 16px;
	margin-bottom: 12px;
	min-height: 48px;
}

.product-code {
	font-family: monospace;
	font-size: 12px;
	color: #999;
	margin-bottom: 15px;
}

.product-specs {
	font-size: 13px;
	color: #666;
	margin-bottom: 15px;
	line-height: 1.6;
}

.product-spec-line {
	margin-bottom: 5px;
}

.view-product-btn {
	display: block;
	background: #cf000e;
	color: white;
	padding: 10px;
	border-radius: 4px;
	text-decoration: none;
	text-align: center;
	font-size: 13px;
	font-weight: 700;
	transition: background 0.3s;
	text-transform: uppercase;
}

.view-product-btn:hover {
	background: #a50009;
}

.no-products {
	background: #fff3cd;
	padding: 30px;
	border-radius: 8px;
	color: #856404;
	border-left: 6px solid #ffc107;
	text-align: center;
}

.back-to-form {
	text-align: center;
	margin-top: 40px;
}

@media (max-width: 1200px) {
	.products-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 900px) {
	.products-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.form-step {
		padding: 40px 30px;
	}
}

@media (max-width: 600px) {
	.products-grid {
		grid-template-columns: 1fr;
	}
	
	.header {
		flex-direction: column;
		gap: 15px;
	}
	
	.form-step {
		padding: 30px 20px;
	}

	.results.show {
		padding: 20px;
	}
}