.market-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.search-bar {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.search-bar input {
    padding: 10px;
    margin: 5px;
    border: 1px solid #767676;
    border-radius: 5px;
    flex: 1;
}

.filters {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.filters button {
    background-color: #1E4F0F;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin: 0 5px;
}

.offers {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.offer {
    background-color: #d4edda;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
}

.offer h2 {
    margin-top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.offer-title {
    display: flex;
    gap: 20px;
    align-items: center;
}

.offer-content {
    display: flex;
    align-items: flex-start;
    width: 100%;
}

.profile-image {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin-right: 20px;
}

.offer-details {
    flex: 1;
    margin-right: 20px;
}

.product-image {
    width: 20%;
    height: auto;
    border-radius: 10px;
    margin-left: auto;
}

.offer-buttons {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 20px;
}

.contact-button {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.info-tag {
    margin-bottom: 10px;
    background-color: #ffff;
    border-radius: 15px;
    padding: 3px 8px;
}

.tag {
    border-radius: 5px;
    padding: 10px 30px;
    margin-right: 5px;
    font-size: 0.9em;
}

.location-button {
    border: #333;
    border-style: solid;
    border-width: 1px;
    border-radius: 5px;
    background-color: transparent;
    color: #333;
    padding: 0px 20px;
    height: 25px;
}

@media screen and (max-width: 820px) {
    .offer {
        flex-direction: column;
        align-items: center;
    }

    .product-image {
        width: 85%;
        height: auto;
        margin-top: 20px;
        margin-left: 0;
    }
}
