/* =========================================
   BUSINESS LISTING PAGE
   ========================================= */

.udyog-business-page {
    background: #f9fafb;
    padding: 20px;
}

/* Layout */
.business-listing-layout {
    display: grid;
    grid-template-columns: 25% 75%;
    gap: 25px;
}

/* Sidebar */
.business-sidebar {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
}

.category-list {
    list-style: none;
    padding: 0;
}

.category-list li {
    margin-bottom: 10px;
}

/* Search */
.business-search-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.business-search-form input {
    flex: 1;
    padding: 10px;
}

/* Grid */
.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

/* Card */
.business-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    text-align: center;
}

/* Logo */
.business-logo img {
    max-height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
}

/* Labels */
.business-label {
    font-size: 12px;
    color: #777;
    margin-bottom: 3px;
}

.business-title {
    font-weight: 700;
    font-size: 16px;
}

/* Categories */
.business-cats span {
    background: #ffe5e7;
    color: #ed1d26;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    margin: 3px;
    display: inline-block;
}

/* Button */
.get-info-btn {
    display: block;
    margin-top: 15px;
    padding: 10px;
    background: #ed1d26;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

.get-info-btn:hover {
    background: #c91820;
}

/* Mobile */
@media (max-width: 768px) {
    .business-listing-layout {
        grid-template-columns: 100%;
    }
}


/* ===============================
   BUSINESS LISTING – SEARCH BUTTON
   =============================== */

/* Search form wrapper */
.udyog-business-page .business-search-form {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Search input */
.udyog-business-page .business-search-form input[type="text"] {
    flex: 1;
    height: 42px;
    padding: 0 14px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
}

/* 🔥 SEARCH BUTTON – FORCE RED */
.udyog-business-page .business-search-form button {
    background-color: #ed1d26 !important;
    color: #ffffff !important;
    border: none !important;
    height: 42px;
    padding: 0 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

/* Hover */
.udyog-business-page .business-search-form button:hover {
    background-color: #c8161f !important;
    box-shadow: 0 6px 16px rgba(237, 29, 38, 0.25);
}

/* Focus */
.udyog-business-page .business-search-form button:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(237, 29, 38, 0.2);
}



/* ================================
   BUSINESS LISTING GRID
================================ */

.business-results {
    width: 100%;
}

/* 3 cards per row */
.business-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 20px;
}

/* Individual card */
.business-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Logo */
.business-logo {
    text-align: center;
    margin-bottom: 10px;
}

.business-logo img {
    max-height: 70px;
    width: auto;
    object-fit: contain;
}

/* Labels */
.business-label {
    font-size: 12px;
    color: #888;
    margin-bottom: 2px;
}

.business-value {
    font-size: 14px;
    color: #222;
    margin-bottom: 10px;
}

.business-title {
    font-weight: 700;
    font-size: 16px;
}

/* Categories pills */
.business-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.business-cats span {
    background: #ffe5e7;
    color: #ed1d26;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
}

/* Get Info button */
.get-info-btn {
    margin-top: 15px;
    background: #ed1d26;
    color: #fff;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
}

.get-info-btn:hover {
    background: #c8161f;
}

/* ================================
   RESPONSIVE
================================ */

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

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


.no-results {
    padding: 40px;
    background: #fff;
    border-radius: 12px;
    text-align: center;
    font-size: 16px;
    color: #555;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}


/* Category container */
.business-cats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* 🔥 CENTER */
    gap: 8px;
    margin-top: 8px;
    text-align: center;
}

/* Category pill */
.business-cats span {
    background: #ffe6e6;
    color: #ed1d26;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}


/* Category container */
.business-cats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* 🔥 CENTER */
    gap: 8px;
    margin-top: 8px;
    text-align: center;
}

/* Category pill */
.business-cats span {
    background: #ffe6e6;
    color: #ed1d26;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}



/* ===== Mobile Filter Button ===== */
.mobile-filter-btn {
    display: none;
    background: #e11d2a;
    color: #fff;
    border: none;
    padding: 10px 14px;
    border-radius: 8px;
    margin-right: 8px;
    font-weight: 600;
}

/* ===== Mobile Offcanvas Sidebar ===== */
@media (max-width: 768px) {

    .mobile-filter-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .business-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: #fff;
        z-index: 9999;
        padding: 20px;
        overflow-y: auto;
        transition: left 0.3s ease;
        box-shadow: 2px 0 15px rgba(0,0,0,0.15);
    }

    .business-sidebar.active {
        left: 0;
    }

    /* Overlay */
    .sidebar-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.4);
        z-index: 9998;
    }

    .sidebar-overlay.active {
        display: block;
    }
}




