/* =============================================
   BUSINESS FINDER - ESTILOS PRINCIPALES UNIFICADOS
   ============================================= */

/* --------------------------
   COMPONENTE: HERO DE BÚSQUEDA
   -------------------------- */

.search-box {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Contenedores de búsqueda en tiempo real */
.search-input-container,
.location-input-container {
    position: relative;
}

/* --------------------------
   COMPONENTE: FILTROS ACTIVOS
   -------------------------- */

/* --------------------------
   COMPONENTE: PESTAÑAS DE CATEGORÍAS
   -------------------------- */

/* --------------------------
   COMPONENTE: NEGOCIOS DESTACADOS
   -------------------------- */
.featured-business-card {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e9ecef;
}

.featured-business-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* --------------------------
   COMPONENTE: TARJETAS DE NEGOCIOS
   -------------------------- */
.bf-business-card {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 12px rgba(14, 30, 37, .06);
    border: 1px solid #e9ecef;
    background: white;
}

.bf-business-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-color: #00858c;
}

/* Layout de escritorio: 3 columnas (imagen, info, CTA) */
.bf-card-content {
    display: grid;
    grid-template-columns: 80px 1fr 240px;
    gap: 1rem;
    padding: 1.25rem;
}

/* Imagen del negocio */
.bf-business-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    align-self: flex-start;
}

/* Información principal del negocio */
.bf-business-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bf-business-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
    color: #333;
}

.bf-business-meta {
    color: #6c757d;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bf-business-description {
    color: #6c757d;
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.5rem;
}

.bf-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.bf-tag {
    background: #ffab00;
    border-radius: 16px;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    color: #151515;
}

/* Columna derecha: Rating y CTA */
.bf-business-actions {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    text-align: right;
}

.bf-rating-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.bf-star-rating {
    line-height: 1;
    display: flex;
    gap: 2px;
}

.bf-rating-text {
    font-size: 0.85rem;
    color: #6c757d;
}

.bf-action-buttons {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
    width: 100%;
    justify-content: flex-end;
}

/* .bf-action-buttons .btn {
    min-width: 100px;
} */

/* Badges */

/* --------------------------
   COMPONENTE: SIN RESULTADOS
   -------------------------- */
.no-results {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
}

.no-results i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #dee2e6;
}

/* --------------------------
   COMPONENTE: PAGINACIÓN
   -------------------------- */
.pagination .page-item.active .page-link {
    background-color: #00858c;
    border-color: #00858c;
}

.pagination .page-link {
    color: #697a8d;
}

/* --------------------------
   COMPONENTE: BOTÓN LIMPIAR UBICACIÓN
   -------------------------- */
.clear-location {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #697a8d;
}

.clear-location:hover {
    color: #333;
}

/* --------------------------
   COMPONENTE: BÚSQUEDA EN TIEMPO REAL
   -------------------------- */
.real-time-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.real-time-item {
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.real-time-item:hover {
    background-color: #f8f9fa;
}

.real-time-item:last-child {
    border-bottom: none;
}

.real-time-item i {
    font-size: 18px;
}

.real-time-item .bx-map-pin {
    color: #e74c3c;
    /* Rojo para direcciones específicas */
}

.real-time-item .bx-building {
    color: #27ae60;
    /* Verde para negocios */
}

.real-time-item-content h6 {
    margin: 0;
    font-size: 14px;
    color: #333;
}

.real-time-item-content p {
    margin: 2px 0 0 0;
    font-size: 11px;
    color: #888;
    font-style: italic;
}

.real-time-no-results {
    padding: 15px;
    text-align: center;
    color: #666;
    font-style: italic;
}

/* --------------------------
   COMPONENTE: LOADING SPINNER
   -------------------------- */
.loading-spinner {
    display: none;
    text-align: center;
    padding: 20px;
}

.loading-spinner i {
    font-size: 2rem;
    color: #00858c;
    margin-bottom: 1rem;
}

/* --------------------------
   COMPONENTE: BOTÓN FLOTANTE MAPA
   -------------------------- */

/* --------------------------
   COMPONENTE: MODAL DEL MAPA
   -------------------------- */
#mapModal .modal-dialog {
    max-width: 90%;
    height: 90vh;
    margin: 5vh auto;
}

#mapModal .modal-content {
    height: 100%;
    border-radius: 8px;
}

#mapModal .modal-body {
    padding: 0;
    height: calc(100% - 60px);
}

#businessMap {
    height: 100%;
    width: 100%;
    border-radius: 0 0 8px 8px;
}

.map-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    flex-direction: column;
    background: #f8f9fa;
    border-radius: 8px;
}

.map-loading i {
    font-size: 3rem;
    color: #00858c;
    margin-bottom: 1rem;
}

