﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}
.img-35 {
    width: 45px;
    height: auto;
}
/* فونت فارسی پیشنهادی */
body {
    font-family: 'IRANSans', 'Tahoma', sans-serif;
    background-color: #f9f9f9;
    color: #333;
}

/* هدر */
header {
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    padding: 15px 30px;
}

    header .logo {
        font-size: 24px;
        font-weight: bold;
        color: #007bff;
    }

/* بنر یا اسلایدر */
#banner {
    margin-top: 20px;
    margin-bottom: 30px;
}

    #banner img {
        width: 100%;
        border-radius: 8px;
    }

/* سبد خرید */
#cart-summary {
    background-color: #fff;
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 8px;
}

/* فیلتر محصولات */
#product-filters {
    background-color: #fff;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 8px;
}

    #product-filters h5 {
        font-weight: bold;
        margin-bottom: 15px;
    }

/* لیست محصولات */
#product-list .product-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    transition: box-shadow 0.3s ease;
}

    #product-list .product-card:hover {
        box-shadow: 0 0 10px rgba(0,0,0,0.1);
    }

.product-card img {
    max-width: 100%;
    border-radius: 6px;
}

.product-card .title {
    font-size: 16px;
    font-weight: bold;
    margin-top: 10px;
}

.product-card .price {
    color: #28a745;
    font-weight: bold;
    margin-top: 5px;
}

/* دکمه‌ها */
.btn {
    border-radius: 6px;
    font-weight: bold;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

/* فرم ورود و ثبت‌نام */
#auth-section {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #eee;
}

/* نظرات کاربران */
#user-reviews {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #eee;
}
#starRating i {
    color: #ccc; /* رنگ پیش‌فرض (خاکستری روشن) */
    cursor: pointer;
    font-size: 1.5rem;
}

    #starRating i.bi-star-fill {
        color: gold; /* رنگ طلایی برای ستاره‌های پر */
    }
    #starRating i:hover,
    #starRating i:hover ~ i {
        color: gold;
    }

/* فوتر */
footer {
    background-color: #f1f1f1;
    padding: 30px;
    text-align: center;
    font-size: 14px;
    color: #666;
}

/* واکنش‌گرایی */
@media (max-width: 768px) {
    #product-filters {
        margin-bottom: 20px;
    }

    .product-card {
        text-align: center;
    }
}




