/* Carousel container styling */
.carrousell-container {
    position: relative;
    max-width: 90%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2em;
    background: currentColor;
    border-radius: 0.25em;
}

/* Carousel styling */
.carrousell {
    display: flex;
    gap: 1em;
    overflow-x: hidden; /* Removes scrollbar */
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding-bottom: 1em;
}

/* Product card styling */
.produuctt-card {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #A7823F;
    border-radius: 0.25em;
    padding: 1em;
    gap: 1em;
    scroll-snap-align: center;
    width: 18em;
    color: #ccc;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.produuctt-card img {
    width: 100%;
}

.produuctt-card h3,
.produuctt-card p {
    text-align: center;
    margin: 0;
    color: #fff;
}

.produuctt-card p {
    color: #fff;
}

.produuctt-card .buy-btn {
    padding: 0.8em 2em;
    background-color: #ccc;
    color: #101010;
    border: none;
    border-radius: 0.25em;
    cursor: pointer;
    font-size: 14px;
    align-self: center;
}

.produuctt-card .buy-btn:hover {
    background-color: #eaeaea;
}

.produuctt-card:hover {
    background-color: #bd9a5b;
}

/* Remove Scrollbars (Cross-Browser Compatible) */
.carrousell {
    -ms-overflow-style: none;  /* Internet Explorer and Edge */
    scrollbar-width: none;  /* Firefox */
}

.carrousell::-webkit-scrollbar {
    display: none;  /* Chrome, Safari, Opera */
}
h1{
    margin: 10px;
    margin-left: 30px;
}
/* Responsive Styling */
@media (min-width: 768px) {
    .carrousell-container {
        padding: 2em 4em;
    }
    
}

@media (min-width: 1024px) {
    .carrousell-container {
        max-width: 100%;
    }

    .produuctt-card {
        width: 20em; /* Adjust card width for larger screens */
    }
    
}

@media (max-width: 600px) {
    .produuctt-card {
        width: 100%; /* Make the card width full for mobile screens */
    }
    .carrousell {
        display: grid;
        gap: 1em;
        overflow-x: hidden;
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
        padding-bottom: 1em;
    }
}
