.container-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card-header {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: #f0f0f0;
    /* Optional: Add a background color */
    height: 200px;
    /* Set a fixed height to maintain consistency */
}

.card-header img {
    width: 150px;
    height: 150px;
    display: block;
    text-align: center;
}

.badge {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Center the text */

    color: black;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.75rem;
    text-shadow: 1px 1px 0 #444
}


.card-body {
    padding: 15px;
    flex-grow: 1;
}

.card-category {
    font-size: 0.9rem;
    color: #6c757d;
}

h3 {
    font-size: 1.2rem;
    color: #333;
    margin: 10px 0;
}

.card-location {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #6c757d;
    margin: 10px 0;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.price {
    font-size: 1.25rem;
    color: #ffa81f;
    font-weight: bold;
}


@media (max-width: 576px) {
    h3 {
        font-size: 1rem;
    }

    .price {
        font-size: 1rem;
    }

    .rating span {
        font-size: 0.75rem;
    }
}

.watermark {
    position: relative;
}

.watermark {
    position: relative;
    /* Ensure positioning context for the watermark text */
}

.watermark .watermark-text {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Center the text */
    font-size: 15px;
    color: rgb(180, 173, 173);
    opacity: 0.5;
    font-family: 'Times New Roman', Times, serif;


}

.w3-card-4.w3-round-large {
    cursor: pointer;
}

.list-group-item {
    white-space: pre-line; /* Ensures line breaks appear */
    word-wrap: break-word; /* Allows long words to wrap */
}