body {
	padding-bottom: 80px !important;
}

#container,
.container {
	max-width: 1200px;
	margin: 0 auto;
}


.container_it_600 {
	max-width: 1200px;
	margin: 0 auto;
	clear: both;
	width: 100%;
	background-color: #fff;
}

.display-none-this {
	display: none;
}

.display-block-this {
	display: block;
}

.main-wrapper {
	background-color: #fff;
	border-radius: 0 0 5px 5px;
}

h1.titlu_produs {
	float: left;
	font-size: 25px;
	line-height: 125%;
	font-weight: bold;
	color: #000000;
	padding-top: 1rem;
	margin-bottom: 1.5rem;
}

.configurator_subtitle {
	float: left;
	width: 100%;
	font-size: 1.2em;
	font-weight: bold;
}

.not_selected {
	color: #CC0000;
}

.container_row {
	width: 100%;
	margin: 0 auto;
	margin-bottom: 20px;
	padding: 20px;
	background-color: #f9f9f9;
	border-radius: 10px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.07);
	overflow: hidden;
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	transition: transform 0.2s, box-shadow 0.2s;
	position: relative;
}

.container_row:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.container_full {
	width: 100%;
	margin: 0 auto;
	max-width: 1200px;
	margin-bottom: 20px;
	display: flex;
	flex-wrap: wrap;
	position: relative;
}

.absolute_top_right {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 10;
}

.absolute_top_right a {
	text-decoration: none;
	color: #fff;
	background-color: #339900;
	padding: 5px 10px;
	border-radius: 5px;
	font-size: 14px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
	transition: background-color 0.2s, transform 0.2s;
}

.absolute_top_right a:hover {
	background-color: #333333;
	transform: scale(1.05);
}

.popup_content {
	padding: 20px;
	max-width: 100%;
	background-color: #fff;
	border-radius: 10px;
	text-align: center;
}

.popup_title {
	font-size: 24px;
	font-weight: bold;
	margin-bottom: 15px;
}

.popup_image {
	max-width: 100%;
	height: auto;
	margin-bottom: 15px;
	border-radius: 8px;
}

.popup_paragraph {
	font-size: 16px;
	color: #555;
}

.column_one_row {
	padding: 10px 0;
	flex: 1 1 calc(50% - 10px);
	min-width: 300px;
}

.column_two_row {
	flex: 1 1 calc(50% - 10px);
	min-width: 300px;
}

.distribuitor_holder {
	margin-bottom: 10px;
	display: inline-block;
	width: 33.3%;
}

.needs-selection {
	color: red;
	font-style: italic;
}

.has-selection {
	color: green;
}

.box {
	display: inline-block;
	margin: 10px;
	padding: 10px;
	border: 1px solid #ccc;
	background-color: #f9f9f9;
	cursor: pointer;
	width: 20%;
}

.box:hover {
	background-color: #f0f0f0;
}

.width-25 {
	width: 25%;
}

.width-50 {
	width: 50%;
}

.styled-select {
	padding: 10px;
	font-size: 1em;
	border: 1px solid #ccc;
	border-radius: 5px;
	background-color: #fff;
	transition: border-color 0.3s, background-color 0.3s;
	cursor: pointer;
}

.styled-select:hover {
	border-color: #007bff;
	background-color: #f0f8ff;
}

.styled-select:focus {
	outline: none;
	border-color: #007bff;
	background-color: #e6f2ff;
}

.summary-container {
	float: left;
	width: 100%;
	margin: 20px auto;
	padding: 20px;
	border: 1px solid #ccc;
	border-radius: 8px;
	background-color: #f9f9f9;
	width: 100%;
	text-align: left;
	font-family: Arial, sans-serif;
}

.summary-container .configurator_subtitle {
	font-size: 1.2em;
	font-weight: bold;
	margin-bottom: 10px;
}

.summary-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.summary-list li {
	float: left;
	width: 46%;
	margin: 0 2%;
	font-size: 1em;
	padding: 5px;
	list-style: none;
	box-sizing: border-box;
	background-color: #FFFFFF;
	margin-bottom: 10px;
}

.reset-button {
	display: inline-block;
	margin-top: 20px;
	padding: 10px 20px;
	background-color: #CC0000;
	color: #fff;
	text-decoration: none;
	font-size: 1em;
	border-radius: 5px;
	transition: background-color 0.3s ease;
}

.reset-button:hover {
	background-color: #FF0000;
	color: #ffffff;
}

