/* =============================================
   BUSINESS LIST PAGE - BOOKING THEME STYLE
   Primary Color: #1a8e8e (Teal/Turquoise)
   ============================================= */

:root {
    --primary: #0078ff;
    --primary-dark: #0060cc;
    --primary-light: rgba(26, 142, 142, 0.1);
    --dark: #2c2c2c;
    --dark-gray: #3a3a3a;
    --medium-gray: #6c757d;
    --light: #ffffff;
    --gray: #666666;
    --light-gray: #f8f9fa;
    --border: #e0e0e0;
    --border-light: #f0f0f0;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.06);
    --radius: 12px;
    --radius-small: 8px;
    --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.5s ease;
}

/* =============================================
   MAIN CONTAINER & LAYOUT
   ============================================= */

.card-area {
    background: linear-gradient(135deg, var(--light-gray) 0%, #e9ecef 100%);
    min-height: 100vh;
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}

.container {
    max-width: 1440px;
}

/* =============================================
   SIDEBAR STYLES - ENHANCED MODERN FILTER PANEL
   ============================================= */

.sidebar {
    position: sticky;
    height: fit-content;
}

.sidebar .card {
    background: var(--light);
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    margin-bottom: 10px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.sidebar .card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.sidebar .card-body {
    padding: 15px;
}

.sidebar .card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 4px;
    letter-spacing: -0.02em;
}

.sidebar .card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 2px;
}

.list-view .card {
    border: 2px solid var(--primary);
    box-shadow: 0 6px 20px rgba(26, 142, 142, 0.15);
    position: relative;
    overflow: visible;
}

.list-view .card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 14px;
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.list-view .card:hover::before {
    opacity: 0.3;
}

.list-view .card:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 12px 40px rgba(26, 142, 142, 0.25);
}

.card-title {
    font-size: 20px;
}

/* =============================================
   FORM ELEMENTS - ENHANCED MODERN INPUTS & SELECTS
   ============================================= */

.form-group {
    position: relative;
    margin-bottom: 5px;
}

.form-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 16px;
    z-index: 2;
    transition: var(--transition-fast);
}

.form-control {
    width: 100%;
    padding: 14px 16px 14px 44px;
    border: 2px solid var(--border);
    border-radius: var(--radius-small);
    font-size: 14px;
    color: var(--dark);
    background: var(--light);
    transition: var(--transition);
    box-shadow: none;
    font-weight: 400;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
    outline: none;
    background: var(--light);
    transform: translateY(-1px);
}

.form-control:focus+.form-icon {
    color: var(--primary-dark);
    transform: translateY(-50%) scale(1.1);
}

.form-control::placeholder {
    color: var(--medium-gray);
    font-weight: 400;
    opacity: 0.8;
}

/* =============================================
   SELECT PICKER ENHANCEMENT
   ============================================= */

.select-picker {
    width: 100% !important;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-small);
    background: var(--light);
    color: var(--dark);
    font-size: 14px;
    transition: var(--transition);
}

.select-picker:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
    outline: none;
}

/* =============================================
   CHECKBOX STYLES - ENHANCED CUSTOM MODERN DESIGN
   ============================================= */

.custom-control {
    position: relative;
    display: block;
    min-height: 1.5rem;
    padding-left: 4rem;
    margin-bottom: 8px;
}

.custom-control-input {
    position: absolute;
    left: 0;
    z-index: -1;
    width: 1.25rem;
    height: 1.25rem;
    opacity: 0;
}

.custom-control-label {
    position: relative;
    margin-bottom: 0;
    vertical-align: top;
    cursor: pointer;
    font-size: 14px;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition-fast);
    padding: 8px 12px;
    border-radius: 6px;
    margin: -8px -12px;
}

.custom-control-label:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.custom-control-label::before {
    position: absolute;
    top: 0.5rem;
    left: -2rem;
    display: block;
    width: 1.25rem;
    height: 1.25rem;
    pointer-events: none;
    content: "";
    background-color: var(--light);
    border: 2px solid var(--border);
    border-radius: 4px;
    transition: var(--transition);
}