.map-loading h5 {
    color: #333;
    margin-bottom: 0.5rem;
}

.map-loading p {
    color: #666;
    margin: 0;
}

/* Estilos para popups del mapa */

.map-popup-content {
    font-family: 'Public Sans', sans-serif;
    min-width: 250px;
}

.map-popup-content h6 {
    color: #333;
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 600;
}

.map-popup-content .text-warning {
    font-size: 12px;
}

.map-popup-content small {
    font-size: 11px;
}

/* Estilos para los marcadores del mapa */
.custom-marker {
    background: transparent !important;
    border: none !important;
}

/* Colores de los marcadores */

/* =============================================
   MEDIA QUERIES - DISEÑO RESPONSIVE
   ============================================= */

/* --------------------------
   TABLETS (768px o menos)
   -------------------------- */
@media (max-width: 768px) {

    .bf-card-content {
        grid-template-columns: 60px 1fr;
        gap: 1rem;
    }

    .bf-business-image {
        width: 60px;
        height: 60px;
    }

    .bf-business-actions {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        text-align: left;
        width: 100%;
        margin-top: 1rem;
    }

    .bf-rating-container {
        align-items: flex-start;
    }

    .bf-action-buttons {
        justify-content: flex-end;
        width: auto;
    }

    .bf-action-buttons .btn {
        min-width: auto;
        flex: 1;
    }

    /* Modal del mapa en tablets */
    #mapModal .modal-dialog {
        max-width: 95%;
        height: 80vh;
    }
}

/* --------------------------
   MÓVILES (576px o menos)
   -------------------------- */
@media (max-width: 576px) {

    .bf-card-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .bf-business-image {
        width: 260px;
        height: 260px;
        justify-self: center;
    }

    .bf-business-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .bf-rating-container {
        align-items: center;
    }

    .bf-action-buttons {
        flex-direction: column;
        width: 100%;
    }

    .bf-action-buttons .btn {
        width: 100%;
    }

    /* Modal del mapa en móviles */
    #mapModal .modal-dialog {
        max-width: 95%;
        height: 70vh;
        margin: 15vh auto;
    }
}

/* ESTILOS PARA BOTÓN FLOTANTE AL ESTILO ARTSTATION */
.floating-map-wrapper {
    position: fixed;
    bottom: 50px;
    left: 0;
    right: 0;
    z-index: 1000;
    pointer-events: none;
}

.floating-map-tabs {
    pointer-events: auto;
}

.floating-tab-bar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 4px;
}

.floating-tab-bar-tabs {
    display: flex;
    gap: 4px;
    margin: 0;
    padding: 0;
}

.floating-tab-bar-tab {
    margin: 0;
    padding: 0;
}

.floating-tab-bar-tab-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: #00858c;
    color: white !important;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    min-width: 160px;
}

.floating-tab-bar-tab-link:hover {
    background: #006a70;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 133, 140, 0.4);
}

.floating-tab-bar-tab.active .floating-tab-bar-tab-link {
    background: linear-gradient(135deg, #00858c, #00a8b0);
    box-shadow: 0 4px 15px rgba(0, 133, 140, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .floating-map-wrapper {
        bottom: 50px;
    }

    .floating-tab-bar-tab-link {
        padding: 10px 20px;
        font-size: 13px;
        min-width: 140px;
    }
}

/* Asegurar que no interfiera con otros elementos */
.floating-tab-bar-tab-link:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 133, 140, 0.3);
}

/* Estado de ubicación */
#locationStatus {
    font-size: 0.8rem;
    min-height: 20px;
    margin-top: 4px;
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#locationStatus div {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(0, 133, 140, 0.1);
}

#locationStatus .text-success {
    background: rgba(40, 167, 69, 0.1);
    color: #00858c;
}

#locationStatus .text-danger {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

#locationStatus .text-primary {
    background: rgba(0, 133, 140, 0.1);
    color: #00858c;
}

.text-success-zencita {
    color: #00858c !important;
    background-color: #00858c22 !important;
}

