body {
    font-family: Arial, sans-serif;
    margin: 10px;
    padding: 10px;
    max-width: 1200px;
}

.banner {
  left: 0;
  right: 0;
  width: 100%;
  /* Add other styles for background color, image, etc. */
}

h1 {
    text-align:left;
}
nav a {
    margin: 0 10px;
}
.product {
     border: 1px solid #ccc;
     padding: 10px;
     margin-bottom: 10px;
} 
.product-wrapper {
    max-width: 1200px;
    margin: 20px auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
}
.product-item {
    border: 1px solid #ddd;
    padding: 8px;
    width: 220px;
    box-sizing: border-box;
    text-align: center;
    box-shadow: 0 0 5px rgb(0 0 0 / 0.1);
    border-radius: 6px;
    transition: box-shadow 0.3s ease;
}
.product-item:hover {
    box-shadow: 0 0 12px rgb(0 0 0 / 0.2);
}
.product-image {
    width: 200px;
    height: 180px;
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid #ccc;
}
.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.product-name {
    font-size: 18px;
    margin: 8px 0 6px;
    color: #333;
    height: 42px; /* limit lines */
    overflow: hidden;
}
.product-price {
    color: #007BFF;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 16px;
}
.product-description {
    font-size: 14px;
    color: #666;
    height: 48px;
    overflow: hidden;
    margin-bottom: 12px;
}
.product-link {
    text-decoration: none;
    color: #fff;
    background-color: #007BFF;
    padding: 8px 14px;
    border-radius: 4px;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s ease;
}
.product-link:hover {
    background-color: #0056b3;
}
/* Pagination styles */
nav.pagination {
    text-align: center;
    margin: 30px auto;
    user-select: none;
}
nav.pagination a, nav.pagination strong {
    display: inline-block;
    margin: 0 6px;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    color: #007BFF;
    border: 1px solid #007BFF;
    cursor: pointer;
    transition: all 0.3s ease;
}
nav.pagination strong {
    background-color: #007BFF;
    color: white;
    cursor: default;
    border-color: #007BFF;
}
nav.pagination a:hover {
    background-color: #0056b3;
    color: white;
    border-color: #0056b3;
} 