.business-showcase-card {
    border: 0;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    height: 50%;
    min-height: 250px;
    overflow: hidden;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.business-showcase-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.14);
}

.business-showcase-cover {
    display: block;
    height: 115px;
    overflow: hidden;
    position: relative;
    text-decoration: none;
}

.business-showcase-cover img,
.business-showcase-no-image {
    height: 100%;
    width: 100%;
}

.business-showcase-cover img {
    object-fit: cover;
}

.business-showcase-no-image {
    align-items: center;
    background: linear-gradient(135deg, #eef2f7, #d7dee9);
    color: #64748b;
    display: flex;
    flex-direction: column;
    font-size: 12px;
    font-weight: 700;
    gap: 6px;
    justify-content: center;
}

.business-showcase-no-image i {
    font-size: 24px;
}

.business-showcase-category {
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-radius: 999px;
    color: #111827;
    display: inline-flex;
    font-size: 11px;
    font-weight: 800;
    gap: 5px;
    left: 10px;
    line-height: 1;
    max-width: calc(100% - 24px);
    overflow: hidden;
    padding: 6px 9px;
    position: absolute;
    text-overflow: ellipsis;
    top: 8px;
    white-space: nowrap;
    z-index: 2;
}

.business-showcase-body {
    align-items: center;
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 11px 12px 10px;
    position: relative;
    text-align: center;
}

.business-showcase-logo {
    align-items: center;
    background: #ffffff;
    border: 3px solid #ffffff;
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.18);
    display: flex;
    height: 66px;
    justify-content: center;
    left: 50%;
    overflow: hidden;
    position: absolute;
    top: -33px;
    transform: translateX(-50%);
    width: 66px;
    z-index: 3;
}

.business-showcase-logo img,
.business-showcase-logo-fallback {
    height: 100%;
    width: 100%;
}

.business-showcase-logo img {
    object-fit: cover;
}

.business-showcase-logo-fallback {
    align-items: center;
    background: #f1f5f9;
    color: #64748b;
    display: flex;
    font-size: 20px;
    justify-content: center;
}

/* Row under the logo holding Review + Views */
.business-showcase-meta-row {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    width: 100%;
}

.business-showcase-rating {
    align-items: center;
    color: #6b7280;
    display: inline-flex;
    font-size: 11px;
    font-weight: 700;
    gap: 5px;
    line-height: 1;
}

.business-showcase-rating strong {
    border-radius: 6px;
    color: #ffffff;
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    padding: 3px 8px;
}

.business-showcase-rating--booking strong {
    background: #007BFF;
}

.business-showcase-rating--vehicle strong {
    background: #F9C74F;
    color: #111827;
}

.business-showcase-rating--shop strong {
    background: #D3423D;
}

.business-showcase-views {
    align-items: center;
    color: #6b7280;
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    gap: 4px;
    line-height: 1;
}

.business-showcase-views i {
    font-size: 12px;
}

.business-showcase-title {
    font-size: 15px;
    font-weight: 900;
    line-height: 1.25;
    margin: 0 0 4px;
    min-height: 0;
}

.business-showcase-title a {
    color: #111827;
    text-decoration: none;
}

.business-showcase-title a:hover {
    color: #374151;
}

.business-showcase-location {
    align-items: center;
    color: #64748b;
    display: flex;
    font-size: 12px;
    gap: 5px;
    justify-content: center;
    line-height: 1.3;
    margin: 0;
    min-height: 0;
}

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

.business-showcase-footer {
    border-top: 1px solid #eef2f7;
    color: #111827;
    font-size: 12px;
    font-weight: 800;
    margin-top: 8px;
    padding-top: 8px;
    width: 100%;
}

.card-carousel .business-showcase-card {
    margin-bottom: 0;
}

.card-carousel .owl-stage {
    display: flex;
}

.card-carousel .owl-item {
    display: flex;
}

.card-carousel .owl-item > .business-showcase-card {
    width: 100%;
}

@media (max-width: 575px) {
    /* Show one showcase card per row on mobile */
    #popular-grid,
    #recent-grid {
        grid-template-columns: 1fr !important;
    }

    .business-showcase-card {
        min-height: 230px;
    }

    .business-showcase-cover {
        height: 100px;
    }

    .business-showcase-logo {
        height: 60px;
        top: -30px;
        width: 60px;
    }

    .business-showcase-body {
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 34px;
    }
}
