	body {
		margin: 0px;
		background:black;
		color: #f08108;
		padding:25px;
		font-family: sans-serif;
	}
	
	/* Floating button */
	#scrollTopBtn {
		display: none;
		position: fixed;
		background: #515151;
		top: 15px;
		right: 15px;
		padding: 10px;
		z-index: 99; 
		border: none; 
		outline: none; 
		color: white; 
		cursor: pointer; 
		border-radius: 10px; 
	}

	#scrollTopBtn:hover {
		color: orange;
	}
	

	/* Floating cart icon 🛒 */
	#viewCartButton {
		display: none;
		position: fixed;
		background: #eee;
		top: 95px;
		right: 15px;
		padding: 4px;
		z-index: 98;
		border: none;
		outline: none;
		color: white;
		cursor: pointer;
		border-radius: 10px;
		font-size: 20px;
	}

	/* Add all filtered items button */
	#addAllFilteredButton {
		display: none;
		position: fixed;
		background: #eee;
		top: 55px;
		right: 15px;
		padding: 4px;
		z-index: 98;
		border: none;
		outline: none;
		color: #333;
		cursor: pointer;
		border-radius: 10px;
		font-size: 15px;
		font-weight: bold;
	}

	#addAllFilteredButton:hover {
		background-color: orange;
		color: white;
	}

	.cart-count {
		display: block;
		position: fixed;
		background: red;
		top: 83px;
		right: 30px;
		padding: 0px 4px;
		z-index: 98;
		border: none;
		outline: none;
		color: white;
		cursor: pointer;
		border-radius: 10px;
		font-size: 20px;
	}
	
	.header p {
		color:#ccc;
	}

	.float_sides {
		width:28%;
	}

	.float_center {
		width:35%;
	}

	.float_left p {
		text-align:justify;
	}
	

	div#view-collection {
		width: 220px;
		margin: auto;
		margin-top:25px;
		border-radius:15px;
		border:solid 1px #e42575;
		padding:10px 15px;
		max-width:80%;
	}

	#view-collection img {
		width: 32px;
		float:left;
		margin-right:15px;
		border:solid 1px black;
		border-radius:6px;
	}

	div#view-collection a{
		text-decoration:none;
	}

	div#view-collection:hover {
		background:#fc4d96;
	}
	div#view-collection:hover p{
		color:black;
	}

	div#view-collection p {
		text-align:left;
	}
	
	input#filterInput {
		box-sizing: border-box;
		border: 2px solid #ccc;
		border-radius: 4px;
		width: 80%;
		padding: 10px;
		margin-bottom:20px;
		background: #333;
		border: solid 1px #ccc;
		color:orange;
	}
	.filter-container {
		text-align: center;
	}
	
.filter-controls {
    border: solid 1px gray;
	min-height: 145px;
    padding-top: 15px;
    background: #333333;
    border-radius: 25px;
    width: 90%;
    margin: auto;
    display:none;
}

	a.clear-filter-but {
		margin-left: -28px;
		border:solid 1px #9d9d9d;
		border-radius: 2px;
		padding: 2px 6px 3px 6px;
		text-decoration:none;
		color:#ffa500;
		background:#222;
		display:none;
		position: absolute;
		margin-top: 6px;
	}

	a.clear-filter-but:hover {
		color:white;
	}
	

	

	

	.switch {
		position: absolute;
		margin-left: 5px;
		margin-top: 8px;
		display: inline-block;
		width: 40px; /* Adjusted width */
		height: 20px; /* Adjusted height */
	}

	.switch input {
		opacity: 0;
		width: 0;
		height: 0;
	}

	
  		.filter-controls label {
		text-align:center;
			display: inline-block;
			width: 32%;
			float: left;
		}

		.filter-controls label span{
		display:block;
			margin-bottom:5px;
		
		}

/*	
label.show_accs, label.show_shades, label.show_bgs {
    display: none;
}
*/




	.select2-container {
		width: 80% !important;
		margin:auto !important;
	}
  
  span.select2-selection.select2-selection--multiple {
    background: #616161;
}

span.select2-selection__choice__remove {
    line-height: 8px;
}

	.slider {
		position: absolute;
		cursor: pointer;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background-color: #ccc;
		transition: 0.4s;
		border-radius: 20px; /* Adjusted border-radius */
	}

	.slider:before {
		position: absolute;
		content: "";
		height: 16px; /* Adjusted height */
		width: 16px; /* Adjusted width */
		left: 2px; /* Adjusted position */
		bottom: 2px; /* Adjusted position */
		background-color: #eee;
		transition: 0.4s;
		border-radius: 50%;
	}

	input:checked + .slider {
		background-color: orange;
	}

	input:checked + .slider:before {
		transform: translateX(20px); /* Adjusted transform distance */
	}
	

	select#show_inscribed {
		background: #333;
		padding: 8px 10px 8px 8px;
		border-radius: 4px;
		color: #ccc;
		border: solid 1px #ccc;
			margin-left:5px;
			margin-right:5px;
	}


	.show_inscribed span {
		margin-right: 5px;
	}


	input#filterInput{
	width:50%;
	}

	.slider.round {
		border-radius: 20px; /* Adjusted border-radius */
		background: #5e5e5e;
	}

	.slider.round:before {
		border-radius: 50%;
	}
	
	



	.add-to-cart.in-cart {
		color: #ff4444;
	}

	/* Notification styling for bulk add */
	.added-notification {
		position: fixed;
		bottom: 20px;
		right: 20px;
		background-color: #f08108;
		color: white;
		padding: 10px 15px;
		border-radius: 5px;
		z-index: 1000;
		font-weight: bold;
		box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
		animation: fadeIn 0.3s;
	}

	@keyframes fadeIn {
		from { opacity: 0; transform: translateY(20px); }
		to { opacity: 1; transform: translateY(0); }
	}

	/* Hover effect for both states */
	.add-to-cart:hover {
		opacity: 0.8;
	}

	.admin-overlay .add-to-cart {
		cursor: pointer;
		color: #fff;
		text-decoration: none;
		transition: color 0.2s ease;
	}
	.admin-overlay .add-to-cart.in-cart {
		color: red;
		font-weight: bold;
	}
	
