.container {
    max-width: 1200px;
    padding-top: 10px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #333;
    font-weight: bold;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.product-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

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

.product-image-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.favorite-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: white;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.favorite-btn:hover {
    background: #f8f8f8;
    transform: scale(1.1);
}

.favorite-btn svg {
    width: 18px;
    height: 16px;
}

.product-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 12px;
    color: #333;
    line-height: 1.3;
}

.product-description {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-price {
    font-size: 24px;
    font-weight: bold;
    color: #2c5aa0;
    margin-bottom: 20px;
}

.product-buttons {
    display: flex;
    gap: 12px;
    margin-top: auto;
}

.btn {
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    flex: 1;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: #ffc107;
    color: white;
}

.btn-primary:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #000;
    border: 2px solid #000;
}

.btn-secondary:hover {
    background-color: #f5f5f5;
    transform: translateY(-2px);
}

.product-card a {
    text-decoration: none;
    color: inherit;
}

.product-card a:hover {
    text-decoration: none;
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 10px;
    }

    .product-image-container {
        height: 220px;
    }

    .product-content {
        padding: 20px;
    }

    .product-buttons {
        flex-direction: column;
    }

    .btn {
        padding: 14px 20px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .product-image-container {
        height: 200px;
    }

    .product-title {
        font-size: 18px;
    }

    .product-price {
        font-size: 20px;
    }
}
