* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: #ffd1dc;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    color: #333;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

main {
    flex: 1;
    padding: 2rem;
}

.products-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.product-card {
    width: 300px;
    border: 1px solid #ddd;
    border-radius: 8px;
    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: 300px;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.product-image .hover-image {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.product-image:hover .main-image {
    opacity: 0;
}

.product-image:hover .hover-image {
    opacity: 1;
}

.product-info {
    padding: 1rem;
    text-align: center;
}

.product-info h3 {
    margin-bottom: 0.5rem;
}

.price {
    color: #e91e63;
    font-weight: bold;
    font-size: 1.2rem;
}

footer {
    background-color: #333;
    color: white;
    padding: 2rem;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    flex: 1;
    margin: 0 1rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
}

@media (max-width: 768px) {
    .products-grid {
        gap: 1rem;
    }
    
    .product-card {
        width: calc(50% - 1rem);
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-section {
        margin: 1rem 0;
    }
}