body {
  font-family: 'Montserrat', Archivo;
  font-weight: bold;
  margin: 0;
  padding: 0;
  background-image: url('https://media.istockphoto.com/id/1465352994/photo/abstract-digital-background.webp?b=1&s=170667a&w=0&k=20&c=fbQF3xro_gX0A06HcEYRjERIgQA1lKe6q_X-_xEfRus='); /* Replace 'path/to/your/image.jpg' with the actual path to your image */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

/* Rest of your existing styles... */


header {
    text-align: center;
    padding: 20px;
    font-weight: bold;
    color: #52D3D8; /* Header text color */
}

#wavedis {
    font-weight: bold;
    cursor: pointer;
    padding: 5px;
    font-size: 37px;
    color: #93b0b4; /* Wavedis color */
}
#stockup {
    font-weight: bold;
    cursor: pointer;
    padding: 5px;
    font-size: 37px;
    color: #93b0b4; /* Wavedis color */
}
.cart-button {
    background-color: #52D3D8;
    color: #fff;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}
.cart-container {
    position: fixed;
    top: 0;
    right: -500px; /* Initially hide the cart off-screen */
    width: 300px;
    height: 100%;
    background-color: #fff;
    overflow-y: auto; /* Add vertical scroll when content overflows */
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s;
}


.open-cart-button {
    /* Your existing styles for the open cart button */
}

.close-cart-button {
    width: 100%;
    padding: 10px;
    margin-top: 20px;
    background-color: #52D3D8;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.client-name input {
    padding: 5px;
    font-size: 4px;
    border: none;
    border-radius: 5px;
    flex: 1;
}
.search-bar {
    margin-top: 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-bar input {
    padding: 15px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    flex: 1;
}

.search-bar button {
    padding: 15px 20px;
    font-size: 16px;
    cursor: pointer;
    color: #52D3D8; /* Button text color */
    border: none;
    border-radius: 5px;
    margin-left: 10px;
}

.product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px;
}

.product {
    border: 1px solid #ddd;
    padding: 20px;
    text-align: center;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    width: 250px;
    margin: 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.product img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

.product-name,
.product-price,
.product-stock {
    font-weight: bold;
    margin-bottom: 10px;
}

.product.in-stock {
    border-color: #22ad5c;
}

.product.in-stock img {
    opacity: 1;
}

.product-name.in-stock,
.product-price.in-stock,
.product-stock.in-stock {
    color: #22ad5c;
}

.product.out-of-stock {
    border-color: #e74c3c;
}

.product.out-of-stock img {
    opacity: 0.7;
}

.product-name.out-of-stock,
.product-price.out-of-stock,
.product-stock.out-of-stock {
    color: #e74c3c;
}
/* Add or modify styles for the "Add to Cart" button */
.add-to-cart-button {
    padding: 10px;
    font-size: 14px;
    cursor: pointer;
    background-color: #52D3D8; /* Button background color */
    color: white; /* Button text color */
    border: none;
    border-radius: 5px;
    margin-top: 10px;
}
.checkout-button {
    width: 100%;
    padding: 10px;
    margin-top: 20px;
    background-color: #52D3D8;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
}

/* Add this style for the quantity input in the cart */
.cart-item input {
    width: 40px;
    text-align: center;
}
.remove-from-cart-button {
    background-color: #e74c3c;
    color: #fff;
    padding: 5px 10px;
    font-size: 14px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    margin-left: 5px;
}

/* Add this style for the checkout button */
.checkout-button {
    background-color: #52D3D8;
    color: #fff;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

.checkout-button:hover {
    background-color: #428b92;
}
/* Add or update your CSS for pagination */
.pagination-container {
    text-align: center;
    margin-top: 20px;
}

.pagination-button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: #52D3D8;
    color: #fff;
    border: none;
    border-radius: 5px;
    margin: 0 10px;
}
#currentPage {
    display: inline-block;
    padding: 10px;
    font-size: 16px;
    background-color: #fff;
    color: #000000;
    border-radius: 5px;
    margin: 0 5px;
}


/* Add your other styles */

/* Media query for mobile devices */
@media only screen and (max-width: 600px) {
    .search-icon {
        display: block;
    }

    .search-bar {
        display: block;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }
}
