/* === FindLocal Inspired Design === */

:root {
    --red: #e8232a;
    --red-dark: #c01a20;
    --red-light: #fef2f2;
    --orange: #ff6b00;
    --yellow: #ffc107;
    --green: #16a34a;
    --blue: #1d4ed8;
    --sky: #0ea5e9;
    --ink: #1a1a2e;
    --ink2: #3d3d5c;
    --muted: #6b7280;
    --border: #e5e7eb;
    --surface: #f9fafb;
    --white: #ffffff;
    --radius: 10px;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
}

body {
    font-family: 'Nunito Sans', sans-serif;
    color: var(--ink);
    background: var(--surface);
    font-size: 15px;
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }

/* ── TOP STRIP ── */
.top-strip {
    background: var(--ink);
    color: rgba(255,255,255,0.75);
    font-size: 12px;
    padding: 6px 0;
}
.top-strip .inner {
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
    display: flex; align-items: center; justify-content: space-between;
}
.top-strip a { color: rgba(255,255,255,0.75); margin-left: 16px; }
.top-strip a:hover { color: #fff; }

/* ── HEADER ── */
header.findlocal-header {
    background: var(--white);
    border-bottom: 2px solid var(--red);
    position: sticky; top: 0; z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.header-inner {
    max-width: 1200px; margin: 0 auto; padding: 10px 20px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 30px;
}

.logo {
    font-family: 'Nunito', sans-serif;
    font-size: 26px; font-weight: 900;
    color: var(--red);
    flex-shrink: 0;
    letter-spacing: -0.5px;
}
.logo span { color: var(--ink); }

/* ── HEADER SEARCH ── */
.header-search {
    flex: 0 1 580px; /* Specific width like screenshot */
    display: flex; align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 8px; overflow: hidden;
    background: #fff;
    height: 46px;
    transition: box-shadow 0.2s;
}
.header-search:focus-within { box-shadow: 0 0 0 3px rgba(232, 35, 42, 0.1); border-color: var(--red); }
.hs-loc {
    display: flex; align-items: center; gap: 8px;
    padding: 0 15px;
    border-right: 1px solid #f1f5f9;
    font-size: 14px; color: #64748b;
    font-weight: 600;
    white-space: nowrap; cursor: pointer;
    height: 100%;
}
.hs-loc svg { color: var(--red); width: 14px; }
.hs-input { 
    flex: 1; border: none; outline: none; padding: 0 15px; 
    font-size: 14px; font-family: 'Nunito Sans', sans-serif;
    color: var(--ink);
    height: 100%;
}
.hs-btn {
    background: var(--red); color: #fff;
    border: none; padding: 0 25px;
    font-size: 15px; font-weight: 800;
    cursor: pointer; font-family: 'Nunito', sans-serif;
    height: 100%;
    transition: background 0.15s;
}
.hs-btn:hover { background: var(--red-dark); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.btn-ghost {
    padding: 10px 24px; border-radius: 12px;
    border: 1.5px solid var(--border);
    font-size: 14px; font-weight: 700; cursor: pointer;
    background: transparent; color: var(--ink);
    font-family: 'Nunito', sans-serif;
    transition: all 0.2s;
}
.btn-ghost:hover { border-color: var(--red); color: var(--red); background: var(--red-light); }

.btn-red {
    padding: 12px 32px; border-radius: 12px;
    background: var(--red); color: #fff;
    border: none; font-size: 15px; font-weight: 800;
    cursor: pointer; font-family: 'Nunito', sans-serif;
    transition: all 0.2s;
    display: inline-flex; align-items: center; justify-content: center;
}
.btn-red:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(232,35,42,0.25); }

/* ── FORM INPUTS ── */
.fl-input {
    width: 100%; height: 54px; padding: 0 18px;
    background: #f8fafc; border: 1.5px solid var(--border); border-radius: 12px;
    font-weight: 600; color: var(--ink); font-size: 0.95rem;
    font-family: 'Nunito Sans', sans-serif;
    transition: all 0.3s ease;
    display: block;
}
.fl-input:focus {
    border-color: var(--red); background: #fff; outline: none;
    box-shadow: 0 0 0 4px rgba(232, 35, 42, 0.08);
}
.fl-textarea {
    height: auto; min-height: 120px; padding: 18px;
}
.fl-label {
    display: block; margin-bottom: 8px;
    font-size: 0.85rem; font-weight: 800; color: var(--ink2);
    text-transform: uppercase; letter-spacing: 0.02em;
}

/* ── HERO ── */
.hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d1b4e 50%, #1a1a2e 100%);
    padding: 64px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: #fff;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(232,35,42,0.25) 0%, transparent 70%);
    pointer-events: none;
}
.hero-tag {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.85);
    padding: 5px 14px; border-radius: 20px; font-size: 12px;
    font-weight: 600; border: 1px solid rgba(255,255,255,0.15);
    margin-bottom: 20px; letter-spacing: 0.04em;
}
.hero h1 {
    font-family: 'Nunito', sans-serif;
    font-size: clamp(28px, 5vw, 52px);
    font-weight: 900; color: #fff;
    line-height: 1.15; margin-bottom: 14px;
    letter-spacing: -1px;
}
.hero h1 em { color: var(--red); font-style: normal; }
.hero p {
    color: rgba(255,255,255,0.65);
    font-size: 16px; margin-bottom: 36px;
    max-width: 480px; margin-left: auto; margin-right: auto;
}

