/* Reset basic styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    padding: 20px;
}

h1 {
    color: blue;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.category-section {
    margin-bottom: 50px;
}

.category-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

/* Product Slider */
.product-slider {
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.product-wrapper {
    display: flex;
    gap: 20px;
    overflow-x: scroll; /* Horizontal scrolling */
    scroll-behavior: smooth;
    width: 100%;
}

.product-wrapper::-webkit-scrollbar {
    display: none; /* Hide scrollbar */
}

/* Product Card */
.product-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    width: 300px;
    height: 400px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    flex-shrink: 0; /* Prevent shrinking */
}

.product-card img {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
    border-radius: 4px;
}

.product-card h3 {
    margin-bottom: 10px;
    font-size: 18px;
    color: #555;
}

.product-card p {
    text-align: left;
    font-size: 14px;
    color: #666;
}

/* Arrows */
button.prev, button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 50%;
    z-index: 1;
}

button.prev {
    left: 0;
}

button.next {
    right: 0;
}

button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

/*Buton download*/
/* Basic Button Styling */
button {
    display: inline-block;
    padding: 10px 20px;
    color: #fff;
    background-color: #007bff; /* Button color */
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

/* Hover Effect */
button:hover {
    background-color: #0056b3; /* Darker color on hover */
}

/* Responsive */
@media (max-width: 768px) {
    .product-card {
        min-width: 200px;
    }

    button.prev, button.next {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .product-card {
        min-width: 150px;
    }
}
