body {
	padding-top: 10px;
	padding-bottom: 100px;
	background-color: #FFFFFF;
}

.viewcart_overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.9);
	/* Slightly darker overlay for better spinner visibility */
	display: flex;
	justify-content: center;
	align-items: center;
	color: white;
	font-size: 24px;
	z-index: 9999;
	flex-direction: column;
	/* To stack spinner and text vertically */
}

.spinner-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.spinner {
	border: 8px solid rgba(255, 255, 255, 0.3);
	/* Light grey border */
	border-top: 8px solid #fff;
	/* White border for the spinning part */
	border-radius: 50%;
	width: 90px;
	height: 90px;
	animation: spin 1s linear infinite;
	/* 1 second spin animation */
	margin-bottom: 40px;
	/* Space between spinner and text */
}

.overlay-message {
	font-size: 18px;
	/* Slightly smaller font for the messages */
	margin: 5px 0;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

.header_fixed {
	display: none;
}

.tel_mobil_container {
	display: none;
}

.titlu_style_viwcart {
	font-family: inherit;
	font-size: 18px;
	font-weight: normal;
	color: #3a3a3a;
	width: 100%;
	padding: 10px 0%;
	text-decoration: none;
	line-height: 130%;
	text-align: left;
}

.subtitlu_style_viwcart {
	font-family: inherit;
	font-size: 18px;
	font-weight: normal;
	color: #3a3a3a;
	width: 100%;
	padding: 10px 0%;
	text-decoration: none;
	line-height: 130%;
	text-align: left;
}

.fixed-viewcart-bootom {
	padding: 15px;
	background: #fff;
}

.salveaza_comanda {
	padding: 15px;
	background-color: #009900;
	font-weight: bold;
}

#meniu_container {
	display: none;
}

#contacte_top {
	display: none;
}

.header-normal {
	margin-bottom: 10px;
}

.checkout-nav {
	width: 100%;
	margin-bottom: 20px;
	border-bottom: 1px solid #ccc;
	overflow-x: auto;
	white-space: nowrap;
}

.steps {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	align-items: center;
}

.steps li {
	flex-grow: 0;
	flex-shrink: 0;
	text-align: center;
	margin-bottom: 0;
}

.steps button {
	display: block;
	padding: 10px 15px;
	border: none;
	background: none;
	cursor: pointer;
	font-size: 1em;
	color: #555;
	border-right: 1px solid #eee;
	border-radius: 5px 5px 0 0;
	overflow: hidden;
}

.steps button:hover {
	background-color: #efefef;
}

.steps li:last-child button {
	border-right: none;
}

.steps li.inactive button {
	color: #999;
	cursor: default;
}

.steps li.active button {
	font-weight: bold;
	color: #007bff;
	background-color: #efefef;
	border: 1px solid #ccc;
	border-bottom: none;
}

.steps li.completed button {
	font-weight: bold;
	color: #009900;
}

.next-step-button {
	background-color: #4caf50;
	color: white;
	padding: 10px 20px;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	font-size: 1em;
	transition: background-color 0.3s ease;
}

.next-step-button:hover {
	background-color: #45a049;
}

.cart-item {
	position: relative;
	margin-bottom: 20px;
	padding: 10px;
	border: 2px solid #ccc;
}

.cart-item__remove {
	position: absolute;
	top: -10px;
	right: 0;
}

.cart-item__row {
	display: flex;
	width: 100%;
	align-items: center;
	margin-bottom: 8px;
}

.cart-item__row--top {
	justify-content: flex-end;
	margin-bottom: 15px;
}

.cart-item__row--title {
	margin-bottom: 20px;
}




/* --- New CSS for the Cart Item Image Layout --- */

/* 1. Make the container a flex container to align image and title */
.cart-item__row--title {
	display: flex;
	/* Makes the image and title sit side-by-side */
	align-items: center;
	/* Vertically centers the items */
	gap: 15px;
	/* Adds space between the image and the title/text */
	/* Adjust this gap as needed */
}

/* 2. Define the image container's size (25% width) */
.cart-item__image {
	width: 25%;
	max-width: 100px;
	/* Highly recommended to prevent huge images */
	flex-shrink: 0;
	/* Prevents the image from shrinking */
}

/* Ensure the image scales correctly within its container */
.cart-item__image img {
	display: block;
	width: 100%;
	height: auto;
}

/* 3. Allow the title block to take the remaining space */
.cart-item__title {
	flex-grow: 1;
	/* Allows the title block to expand */
	/* No need for fixed width percentage here, flex-grow handles it */
}

.cart-item__title a {
	color: #333;
	font-size: 1.2em;
	font-weight: bold;
}

.cart-item__title a:hover {
	color: var(--blue-color);
}

.cart-item__gift {
	padding: 5px;
}

.cart-item__quantity {
	flex-basis: 40%;
	padding-right: 10px;
}

.cart-item__price-total-wrapper {
	display: flex;
	width: 60%;
	/* Must take 100% of the parent */
	justify-content: space-between;
	align-items: center;
	margin-top: 5px;
	/* Adds spacing between quantity and this row */
}

.cart-item__price {
	width: 50%;
	text-align: center;
}

.cart-item__total {
	width: 50%;
	text-align: center;
}

.quantity-control {
	display: flex;
	/* Use flexbox to align items horizontally */
	align-items: center;
	/* Vertically align items in the middle */
	width: fit-content;
	/* Make the container fit its content */
	border: 1px solid #ccc;
	/* Optional: add a subtle border around the whole unit */
	border-radius: 4px;
	overflow: hidden;
	/* Ensures borders/shadows don't bleed */
}