.social-login-container {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

.social-login-separator {
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.social-login-separator span {
    background: white;
    padding: 0 1rem;
    color: #666;
    font-size: 0.9rem;
}

.social-login-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #ddd;
    background: white;
    color: #333;
}

.social-login-btn:hover {
    background: #f5f5f5;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.social-login-btn.google-btn {
    border-color: #ddd;
}

.social-login-btn.google-btn:hover {
    border-color: #4285f4;
}

.social-logo {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.bf-image-container {
    display: inline-block;
    /* o block según tu layout */
    overflow: hidden;
    /* opcional, para contener elementos hijos */
}

.bf-image-container {
    display: block;
    overflow: hidden;
    /* Opcional: para contener elementos hijos */
}

.bf-business-image {
    
    /* O el alto que prefieras */
    object-fit: cover;
    border-radius: 8px;
    /* Si quieres bordes redondeados */
}

/* Si usas flexbox para las columnas */
.bf-card-content {
    display: flex;
    gap: 20px;
}



.bf-business-info {
    flex: 1;
}



/* =============================================
   MEDIA QUERIES - DISEÑO RESPONSIVE
   ============================================= */

/* --------------------------
   TABLETS (768px o menos)
   -------------------------- */
@media (max-width: 768px) {
    .bf-card-content {
        grid-template-columns: 60px 1fr;
        gap: 0.75rem;
        padding: 1rem;
    }

    .bf-business-image {
        width: 260px;
        height: 260px;
    }

    .bf-business-actions {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        text-align: left;
        width: 100%;
        margin-top: 0.75rem;
        padding-top: 0.75rem;
        border-top: 1px solid #f0f0f0;
    }

    .bf-rating-container {
        align-items: flex-start;
        gap: 0.125rem;
    }

    .bf-action-buttons {
        justify-content: flex-end;
        width: auto;
        gap: 0.25rem;
    }

    .bf-action-buttons .btn {
        min-width: 100px;
        padding: 0.375rem 0.75rem;
        font-size: 0.875rem;
    }

    /* Mejorar tags en tablet */
    .bf-tags-container {
        gap: 0.25rem;
    }

    .bf-tag {
        padding: 0.2rem 0.5rem;
        font-size: 0.7rem;
    }

    /* Modal del mapa en tablets */
    #mapModal .modal-dialog {
        max-width: 95%;
        height: 80vh;
    }
}

/* --------------------------
   MÓVILES (576px o menos)
   -------------------------- */
@media (max-width: 576px) {
    .bf-card-content {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
        position: relative;
        /* Para posicionar el botón de favoritos */
    }

    /* Contenedor de imagen centrado y con dimensiones fijas */
    .bf-image-container {
        min-height: 280px;
        height: 80%;
        position: relative;
        margin-bottom: 0.5rem;
    }

    .bf-business-image {
        
        object-fit: cover;
        border-radius: 8px;
    }

    /* Botón de favoritos en móvil - reposicionado */
    .favorite-btn-wrapper {
        position: absolute;
        top: 1px !important;
        right: 1px !important;
        z-index: 10;
        padding: 0 !important;
    }

    .favorite-btn-wrapper .favorite-btn {
        width: 36px !important;
        height: 36px !important;
        background: rgba(255, 255, 255, 0.95) !important;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2) !important;
    }

    /* Información del negocio */
    .bf-business-info {
        order: 1;
    }

    .bf-business-title {
        font-size: 1rem;
        line-height: 1.3;
        margin-bottom: 0.25rem;
    }

    .bf-business-meta {
        font-size: 0.8rem;
        gap: 0.25rem;
        margin-bottom: 0.5rem;
    }

    .bf-business-description {
        font-size: 0.85rem;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        margin-bottom: 0.75rem;
    }

    /* Tags en móvil - ajustados */
    .bf-tags-container {
        gap: 0.25rem;
        margin-bottom: 0.75rem;
    }

    .bf-tag {
        padding: 0.15rem 0.4rem;
        font-size: 0.65rem;
    }

    /* Rating y acciones en móvil - rediseñado */
    .bf-business-actions {
        order: 2;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        gap: 0.75rem;
        margin-top: 0;
        padding-top: 0.75rem;
        border-top: 1px solid #f0f0f0;
    }

    .bf-rating-container {
        align-items: flex-start;
        gap: 0.125rem;
        flex-shrink: 0;
    }

    .bf-star-rating {
        font-size: 0.9rem;
    }

    .bf-rating-text {
        font-size: 0.75rem;
    }

    .bf-action-buttons {
        justify-content: flex-end;
        width: auto;
        min-width: 100px;
    }

    .bf-action-buttons .btn {
        width: auto;
        min-width: 100px;
        padding: 0.375rem 0.75rem;
        font-size: 0.875rem;
        white-space: nowrap;
    }

    /* Ajustar contenedor de imagen en móvil */
    .bf-image-container.position-relative {
        align-self: center;
    }

    /* Modal del mapa en móviles */
    #mapModal .modal-dialog {
        max-width: 100%;
        height: 70vh;
        margin: 0;
    }

    #mapModal .modal-content {
        border-radius: 0;
    }
}

/* --------------------------
   MÓVILES MUY PEQUEÑOS (menos de 400px)
   -------------------------- */