/* ── HERO SEARCH BOX ── */
.hero-search {
    background: #fff;
    border-radius: 14px;
    padding: 8px;
    max-width: 740px;
    margin: 0 auto 20px;
    display: flex; gap: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.hs-field {
    flex: 1; display: flex; align-items: center; gap: 8px;
    padding: 10px 14px;
    border: 1.5px solid var(--border); border-radius: 9px;
    background: var(--surface);
}
.hs-field svg { color: var(--red); flex-shrink: 0; }
.hs-field input {
    border: none; background: transparent; outline: none;
    font-size: 14px; font-family: 'Nunito Sans', sans-serif;
    width: 100%; color: var(--ink);
}
.hs-field input::placeholder { color: var(--muted); }
.hs-divider { width: 1.5px; background: var(--border); align-self: stretch; margin: 0 4px; }
.hs-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 14px;
    padding-right: 28px !important;
}
.hero-search-btn {
    background: var(--red); color: #fff;
    border: none; border-radius: 9px;
    padding: 12px 28px;
    font-size: 15px; font-weight: 800;
    cursor: pointer; font-family: 'Nunito', sans-serif;
    display: flex; align-items: center; gap: 8px;
    transition: all 0.15s; white-space: nowrap;
}
.hero-search-btn:hover { background: var(--red-dark); transform: translateY(-1px); }

.hero-quick {
    display: flex; flex-wrap: wrap; gap: 8px;
    justify-content: center;
    max-width: 600px; margin: 0 auto;
}
.hq-tag {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 5px 14px; border-radius: 20px;
    font-size: 12px; font-weight: 600;
    cursor: pointer; transition: all 0.15s;
}
.hq-tag:hover { background: var(--red); border-color: var(--red); color: #fff; }

.hero-stats {
    display: flex; justify-content: center; gap: 40px;
    margin-top: 44px; flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num {
    font-family: 'Nunito', sans-serif;
    font-size: 28px; font-weight: 900; color: #fff;
}
.stat-label { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 2px; }

/* ── NAV TABS ── */
.nav-tabs {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky; top: 60px; z-index: 90;
}
.nav-tabs-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
    display: flex; gap: 0; overflow-x: auto;
    scrollbar-width: none;
}
.nav-tabs-inner::-webkit-scrollbar { display: none; }
.nav-tab {
    padding: 14px 20px; font-size: 13px; font-weight: 700;
    color: var(--muted); cursor: pointer; white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: all 0.15s; flex-shrink: 0;
    font-family: 'Nunito', sans-serif;
}
.nav-tab:hover { color: var(--ink); }
.nav-tab.active { color: var(--red); border-bottom-color: var(--red); }

/* ── SECTION WRAPPER ── */
.section { max-width: 1200px; margin: 0 auto; padding: 36px 20px; }
.sec-header {
    display: flex; align-items: flex-end; justify-content: space-between;
    margin-bottom: 20px;
}
.sec-title {
    font-family: 'Nunito', sans-serif;
    font-size: 21px; font-weight: 900; color: var(--ink);
}
.sec-sub { font-size: 13px; color: var(--muted); margin-top: 3px; }
.see-all {
    font-size: 13px; font-weight: 700; color: var(--red);
    display: flex; align-items: center; gap: 4px;
}
.see-all:hover { text-decoration: underline; }

/* ── CATEGORY GRID ── */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
}
.cat-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 12px; padding: 18px 10px;
    text-align: center; cursor: pointer;
    transition: all 0.18s;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.cat-card:hover {
    border-color: var(--red); transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}
