/* Card style */
.card {
    border-radius: 0.75rem; /* Slightly rounded corners */
    overflow: hidden;
    background-color: #fff;
    transition: transform 0.3s ease;
    width: 100%; /* Ensure cards take up full width within their column */
    height: 100%; /* Keep the height proportional to the content */
}

/* Remove horizontal scroll */
body {
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Card body padding */
.card-body {
    padding: 15px;
    overflow: hidden; /* Hide overflow to prevent stretching of content */
}

/* Price badge */
.price-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #28a745;
    color: white;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Text styling */
.card-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.card-text {
    font-size: 0.9rem;
}

/* Responsive adjustments for all screen sizes */
@media (max-width: 768px) {
    .card {
        margin-bottom: 20px;
    }
}

/* Larger screen support - cards should take full width but stay proportional */
@media (min-width: 1200px) {
    .card {
        width: 100%;
        height: auto;
    }
}
