/* Estilos para el directorio de negocios */
.dn-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* Fondo degradado eliminado para usar Elementor */
}
.dn-header {
    text-align: center;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.dn-search-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto 30px auto;
}
.dn-search-input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid #c76315;
    border-radius: 50px;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(160, 82, 45, 0.15), 0 2px 8px rgba(0,0,0,0.08);
    background: #fffbe9;
    outline: none;
    transition: all 0.3s ease;
}
.dn-search-input:focus {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 15px 35px rgba(160, 82, 45, 0.25), 0 4px 16px rgba(0,0,0,0.12);
    border-color: #a34e10;
    background: #fff7d6;
}
.dn-search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #c76315;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: background 0.3s, color 0.3s;
}
.dn-search-btn:hover {
    background: #c76315;
    color: #fff;
}
.dn-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.dn-filter-btn {
    background: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: #111 !important;
}
.dn-filter-btn,
.dn-filter-btn:link,
.dn-filter-btn:visited,
.dn-filter-btn:focus {
    color: #111 !important;
}
.dn-filter-btn:hover,
.dn-filter-btn.active {
    color: #fff !important;
    background: linear-gradient(45deg, #a34e10, #c76315, #e07d2a);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.dn-business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}
.dn-business-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.dn-business-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #8B4513, #A0522D);
}
.dn-business-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}
.dn-business-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.dn-business-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, #a34e10, #c76315, #e07d2a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-right: 15px;
    overflow: hidden;
}
.dn-business-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.dn-business-info h3 {
    color: #c76315;
    font-size: 1.3rem;
    margin-bottom: 5px;
}
.dn-business-category {
    color: #a34e10;
    font-size: 0.9rem;
    font-weight: 500;
}
.dn-business-details {
    margin-bottom: 15px;
}
.dn-detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    color: #555;
}
.dn-detail-icon {
    width: 20px;
    margin-right: 10px;
    color: #c76315;
}
.dn-business-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}
.dn-action-btn {
    flex: 1;
    padding: 12px 0;
    border-radius: 20px;
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
    border: 2px solid #c76315;
    transition: all 0.2s;
    cursor: pointer;
    outline: none;
    box-shadow: none;
    display: inline-block;
}
.dn-btn-primary {
    background: linear-gradient(45deg, #a34e10, #c76315, #e07d2a);
    color: #fff;
    border: 2px solid #c76315;
}
.dn-btn-primary:hover {
    background: #a34e10;
    color: #fff;
}
.dn-btn-secondary {
    background: #fdf6ee;
    color: #111;
    border: 2px solid #c76315;
}
.dn-btn-secondary:hover {
    background: #c76315;
    color: #fff;
}
@media (max-width: 768px) {
    .dn-header h1 {
        font-size: 2rem;
    }
    .dn-business-grid {
        grid-template-columns: 1fr;
    }
    .dn-filters {
        flex-direction: column;
        align-items: center;
    }
} 

/* Burbuja flotante para agregar negocio */
.dn-fab {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 9999;
    background: linear-gradient(45deg, #a34e10, #c76315, #e07d2a);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    cursor: pointer;
    transition: box-shadow 0.2s, transform 0.2s;
}
.dn-fab:hover {
    box-shadow: 0 12px 32px rgba(0,0,0,0.25);
    transform: scale(1.08);
}
.dn-fab-tooltip {
    position: absolute;
    right: 70px;
    bottom: 50%;
    transform: translateY(50%);
    background: #222;
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 1rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}
.dn-fab:hover .dn-fab-tooltip {
    opacity: 1;
}

/* Modal */
.dn-modal-bg {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.45);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dn-modal {
    background: #fff;
    border-radius: 18px;
    max-width: 420px;
    width: 95%;
    padding: 32px 24px 24px 24px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.18);
    position: relative;
    animation: dn-modal-in 0.3s;
}
@keyframes dn-modal-in {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.dn-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #c76315;
    cursor: pointer;
}
.dn-modal h3 {
    margin-top: 0;
    color: #c76315;
    text-align: center;
    margin-bottom: 18px;
}
.dn-modal form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.dn-modal label {
    font-weight: 500;
    color: #222;
}
.dn-modal input[type="text"],
.dn-modal input[type="tel"],
.dn-modal input[type="file"],
.dn-modal select {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #c76315;
    border-radius: 8px;
    font-size: 1rem;
    margin-top: 4px;
    background: #fdf6ee;
    color: #222;
}
.dn-modal input[type="file"] {
    background: #fff;
}
.dn-modal textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #c76315;
    border-radius: 8px;
    font-size: 1rem;
    margin-top: 4px;
    background: #fdf6ee;
    color: #222;
    min-height: 60px;
}
.dn-modal .dn-modal-submit {
    background: linear-gradient(45deg, #a34e10, #c76315, #e07d2a);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px 0;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 10px;
    cursor: pointer;
    transition: background 0.2s;
}
.dn-modal .dn-modal-submit:hover {
    background: #c76315;
}
.dn-modal .dn-modal-success {
    background: #e7f9e7;
    color: #1a7a1a;
    border: 1.5px solid #1a7a1a;
    border-radius: 8px;
    padding: 14px 10px;
    text-align: center;
    margin-top: 10px;
    font-weight: 500;
    font-size: 1.1rem;
} 