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

.container {
    max-width: 900px;
    margin: 30px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    border-radius: 8px;
}

header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #4CAF50;
}

header h1 {
    margin: 10px 0 5px;
    font-size: 2em;
    color: #333;
}

.bio {
    font-size: 1em;
    color: #666;
    max-width: 600px;
    margin: 0 auto 15px auto;
}

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

.product-grid h2 {
    grid-column: 1 / -1; /* Span across all columns */
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.8em;
    color: #444;
}

.product-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex; /* Added for flex properties */
    flex-direction: column; /* Stack children vertically */
}

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

.product-item a {
    text-decoration: none;
    color: inherit;
    display: flex; /* Make <a> a flex container */
    flex-direction: column; /* Stack its children vertically */
    height: 100%; /* Make <a> take full height of .product-item */
}

.product-item img {
    width: 100%;
    height: 200px; /* Or desired fixed height */
    object-fit: cover; /* Ensures image covers the area, might crop */
    display: block;
}

.product-item h3 {
    font-size: 1.2em;
    margin: 15px 10px 5px;
    color: #333;
}

.product-description {
    font-size: 0.9em;
    color: #666;
    padding: 0 15px 10px;
    flex-grow: 1; /* Allows description to take available space */
    margin-bottom: 10px;
}

.shop-button {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    margin: 0 15px 15px 15px; /* Adjust margin */
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
}

.product-item a:hover .shop-button {
    background-color: #0056b3;
}

footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
    margin-top: 30px;
}

.social-links a {
    color: #333;
    margin: 0 10px;
    font-size: 1.8em;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #007bff;
}

.copyright {
    margin-top: 15px;
    font-size: 0.9em;
    color: #777;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        margin: 20px;
        padding: 15px;
    }
    .profile-pic {
        width: 100px;
        height: 100px;
    }
    header h1 {
        font-size: 1.8em;
    }
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }
    .product-item img {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr; /* Single column on very small screens */
    }
    .profile-pic {
        width: 80px;
        height: 80px;
    }
    header h1 {
        font-size: 1.5em;
    }
    .bio {
        font-size: 0.9em;
    }
    .social-links a {
        font-size: 1.5em;
    }
}