/* Quantity input field */
.cant_add_var {
	width: 40px;
	/* Adjust width as needed */
	text-align: center;
	border: none;
	/* Remove individual input border */
	padding: 8px 0;
	/* Vertical padding */
	font-size: 1em;
	-moz-appearance: textfield;
	/* Hide default number input arrows in Firefox */
}

/* Hide default number input arrows in Chrome/Safari */
.cant_add_var::-webkit-outer-spin-button,
.cant_add_var::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* Quantity control buttons */
.quantity-button {
	background-color: #f0f0f0;
	/* Light grey background */
	border: none;
	/* No border */
	color: #555;
	/* Darker text color */
	padding: 8px 12px;
	/* Comfortable padding */
	font-size: 1.2em;
	/* Larger font size for +/- */
	cursor: pointer;
	transition: background-color 0.2s ease;
	flex-shrink: 0;
	/* Prevent buttons from shrinking */
}

.quantity-button:hover {
	background-color: #e0e0e0;
	/* Slightly darker on hover */
}

.minus-button {
	border-right: 1px solid #ccc;
	/* Separator between minus button and input */
}

.plus-button {
	border-left: 1px solid #ccc;
	/* Separator between plus button and input */
}

.cart-item__quantity form {
	/* Use flexbox to align children horizontally */
	display: flex;
	/* Vertically center the button and quantity control */
	align-items: center;
}

.cart-item__quantity-input {
	text-align: center;
	max-width: 50px;
	width: 100%;
	padding: 10px;

}

.cart-item__update-button {
	display: inline-block;
	border: none;
	cursor: pointer;
	padding: 10px;

	border-radius: 3px;
	background-color: #007bff;
	color: #fff;
	overflow: hidden;

}

.cart-item__update-button:hover {
	background-color: #000;
	color: #fff;
}

.cart-item__remove-button {
	border: none;
	cursor: pointer;
	padding: 7px 10px;
	border-radius: 3px;
	background-color: #cc0000;
	color: #fff;
	border: 1px solid #fff;
	font-size: 0.95em;
}

.cart-item__remove-button:hover {
	border: 1px solid #cc0000;
	background-color: #fff;
	color: #cc0000;
}

.cart-item__taxa-verde {
	font-size: 0.9em;
}

.viewcart-two-column-layout {
	display: flex;
	width: 100%;
	margin: 0 auto 50px auto;

}

.viewcart-main-content {
	flex: 1;
	width: 65%;
	padding-right: 20px;
	box-sizing: border-box;
}

.viewcart-sidebar {
	width: 35%;
	padding-left: 20px;
	box-sizing: border-box;
}

.viewcart-sidebar-order-summary {
	border: 1px solid #eee;
	padding: 15px;
	margin-bottom: 20px;
	border-radius: 5px;
	background-color: #f9f9f9;
	position: relative;
	top: 0;
}

.viewcart-sidebar-order-summary.sticky {
	position: fixed;
	top: 20px;
	width: inherit;
	z-index: 100;
}

.viewcart-sidebar-order-summary h3 {
	float: left;
	width: 100%;
	margin-top: 0;
	margin-bottom: 20px;
	font-size: 1.4em;
	font-weight: bold;
	color: #333;
	border-bottom: 2px solid #ccc;
	padding-bottom: 10px;
}

.viewcart-sidebar-order-summary p {
	margin-bottom: 8px;
	color: #555;
}

.viewcart-sidebar-order-summary p strong {
	font-weight: bold;
}

.viewcart-sidebar-order-summary .viewcart-shipping-cost {
	color: #777;
}

.viewcart-sidebar-order-summary .viewcart-total {
	font-size: 1.3em;
	font-weight: bold;
	color: #28a745;
	margin-top: 10px;
	padding-top: 10px;
}

@media only screen and (max-width: 768px) {

	.viewcart-two-column-layout {
		flex-direction: column;
	}

	.viewcart-main-content,
	.viewcart-sidebar {
		width: 100%;
		padding-left: 0;
		padding-right: 0;
	}

	.viewcart-sidebar {
		text-align: center;
	}

	.cart-item__row--details {
		flex-direction: row;
	}

	.steps {
		scroll-behavior: smooth;
	}

	.steps li {
		margin-bottom: 0;
	}

	/* 1. Main Row Collapse: Stacks Quantity and Price/Total Wrapper */
	.cart-item__row--details {
		flex-direction: column;
		align-items: stretch;
		/* Ensures children take full width */
		gap: 10px;
	}

	/* 2. Quantity Block: Full width and center contents */
	.cart-item__quantity {
		width: 100%;
		/* Must take 100% of the parent */
	}

	.cart-item__quantity form {
		display: flex;
		justify-content: center;
		/* Center the actual controls */
	}

	/* 3. Price/Total Wrapper: Becomes a two-column Flexbox */
	.cart-item__price-total-wrapper {
		display: flex;
		width: 100%;
		/* Must take 100% of the parent */
		justify-content: space-between;
		align-items: center;
		margin-top: 5px;
		/* Adds spacing between quantity and this row */
	}

	/* 4. Price and Total Blocks: Share 50/50 of the wrapper */
	.cart-item__price,
	.cart-item__total {
		width: 50%;
		text-align: center;
		/* Center the text for mobile clarity */
		padding: 5px 0;
	}

	.fixed-viewcart-bootom {
		position: fixed;
		left: 0;
		bottom: 0;
		padding: 15px;
		background: #efefef;
		border-top: 1px solid #ccc;
		z-index: 99;
	}

	.checkout-nav-holder {
		padding-top: 20px;
	}
}