    body {
      font-family: Arial, sans-serif;
      margin: 0;
      background-color: #F5F5F5;
      color: #212121;
    }
    header, footer {
      background-color: #3F51B5;
      color: white;
      padding: 1rem;
      text-align: center;
    }
    nav {
      background-color: #37474F;
      color: white;
      padding: 1rem;
      width: 200px;
      min-height: 100vh;
      float: left;
    }
    nav a {
      color: white;
      display: block;
      margin: 0.5rem 0;
      text-decoration: none;
    }
    main {
        margin-left: 250px;
        padding: 2rem; /* Added padding */
        box-sizing: border-box;
    }
    .masthead {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 1rem;
    }
    .masthead img {
      height: 40px;
    }

    body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f4f4f4;
    color: #333;
}

.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.product-card {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    max-width: 100%;
    height: 150px;
    object-fit: contain;
    margin-bottom: 10px;
}

.product-card h3 {
    font-size: 1.2em;
    margin-bottom: 5px;
    color: #007bff;
}

.product-card p {
    font-size: 0.9em;
    color: #666;
    flex-grow: 1; /* Allows description to take up available space */
}

.product-card .price {
    font-size: 1.1em;
    font-weight: bold;
    color: #28a745;
    margin-top: 10px;
}

.product-detail {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 30px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    gap: 30px;
}

.product-detail img {
    max-width: 300px;
    height: auto;
    object-fit: contain;
    border: 1px solid #eee;
    padding: 10px;
    border-radius: 5px;
}

.product-info {
    flex-grow: 1;
}

.product-info h2 {
    color: #007bff;
    margin-top: 0;
}

.product-info .price {
    font-size: 1.5em;
    font-weight: bold;
    color: #28a745;
    margin-bottom: 20px;
}

.product-info p {
    line-height: 1.6;
    margin-bottom: 15px;
}

.back-link {
    display: block;
    margin-top: 20px;
    text-align: center;
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.back-link:hover {
    text-decoration: underline;
}

.chat-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    height: 400px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    background-color: white;
    z-index: 1000;
}

.chat-header {
    background-color: #007bff;
    color: white;
    padding: 10px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.chat-header button {
    background: none;
    border: none;
    color: white;
    font-size: 1.2em;
    cursor: pointer;
}

.chat-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 10px;
    display: flex;
    flex-direction: column;
}

.chat-message {
    padding: 8px 12px;
    border-radius: 15px;
    margin-bottom: 8px;
    max-width: 80%;
    word-wrap: break-word;
}

.chat-message.user {
    align-self: flex-end;
    background-color: #e0f7fa;
    color: #333;
}

.chat-message.ai {
    align-self: flex-start;
    background-color: #f1f1f1;
    color: #333;
}

.chat-input {
    display: flex;
    padding: 10px;
    border-top: 1px solid #eee;
}

.chat-input input {
    flex-grow: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-right: 5px;
}

.chat-input button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
}