.submit-button {
	display: inline-block;
	padding: 10px 20px;
	background-color: #009900;
	color: #fff;
	text-decoration: none;
	font-size: 1em;
	border-radius: 5px;
	transition: background-color 0.3s ease;
	border: none;
	outline: none;
}

.submit-button:hover {
	background-color: #006600;
	color: #ffffff;
}

.submit-button-disabled {
	background-color: #999999;
}

.clearb {
	float: left;
	width: 100%;
	clear: both;
}

.container_row>.configurator_product_box,
.container_row>.configurator_product_box.radio_label {
	flex-basis: 100%;
}

.product_image_container {
	flex: 0 0 auto;
	margin-right: 15px;
	max-width: 100px;
	height: auto;
}

.product_image {
	display: block;
	max-width: 100%;
	height: auto;
	border-radius: 3px;
}

.no_image {
	background-color: #f0f0f0;
	color: #777;
	text-align: center;
	padding: 10px;
	border-radius: 3px;
	width: 100%;
	height: auto;
}

.product_details {
	flex: 1 1 auto;
}

.product_name {
	font-weight: bold;
	margin-bottom: 5px;
}

.product_info {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.quantity,
.price,
.total_price {
	flex: 0 0 auto;
}

.radio_label {
	display: block;
	cursor: pointer;
	margin-bottom: 15px;
}

.radio_label input[type="radio"] {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.radio_label .configurator_product_box {
	border: 1px solid #ddd;
	border-radius: 5px;
	padding: 10px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.radio_label input[type="radio"]:checked+.configurator_product_box {
	border: 2px solid #007bff;
	box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.select_button {
	background-color: #007bff;
	color: white;
	border: none;
	padding: 8px 15px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 14px;
	cursor: pointer;
	border-radius: 5px;
	transition: background-color 0.3s ease;
}

.select_button:hover {
	background-color: #0056b3;
}

.select_button.selected {
	background-color: #009900;
}

.remove_button {
	background-color: #CC0000;
}

.salus-fixed-footer {
	position: fixed;
	left: 0;
	bottom: 0;
	width: 100%;
	background-color: #f8f9fa;
	color: #212529;
	padding: 15px;
	z-index: 1000;
	border-top: 1px solid #dee2e6;
}

#total-amount-container {
	font-size: 1.4em;
	font-weight: bold;
}

#add-products-container {
	text-align: right;
	display: flex;
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	justify-content: flex-end;
}

#total-amount {
	color: green;
}

#chat24-root,
#___cookieButtonConsent {
	display: none !important;
}

.buton-cumpara-salus {
	background-color: #4caf50;
	color: white;
	padding: 10px 15px;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	font-size: 1em;
	transition: background-color 0.3s ease;
}

.buton-cumpara-salus:hover {
	background-color: #45a049;
}

.buton-cumpara-salus:focus {
	outline: none;
	box-shadow: 0 0 5px rgba(76, 175, 80, 0.7);
}

.button-disabled {
	background-color: #cccccc;
	color: #666666;
	border: 1px solid #999999;
	cursor: not-allowed;
	opacity: 0.7;
}

.text-voucher-container {
	margin-bottom: 20px;
	text-align: center;
	border-radius: 5px;
	background-color: #ffffff;
	border: 1px solid #003399;
	padding: 10px;
}

.cod-voucher-span {
	font-size: 120%;
	font-weight: bold;
	color: #ff0000;
}

.configurator_product_box {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border: 1px solid #ccc;
	padding: 15px;
	background-color: #fff;
	flex-wrap: wrap;
	gap: 15px;
	scroll-margin-top: 30px;
	border-radius: 5px;
}

.product_image_container img {
	width: 100px;
	height: 100px;
	object-fit: contain;
}

.product_details {
	flex-grow: 1;
	min-width: 200px;
}

.product_price_info {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: baseline;
}

.unit_price,
.calculated_total_price {
	display: inline-block;
}

.product_controls {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: nowrap;
}

.add-to-session-form {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 0;
}

.product_quantity_control {
	display: flex;
	align-items: center;
	gap: 5px;
	white-space: nowrap;
}

.numeric-positive-input.optional-product-qty {
	width: 50px;
	padding: 5px;
	box-sizing: border-box;
	text-align: center;
}

.remove-from-session-form {
	margin: 0;
	padding: 0;
}

