body{
    font-family: "Plus Jakarta Sans", serif !important;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container{
    flex: 1;
}

/* Navbar */
.navbar{
    height: 5rem;
    background-color: white;
}

.fa-compass{
    color: #fe424d;
    font-size: 2rem;
}

.nav-link{
    color: #222222 !important;
}

/* Footer  */
.f-info-links a{
    text-decoration: none;
    color: #222222;
}

.f-info-links a:hover{
    text-decoration: underline;
}

.f-info-links , 
.f-info-socials,
.f-info-brand{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.f-info-socials i{
    font-size: 1.2rem;
    margin-right: 1rem;
}

.f-info{
    text-align: center;
    display: flex;
    height: 8rem;
    background-color: #ebebeb;
    flex-wrap: wrap;
    justify-content: center;
    align-items: space-evenly;
}

/* Cards */
.card{
    border: none !important;
    margin-bottom: 2rem;
}

.card-img-top{
    border-radius: 1rem !important;
    /* width: 100% !important; */
    object-fit: cover !important;
}

.card-body {
    padding: 0 !important;
}

.card-text {
    font-weight: 400 !important;
}

.listing-link{
    text-decoration: none !important;
    color: #222222;
}

/* Card Effect */
.card-img-overlay{
    opacity: 0; 
}

.card-img-overlay:hover{
    opacity: 0.2;
    background-color: white; 
}

/* New Page  */

.add-btn{
    background-color: #fe424d !important;
    border: none !important;
}

/* Edit Page  */
.edit-btn{
    background-color: #fe424d !important;
    border: none !important;
}

/* Show Page  */
.show-img{
    height: 30vh;
}

.btns{
    display: flex;
}

.show-card{
    padding-left: 0;
    padding-right: 0;
}

/* LocalMart specific styles */
.status-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    border-radius: 4px;
    color: white;
    font-weight: bold;
}

.status-badge.available {
    background-color: #28a745;
}

.status-badge.reserved {
    background-color: #ffc107;
}

.status-badge.sold {
    background-color: #dc3545;
}

.price-tag {
    font-size: 1.5rem;
    font-weight: bold;
    color: #28a745;
    margin: 10px 0;
}

.seller-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.seller-info h5 {
    color: #333;
    margin-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
}

.seller-info p {
    margin-bottom: 10px;
    color: #666;
}

.seller-info strong {
    color: #333;
}

.contact-btn {
    width: 100%;
    margin-top: 15px;
}

.description {
    color: #666;
    margin: 10px 0;
}

/* Add these to your existing styles */

.suggestions-box {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none;
    max-height: 300px;
    overflow-y: auto;
}

.suggestions-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.suggestion-item {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.suggestion-item:hover {
    background-color: #f8f9fa;
}

.suggestion-content {
    display: flex;
    align-items: center;
}

.suggestion-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 10px;
}

.suggestion-info {
    flex: 1;
}

.suggestion-title {
    font-weight: bold;
}

.suggestion-price {
    color: #28a745;
}

/* Favorites styles */
.favorite-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    background: white;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.favorite-btn i {
    color: #dc3545;
    font-size: 1.2rem;
}

.favorite-btn.active i {
    font-weight: 900;
}

.favorite-btn:hover {
    transform: scale(1.1);
}

/* Bundle badge styles */
.bundle-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ffc107;
    color: black;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
    z-index: 2;
}

/* Negotiable badge styles */
.negotiable-badge {
    font-size: 0.8rem;
    background: #17a2b8;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 5px;
}

/* Add to your existing styles */

/* Bundle styles */
.bundle-details {
    background: #fff3cd;
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
}

.bundle-savings {
    color: #28a745;
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: 10px;
}

