* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	font-family: MPLUSRounded1c, Arial, sans-serif;
}

html,
body {
	height: 100%;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	color: #333;
	line-height: 1.6;
}

body {
	background: #f6f9fc;
	background-size: cover;
	height: 100%;
}

body > #container {
	flex: 1;
	display: flex;
	flex-direction: column;
}

main {
	flex: 1;
}

#container {
	width: 100%;
	min-width: 320px;
	margin: 0 auto;
	padding: 0 1rem;
	max-width: 1200px;
	word-wrap: break-word;
	overflow-wrap: break-word;
	line-height: 1.5;
}

.header-banner {
	border: 1px solid #ddd;
	margin-bottom: 1rem;
	background-color: #fff;
	width: 100%;
	text-align: center;
	font-size: 1.5rem;
	color: #333;
	padding: 0.5rem;
}

.header-banner h2 {
	font-size: 2rem;
	font-weight: 600;
}

.banner-img {
	width: 100%;
}

.header-strip {
	background-color: #004a7c;
	color: #fff;
	text-align: center;
	padding: 0.5rem;
	font-size: 1rem;
	border-bottom: 2px solid #00334e;
}

.header-strip h1 {
	margin: 0;
}

#navbar {
	display: flex;
	min-height: 50px;
	background-color: #fff;
	align-items: center;
	justify-content: center;
	border: 1px solid #ddd;
	border-top: none;
	border-left: none;
	position: sticky;
	top: 0;
	left: 0;
	padding: 0.5rem;
	z-index: 1000;
}

#navbar ul {
	display: flex;
	flex-direction: row;
	gap: 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

#navbar li a {
	text-decoration: none;
	color: #004a7c;
	font-weight: 500;
}

#navbar li a:hover {
	color: #fff;
	background-color: #004a7c;
	border-radius: 5px;
}

#navbar a.active {
	color: #fff;
	background-color: #004a7c;
	border-radius: 5px;
	padding: 0.5rem 1rem;
}

#navbar.hidden {
	display: none;
}

#info-stripe {
	background-color: #004a7c;
	color: #fff;
	padding: 0.5rem 1rem;
	font-size: 0.9rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

#info-stripe button {
	background: none;
	border: none;
	color: #fff;
	font-size: 1.2rem;
	cursor: pointer;
	padding: 0;
	margin-left: 1rem;
}

#info-stripe button:hover {
	color: #ffcc00;
}

.container {
	background-color: #fff;
	max-width: 1200px;
	margin: 0 auto;
	padding: 1rem;
}

.products-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	margin-top: 2rem;
}

.product-card {
	background-color: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease;
}

.product-card:hover {
	transform: scale(1.02);
}

.product-image {
	width: 100%;
	height: 200px;
	background-color: #f1f1f1;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
}

.product-image img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.product-title {
	width: 100%;
	font-size: 1.2rem;
	margin-bottom: 0.5rem;
	text-align: center;
}

.product-info {
	padding: 1rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.product-price {
	order: 1;
}

.status-available,
.status-unavailable,
.status-unknown {
	order: 2;
	white-space: nowrap;
}

.status-unavailable {
	color: #ff0000;
	font-weight: bold;
}

.status-available {
	color: #00a800;
	font-weight: bold;
}

.status-unknown {
	color: #999;
	font-style: italic;
}

button {
	background-color: #004a7c;
	color: #fff;
	border: none;
	padding: 0.5rem 1rem;
	border-radius: 5px;
	cursor: pointer;
	transition: background-color 0.3s ease;
	font-size: 1rem;
}

button:hover {
	background-color: #00334e;
}

.loading,
.error {
	text-align: center;
	padding: 1rem;
	font-size: 1.2rem;
}

.error {
	color: #ff0000;
}

.filter-sidebar {
	position: absolute;
	top: 60px;
	left: 0;
	z-index: 500;
	background-color: #fff;
	padding: 1rem;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	border-bottom: 2px solid #f1f1f1;
	border-right: 2px solid #f1f1f1;
}

.filter-sidebar label {
	display: block;
	margin-bottom: 0.5rem;
	font-size: 1rem;
	color: #333;
}

#type-filter {
	color: #333;
	background-color: #f6f9fc;
	border-color: #ddd;
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 16px;
}

#type-filter:focus {
	outline: none;
	border-color: #004a7c;
	box-shadow: 0 0 5px rgba(0, 74, 124, 0.5);
}

