/* ===========================
   BizDial - Premium Design System
   Be Vietnam Pro | No Shadows | No Hover Effects
   =========================== */

:root {
    /* Premium Color Palette */
    --primary-color: #0a1628;
    --primary-dark: #060e1a;
    --primary-light: #162a4a;
    --secondary-color: #64748b;
    --accent-color: #c9a84c;
    --accent-dark: #b08d30;
    --accent-light: #dfc477;

    /* Neutrals */
    --dark-bg: #0a1628;
    --dark-surface: #12213a;
    --light-bg: #f9fafb;
    --light-surface: #ffffff;
    --border-color: #e5e7eb;

    /* Status Colors */
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #3b82f6;

    /* Typography */
    --font-primary: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Be Vietnam Pro', sans-serif;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

/* ===========================
   Global Styles
   =========================== */

body {
    font-family: var(--font-primary);
    color: #1e293b;
    background-color: var(--light-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Remove Blue Focus Highlights Globally for Premium Components */
button:focus,
a:focus,
input:focus,
.btn:focus,
.nav-link:focus,
.navbar-premium *:focus,
.client-sidebar *:focus,
.mobile-sidebar-toggle:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Specifically remove blue on click for buttons */
.btn:active,
.btn-primary:active,
.btn-outline-primary:active {
    box-shadow: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-bg);
}

/* ===========================
   Navbar — Premium White / Dark
   =========================== */

.navbar-premium {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 0;
    transition: box-shadow 0.3s ease;
}

.navbar-premium.scrolled {
    box-shadow: 0 2px 16px rgba(10, 22, 40, 0.07);
}

/* Compensate for fixed navbar */
body {
    padding-top: 62px;
}

.navbar-premium-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 62px;
}

/* Brand */
.navbar-premium-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.625rem;
    flex-shrink: 0;
}

.brand-icon {
    width: 36px;
    height: 36px;
    background: var(--primary-color);
    color: #ffffff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.brand-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

/* Desktop Nav */
.navbar-desktop-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link-premium {
    display: inline-flex;
    align-items: center;
    color: #334155;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.5rem 0.875rem;
    text-decoration: none;
    border-radius: var(--radius-md);
    letter-spacing: 0.01em;
    line-height: 1;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
    white-space: nowrap;
}

/* Free Listing Animation */
.free-listing-animated {
    position: relative;
}

.free-listing-animated .free-listing-text {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 50%, var(--primary-color) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: freeListingShimmer 3s ease-in-out infinite;
    font-weight: 700;
}

.free-listing-animated i {
    color: var(--accent-color);
    animation: freeListingPulse 2s ease-in-out infinite;
}

@keyframes freeListingShimmer {
    0% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }

    100% {
        background-position: 0% center;
    }
}

@keyframes freeListingPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.15);
    }
}

/* CTA Button */
.btn-cta-premium {
    display: inline-flex;
    align-items: center;
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.82rem;
    padding: 0.55rem 1.15rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    font-family: var(--font-primary);
    margin-left: 0.5rem;
    white-space: nowrap;
}

/* Desktop Dropdown */
.navbar-premium-dropdown {
    position: relative;
}

.dropdown-toggle-premium {
    display: inline-flex;
    align-items: center;
    color: #334155;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.5rem 0.875rem;
    text-decoration: none;
    border-radius: var(--radius-md);
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
    white-space: nowrap;
}

.navbar-premium-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-lg);
    padding: 0.4rem;
    min-width: 220px;
    z-index: 1100;
    box-shadow: 0 8px 30px rgba(10, 22, 40, 0.10);
}

.navbar-premium-dropdown-menu.show {
    display: block;
}

.dropdown-item-premium {
    display: flex;
    align-items: center;
    padding: 0.55rem 0.875rem;
    font-size: 0.84rem;
    font-weight: 500;
    color: #334155;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
}

.dropdown-item-premium:hover {
    background: var(--light-bg);
}

.dropdown-divider-premium {
    height: 1px;
    background: #e5e7eb;
    margin: 0.3rem 0;
}