.cat-icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    background: var(--cat-bg, #f8fafc);
    color: var(--cat-color, var(--red));
    font-size: 22px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.65);
    transition: all 0.18s ease;
}
.cat-card:hover .cat-icon {
    background: var(--cat-color, var(--red));
    color: var(--white);
    transform: scale(1.06);
}
.cat-icon i {
    line-height: 1;
}
.cat-name { 
    font-size: 13px; font-weight: 800; color: var(--ink); line-height: 1.2;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ── LISTING CARD ── */
.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}
/* ── VERTICAL LISTING CARD (Homepage Grid) ── */
.lc-grid-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 16px;
    overflow: hidden; cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex; flex-direction: column;
    height: 100%;
}
.lc-grid-card:hover { border-color: var(--red); box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.lc-thumb {
    height: 200px; background: var(--surface);
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
}
.lc-thumb img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
}
.lc-grid-card:hover .lc-thumb img { transform: scale(1.1); }
.lc-placeholder { font-size: 48px; }
.lc-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.lc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.lc-name {
    font-family: 'Nunito', sans-serif;
    font-size: 17px; font-weight: 800; color: var(--ink); line-height: 1.25;
}
.lc-rating {
    display: flex; align-items: center; gap: 4px;
    background: var(--green); color: #fff;
    padding: 3px 8px; border-radius: 6px;
    font-size: 12px; font-weight: 800;
    flex-shrink: 0; font-family: 'Nunito', sans-serif;
}
.lc-cat { font-size: 12px; color: var(--red); font-weight: 700; margin-bottom: 8px; text-transform: uppercase; }
.lc-addr {
    font-size: 13px; color: var(--muted); display: flex; align-items: flex-start; gap: 6px;
    margin-bottom: 12px; line-height: 1.4;
}
.lc-addr svg { flex-shrink: 0; margin-top: 3px; color: var(--red); }
.lc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 15px; }
.lc-tag {
    background: var(--surface); color: var(--ink2);
    border: 1px solid var(--border); border-radius: 6px;
    font-size: 11px; font-weight: 700; padding: 3px 10px;
}
.lc-footer {
    display: flex; gap: 10px; margin-top: auto; padding-top: 15px;
    border-top: 1px solid var(--border);
}
.lc-btn {
    flex: 1; padding: 10px; border-radius: 8px;
    font-size: 13px; font-weight: 800; cursor: pointer;
    font-family: 'Nunito', sans-serif;
    display: flex; align-items: center; justify-content: center; gap: 6px;
    transition: all 0.2s;
}
.lc-btn.call { background: var(--red); color: #fff; border: none; }
.lc-btn.call:hover { background: var(--red-dark); }
.lc-btn.dir { background: var(--white); color: var(--ink); border: 1.5px solid var(--border); }
.lc-btn.dir:hover { border-color: var(--ink); background: var(--surface); }

/* ── PROMO BANNER ── */
.promo-banner {
    background: linear-gradient(135deg, #e8232a, #ff6b00);
    border-radius: 14px; padding: 32px 36px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 20px; flex-wrap: wrap;
    margin: 0 20px;
    max-width: 1160px; margin-left: auto; margin-right: auto;
}
.pb-text h2 {
    font-family: 'Nunito', sans-serif;
    font-size: 24px; font-weight: 900; color: #fff; line-height: 1.2; margin-bottom: 6px;
}
.pb-text p { font-size: 14px; color: rgba(255,255,255,0.8); }
.pb-btn {
    background: #fff; color: var(--red);
    border: none; padding: 12px 28px; border-radius: 9px;
    font-size: 14px; font-weight: 800; cursor: pointer;
    font-family: 'Nunito', sans-serif; white-space: nowrap;
    transition: all 0.15s;
}
.pb-btn:hover { transform: scale(1.03); }

/* ── CITIES ── */
.city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
}
.city-card {
    background: var(--white); border: 1.5px solid var(--border);
    border-radius: 9px; padding: 14px 12px;
    display: flex; align-items: center; gap: 10px;
    cursor: pointer; transition: all 0.15s;
}
.city-card:hover { border-color: var(--red); color: var(--red); }
.city-icon { font-size: 20px; }
.city-name { font-size: 13px; font-weight: 700; color: var(--ink); }
.city-count { font-size: 11px; color: var(--muted); }

/* ── HOW IT WORKS ── */
.how-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px;
}
.how-step {
    text-align: center; padding: 24px 16px;
    background: var(--white); border: 1.5px solid var(--border); border-radius: 12px;
}
.how-num {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--red-light); color: var(--red);
    font-family: 'Nunito', sans-serif; font-size: 18px; font-weight: 900;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px;
}
.how-icon { font-size: 28px; margin-bottom: 10px; }
.how-title { font-family: 'Nunito', sans-serif; font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.how-desc { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ── FOOTER ── */
footer.findlocal-footer {
    background: var(--ink); color: rgba(255,255,255,0.65);
    padding: 48px 20px 28px; margin-top: 20px;
}
.footer-inner {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px;
}
.footer-logo { font-family: 'Nunito', sans-serif; font-size: 24px; font-weight: 900; color: var(--red); margin-bottom: 12px; }
.footer-desc { font-size: 13px; line-height: 1.7; max-width: 280px; }
.footer-col h4 {
    font-family: 'Nunito', sans-serif; font-size: 13px; font-weight: 800;
    color: #fff; margin-bottom: 14px; letter-spacing: 0.04em; text-transform: uppercase;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,0.55); transition: color 0.15s; }
.footer-col a:hover { color: var(--red); }
.footer-bottom {
    max-width: 1200px; margin: 32px auto 0;
    padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.08);
    display: flex; justify-content: space-between; align-items: center;
    font-size: 12px; flex-wrap: wrap; gap: 10px;
}

/* ── APP DOWNLOAD ── */
.app-section {
    background: var(--white); border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border); padding: 28px 20px;
}
.app-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.app-text h3 { font-family: 'Nunito', sans-serif; font-size: 20px; font-weight: 900; margin-bottom: 4px; }
.app-text p { font-size: 13px; color: var(--muted); }
.app-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.app-btn {
    display: flex; align-items: center; gap: 10px;
    background: var(--ink); color: #fff;
    padding: 10px 18px; border-radius: 9px; cursor: pointer;
    transition: background 0.15s; min-width: 130px;
}
.app-btn:hover { background: #2d1b4e; }
.app-btn-icon { font-size: 22px; }
.app-btn-text { line-height: 1.2; }
.app-btn-label { font-size: 10px; color: rgba(255,255,255,0.6); }
.app-btn-store { font-size: 14px; font-weight: 700; font-family: 'Nunito', sans-serif; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero h1, .hero p, .hero-search, .hero-quick, .hero-stats {
    animation: fadeUp 0.6s ease both;
}
.hero p { animation-delay: 0.1s; }
.hero-search { animation-delay: 0.2s; }
.hero-quick { animation-delay: 0.3s; }
.hero-stats { animation-delay: 0.4s; }

@media (max-width: 768px) {
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .hero-search { flex-direction: column; }
    .hs-divider { display: none; }
    .hero-search-btn { width: 100%; justify-content: center; }
    .header-inner { flex-wrap: wrap; }
    .header-search { max-width: 100%; flex: 1 1 100%; order: 3; }
}

/* ── INTERNAL PAGE UTILITIES ── */
.internal-hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7)), url('/storage/place/yamunabridge.jpg') center/cover no-repeat;
    padding: 100px 0;
    color: #fff;
    text-align: center;
}
.internal-hero h1 {
    font-family: 'Nunito', sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 15px;
    color: #ffffff !important;
    line-height: 1.2;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}
