* {
    font-family: 'Inter', sans-serif;
}

/* Navbar */
.navbar-brand span {
    color: #f5a623;
    font-weight: 800;
    font-size: 24px;
}

.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 12px 0;
}

.navbar .nav-link {
    color: #333 !important;
    font-weight: 500;
    margin: 0 5px;
}

.navbar .nav-link:hover {
    color: #2e7d32 !important;
}

.sticky-top {
  
     z-index: 9999; 
}
.btn-add-listing {
    background: #e53935;
    color: #fff !important;
    border-radius: 25px;
    padding: 8px 20px !important;
    font-weight: 600;
}

.btn-add-listing:hover {
    background: #c62828;
}

/* Hero */
.hero-section {
    background: linear-gradient(135deg, #f5a623 0%, #f7c45e 50%, #fdd878 100%);
    padding: 151px 0 60px;
    position: relative;
    overflow: hidden;
    background: url(../images/hero-bg.png) no-repeat center center;
    background-size: cover;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.hero-section h1 {
    color: #2e7d32;
    font-weight: 800;
    font-size: 42px;
}

.hero-section p {
    color: #555;
    font-size: 16px;
}

.search-bar {
    background: #fff;
    border-radius: 50px;
    padding: 8px 8px 8px 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 30px auto;
}

.search-bar input {
    border: none;
    outline: none;
    flex: 1;
    font-size: 16px;
    background: transparent;
}

.search-bar button {
    background: #e53935;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 10px 28px;
    font-weight: 600;
    font-size: 15px;
}

.category-pills .badge {
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 25px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    margin: 4px;
}

.category-pills .badge:hover {
    background: #2e7d32;
    color: #fff;
    border-color: #2e7d32;
}

/* Section */
.section-title {
    font-weight: 700;
    font-size: 22px;
    color: #222;
}

.view-all {
    color: #2e7d32;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}

.view-all:hover {
    text-decoration: underline;
}

/* Category Cards */
.category-card {
    background: #e8f5e9;
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid transparent;
    height: 100%;
}

.category-card:hover {
    background: #2e7d32;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(46, 125, 50, 0.2);
}

.category-card:hover p,
.category-card:hover small {
    color: #fff !important;
}

.category-card i {
    font-size: 32px;
    color: #2e7d32;
    margin-bottom: 12px;
}

.category-card:hover i {
    color: #fff;
}

.category-card p {
    font-weight: 600;
    margin: 0 0 5px;
    color: #222;
}

.category-card small {
    color: #888;
    font-size: 12px;
}

/* Listing Cards */
.listing-card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: all 0.3s;
    background: #fff;
}

.listing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.listing-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.listing-card .card-body {
    padding: 15px;
}

.listing-card .location {
    color: #888;
    font-size: 12px;
}

.listing-card .rating {
    color: #f5a623;
    font-size: 12px;
}

.listing-card h6 {
    font-weight: 700;
    margin: 8px 0 5px;
    color: #222;
}

.listing-card p {
    color: #777;
    font-size: 13px;
    margin: 0 0 10px;
}

.price-range {
    color: #2e7d32;
    font-weight: 700;
    font-size: 14px;
}

/* Product Cards */
.product-card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: all 0.3s;
    background: #fff;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card .card-body {
    padding: 15px;
}

.product-card .seller {
    color: #888;
    font-size: 12px;
}

.product-card .rating {
    color: #f5a623;
    font-size: 12px;
}

.product-card h6 {
    font-weight: 700;
    margin: 8px 0 5px;
    color: #222;
}

.product-card p {
    color: #777;
    font-size: 13px;
    margin: 0 0 10px;
}

.product-card .price {
    color: #2e7d32;
    font-weight: 700;
    font-size: 16px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1b5e20, #2e7d32, #1565c0);
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    color: #fff;
}

.cta-section h2 {
    font-weight: 800;
    font-size: 32px;
}

.btn-cta-outline {
    border: 2px solid #fff;
    color: #fff;
    background: transparent;
    border-radius: 30px;
    padding: 12px 30px;
    font-weight: 600;
    text-decoration: none;
    margin: 5px;
    display: inline-block;
    transition: all 0.3s;
}

.btn-cta-outline:hover {
    background: #fff;
    color: #2e7d32;
}

.btn-cta-filled {
    border: 2px solid #fff;
    color: #2e7d32;
    background: #fff;
    border-radius: 30px;
    padding: 12px 30px;
    font-weight: 600;
    text-decoration: none;
    margin: 5px;
    display: inline-block;
    transition: all 0.3s;
}

.btn-cta-filled:hover {
    background: transparent;
    color: #fff;
}

/* Footer */
.footer {
    background: #1a3c5e;
    color: #aaa;
    padding: 60px 0 30px;
}

.footer h6 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer a {
    color: #aaa;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
}

.footer a:hover {
    color: #f5a623;
}

.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 40px;
    padding-top: 20px;
    font-size: 13px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: #333;
    border-radius: 50%;
    color: #fff;
    margin-right: 8px;
    font-size: 14px;
    transition: all 0.3s;
}

