* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.baner {
    width: 100%;
}

.baner img {
    width: 100%;
}

.products-section {
    padding: 20px 0;
    overflow: hidden;
    width: 70%;
    margin: auto;
}

.product-list > .product-item:first-child {
    margin-right: 90px; /* إضافة فراغ من اليسار للعنصر الأول */
}

.product-list {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 10px;
    scrollbar-width: none;
}

.product-list::-webkit-scrollbar {
    display: none;
}

.product-item {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 15px;
    width: 200px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    flex: 0 0 auto;
}

@media(max-width: 800px) {
    .product-list > .product-item:first-child {
        margin-right: 150px; /* إضافة فراغ من اليسار للعنصر الأول */
    }
}
@media(max-width: 700px) {
    .product-list > .product-item:first-child {
        margin-right: 200px; /* إضافة فراغ من اليسار للعنصر الأول */
    }
}
@media(max-width: 630px) {
    .product-list > .product-item:first-child {
        margin-right: 300px; /* إضافة فراغ من اليسار للعنصر الأول */
    }
}
@media(max-width: 500px) {
    .product-list > .product-item:first-child {
        margin-right: 350px; /* إضافة فراغ من اليسار للعنصر الأول */
    }
}
@media(max-width: 400px) {
    .product-list > .product-item:first-child {
        margin-right: 400px; /* إضافة فراغ من اليسار للعنصر الأول */
    }
}

.product-item img {
    max-width: 100%;
    height: 170px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.product-item h3 {
    font-size: 16px;
    margin: 10px 0;
}

.product-item p {
    font-size: 12px;
    color: gray;
    margin-bottom: 50px;
}

.product-item .price {
    display: block;
    font-size: 17px;
    font-weight: 700;
    margin: 10px 0;
    color: black;
}

.product-item .add-to-cart {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px;
    width: 100%;
}

.product-item .add-to-cart:hover {
    background-color: #555;
}

.show-all {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin: 20px auto;
    display: block;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}

.show-all:hover {
    background-color: #555;
}

.cat {
    text-align: center;
    padding: 15px;
    font-weight: 600;
    font-size: 18px;
    background: #eee;
    color: black;
}

a {
    text-decoration: none;
}
