* {
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: #E0E0E0;
line-height: 1.6;
}

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

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

main {
flex: 1;
}

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

.header-banner {
border: 1px solid #333;
margin-bottom: 20px;
background-color: #1B1B1B;
width: 100%;
text-align: center;
font-size: 1.2rem;
color: #F5F5F5;
padding: 20px;
}

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

.banner-img {
width: 100%;
}

.header-strip {
background-color: #252525;
color: #E0E0E0;
text-align: center;
padding: 10px 0;
font-size: 1rem;
border-bottom: 1px solid #333;
}

.header-strip h1 {
margin: 10px 0;
}

#navbar {
display: flex;
min-height: 60px;
background-color: #151515;
align-items: center;
justify-content: center;
border: 1px solid #333;
border-top: none;
border-left: none;
position: sticky;
top: 0;
left: 0;
padding: 10px 0;
z-index: 10;
}

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

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

#navbar li a:hover {
color: #FFFFFF;
background-color: #333;
border-radius: 5px;
}

#navbar a.active {
color: #FFFFFF;
background-color: #333;
border-radius: 5px;
padding: 5px;
}

#navbar.hidden {
display: none;
}

#info-stripe {
background-color: #333;
color: #E0E0E0;
padding: 10px;
font-size: 0.9rem;
display: flex;
justify-content: space-between;
align-items: center;
}

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

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

.container {
background-color: #1B1B1B;
max-width: 100%;
margin: 0;
padding: 20px;
}

.products-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 20px;
margin-top: 20px;
}

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

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

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

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

.product-title {
width: 100%;
font-size: 1.1rem;
margin-bottom: 10px;
text-align: center;
}

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

.product-price {
order: 2;
}

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

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

.status-available {
color: #56D364;
font-weight: bold;
}

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

button {
background-color: #333;
color: #E0E0E0;
border: none;
padding: 10px 15px;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.2s ease;
font-size: 1rem;
}

button:hover {
background-color: #444;
}

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

.error {
color: #FF4C4C;
}

.filter-sidebar {
position: absolute;
top: 100px;
left: 0;
z-index: 5;
background-color: #2A2A2A;
padding: 10px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
border-bottom: 1px solid #333;
border-right: 1px solid #333;
}

.filter-sidebar label {
display: block;
margin-bottom: 10px;
font-size: 1rem;
color: #FFFFFF;
}

#type-filter {
color: #E0E0E0;
background-color: #333;
border-color: #555;
background-repeat: no-repeat;
background-position: right 0.5em top 50%;
background-size: 0.65em auto;
}

#type-filter:focus {
outline: none;
border-color: #999;
box-shadow: 0 0 4px rgba(255,255,255,0.2);
}

.toggle-cart-btn, .toggle-filter-btn, .navbar-btn {
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
line-height: 0;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
position: absolute;
top: 20px;
padding: 5px;
font-size: 1.5rem;
background: #202020;
color: #FFFFFF;
border: none;
cursor: pointer;
z-index: 15;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

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

.navbar-btn {
left: 20px;
}

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

.hidden {
display: none;
}

.pagination {
text-align: center;
margin-top: 20px;
}

.pagination button {
margin: 0 5px;
padding: 8px;
border: none;
border-radius: 5px;
background: #333;
color: #E0E0E0;
font-size: 1rem;
cursor: pointer;
}

.pagination button.active {
background-color: #555;
color: #FFFFFF;
}

.pagination button:hover {
background-color: #444;
}

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

.modal-content {
background-color: #2A2A2A;
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: 20px;
}

.modal-content button {
margin-top: 15px;
background: #444;
}

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

.close-button:hover {
color: #FF4C4C;
}

.modal-body {
padding: 20px;
}

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

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

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

.modal-product-details {
padding: 10px;
}

.modal-product-details h2 {
margin-bottom: 10px;
color: #FFFFFF;
font-size: 1.5rem;
}

.modal-product-description {
margin-bottom: 10px;
color: #E0E0E0;
line-height: 1.5;
}

.modal-product-price {
font-size: 1.2rem;
font-weight: bold;
color: #F5F5F5;
margin-bottom: 15px;
}

.add-to-cart-modal {
padding: 15px;
font-size: 1rem;
width: calc(100% - 30px);
}

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

.modal-content.wide {
background: #2A2A2A;
padding: 25px;
border-radius: 10px;
text-align: center;
max-width: 600px;
width: 80%;
box-shadow: 0 5px 10px rgba(0,0,0,0.3);
}

.modal-images {
display: flex;
gap: 20px;
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: 100%;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

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

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

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

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

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

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

.cart-ui a {
font-size: 1rem;
color: #4EA0EA;
}

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

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

.cart-ui .remove-from-cart {
top: 0;
background: #444;
color: #E0E0E0;
padding: 5px;
border-radius: 5px;
cursor: pointer;
width: 20px;
height: 20px;
}

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

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

.checkout-container {
min-width: 300px;
max-width: 600px;
margin: 40px auto;
background: #1B1B1B;
padding: 20px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.checkout-container h1 {
text-align: center;
margin-bottom: 20px;
}

.checkout-summary, .checkout-form {
margin-bottom: 20px;
}

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

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

.checkout-total {
font-weight: bold;
text-align: right;
margin-top: 20px;
}

.checkout-actions {
text-align: center;
margin-top: 20px;
}

.checkout-actions button {
background: #333;
color: #E0E0E0;
border: none;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
}

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

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

input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
border-color: #999;
box-shadow: 0 0 4px rgba(255,255,255,0.5);
outline: none;
}

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

fieldset {
border: 1px solid #333;
padding: 10px;
margin-bottom: 20px;
}

label {
display: block;
margin-top: 10px;
font-weight: 500;
}

.name-row {
border: 1px solid #333;
margin-bottom: 20px;
}

.name-inputs {
display: flex;
gap: 10px;
flex-wrap: wrap;
}

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

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

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

.invoice {
background-color: #2A2A2A;
padding: 20px;
border-radius: 10px;
margin-top: 20px;
}

.info {
margin: 20px 0;
padding: 20px;
background-color: #1F1F1F;
color: #E0E0E0;
line-height: 1.6;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.info h2 {
font-size: 1.5rem;
color: #FFFFFF;
margin-bottom: 15px;
}

.info h3 {
font-size: 1.2rem;
margin-top: 15px;
color: #BFBFBF;
}

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

.info p {
margin-bottom: 10px;
}

footer.bottom-bar {
margin-top: 40px;
background-color: #212121;
padding: 20px;
font-size: 0.9rem;
color: #E0E0E0;
border-top: 1px solid #333;
width: 100%;
bottom: 0;
}

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

.bottom-bar-content a {
color: #4EA0EA;
margin-left: 10px;
}

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

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

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

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

@media media {
max_width__1200px___body {
flex-direction: column;
justify-content: flex-start;
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: 20px;
top: 15px;
}
max_width__1200px___.toggle-cart-btn {
left: 60px;
top: 15px;
}
max_width__800px___.products-grid {
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
max_width__800px___#header {
height: 150px;
}

.toggle-cart-btn, .toggle-filter-btn, .navbar-btn img {
filter:invert(1) hue-rotate(180deg);
}
}