/* Expiry notification styles */
.expiring-soon {
    color: #dc3545;
    font-weight: bold;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.time-remaining {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
}

.time-remaining i {
    margin-right: 5px;
}

/* Add to your existing styles */
.feature-showcase {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.feature-card {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.feature-card i {
    font-size: 2rem;
    color: #fe424d;
    margin-bottom: 10px;
}

.feature-card h5 {
    margin-bottom: 15px;
}

/* Add styles for distance badges */
.distance-badge {
    position: absolute;
    top: 40px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

/* Add these new styles to your existing CSS */

.marketplace-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.hero-section {
    text-align: center;
    padding: 40px 0;
    background: linear-gradient(to right, #f8f9fa, #e9ecef);
    border-radius: 15px;
    margin-bottom: 30px;
}

.hero-section h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 10px;
}

.filter-bar {
    display: flex;
    gap: 15px;
    align-items: center;
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.search-box {
    flex: 1;
    display: flex;
    gap: 10px;
}

.filter-menu {
    min-width: 300px;
}

.sort-select {
    width: auto;
    min-width: 200px;
}

.category-pills {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 10px 0;
}

.category-pill {
    padding: 8px 20px;
    background: white;
    border-radius: 25px;
    text-decoration: none;
    color: #333;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.category-pill:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.category-pill i {
    margin-right: 5px;
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.listing-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    position: relative;
}

.listing-card:hover {
    transform: translateY(-5px);
}

.listing-image {
    position: relative;
    height: 200px;
}

.listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.listing-details {
    padding: 15px;
}

.listing-title {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
}

.listing-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #28a745;
    margin: 10px 0;
}

.listing-location {
    font-size: 0.9rem;
    color: #666;
}

.map-section {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.map-section h3 {
    margin-bottom: 20px;
    color: #333;
}

/* Add to your existing styles */

.hero-banner {
    background: linear-gradient(45deg, #fe424d, #ff6b6b);
    color: white;
    padding: 60px 20px;
    border-radius: 15px;
    margin-bottom: 30px;
    text-align: center;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.main-search {
    width: 100%;
    max-width: 600px;
    padding: 15px 25px;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.filter-chips {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.filter-chips::-webkit-scrollbar {
    display: none;
}

.filter-chip {
    padding: 8px 20px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: white;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.filter-chip.active {
    background: #fe424d;
    color: white;
    border-color: #fe424d;
}

.listings-section {
    margin: 40px 0;
}

.listings-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333;
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.listing-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.listing-card:hover {
    transform: translateY(-5px);
}

.listing-image {
    position: relative;
    height: 200px;
}

.listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.listing-badges {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.badge-negotiable, .badge-bundle {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

.badge-negotiable {
    background: rgba(40, 167, 69, 0.9);
    color: white;
}

.badge-bundle {
    background: rgba(255, 193, 7, 0.9);
    color: black;
}

.listing-info {
    padding: 15px;
}

.listing-info h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #333;
}

.price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #28a745;
    margin-bottom: 8px;
}

.location {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.listing-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #666;
}

.view-details {
    display: block;
    text-align: center;
    padding: 8px;
    background: #fe424d;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.view-details:hover {
    background: #e63946;
    color: white;
}

/* Add these styles and update the color */
.list-items-section {
    margin: 40px 0;
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
}

.list-items-container {
    display: flex;
    align-items: center;
    padding: 40px;
    gap: 40px;
}

.list-items-content {
    flex: 1;
}

.list-items-content h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.2;
}

.list-items-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.tag {
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.tag:nth-child(1) { background: #ffebee; color: #ef5350; }
.tag:nth-child(2) { background: #e8f5e9; color: #66bb6a; }
.tag:nth-child(3) { background: #e3f2fd; color: #007bff; }
.tag:nth-child(4) { background: #fff3e0; color: #ffa726; }

.start-btn {
    display: inline-block;
    padding: 12px 25px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.start-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
    color: white;
}

.list-items-image {
    flex: 1;
    max-width: 500px;
}

.list-items-image img {
    width: 100%;
    height: auto;
    border-radius: 50%;
}

/* Update existing color styles */
.view-details {
    background: #007bff;
}

.view-details:hover {
    background: #0056b3;
}

.filter-chip.active {
    background: #007bff;
    border-color: #007bff;
}

.btn-primary {
    background-color: #007bff !important;
    border-color: #007bff !important;
}

.btn-primary:hover {
    background-color: #0056b3 !important;
    border-color: #0056b3 !important;
}

/* Make it responsive */
@media (max-width: 768px) {
    .list-items-container {
        flex-direction: column;
        padding: 20px;
    }

    .list-items-content h2 {
        font-size: 2rem;
    }

    .list-items-image {
        order: -1;
    }
}

/* Add to your existing styles */

/* Navbar Styles */
.navbar {
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.brand-text {
    background: linear-gradient(45deg, #007bff, #00bcd4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-search-form {
    width: 40%;
}

.nav-search-form .form-control {
    border-radius: 20px 0 0 20px;
    border-right: none;
}

.nav-search-form .btn {
    border-radius: 0 20px 20px 0;
    border-left: none;
}

.sell-btn {
    color: #007bff !important;
    font-weight: 600;
}

.sell-btn:hover {
    color: #0056b3 !important;
}

/* Footer Styles */
.footer {
    background: #f8f9fa;
    margin-top: 60px;
}

.footer-content {
    padding: 60px 0 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-brand i {
    font-size: 2rem;
    color: #007bff;
}

.footer-brand h5 {
    margin: 0 0 0 10px;
    font-weight: 700;
}

.footer-description {
    color: #6c757d;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    color: #007bff;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #007bff;
    color: #fff;
    transform: translateY(-3px);
}

.footer-title {
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #007bff;
}

.newsletter-form .form-control {
    border-radius: 20px 0 0 20px;
    border-right: none;
}

.newsletter-form .btn {
    border-radius: 0 20px 20px 0;
    padding: 8px 20px;
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid #dee2e6;
}

.footer-bottom p {
    color: #6c757d;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.footer-bottom-links a {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-bottom-links a:hover {
    color: #007bff;
}

@media (max-width: 768px) {
    .footer-bottom-links {
        justify-content: center;
        margin-top: 15px;
    }
    
    .footer-bottom .text-md-end {
        text-align: center !important;
    }
}