/* Hamburger Button */
.hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    background: none;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    cursor: pointer;
    padding: 8px;
    flex-shrink: 0;
}

.hamburger-line {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Mobile Nav Container */
.navbar-mobile-nav {
    display: none;
    align-items: center;
    gap: 0.5rem;
}

/* Sidebar Overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 22, 40, 0.45);
    z-index: 1055;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.open {
    display: block;
    opacity: 1;
}

/* Mobile Sidebar */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    background: #ffffff;
    z-index: 1060;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    border-left: 1px solid #e5e7eb;
}

.mobile-sidebar.open {
    right: 0;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid #e5e7eb;
}

.sidebar-close-btn {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    color: #334155;
    font-size: 1rem;
    cursor: pointer;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
    flex: 1;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #334155;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-family: var(--font-primary);
    border: none;
    background: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
}

.sidebar-link i {
    width: 20px;
    text-align: center;
    color: var(--secondary-color);
    font-size: 0.95rem;
}

.sidebar-link--danger {
    color: var(--danger-color);
}

.sidebar-link--danger i {
    color: var(--danger-color);
}

.sidebar-logout-form {
    margin: 0;
}

.sidebar-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    margin-top: auto;
    padding: 0.75rem 1.25rem;
    background: var(--primary-color);
    color: #ffffff;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    font-family: var(--font-primary);
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    margin-bottom: 1.5rem;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
    .navbar-desktop-nav {
        display: none;
    }

    .navbar-mobile-nav {
        display: flex;
    }
}

@media (min-width: 992px) {

    .mobile-sidebar,
    .sidebar-overlay {
        display: none !important;
    }
}

/* ===========================
   Cards & Components
   =========================== */

.card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--light-surface);
}

.card-header {
    background: #f8fafc;
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem 1.5rem;
}

.card-body {
    padding: 1.5rem;
}

/* ===========================
   Badges & Status
   =========================== */

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.premium-border {
    border: 2px solid var(--accent-color);
    position: relative;
}

/* ===========================
   Buttons
   =========================== */

.btn {
    font-weight: 600;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-md);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-color);
    color: #ffffff;
}

.btn-warning {
    background: var(--accent-color);
    color: var(--dark-bg);
}

.btn-success {
    background: var(--success-color);
    color: #ffffff;
}

.btn-outline-dark {
    border: 2px solid var(--dark-bg);
    color: var(--dark-bg);
    background: transparent;
}

/* ===========================
   Forms
   =========================== */

.form-control,
.form-select {
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    font-family: var(--font-primary);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent-color);
    box-shadow: none;
    outline: none;
}

.form-floating>label {
    color: var(--secondary-color);
    font-weight: 500;
}

.input-group-text {
    background: var(--light-bg);
    border: 1.5px solid var(--border-color);
    color: var(--secondary-color);
}

/* ===========================
   Hero Section
   =========================== */

.hero-section {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-light) 60%, #1e3a5f 100%);
    position: relative;
    overflow: visible;
    padding: 3.5rem 0 3rem;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-heading {
    color: #ffffff;
    font-weight: 800;
    font-size: 2.2rem;
    letter-spacing: -0.5px;
    line-height: 1.25;
}

