body {
	font-family: Arial, sans-serif;
	font-size: 0.85em;
	background-color: #f1f1f1;
	margin: 0;
	padding: 20px;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 94%;
}
.container {
	text-align: center;
}
.modal {
	display: none;
	position: fixed;
	z-index: 1;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.4);
	justify-content: center;
	align-items: center;
}
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20%);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
.modal-content.show {
	animation: fadeIn 0.5s ease-out;
}
.modal-content {
	width: 100%;
	height: 100%;
	display: flex;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.grid-container {
	width: 70%;
	background-color: #f9f9f9;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	border-radius: 8px;
	padding: 10px;
	margin: 10px;
	box-sizing: border-box;
	height: 100%;
	display: flex;
	justify-content: center;
}
.details-container {
	background-color: #f9f9f9;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	border-radius: 8px;
	padding: 0% 1% 0% 1%;
	margin: 10px;
	box-sizing: border-box;
	height: 100%;
	display: flex;
	justify-content: center;
}
.details-container {
	width: 30%;
}
table {
	width: 100%;
	max-height: 1vh;
	border-spacing: 10px;
	border-collapse: separate;
	border: 0px;
	font-size: 0.85rem;
}
th, td {
	border: 0px solid #dddddd;
	text-align: center;
	padding: 8px;
	height: 10px;
	border-radius: 0.3em;
	font-weight: 300;
}

th {
	background-color: #888888;
	color: white;
	height: 10px;
}
th.th-root {
	background-color: #4499cc;
	color: white;
	font-weight: 600;
}
.row-title {
	background-color: #888888;
	color: white;
}
.stock-available {
	background-color: #E0FAF1;
	color: #1AB394;
	transition: background-color 0.3s;
}
.stock-unavailable {
	background-color: #FAE8E4;
	color: #d32f2f;
	transition: background-color 0.3s;
}
.no-available {
	background-color: #EBEBE4;
	color: #EBEBE4;
	transition: background-color 0.3s;
}
.details {
	margin-top: 20px;
}
#details-name {
    font-size: 1em;
    margin-bottom: 20px;
    font-weight: 600;
	background-color: #f1f1f1;
    color: #0088cb;
    border: 1px solid #0088cb;
    padding: 10px;
    border-radius: 4px;
}
#details-params, #details-extra{
	line-height: 1.5em;
}

label, p {
	display: block;
	margin: 20px 0 10px 0;
	text-align: center;
}
.quantity-input {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 10px;
}
.quantity-input button {
	background-color: #0088CB;
	color: white;
	border: none;
	padding: 10px;
	cursor: pointer;
	font-size: 1em;
	width: 40px;
	height: 40px;
	border-radius: 4px;
	margin-top: 0px;
}
.quantity-input input {
	width: 100px;
	text-align: center;
	font-size: 1em;
	padding: 10px;
	border: 1px solid #cccccc;
	border-radius: 4px;
	margin: 0 10px;
}

/* Hide the spinners (arrows) */
.quantity-input input::-webkit-outer-spin-button,
.quantity-input input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.add-to-cart {
	width: 100%;
	padding: 10px;
	font-size: 1em;
	border: 1px solid #cccccc;
	border-radius: 4px;
	background-color: #0088CB;
	color: white;
	cursor: pointer;
	margin-top: 10px;
}
.disabled{
	width: 100%;
	padding: 10px;
	font-size: 1em;
	border: 1px solid #cccccc;
	border-radius: 4px;
	background-color: #888888 !important;
	color: white;
	cursor: default !important;
	margin-top: 10px;
}
.disabled:hover{
	background-color: #888888 !important;
}
button.add-to-cart:hover {
	background-color: #00aaed;
}
p#price {
	font-size: 2em;
	font-weight: bold;
	margin-top: 10px;
}
.error {
	background-color: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
	padding: 10px;
	border-radius: 4px;
	margin-top: 10px;
	display: none;
}
.selected {
	/*background-color: rgba(0, 123, 255, 0.2); */
	border: 2px solid #007bff;
}
@media (max-width: 768px) {
	.grid-container, .details-container {
		width: 100%;
		margin: 10px 0;
	}
	.modal-content {
		flex-direction: column;
	}
}