.action_optional_product_button {
	padding: 8px 15px;
	background-color: #007bff;
	color: white;
	border: none;
	cursor: pointer;
	border-radius: 4px;
	white-space: nowrap;
}

.remove_optional_product_button {
	background-color: #dc3545;
}

@media (max-width: 768px) {

	.salus-fixed-footer {
		position: inherit;
	}

	#total-amount-container,
	#add-products-container {
		display: flex;
		justify-content: center;
		margin-bottom: 15px;
	}

	.summary-list li {
		width: 100%;
	}

	.styled-select {
		width: 50%;
	}

	.box {
		width: 90%;
	}

	.container_row {
		gap: 5px;
	}

	.column_one_row,
	.column_two_row {
		flex: 1 1 100%;
	}

	.configurator_product_box {
		flex-direction: column;
		align-items: flex-start;
	}

	.product_image_container {
		margin-right: 0;
		margin-bottom: 10px;
		width: 80px;
	}

	.product_info {
		flex-direction: column;
		gap: 5px;
	}
}

@media (max-width: 768px) {
	.configurator_product_box {
		flex-direction: column;
		align-items: flex-start;
	}

	.product_details {
		width: 100%;
	}

	.product_price_info {
		flex-direction: column;
		gap: 5px;
	}

	.product_actions {
		width: 100%;
		margin-top: 15px;
	}

	.product_controls {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: space-between;
		align-items: center;
		width: 100%;
		gap: 8px;
	}

	.add-to-session-form {
		flex-grow: 1;
		justify-content: space-between;
	}

	.product_quantity_control {
		flex-grow: 0;
		white-space: nowrap;
	}

	.numeric-positive-input.optional-product-qty {
		width: 45px;
	}

	.action_optional_product_button {
		flex-shrink: 0;
		padding: 6px 12px;
		font-size: 0.9em;
	}

	.remove-from-session-form {
		flex-grow: 1;
		text-align: right;
	}
}

/* Basic Reset & Box-sizing */
.calculator-nav *,
.calculator-nav *::before,
.calculator-nav *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

/* Nav Container */
.calculator-nav {
	width: 100%;
	background-color: #ffffff;
	border-bottom: 1px solid #e9ecef;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
	margin-bottom: 20px;
	/* Space below the nav */
	position: relative;
	margin-top: 15px;
	border-radius: 10px;
}

/* Nav List (Always Horizontal, Scrollable on Overflow) */
.calculator-nav .nav-list {
	list-style: none;
	display: flex;
	/* Use Flexbox for horizontal layout */
	justify-content: space-around;
	/* Distribute items evenly on larger screens */
	align-items: center;
	padding: 15px 0;

	/* --- KEY STYLES FOR HORIZONTAL SCROLL --- */
	overflow-x: auto;
	/* Enable horizontal scrolling if content overflows */
	white-space: nowrap;
	/* Prevent list items from wrapping to the next line */
	-webkit-overflow-scrolling: touch;
	/* Improves scrolling performance on iOS */
	/* Adjust justify-content on smaller screens if you want items to align left */
	justify-content: flex-start;
	/* Align items to the start, allowing overflow */
	/* --- HIDE SCROLLBAR --- */
	scrollbar-width: none;
	/* Firefox */
	-ms-overflow-style: none;
	/* Internet Explorer 10+ */
}

/* Hide scrollbar for Webkit browsers (Chrome, Safari) */
.calculator-nav .nav-list::-webkit-scrollbar {
	display: none;
}


/* Nav Items */
.calculator-nav .nav-item {
	text-align: center;
	flex: 1;
	/* Distribute space among items */
	min-width: 140px;
	/* Minimum width to prevent squishing */
	margin: 5px 10px;
	/* Spacing between items */
	border-radius: 10px;
	/* Rounded corners for the item container */
	overflow: hidden;
	transition: all 0.3s ease;

	/* --- IMPORTANT for scrollable items --- */
	flex-shrink: 0;
	/* Prevent items from shrinking below min-width */
	flex-basis: auto;
	/* Let content determine initial size, then flex */
}


/* Nav Links (Inner structure for icon/title) */
.calculator-nav .nav-item a {
	display: flex;
	/* Use Flexbox for icon and title alignment */
	flex-direction: column;
	/* Stack icon and title vertically */
	align-items: center;
	padding: 10px 15px;
	text-decoration: none;
	color: #495057;
	/* Default text color */
	font-weight: bold;
	white-space: nowrap;
	/* Ensure title doesn't wrap inside link */
	transition: background-color 0.3s ease, color 0.3s ease;
}

