/*
Theme Name: TazzaMart
Author: Your Name
Version: 1.0
*/

/* --- Basic Setup --- */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    background-color: #f4f4f4;
    color: #333;
}

.tazzamart-container {
    max-width: 800px; /* Narrower for a list-style */
    margin: 20px auto;
    padding: 0 15px;
}

.tazzamart-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
    padding-bottom: 20px;
}

.tazzamart-header h1 {
    font-size: 2.5rem;
    color: #00b300;
    margin: 0;
}

/* --- This is the Product List --- */
/* We are not using a grid, but "product-grid" is the class in index.php */
.product-grid {
    display: block; /* Change from grid to block */
}

/* --- This is the Simple UI Card --- */
.product-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex; /* This is the main change */
    align-items: center;
    margin-bottom: 20px; /* Space between items */
    padding: 15px;
}

.product-card img {
    width: 100px; /* Fixed small image */
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 20px;
    flex-shrink: 0;
}

.product-content {
    flex-grow: 1; /* Takes up the remaining space */
}

.product-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 5px 0;
}

.product-title a {
    text-decoration: none;
    color: #333;
}

.product-price {
    font-size: 1.1rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 15px;
}

/* --- WooCommerce Button Styling --- */
.product-button .button {
    background-color: #00b300 !important; /* Green button */
    color: white !important;
    text-align: center;
    padding: 10px 20px !important;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.product-button .button:hover {
    background-color: #008a00 !important; /* Darker Green */
}

/* Hides the "View Cart" link */
.product-button .added_to_cart {
    display: none !important;
}