.toggle-cart-btn,
.toggle-filter-btn,
.navbar-btn {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	position: fixed;
	top: 20px;
	padding: 0;
	font-size: 1.5rem;
	background: #fff;
	color: #004a7c;
	border: 1px solid #ddd;
	cursor: pointer;
	z-index: 1000;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.toggle-cart-btn:hover,
.toggle-filter-btn:hover {
	background-color: #004a7c;
	color: #fff;
	transform: scale(1.1);
}

.toggle-filter-btn {
	left: 10px;
}

.navbar-btn {
	left: 70px;
}

.toggle-cart-btn {
	left: 130px;
}

.hidden {
	display: none;
}

.pagination {
	text-align: center;
	margin-top: 2rem;
}

.pagination button {
	margin: 0 5px;
	padding: 0.5rem 1rem;
	border: 1px solid #ddd;
	border-radius: 5px;
	background: #fff;
	color: #333;
	font-size: 1rem;
	cursor: pointer;
}

.pagination button.active {
	background-color: #004a7c;
	color: #fff;
}

.pagination button:hover {
	background-color: #004a7c;
	color: #fff;
}

.modal {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	color: #333;
	background-color: rgba(0, 0, 0, 0.5);
	justify-content: center;
	align-items: center;
	padding: 1rem;
	overflow: auto;
}

.modal-content {
	background-color: #fff;
	margin: auto;
	width: 90%;
	max-height: 90%;
	max-width: 500px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	animation: fadeIn 0.5s ease;
	position: relative;
	overflow-y: auto;
	padding: 1rem;
}

.modal-content button {
	margin-top: 1rem;
	background: #004a7c;
}

.close-button {
	position: absolute;
	right: 10px;
	top: 10px;
	color: #004a7c;
	font-size: 1.5rem;
	font-weight: bold;
	cursor: pointer;
}

.close-button:hover {
	color: #00334e;
}

.modal-body {
	padding: 1rem;
}

.modal-product {
	display: flex;
	flex-direction: column;
}

.modal-product-image {
	display: flex;
	justify-content: center;
	margin-bottom: 1rem;
}

.modal-product-image img {
	max-width: 100%;
	max-height: 300px;
	object-fit: contain;
}

.modal-product-details {
	padding: 1rem;
}

.modal-product-details h2 {
	margin-bottom: 0.5rem;
	color: #333;
	font-size: 1.5rem;
}

.modal-product-description {
	margin-bottom: 1rem;
	color: #666;
	line-height: 1.4;
}

.modal-product-price {
	font-size: 1.2rem;
	font-weight: bold;
	color: #004a7c;
	margin-bottom: 1rem;
}

.add-to-cart-modal {
	padding: 1rem;
	font-size: 1rem;
	width: 100%;
}

.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(5px);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 999;
}