/* Step Circle (for numbers) */
.calculator-nav .step-circle {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 35px;
	height: 35px;
	border-radius: 50%;
	/* Make it circular */
	background-color: #e9ecef;
	/* Default light gray background */
	color: #6c757d;
	/* Default text color */
	font-size: 1em;
	font-weight: bold;
	margin-bottom: 8px;
	/* Space between number and title */
	transition: all 0.3s ease;
}

/* Step Title */
.calculator-nav .step-title {
	font-size: 0.9em;
}

/* --- Status Specific Styles --- */

/* 1. Current Step */
.calculator-nav .nav-item.current-step {
	background-color: #007bff;
	/* Primary blue */
	transform: translateY(-2px);
	/* Slight lift */
}

.calculator-nav .nav-item.current-step .step-circle {
	background-color: #ffffff;
	/* White background for number */
	color: #007bff;
	/* Blue number */
	border: 2px solid #007bff;
}

.calculator-nav .nav-item.current-step a {
	color: #ffffff;
	/* White text for current step */
	cursor: default;
	/* Indicate non-clickable */
}

/* 2. Completed Step (Active Link) */
.calculator-nav .nav-item.completed-step {
	background-color: #28a745;
	/* Light green */
	border: 1px solid #28a745;
	/* Green border */
}

.calculator-nav .nav-item.completed-step .step-circle {
	background-color: #28a745;
	/* Green background for number */
	color: #ffffff;
	/* White number */
}

/* Use a checkmark for completed steps */
.calculator-nav .nav-item.completed-step .step-circle::before {
	content: '\2713';
	/* Unicode checkmark */
	font-size: 1.2em;
	/* Make checkmark larger */
	line-height: 1;
	display: block;
	width: 100%;
	/* Ensure it centers */
	text-align: center;
}

.calculator-nav .nav-item.completed-step .step-circle {
	/* Hide the number when checkmark is present */
	text-indent: -9999px;
	/* Hide original number */
	overflow: hidden;
	position: relative;
}

.calculator-nav .nav-item.completed-step a {
	color: #fff;
	/* Green text */
}

.calculator-nav .nav-item.completed-step a:hover,
.calculator-nav .nav-item.completed-step a:focus {
	background-color: #000000;
	/* Slightly darker green on hover */
}

/* 3. Inactive Step (No Link) */
.calculator-nav .nav-item.inactive-step {
	background-color: #f0f0f0;
	/* Lighter gray */
	color: #888;
	opacity: 0.7;
	/* Dim it */
	cursor: default;
}

.calculator-nav .nav-item.inactive-step .step-circle {
	background-color: #ced4da;
	/* Darker gray background for number */
	color: #6c757d;
	/* Dimmed number */
}

.calculator-nav .nav-item.inactive-step a {
	color: #888;
	/* Dimmed text */
	pointer-events: none;
	/* Disable all mouse events */
	cursor: default;
	/* Indicate not clickable */
}

/* Optional: Make current state visually distinct */
.calculator-nav .nav-item.current-step {
	transform: scale(1.03);
	/* Slightly enlarge current item */
}

/* --- Responsive Adjustments (for all screens) --- */
/* The main list is now always horizontal, but scrolls on smaller screens */
@media (max-width: 768px) {
	.calculator-nav .nav-list {
		padding: 10px 0;
		/* Adjust padding for mobile */
	}

	.calculator-nav .nav-item {
		margin: 5px;
		/* Keep some margin for spacing */
		min-width: 120px;
		/* Make items slightly smaller to fit more on screen */
	}

	.calculator-nav .nav-item a {
		padding: 8px 10px;
		/* Adjust internal padding */
	}

	.calculator-nav .step-circle {
		width: 30px;
		height: 30px;
		font-size: 0.9em;
		margin-bottom: 5px;
	}

	.calculator-nav .step-title {
		font-size: 0.8em;
		/* Make text smaller */
	}

	h1.titlu_produs {
		float: left;
		font-size: 16px;
		line-height: 115%;
		font-weight: bold;
		color: #000000;
		padding-top: 0;
		margin-bottom: 0;
	}
}

.bk_white {
	background-color: #ffffff !important;
}

.sapou {
	display: inline-block;
	width: 100%;
	padding: 10px;
	background-color: #efefef;
	border: 1px solid #ccc;

}