:root {
	--primary-color: #ff6600;
	--primary-dark: #e55a00;
	--secondary-color: #f5f5f5;
	--text-color: #333;
	--border-color: #dcdcdc;
	--bg-white: #ffffff;
	--shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.container-calculator {
	max-width: 1330px;
	width: 100%;
	padding: 0 15px;
	margin: 0 auto;
}

/* Container Styles */
.container-calculator-wrap {
	display: flex;
	gap: 46px;
	margin-top: 40px;
}

/* Filter Styles */
.filter {
	flex: 0 0 504px;
	width: 100%;
}
.filter-list {
	display: flex;
	flex-direction: column;
	gap: 30px;
}
.filter-section {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.filter-blocks {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.filter-section h2 {
	font-weight: 600;
	font-size: 24px;
	color: var(--black);
	text-align: left;
}

.filter-section h2 span {
	color: var(--orange);
}

.filter-section-showmore {
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}

.filter-section-arrow {
	width: 24px;
	height: 24px;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' viewBox='0 0 24 24'%3e%3cpath stroke='%23EB6608' stroke-linecap='square' stroke-linejoin='bevel' stroke-width='2' d='m20 9-8 8-8-8'/%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: center;
	transition: transform 0.3s ease;
}

.filter-section-arrow.expanded {
	transform: rotate(180deg);
}

.filter-block {
	background: var(--bg);
	padding: 20px;
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.filter input,
.filter select {
	width: 100%;
	height: 62px;
	padding: 20px 52px 20px 16px;
	background: var(--white);
	border-radius: 4px;
	border: none;
	outline: none;
	font-family: "Exo2", sans-serif;
	font-size: 16px;
	-webkit-appearance: none;
	-moz-appearance: none;
	-o-appearance: none;
	appearance: none;
	transition: all 0.2s ease;
}

.filter input:focus, .filter select:focus {
    border: 1px solid var(--orange);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.filter .select-wrap {
	width: 100%;
	position: relative;
}

.filter .select-wrap::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 16px;
	transform: translateY(-50%);
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' viewBox='0 0 24 24'%3e%3cpath stroke='%23EB6608' stroke-linecap='square' stroke-linejoin='bevel' stroke-width='2' d='m20 9-8 8-8-8'/%3e%3c/svg%3e");
	width: 24px;
	height: 24px;
}

.filter-submit {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding-top: 30px;
    border-top: 1px solid var(--divider);
}

.calculator-button {
	padding: 12px;
	width: 100%;
	height: 58px;
	border-radius: 4px;
	background: var(--orange);
	color: white;
	cursor: pointer;
}

.calculator-reset {
	padding: 12px;
	width: 100%;
	height: 58px;
	border-radius: 4px;
	background: var(--bg);
	border: none;
	color: var(--orange);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

/* Calculator Styles */
.calculator-title {
	padding: 30px 30px 20px;
	border-bottom: 1px solid var(--border-color);
	margin-bottom: 20px;
}

.calculator-title h2 {
	font-size: 28px;
	font-weight: 600;
	margin-bottom: 8px;
	color: var(--text-color);
}

.calculator-title-wrap {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 15px;
}

.calculator-title h3 {
	font-size: 16px;
	font-weight: 400;
	color: #666;
}

/* Block Styles */
.calculator-block {
	padding: 30px;
}

.calculator-block-main {
	padding-bottom: 20px;
	border-bottom: 1px solid var(--border-color);
}

.calculator-block-add {
	padding-top: 20px;
}

.calculator-block-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	margin-bottom: 25px;
}

.calculator-block-row:last-child {
	margin-bottom: 0;
}

.calculator-block-field {
	position: relative;
}

.calculator-block-field label {
	display: block;
	margin-bottom: 8px;
	font-weight: 500;
	color: var(--text-color);
	font-size: 14px;
}

.calculator-block-field select,
.calculator-block-field input[type="text"],
.calculator-block-field input[type="number"] {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid var(--border-color);
	border-radius: 4px;
	font-size: 14px;
	background: var(--bg-white);
	transition: border-color 0.2s ease;
}

.calculator-block-field select:focus,
.calculator-block-field input:focus {
	outline: none;
	border-color: var(--primary-color);
}

.calculator-block-field select {
	cursor: pointer;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L2 4h8z' fill='%23666'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
}

/* Radio Buttons for Welding Type */
.calculator-block-radio {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

.calculator-block-radio input[type="radio"] {
	display: none;
}

.calculator-block-radio label {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	border: 1px solid var(--orange);
	border-radius: 4px;
	cursor: pointer;
	font-size: 16px;
	text-align: center;
	transition: all 0.2s ease;
	margin-bottom: 0;
	min-height: 50px;
	height: 100%;
	background: var(--bg-white);
}

.calculator-block-radio input[type="radio"]:checked + label {
	background: var(--primary-color);
	color: white;
	border-color: var(--primary-color);
}

.calculator-block-radio label:hover {
	border-color: var(--primary-color);
}

/* Range Inputs */
.calculator-block-range {
	display: grid;
	grid-template-columns: 1fr 1fr;
	overflow: hidden;
	border-radius: 4px;
	position: relative;
}

.calculator-block-range::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 1px;
	height: 38px;
	background: #d9c7ba;
}

.calculator-block-range > div {
	display: flex;
	flex-direction: column;
}

.calculator-block-range label {
	font-size: 12px;
	margin-bottom: 6px;
	color: #666;
}

.calculator-block-range input {
	text-align: center;
	padding: 20px 16px;
}

/* Submit Button */
.calculator-submit {
	padding: 0 30px 30px;
}

.calculator-submit button {
	width: 100%;
	background: var(--primary-color);
	color: white;
	border: none;
	padding: 15px 30px;
	border-radius: 6px;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.calculator-submit button:hover {
	background: var(--primary-dark);
}

/* Search Functionality */
input#taskSearch {
	width: 100%;
	margin-bottom: 10px;
}
.suggestions-field {
	position: relative;
}
.suggestions-field .icon-search {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	right: 16px;
}
.suggestions-list {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: var(--bg-white);
	border: 1px solid var(--border-color);
	border-top: none;
	border-radius: 0 0 4px 4px;
	max-height: 200px;
	overflow-y: auto;
	z-index: 1000;
	list-style: none;
	display: none;
	box-shadow: var(--shadow);
}

.suggestions-list li {
	padding: 10px 16px;
	cursor: pointer;
	border-bottom: 1px solid #f0f0f0;
}

.suggestions-list li:hover {
	background: var(--secondary-color);
}

.suggestions-list li:last-child {
	border-bottom: none;
}

/* Results Section */
.results {
	width: 100%;
	overflow: hidden;
}

/* Results Tabs with Navigation */
.results-tabs-container {
	display: flex;
	align-items: center;
	border-bottom: 1px solid var(--orange);
}

.results-nav {
	background: transparent;
	border: none;
	cursor: pointer;
	font-size: 18px;
	color: var(--text-color);
	transition: color 0.2s ease;
	flex-shrink: 0;
}

.results-nav:first-of-type {
	margin: 0 12px;
}

.results-nav:hover:not(:disabled) {
	color: var(--primary-color);
}

.results-nav:disabled {
	color: #ccc;
	opacity: 0;
	pointer-events: none;
	cursor: not-allowed;
}

.results-tabs {
	display: flex;
	overflow-x: auto;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-ms-overflow-style: none;
	flex: 1;
	gap: 8px;
}

.results-tabs::-webkit-scrollbar {
	display: none;
}

.results-tab {
	background: var(--bg);
	border: none;
	padding: 16px 24px;
	cursor: pointer;
	font-size: 16px;
	font-weight: 500;
	transition: all 0.2s ease;
	white-space: nowrap;
	flex-shrink: 0;
	border-radius: 8px 8px 0 0;
}

.results-tab:hover {
	background: #e8e8e8;
}

.results-tab.active {
	background: var(--primary-color);
	color: white;
}

.results-tab .counter {
	font-weight: 600;
}

/* Results List */
.results-list {
	background: var(--bg);
	border-radius: 0 0 10px 10px;
	padding: 30px;
}

.results-item {
	display: none;
	gap: 24px;
	flex-direction: column;
}

.results-item .attribute-main {
	font-size: 24px;
	font-weight: 500;
	margin-bottom: 24px;
}

.results-item .attributes-title {
	font-size: 18px;
	font-weight: 500;
	margin-bottom: 16px;
}

.results-item .attributes {
	display: flex;
	flex-direction: column;
	width: 100%;
	margin-bottom: 8px;
}

.results-item .attributes p {
	width: 100%;
	display: flex;
	justify-content: space-between;
	gap: 64px;
	align-items: flex-end;
	font-size: 16px;
	position: relative;
}

.results-item .attributes p::after {
	content: "";
	position: absolute;
	top: calc(100% - 7px);
	left: 0;
	width: 100%;
	height: 2px;
	border-bottom: 1px dashed #d9c7ba;
}

.results-item .attributes strong {
	background: var(--bg);
	font-weight: 400;
	position: relative;
	z-index: 2;
}

.results-item .attributes span {
	background: var(--bg);
	position: relative;
	z-index: 2;
	text-align: right;
}

.equipment-button {
	background: var(--bg);
	border: 1px solid var(--orange);
	color: var(--orange);
	border-radius: 4px;
	padding: 16px 24px;
	font-size: 18px;
	font-weight: 500;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 10px;
	transition: all 0.2s ease;
}

.equipment-button svg path,
.equipment-button svg rect {
	transition: all 0.2s ease;
}

.equipment-button:hover {
	background: var(--orange);
	color: white;
}

.equipment-button:hover svg path {
	stroke: var(--orange);
}

.equipment-button:hover svg rect {
	fill: white;
}

.results-item .image {
	width: 100%;
}

.results-item .image h3 {
	font-size: 18px;
	font-weight: 400;
	margin-bottom: 16px;
	color: var(--black);
}

.results-item .image img {
	width: 100%;
	height: auto;
	object-fit: cover;
	border-radius: 8px;
	cursor: zoom-in;
	transition: transform 0.2s ease;
}

.results-item .image img:hover {
	transform: scale(1.02);
}

.attributes-title {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 15px;
	color: var(--black);
}

.attributes p {
	margin-bottom: 8px;
	font-size: 14px;
	line-height: 1.5;
}

.attributes p strong {
	font-weight: 600;
}

/* Highlight thickness parameter */
.attributes p.thickness-highlight {
	background: #fff3e6;
	padding: 10px;
	border-radius: 4px;
	border-left: 4px solid var(--primary-color);
	margin-bottom: 15px;
}

.recomendation {
	background: white;
	border-radius: 8px;
	padding: 16px;
}

.recomendation h3 {
	font-size: 18px;
	font-weight: 400;
	margin-bottom: 10px;
	color: var(--black);
}

.recomendation p {
	font-size: 16px;
	line-height: 1.3;
	color: var(--gray-bg);
}

/* Equipment Section */
.equipment {
	margin-top: 50px;
}

.equipment-list {
	display: grid;
	gap: 20px;
	margin-top: 30px;
}

.equipment-item {
	background: var(--secondary-color);
	border-radius: 8px;
	overflow: hidden;
	position: relative;
	display: none;
	transition: transform 0.2s ease;
}

.equipment-item:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow);
}

.equipment-item .voltages {
	position: absolute;
	top: 12px;
	left: 12px;
	display: flex;
	gap: 8px;
	align-items: center;
}

.equipment-item .voltage {
	color: white;
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 500;
	z-index: 4;
	background: var(--gray-bg);
}

.equipment-item .voltage-220 {
	background: var(--orange);
}

/* Responsive Design */
@media (max-width: 1200px) {
	.container-calculator-wrap {
		flex-direction: column;
		gap: 50px;
	}

	.filter {
		flex: 0 0 100%;
	}
}

@media (max-width: 989px) {
	.equipment-item {
		margin-right: 10px !important;
	}
}
@media (max-width: 768px) {
	.calculator-block-row {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.calculator-title-wrap {
		flex-direction: column;
		align-items: flex-start;
	}

	.results-item {
		flex-direction: column;
		gap: 20px;
	}

	.equipment-list {
		grid-template-columns: 1fr;
		gap: 15px;
	}

	.calculator,
	.results,
	.equipment {
		border-radius: 0;
		box-shadow: none;
	}
}

@media (max-width: 480px) {
	.calculator-title h2 {
		font-size: 24px;
	}

	.results-title,
	.equipment-title {
		font-size: 20px;
	}

	.calculator-block,
	.results-list {
		padding: 20px;
	}

	.filter-block {
		padding: 12px;
	}

	.results-item .attribute-main {
		font-size: 18px;
	}

	.filter-section h2 {
		font-size: 18px;
	}

	.results-tab {
		padding: 12px 18px;
	}

	.results-nav svg {
		width: 24px;
		height: 24px;
	}
}

/* Lightbox */
.basicLightbox {
	cursor: zoom-out;
}

.basicLightbox__placeholder > img {
	max-width: 90vw;
	max-height: 90vh;
	object-fit: contain;
}

.equipment .swiper-button-prev::after,
.equipment .swiper-button-next::after {
	display: none;
}
.swiper-button-next, .swiper-button-prev {
	position: static;
	width: 36px;
	height: 36px;
	margin: 0;
}

.swiper-button-disabled {
	filter: grayscale(1);
}

.swiper-navigation {
	display: flex;
	items-center;
	gap: 5px;
}