@media (max-width: 400px) {
    .bf-card-content {
        padding: 0.75rem;
        gap: 0.5rem;
    }

    .bf-image-container {
        height: 160px;
    }

    .bf-business-title {
        font-size: 0.95rem;
    }

    .bf-business-meta {
        font-size: 0.75rem;
    }

    .bf-business-description {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .bf-tags-container {
        gap: 0.2rem;
    }

    .bf-tag {
        padding: 0.1rem 0.3rem;
        font-size: 0.6rem;
    }

    .bf-business-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .bf-rating-container {
        align-items: center;
        text-align: center;
    }

    .bf-action-buttons {
        width: 100%;
    }

    .bf-action-buttons .btn {
        width: 100%;
        min-width: auto;
    }
}

/* ESTILOS CRÍTICOS INLINE - MEJORADOS */
.loading-spinner {
    display: none;
    text-align: center;
    padding: 20px;
}

.loading-spinner i {
    font-size: 2rem;
    color: #00858c;
}

/* Resultados en tiempo real - CRÍTICO - OPTIMIZADO */
.real-time-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.real-time-item {
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.real-time-item:hover {
    background-color: #f8f9fa;
}

.real-time-item:last-child {
    border-bottom: none;
}

.real-time-item i {
    color: #00858c;
    font-size: 18px;
}

.real-time-item-content h6 {
    margin: 0;
    font-size: 14px;
    color: #333;
}

.real-time-item-content p {
    margin: 2px 0 0 0;
    font-size: 12px;
    color: #666;
}

.real-time-no-results {
    padding: 15px;
    text-align: center;
    color: #666;
    font-style: italic;
}

.search-input-container {
    position: relative;
}

.location-input-container {
    position: relative;
}

.clear-location {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    z-index: 10;
}

.clear-location:hover {
    color: #333;
}

/* Estilos críticos para layout inicial */
.card {
    background: #fff;
    border-radius: 8px;
}

.btn-primary {
    background-color: #00858c;
    border-color: #00858c;
}

.form-control:focus {
    border-color: #00858c;
    box-shadow: 0 0 0 0.2rem rgba(0, 133, 140, 0.25);
}

/* Texto oculto visualmente para lectores de pantalla */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Loading optimizado */
.map-loading {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

/* Nuevos estilos para Opción 5 (sin sugerencia) */
.location-filter-active {
    border-left: 4px solid #00858c !important;
    background-color: rgba(0, 133, 140, 0.05) !important;
}

.detected-location-chip {
    animation: slideIn 0.3s ease;
    margin-top: 10px;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.text-success-zencita {
    color: #00858c !important;
}

/* Botón de ubicación mejorado */
#useCurrentLocationBtn {
    min-width: 100px;
    background-color: rgb(0, 133, 140);
    color: white;
}

/* Estilo para input con ubicación activa */
.location-input-container .form-control.location-filter-active {
    padding-left: 12px;
}

/* ESTILOS PARA TARJETAS CLICKEABLES */
.bf-business-card {
    position: relative;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bf-business-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.bf-business-actions,
.bf-business-actions * {
    position: relative;
    z-index: 2;
}

.bf-business-actions a,
.bf-business-actions button {
    pointer-events: auto;
}

.bf-business-card:hover .bf-business-title {
    color: #00858c;
}

.featured-business-card {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.featured-business-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Animaciones para favoritos y confeti */
.heart-animation {
    animation: heartBeat 0.6s ease-in-out;
}

@keyframes heartBeat {
    0% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.3);
    }

    50% {
        transform: scale(0.9);
    }

    75% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
}

.confetti-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 5;
}


/* Mejoras adicionales para responsividad */
@media (max-width: 576px) {

    /* Asegurar que las tarjetas no se desborden */
    .bf-business-card {
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    /* Mejorar espaciado en dispositivos pequeños */
    .container-xxl {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    /* Ajustar grid de resultados destacados */
    .featured-business-card .card-body {
        padding: 1rem;
    }

    /* Botones de acción más grandes en móvil para mejor usabilidad táctil */
    .btn-primary {
        min-height: 44px;
        /* Altura mínima para botones táctiles */
    }

    /* Asegurar que el texto no se corte en móviles */
    .bf-rating-text {
        word-break: keep-all;
        white-space: nowrap;
    }
}

/* Ajustes específicos para iOS */
@supports (-webkit-touch-callout: none) {
    @media (max-width: 576px) {
        .bf-business-card {
            /* Asegurar mejor rendimiento en iOS */
            -webkit-transform: translateZ(0);
            transform: translateZ(0);
        }

        .btn-primary {
            /* Mejorar apariencia de botones en iOS */
            -webkit-appearance: none;
            border-radius: 8px;
        }
    }
}