button#sortDescButton {
    margin-left: 5px;
    background:#666;
    color:#eee;
    border:solid 1px gray;
    display:inline;
}

	.pixel-art {
	  image-rendering: pixelated; /* Chrome, Opera */
	  image-rendering: -moz-crisp-edges; /* Firefox */
	  image-rendering: crisp-edges; /* Safari */
	  image-rendering: -o-crisp-edges; /* Older versions of Opera */
	}
	
	.image-container {
		display: flex;  /* Align children (images) in a row */
		flex-wrap: wrap;  /* Allow the images to wrap onto the next line */
		justify-content: center;  /* Center images within the container */
		align-items: center;  /* Align images vertically */
		margin-bottom: 25px;
		clear: both;
		flex-direction: row;
	}

	.image-container img {

		width: 100%;
		max-width: 256px;  /* Set maximum width for each image */
		margin: 10px;  /* Optional: add margin around images */
		min-width: 256px;
	}
	
	.image-wrapper {
	  display:none;
	  position: relative;
	  overflow: hidden;
	}
	
	#cartModal{
		max-width: 100%;
	}


	.overlay {
	  position: absolute;
	  top: 0;
	  left: 0;
	  right: 0;
	  bottom: 0;
	  background: rgba(0, 0, 0, 0.5); /* Dark semi-transparent background */
	  color: #fff;
	  display: flex;
	  align-items: center;
	  justify-content: center;
	  opacity: 0;
	  transition: opacity 0.3s ease;
	}
	
	
	.admin-overlay {
		position: absolute;
		top: 265px;
		left: 0;
		right: 0;
		bottom: 0;
		/* background: rgba(0, 0, 0, 0.5); */
		color: #fff;
		display: flex;
		align-items: center;
		justify-content: center;
		/* opacity: 0; */
		/* transition: opacity 0.3s ease; */
	}
	div.admin-overlay a {
		font-size: 14pt;
		margin-top:-25px;
	}
	
	
	
	div.ui-widget-overlay{
		background:black;
		opacity:.5;
	}
	
	a.image-buttons {
		border-radius: 6px;
		background: #474747;
		font-size: 8pt;
		text-decoration: none;
		padding: 1px 3px;
	}
	
	a.image-buttons:hover {
		color: #f08108;
	}

	.image-wrapper:hover .overlay {
	  opacity: 1;
	}
	
	.overlay a {
		text-decoration:none;
		background: orange;
		padding: 5px 10px;
		color: white !important; /* Ensure text stays white */
	}

	.overlay a:hover {
		color: white !important; /* Keep text white on hover */
		text-decoration: none;
	}

	p,h1,h2,h3 {
			margin-bottom:0px;
			margin-top:0px;
			text-align:center;
	}
	h1{
		color:white;
		font-family: serif;
		font-size: 65pt;
	}

	h2 {
		margin-bottom: -35px;
		margin-left: 40pt;
	}

	h3 {
		color: #f08108;
	}

	div.header{
		margin-bottom:25px;
	}

	div.header h3 {
		color: #f08108;
	}

	div.header p {
		color: #ccc;
	}

	a{
		color:white;
	}
	.container div p{
		color: #278f98;
	}
	.container {
	  display: flex;
	  justify-content: space-between;
	  margin: 3%;
	}

	.float_left {
	  flex: 5; /* Default flex-grow value, allows columns to grow equally */
	  margin: 1%;
	  text-align: justify;
	}

	.float_center {
	  flex: 7; /* Makes the center column twice as wide as outer columns */
	}
	
	form h3, form p {
		color: #bbb;
		text-align: left;
		margin: 10px 0px;
		padding-left: 120px;
	}
	
	form select {
		background:#333333;
		color:#eee;
		border:none;
		width:275px;
	}
	
	div#displayImage h1 {
		font-size: 45px;
		font-family: monospace;
		color: orange;
		margin-top:10px;
		text-wrap:nowrap;
	}
	
	#imageNameDisplay{
		display:block;
	}
	

	@media (max-width: 768px) {
	  .container {
		flex-direction: column;
		align-items: center; /* Aligns columns vertically on smaller screens */
	  }

	  .float_left, .float_center {
		width: 100%; /* Columns take full width when stacked vertically */
		text-align: center; /* Centralized text for smaller screens */
	  }
	}

.cell-editable[data-field="inscription"] {
    background-color: #444;
}

.cell-editable .editable {
    display: inline-block;
    min-width: 50px;
    min-height: 1em;
    padding: 2px 5px;
}

.cell-editable:hover .editable {
    background-color: #555;
    cursor: text;
}

/* Style for empty inscription cells */
.cell-editable[data-field="inscription"] .editable:empty::before {
    content: "Click to add inscription";
    color: #666;
    font-style: italic;
}

/* Cart table styles */
#cartModal table {
    border-collapse: collapse;
    width: 100%;
    margin-top: 10px;
}

#cartModal th, #cartModal td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #444;
}

#cartModal th {
    background-color: #333;
    color: #fff;
}

#cartModal tr:hover {
    background-color: #ccc;
}


