* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: MPLUSRounded1c, sans-serif;
}
html, body {
height: 100%;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
color: #d3c6aa;
line-height: 1.5;
}

body {
background: #2b3339;
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: 20px;
max-width: 1200px;
word-wrap: break-word;
overflow-wrap: break-word;
line-height: 1.5;
}

.header-banner {
border: none;
margin-bottom: 20px;
background-color: #3a454a;
width: 100%;
text-align: center;
font-size: 24px;
color: #e67e80;
padding: 10px 0;
}

.header-banner h2 {
font-size: 24px;
font-weight: 600;
}

.banner-img {
width: 100%;
}

.header-strip {
background-color: #3a454a;
color: #d3c6aa;
text-align: center;
padding: 15px 0;
font-size: 18px;
border-bottom: 1px solid #e67e80;
}

.header-strip h1 {
margin: 0;
}

#navbar {
display: flex;
min-height: 50px;
background-color: #3a454a;
align-items: center;
justify-content: center;
border: 1px solid #e67e80;
border-top: none;
border-left: none;
position: sticky;
top: 0;
left: 0;
padding: 10px 20px;
z-index: 100;
}

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

#navbar li a {
text-decoration: none;
color: #e67e80;
font-weight: 700;
}

#navbar li a:hover {
color: #a7c080;
background-color: #4f5b66;
border-radius: 8px;
}

#navbar a.active {
color: #a7c080;
background-color: #4f5b66;
border-radius: 8px;
padding: 5px 10px;
}

#navbar.hidden {
display: none;
}

#info-stripe {
background-color: #4f5b66;
color: #d3c6aa;
padding: 10px 20px;
font-size: 16px;
display: flex;
justify-content: space-between;
align-items: center;
}

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

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

.container {
background-color: #3a454a;
max-width: 100%;
margin: 0 auto;
padding: 20px;
}

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

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

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

.product-image {
width: 100%;
height: 200px;
background-color: #3a454a;
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: 18px;
margin-bottom: 10px;
text-align: center;
}

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

.product-price {
order: 3;
}

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

.status-unavailable {
color: #e67e80;
font-weight: 700;
}

.status-available {
color: #a7c080;
font-weight: 700;
}

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

button {
background-color: #a7c080;
color: #2b3339;
border: none;
padding: 10px 20px;
border-radius: 8px;
cursor: pointer;
transition: background-color 0.3s ease;
font-size: 16px;
}

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

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

.error {
color: #e67e80;
}

.filter-sidebar {
position: fixed;
top: 80px;
left: 10px;
z-index: 1;
background-color: #3a454a;
padding: 15px;
box-shadow: 0 4px 8px rgba(0,0,0,0.2);
border-bottom: 2px solid #e67e80;
border-right: 2px solid #e67e80;
}

.filter-sidebar label {
display: block;
margin-bottom: 10px;
font-size: 18px;
color: #d3c6aa;
}

#type-filter {
color: #d3c6aa;
background-color: #2b3339;
border-color: #e67e80;
background-repeat: no-repeat;
background-position: right 10px center;
background-size: auto 50%;
}

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

.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: auto;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
position: fixed;
top: 10px;
padding: 10px;
font-size: 18px;
background: #3a454a;
color: #d3c6aa;
border: 1px solid #e67e80;
cursor: pointer;
z-index: 2;
box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

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

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

.navbar-btn {
left: 60px;
}

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

.hidden {
display: none;
}

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

.pagination button {
margin: 0 5px;
padding: 8px 12px;
border: none;
border-radius: 8px;
background: #2b3339;
color: #d3c6aa;
font-size: 16px;
cursor: pointer;
}

.pagination button.active {
background-color: #a7c080;
color: #2b3339;
}

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

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

.modal-content {
background-color: #3a454a;
margin: auto;
width: 90%;
max-height: 80vh;
max-width: 600px;
box-shadow: 0 4px 8px rgba(0,0,0,0.5);
animation: fadeIn 0.3s ease-out;
position: relative;
overflow-y: auto;
padding: 20px;
}

