
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background-color: #2c3e50;
    color: white;
    padding: 20px 0;
    margin-bottom: 30px;
}

header h1 {
    margin: 0;
    text-align: center;
}

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

.product-card {
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-info {
    padding: 15px;
}

.product-title {
    font-size: 1.2rem;
    margin: 0 0 10px 0;
}

.view-button {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.view-button:hover {
    background-color: #2980b9;
}

.product-detail {
    max-width: 800px;
    margin: 0 auto;
}

.product-detail-image {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    margin-bottom: 20px;
}

.product-detail-title {
    font-size: 1.8rem;
    margin: 0 0 20px 0;
}

.product-actions {
    margin: 20px 0;
}

.product-link {
    display: inline-block;
    background-color: #2ecc71;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.product-link:hover {
    background-color: #27ae60;
}

.back-link {
    display: inline-block;
    margin: 20px 0;
    color: #3498db;
    text-decoration: none;
}

footer {
    margin-top: 50px;
    padding: 20px 0;
    border-top: 1px solid #ddd;
}