.hero-heading-accent {
    background: linear-gradient(90deg, var(--accent-color), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtext {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* Search form wrapper */
.hero-search-form {
    position: relative;
    z-index: 2;
}

/* Outer bar */
.hero-search-bar {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 16px;
    padding: 6px;
    gap: 0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
}

/* ---- Location pill (left) ---- */
.hero-loc-pill {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    width: 190px;
    background: #f3f4f6;
    border-radius: 12px;
    padding: 0 0.6rem 0 0.9rem;
    margin-right: 2px;
    height: 48px;
}

.hero-loc-icon {
    color: var(--accent-color);
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-right: 0.45rem;
}

.hero-loc-input {
    border: none;
    outline: none;
    background: transparent;
    font-family: var(--font-primary);
    font-size: 0.87rem;
    font-weight: 500;
    color: var(--dark-bg);
    width: 100%;
    min-width: 0;
}

.hero-loc-input::placeholder {
    color: #6b7280;
}

.hero-detect-btn {
    background: none;
    border: none;
    padding: 0 0.25rem;
    color: var(--accent-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
    outline: none;
}

.hero-detect-btn:hover,
.hero-detect-btn:focus {
    color: var(--accent-color) !important;
    background: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Vertical divider */
.hero-bar-divider {
    width: 1.5px;
    height: 28px;
    background: #d1d5db;
    flex-shrink: 0;
    margin: 0 4px;
}

/* ---- Search input (right, grows) ---- */
.hero-q-wrap {
    flex: 1;
    position: relative;
    min-width: 0;
}

.hero-q-inner {
    display: flex;
    align-items: center;
    padding: 0 0.75rem;
    height: 48px;
}

.hero-q-icon {
    color: #9ca3af;
    font-size: 0.85rem;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.hero-q-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-family: var(--font-primary);
    font-size: 0.87rem;
    color: var(--dark-bg);
    min-width: 0;
}

.hero-q-input::placeholder {
    color: #9ca3af;
}

.hero-mic-btn {
    background: none;
    border: none;
    padding: 0 0.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    outline: none;
}

.hero-mic-icon {
    color: var(--accent-color);
    font-size: 1rem;
}

.hero-mic-btn:hover,
.hero-mic-btn:focus {
    background: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Search button */
.hero-submit-btn {
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: var(--font-primary);
    cursor: pointer;
    flex-shrink: 0;
    outline: none;
    margin-left: 4px;
    padding: 0 1.25rem;
}

.hero-submit-label {
    display: inline;
}

.hero-submit-btn:hover,
.hero-submit-btn:focus {
    background: var(--primary-dark) !important;
    color: #ffffff !important;
    outline: none !important;
    box-shadow: none !important;
}

/* ---- Suggestions dropdown (e-commerce style) ---- */
.hero-suggestions {
    position: absolute;
    top: calc(100% + 8px);
    left: -200px;
    right: 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    z-index: 1100;
    box-shadow: 0 12px 40px rgba(10, 22, 40, 0.15);
}

.hero-suggestion-header {
    padding: 0.7rem 1rem 0.45rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 1px solid #f1f5f9;
    font-family: var(--font-primary);
}

.hero-suggestion-header i {
    color: #f59e0b;
}

.hero-suggestion-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--dark-bg);
    font-family: var(--font-primary);
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    transition: background 0.15s ease;
}

.hero-suggestion-item:hover,
.hero-suggestion-item.active {
    background: #f8fafc;
}

.hero-suggestion-icon {
    width: 32px;
    height: 32px;
    background: rgba(10, 22, 40, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 0.78rem;
    flex-shrink: 0;
}

.hero-suggestion-label {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}

.hero-suggestion-type {
    font-size: 0.68rem;
    color: var(--secondary-color);
    text-transform: capitalize;
    background: #f1f5f9;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
}

.hero-suggestion-empty {
    padding: 1rem;
    text-align: center;
    color: var(--secondary-color);
    font-size: 0.85rem;
}

/* Popular tags below search */
.hero-popular-tags {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}

.hero-popular-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
}

.hero-popular-tag {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.3rem 0.75rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 500;
    font-family: var(--font-primary);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 2.5rem 0 2rem;
    }

    .hero-search-bar {
        flex-direction: column;
        border-radius: 14px;
        padding: 0.5rem;
        gap: 0.35rem;
    }

    .hero-loc-pill {
        width: 100%;
        margin-right: 0;
    }

    .hero-bar-divider {
        display: none;
    }

    .hero-q-wrap {
        width: 100%;
    }

    .hero-q-inner {
        border-top: 1px solid #f1f5f9;
    }

    .hero-submit-btn {
        width: 100%;
        height: 44px;
        border-radius: 10px;
        margin-left: 0;
    }

    .hero-heading {
        font-size: 1.55rem;
    }

    .hero-subtext {
        font-size: 0.85rem;
    }

    .hero-suggestions {
        left: 0;
    }

    .hero-submit-label {
        display: inline;
    }

    .hero-popular-tags {
        margin-top: 1rem;
    }

    .hero-popular-tag {
        font-size: 0.7rem;
        padding: 0.25rem 0.6rem;
    }
}

/* ===========================
   JustDial Hero (Listing Details)
   =========================== */

/* Gallery Grid */
.jd-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 8px;
    height: 340px;
    border-radius: 12px;
    overflow: hidden;
}

.jd-gallery-main {
    height: 100%;
    width: 100%;
    background: #f1f5f9;
    position: relative;
}

.jd-gallery-side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    height: 100%;
}

.jd-gallery-item {
    background: #f1f5f9;
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.jd-gallery img,
.jd-gallery-item img,
.jd-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.jd-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Hero Info Overlay Adjustment */
.jd-hero-info {
    margin-top: -30px;
    position: relative;
    z-index: 10;
}

/* Rating Box Star Hover */
.hover-star {
    transition: all 0.2s ease;
}

.hover-star:hover,
.hover-star.active {
    background: #ffc107 !important;
    color: #fff !important;
    border-color: #ffc107 !important;
}

/* Mobile responsive fixes */
@media (max-width: 768px) {
    .jd-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: 250px 100px;
        height: auto;
    }

    .jd-gallery-side {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr;
        height: 100px;
    }

    .jd-hero-info {
        margin-top: 0;
        border-radius: 0;
        border: none;
        border-bottom: 1px solid #e8eaed;
        box-shadow: none !important;
        padding: 1.25rem !important;
    }

    .jd-action-bar {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .jd-action-bar .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .jd-rate-box {
        align-items: flex-start !important;
        width: 100%;
        margin-top: 1rem;
    }
}


/* ===========================
   Home Sections
   =========================== */

.home-section {
    padding: 4rem 0;
}

.home-section.bg-white {
    background: #ffffff;
}

.home-section.bg-light {
    background: #f8fafc;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.section-title {
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--dark-bg);
    margin-bottom: 0.25rem;
}

.section-subtitle {
    color: var(--secondary-color);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s;
}

.view-all-link:hover {
    color: var(--primary-color);
}

/* Placeholder Card (For Ads, Jobs, Events, Offers) */
.placeholder-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    min-height: 200px;
}