.custom-control-label::after {
    position: absolute;
    top: 0.5rem;
    left: -2rem;
    display: block;
    width: 1.25rem;
    height: 1.25rem;
    content: "";
    background: no-repeat 50% / 50% 50%;
    transition: var(--transition);
}

.custom-control-input:checked~.custom-control-label::before {
    color: var(--light);
    border-color: var(--primary);
    background-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.custom-control-input:checked~.custom-control-label::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='m6.564.75-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/%3e%3c/svg%3e");
}

.custom-control-input:focus~.custom-control-label::before {
    box-shadow: 0 0 0 0.2rem var(--primary-light);
}

/* =============================================
   LISTING WRAPPER - ENHANCED MAIN CONTENT AREA
   ============================================= */

.listing-wrapper {
    background: var(--light);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    padding: 24px;
    min-height: auto;
    border: 1px solid var(--border-light);
}

/* =============================================
   LOADING SPINNER - ENHANCED MODERN DESIGN
   ============================================= */

#loading-spinner {
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

#loading-spinner i {
    color: var(--primary);
    font-size: 48px;
    animation: spin 1s linear infinite;
}

#loading-spinner::after {
    content: 'Loading...';
    color: var(--medium-gray);
    font-size: 16px;
    font-weight: 500;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* =============================================
   ALERT STYLES
   ============================================= */

.alert {
    border-radius: var(--radius-small);
    border: none;
    padding: 20px;
    font-size: 16px;
    font-weight: 500;
}

.alert-info {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    color: #0c5460;
    box-shadow: var(--shadow);
}

/* =============================================
   PAGINATION - ENHANCED MODERN DESIGN
   ============================================= */

#pagination-container {
    margin-top: 0px;
    display: flex;
    justify-content: center;
}

.pagination {
    justify-content: center;
    margin: 0;
    padding: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.page-link {
    color: var(--primary);
    background-color: var(--light);
    border: 2px solid var(--border);
    border-radius: 0 !important;
    margin: 0;
    padding: 12px 16px;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.page-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    transition: var(--transition);
    z-index: -1;
}

.page-link:hover::before,
.page-link:focus::before {
    left: 0;
}

.page-link:hover,
.page-link:focus {
    color: var(--light);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--primary-light);
}

.page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-color: var(--primary);
    color: var(--light);
    box-shadow: 0 4px 12px var(--primary-light);
    transform: translateY(-1px);
}

.page-item:first-child .page-link {
    border-top-left-radius: var(--radius-small) !important;
    border-bottom-left-radius: var(--radius-small) !important;
}

.page-item:last-child .page-link {
    border-top-right-radius: var(--radius-small) !important;
    border-bottom-right-radius: var(--radius-small) !important;
}

/* =============================================
   CARD SPECIFIC STYLES
   ============================================= */

.card .rightcard-titel {
    color: var(--primary);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.02em;
}

.card .rightcard-titel a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

.card .rightcard-titel a:hover {
    color: var(--primary-dark);
}

.card .card-text {
    color: var(--dark);
    font-weight: 500;
}

.card .font-size-14 {
    color: var(--medium-gray);
    font-weight: 400;
}

.card .info-list li {
    color: var(--gray);
    font-weight: 400;
}

.card .info-list .icon {
    color: var(--primary);
    font-weight: 600;
}

.card .verified-badge {
    color: var(--medium-gray);
    font-weight: 500;
}

.card .verified-badge i {
    color: #28a745;
    font-size: 14px;
}

.card .vip-button {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--light);
    border: none;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
    box-shadow: 0 2px 6px rgba(26, 142, 142, 0.2);
}

.card .vip-button:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(26, 142, 142, 0.3);
    color: var(--light);
    text-decoration: none;
}

/* =============================================
   PRICE RANGE STYLES
   ============================================= */

.price-range .price-input {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 15px;
}

.price-range .price-input .field {
    flex: 1;
}

.price-range .price-input .field p {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.price-range .price-input .field input {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid var(--border);
    border-radius: var(--radius-small);
    font-size: 14px;
    color: var(--dark);
    background: var(--light);
    transition: var(--transition);
}

.price-range .price-input .field input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
    outline: none;
}

