 /* Custom Styles */
 .profile-container {
    max-width: 1200px;
    margin: auto;
    padding-top: 20px;
}
.banner {
    width: 100%;
    height: 300px;
    background-color: #f2f2f2;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 10px;
}
.profile-picture {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: #ccc;
    background-size: cover;
    background-position: center;
    position: absolute;
    bottom: -75px;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid #fff;
}
.profile-details {
    margin-top: 100px;
    text-align: center;
}
.action-buttons .btn {
    margin: 0 10px;
}
/* Review Section Styling */
.reviews-section {
    margin-top: 50px;
}

.review-card {
    display: flex;
    flex-wrap: wrap; 
    gap: 15px;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    background-color: #f8f9fa;
}

.review-profile-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
}

.review-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.star-rating input[type="radio"] {
    display: none;
}

.star-rating label {
    color: #ccc;
    font-size: 1.5rem;
    cursor: pointer;
}

.star-rating input[type="radio"]:checked ~ label,
.star-rating input[type="radio"]:checked ~ label ~ label {
    color: #ffc107;
}


@media (max-width: 768px) {
    .review-card {
        flex-direction: column;
    }
    .review-img {
        width: 100%;
        height: auto;
    }
}

.filter-section {
    margin-top: 30px;
    margin-bottom: 30px;
}
.filter-section form .form-control, .filter-section form .form-select {
    margin-bottom: 15px;
}
.products-section {
    margin-bottom: 50px;
}
.products-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.address-card {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
    background-color: #fff;
    margin-bottom: 30px;
}
.address-card h4 {
    margin-bottom: 15px;
}
.product-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    
}

.product-item {
    flex: 1 1 calc(25% - 20px); 
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 15px;
    box-sizing: border-box;
    background-color: #fff;
    transition: box-shadow 0.3s ease;
}

.product-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.product-title {
    font-size: 1.2rem;
    margin-top: 10px;
    margin-bottom: 5px;
}
.product-seller, .product-category {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 10px;
}
.product-price {
    color: #28a745;
    font-weight: bold;
    margin-bottom: 5px;
}
.product-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
}

.pagination {
    justify-content: center;
    margin-top: 30px;
}


/* Responsive adjustments */
@media (max-width: 992px) {
    .product-item {
        flex: 1 1 calc(33.333% - 20px); 
    }
}

@media (max-width: 768px) {
    .product-item {
        flex: 1 1 calc(50% - 20px); 
    }
}

@media (max-width: 576px) {
    .product-item {
        flex: 1 1 100%; 
    }
}

.star-rating input[type="radio"] {
    display: none;
}
.star-rating label {
    color: #ccc;
    font-size: 1.5rem;
    cursor: pointer;
}
.star-rating input[type="radio"]:checked ~ label,
.star-rating input[type="radio"]:checked ~ label ~ label {
    color: #ffc107;
}