.placeholder-img {
    height: 120px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 2rem;
}

.placeholder-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.placeholder-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-bg);
    margin: 0;
}

.placeholder-text {
    font-size: 0.85rem;
    color: var(--secondary-color);
    margin: 0;
}

/* ===========================
   Category Tiles
   =========================== */

/* grid: auto-fill, min 90px, max 120px */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 1.25rem 0.75rem;
}

.cat-tile-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cat-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
}

/* Rounded square icon box */
.cat-tile-icon {
    width: 72px;
    height: 72px;
    background: #f7f8fa;
    border: 1.5px solid #e8eaed;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.cat-tile-icon img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.cat-tile-icon i {
    font-size: 1.6rem;
    color: var(--accent-color);
}

.cat-tile-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--dark-bg);
    text-align: center;
    line-height: 1.3;
    font-family: var(--font-primary);
}

/* Mobile: 4 per row */
@media (max-width: 767px) {
    .cat-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem 0.5rem;
    }

    .cat-tile-icon {
        width: 60px;
        height: 60px;
        border-radius: 14px;
    }

    .cat-tile-icon img {
        width: 42px;
        height: 42px;
    }

    .cat-tile-icon i {
        font-size: 1.3rem;
    }

    .cat-tile-label {
        font-size: 0.72rem;
    }
}

/* ===========================
   Listing Card — Premium
   =========================== */

/* Grid */
.lc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.lc-grid.p-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1200px) {
    .lc-grid.p-grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .lc-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lc-grid.p-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .lc-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Card container */
.lc-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e8eaed;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
}