.price-range .separator {
    color: var(--medium-gray);
    font-size: 18px;
    font-weight: 600;
    margin-top: 25px;
}

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

@media (max-width: 991px) {
    .card-area {
        padding-top: 30px !important;
    }

    .sidebar {
        position: static;
        margin-bottom: 30px;
    }

    .sidebar .card-body {
        padding: 15px;
    }

    .listing-wrapper {
        padding: 20px;
    }
}

@media (max-width: 767px) {
    .card-area {
        padding-top: 20px ;
        padding-bottom: 20px ;
    }

    .container {
        padding: 0 15px;
    }

    .sidebar .card-body {
        padding: 10px;
    }

    .sidebar .card-title {
        font-size: 16px;
    }

    .form-control {
        padding: 12px 14px 12px 40px;
        font-size: 13px;
    }

    .form-icon {
        left: 14px;
        font-size: 14px;
    }

    .custom-control-label {
        font-size: 13px;
        padding: 6px 8px;
        margin: -6px -8px;
    }

    .listing-wrapper {
        padding: 16px;
        border-radius: var(--radius-small);
    }

    .page-link {
        padding: 10px 12px;
        font-size: 14px;
    }

    .pagination {
        border-radius: var(--radius-small);
    }
}

/* =============================================
   VIEW BY SECTION - PREMIUM ENHANCED DESIGN
   ============================================= */

.view-by-card {
    background: linear-gradient(135deg, var(--light) 0%, #fafafa 100%) !important;
    border: 2px solid var(--border-light) !important;
    position: relative;
    overflow: hidden;
}

.view-by-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.5;
}

.view-by-card::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.3;
}

.view-by-header {
    position: relative;
    z-index: 2;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-light);
}

.view-by-header .card-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
}

.view-by-header .card-title i {
    font-size: 22px;
    color: var(--primary);
    animation: pulse-icon 2s ease-in-out infinite;
}

.view-by-subtitle {
    font-size: 12px;
    color: var(--gray);
    margin: 6px 0 0 34px;
    font-weight: 500;
}

@keyframes pulse-icon {

    0%,
    100% {
        transform: scale(1);
        color: var(--primary);
    }

    50% {
        transform: scale(1.1);
        color: var(--primary-dark);
    }
}

.view-options-wrapper {
    position: relative;
    z-index: 2;
}

.view-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
}

.view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1;
    background: var(--light);
    border: 2.5px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    color: var(--gray);
    position: relative;
    overflow: hidden;
    font-size: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    min-height: 75px;
}

.view-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 142, 142, 0.1) 0%, rgba(26, 142, 142, 0.05) 100%);
    transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.view-btn:hover::before {
    left: 100%;
}

.view-btn-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    height: 100%;
}

.view-btn i {
    font-size: 26px;
    color: var(--gray);
    transition: var(--transition);
    display: block;
}

.view-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--dark-gray);
    transition: var(--transition);
    display: block;
    text-align: center;
}

/* Hover State */
.view-btn:hover {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(26, 142, 142, 0.02) 0%, rgba(26, 142, 142, 0.01) 100%);
    transform: translateY(-3px);
}

.view-btn:hover i {
    color: var(--primary);
    transform: scale(1.15) rotateY(10deg);
}

.view-btn:hover .view-label {
    color: var(--primary);
    transform: translateY(-2px);
}

/* Active State - Premium Design */
.view-btn-active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-color: var(--primary-dark);
    position: relative;
}



.view-btn-active i {
    color: var(--light);
    filter: brightness(1.1);
}

