/* Vyapari Service Custom CSS */
:root {
    --vyapari-dark: #0b0f19;
    --vyapari-navy: #111827;
    --vyapari-sidebar: #0f172a;
    --vyapari-primary: #2563eb;
    --vyapari-secondary: #0ea5e9;
    --vyapari-accent: #f59e0b;
    --vyapari-success: #10b981;
    --font-outfit: 'Outfit', sans-serif;
    --font-inter: 'Inter', sans-serif;
}

body {
    font-family: var(--font-inter);
    color: #334155;
    background-color: #f1f5f9;
}

.font-outfit {
    font-family: var(--font-outfit);
}

.bg-vyapari-dark {
    background-color: var(--vyapari-dark) !important;
}

.bg-vyapari-navy {
    background-color: var(--vyapari-navy) !important;
}

.text-primary-glow {
    color: #38bdf8;
    text-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #2563eb 0%, #0284c7 100%);
}

.bg-hero-gradient {
    background: linear-gradient(135deg, #0b0f19 0%, #1e1b4b 50%, #0b0f19 100%);
    position: relative;
}

.bg-hero-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

/* Glassmorphism Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.glass-card-light {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

/* Hero Search Bar */
.hero-search-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 20;
}

.search-input-group {
    border-right: 1px solid #e2e8f0;
}

@media (max-width: 767.98px) {
    .search-input-group {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
    }
}

.search-input {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    font-size: 1.05rem;
}

/* Justdial / IndiaMART Style Quick Category Squircle Grid */
.jd-category-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    gap: 18px 14px;
}

@media (max-width: 767.98px) {
    .jd-category-grid {
        gap: 14px 8px;
    }
}

.jd-cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 96px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.jd-cat-item:hover {
    transform: translateY(-3px);
}

.jd-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.jd-cat-item:hover .jd-icon-box {
    border-color: #cbd5e1;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    transform: scale(1.05);
}

.jd-icon-special {
    background: #0076d7 !important;
    border-color: #0076d7 !important;
    box-shadow: 0 4px 14px rgba(0, 118, 215, 0.35) !important;
}

.jd-cat-item:hover .jd-icon-special {
    background: #0060b0 !important;
    box-shadow: 0 6px 18px rgba(0, 118, 215, 0.45) !important;
}

.jd-cat-label {
    font-size: 0.76rem;
    font-weight: 500;
    color: #1e293b;
    line-height: 1.15;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.3em;
    word-break: break-word;
    transition: color 0.15s ease;
}

.jd-cat-item:hover .jd-cat-label {
    color: #ff6a00;
    font-weight: 600;
}

/* Subcategory Quick Chip Tags */
.subcat-chip-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.subcat-chip-tag:hover {
    background: #fff7ed;
    border-color: #ff6a00;
    color: #ff6a00;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 106, 0, 0.12);
}

.subcat-chip-tag .chip-count {
    background: #e2e8f0;
    color: #475569;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 10px;
}

.subcat-chip-tag:hover .chip-count {
    background: #ffedd5;
    color: #c2410c;
}

.subcat-chip-more {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #2563eb;
    font-weight: 600;
}

.subcat-chip-more:hover {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

.shadow-2xs {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
}

/* Line Clamping Utilities */
.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Modern Featured Business Grid Card (Equal Heights & Premium UI/UX) */
.business-grid-card {
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.business-grid-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 32px -8px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(37, 99, 235, 0.15);
    border-color: #cbd5e1;
}

.business-grid-card .biz-media-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #f1f5f9;
}

.business-grid-card .biz-media-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.business-grid-card:hover .biz-media-container img {
    transform: scale(1.06);
}

.business-grid-card .biz-media-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, transparent 40%, rgba(15, 23, 42, 0.65) 100%);
    pointer-events: none;
}

.business-grid-card .biz-badge-featured {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
    text-transform: uppercase;
}

.business-grid-card .biz-fav-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
    transition: transform 0.2s ease, background-color 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 2;
    cursor: pointer;
}

.business-grid-card .biz-fav-btn:hover {
    background: #ffffff;
    transform: scale(1.12);
    color: #dc2626;
}

