/* main.css - BabyWheels E-commerce Main Styles */

body {
    font-family: 'Montserrat', Arial, sans-serif;
    background: #f8f9fa;
    color: #222;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    color: #222;
    margin-top: 0;
}

a {
    color: #2a7b5f;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #1f5d47;
}

.btn, .button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: #2a7b5f;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.btn:hover, .button:hover {
    background: #1f5d47;
}

.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card__image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-card__content {
    padding: 1.5rem;
}

.product-card__title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #222;
}

.product-card__price {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.product-card__current-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2a7b5f;
}

.product-card__old-price {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
}

.product-card__cta {
    display: block;
    padding: 0.8rem;
    background: #2a7b5f;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.3s;
}

.product-card__cta:hover {
    background: white;
    color: #1f5d47;
}

/* Utility classes */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.grid { display: grid; gap: 2rem; }

@media (max-width: 900px) {
    .container { padding: 1rem; }
    .product-card__image { height: 180px; }
} 