.view-btn-active .view-label {
    color: var(--light);
    font-weight: 800;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* Responsive Design - Premium */
@media (max-width: 1024px) {
    .view-options {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .view-btn {
        min-height: 70px;
    }

    .view-btn i {
        font-size: 26px;
    }

    .view-label {
        font-size: 10px;
        letter-spacing: 0.5px;
    }
}

@media (max-width: 768px) {
    .view-by-header {
        margin-bottom: 14px;
        padding-bottom: 10px;
    }

    .view-by-header .card-title {
        font-size: 16px;
        gap: 10px;
    }

    .view-by-header .card-title i {
        font-size: 20px;
    }

    .view-by-subtitle {
        font-size: 11px;
        margin-left: 30px;
    }

    .view-options {
        grid-template-columns: repeat(8, 1fr);
        gap: 8px;
    }

    .view-btn {
        min-height: 65px;
    }

    .view-btn i {
        font-size: 26px;
    }

    .view-label {
        font-size: 9px;
        letter-spacing: 0.4px;
    }
}

@media (max-width: 576px) {
    .view-by-card {
        margin-bottom: 16px;
    }

    .view-by-header {
        margin-bottom: 16px;
        padding-bottom: 10px;
    }

    .view-by-header .card-title {
        font-size: 15px;
    }

    .view-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .view-btn {
        min-height: 60px;
    }

    .view-btn i {
        font-size: 24px;
    }

    .view-label {
        font-size: 8px;
        letter-spacing: 0.3px;
    }
}

/* =============================================
   BUSINESS LOGO FALLBACK - MODERN DESIGN
   ============================================= */

.business-logo-fallback {
    width: 100%;
    height: 260px;
    background: linear-gradient(135deg, #00aaff 0%, #1888ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1);
}

.business-logo-fallback::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.fallback-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
}

.business-logo-fallback i {
    font-size: 48px;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    animation: float 3s ease-in-out infinite;
}

.fallback-text {
    font-size: 14px;
    font-weight: 700;
    color: white;
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    max-width: 110px;
    word-break: break-word;
    letter-spacing: -0.02em;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Card image styles */
.card-image {
    display: block;
    width: 100%;
    height: 260px;
    overflow: hidden;
    position: relative;
}

.card-image:hover .business-logo-fallback {
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.2), 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card-image:hover .business-logo-fallback i {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.card-image:hover .fallback-text {
    transform: scale(1.05);
}

/* Responsive fallback */
@media (max-width: 768px) {
    .business-logo-fallback {
        height: 150px;
    }

    .business-logo-fallback i {
        font-size: 40px;
    }

    .fallback-text {
        font-size: 12px;
    }

    .card-image {
        height: 150px;
    }
}

/* =============================================
   SORT SELECT - MODERN STYLE WITH BOOKING COLOR
   ============================================= */

.sort-select {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 2px solid var(--border) !important;
    border-radius: var(--radius-small) !important;
    background: var(--light) !important;
    color: var(--dark) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: var(--transition) !important;
    box-shadow: none !important;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231a8e8e' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 36px !important;
    cursor: pointer;
}

.sort-select:hover {
    border-color: var(--primary) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23137070' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    box-shadow: 0 0 0 3px var(--primary-light) !important;
    transform: translateY(-1px);
}

.sort-select:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px var(--primary-light) !important;
    outline: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23137070' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    transform: translateY(-1px);
}

.sort-select option {
    background: var(--light);
    color: var(--dark);
    padding: 12px;
    border: none;
    font-weight: 500;
}

.sort-select option:checked {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--light);
}

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

@media (max-width: 767px) {
    .card-area {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }

    .listing-wrapper {
        padding: 16px;
    }

    .list-view .card {
        flex-direction: column;
    }

    .list-view .card-image {
        width: 100%;
        height: 160px;
    }

    .gallery-view {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 16px;
    }

    .view-options {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .listing-wrapper {
        padding: 12px;
    }

    .view-options {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .view-btn {
        min-height: 60px;
    }

    .gallery-view {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* =============================================
   UTILITY CLASSES
   ============================================= */

.d-none {
    display: none !important;
}

.d-flex {
    display: flex !important;
}

.align-items-center {
    align-items: center !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

.justify-content-center {
    justify-content: center !important;
}

.flex-row {
    flex-direction: row !important;
}

.flex-column {
    flex-direction: column !important;
}

.flex-grow-1 {
    flex-grow: 1 !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-1 {
    margin-bottom: 8px !important;
}

.mb-2 {
    margin-bottom: 16px !important;
}

.mb-3 {
    margin-bottom: 24px !important;
}

.mb-4 {
    margin-bottom: 32px !important;
}

.ml-4 {
    margin-left: 24px !important;
}

.mr-2 {
    margin-right: 8px !important;
}

.mt-1 {
    margin-top: 8px !important;
}

.text-muted {
    color: var(--medium-gray) !important;
}

.theme-btn {
    display: inline-block;
}

/* =============================================
   EMPTY STATE - NO BUSINESSES DESIGN
   ============================================= */

.no-products-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
    min-height: 500px;
    border-radius: var(--radius);
}

.no-products-icon {
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    animation: pulse-animation 2s ease-in-out infinite;
    box-shadow: 0 8px 32px rgba(0, 170, 255, 0.15);
}

.no-products-icon i {
    font-size: 72px;
    color: var(--light);
    animation: float-animation 3s ease-in-out infinite;
}

@keyframes pulse-animation {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 8px 32px rgba(0, 170, 255, 0.15);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 48px rgba(0, 170, 255, 0.25);
    }
}

@keyframes float-animation {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.no-products-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.no-products-message {
    font-size: 18px;
    color: var(--medium-gray);
    margin-bottom: 12px;
    line-height: 1.6;
    max-width: 500px;
}

.no-products-suggestion {
    font-size: 15px;
    color: var(--gray);
    margin-bottom: 0;
    font-weight: 500;
}

/* LIST VIEW & GALLERY VIEW - No Businesses Style (Same Design) */
.list-view .no-products-container,
.gallery-view .no-products-container {
    min-height: 400px;
    padding: 60px 40px;
}

.gallery-view .no-products-container {
    grid-column: 1 / -1;
}

.list-view .no-products-icon,
.gallery-view .no-products-icon {
    width: 140px;
    height: 140px;
    box-shadow: 0 8px 32px rgba(0, 170, 255, 0.25);
}

.list-view .no-products-icon i,
.gallery-view .no-products-icon i {
    color: var(--light);
    font-size: 64px;
}

.list-view .no-products-title,
.gallery-view .no-products-title {
    color: var(--primary);
    font-size: 28px;
}

/* MAP VIEW - No Businesses Style */
.map-view .no-products-container {
    background: linear-gradient(135deg, var(--light-gray) 0%, #e9ecef 100%);
    border: 2px dashed var(--primary);
    box-shadow: inset 0 2px 12px rgba(0, 170, 255, 0.08);
    min-height: 500px;
    padding: 80px 30px;
}

.map-view .no-products-icon {
    width: 170px;
    height: 170px;
    background: var(--light);
    border: 3px dashed var(--primary);
    box-shadow: 0 8px 32px rgba(0, 170, 255, 0.12);
}

.map-view .no-products-icon i {
    font-size: 76px;
    color: var(--primary);
}

.map-view .no-products-title {
    color: var(--dark);
    font-size: 32px;
}

.map-view .no-products-message {
    color: var(--gray);
}

@media (max-width: 767px) {
    .no-products-container {
        padding: 60px 20px;
        min-height: 350px;
    }

    .no-products-icon {
        width: 120px;
        height: 120px;
        margin-bottom: 24px;
    }

    .no-products-icon i {
        font-size: 56px;
    }

    .no-products-title {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .no-products-message {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .no-products-suggestion {
        font-size: 14px;
        margin-bottom: 0;
    }

    /* List View & Gallery View Mobile (Same Design) */
    .list-view .no-products-container,
    .gallery-view .no-products-container {
        padding: 50px 20px;
        min-height: 300px;
    }

    .list-view .no-products-icon,
    .gallery-view .no-products-icon {
        width: 100px;
        height: 100px;
    }

    .list-view .no-products-icon i,
    .gallery-view .no-products-icon i {
        font-size: 48px;
    }

    .list-view .no-products-title,
    .gallery-view .no-products-title {
        font-size: 20px;
    }

    /* Map View Mobile */
    .map-view .no-products-container {
        padding: 50px 20px;
        min-height: 350px;
    }

    .map-view .no-products-icon {
        width: 120px;
        height: 120px;
    }

    .map-view .no-products-icon i {
        font-size: 56px;
    }

    .map-view .no-products-title {
        font-size: 24px;
    }
}


/* ==========================================================================
   ADZ-CARD — Business List/Gallery Card Design (GMGO responsive update)
   Component: resources/views/frontend/business/partials/business-list.blade.php
   Applies inside #business-container.list-view (single column, horizontal
   card) and #business-container.gallery-view (responsive grid, vertical
   card). Reuses the --primary / --radius / --shadow-card variables already
   declared at the top of this file.
   Breakpoints: 1440 / 1024 / 768 / 425 / 375 / 320
   ========================================================================== */

/* ---- Grid / list containers ---- */
#business-container.gallery-view {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

#business-container.list-view {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ---- Card base ---- */
.adz-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: var(--light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: var(--transition);
    box-sizing: border-box;
}

.adz-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
    border-color: var(--primary);
}

.adz-card .card-image-link {
    display: block;
    width: 100%;
}

.adz-card .card-image {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #f5f5f5;
    flex-shrink: 0;
}

.adz-card .card-img-side,
.adz-card .card-img-placeholder-side {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.adz-card:hover .card-img-side {
    transform: scale(1.06);
}

.adz-card .card-body {
    padding: 18px;
    gap: 8px;
    min-width: 0;
}

.adz-card .card-link-wrapper {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-decoration: none;
    min-width: 0;
}

.adz-card .card-category-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.adz-card .card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    margin: 2px 0 0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.adz-card #adr-location {
    display: flex;
    align-items: center;
    gap: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.adz-card .multi-line-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0 !important;
}

.adz-card .contact-badge {
    margin-top: 4px;
    border-radius: 8px;
}

.adz-card .card-footer-info {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 14px;
}

.adz-card .theme-btn {
    flex: 1 1 0;
    padding: 10px 14px;
    border-radius: var(--radius-small);
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.adz-card .theme-btn.btn-primary {
    background: var(--primary);
    color: #fff;
    border: 2px solid var(--primary);
}

.adz-card .theme-btn.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
}

.adz-card .theme-btn.btn-view {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.adz-card .theme-btn.btn-view:hover {
    background: var(--primary);
    color: #fff;
}

/* ---- List view: horizontal card ---- */
.list-view .adz-card {
    flex-direction: row;
    align-items: stretch;
}

.list-view .adz-card .card-image-link {
    flex: 0 0 auto;
    height: auto;
}

.list-view .adz-card .card-image {
    height: 100%;
    min-height: 200px;
}

.list-view .adz-card .card-body {
    flex: 1 1 auto;
}

/* ---- Gallery view: vertical card inside grid ---- */
.gallery-view .adz-card {
    flex-direction: column;
    height: 100%;
}

.gallery-view .adz-card .card-image {
    height: 190px;
}

.gallery-view .adz-card .card-title {
    -webkit-line-clamp: 2;
}

.gallery-view .adz-card .card-footer-info {
    flex-direction: column;
}

/* ---- ≥1440px — large desktop ---- */
@media (min-width: 1440px) {
    #business-container.gallery-view {
        grid-template-columns: repeat(4, 1fr);
        gap: 28px;
    }

    .list-view .adz-card .card-image-link {
        width: 300px;
    }

    .list-view .adz-card .card-image {
        min-height: 230px;
    }

    .adz-card .card-body {
        padding: 22px;
    }

    .adz-card .card-title {
        font-size: 18px;
    }
}

/* ---- 1024–1439px — small desktop / laptop ---- */
@media (min-width: 1024px) and (max-width: 1439.98px) {
    #business-container.gallery-view {
        grid-template-columns: repeat(3, 1fr);
        gap: 22px;
    }

    .list-view .adz-card .card-image-link {
        width: 260px;
    }

    .list-view .adz-card .card-image {
        min-height: 200px;
    }
}

/* ---- 768–1023px — tablet ---- */
@media (min-width: 768px) and (max-width: 1023.98px) {
    #business-container.gallery-view {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .list-view .adz-card .card-image-link {
        width: 220px;
    }

    .list-view .adz-card .card-image {
        min-height: 180px;
    }

    .adz-card .card-body {
        padding: 16px;
    }

    .adz-card .card-title {
        font-size: 16px;
    }
}

/* ---- 426–767px — large phone / small tablet ---- */
@media (min-width: 426px) and (max-width: 767.98px) {
    #business-container.gallery-view {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .list-view .adz-card {
        flex-direction: column;
    }

    .list-view .adz-card .card-image-link {
        width: 100%;
    }

    .list-view .adz-card .card-image {
        height: 190px;
        min-height: 0;
    }

    .gallery-view .adz-card .card-image {
        height: 130px;
    }

    .adz-card .card-body {
        padding: 14px;
        gap: 6px;
    }

    .adz-card .card-title {
        font-size: 15px;
    }

    .adz-card .card-category-badge {
        font-size: 10px;
        padding: 3px 10px;
    }

    .adz-card .card-footer-info {
        flex-direction: column;
        gap: 8px;
    }
}

/* ---- 376–425px — standard mobile ---- */
@media (min-width: 376px) and (max-width: 425.98px) {
    #business-container.gallery-view {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .list-view .adz-card {
        flex-direction: column;
    }

    .list-view .adz-card .card-image-link,
    .gallery-view .adz-card .card-image-link {
        width: 100%;
    }

    .list-view .adz-card .card-image,
    .gallery-view .adz-card .card-image {
        height: 170px;
        min-height: 0;
    }

    .adz-card .card-body {
        padding: 12px;
        gap: 6px;
    }

    .adz-card .card-title {
        font-size: 14.5px;
    }

    .adz-card #adr-location {
        font-size: 12px;
    }

    .adz-card .multi-line-2 {
        font-size: 12.5px;
    }

    .adz-card .card-footer-info {
        flex-direction: row;
        gap: 8px;
    }

    .adz-card .theme-btn {
        font-size: 12.5px;
        padding: 9px 10px;
    }
}

/* ---- 321–375px — small mobile ---- */
@media (min-width: 321px) and (max-width: 375.98px) {
    #business-container.gallery-view {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .list-view .adz-card,
    .gallery-view .adz-card {
        flex-direction: column;
    }

    .adz-card .card-image-link {
        width: 100%;
    }

    .adz-card .card-image {
        height: 150px;
        min-height: 0;
    }

    .adz-card .card-body {
        padding: 10px;
        gap: 5px;
    }

    .adz-card .card-title {
        font-size: 14px;
    }

    .adz-card .card-category-badge {
        font-size: 9px;
        padding: 2px 8px;
    }

    .adz-card #adr-location {
        font-size: 11px;
    }

    .adz-card .multi-line-2 {
        font-size: 12px;
        line-height: 16px;
    }

    .adz-card .card-footer-info {
        flex-direction: column;
        gap: 6px;
        padding-top: 10px;
    }

    .adz-card .theme-btn {
        font-size: 12px;
        padding: 8px;
    }
}

/* ---- ≤320px — extra small mobile ---- */
@media (max-width: 320.98px) {
    #business-container.gallery-view {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    #business-container.list-view {
        gap: 14px;
    }

    .list-view .adz-card,
    .gallery-view .adz-card {
        flex-direction: column;
    }

    .adz-card .card-image-link {
        width: 100%;
    }

    .adz-card .card-image {
        height: 140px;
        min-height: 0;
    }

    .adz-card .card-body {
        padding: 8px;
        gap: 4px;
    }

    .adz-card .card-title {
        font-size: 13px;
    }

    .adz-card .card-category-badge {
        font-size: 8.5px;
        padding: 2px 7px;
    }

    .adz-card #adr-location {
        font-size: 10.5px;
    }

    .adz-card .multi-line-2 {
        font-size: 11px;
        line-height: 15px;
    }

    .adz-card .card-footer-info {
        flex-direction: column;
        gap: 6px;
        padding-top: 8px;
    }

    .adz-card .theme-btn {
        font-size: 11.5px;
        padding: 7px;
    }
}