.modal-content.wide {
	background: #fff;
	padding: 1rem;
	border-radius: 5px;
	text-align: center;
	max-width: 600px;
	width: 90%;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.modal-images {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
}

.modal-image-block {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.modal-image-block img {
	cursor: pointer;
	max-width: 100px;
	border-radius: 5px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.modal-image-block p {
	margin-top: 0.5rem;
	font-weight: 500;
	font-size: 1rem;
}

#close-image-modal {
	margin-top: 1rem;
	padding: 0.5rem 1rem;
	font-size: 1rem;
	cursor: pointer;
}

.cart-ui {
	position: fixed;
	bottom: 20px;
	right: 20px;
	width: 300px;
	background: #fff;
	border: 1px solid #ddd;
	border-top: none;
	border-left: none;
	padding: 1rem;
	font-size: 1rem;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	z-index: 1001;
}

.cart-ui ul {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	overflow-x: auto;
	overflow-y: hidden;
	list-style: none;
	scroll-behavior: smooth;
	padding: 0;
}

.cart-ui li {
	margin-bottom: 0.5rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 1rem;
}

.cart-ui img {
	width: 40px;
	height: 40px;
}

.cart-ui a {
	font-size: 1rem;
	color: #004a7c;
}

.cart-ui h3 {
	text-align: center;
	font-size: 1.2rem;
}

.cart-ui .cart-thumb-btns {
	display: flex;
	flex-direction: row;
	margin: 0.5rem 0;
	font-size: 0.9rem;
	gap: 0.5rem;
}

.cart-ui .remove-from-cart {
	top: 0;
	background: #ff4c4c;
	color: #fff;
	padding: 0.25rem 0.5rem;
	border-radius: 3px;
	cursor: pointer;
	width: 20px;
	height: 20px;
}

.cart-ui .remove-from-cart:hover {
	background: #ff1a1a;
}

.cart-ui .total {
	margin-top: 0.5rem;
	font-weight: bold;
	text-align: center;
}

.checkout-container {
	min-width: 300px;
	max-width: 800px;
	margin: 0 auto;
	background: #fff;
	padding: 2rem;
	border-radius: 10px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.checkout-container h1 {
	text-align: center;
	margin-bottom: 1rem;
}

.checkout-summary,
.checkout-form {
	margin-bottom: 1.5rem;
}

.checkout-summary ul {
	list-style: none;
	padding: 0;
}

.checkout-summary li {
	margin-bottom: 0.5rem;
	display: flex;
	justify-content: space-between;
}

.checkout-total {
	font-weight: bold;
	text-align: center;
	margin-top: 1rem;
}

.checkout-actions {
	text-align: center;
	margin-top: 1.5rem;
}

.checkout-actions button {
	background: #004a7c;
	color: #fff;
	border: none;
	padding: 0.75rem 1.5rem;
	border-radius: 5px;
	cursor: pointer;
}

.checkout-actions button:disabled {
	background: #ddd;
	cursor: not-allowed;
}

input[type="text"],
input[type="email"],
textarea {
	color: #333;
	width: 100%;
	padding: 0.5rem;
	margin-top: 0.5rem;
	margin-bottom: 1rem;
	border: 1px solid #ddd;
	font-size: 1rem;
	background-color: #f6f9fc;
	transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
	border-color: #004a7c;
	box-shadow: 0 0 5px rgba(0, 74, 124, 0.5);
	outline: none;
}

textarea {
	resize: vertical;
	min-height: 100px;
}

fieldset {
	border: none;
	padding: 0;
	margin-bottom: 1.5rem;
}

label {
	display: block;
	margin-top: 1rem;
	font-weight: 500;
}

.name-row {
	border: 1px solid #ddd;
	margin-bottom: 1rem;
}

.name-inputs {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

.name-inputs div {
	flex: 1;
	min-width: 100px;
}

.name-inputs label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 500;
}

.name-inputs input {
	width: 100%;
	padding: 0.5rem;
	border: 1px solid #ddd;
	border-radius: 5px;
}

.invoice {
	background-color: #fff;
	padding: 1rem;
	border-radius: 5px;
	margin-top: 1rem;
}

.info {
	margin: 1rem 0;
	padding: 1rem;
	background-color: #eceff1;
	color: #333;
	line-height: 1.5;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.info h2 {
	font-size: 1.5rem;
	color: #333;
	margin-bottom: 0.5rem;
}

.info h3 {
	font-size: 1.2rem;
	margin-top: 1rem;
	color: #333;
}

.info ul {
	list-style: none;
	padding-left: 0;
	margin-top: 0.5rem;
}

.info p {
	margin-bottom: 0.5rem;
}

footer.bottom-bar {
	margin-top: 2rem;
	background-color: #004a7c;
	padding: 1rem;
	font-size: 0.9rem;
	color: #fff;
	border-top: 2px solid #00334e;
	width: 100%;
	bottom: 0;
}

.bottom-bar-content {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1rem;
}

.bottom-bar-content a {
	color: #ffcc00;
	margin-left: 0.5rem;
}

.bottom-bar-content a:hover {
	text-decoration: underline;
}

.footer-table {
	width: 100%;
	color: #fff;
}

.footer-table td {
	vertical-align: top;
	padding: 0.5rem;
	width: 33%;
}

.footer-table img {
	width: 100px;
}

@media media {
	max_width__1200px___body {
		flex-direction: column;
		justify-content: center;
		align-items: center;
		padding-left: 0;
	}

	max_width__1200px___.footer-table td {
		width: 100%;
	}

	max_width__1200px___.footer-table img {
		display: none;
	}

	max_width__1200px___.navbar-btn {
		left: 10px;
		top: 60px;
	}

	max_width__1200px___.toggle-cart-btn {
		left: 70px;
		top: 60px;
	}

	max_width__800px___.products-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	max_width__800px___#header {
		height: auto;
	}
}