.business-grid-card .biz-category-tag {
    position: absolute;
    bottom: 10px;
    left: 12px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.73rem;
    font-weight: 600;
    padding: 3.5px 10px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    max-width: 85%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.business-grid-card .biz-body {
    padding: 1.15rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.business-grid-card .biz-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 26px;
    margin-bottom: 0.5rem;
}

.business-grid-card .biz-rating-chip {
    background: #16a34a;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 2.5px 7px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 6px rgba(22, 163, 74, 0.2);
}

.business-grid-card .biz-review-count {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 500;
    margin-left: 5px;
}

.business-grid-card .biz-badge-trust {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.business-grid-card .biz-title-wrap {
    height: 48px;
    margin-bottom: 0.4rem;
}

.business-grid-card .biz-title {
    font-family: var(--font-outfit);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.business-grid-card .biz-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.business-grid-card .biz-title a:hover {
    color: #2563eb;
}

.business-grid-card .biz-location-wrap {
    height: 22px;
    line-height: 22px;
    font-size: 0.8125rem;
    color: #64748b;
    margin-bottom: 0.6rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
}

.business-grid-card .biz-description {
    font-size: 0.835rem;
    color: #64748b;
    line-height: 1.5;
    height: 38px; /* Strictly 2 lines: ensures identical vertical sizing */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 1rem;
}

.business-grid-card .biz-actions-footer {
    margin-top: auto;
    padding-top: 0.9rem;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 8px;
}

.business-grid-card .biz-btn-call {
    height: 38px;
    padding: 0 12px;
    border-radius: 10px;
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #dbeafe;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 0.825rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.business-grid-card .biz-btn-call:hover {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

.business-grid-card .biz-btn-whatsapp {
    height: 38px;
    padding: 0 12px;
    border-radius: 10px;
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 0.825rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.business-grid-card .biz-btn-whatsapp:hover {
    background: #16a34a;
    color: #ffffff;
    border-color: #16a34a;
}

.business-grid-card .biz-btn-enquiry {
    flex: 1;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
    color: #ffffff;
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: 0.85rem;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
    white-space: nowrap;
    cursor: pointer;
}

.business-grid-card .biz-btn-enquiry:hover {
    background: linear-gradient(135deg, #d97706 0%, #c2410c 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.35);
    color: #ffffff;
}

.btn-enquiry-gradient {
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.28) !important;
    transition: all 0.25s ease !important;
}

.btn-enquiry-gradient:hover {
    background: linear-gradient(135deg, #d97706 0%, #c2410c 100%) !important;
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.38) !important;
    transform: translateY(-1px);
    color: #ffffff !important;
}

/* Listing Card */
.listing-card {
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.listing-card:hover {
    box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.12);
    border-color: #cbd5e1;
}

.listing-img {
    height: 180px;
    object-fit: cover;
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
}

@media (max-width: 767.98px) {
    .listing-img {
        height: 200px;
        border-bottom-left-radius: 0;
        border-top-right-radius: 16px;
    }
}

/* Featured / Sponsored Label */
.badge-featured {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.72rem;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Rating Badge */
.badge-rating {
    background: #16a34a;
    color: #ffffff;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
}

/* Live Autocomplete Suggestions Box */
#autocomplete-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    min-width: 380px;
    z-index: 99999;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(11, 34, 56, 0.25), 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #cbd5e1;
    max-height: 380px;
    overflow-y: auto;
    display: none;
}

.autocomplete-item {
    padding: 10px 14px;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    border-bottom: 1px solid #f8fafc;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover {
    background-color: #f1f5f9;
}

/* Custom Scrollbar for Autocomplete */
#autocomplete-results::-webkit-scrollbar {
    width: 6px;
}

#autocomplete-results::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

#autocomplete-results::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* =========================================================
   ADMIN DASHBOARD PREMIUM UI/UX ENHANCEMENTS
   ========================================================= */

#sidebar-wrapper {
    background: linear-gradient(180deg, #0b0f19 0%, #111827 100%) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.admin-nav-item {
    color: #94a3b8 !important;
    border-left: 3px solid transparent !important;
    transition: all 0.25s ease-in-out !important;
    font-size: 0.92rem;
    border-radius: 0 10px 10px 0 !important;
    margin-right: 12px;
}

.admin-nav-item:hover,
.admin-nav-item.active {
    color: #ffffff !important;
    background: rgba(37, 99, 235, 0.12) !important;
    border-left-color: #3b82f6 !important;
}

.admin-nav-item i {
    font-size: 1.15rem;
    transition: transform 0.2s ease;
}

.admin-nav-item:hover i {
    transform: translateX(3px);
}

/* Admin Metric Stat Card */
.stat-card-premium {
    background: #ffffff;
    border-radius: 18px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-card-premium:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.stat-icon-wrapper {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #ffffff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.icon-gradient-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.icon-gradient-amber {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.icon-gradient-emerald {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
}

.icon-gradient-purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}

/* Admin Table Design */
.admin-table-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

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

.admin-table thead th {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #64748b;
    font-weight: 700;
    border: none;
    padding: 14px 18px;
    background: #f8fafc;
}

.admin-table tbody tr {
    background: #ffffff;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.admin-table tbody tr:hover {
    background: #f8fafc;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
}

.admin-table tbody td {
    padding: 14px 18px;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.admin-table tbody td:first-child {
    border-left: 1px solid #f1f5f9;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.admin-table tbody td:last-child {
    border-right: 1px solid #f1f5f9;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

.status-select-pill {
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
    padding: 4px 12px;
    border: 1px solid #cbd5e1;
}

/* Custom Modal Glow */
.modal-content-premium {
    border-radius: 24px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* =========================================================
   VYAPARI B2B MARKETPLACE HEADER STYLES (PRD COMPLIANT)
   Palette: Navy Blue (#0B2238), Crisp White (#FFFFFF), High-Conversion Orange (#FF6A00)
   ========================================================= */

.vyapari-header-wrapper {
    width: 100%;
    z-index: 1030;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(11, 34, 56, 0.08);
}

/* 1. Top Utility Bar */
.vyapari-topbar {
    background-color: #071726;
    color: #94a3b8;
    font-size: 0.8125rem;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.vyapari-topbar a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.vyapari-topbar a:hover {
    color: #ff944d;
}

.topbar-location-btn {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff !important;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.topbar-location-btn:hover {
    background: rgba(255, 106, 0, 0.2);
    border-color: #ff6a00;
    color: #ff944d !important;
}

.topbar-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #94a3b8;
    font-size: 0.78rem;
}

/* 2. Main Header Middle Row */
.vyapari-main-header {
    background: #ffffff;
    padding: 12px 0;
}

.vyapari-brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.vyapari-brand-logo .brand-icon-box {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #0b2238 0%, #1e40af 100%);
    color: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 4px 12px rgba(11, 34, 56, 0.15);
}

.vyapari-brand-logo .brand-text-main {
    font-family: var(--font-outfit);
    font-weight: 800;
    font-size: 1.45rem;
    color: #0b2238;
    line-height: 1.1;
    letter-spacing: -0.3px;
}

.vyapari-brand-logo .brand-text-main span {
    color: #ff6a00;
}

.vyapari-brand-logo .brand-text-sub {
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    display: block;
}

/* Header Global Search Box */
.vyapari-search-wrapper {
    position: relative;
    width: 100%;
}

.vyapari-search-form {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 2px solid #ff6a00;
    border-radius: 30px;
    padding: 2px;
    box-shadow: 0 4px 16px rgba(255, 106, 0, 0.12);
    transition: all 0.25s ease;
}

.vyapari-search-form:focus-within {
    box-shadow: 0 6px 20px rgba(255, 106, 0, 0.25);
}

.search-select-category {
    background: #f8fafc;
    border: none;
    border-right: 1px solid #e2e8f0;
    color: #0f172a;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 9px 14px;
    border-top-left-radius: 26px;
    border-bottom-left-radius: 26px;
    cursor: pointer;
    outline: none;
    max-width: 175px;
}

.search-select-category:focus {
    background: #f1f5f9;
}

.search-select-city {
    background: #f8fafc;
    border: none;
    border-right: 1px solid #e2e8f0;
    color: #0f172a;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 9px 12px;
    cursor: pointer;
    outline: none;
    max-width: 140px;
}

.search-main-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px 16px;
    font-size: 0.92rem;
    color: #0f172a;
    outline: none;
    min-width: 150px;
}

.search-main-input::placeholder {
    color: #94a3b8;
    font-size: 0.88rem;
}

.btn-search-orange {
    background: linear-gradient(135deg, #ff6a00 0%, #ea580c 100%);
    color: #ffffff;
    border: none;
    padding: 9px 24px;
    border-radius: 24px;
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.btn-search-orange:hover {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.4);
    transform: translateY(-1px);
}

/* Autocomplete Suggestion Dropdown */
.search-suggestions-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 16px;
    margin-top: 6px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
    z-index: 1080;
    display: none;
    overflow: hidden;
    max-height: 420px;
    overflow-y: auto;
}

.suggestion-item {
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #1e293b;
    text-decoration: none;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s ease;
}

.suggestion-item:last-child {
    border-bottom: none;
}

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

.suggestion-item .sugg-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.suggestion-item .sugg-text strong {
    display: block;
    font-size: 0.88rem;
    color: #0f172a;
    line-height: 1.2;
}

.suggestion-item .sugg-text span {
    font-size: 0.75rem;
    color: #64748b;
}

/* Header Action Buttons */
.header-action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #0b2238;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.header-action-btn:hover {
    background: #f1f5f9;
    color: #ff6a00;
}

.header-action-btn i {
    font-size: 1.2rem;
    color: #64748b;
    transition: color 0.2s ease;
}

.header-action-btn:hover i {
    color: #ff6a00;
}

/* "List Your Business Free" CTA */
.btn-list-business-free {
    background: linear-gradient(135deg, #ff6a00 0%, #ff8c00 100%);
    color: #ffffff !important;
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: 0.88rem;
    padding: 9px 18px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 14px rgba(255, 106, 0, 0.35);
    transition: all 0.25s ease;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-list-business-free:hover {
    background: linear-gradient(135deg, #ea580c 0%, #ff6a00 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 106, 0, 0.45);
    color: #ffffff !important;
}

/* 3. Primary Navigation Menu Bar (Deep Navy Blue #0B2238) */
.vyapari-nav-bar {
    background-color: #0b2238;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-category-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
}

.nav-category-menu::-webkit-scrollbar {
    display: none;
}

.nav-cat-item {
    position: relative;
    white-space: nowrap;
}

.nav-cat-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #e2e8f0;
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 9px 10px;
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 6px;
    white-space: nowrap;
}

.nav-cat-link:hover,
.nav-cat-item.active .nav-cat-link {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

/* Mega Menu Trigger */
.btn-all-categories {
    background: #ff6a00;
    color: #ffffff !important;
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 9px 14px;
    border-radius: 6px 6px 0 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-all-categories:hover {
    background: #ea580c;
}

/* Mega Menu Dropdown Container */
.mega-menu-wrapper {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-top: 2px solid #ff6a00;
    box-shadow: 0 20px 45px rgba(11, 34, 56, 0.18);
    z-index: 1050;
    padding: 28px 0;
    display: none;
    animation: megaFadeIn 0.2s ease;
}

.mega-menu-trigger-container:hover .mega-menu-wrapper {
    display: block;
}

@keyframes megaFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mega-cat-col {
    border-right: 1px solid #f1f5f9;
    padding: 0 16px;
}

.mega-cat-col:last-child {
    border-right: none;
}

.mega-cat-title {
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: 0.95rem;
    color: #0b2238;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.mega-cat-title:hover {
    color: #ff6a00;
}

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

.mega-sub-list li {
    margin-bottom: 6px;
}

.mega-sub-link {
    color: #475569;
    font-size: 0.8125rem;
    text-decoration: none;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mega-sub-link:hover {
    color: #ff6a00;
    transform: translateX(3px);
}

.mega-view-all {
    color: #2563eb;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
}

.mega-view-all:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* City Modal Style */
.city-grid-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 14px;
    color: #1e293b;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 500;
    font-size: 0.88rem;
    transition: all 0.2s ease;
}

.city-grid-item:hover,
.city-grid-item.active {
    background: #fff7ed;
    border-color: #ff6a00;
    color: #ff6a00;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 106, 0, 0.15);
}

/* Mobile Offcanvas Customization */
.mobile-offcanvas {
    background: #071726;
    color: #ffffff;
    max-width: 320px;
}

.mobile-offcanvas .offcanvas-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav-link {
    color: #cbd5e1;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: rgba(255, 255, 255, 0.08);
    color: #ff944d;
}

/* Media Queries for Header Responsiveness */
@media (max-width: 991.98px) {
    .vyapari-topbar .topbar-trust-badge {
        display: none;
    }

    .search-select-category,
    .search-select-city {
        display: none;
    }

    .vyapari-nav-bar {
        display: none;
    }

    .vyapari-main-header {
        padding: 8px 0;
    }

    .btn-search-orange {
        padding: 8px 14px;
    }

    .btn-search-orange span {
        display: none;
    }
}

/* UI Helper Utilities & Admin/Employee Nav */
.bg-white-10 {
    background-color: rgba(255, 255, 255, 0.08) !important;
}

.border-white-10 {
    border-color: rgba(255, 255, 255, 0.12) !important;
}

.fs-7 {
    font-size: 0.9rem !important;
}

.fs-8 {
    font-size: 0.8125rem !important;
}

.fs-9 {
    font-size: 0.725rem !important;
}

.hover-shadow {
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.hover-shadow:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-2px);
}

.admin-nav-item, .sales-nav-item {
    color: #94a3b8 !important;
    transition: all 0.2s ease;
    border-radius: 8px !important;
    margin: 2px 10px;
    border: none !important;
}

.admin-nav-item:hover, .sales-nav-item:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

.admin-nav-item.active, .sales-nav-item.active {
    color: #ffffff !important;
    background: #2563eb !important;
    font-weight: 600 !important;
}