.carousel-container {
    position: relative;
    max-width: 100%;
    padding-top: 60px;
    margin: 20px auto;
    overflow: hidden;
    box-sizing: border-box; /* Include padding in width */
}

.carousel {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%; /* Ensure it doesn't overflow horizontally */
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
}

.slide img {
    width: 100%;
    vertical-align: top;
}

.buy-button {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    box-sizing: border-box; /* Include padding in width */
    font-size: 1em;
    border-radius: 5px;
}

.buy-button:hover {
    background-color: rgba(0,0,0,0.7);
}


.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    box-sizing: border-box; /* Include padding in width */
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}