.social-links a:hover {
    background: #f5a623;
}

/* Work In Progress Banner */
.wip-banner {
    background: linear-gradient(135deg, #e53935, #c62828);
    color: #fff;
    text-align: center;
    padding: 10px;
    font-size: 13px;
    font-weight: 500;
}

.wip-banner a {
    color: #fdd878;
    text-decoration: underline;
}

/* Wrapper */
nav[aria-label="Pagination Navigation"] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 24px 0;
}

/* Desktop block (the second div): the sm:flex behaviour */
nav[aria-label="Pagination Navigation"] > div:last-child {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

/* Mobile block (the first div): hidden on desktop */
nav[aria-label="Pagination Navigation"] > div:first-child {
    display: none;
    flex: 1;
    justify-content: space-between;
}

/* Under 640px: swap them, like sm:hidden */
@media (max-width: 639px) {
    nav[aria-label="Pagination Navigation"] > div:first-child { display: flex; }
    nav[aria-label="Pagination Navigation"] > div:last-child  { display: none; }
}

/* "Showing 1 to 12 of 14 results" */
nav[aria-label="Pagination Navigation"] p {
    margin: 0;
    font-size: 14px;
    color: #374151;
}
nav[aria-label="Pagination Navigation"] p .font-medium {
    font-weight: 600;
}

/* Fix the huge arrows */
nav[aria-label="Pagination Navigation"] svg {
    width: 20px;
    height: 20px;
    display: block;
}

/* Number/arrow group */
nav[aria-label="Pagination Navigation"] .shadow-sm {
    display: inline-flex;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
    border-radius: 6px;
}
nav[aria-label="Pagination Navigation"] .shadow-sm > span {
    display: inline-flex;
}

/* All buttons (desktop group + mobile prev/next) */
nav[aria-label="Pagination Navigation"] .shadow-sm > a,
nav[aria-label="Pagination Navigation"] .shadow-sm > span > span,
nav[aria-label="Pagination Navigation"] > div:first-child > a,
nav[aria-label="Pagination Navigation"] > div:first-child > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 14px;
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
    color: #374151;
    background: #fff;
    border: 1px solid #d1d5db;
    margin-left: -1px;
    box-sizing: border-box;
}
nav[aria-label="Pagination Navigation"] > div:first-child > a,
nav[aria-label="Pagination Navigation"] > div:first-child > span {
    margin-left: 0;
    border-radius: 6px;
}

/* Rounded ends */
nav[aria-label="Pagination Navigation"] .shadow-sm > span:first-child > span { border-radius: 6px 0 0 6px; margin-left: 0; }
nav[aria-label="Pagination Navigation"] .shadow-sm > a:last-child            { border-radius: 0 6px 6px 0; }

/* Hover */
nav[aria-label="Pagination Navigation"] a:hover {
    background: #f3f4f6;
    color: #111827;
}

/* Current page */
nav[aria-label="Pagination Navigation"] [aria-current="page"] > span {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}

/* Disabled */
nav[aria-label="Pagination Navigation"] [aria-disabled="true"] > span,
nav[aria-label="Pagination Navigation"] > div:first-child > span {
    color: #9ca3af;
    background: #f9fafb;
    cursor: default;
}