.modal-content button {
margin-top: 10px;
background: #e67e80;
}

.close-button {
position: absolute;
right: 20px;
top: 20px;
color: #e67e80;
font-size: 24px;
font-weight: 700;
cursor: pointer;
}

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

.modal-body {
padding: 20px;
}

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

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

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

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

.modal-product-details h2 {
margin-bottom: 10px;
color: #e67e80;
font-size: 24px;
}

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

.modal-product-price {
font-size: 20px;
font-weight: 700;
color: #a7c080;
margin-bottom: 20px;
}

.add-to-cart-modal {
padding: 10px;
font-size: 18px;
width: 100%;
}

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

.modal-content.wide {
background: #3a454a;
padding: 20px;
border-radius: 12px;
text-align: center;
max-width: 800px;
width: 90%;
box-shadow: 0 4px 8px rgba(0,0,0,0.5);
}

.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: 150px;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.modal-image-block p {
margin-top: 10px;
font-weight: 700;
font-size: 16px;
}

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

.cart-ui {
position: fixed;
bottom: 10px;
right: 10px;
width: 300px;
background: #3a454a;
border: 1px solid #e67e80;
border-top: none;
border-left: none;
padding: 15px;
font-size: 14px;
box-shadow: 0 2px 4px rgba(0,0,0,0.3);
z-index: 999;
}

.cart-ui ul {
display: flex;
flex-wrap: wrap;
gap: 10px;
overflow-x: hidden;
overflow-y: auto;
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: 14px;
}

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

.cart-ui a {
font-size: 16px;
color: #e67e80;
}

.cart-ui h3 {
text-align: center;
font-size: 20px;
}

.cart-ui .cart-thumb-btns {
display: flex;
flex-direction: column;
margin: 10px 0;
font-size: 14px;
gap: 5px;
}

.cart-ui .remove-from-cart {
top: 5px;
background: #e67e80;
color: #2b3339;
padding: 5px;
border-radius: 6px;
cursor: pointer;
width: 20px;
height: 20px;
}

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

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

.checkout-container {
min-width: 300px;
max-width: 600px;
margin: 30px auto;
background: #3a454a;
padding: 20px;
border-radius: 12px;
box-shadow: 0 4px 8px rgba(0,0,0,0.5);
}

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

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

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

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

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

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

.checkout-actions button {
background: #a7c080;
color: #2b3339;
border: none;
padding: 10px 20px;
border-radius: 8px;
cursor: pointer;
}

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

input[type="text"], input[type="email"], textarea {
color: #d3c6aa;
width: 100%;
padding: 10px;
margin-top: 10px;
margin-bottom: 20px;
border: 1px solid #e67e80;
font-size: 16px;
background-color: #2b3339;
transition: border-color 0.3s ease;
}

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

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

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

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

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

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

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

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

.name-inputs input {
width: 100%;
padding: 8px;
border: 1px solid #e67e80;
border-radius: 6px;
}

.invoice {
background-color: #3a454a;
padding: 20px;
border-radius: 12px;
margin-top: 20px;
}

.info {
margin: 20px 0;
padding: 20px;
background-color: #3a454a;
color: #d3c6aa;
line-height: 1.6;
box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.info h2 {
font-size: 24px;
color: #e67e80;
margin-bottom: 10px;
}

.info h3 {
font-size: 20px;
margin-top: 10px;
color: #a7c080;
}

.info ul {
list-style: circle;
padding-left: 20px;
margin-top: 15px;
}

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

footer.bottom-bar {
margin-top: 30px;
background-color: #3a454a;
padding: 20px;
font-size: 14px;
color: #d3c6aa;
border-top: 1px solid #e67e80;
width: 100%;
bottom: 0;
}

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

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

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

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

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

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

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

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