.lc-card--premium {
    border-color: var(--accent-color);
    border-top: 3px solid var(--accent-color);
}

/* Card link wrapper */
.lc-card-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    flex: 1;
}

/* Image */
.lc-img-wrap {
    width: 100%;
    height: 180px;
    position: relative;
    overflow: hidden;
    background: #f1f5f9;
    flex-shrink: 0;
}

.lc-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lc-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    font-size: 2.5rem;
    background: #f8fafc;
}

.lc-badge {
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    background: var(--primary-color);
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.65rem;
    text-align: center;
    padding: 0.25rem 0.6rem;
    letter-spacing: 0.06em;
    font-family: var(--font-primary);
    border-radius: 6px;
}

/* Body */
.lc-body {
    flex: 1;
    padding: 0.9rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 0;
}

/* Header: title + meta */
.lc-header {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.lc-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    color: var(--dark-bg);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

/* Meta row: verified + views */
.lc-meta-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.lc-verified {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: #16a34a;
    font-size: 0.72rem;
    font-weight: 600;
    background: #f0fdf4;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}

.lc-verified i {
    font-size: 0.68rem;
}

.lc-views {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--secondary-color);
    font-size: 0.72rem;
    font-weight: 500;
}

.lc-views i {
    font-size: 0.7rem;
}

/* Address */
.lc-address {
    font-size: 0.78rem;
    color: var(--secondary-color);
    margin: 0;
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lc-address i {
    color: var(--accent-color);
    font-size: 0.7rem;
    flex-shrink: 0;
}

/* Category tags */
.lc-tags {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.lc-tag {
    display: inline-block;
    padding: 0.15rem 0.55rem;
    background: #f1f5f9;
    border: 1px solid #e5e7eb;
    border-radius: 100px;
    font-size: 0.68rem;
    color: #475569;
    font-family: var(--font-primary);
    font-weight: 500;
}

/* Action buttons bar */
.lc-actions {
    display: flex;
    align-items: center;
    gap: 0;
    border-top: 1px solid #f1f5f9;
}

.lc-action-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    padding: 0.6rem 0.25rem;
    font-size: 0.68rem;
    font-weight: 600;
    text-decoration: none;
    font-family: var(--font-primary);
    cursor: pointer;
    white-space: nowrap;
    border: none;
    background: none;
    border-right: 1px solid #f1f5f9;
    color: #475569;
    line-height: 1;
}

.lc-action-btn:last-child {
    border-right: none;
}

.lc-action-btn i {
    font-size: 0.85rem;
}

.lc-action-btn span {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Chat (WhatsApp) */
.lc-action-btn--chat {
    color: #16a34a;
}

.lc-action-btn--chat i {
    color: #25d366;
}

/* Location */
.lc-action-btn--location {
    color: #2563eb;
}

.lc-action-btn--location i {
    color: #3b82f6;
}

/* Enquire */
.lc-action-btn--enquire {
    color: var(--dark-bg);
}

.lc-action-btn--enquire i {
    color: var(--accent-color);
}

/* View */
.lc-action-btn--view {
    color: var(--dark-bg);
    background: var(--light-bg);
}

.lc-action-btn--view i {
    color: var(--primary-color);
}

/* Mobile */
@media (max-width: 640px) {
    .lc-img-wrap {
        height: 160px;
    }

    .lc-action-btn span {
        font-size: 0.58rem;
    }
}

/* ===========================
   SEO Footer Category Links
   =========================== */

.seo-footer-links {
    background: #ffffff;
    border-top: 1px solid #e8eaed;
    padding: 3rem 0 1.5rem;
}

.seo-cat-group {
    padding: 1rem 0;
}

.seo-cat-heading {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 0.75rem;
    font-family: var(--font-primary);
}

.seo-cat-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem 0;
}

.seo-cat-link {
    font-size: 0.82rem;
    color: #0a1628;
    text-decoration: none;
    font-family: var(--font-primary);
    padding-right: 0.8rem;
    line-height: 2;
    display: inline-block;
}

.seo-cat-link:hover {
    text-decoration: underline;
}

.seo-cat-divider {
    border: none;
    border-top: 1px solid #e8eaed;
    margin: 1.5rem 0;
}

@media (max-width: 768px) {
    .seo-cat-link {
        padding-right: 0.6rem;
        font-size: 0.75rem;
    }

    .seo-footer-links {
        padding: 2rem 1.25rem 1rem;
    }
}

/* ===========================
   Footer
   =========================== */

footer {
    background: var(--dark-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 3rem;
    padding-bottom: 1.5rem;
    margin-top: auto;
}

.footer-link-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}


.footer-brand {
    font-weight: 800;
    color: var(--accent-color);
    font-size: 1.25rem;
}

.footer-heading {
    font-weight: 700;
    color: #ffffff;
    font-size: 1rem;
}

.footer-text {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.9rem;
}

.footer-social {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.08);
    margin: 1.5rem 0;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

/* ===========================
   Utilities
   =========================== */

.text-gradient {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-accent {
    color: var(--accent-color);
}

/* ===========================
   Responsive Adjustments
   =========================== */

@media (max-width: 768px) {
    .card-body {
        padding: 1rem;
    }

    .brand-text {
        font-size: 1.2rem;
    }

    h1 {
        font-size: 1.75rem;
    }

    body {
        padding-top: 56px;
    }

    .navbar-premium-inner {
        height: 56px;
    }

    .brand-icon {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
}

/* ===========================
   Table Enhancements
   =========================== */

.table {
    border-collapse: separate;
    border-spacing: 0;
}

.table thead th {
    background: var(--light-bg);
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    border: none;
    padding: 1rem;
}

.table tbody td {
    padding: 1rem;
    vertical-align: middle;
    border-bottom: 1px solid var(--border-color);
}

/* ===========================
   Global Hover Effect Killer
   =========================== */

a:hover,
a:focus,
.nav-link-premium:hover,
.nav-link-premium:focus,
.btn:hover,
.btn:focus,
.btn-cta-premium:hover,
.btn-cta-premium:focus,
.btn-primary:hover,
.btn-primary:focus,
.btn-warning:hover,
.btn-warning:focus,
.btn-success:hover,
.btn-success:focus,
.btn-outline-dark:hover,
.btn-outline-dark:focus,
.card:hover,
.listing-card:hover,
.category-card:hover,
.dropdown-item-premium:hover,
.dropdown-item-premium:focus,
.footer-link:hover,
.footer-social:hover,
.sidebar-link:hover,
.sidebar-cta:hover,
.table tbody tr:hover {
    transform: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
    text-decoration: none !important;
}

.nav-link-premium:hover,
.nav-link-premium:focus {
    color: var(--primary-color) !important;
}

.btn-cta-premium:hover,
.btn-cta-premium:focus {
    background: var(--primary-color) !important;
    color: #ffffff !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--primary-color) !important;
    color: #ffffff !important;
}

.btn-warning:hover,
.btn-warning:focus {
    background: var(--accent-color) !important;
    color: var(--dark-bg) !important;
}

.btn-success:hover,
.btn-success:focus {
    background: var(--success-color) !important;
    color: #ffffff !important;
}

.hero-search-btn:hover,
.hero-search-btn:focus {
    background: var(--accent-color) !important;
    color: var(--dark-bg) !important;
}

.dropdown-item-premium:hover,
.dropdown-item-premium:focus,
.dropdown-item-premium:active {
    background: var(--light-bg) !important;
    color: #334155 !important;
}

.footer-link:hover,
.footer-social:hover {
    color: rgba(255, 255, 255, 0.45) !important;
}

.sidebar-link:hover {
    background: var(--light-bg) !important;
}

.sidebar-cta:hover {
    background: var(--primary-dark) !important;
    color: #ffffff !important;
}

.btn:active,
.btn-cta-premium:active {
    transform: none !important;
    box-shadow: none !important;
}