/* General Styles */
body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    background-color: #faf7f2; /* Cream background */
    color: #333;
}

header, footer, main {
    padding: 20px;
}

header {
    background-color: #fff;
    border-bottom: 1px solid #ddd;
}

footer {
    background-color: #fff;
    border-top: 1px solid #ddd;
    text-align: center;
    margin-top: 30px;
}

a {
    color: #0d6e4f; /* Deep teal primary */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.button {
    background-color: #0d6e4f; /* Deep teal primary */
    color: #fff;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.button:hover {
    background-color: #09523b; /* Darker teal */
}

/* Homepage Styles */
.homepage .hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.homepage .hero-content {
    flex: 1;
    padding-right: 20px;
}

.homepage .hero-image {
    flex: 1;
}

.homepage .hero-image img {
    width: 100%;
    border-radius: 5px;
}

.homepage .featured-categories {
    margin-top: 30px;
}

.homepage .category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.homepage .category-card {
    background-color: #fff;
    border-radius: 5px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: block;
}

.homepage .category-card img {
    width: 100%;
    border-radius: 5px;
}

.homepage .top-products {
    margin-top: 30px;
}

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

.homepage .about-us {
    margin-top: 30px;
    display: flex;
    align-items: center;
}

.homepage .about-content {
    flex: 1;
    padding-left: 20px;
}

.homepage .about-content img {
    width: 300px;
    border-radius: 5px;
}

.homepage .trust-signals {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
}

.homepage .trust-item {
    text-align: center;
}

.homepage .trust-item img {
    width: 50px;
}

/* Product Listing Styles */
.products-page {
    display: flex;
}

.products-page .category-filter {
    flex: 0 0 200px;
    background-color: #f0f0f0;
    padding: 20px;
}

.products-page .category-filter ul {
    list-style: none;
    padding: 0;
}

.products-page .category-filter li {
    padding: 5px 0;
}

.products-page .product-grid-container {
    flex: 1;
    padding: 20px;
}

.products-page .search-bar {
    margin-bottom: 20px;
}

.products-page .search-bar input[type="text"] {
    width: 70%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.products-page .search-bar button {
    padding: 10px 20px;
    background-color: #0d6e4f; /* Deep teal primary */
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

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

.products-page .product-card {
    background-color: #fff;
    border-radius: 5px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.products-page .product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: #0d6e4f; /* Teal placeholder */
}

.products-page .product-card h3 {
    margin-top: 10px;
}

.products-page .product-card .product-price {
    color: #c5963a; /* Warm gold accent */
    font-weight: bold;
}

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

/* Cart Page Styles */
.cart-page {
    padding: 20px;
}

.cart-page .cart-items {
    margin-bottom: 20px;
}

.cart-page .cart-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.cart-page .cart-item img {
    width: 100px;
    margin-right: 20px;
}

.cart-page .item-details {
    flex: 1;
}

.cart-page .item-details input[type="number"] {
    width: 60px;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.cart-page .cart-summary {
    text-align: right;
}

.cart-page .checkout-button {
    background-color: #c5963a; /* Warm gold accent */
    color: #fff;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

/* Contact Page Styles */
.contact-page {
    padding: 20px;
}

.contact-page form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 0 auto;
}

.contact-page label {
    margin-top: 10px;
}

.contact-page input[type="text"],
.contact-page input[type="email"],
.contact-page textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 20px;
}

.contact-page button[type="submit"] {
    background-color: #0d6e4f; /* Deep teal primary */
    color: #fff;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}