.internal-hero p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
}
.internal-hero .breadcrumb-item a { color: rgba(255,255,255,0.7) !important; }
.internal-hero .breadcrumb-item.active { color: #fff !important; opacity: 1; }

/* Stats Bar Utility */
.stats-bar {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: -40px;
    position: relative;
    z-index: 10;
    border: 1.5px solid var(--border);
}
.stat-item { text-align: center; padding: 10px; }
.stat-value { font-size: 2rem; font-weight: 900; color: var(--red); line-height: 1; }
.stat-label { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; margin-top: 5px; }

/* Category Cards Utility */
.category-card-alt {
    background: var(--white);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    border: 1.5px solid var(--border);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    height: 100%;
    text-decoration: none !important;
    color: inherit;
}
.category-card-alt:hover {
    border-color: var(--red);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.category-icon-alt {
    width: 64px;
    height: 64px;
    background: var(--cat-bg, var(--red-light));
    color: var(--cat-color, var(--red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.category-card-alt:hover .category-icon-alt {
    background: var(--cat-color, var(--red));
    color: var(--white);
}
.category-icon-alt i {
    line-height: 1;
}

/* Common Section Titles */
.section-title-alt {
    font-family: 'Nunito', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--ink);
    margin: 0;
}
.category-card-alt .section-title-alt {
    font-size: 1.15rem;
    margin: 0;
    line-height: 1.2;
}

/* Responsive Overrides for Bootstrap Compatibility */
.btn-primary {
    background-color: var(--red) !important;
    border-color: var(--red) !important;
}
.btn-primary:hover {
    background-color: var(--red-dark) !important;
    border-color: var(--red-dark) !important;
}
.text-primary { color: var(--red) !important; }
.badge-primary { background-color: var(--red) !important; }

/* ── LISTING CARD UTILITIES (Override old blue) ── */
.listing-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
}
.listing-card:hover {
    border-color: var(--red);
    box-shadow: var(--shadow-lg);
}
.listing-card__cat {
    color: var(--red) !important;
}
.listing-card__title {
    color: var(--ink) !important;
}
.listing-card__btn--call {
    background: var(--red) !important;
}
.listing-card__btn--call:hover {
    background: var(--red-dark) !important;
}
.listing-card--featured {
    border-color: var(--orange) !important;
    background: linear-gradient(135deg, #fff, #fff7ed) !important;
}
.listing-card__badge span {
    background: var(--orange) !important;
}

/* Pagination Overrides */
.pagination .page-item.active .page-link {
    background-color: var(--red) !important;
    border-color: var(--red) !important;
}
.pagination .page-link {
    color: var(--red) !important;
}

/* ── HORIZONTAL LISTING CARD (Category Pages) ── */
.listing-card {
    display: flex; background: #fff; border-radius: 20px;
    border: 1.5px solid var(--border); overflow: hidden;
    margin-bottom: 24px; transition: all 0.3s ease;
    text-decoration: none; color: inherit;
    height: auto;
}
.listing-card:hover { border-color: var(--red); box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.listing-card__img-wrap {
    width: 280px; min-height: 220px;
    background: var(--surface); flex-shrink: 0;
    position: relative; overflow: hidden;
}
.listing-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.listing-card:hover .listing-card__img { transform: scale(1.08); }
.listing-card__img--placeholder { display: flex; align-items: center; justify-content: center; color: var(--muted); width: 100%; height: 100%; }

.listing-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; min-width: 0; }
.listing-card__badge {
    position: absolute; top: 15px; left: 15px; z-index: 2;
    background: var(--orange); color: #fff; padding: 4px 12px;
    border-radius: 8px; font-size: 11px; font-weight: 800;
    font-family: 'Nunito', sans-serif; box-shadow: 0 4px 10px rgba(255,107,0,0.3);
}

.listing-card__cat {
    font-size: 12px; font-weight: 800; color: var(--red);
    text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; display: block;
}
.listing-card__title { font-family: 'Nunito', sans-serif; font-size: 22px; font-weight: 900; color: var(--ink); margin-bottom: 12px; line-height: 1.2; }
.listing-card__title-link:hover .listing-card__title { color: var(--red); }

.listing-card__meta { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.listing-card__meta i { width: 16px; color: var(--red); }

.listing-card__desc { 
    font-size: 14px; color: var(--ink2); margin-top: 5px; margin-bottom: 20px; 
    line-height: 1.6; opacity: 0.8;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.listing-card__actions { display: flex; gap: 12px; margin-top: auto; padding-top: 15px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.listing-card__btn {
    padding: 10px 20px; border-radius: 10px; font-size: 13px; font-weight: 800;
    display: flex; align-items: center; gap: 8px; transition: all 0.2s;
    font-family: 'Nunito', sans-serif; white-space: nowrap;
}
.listing-card__btn--call { background: var(--red); color: #fff; border: none; }
.listing-card__btn--call:hover { background: var(--red-dark); transform: scale(1.03); }
.listing-card__btn--whatsapp { background: #25d366; color: #fff; border: none; }
.listing-card__btn--whatsapp:hover { background: #128c7e; transform: scale(1.03); }
.listing-card__btn--detail { border: 1.5px solid var(--border); color: var(--ink); background: #fff; }
.listing-card__btn--detail:hover { border-color: var(--ink); background: var(--surface); }

.listing-card--featured { border-color: var(--orange); background: #fffcf5; }

@media (max-width: 991px) {
    .listing-card__img-wrap { width: 220px; }
}

@media (max-width: 768px) {
    .listing-card { flex-direction: column; }
    .listing-card__img-wrap { width: 100%; height: 200px; min-height: 200px; }
    .listing-card__actions { gap: 8px; }
    .listing-card__btn { flex: 1; justify-content: center; padding: 10px 10px; font-size: 12px; }
}
/* ── DASHBOARD ACTIONS ── */
.btn-dashboard-action {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px; border-radius: 10px;
    font-size: 13px; font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s;
    font-family: 'Nunito', sans-serif;
    border: 1.5px solid transparent;
}
.btn-dashboard-action i { font-size: 14px; }

.btn-dashboard-action--upgrade {
    background: #fffbeb; color: #92400e; border-color: #fde68a;
}
.btn-dashboard-action--upgrade:hover {
    background: #fef3c7; border-color: #f59e0b; transform: translateY(-2px);
}

.btn-dashboard-action--verify {
    background: var(--red); color: #fff;
}
.btn-dashboard-action--verify:hover {
    background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(232, 35, 42, 0.2);
}

.btn-dashboard-action--edit {
    background: #fff; color: var(--red); border-color: var(--red);
}
.btn-dashboard-action--edit:hover {
    background: var(--red); color: #fff; transform: translateY(-2px);
}

.btn-dashboard-action--view {
    background: #f1f5f9; color: #475569;
}
.btn-dashboard-action--view:hover {
    background: #e2e8f0; color: #1e293b; transform: translateY(-2px);
}

@media (max-width: 768px) {
    .btn-dashboard-action span { display: none; }
    .btn-dashboard-action { padding: 8px 12px; }
}

/* Global Hover Override for FindLocal */
a:hover { color: var(--red); }

/* Ensure listing titles don't go white on hover */
.listing-card:hover .listing-card__title,
.lc-grid-card:hover .lc-name,
.listing-card__title-link:hover .listing-card__title {
    color: var(--red) !important;
}
